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

Bug 423365

Summary: games-arcade/supertux-0.1.3 should depend on media-libs/sdl-mixer[mod] not [modplug]
Product: Gentoo Linux Reporter: Stephan Litterst <stephan.litterst>
Component: Current packagesAssignee: Gentoo Games <games>
Status: RESOLVED OBSOLETE    
Severity: enhancement    
Priority: Normal    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on: 422125    
Bug Blocks:    

Description Stephan Litterst 2012-06-24 17:12:19 UTC
emerge --sync && emerge -uDN world results in this message:

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-arcade/supertux-0.1.3" [installed])
(dependency required by "supertux" [argument])

Reproducible: Always

Steps to Reproduce:
1. emerge --sync && emerge -uDN
2.
3.
Actual Results:  
no world update possible

Expected Results:  
emerge -uDN world should work
Comment 1 Samuli Suominen (RETIRED) gentoo-dev 2012-06-24 17:18:08 UTC
emerge -pv sdl-mixer? looks to me it's just asking you to set correct USE flags for it...
Comment 2 Rafał Mużyło 2012-06-24 18:37:45 UTC
(In reply to comment #1)
> emerge -pv sdl-mixer? looks to me it's just asking you to set correct USE
> flags for it...

but on a semi-related note: that should probably be media-libs/sdl-mixer[mod] dep not [mikmod] - modplug should be just as good here.
Comment 3 Stephan Litterst 2012-06-25 17:14:10 UTC
emerge -pv sdl-mixer would work:

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R    ] media-libs/sdl-mixer-1.2.12-r1  USE="flac mad mp3 vorbis wav -fluidsynth -midi -mikmod -mod -modplug -playtools -smpeg -static-libs -timidity" 0 kB

Total: 1 package (1 reinstall), Size of downloads: 0 kB

does the supertux package pulls in this problem?:

 emerge -pv supertux

These are the packages that would be merged, in order:

Calculating dependencies... done!

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-arcade/supertux-0.1.3" [ebuild])
(dependency required by "supertux" [argument])
Comment 4 Rafał Mużyło 2012-06-25 17:25:07 UTC
Well, as both of us said, there is no bug here - you just need to set the useflags right and rebuild sdl-mixer.

But I'm hijacking this bug for the problem I've mentioned in comment 2.
Comment 5 Stephan Litterst 2012-06-26 04:21:48 UTC
Yes you are right, changing the USE-Flags did the job.
Thanks!
Comment 6 Rafał Mużyło 2012-06-26 15:05:21 UTC
As I said, I'm hijacking this bug for the problem I noted.
Comment 7 Julian Ospald 2012-12-30 18:13:30 UTC
uhm, I had to emerge sdl-mixer with USE="modplug" for it to work

USE="mikmod" does not suffice. It will yield:

Error: Couldn't load musicfile 
/usr/share/games/supertux/music/SALCON.MOD
Comment 8 Rafał Mużyło 2012-12-30 20:33:22 UTC
@comment 7:
sdl-mixer upstream is notoriously slow with releases.
Given that quite recent libmikmod bump and the couple libmikmod related fixes in upstream repo, you might want to do some cherry-picking to see if it's related to your problem.
Comment 9 Julian Ospald 2012-12-30 20:42:41 UTC
yeah well, but this is an ebuild bug anyway.

Can someone confirm?
Comment 10 Rafał Mużyło 2012-12-30 22:24:01 UTC
(In reply to comment #9)
> yeah well, but this is an ebuild bug anyway.
> 
What exactly ?
If there's *any* difference between sdl-mixer[mikmod] and sdl-mixer[modplug] it's either a bug in sdl-mixer or one of those two libs.
Comment 11 Julian Ospald 2012-12-30 22:25:36 UTC
(In reply to comment #10)
> (In reply to comment #9)
> > yeah well, but this is an ebuild bug anyway.
> > 
> What exactly ?

see comment 7
Comment 12 Mr. Bones. (RETIRED) gentoo-dev 2016-04-12 21:16:38 UTC
games-arcade/supertux-0.1.3 is gone