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

Bug 436330

Summary: allow extended '::overlay' syntax in /etc/portage/profile/package.use.force/mask
Product: Portage Development Reporter: Sergei Trofimovich (RETIRED) <slyfox>
Component: Enhancement/Feature RequestsAssignee: Portage team <dev-portage>
Status: RESOLVED FIXED    
Severity: normal Keywords: InVCS
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 431026    

Description Sergei Trofimovich (RETIRED) gentoo-dev 2012-09-26 17:39:17 UTC
I'm on hardened and like to use mingw32 crosscompiler, but
crossdev always rewrites masks for me like that:

$ cat /etc/portage/profile/package.use.force/cross-mingw32 
cross-mingw32/binutils -multilib
cross-mingw32/gcc -multilib
cross-mingw32/w32api -multilib
cross-mingw32/mingw-runtime -multilib
cross-mingw32/gdb -multilib

(it does not disable USE=hardened and build fails)

I'd like to have the following thing for example (i plan to install
a lot of crosscompilers):

$ cat /etc/portage/profile/package.use.force/cross
*/*::cross-overlay -hardened

but it is not allowed by portage:

--- Invalid atom in /etc/portage/profile/package.use.mask: */*::cross-overlay
--- Invalid atom in /etc/portage/profile/package.use.force: */*::cross-overlay

How about allowing extended syntax in /etc/portage/profile/*{force,mask}
and only (or not only?) there to avoid incompatibility creep into main tree

Thanks!
Comment 2 Zac Medico gentoo-dev 2012-09-27 22:11:23 UTC
This is fixed in 2.1.11.23 and 2.2.0_alpha134.