I have setup some changes for specific packages inside /etc/portage/env/${CATEGORY}/${PACKAGE} like special FEATURES for some packages only and so. But for some reason, ABI_X86 setting is being ignored when setting it via this way. Inside /etc/portage/make.conf I have ABI_X86="64" (not 32 as it currently breaks my world compilation with emul-* blockers), but I want to use ABI_X86="64 32" for wine, so I added it the line in /etc/portage/env/app-emulation/wine file. Reproducible: Always Steps to Reproduce: mkdir -p /etc/portage/env/app-emulation echo "ABI_X86=\"32 64\"" >> /etc/portage/env/app-emulation/wine emerge wine -pv Actual Results: [ebuild U ] app-emulation/wine-1.6_rc1 [1.5.31] USE="X alsa cups fontconfig gecko jpeg lcms mp3 ncurses nls opengl oss perl png prelink ssl threads truetype udisks v4l xcomposite xinerama xml -capi -custom-cflags -gphoto2 -gsm -gstreamer -ldap -mono -odbc -openal -opencl -osmesa -pulseaudio -samba -scanner (-selinux) {-test}" ABI_X86="64 -32 (-x32)" LINGUAS="es -ar -bg -ca -cs -da -de -el -en -en_US -eo -fa -fi -fr -he -hi -hr% -hu -it -ja -ko -lt -ml -nb_NO -nl -or -pa -pl -pt_BR -pt_PT -rm -ro -ru -sk -sl -sr_RS@cyrillic -sr_RS@latin -sv -te -th -tr -uk -wa -zh_CN -zh_TW" 43,014 kB (Only 64 ABI is chosen) Expected Results: [ebuild U ] app-emulation/wine-1.6_rc1 [1.5.31] USE="X alsa cups fontconfig gecko jpeg lcms mp3 ncurses nls opengl oss perl png prelink ssl threads truetype udisks v4l xcomposite xinerama xml -capi -custom-cflags -gphoto2 -gsm -gstreamer -ldap -mono -odbc -openal -opencl -osmesa -pulseaudio -samba -scanner (-selinux) {-test}" ABI_X86="64 32 (-x32)" LINGUAS="es -ar -bg -ca -cs -da -de -el -en -en_US -eo -fa -fi -fr -he -hi -hr% -hu -it -ja -ko -lt -ml -nb_NO -nl -or -pa -pl -pt_BR -pt_PT -rm -ro -ru -sk -sl -sr_RS@cyrillic -sr_RS@latin -sv -te -th -tr -uk -wa -zh_CN -zh_TW" 43,014 kB (Chose both according to that file)
You can't use /etc/portage/env/${CATEGORY}/${PACKAGE} because that's for bashrc which is only sourced during ebuild execution (not during dependency calculations). For settings that are available to dependency calculations, you can use either package.use or package.env. For package.use it's like this: echo "app-emulation/wine abi_x86_64" >> /etc/portage/package.use For packakage.env it's like this: echo 'ABI_X86="64"' >> /etc/portage/env/abi_x86_64.conf echo "app-emulation/wine abi_x86_64.conf" >> /etc/portage/package.env
*** This bug has been marked as a duplicate of bug 388781 ***