Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 150716 - meaning, description and behaviour of with-bdeps
Summary: meaning, description and behaviour of with-bdeps
Status: RESOLVED DUPLICATE of bug 136178
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Enhancement/Feature Requests (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-10-10 02:07 UTC by Oldrich Jedlicka
Modified: 2006-10-10 13:56 UTC (History)
0 users

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


Attachments
Output of `emerge -uavD --newuse world` (emerge-without.txt,812.28 KB, text/plain)
2006-10-10 03:55 UTC, Oldrich Jedlicka
Details
Output of `emerge -uavD --newuse --with-bdeps y world` (emerge-with.txt.tar.gz,126.48 KB, application/x-tgz)
2006-10-10 03:57 UTC, Oldrich Jedlicka
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Oldrich Jedlicka 2006-10-10 02:07:05 UTC
I'm a little bit confused with --with-bdeps=y, so I expect there are more people coming soon. I'm using portage-2.1.2_pre2-r7.

What is a pronunciation of with-bdeps - is it like "with (all) build dependencies" or what does it mean? Some memo would be helpful (also in manual page), the name should reflect the meaning.

Actually when I tried to update world (`emerge -uavD --newuse world`), some RDEPENDs were ignored (xdm in my case, it is RDEPEND of virtual/x11) - I cannot say if all or only some RDEPENDs were ignored. As far as I know RDEPEND is a run time dependency, not build time dependency. With "--with-bdeps y" all dependencies were (hopefully) found.

So my proposals are:

1. Update portage to include RDEPENDs with --deep, or

2. Update the description (in manual page, enhance --help) to handle this issue more in detail (with respect to RDEPENDs)

Maybe it's a bug, but for now it is a feature request :-)

My personal opinion is to update portage to include RDEPENDs automatically with --deep.
Comment 1 Zac Medico gentoo-dev 2006-10-10 02:44:52 UTC
bdeps means build time dependencies (dependencies that are in DEPEND only, not RDEPEND).
Comment 2 Oldrich Jedlicka 2006-10-10 03:32:02 UTC
(In reply to comment #1)
> bdeps means build time dependencies (dependencies that are in DEPEND only, not
> RDEPEND).

So it should have nothing to do with RDEPENDs? In that case I think the current behaviour is buggy, because it affects RDEPENDs also.
Comment 3 Zac Medico gentoo-dev 2006-10-10 03:45:48 UTC
(In reply to comment #2)
> So it should have nothing to do with RDEPENDs? In that case I think the current
> behaviour is buggy, because it affects RDEPENDs also.

It works fine as far as I know.  You'll have to provide more detail.  You can attach the emerge --pretend --debug output for the command that produces unexpected results.
Comment 4 Oldrich Jedlicka 2006-10-10 03:55:24 UTC
Created attachment 99270 [details]
Output of `emerge -uavD --newuse world`

Results into

[ebuild     U ] app-admin/eselect-opengl-1.0.5 [1.0.4] 3 kB
[ebuild   R   ] net-misc/neon-0.26.1-r1  USE="nls ssl zlib -expat -socks5 (-static%)" 0 kB
[ebuild     U ] net-analyzer/tcpdump-3.9.5-r1 [3.9.5] USE="ipv6 samba%* ssl" 0 kB
[ebuild    fU ] dev-java/sun-jdk-1.4.2.12-r2 [1.4.2.12] USE="X alsa doc nsplugin -examples% -jce" 0 kB
[ebuild   R   ] app-cdr/k3b-0.12.17  USE="alsa arts css dvdr encode ffmpeg flac hal kde mp3 musepack vcd vorbis xin
Comment 5 Oldrich Jedlicka 2006-10-10 03:57:46 UTC
Created attachment 99272 [details]
Output of `emerge -uavD --newuse --with-bdeps y world`

Results in

[ebuild   R   ] net-misc/neon-0.26.1-r1  USE="nls ssl zlib -expat -socks5 (-static%)" 0 kB
[ebuild     U ] net-analyzer/tcpdump-3.9.5-r1 [3.9.5] USE="ipv6 samba%* ssl" 0 kB
[ebuild     U ] app-admin/eselect-opengl-1.0.5 [1.0.4] 3 kB
[ebuild     U ] x11-apps/xdm-1.1.0 [1.0.5] USE="ipv6 pam xprint -debug" 371 kB
[ebuild    fU ] dev-java/sun-jdk-1.4.2.12-r2 [1.4.2.12] USE="X alsa doc nsplugin -examples% -jce" 0 kB
[ebuild   R   ] app-cdr/k3b-0.12.17  USE="alsa arts css dvdr encode ffmpeg flac hal kde mp3 musepack vcd vorbis xinerama -debug -musicbrainz -sndfile" LINGUAS="cs en_GB -af -bg -bn -br -bs -ca -cy -da -de -el -es -et -eu -fi% -fr -ga -he -hi -hu -is -it -ja -km -lt -mk -ms -nb -nds -nl -nn -pa -pl -pt -pt_BR -ro -ru -se -sl -sr -sr@Latn -sv -ta -tr -uk -zh_CN -zh_TW%" 0 kB

Mention the additional xdm there.
Comment 6 Oldrich Jedlicka 2006-10-10 04:25:33 UTC
xdm is there from virtual/x11 (RDEPENDs), but I cannot say why it is there while using "--with-bdeps y" only. Please have a look at debug outputs of both versions of emerge.
Comment 7 Zac Medico gentoo-dev 2006-10-10 11:45:33 UTC
This is sort of a variation of bug 136178.  When you use --with-bdeps=y, some of the the || ( ( modular deps) virtual/x11 ) style dependencies cause virtual/x11 to be pulled into the depgraph even though virtual/x11 never really should be pulled in with modular X (virtual/x11-7 is really just a compatibility hack, or so I've heard).

If you want to ensure that deps of virtual/x11 are always pulled in (xdm, for example), then you should add it to the world favorites with `emerge --noreplace virtual/x11`.
Comment 8 Oldrich Jedlicka 2006-10-10 13:18:05 UTC
(In reply to comment #7)
> If you want to ensure that deps of virtual/x11 are always pulled in (xdm, for
> example), then you should add it to the world favorites with `emerge
> --noreplace virtual/x11`.

Perfect. Thanks for the hint :-)
Comment 9 Zac Medico gentoo-dev 2006-10-10 13:56:21 UTC

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