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

Bug 523720

Summary: dev-libs/marisa uses illegal USE flags sse4.1 sse4.2
Product: Gentoo Linux Reporter: zvasylvv
Component: [OLD] LibraryAssignee: CJK Team <cjk>
Status: RESOLVED DUPLICATE    
Severity: normal CC: qa
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description zvasylvv 2014-09-25 18:59:31 UTC
We have a fight tonight.

In the left corner: PMS

3.1.4 USE Flag Names

A USE flag name may contain any of the characters [A-Za-z0-9+_@-]. It must begin with an alphanumeric character. Underscores should be considered reserved for USE_EXPAND, as described in section 11.1.1.


In the right corner: use.local.desc

vv@vv-Latitude-E5520 /dev/shm/portage/profiles $ grep marisa use.local.desc | grep \\.
dev-libs/marisa:sse4.1 - Enable sse4.1 instruction support
dev-libs/marisa:sse4.2 - Enable sse4.2 instruction support
vv@vv-Latitude-E5520 /dev/shm/portage/profiles $ 

One of them will loose.

Reproducible: Always
Comment 1 Martin Väth 2014-09-26 06:15:35 UTC
Since there are USE-flags sse4_1 and sse4_2 in several packages, this is probably a typo in marisa.
Comment 2 zvasylvv 2014-09-26 10:14:16 UTC
What about next PMS statement?

> Underscores should be considered reserved for USE_EXPAND, as described in section 11.1.1.
Comment 3 Martin Väth 2014-09-26 16:50:10 UTC
It seems to me that this is a recommendation, but not a "law":
Quite a lot of useflags contain underscores.
Moreover, even man USE_EXPAND useflags contain more than one underscore.

Summarizing: There is no chance to "determine" USE_EXPAND-flags without knowing the value of USE_EXPAND.

I would appreciate if this would change, but currently there are too many useflags in the tree which violate this rule.
Comment 4 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2015-01-28 22:03:10 UTC
@CJK, any reply there? This is a major issue with a trivial fix.
Comment 5 Ulrich Müller gentoo-dev 2015-01-28 22:45:39 UTC

*** This bug has been marked as a duplicate of bug 538104 ***