Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 75155 - emerge --newuse doesn not take into account dependencies, even with -D
Summary: emerge --newuse doesn not take into account dependencies, even with -D
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-12-21 02:07 UTC by Jesse Luehrs
Modified: 2005-01-10 18:22 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 Jesse Luehrs 2004-12-21 02:07:36 UTC
When using --newuse, dependencies are never searched for changed use flags. For example, 

doy@ridley doy $ emerge -pvD --newuse world

These are the packages that I would merge, in order:

Calculating world dependencies ...done!

Total size of downloads: 0 kB

------------------------------

doy@ridley doy $ emerge -pve world | grep '*'
[ebuild  N    ] media-libs/freetype-2.1.5-r1  -bindist +cjk* -debug +doc +zlib 0 kB 
*** Please update portage to the above version before proceeding.
[ebuild  N    ] app-text/ghostscript-7.07.1-r7  +X +cjk* +cups -debug -emacs 4,875 kB 
[ebuild  N    ] sys-libs/slang-1.4.9-r1  +cjk* +unicode 0 kB 
[ebuild  N    ] media-sound/xmms-1.2.10-r5  +3dnow* +alsa +cjk* -debug -directfb -esd -ipv6 +mikmod +mmx +nls +oggvorbis +opengl +oss +xml 0 kB 
[ebuild  N    ] dev-lang/ruby-1.8.2_pre3  +cjk* -debug +doc -socks5 +tcltk -threads 194 kB 

Reproducible: Always
Steps to Reproduce:
1. Change a global use flag
2. emerge -pvD --newuse world
3. 

Actual Results:  
Packages in world file with changed use flags are listed, but deps with changed
use flags are not


Expected Results:  
With the -D flag, emerge should search dependencies for changed use flags

doy@ridley doy $ emerge info
Portage 2.0.51-r3 (default-linux/x86/2004.3, gcc-3.3.4, glibc-2.3.4.20040808-r1,
2.6.9-gentoo-r1 i686)
=================================================================
System uname: 2.6.9-gentoo-r1 i686 AMD Athlon(tm) XP 1900+
Gentoo Base System version 1.4.16
Autoconf: sys-devel/autoconf-2.59-r5
Automake: sys-devel/automake-1.8.5-r1
Binutils: sys-devel/binutils-2.15.90.0.1.1-r3
Headers:  sys-kernel/linux26-headers-2.6.8.1-r1
Libtools: sys-devel/libtool-1.5.2-r7
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-Os -march=athlon-xp -mcpu=i686 -pipe -fforce-addr -fomit-frame-pointer
-ffast-math -ftracer"
CHOST="i686-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3/share/config /usr/share/config /usr/share/texmf/dvipdfm/config/
/usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/
/usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-Os -march=athlon-xp -mcpu=i686 -pipe -fforce-addr
-fomit-frame-pointer -ffast-math -ftracer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig buildpkg ccache distlocks sandbox sfperms"
GENTOO_MIRRORS="http://gentoo.osuosl.org
http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow 3dnowex X aac aalib acpi aim alsa apache2 apm avi bash-completion
berkdb bitmap-fonts bzlib cdr chroot cjk clisp crypt cscope cups dillo
divx4linux doc droproot encode erandom f77 flac flash font-server foomaticdb
fortran ftp gcj gdbm gif ginac gpm gstreamer gtk gtk2 guile imagemagick imap
imlib java javascript joystick jpeg lesstif libcaca libg++ libwww lua mad mikmod
mmx mmx2 mng motif mozcalendar mozilla moznocompose moznoirc mozsvg mozxmlterm
mp3 mpeg msn ncurses nethack nls nntp no_wxgtk1 nptl nvidia offensive oggvorbis
openal opengl oscar oss pam pdflib perl physfs pic plotutils png ppds python
quicktime readline real rtc ruby samba sdl shared slang speex spell sse sse2 ssl
svga tcltk tcpd tetex theora tiff truetype truetype-fonts unicode usb videos
vim-with-x x86 xchattext xml xml2 xosd xv xvid yahoo zlib"

doy@ridley doy $
Comment 1 Nicholas Jones (RETIRED) gentoo-dev 2005-01-10 18:22:08 UTC
# emerge -pvD --newuse world
is almost the same as
# emerge -pv --newuse world
which is pretty much nothing.

Use --deep with --update if you wish for it to do much of anything.