* Re: [gentoo-user] installation aborted due to poor programming practices
[not found] ` <eAYJZ-6ob-31@gated-at.bofh.it>
@ 2010-04-19 14:48 ` David W Noon
0 siblings, 0 replies; 6+ messages in thread
From: David W Noon @ 2010-04-19 14:48 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 1034 bytes --]
On Mon, 19 Apr 2010 15:00:03 +0200, Helmut Jarausch wrote about Re:
[gentoo-user] installation aborted due to poor programming practices:
>On 19 Apr, Neil Bothwick wrote:
>> On Mon, 19 Apr 2010 12:47:17 +0200 (CEST), Helmut Jarausch wrote:
>>
>>> the installation of a package (unofficial gimp-gap) is 'aborted due
>>> to poor programming practices' probably since there have been lots
>>> of dereferencing type-punned pointers and similar warnings.
>>>
>>> How can I forced portage to install it anyway?
>>
>> Possibly FEATURES="-strict" emerge --opts blah
>>
>
>Unfortunately this didn't help.
The other possibility for ebuilds that have ropey programming practices
is:
export VERY_BRAVE_OR_VERY_DUMB='yes'
emerge <some pile of crap>
This environment variable is self-documenting.
--
Regards,
Dave [RLU #314465]
======================================================================
dwnoon@ntlworld.com (David W Noon)
======================================================================
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 198 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
* [gentoo-user] installation aborted due to poor programming practices
@ 2010-04-19 10:47 Helmut Jarausch
2010-04-19 10:59 ` Neil Bothwick
0 siblings, 1 reply; 6+ messages in thread
From: Helmut Jarausch @ 2010-04-19 10:47 UTC (permalink / raw
To: gentoo-user
Hi,
the installation of a package (unofficial gimp-gap) is 'aborted due to
poor programming practices' probably since there have been lots of
dereferencing type-punned pointers and similar warnings.
How can I forced portage to install it anyway?
Many thanks for a hint,
Helmut.
--
Helmut Jarausch
Lehrstuhl fuer Numerische Mathematik
RWTH - Aachen University
D 52056 Aachen, Germany
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [gentoo-user] installation aborted due to poor programming practices
2010-04-19 10:47 Helmut Jarausch
@ 2010-04-19 10:59 ` Neil Bothwick
2010-04-19 12:55 ` Helmut Jarausch
0 siblings, 1 reply; 6+ messages in thread
From: Neil Bothwick @ 2010-04-19 10:59 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 473 bytes --]
On Mon, 19 Apr 2010 12:47:17 +0200 (CEST), Helmut Jarausch wrote:
> the installation of a package (unofficial gimp-gap) is 'aborted due to
> poor programming practices' probably since there have been lots of
> dereferencing type-punned pointers and similar warnings.
>
> How can I forced portage to install it anyway?
Possibly FEATURES="-strict" emerge --opts blah
--
Neil Bothwick
Windows Error #05: Nonexisent error. This cannot really be happening
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 198 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [gentoo-user] installation aborted due to poor programming practices
2010-04-19 10:59 ` Neil Bothwick
@ 2010-04-19 12:55 ` Helmut Jarausch
2010-04-19 14:19 ` Arttu V.
0 siblings, 1 reply; 6+ messages in thread
From: Helmut Jarausch @ 2010-04-19 12:55 UTC (permalink / raw
To: gentoo-user
On 19 Apr, Neil Bothwick wrote:
> On Mon, 19 Apr 2010 12:47:17 +0200 (CEST), Helmut Jarausch wrote:
>
>> the installation of a package (unofficial gimp-gap) is 'aborted due to
>> poor programming practices' probably since there have been lots of
>> dereferencing type-punned pointers and similar warnings.
>>
>> How can I forced portage to install it anyway?
>
> Possibly FEATURES="-strict" emerge --opts blah
>
Unfortunately this didn't help.
Helmut.
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [gentoo-user] installation aborted due to poor programming practices
2010-04-19 12:55 ` Helmut Jarausch
@ 2010-04-19 14:19 ` Arttu V.
2010-04-19 14:39 ` Mike Edenfield
0 siblings, 1 reply; 6+ messages in thread
From: Arttu V. @ 2010-04-19 14:19 UTC (permalink / raw
To: gentoo-user
On 4/19/10, Helmut Jarausch <jarausch@igpm.rwth-aachen.de> wrote:
> On 19 Apr, Neil Bothwick wrote:
>> On Mon, 19 Apr 2010 12:47:17 +0200 (CEST), Helmut Jarausch wrote:
>>
>>> the installation of a package (unofficial gimp-gap) is 'aborted due to
>>> poor programming practices' probably since there have been lots of
>>> dereferencing type-punned pointers and similar warnings.
>>>
>>> How can I forced portage to install it anyway?
>>
>> Possibly FEATURES="-strict" emerge --opts blah
>>
>
> Unfortunately this didn't help.
I wonder if strict and stricter FEATURES are somehow hardwired to each
other inside portage code, or whether they're considered separate
entities?
Anyway, you could try FEATURES="-strict -stricter" to see which way it
works. If that won't work then the next step could be to play around
with the QA_STRICT_* variables mentioned in make.conf man page
(haven't tried, so don't know if they'll help either).
--
Arttu V.
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [gentoo-user] installation aborted due to poor programming practices
2010-04-19 14:19 ` Arttu V.
@ 2010-04-19 14:39 ` Mike Edenfield
0 siblings, 0 replies; 6+ messages in thread
From: Mike Edenfield @ 2010-04-19 14:39 UTC (permalink / raw
To: gentoo-user
On 4/19/2010 10:19 AM, Arttu V. wrote:
> On 4/19/10, Helmut Jarausch <jarausch@igpm.rwth-aachen.de> wrote:
>> On 19 Apr, Neil Bothwick wrote:
>>> On Mon, 19 Apr 2010 12:47:17 +0200 (CEST), Helmut Jarausch wrote:
>>>
>>>> the installation of a package (unofficial gimp-gap) is 'aborted due to
>>>> poor programming practices' probably since there have been lots of
>>>> dereferencing type-punned pointers and similar warnings.
>>>>
>>>> How can I forced portage to install it anyway?
>>>
>>> Possibly FEATURES="-strict" emerge --opts blah
>>>
>>
>> Unfortunately this didn't help.
>
> I wonder if strict and stricter FEATURES are somehow hardwired to each
> other inside portage code, or whether they're considered separate
> entities?
>
> Anyway, you could try FEATURES="-strict -stricter" to see which way it
> works. If that won't work then the next step could be to play around
> with the QA_STRICT_* variables mentioned in make.conf man page
> (haven't tried, so don't know if they'll help either).
>
The code that's causing the abort doesn't seem to have any options,
features, conditions, etc. that you can use to disable it. If it finds
any misused type pointers, and you're on a 64-bit arch, it aborts.
Note that the errors it's checking for aren't your normal sloppy pointer
usages. It's specifically looking for functions that are implicitly
declared as returning int, then later used as if they returned (void *).
That kind of thing can only happen if the developer just flat out
forgot to include the prototypes ("poor programming practice" doesn't
even come close) and are almost guaranteed to cause something to crash
eventually on a 64-bit arch.
The only thing I can see that may let you install this overtop of
portage's complaints is to unset PORTAGE_LOG_FILE so the gcc warnings
have nowhere to go and portage won't find them.
See also: http://bugs.gentoo.org/40023
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2010-04-19 19:25 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <eAWIa-2Oh-21@gated-at.bofh.it>
[not found] ` <eAX1w-3Ad-17@gated-at.bofh.it>
[not found] ` <eAYJZ-6ob-31@gated-at.bofh.it>
2010-04-19 14:48 ` [gentoo-user] installation aborted due to poor programming practices David W Noon
2010-04-19 10:47 Helmut Jarausch
2010-04-19 10:59 ` Neil Bothwick
2010-04-19 12:55 ` Helmut Jarausch
2010-04-19 14:19 ` Arttu V.
2010-04-19 14:39 ` Mike Edenfield
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox