Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 334319 - sys-apps/portage-2.2_rc68 doesn't always handle environment overrides correctly
Summary: sys-apps/portage-2.2_rc68 doesn't always handle environment overrides correctly
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Core - Interface (emerge) (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords: InVCS, REGRESSION
Depends on:
Blocks:
 
Reported: 2010-08-24 17:24 UTC by Harald van Dijk (RETIRED)
Modified: 2010-08-24 21:11 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 Harald van Dijk (RETIRED) gentoo-dev 2010-08-24 17:24:39 UTC
From bug #44796 comment #77:

When I do

# FEATURES=-test emerge iasl

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R   ] sys-power/iasl-20100528  USE="-test*" 0 kB

Total: 1 package (1 reinstall), Size of downloads: 0 kB


>>> Verifying ebuild manifests

>>> Emerging (1 of 1) sys-power/iasl-20100528
 * acpica-unix-20100528.tar.gz RMD160 SHA1 SHA256 size ;-) ...                 
                                                                               
                                            [ ok ]
 * checking ebuild checksums ;-) ...                                           
                                                                               
                                            [ ok ]
 * checking auxfile checksums ;-) ...                                          
                                                                               
                                            [ ok ]
 * checking miscfile checksums ;-) ...                                         
                                                                               
                                            [ ok ]
 * CPV:  sys-power/iasl-20100528
 * REPO: gentoo
 * USE:  amd64 elibc_glibc kernel_linux multilib test userland_GNU
 * You have selected USE="test". This will install the test results
 * into /usr/share/iasl-20100528/, compressed as a tarball.
 * The tests themselves will only rarely die, but the test results
 * are interesting for arch testing. The tests may take quite some
 * time to complete.
>>> Unpacking source...

emerge first says it's going to build iasl with USE=-test, but USE=test gets
enabled during the actual build anyway.

emerge --nodeps behaves the same
ebuild merge works
Removing FEATURES=test from make.conf also works
Comment 1 Harald van Dijk (RETIRED) gentoo-dev 2010-08-24 17:29:58 UTC
Huh. FEATURES="-test -noauto" emerge iasl works. FEATURES="-test noauto" doesn't work. Why does noauto have any effect at all when not calling ebuild explicitly?
Comment 2 Zac Medico gentoo-dev 2010-08-24 17:37:42 UTC
Ah, that explains it. This should fix it:

http://git.overlays.gentoo.org/gitweb/?p=proj/portage.git;a=commit;h=ed700746c2c99d18f285a04e85fffa7486677812
Comment 3 Harald van Dijk (RETIRED) gentoo-dev 2010-08-24 17:45:07 UTC
It does, thanks.
Comment 4 Zac Medico gentoo-dev 2010-08-24 21:11:12 UTC
This is fixed in 2.2_rc69.