Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 472956 - portage is ignoring ABI_X86 settings in /etc/portage/env/${CATEGORY}/${PACKAGE}
Summary: portage is ignoring ABI_X86 settings in /etc/portage/env/${CATEGORY}/${PACKAGE}
Status: RESOLVED DUPLICATE of bug 388781
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Core (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-06-11 08:51 UTC by David Carlos Manuelda
Modified: 2013-06-12 03:54 UTC (History)
0 users

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 David Carlos Manuelda 2013-06-11 08:51:04 UTC
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)
Comment 1 Zac Medico gentoo-dev 2013-06-11 10:15:19 UTC
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
Comment 2 Zac Medico gentoo-dev 2013-06-12 03:54:39 UTC

*** This bug has been marked as a duplicate of bug 388781 ***