for example: # USE='-*' emerge -vp gnome-shell libxml2 [ebuild R ] dev-libs/libxml2-2.9.0-r1:2 USE="-debug -examples -icu* -ipv6 -lzma* -python* -readline* -static-libs {-test}" PYTHON_TARGETS="-python2_5 -python2_6 -python2_7*" [ebuild R ] gnome-base/gnome-shell-3.6.2-r1 USE="-bluetooth -i18n -networkmanager -systemd" PYTHON_TARGETS="-python2_6 -python2_7*" # emerge -vp gnome-shell libxml2 [ebuild R ] dev-libs/libxml2-2.9.0-r1:2 USE="icu lzma python readline -debug -examples -ipv6 -static-libs {-test}" PYTHON_TARGETS="python2_7 -python2_5 -python2_6" [ebuild R ] gnome-base/gnome-shell-3.6.2-r1 USE="bluetooth* i18n* -networkmanager -systemd" PYTHON_TARGETS="python2_7 -python2_6" Reproducible: Always
I don't understand you. Your first snippet shows clearly that it actually respects USE='-*'. What is the problem then?
With USE="-*" PYTHON_TARGET will always empty string and it ignores PYTHON_TARGET from profile and make.conf
(In reply to comment #2) > With USE="-*" PYTHON_TARGET will always empty string and it ignores > PYTHON_TARGET from profile and make.conf Yes, this is normal behavior. You shouldn't be using USE=-* in the first place.
Hmm... I have it in package.use: # fgrep gnome-shell /etc/portage/package.use gnome-base/gnome-shell -* /me spent several days to find why emerge ignores profile and make.conf I did think USE='-*' should act for visible use flags only and not for environment variables. Sorry if I wrong. I found #179766 with something related, but it old. And sorry for my Engrish too :)
(In reply to comment #4) > Hmm... I have it in package.use: > # fgrep gnome-shell /etc/portage/package.use > gnome-base/gnome-shell -* > > /me spent several days to find why emerge ignores profile and make.conf > I did think USE='-*' should act for visible use flags only and not for > environment variables. > Sorry if I wrong. I found #179766 with something related, but it old. > And sorry for my Engrish too :) It's not an environment variable. It is a USE_EXPAND which is just short-hand syntax for USE flags with long names. There's a short bit on them in devmanual [1], I don't know if there are better docs. There's nothing I can do. This is how things work per the spec. [1]:http://devmanual.gentoo.org/general-concepts/use-flags/index.html