I am using gentoolkit-0.2.3-r1. When EMERGE_DEFAULT_OPTS contains "--ask", euse -i gives a warning about --ask option. It gives it only in "local use flags" section global use flags (searching: dvdnav) ************************************************************ no matching entries found local use flags (searching: dvdnav) ************************************************************ !!! "--ask" should only be used in a terminal. Exiting. [- ] dvdnav (media-video/mplayer): DVD menu navigation support (not supported) Reproducible: Always Steps to Reproduce: 1.Put "--ask" in EMERGE_DEFAULT_OPTS 2.run euse -i on a local use flag 3. Actual Results: A warning is displayed Expected Results: euse should not pass the ask option and should filter it out
emerge should be called with --ignore-default-opts --- euse 2009-06-04 09:42:22.000000000 +0200 +++ euse.new 2009-06-04 09:42:18.000000000 +0200 @@ -176,7 +176,7 @@ # get the currently active USE flags as seen by portage, this has to be after # restoring USE or portage won't see the original environment - ACTIVE_FLAGS[9]="$(emerge --info | grep 'USE=' | cut -b 5- | sed -e 's:"::g')" #' + ACTIVE_FLAGS[9]="$(emerge --ignore-default-opts --info | grep 'USE=' | cut -b 5- | sed -e 's:"::g')" #' USE_FLAGS_CALCULATED=1 }
Fixed in bug #259318
(In reply to comment #2) > Fixed in bug #259318 > I could not find the exact patch at #259318 that fixes this bug, but euse does not give warnings now. Marking as fixed
Created attachment 226773 [details, diff] Patch for euse 0.3.0_rc10 The attached patch fixes the issue which is stille present in euse 0.3.0_rc10
Confirmed, reopen..
Fixed in svn, thanks!
Released in gentoolkit-0.3.0_rc11