Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 100114

Summary: conflict of usepkg and buildpkg, compounded by -g or FEATURES="getbinpkg"
Product: Gentoo Linux Reporter: Abraham Smith <adsmith>
Component: EclassesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Abraham Smith 2005-07-24 06:46:00 UTC
I consider the behaviour of "emerge -Bk package" versus "emerge -B package" to
be a bug. 

I expected that emerge -B always forces a package to NOT emerge to the system,
but to only build a binary.  and -k simply means use a binary package if available.

Hence, 
EXPECTED:
emerge -B: creates package.tbz2 from source and does not emerge to system
emerge -Bk: creates package.tbz2 from source (or stop with success if
appropriate old tbz2 exists) and does not emerge to system

ACTUAL:
emerge -B: creates package.tbz2 from source and does not emerge to system
emerge -Bk: creates package.tbz2 from source (or package if it exists) and
*emerges to system*


This is compounded when FEATURES="getbinpkg" is enabled, as that implies
"usepkg", so "emerge -B" is impossible in the don't-merge-to-system sense.


(running portage 2.0.51.22-r2)
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2005-07-24 07:38:47 UTC

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