Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 432332 - media-libs/sdl-mixer USE=mod requires USE=mikmod/modplug, but emerge does not make that clear
Summary: media-libs/sdl-mixer USE=mod requires USE=mikmod/modplug, but emerge does not...
Status: RESOLVED DUPLICATE of bug 403207
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Core - Interface (emerge) (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-08-22 17:38 UTC by Ben Kohler
Modified: 2012-08-22 19:57 UTC (History)
1 user (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 Ben Kohler gentoo-dev 2012-08-22 17:38:07 UTC
For some reason, on "emerge -pv extreme-tuxracer", emerge suggests that USE=mikmod should be enabled, but then claims that this would violate a USE restraint:


emerge: there are no ebuilds built with USE flags to satisfy "media-libs/sdl-mixer[mikmod,vorbis]".
!!! One of the following packages is required to complete your request:
- media-libs/sdl-mixer-1.2.12-r1::gentoo (Change USE: +mikmod, this change violates use flag constraints defined by media-libs/sdl-mixer-1.2.12-r1: '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 )')
(dependency required by "games-action/extreme-tuxracer-0.5_beta" [ebuild])
(dependency required by "extreme-tuxracer" [argument])


But in fact, it just needs to request "Change USE: +mikmod +mod", and there is no conflict.  'USE="mikmod mod" emerge -pv extreme-tuxracer' reports no problems.

I am used to seeing this error message when a "Change USE" request would violate an exactly-one-of requirement, but I don't understand why it thinks there is a problem here.
Comment 1 Mr. Bones. (RETIRED) gentoo-dev 2012-08-22 19:08:31 UTC
the mikmod use flag requires that the mod use flag be set in sdl-mixer.
Comment 2 Ben Kohler gentoo-dev 2012-08-22 19:12:05 UTC
I myself understand what flags are required and need to be set, but emerge's output is misleading or just flat out wrong.  It should suggest enabling both USE flags, it should not say anything about "violates use flag constraints".
Comment 3 Zac Medico gentoo-dev 2012-08-22 19:57:37 UTC

*** This bug has been marked as a duplicate of bug 403207 ***