Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 108449 - RDEPEND blocks incorrectly apply to "/" when using $ROOT
Summary: RDEPEND blocks incorrectly apply to "/" when using $ROOT
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Core - Dependencies (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords: InVCS
Depends on:
Blocks: 137867 136244 142283
  Show dependency tree
 
Reported: 2005-10-07 22:40 UTC by James Le Cuirot
Modified: 2009-09-11 07:28 UTC (History)
2 users (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 James Le Cuirot gentoo-dev 2005-10-07 22:40:23 UTC
I'm not 100% sure about this but it seems that the presence of this in shadow...

!pam? ( !sys-apps/pam-login )

...is causing this block EVEN THOUGH I do not have pam-login installed and all I 
typed was ROOT="/mnt/tmp" USE="-pam" emerge -pv shadow...

[blocks B     ] sys-apps/pam-login (is blocking sys-apps/shadow-4.0.12)
[ebuild   R   ] sys-apps/shadow-4.0.12  to /mnt/tmp/

However pam-login is installed on the / system (rather than the /mnt/tmp system) 
and I suspect it is this copy that it is picking up.
Comment 1 Zac Medico gentoo-dev 2006-07-04 20:43:01 UTC
This is fixed in svn r3787.
Comment 2 Zac Medico gentoo-dev 2006-07-05 11:23:47 UTC
This has been released in 2.1.1_pre2-r3.
Comment 3 Nick Bowler 2009-09-11 02:33:11 UTC
I'm having this issue in portage-2.2_rc40.

export CBUILD=x86_64-pc-linux-uclibc
export ROOT=/usr/arm-pc-linux-uclibc
export PORTAGE_CONFIGROOT=$ROOT
emerge -av nfs-utils
...
[ebuild  N    ] net-nds/portmap-6.0  USE="tcpd (-selinux)" 0 kB
[ebuild  N    ] net-fs/nfs-utils-1.1.4-r1 to /usr/arm-pc-linux-uclibc/ USE="tcpd -kerberos -nonfsv4" 0 kB
[blocks B     ] net-nds/portmap ("net-nds/portmap" is blocking net-fs/nfs-utils-1.2.0)
...
 * Error: The above package list contains packages which cannot be
 * installed at the same time on the same system.

  ('installed', '/', 'net-fs/nfs-utils-1.2.0', 'nomerge') pulled in by
    net-fs/nfs-utils required by @world

  ('ebuild', '/', 'net-nds/portmap-6.0', 'merge') pulled in by
    >=net-nds/portmap-5b-r6 required by ('ebuild', '/usr/arm-pc-linux-uclibc/', 'net-fs/nfs-utils-1.1.4-r1', 'merge')

I can temporarily remove nfs-utils-1.2.0 from the main system to resolve the block, but this is obviously suboptimal.
Comment 4 Zac Medico gentoo-dev 2009-09-11 07:27:05 UTC
(In reply to comment #3)
> I can temporarily remove nfs-utils-1.2.0 from the main system to resolve the
> block, but this is obviously suboptimal.

The problem is in the ebuild. It has !net-nds/portmap in DEPEND, but it should only be in RDEPEND.
Comment 5 Zac Medico gentoo-dev 2009-09-11 07:28:19 UTC
(In reply to comment #4)
> (In reply to comment #3)
> > I can temporarily remove nfs-utils-1.2.0 from the main system to resolve the
> > block, but this is obviously suboptimal.
> 
> The problem is in the ebuild. It has !net-nds/portmap in DEPEND, but it should
> only be in RDEPEND. 

You maybe be able to use --root-deps=rdeps as a workaround.