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

Bug 486596

Summary: Portage-2.2.1 ignores useflags mysteriously.
Product: Gentoo Linux Reporter: Yi Yang <ahyangyi>
Component: [OLD] UnspecifiedAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED INVALID    
Severity: major CC: bkohler
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Yi Yang 2013-09-30 18:10:21 UTC
My portage ignores useflags on multiple occasions.

For examples, see "step to reproduce".

The audacity-2.0.3 and libSM-1.2.2 ebuilds look the same as their working counterparts (2.0.1 and 1.2.1-r1 respectively).

Therefore I feel there might be something wrong within portage.

Reproducible: Always

Steps to Reproduce:
1. emerge =audacity-2.0.3[ffmpeg]
2. emerge =libSM-1.2.2[abi_x86_32]
Actual Results:  
1. emerge: there are no ebuilds to satisfy "=audacity-2.0.3[ffmpeg]".
2. emerge: there are no ebuilds to satisfy "=libSM-1.2.2[abi_x86_32]".


Expected Results:  
I expect to successfully emerge these packages, or at least get warnings about needing to unmask them.

Following is my system configuration.

CFLAGS="-march=native -O2 -pipe"
CXXFLAGS="${CFLAGS}"
MAKEOPTS="-j5"
USE="-bindist -bluetooth -ipv6 -gtk -gnome -hal bash-completion mmx sse sse2 sse3 truetype png jpeg svg unicode fontconfig alsa mp3 ssh cjk apache2 mysql git consolekit dbus policykit udev icu python qalculate fortran webkit nvidia gcj go networkmanager vim-syntax timidity midi vmware_guest_windows vmware_guest_linux vmware_guest_freebsd vmware_guest_solaris"
Comment 1 Ben Kohler gentoo-dev 2013-09-30 19:22:23 UTC
These are masked USE flags, here's where those are found in this case:

/usr/portage/profiles/base/package.use.mask:
# Alexis Ballier <aballier@gentoo.org> (15 Feb 2013)
# Needs a huge patch to build against recent releases of FFmpeg/libav.
# Mask it until upstream fixes it. Bug #417869
media-sound/audacity ffmpeg

/usr/portage/profiles/default/linux/amd64/13.0/package.use.stable.mask
# Ian Stakenvicius <axs@gentoo.org> (20 Sep 2013)
# on behalf of gx86-multilib project <multilib@gentoo.org>
# Mask abi_x86_32 on stable until emul-* packages are made
# fully redundant and end-user experience in resolving
# flag changes and blockages is generally smooth.
# Please keep in sync with hardened/linux/amd64.
x11-libs/libSM abi_x86_32

Here's some more information on masked USE flags: 
http://devmanual.gentoo.org/profiles/use.mask/index.html

If you need more help understanding masked USE flags, try one of our support venues like the forums or IRC.