Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 70126 - emerge -kp returns different deps than emerge -p
Summary: emerge -kp returns different deps than emerge -p
Status: VERIFIED NEEDINFO
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:
Depends on:
Blocks:
 
Reported: 2004-11-04 20:22 UTC by michael@smith-li.com
Modified: 2004-11-06 17:56 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 michael@smith-li.com 2004-11-04 20:22:53 UTC
emerge -kp eclipse-sdk returns different dependencies than emerge -p eclipse-sdk

Reproducible: Always
Steps to Reproduce:
1. I tried emerge -p eclipse-sdk to see what deps were listed
2. Then I tried emerge -k eclipse-sdk to do the actual merge

Actual Results:  
I noticed it was fetching mozilla, which wasn't listed in the emerge -p. So I
killed it and emerge -kp'd eclipse-sdk. It had only two packages listed, mozilla
and eclipse-sdk itself.

Expected Results:  
I would have thought that -k wouldn't affect the list of dependencies.
Comment 1 SpanKY gentoo-dev 2004-11-04 20:30:03 UTC
was the binary package built with different USE flags ?
Comment 2 Marius Mauch (RETIRED) gentoo-dev 2004-11-05 01:21:05 UTC
Can't say much without more information, especially the exact output of -p and -kp, emerge --info would be nice too.
Comment 3 michael@smith-li.com 2004-11-06 17:56:46 UTC
I had a conversation with carpaski on #gentoo that resolved my question about whether this is a bug or not. I think it's not a bug, and that the different dependencies just reflected the different states of the systems on which the package was compiled and merged, respectively.

...conversation follows...
kojiro: carpaski, bit` suggested that you might be the one to whom to ask this question: should 'emerge -kp <package>' return different dependencies than 'emerge -p <package>' ?
<snip>
carpaski: kojiro: It could. Use flags, rdepends and depends will differ.
<snip>
carpaski: kojiro: binaries do not use depends.
carpaski: kojiro: and their useflags are propogated.
<snip>
carpaski: Only R and P deoends apply.
<snip>
kojiro: carpaski, so if I build a package one one system, the USE flags there will carry over to the system in which I merge it?
carpaski: yep