Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 451448 - app-portage/gentoolkit, revdep-rebuild: please consider using --usepkg=n as a default option to emerge
Summary: app-portage/gentoolkit, revdep-rebuild: please consider using --usepkg=n as a...
Status: RESOLVED DUPLICATE of bug 333285
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Tools (show other bugs)
Hardware: All Linux
: Normal minor (vote)
Assignee: Portage Tools Team
Depends on:
Reported: 2013-01-11 18:18 UTC by Florian Gamböck
Modified: 2013-01-11 19:20 UTC (History)
0 users

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


Note You need to log in before you can comment on or make changes to this bug.
Description Florian Gamböck 2013-01-11 18:18:52 UTC
Some folks out there use the --usepkg option as a default option for emerge (together with buildpkg-FEATURE, for example). But if revdep-rebuild finds broken linkage, then it would be useless to just extract the same broken files again from a tbz2. So --usepkg=n should be used to call emerge from revdep-rebuild.

Reproducible: Always

Steps to Reproduce:
1. emerge some packages with buildpkg FEATURE enabled
2. get an update for some package which will eventually break linkages to other packages
3. call revdep-rebuild with --usepkg being in EMERGE_DEFAULT_OPTS
Actual Results:  
The tbz2-binary of the found packages will be extracted, including the already-broken files. This renders the use of revdep-rebuild useless.

Expected Results:  
The package should be completely recompiled to get the linkages right. So to speak like one had called: "revdep-rebuild -- --usepkg=n". I don't see a reason why this shouldn't be the case by default.

Excerpt from my said configuration:
EMERGE_DEFAULT_OPTS="... --usepkg ..."
FEATURES="... buildpkg ..."
Comment 1 Zac Medico gentoo-dev 2013-01-11 19:20:47 UTC

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