Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 132196 - portage-2.1_pre10 allows variables in make.conf to override env
Summary: portage-2.1_pre10 allows variables in make.conf to override env
Status: RESOLVED DUPLICATE of bug 132338
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Core - Interface (emerge) (show other bugs)
Hardware: All All
: High critical (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords: InVCS, REGRESSION
Depends on:
Blocks:
 
Reported: 2006-05-03 20:00 UTC by SpanKY
Modified: 2006-05-05 15:19 UTC (History)
0 users

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


Attachments
use backupenv to correctly preserve cloned FEATURES (features_backupenv.patch,581 bytes, patch)
2006-05-04 03:27 UTC, Zac Medico
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description SpanKY gentoo-dev 2006-05-03 20:00:02 UTC
if i remove 'test' from FEATURES in make.conf, things work properly ...

i2 ~ # portageq envvar FEATURES
autoconfig ccache distlocks metadata-transfer noauto nodoc noinfo noman sandbox sfperms test

i2 ~ # FEATURES=-test emerge IO-Socket-INET6
Calculating dependencies... done!
>>> Emerging (1 of 1) dev-perl/IO-Socket-INET6-2.51 to /
>>> Unpacking source...
>>> Unpacking IO-Socket-INET6-2.51.tar.gz to /var/tmp/portage/IO-Socket-INET6-2.51/work
>>> Source unpacked.
>>> Compiling source in /var/tmp/portage/IO-Socket-INET6-2.51/work/IO-Socket-INET6-2.51 ...
 * Using ExtUtils::MakeMaker
Checking if your kit is complete...
Looks good
Writing Makefile for IO::Socket::INET6
cp INET6.pm blib/lib/IO/Socket/INET6.pm
>>> Source compiled.
PERL_DL_NONLAZY=1 /usr/bin/perl5.8.8 "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')"







Portage 2.1_pre10-r2 (default-linux/ia64/2004.3, gcc-4.0.3, glibc-2.4-r2, 2.6.16-gentoo-r3 ia64)
=================================================================
System uname: 2.6.16-gentoo-r3 ia64 0
Gentoo Base System version 1.12.0_pre17
distcc 2.18.3 ia64-unknown-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.4 [enabled]
dev-lang/python:     2.3.5-r2, 2.4.2-r1
dev-util/ccache:     2.4
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.18
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1-r2
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.16
ACCEPT_KEYWORDS="ia64 ~ia64"
AUTOCLEAN="yes"
CBUILD="ia64-unknown-linux-gnu"
CFLAGS="-O2 -pipe"
CHOST="ia64-unknown-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/eselect/compiler /etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks metadata-transfer nodoc noinfo noman sandbox sfperms test"
GENTOO_MIRRORS="http://gentoo.osuosl.org"
MAKEOPTS="-j5"
PKGDIR="/root/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://raptor.gentoo.org/gentoo-portage"
USE="ia64 berkdb bitmap-fonts cli crypt dri fortran ipv6 ncurses nptl nptlonly pam pcre perl python readline reflection session spl ssl tcpd test truetype-fonts type1-fonts xorg xprint zlib elibc_glibc kernel_linux userland_GNU"
Unset:  ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS
Comment 1 SpanKY gentoo-dev 2006-05-03 20:36:23 UTC
2.1_pre9-r5 works fine, 2.1_pre10-r2 fails
Comment 2 Zac Medico gentoo-dev 2006-05-04 03:27:31 UTC
Created attachment 86131 [details, diff]
use backupenv to correctly preserve cloned FEATURES

This patch is in svn r3318 and solves the test case found by antarus for problems with config cloning and features.  Can you test the patch please?
Comment 3 Zac Medico gentoo-dev 2006-05-05 15:19:58 UTC
Forward duping against bug 132338 because it has a better summary.

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