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

Bug 746542

Summary: =app-portage/flaggie-0.2.1-r1: issue with duplicate USE flag, e.g. for curl and curl_ssl
Product: Gentoo Linux Reporter: m1027 <m1027>
Component: Current packagesAssignee: Michał Górny <mgorny>
Status: UNCONFIRMED ---    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Package list:
Runtime testing required: ---

Description m1027 2020-10-04 13:27:06 UTC
When I have this line in package.use

> net-misc/curl libressl -gnutls curl_ssl: libressl -openssl

and enable gnutls with flaggie like so

> flaggie net-misc/curl +gnutls

then I receive this

> net-misc/curl libressl gnutls curl_ssl: libressl -openssl

which is what I intended to do: -gnutls (disabled) is converted into gnutls

However, when I have no -gnutls initally, then the same flaggie command adds
gnutls *after curl_ssl:*

> net-misc/curl libressl curl_ssl: libressl -openssl gnutls

This is not intended since there is curl_ssl[_gnutls], too, and flaggie
changes the curl_ssl flags in that case.