Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 142238 - With "--newuse", portage erroneously wants to reinstall gcc
Summary: With "--newuse", portage erroneously wants to reinstall gcc
Status: VERIFIED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-07-30 18:35 UTC by Chris Slycord
Modified: 2006-07-31 11:27 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 Chris Slycord 2006-07-30 18:35:20 UTC
When I attempt to just update world and dependencies, nothing will happen with gcc. If I add "--newuse" into the command, gcc is going to be reinstalled but the USE flags haven't changed.

# emerge world --update --deep -pv

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

Calculating world dependencies... done!
[ebuild     U ] sys-apps/man-pages-2.36 [2.34] USE="nls" 1,125 kB
[ebuild     U ] media-libs/alsa-lib-1.0.12_rc1-r1 [1.0.12_rc1] USE="-doc" 0 kB
[ebuild     U ] x11-libs/libXau-1.0.2 [1.0.1] USE="-debug" 214 kB
[ebuild     U ] media-libs/mesa-6.5-r4 [6.5-r3] USE="-debug -doc -hardened -motif nptl" VIDEO_CARDS="-i810 -mach64 -mga -none -r128 -radeon -s3virge -savage -sis -tdfx -trident -via" 0 kB
[ebuild     U ] dev-libs/mpfr-2.2.0_p14 [2.2.0_p12] 0 kB
[ebuild     U ] dev-libs/libgpg-error-1.3-r1 [1.3] USE="nls" 0 kB
[ebuild     U ] dev-java/java-config-wrapper-0.10-r2 [0.10-r1] 0 kB
[ebuild     U ] dev-java/java-config-2.0.26-r5 [2.0.26-r4] 0 kB
[ebuild     U ] www-client/mozilla-firefox-1.5.0.5 [1.5.0.4] USE="-debug gnome ipv6 java -mozdevelop -xinerama -xprint" LINGUAS="-ar -ca -cs -da -de -el -en_GB -es -es_AR -es_ES -fi -fr -ga -ga_IE -he -hu -it -ja -ko -mk -nb -nb_NO -nl -pl -pt_BR -ro -ru -sk -sl -sv -sv_SE -tr -zh_CN -zh_TW" 34,722 kB
[ebuild     U ] net-firewall/iptables-1.3.5-r4 [1.3.5-r3] USE="-extensions% -imq ipv6 -l7filter -static" 0 kB
[ebuild     U ] media-gfx/sane-backends-1.0.18-r1 [1.0.18] USE="-gphoto2 ipv6 -usb -v4l" 0 kB
[ebuild     U ] app-emulation/wine-0.9.18 [0.9.17] USE="X alsa -arts -cups -dbus% -debug -esd gif -glut -hal% -jack jpeg lcms -ldap -nas ncurses opengl oss -scanner xml" 10,620 kB

Total size of downloads: 46,683 kB

# emerge world --update --deep --newuse -pv

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

Calculating world dependencies... done!
[ebuild     U ] sys-apps/man-pages-2.36 [2.34] USE="nls" 1,125 kB
[ebuild     U ] media-libs/alsa-lib-1.0.12_rc1-r1 [1.0.12_rc1] USE="-doc" 0 kB
[ebuild     U ] x11-libs/libXau-1.0.2 [1.0.1] USE="-debug" 214 kB
[ebuild     U ] media-libs/mesa-6.5-r4 [6.5-r3] USE="-debug -doc -hardened -motif nptl" VIDEO_CARDS="-i810 -mach64 -mga -none -r128 -radeon -s3virge -savage -sis -tdfx -trident -via" 0 kB
[ebuild     U ] dev-libs/mpfr-2.2.0_p14 [2.2.0_p12] 0 kB
[ebuild   R   ] sys-devel/gcc-4.1.1  USE="-bootstrap -build -doc fortran -gcj gtk -hardened -ip28 -ip32r10k -mudflap -multislot nls -nocxx -objc -objc++ -objc-gc -test% -vanilla" 0 kB
[ebuild     U ] dev-libs/libgpg-error-1.3-r1 [1.3] USE="nls" 0 kB
[ebuild     U ] dev-java/java-config-wrapper-0.10-r2 [0.10-r1] 0 kB
[ebuild     U ] dev-java/java-config-2.0.26-r5 [2.0.26-r4] 0 kB
[ebuild     U ] www-client/mozilla-firefox-1.5.0.5 [1.5.0.4] USE="-debug gnome ipv6 java -mozdevelop -xinerama -xprint" LINGUAS="-ar -ca -cs -da -de -el -en_GB -es -es_AR -es_ES -fi -fr -ga -ga_IE -he -hu -it -ja -ko -mk -nb -nb_NO -nl -pl -pt_BR -ro -ru -sk -sl -sv -sv_SE -tr -zh_CN -zh_TW" 34,722 kB
[ebuild     U ] net-firewall/iptables-1.3.5-r4 [1.3.5-r3] USE="-extensions% -imq ipv6 -l7filter -static" 0 kB
[ebuild     U ] media-gfx/sane-backends-1.0.18-r1 [1.0.18] USE="-gphoto2 ipv6 -usb -v4l" 0 kB
[ebuild     U ] app-emulation/wine-0.9.18 [0.9.17] USE="X alsa -arts -cups -dbus% -debug -esd gif -glut -hal% -jack jpeg lcms -ldap -nas ncurses opengl oss -scanner xml" 10,620 kB

