Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 126575 - revdep-rebuild not compatible with EMERGE_DEFAULT_OPTS
Summary: revdep-rebuild not compatible with EMERGE_DEFAULT_OPTS
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
: 137570 (view as bug list)
Depends on:
Blocks:
 
Reported: 2006-03-17 11:36 UTC by Joël
Modified: 2006-06-22 05:57 UTC (History)
1 user (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 Joël 2006-03-17 11:36:33 UTC
I recently added the following line in /etc/make.conf:

EMERGE_DEFAULT_OPTS="-v"

With this option and a recent ~x86 portage version (eg: 2.1_pre6-r3), the revdep-rebuild tool breaks.

The reason, I think, is that it uses the "emerge" command with specific flags, and parses its output. Because of EMERGE_DEFAULT_OPTS, the output can change. In my case, for example, it receives info about USE flags that it doesn't expect.

Workaround: don't use EMERGE_DEFAULT_OPTS with revdep-rebuild

Solution:
(a) adding a flag to emerge, like --clear-opts, which ignores EMERGE_DEFAULT_OPTS
(b) change every call in revdep-rebuild to call emerge as follows: 'EMERGE_DEFAULT_OPTS="" emerge xyz'
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-03-17 11:44:15 UTC
Works just fine with gentoolkit-0.2.2_pre3
Comment 2 Joël 2006-03-17 11:55:57 UTC
Sorry.. yes, I stupidly forgot to update gentoolkit (version 0.2.1 was still installed).

Thanks :-)
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2006-06-22 05:57:14 UTC
*** Bug 137570 has been marked as a duplicate of this bug. ***