Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 281008 - emerge not picking up all dependencies unless --update is specified
Summary: emerge not picking up all dependencies unless --update is specified
Status: RESOLVED WONTFIX
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Core (show other bugs)
Hardware: All Linux
: High major (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords:
: 307163 (view as bug list)
Depends on:
Blocks:
 
Reported: 2009-08-10 15:34 UTC by Tanktalus
Modified: 2010-05-01 19:13 UTC (History)
1 user (show)

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 Tanktalus 2009-08-10 15:34:03 UTC
# emerge -vatDN world

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

Calculating dependencies... done!

Total: 0 packages, Size of downloads: 0 kB

!!! The following installed packages are masked:
- dev-util/subversion-1.6.3 (masked by: package.mask)
/usr/portage/profiles/package.mask:
# Arfrever Frehtes Taifersar Arahesis <arfrever@gentoo.org> (09 Aug 2009)
# Masked for removal in 30 days due to security vulnerability (bug #280494).
# Manually keyword >=dev-util/subversion-1.6.4.

=====

and yet, if I emerge subversion directly, it's fine:

# emerge -vp1 subversion

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

Calculating dependencies... done!
[ebuild     U ] dev-util/subversion-1.6.4 [1.6.3] USE="apache2 bash-completion berkdb java nls perl python webdav-neon -ctypes-python -debug -doc -dso -emacs -extras -gnome-keyring -ruby -sasl -test -vim-syntax -webdav-serf" 5,356 kB

=====

Note that "equery d subversion" turns up a whole host of things, including layman and some live ebuilds, so world *does* require subversion (indirectly).

This is with portage-2.2_rc36.  If I upgrade to rc37, I get a whole different problem which I'll open a separate bug to track with.

Apparently, emerge is missing things.  

Reproducible: Always
Comment 1 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2009-08-10 15:41:33 UTC
Please reproduce with _rc38 and report back.
Comment 2 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2009-08-10 15:42:12 UTC
You probably need to additionally use --with-bdeps=y option.
Comment 3 Tanktalus 2009-08-10 16:52:48 UTC
Upgraded to rc38.  The emerge of world didn't change.  I added "git" to my USE flags for layman, and only layman needed rebuilding.  But if I do:

# emerge -vpe layman

I get:

Total: 164 packages (6 upgrades, 158 reinstalls), Size of downloads: 11,634 kB

I would expect 0 upgrades.  Note that for layman, subversion, which is one of the 6 upgrades, is NOT a build-time dependency, but a runtime dependency, and thus --with-bdeps shouldn't have any effect on it.  Also in the list:

[ebuild     U ]     dev-libs/apr-util-1.3.9 [1.3.7] USE="berkdb gdbm -doc -freetds -ldap -mysql -odbc -postgres -sqlite -sqlite3" 773 kB                                                                                                    
[ebuild     U ]    media-libs/alsa-lib-1.0.20-r1 [1.0.19] USE="python -alisp -debug -doc" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" 777 kB                                                                                                                                                                                              
[ebuild     U ]  net-misc/neon-0.28.5 [0.28.4] USE="expat gnutls nls ssl zlib -doc -kerberos -pkcs11 -socks5" LINGUAS="-cs -de -fr -ja -nn -pl -ru -tr -zh_CN" 759 kB                                                                       
[ebuild     U ]  dev-libs/apr-1.3.8 [1.3.5] USE="cloexec%* urandom -debug -doc" 1,138 kB                                                                                                                                                    
[ebuild     U ]  media-sound/alsa-headers-1.0.20 [1.0.19] 2,833 kB                                                                                                                                                                          

I suspect this may have been broken in some way for some time.
Comment 4 Zac Medico gentoo-dev 2009-08-10 21:34:52 UTC
(In reply to comment #0)
> # emerge -vatDN world

You need the --update option now, due to bug 275945.
Comment 5 Zac Medico gentoo-dev 2010-03-01 20:51:04 UTC
*** Bug 307163 has been marked as a duplicate of this bug. ***
Comment 6 Sebastian Luther (few) 2010-05-01 19:13:18 UTC
Closing as WONTFIX as this is an intended behavior change. Reopen if you think there is some other issue left here.