Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 307023 - revdep-rebuild passes --usepkg to emerge
Summary: revdep-rebuild passes --usepkg to emerge
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Tools (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Portage Tools Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 237964
  Show dependency tree
 
Reported: 2010-02-27 00:22 UTC by Albert W. Hopkins
Modified: 2010-04-06 10:00 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 Albert W. Hopkins 2010-02-27 00:22:10 UTC
I have the following in my make.conf:

  EMERGE_DEFAULT_OPTS="--keep-going --quiet-build --usepkg --jobs=3"

But I don't want --usepkg used in revdep-rebuild (for obvious reasons).  I run revdep-rebuild like this:

    # revdep-rebuild -i -- --keep-going --ignore-default-opts --jobs \
        --load-average=9.0 --usepkg=n

Even when I explicitely pass "--usepkg=n" to revdep-rebuild. It calls emerge like this:

    emerge --oneshot --keep-going --ignore-default-opts --jobs \
        --load-average=9.0 -- usepkg=n --keep-going --quiet-build \
        --usepkg --jobs=3 net-news/liferea:0

Notice it puts my EMERGE_DEFAULT_OPTS *after* my command-line opts, so they always take precedence. 

So basically I have to remember to comment out EMERGE_DEFAULT_OPTS in make.conf in order for revdep-rebuild to work.

This is gentoolkit-0.3.0_rc9
Comment 1 Christian Ruppert (idl0r) gentoo-dev 2010-04-01 15:07:26 UTC
Albert, EMERGE_DEFAULT_OPTS are now before EMERGE_OPTIONS so you should be able to overwrite them.
You can test it in app-portage/gentoolkit-9999 or wait until app-portage/gentoolkit-0.3.0_rc10 will be released.
Thanks!
Comment 2 Christian Ruppert (idl0r) gentoo-dev 2010-04-06 10:00:44 UTC
This bug has been fixed in app-portage/gentoolkit-0.3.0_rc10, thanks for reporting this issue.