Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 289599 - app-portage/gentoolkit-0.2.4.5: revdep-rebuild ignores emerge options set in /etc/make.conf
Summary: app-portage/gentoolkit-0.2.4.5: revdep-rebuild ignores emerge options set in ...
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: InVCS
Depends on:
Blocks: 237964 305793
  Show dependency tree
 
Reported: 2009-10-18 15:35 UTC by Arthur D.
Modified: 2010-02-18 18:20 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 Arthur D. 2009-10-18 15:35:25 UTC
$ grep DEFAULT /etc/make.conf
EMERGE_DEFAULT_OPTS="--ask --verbose --tree"
 
And when I run:
revdep-rebuild --library libjpeg.so.62
... it runs rebuilding without asking me.

Reproducible: Always

Steps to Reproduce:
1. echo 'EMERGE_DEFAULT_OPTS="--ask --verbose --tree"' > /etc/make.conf
2. revdep-rebuild (should have some task to be done)

Actual Results:  
Runs rebuilding without asking me.

Expected Results:  
It should show me the tree of packages that will be rebuilt and ask for confirmation.
Comment 1 Douglas Anderson 2009-10-20 17:58:08 UTC
Thanks for your report. I'm closing this bug as I believe it has already been addressed previously. If you disagree, please reopen and explain.

*** This bug has been marked as a duplicate of bug 281655 ***
Comment 2 Arthur D. 2009-10-20 18:17:30 UTC
> Thanks for your report. I'm closing this bug as I believe it has already been
> addressed previously. If you disagree, please reopen and explain.

Hello, thanks for fast reply.
As I remember you said previously in private e-mail to me that there're some options that can harm revdep-rebuild work.

I believe that such options could easily be filtered in the script, or vice-versa, "safe" options could be filtered and added to the final emerge command. If you feel no desire to make this work, I will assist you with pleasure.

Just list what emerge options are harmful.

Regardz.
Comment 3 Douglas Anderson 2009-10-20 18:31:14 UTC
Please also see bug #282474 where the lead maintainer for gentoolkit addresses the issue, but I guess you could raise the issue on the gentoo-portage-dev ML to argue for accepting certain safe flags.

Comment 4 Arthur D. 2009-12-15 13:32:12 UTC
Some additions.

The variable PORTAGE_NICENESS is ignored aswell, leading the system to be partially useless because of it (loosing interactiveness; I can't even watch a movie in mplayer because it has the same nice-priority)

P.S. I've raised the question in gentoo-portage-dev list, but it seems the author of the utility is to busy to maintain it.
Comment 5 Paul Varner (RETIRED) gentoo-dev 2009-12-15 17:45:45 UTC
Please open a new bug for the PORTAGE_NICENESS value.  However, my testing shows that it is being honored, so I don't know why it would not be working for you. In the niw bug, please include your emerge --info and the output of "portageq envvar PORTAGE_NICENESS"
Comment 6 Arthur D. 2009-12-16 15:18:46 UTC
(In reply to comment #5)
> Please open a new bug for the PORTAGE_NICENESS value.  However, my testing
> shows that it is being honored, so I don't know why it would not be working for
> you. In the niw bug, please include your emerge --info and the output of
> "portageq envvar PORTAGE_NICENESS"

Done: http://bugs.gentoo.org/show_bug.cgi?id=285764
I did a mistake when saying about PORTAGE_NICENESS is ignored. It's not ignored, but it's calculated in a wrong way, leading emerge to be run with the same nice level as my desktop applications.
Comment 7 Paul Varner (RETIRED) gentoo-dev 2010-01-07 17:07:33 UTC
Released in gentoolkit-0.3.0_rc8