Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 269006 - portage ignores FEATURES="-strict"
Summary: portage ignores FEATURES="-strict"
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Eclasses (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-05-08 07:31 UTC by Adam Carheden
Modified: 2009-05-13 10:12 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Adam Carheden 2009-05-08 07:31:00 UTC
Portage refuses to install sci-geosciences/vis5d+ due to the "poor code kills airplanes" thing, even when FEATURES includes "-strict -stricter -strictist"

Steps to reproduce:
1) Install Gentoo 2008.0 with 20090507 stapshot
2) FEATURES="-strict" emerge vis5d+.
3) note that it fails on post-install.

emerge --info 
Portage 2.1.6.11 (default/linux/amd64/2008.0, gcc-4.1.2, glibc-2.8_p20080602-r1, 2.6.28-gentoo-r5-20090506a x86_64)
=================================================================
System uname: Linux-2.6.28-gentoo-r5-20090506a-x86_64-Quad-Core_AMD_Opteron-tm-_Processor_8378-with-glibc2.2.5
Timestamp of tree: Fri, 08 May 2009 07:00:01 +0000
app-shells/bash:     3.2_p39
dev-java/java-config: 2.1.7
dev-lang/python:     2.4.4-r13, 2.5.4-r2
dev-python/pycrypto: 2.0.1-r8
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.13, 2.63
sys-devel/automake:  1.5, 1.7.9-r1, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.27-r2
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LDFLAGS="-Wl,-O1"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/layman/cira"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X acl amd64 bash-completion berkdb bzip2 cli cracklib crypt cups dri fortran gdbm gpm gtk iconv isdnlog jpeg midi mmx mudflap multilib ncurses nls nptl nptlonly opengl openmp pam pcre perl png pppd python qt qt3 qt4 readline reflection session spl sse sse2 ssl sysfs tcpd unicode vim-syntax xinerama xorg zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="fbdev glint i810 intel mach64 mga neomagic nv r128 radeon savage sis tdfx trident vesa vga via vmware voodoo"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Rafał Mużyło 2009-05-08 13:48:25 UTC
I think invalid.
As noted in the output, while on x86, those are warnings only,
on amd64 they become almost certainly crashers.
Comment 2 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2009-05-12 14:44:19 UTC
"poor code kills airplanes" message has been changed to "install aborted due to poor programming practices shown above" in newer versions of Portage. This message indicates serious problems which cannot be ignored.

Please report a bug in sci-geosciences/vis5d+.
Comment 3 Adam Carheden 2009-05-13 03:50:57 UTC
(In reply to comment #2)
> "poor code kills airplanes" message has been changed to "install aborted due to
> poor programming practices shown above" in newer versions of Portage. This
> message indicates serious problems which cannot be ignored.
> 
> Please report a bug in sci-geosciences/vis5d+.
> 

Come on, you know that's total crap. I've got the exact same version of vis5d+ that works just fine installed with a previous version of Portage. Probably one little bug in one file that would crash if I used some obscure feature of the software, but overall it's fine. And because you guys are stubborn, I've got to figure out how to make my own post_install script not do that (if it's even possible). 

Don't be stupid. This is a PORTAGE bug. I'm not complaining that vis5d+ has bad programming practices. I'm complaining that PORTAGE ignores it's own -strict use flag. Clearly -strict should cause portage not to run this check, but it doesn't. It's PORTAGE, not vis5d+, that has the problem I'm complaining about. Don't make me install RHEL. Or worse yet, I hear Windows 7 is actually pretty good, even on low-end hardware.

Comment 4 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2009-05-13 10:12:43 UTC
The change in behavior was intentional.

http://sources.gentoo.org/viewcvs.py/portage?rev=12793&view=rev