Total size of downloads: 46,683 kB

# emerge --info
Portage 2.1.1_pre4-r1 (default-linux/x86/2006.0, gcc-4.1.1/vanilla, glibc-2.4-r3, 2.6.17-ck1-r2 i686)
=================================================================
System uname: 2.6.17-ck1-r2 i686 AMD Athlon(tm) XP 3000+
Gentoo Base System version 1.12.1
distcc 2.18.3 i586-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.4 [disabled]
app-admin/eselect-compiler: 2.0.0_rc2-r1
dev-lang/python:     2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4-r2
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.60
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.17
sys-devel/gcc-config: [Not Present]
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r5
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i586-pc-linux-gnu"
CFLAGS="-march=athlon-xp -O2 -fomit-frame-pointer -pipe"
CHOST="i586-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/eselect/compiler /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-march=athlon-xp -O2 -fomit-frame-pointer -pipe -fvisibility-inlines-hidden"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--alphabetical"
FEATURES="autoconfig distlocks metadata-transfer parallel-fetch sandbox sfperms strict userpriv usersandbox"
GENTOO_MIRRORS="http://adelie.polymtl.ca/"
LDFLAGS="-Wl,-O1 -Wl,--sort-common -s"
LINGUAS="en"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage /usr/portage/local/layman/sunrise"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="x86 3dnow X aac aalib alsa audiofile avi bash-completion bitmap-fonts browserplugin bzip2 cdr crypt divx4linux dvd dvdr dvdread encode f77 ffmpeg fortran gif gnome gtk gtk2 imlib ipv6 java jpeg lcms mad mikmod mmx mp3 mpeg ncurses nls nptl nptlonly nsplugin ogg oggvorbis opengl oss perl png python quicktime readline real sdl slang spell sse sse2 ssl tcpd tiff truetype unicode userlocales vorbis win32codecs wmf xml xml2 xmms xv xvid zlib elibc_glibc input_devices_keyboard input_devices_mouse kernel_linux linguas_en userland_GNU video_cards_nvidia"
Unset:  CTARGET, INSTALL_MASK, LANG, LC_ALL, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-07-31 01:03:19 UTC
(In reply to comment #0)
> When I attempt to just update world and dependencies, nothing will happen with
> gcc. If I add "--newuse" into the command, gcc is going to be reinstalled but
> the USE flags haven't changed.

-test%

^^^ There... ;)
Comment 2 Chris Slycord 2006-07-31 11:08:11 UTC
(In reply to comment #1)
> (In reply to comment #0)
> > When I attempt to just update world and dependencies, nothing will happen with
> > gcc. If I add "--newuse" into the command, gcc is going to be reinstalled but
> > the USE flags haven't changed.
> 
> -test%
> 
> ^^^ There... ;)
> 

So essentially, my build of gcc was done without performing any "tests" as test wasn't a valid USE flag. Now that the test flag is to the ebuild, it wants me to reinstall. So when it reinstalls, it'll install without performing those tests as I have "-test." So it'll be reinstalling in such a way that nothing about my build will change.

That's why I'm saying it is erroneous.
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2006-07-31 11:14:20 UTC
No, it's not erroneous, the flags have changed. It's by design. If you dislike it, then edit /var/db/pkg/sys-devel/gcc-4.1.1/IUSE manually and add test there...
Comment 4 Chris Slycord 2006-07-31 11:27:20 UTC
(In reply to comment #3)
> No, it's not erroneous, the flags have changed. It's by design. If you dislike
> it, then edit /var/db/pkg/sys-devel/gcc-4.1.1/IUSE manually and add test
> there...
> 

Fair enough. Closing.