Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 482648

Summary: sys-apps/portage: wildcard atom in package.*-configs does not work with ~ operator
Product: Portage Development Reporter: Franz Trischberger <franz.trischberger>
Component: Core - ConfigurationAssignee: Portage team <dev-portage>
Status: CONFIRMED ---    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Franz Trischberger 2013-08-27 09:16:38 UTC
I was trying to cover a specific version in a whole category when (un)keywording/masking to keep my configs as clean as possible.
e.g. I wanted to mask all of kde's 4.10.5 release. Obvious solution:
~kde-base/*-4.10.5
Well, does not work, portage says "invalid syntax".
~kde-base/kdelibs-4.10.5 does work, but that way I have to deal with every single package, again.

Same game with dev-texlive and dev-qt (masking qt-4.8.5, using texlive-2012 ~amd64)
After bells hint in the forums I got texlive working (correct syntax):
=dev-texlive/*-*2012*
BUT (!)
=kde-base/*-*4.10.5*
does not work.

So there seems to be a bug in the way portage parses config entries with wildcards.
The funny thing is: eix parses everything as I expect it. ~kde-base/*-4.10.5 works as well as all the other entries I try (and thought are correct).
Comment 1 Zac Medico gentoo-dev 2013-08-27 17:52:57 UTC
Currently, operators are not supported, with the exception of atoms like =*/*-*9999* where the version part contains only digits.