Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 216424 - eix : eix-sync hangs with --ask as default portage option
Summary: eix : eix-sync hangs with --ask as default portage option
Status: RESOLVED WONTFIX
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Third-Party Tools (show other bugs)
Hardware: All Linux
: High normal
Assignee: Portage Tools Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-04-05 22:10 UTC by Gokdeniz Karadag
Modified: 2008-04-23 20:09 UTC (History)
2 users (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 Gokdeniz Karadag 2008-04-05 22:10:39 UTC
When EMERGE_DEFAULT_OPTS="--ask" is set, eix-sync  cals emerge --sync, then emerge waits for the "Yes" answer. Giving 'y' as input here works as expected. Eix does not display the output of emerge, so the user has no way to tell if sync took too long or it is waiting for input. 

As a fix, EMERGE_DEFAULT_OPTS can be resetted before calling emerge , or filtered for an "ask" or "pretend"

Reproducible: Always

Steps to Reproduce:
1. Set  EMERGE_DEFAULT_OPTS="--ask"
2. run eix-sync

Actual Results:  
Eix displays Running emerge --sync ... in reality, emerge is waiting for input.


Expected Results:  
emerge --sync step should complete successfully
Comment 1 Martin Väth 2008-04-06 11:31:33 UTC
Won't fix.
If the user explicitly wants to get asked from emerge always, eix-sync
should not change this. The user can see the output if he puts -v
into /etc/eix-sync.conf. eix-sync is not responsible if the user chooses
options which are inconvenient if used isolated.
Comment 2 Martin Väth 2008-04-06 13:01:56 UTC
Forgot to mention: You can of course put the line -C --ignore-default-opts
to /etc/eix-sync.conf to suppress the default options only for eix-sync.
Comment 3 Paul Varner (RETIRED) gentoo-dev 2008-04-23 20:09:44 UTC
Marking as WONTFIX, per the maintiner.