Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 877349 - The use flag "fixed-point" is masked at base, unmasked for mips, but cascades to mask a valid local use flag.
Summary: The use flag "fixed-point" is masked at base, unmasked for mips, but cascades...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Profiles (show other bugs)
Hardware: x86 Linux
: Low normal
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-10-16 20:30 UTC by Francisco Villareal
Modified: 2022-10-16 22:57 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Francisco Villareal 2022-10-16 20:30:01 UTC
The package media-libs/opusfile bears the local use flag "fixed-point", which is masked at arch/base in profiles and unmasked at arch/mips, on the documented basis that it's a mips-specific flag.

In the expected case, the knob is allowed to be selected instead of float, but instead it isn't available.

I would suggest changing one of the flags,even possibly migrating to a use_expand flag for something so specific to a platform.

Reproducible: Always

Steps to Reproduce:
1. emerge fails because of float being deselected and fixed-point being use-flag-masked
Comment 1 Mike Gilbert gentoo-dev 2022-10-16 22:32:01 UTC
The fixed-point USE flag is defined in these packages:

dev-lang/gnat-gpl:fixed-point - Enable fixed-point arithmetic support for MIPS targets in gcc (Warning: significantly increases compile time!)
media-libs/opusfile:fixed-point - Enable fixed-point arithmetic operations
media-libs/spandsp:fixed-point - Enable fixed point support
media-sound/xmms2:tremor - Support Vorbis using an alternate fixed-point decoder with media-libs/tremor
media-video/vlc:tremor - Enable tremor, a fixed-point version of the Ogg Vorbis decoder
sys-devel/gcc:fixed-point - Enable fixed-point arithmetic support for MIPS targets in gcc (Warning: significantly increases compile time!)

It should probably be added to arch/base/package.use.mask for gnat-gpl and gcc, and removed from arch/base/use.mask.
Comment 2 Larry the Git Cow gentoo-dev 2022-10-16 22:57:28 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=14216dac2c941a41b31d8fe5b6acdfab888b8fc3

commit 14216dac2c941a41b31d8fe5b6acdfab888b8fc3
Author:     Mike Gilbert <floppym@gentoo.org>
AuthorDate: 2022-10-16 22:54:59 +0000
Commit:     Mike Gilbert <floppym@gentoo.org>
CommitDate: 2022-10-16 22:54:59 +0000

    profiles/arch: move 'fixed-point' from use.mask to package.use.mask
    
    Closes: https://bugs.gentoo.org/877349
    Signed-off-by: Mike Gilbert <floppym@gentoo.org>

 profiles/arch/base/package.use.mask | 5 +++++
 profiles/arch/base/use.mask         | 1 -
 profiles/arch/mips/package.use.mask | 5 +++++
 profiles/arch/mips/use.mask         | 1 -
 4 files changed, 10 insertions(+), 2 deletions(-)