Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 69260 - 'emerge --onlydeps foo' adds foo to world file
Summary: 'emerge --onlydeps foo' adds foo to world file
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: All Linux
: High normal
Assignee: Portage team
URL:
Whiteboard:
Keywords: InVCS
Depends on:
Blocks:
 
Reported: 2004-10-28 06:41 UTC by Dan Ost
Modified: 2005-07-14 06:58 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 Dan Ost 2004-10-28 06:41:21 UTC
When emerging the dependencies of a package but not the package itself (via the -o or --onlydeps option), emerge still adds the package to the world file.

Reproducible: Always
Steps to Reproduce:
1.emerge --onlydeps foo                 # where foo is not in the world file
2.grep nethack /var/lib/portage/world

Actual Results:  
grep returned that foo was found in the world file.

Expected Results:  
emerge should not have added foo to the world file

Portage 2.0.51-r2 (default-x86-2004.2, gcc-3.3.4, glibc-2.3.4.20040808-r1, 2.4.
24 i686)
=================================================================
System uname: 2.4.24 i686 Pentium III (Coppermine)
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.14.90.0.8-r1
Headers:  sys-kernel/linux-headers-2.4.21-r1
Libtools: sys-devel/libtool-1.5.2-r5
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-mcpu=pentium3 -O2 -fomit-frame-pointer -pipe"
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="-mcpu=pentium3 -O2 -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs buildpkg ccache distlocks sandbox"
GENTOO_MIRRORS="http://128.213.5.34/gentoo/ http://gentoo.noved.org/ http://
gentoo.mirrors.pair.com/ http://gentoo.chem.wisc.edu/gentoo/ http://mirrors.tds.
net/gentoo"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://silk/portage"
USE="X apm avi berkdb bitmap-fonts crypt cups encode esd f77 foomaticdb gdbm gif 
gpm gtk gtk2 imlib java jpeg libg++ libwww mad mikmod mpeg ncurses nls oggvorbis 
opengl oss pam pdflib perl png postgres python quicktime readline sdl slang 
spell ssl svga tcltk tcpd tetex tiff truetype x86 xml2 xmms xprint xv zlib"
Comment 1 Jason Stubbs (RETIRED) gentoo-dev 2005-07-14 05:47:50 UTC
Fixed on or before 2.0.51.22-r1 
Comment 2 Jason Stubbs (RETIRED) gentoo-dev 2005-07-14 06:58:35 UTC
Looking through the batch of bugs, I'm not sure that some of these are 
actually fixed in stable. Others, the requirements have possibly changed after 
the initial fix was committed. 
 
If you think this bug has been closed incorrectly, please reopen or ask that 
it be reopened.