Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 464714 - app-portage/ufed-0.90_rc1 breaks with USE_EXPAND_HIDDEN="-*"
Summary: app-portage/ufed-0.90_rc1 breaks with USE_EXPAND_HIDDEN="-*"
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal minor (vote)
Assignee: Sven Eden
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-04-05 11:06 UTC by Martin Väth
Modified: 2013-04-12 14:32 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 Martin Väth 2013-04-05 11:06:51 UTC
In order to see also the "hidden" USE-variables in portage (and hopefully ufed), I have USE_EXPAND_HIDDEN="-*" in my /etc/portage/make.conf.

This causes a perl warning, and then all variables with "_" fail to be shown in ufed.

My analysis of the problem is that _merge_env treats -* in incremental variables differently than portage: It generates a new key "*" with value "" (=false).
However, _remove_expands ignores the value and, moreover, the key "*" is not handled correctly in the regular expression (causing the above mentioned perl warning). Hence, in effect, by accident despite the warning, all USE-flags (only those with "_" are tested) match the regular expression ^* and thus are filtered since the value "" is ignored.
Comment 1 Sven Eden 2013-04-08 07:19:06 UTC
This should be fixed by my latest commit. Please test ufed-9999 to see if this fixes the issue on your system, too, please.
Comment 2 Martin Väth 2013-04-08 10:04:20 UTC
Thanks. Works like a charm, as far as I can test
(of course, I cannot test whether the move to USE_EXPAND works as intended, since currently USE_EXPAND does not [yet] show up in ufed, as expected).

I guess this bug can be closed once the new version is in the tree.
Comment 3 Sven Eden 2013-04-09 07:49:00 UTC
That's fine, cool!

In fact all that I have changed is, that the content of USE_EXPAND_HIDDEN is added to USE_EXPAND if the first is set to "-*" in make.conf.

The latter is then filtered out at the moment. But adding support to actually see and edit expansion vars in ufed is on my todo list on the way to ufed's 1.0 release.
Comment 4 Paul Varner (RETIRED) gentoo-dev 2013-04-12 14:32:28 UTC
Released in app-portage/ufed-0.90_rc2