Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 136978 - eix-sync doesn't work if EMERGE_DEFAULT_OPTS contains --ask
Summary: eix-sync doesn't work if EMERGE_DEFAULT_OPTS contains --ask
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Other
: High trivial
Assignee: Stefan Schweizer (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-06-16 05:05 UTC by Maxxer
Modified: 2006-06-19 01:00 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 Maxxer 2006-06-16 05:05:30 UTC
eix-sync doesn't work if EMERGE_DEFAULT_OPTS contains --ask, because when eix runs emerge --sync the command waits for a keypress.
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-06-16 05:10:47 UTC
So, stick --ignore-default-opts there? Kinda expected behaviour, to be honest.
Comment 2 Emil Beinroth 2006-06-18 04:41:02 UTC
eix-sync works just fine with EMERGE_DEFAULT_OPTS="-a".
If you want to turn the EMERGE_DEFAULT_OPTS off for a cronjob or something, use 'EMERGE_DEFAULT_OPTS="" YOUR_COMMAND_HERE'.

It's not a bug, but expected behaviour - I won't change eix-sync.
Comment 3 Stefan Schweizer (RETIRED) gentoo-dev 2006-06-18 05:40:26 UTC
upstream says wontfix, notabug, sorry.
Comment 4 Maxxer 2006-06-19 01:00:01 UTC
(In reply to comment #2)
> eix-sync works just fine with EMERGE_DEFAULT_OPTS="-a".

> It's not a bug, but expected behaviour - I won't change eix-sync.

I have EMERGE_DEFAULT_OPTS="--verbose --ask --tree" in my make.conf.
When I run eix-sync nothing happens, until I press enter again.
emerge --sync is waiting for a keypress, but eix-sync suppress its output so you can't see it!

I think I misexplained myself, because I just did it 5 mins ago and this is the behaviour I get.

If the expected behaviour is that eix-sync wait for Yes or No but without asking for it, then it's ok :)