Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 472108 - media-libs/sdl-mixer-1.2.12-r3: USE="midi" USE flag impossible to meet
Summary: media-libs/sdl-mixer-1.2.12-r3: USE="midi" USE flag impossible to meet
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Games (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-06-02 13:51 UTC by Gil Forcada
Modified: 2013-06-02 13:57 UTC (History)
0 users

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 Gil Forcada 2013-06-02 13:51:30 UTC
Trying to install media-libs/sdl-mixer-1.2.12-r3 with midi USE flag gives me:

!!! Problem resolving dependencies for media-libs/sdl-mixer
... done!

!!! The ebuild selected to satisfy "sdl-mixer" has unmet requirements.
- media-libs/sdl-mixer-1.2.12-r3::gentoo USE="flac mad midi mp3 vorbis wav -fluidsynth -mikmod -mod -modplug -playtools -smpeg -static-libs -timidity"

  The following REQUIRED_USE flag constraints are unsatisfied:
    midi? ( any-of ( timidity fluidsynth ) )

  The above constraints are a subset of the following complete expression:
    midi? ( any-of ( timidity fluidsynth ) ) timidity? ( midi ) fluidsynth? ( midi ) mp3? ( any-of ( smpeg mad ) ) smpeg? ( mp3 ) mad? ( mp3 ) mod? ( any-of ( mikmod modplug ) ) mikmod? ( mod ) modplug? ( mod )


And looking at its ebuild file its quite clear:

REQUIRED_USE="
    midi? ( || ( timidity fluidsynth ) )
    timidity? ( midi )
    fluidsynth? ( midi )

If you need "midi", either "timidity" or "fluidsynth", but both depend on "midi", which creates a circular dependency...

Reproducible: Always

Steps to Reproduce:
1. USE="midi" emerge -va =media-libs/sdl-mixer-1.2.12-r3
2. See the error that emerge shows
Comment 1 Mr. Bones. (RETIRED) gentoo-dev 2013-06-02 13:57:57 UTC
You have to turn on at least one midi implementation.  I'd pick timidity.