app-shells/bash-4.3_p39_pre0 is ignoring set use flags, e.g. mem-scramble when set through /etc/portage/make.conf or /etc/portage/packege.use/bash Problem seems to be that the corresponding ebuild, in difference to the other ebuilds for bash, has a different IUSE setting: app-shells/bash-4.3_p39_pre0 Reproducible: Always Steps to Reproduce: 1. set /etc/portage/make.conf to include mem-scramble USE flag 2. emerge -pv app-shells/bash 3. mem-scramble is not enabled as USE flag for app-shells/bash Actual Results: fsm bash # emerge -pv bash These are the packages that would be merged, in order: Calculating dependencies ... done! [ebuild U ] app-shells/bash-4.3_p39_pre0::gentoo [4.3_p33-r2::gentoo] USE="(readline) (-afs%) (-bashlogger%) (-examples%) (-mem-scramble%) (-net%*) (-nls%*) (-plugins%) (-vanilla%)" 0 KiB Expected Results: fsm bash # emerge -pv bash These are the packages that would be merged, in order: Calculating dependencies ... done! [ebuild U ] app-shells/bash-4.3_p39_pre0::gentoo [4.3_p33-r2::gentoo] USE="(readline) (-afs%) (-bashlogger%) (-examples%) mem-scramble (-net%*) (-nls%*) (-plugins%) (-vanilla%)" 0 KiB seems between version bumps IUSE in the ebuilds for bash have changed from app-shells/bash-4.3_p33-r2: IUSE="afs bashlogger examples mem-scramble +net nls plugins +readline vanilla" to app-shells/bash-4.3_p39_pre0: IUSE="+readline" Output of "eix app-shells/bash": fsm bash # eix app-shells/bash [U] app-shells/bash Available versions: (2.05b) 2.05b_p13 (3.0) 3.0_p22 (3.1) 3.1_p23 (3.2) 3.2_p57 (4.0) 4.0_p44 (4.1) 4.1_p17 (0) 4.2_p53 ~4.3_p33 ~4.3_p33-r1 4.3_p33-r2 4.3_p39_pre0 ~4.3_p39 **4.4_alpha-r1 {afs bashlogger examples mem-scramble +net nls plugins +readline vanilla} Installed versions: 4.3_p33-r2(04:36:07 PM 06/06/2015)(net nls readline -afs -bashlogger -examples -mem-scramble -plugins -vanilla) Homepage: http://tiswww.case.edu/php/chet/bash/bashtop.html Description: The standard GNU Bourne again shell fsm bash # emerge --info Portage 2.2.20 (python 3.3.5-final-0, default/linux/amd64/13.0, gcc-4.8.4, glibc-2.20-r2, 4.0.5-gentoo-eddie x86_64) ================================================================= System uname: Linux-4.0.5-gentoo-eddie-x86_64-Quad-Core_AMD_Opteron-tm-_Processor_1381-with-gentoo-2.2 KiB Mem: 4023152 total, 164804 free KiB Swap: 7999480 total, 7648324 free Timestamp of repository gentoo: Thu, 13 Aug 2015 15:45:01 +0000 sh bash 4.3_p33-r2 ld GNU ld (Gentoo 2.24 p1.4) 2.24 ccache version 3.1.9 [disabled] app-shells/bash: 4.3_p33-r2::gentoo dev-lang/perl: 5.20.2::gentoo dev-lang/python: 2.7.9-r1::gentoo, 3.3.5-r1::gentoo, 3.4.1::gentoo dev-util/ccache: 3.1.9-r4::gentoo dev-util/cmake: 3.2.2::gentoo dev-util/pkgconfig: 0.28-r2::gentoo sys-apps/baselayout: 2.2::gentoo sys-apps/openrc: 0.17::gentoo sys-apps/sandbox: 2.6-r1::gentoo sys-devel/autoconf: 2.69::gentoo sys-devel/automake: 1.11.6-r1::gentoo, 1.13.4::gentoo, 1.14.1::gentoo, 1.15::gentoo sys-devel/binutils: 2.24-r3::gentoo sys-devel/gcc: 4.8.4::gentoo sys-devel/gcc-config: 1.7.3::gentoo sys-devel/libtool: 2.4.6::gentoo sys-devel/make: 4.1-r1::gentoo sys-kernel/linux-headers: 3.18::gentoo (virtual/os-headers) sys-libs/glibc: 2.20-r2::gentoo Repositories: gentoo location: /usr/portage sync-type: rsync sync-uri: rsync://rsync15.de.gentoo.org/gentoo-portage priority: -1000 x-portage location: /usr/local/portage masters: gentoo priority: 0 ACCEPT_KEYWORDS="amd64" ACCEPT_LICENSE="* -@EULA" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt /var/bind /var/lib/redmine/config" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.5/ext-active/ /etc/php/apache2-php5.6/ext-active/ /etc/php/cgi-php5.5/ext-active/ /etc/php/cgi-php5.6/ext-active/ /etc/php/cli-php5.5/ext-active/ /etc/php/cli-php5.6/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /var/lib/redmine/config/locales /var/lib/redmine/config/settings.yml" CXXFLAGS="-O2 -pipe" DISTDIR="/usr/portage/distfiles" FCFLAGS="-O2 -pipe" FEATURES="assume-digests binpkg-logs candy compress-build-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch parallel-install preserve-libs protect-owned sandbox sfperms split-elog split-log strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync" FFLAGS="-O2 -pipe" GENTOO_MIRRORS="http://ftp.spline.inf.fu-berlin.de/mirrors/gentoo/ http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/ http://gentoo.wheel.sk/ http://mirror.leaseweb.com/gentoo/" LANG="en_US.utf8" LDFLAGS="-Wl,-O1 -Wl,--as-needed" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" USE="acl admin amd64 apache2 bash-completion bazaar berkdb bzip2 cgi clamav clamd clamdtop cli cracklib crypt cvs cxx dkim dovecot-sasl dri extras fastcgi fortran gd gdbm geoip git gnutls i18n iconv imagemagick ipv6 jpeg ldap logwatch managesieve mem-scramble mercurial milter mmx mmxext modules multilib mysql ncurses nls nptl offensive opcache openmp overlays pam passenger pcre perl perl-geoipupdate php png postgres python razor readline rrdcgi rrdtool session sieve snmp spamassassin spell sqlite sqlite3 sse sse2 ssl subversion syslog targrey tcpd threads truetype unicode vhosts vim-syntax zlib" ABI_X86="64" 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" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd 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 cgi cgid 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 auth_digest authndbd cern_meta dbd dumpio ident imagemap log_forensic reqtimeout substitute version" APACHE2_MPMS="worker" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext sse sse2" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" NGINX_MODULES_HTTP="access addition auth_basic auth_pam auth_request autoindex browser cache_purge charset dav dav_ext degradation echo empty_gif fancyindex fastcgi flv geo geoip gunzip gzip gzip_static headers_more image_filter limit_conn limit_req map memcached metrics mp4 naxsi perl proxy push push_stream random_index realip referer rewrite scgi secure_link security slowfs_cache spdy split_clients ssi stub_status sub upload_progress upstream_check upstream_ip_hash userid uwsgi xslt" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5 php5-6" PYTHON_SINGLE_TARGET="python3_3" PYTHON_TARGETS="python2_7 python3_2 python3_3 python3_4" RUBY_TARGETS="ruby19 ruby20" USERLAND="GNU" VIDEO_CARDS="fbdev glint intel mach64 mga nouveau nv r128 radeon savage sis tdfx trident vesa via vmware dummy v4l" XTABLES_ADDONS="account condition delude dhcpmac dnetmap fuzzy geoip gradm iface ipmark ipp2p ipv4options length2 logmark lscan pknock psd quota2 rawnat steal sysrq" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, MAKEOPTS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
This bug is INVALID because "bash-4.3_p39_pre0" does not contain any of the flags that you say are not being respected. In this case, "(-flag%)" is the way in which emerge is indicating that the flag has been dropped. However, "bash-4.3_p39" does support these flags. The _pre0 version seems quite buggy and it's not clear why it was marked as stable.
*** This bug has been marked as a duplicate of bug 557510 ***