Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 307893 - app-emulation/emul-linux-x86-soundlibs-20100220 needs to include media-libs/libmikmod:2
Summary: app-emulation/emul-linux-x86-soundlibs-20100220 needs to include media-libs/l...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: AMD64 Project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: emul-tracker
  Show dependency tree
 
Reported: 2010-03-05 14:22 UTC by Russell Knighton
Modified: 2010-03-13 19:12 UTC (History)
4 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 Russell Knighton 2010-03-05 14:22:54 UTC
Unreal Tournament was working well with emul-linux-x86-soundlibs-20091231-r1, but since upgrading to emul-linux-x86-soundlibs-20100220 I have no sound. I also have the nag message at the end of every emerge:
!!! existing preserved libs:
>>> package: app-emulation/emul-linux-x86-soundlibs-20100220
 *  - /usr/lib32/libmikmod.so.2
 *  - /usr/lib32/libmikmod.so.2.0.4
 *      used by /opt/unreal-tournament/System/ALAudio.so (games-fps/unreal-tournament-451)
Use emerge @preserved-rebuild to rebuild packages using these libraries

Re-installing unreal-tournament doesn't help. This is presumably because emul-linux-x86-soundlibs-20100220 now provides libmikmod.so.3.0.0 now instead.

Reproducible: Always
Comment 1 Samuli Suominen (RETIRED) gentoo-dev 2010-03-05 14:30:41 UTC
The SONAME changed,

app-emulation/emul-linux-x86-soundlibs-20100220 (/usr/lib32/libmikmod.so)

lrwxrwxrwx 1 root root     18 Feb 21 12:20 /usr/lib32/libmikmod.so -> libmikmod.so.3.0.0
lrwxrwxrwx 1 root root     18 Feb 21 12:20 /usr/lib32/libmikmod.so.3 -> libmikmod.so.3.0.0
-rwxr-xr-x 1 root root 238336 Feb 20 13:01 /usr/lib32/libmikmod.so.3.0.0

You can try deleting /usr/lib32/libmikmod.so.2* and:

ln -s libmikmod.so.3.0.0 /usr/lib32/libmikmod.so.2

Or we can drop amd64 keyword from unreal-tournament ebuild (in worst case scenario).

Comment 2 Pacho Ramos gentoo-dev 2010-03-05 14:43:34 UTC
Also unreal-tournament RDEPEND is incomplete since it doesn't ever list media-libs/libmikmod :-/

But I am unsure about downgrading 32 bits version for libmikmod since that version has security issues (bug 255363), then, I don't know if that version will be removed (or masked) soon, if the fix can be backported to 3.1 also (and then, would be interesting to SLOT libmikmod)...
Comment 3 Ragas 2010-03-06 16:46:52 UTC
I'm having the same problem with games-arcade/frozen-bubble

The suggested fixed it for me:
ln -s libmikmod.so.3.0.0 /usr/lib/libmikmod.so.2

Still this is a little bit dirty, a real fix would be nice. 
Comment 4 Ragas 2010-03-06 16:49:26 UTC
forgot to mention I am actually on a 32bit machine
Comment 5 Pacho Ramos gentoo-dev 2010-03-06 17:12:37 UTC
(In reply to comment #4)
> forgot to mention I am actually on a 32bit machine
> 

But it is not a emul packages problem at all, some dependencies need to be fixed (and probably security fixes should be backported if possible)
Comment 6 Pacho Ramos gentoo-dev 2010-03-06 17:28:55 UTC
Sound team, Debian is applying CVE-2009-0179.patch to 3.1.11 also, then, I guess that security issue can also be fixed on it (I doubt stabling 3.2.0_beta2 was a good option seeing some apps are not ported yet and some other will never be :-( )
Comment 7 Samuli Suominen (RETIRED) gentoo-dev 2010-03-06 17:37:09 UTC
(In reply to comment #6)
> Sound team, Debian is applying CVE-2009-0179.patch to 3.1.11 also, then, I
> guess that security issue can also be fixed on it (I doubt stabling 3.2.0_beta2
> was a good option seeing some apps are not ported yet and some other will never
> be :-( )
> 

3.2.0 is what Fedora is using. That said, it's possible to ABI slot libmikmod same way jpeg is slotted. And yeah, that will imply backporting the security patches... 

I'll look into it...
Comment 8 Samuli Suominen (RETIRED) gentoo-dev 2010-03-06 19:09:24 UTC
This package is only to be used for binary-only games,

*libmikmod-3.1.12 (06 Mar 2010)

  06 Mar 2010; Samuli Suominen <ssuominen@gentoo.org>
  +libmikmod-3.1.12.ebuild, +files/libmikmod-3.1.12-64bit.patch,
  +files/libmikmod-3.1.12-autotools.patch:
  Import ABI slotted libmikmod.so.2 wrt #307893.
Comment 9 Samuli Suominen (RETIRED) gentoo-dev 2010-03-06 19:18:09 UTC
(In reply to comment #3)
> I'm having the same problem with games-arcade/frozen-bubble
> 
> The suggested fixed it for me:
> ln -s libmikmod.so.3.0.0 /usr/lib/libmikmod.so.2
> 
> Still this is a little bit dirty, a real fix would be nice. 
> 

And isn't frozen-bubble a source based game? Then, this package is not definately for that. You should have just ran revdep-rebuild.
Comment 10 Samuli Suominen (RETIRED) gentoo-dev 2010-03-06 19:21:39 UTC
I've just read thru all the comments, here, what's left to do is:

- The missing depend in unreal-tournament for media-libs/libmikmod:2
- amd64 including the media-libs/libmikmod:2 in emul- package
Comment 11 Pacho Ramos gentoo-dev 2010-03-06 19:22:35 UTC
(In reply to comment #8)
> This package is only to be used for binary-only games,

Great, anyway games team needs to add libmikmod-3.1* as a RDEPEND for unreal-tournament

> 
> *libmikmod-3.1.12 (06 Mar 2010)
> 
>   06 Mar 2010; Samuli Suominen <ssuominen@gentoo.org>
>   +libmikmod-3.1.12.ebuild, +files/libmikmod-3.1.12-64bit.patch,
>   +files/libmikmod-3.1.12-autotools.patch:
>   Import ABI slotted libmikmod.so.2 wrt #307893.
> 

I will include it in the next emul set
Comment 12 Ragas 2010-03-13 12:38:05 UTC
(In reply to comment #9)
> (In reply to comment #3)
> > I'm having the same problem with games-arcade/frozen-bubble
> > 
> > The suggested fixed it for me:
> > ln -s libmikmod.so.3.0.0 /usr/lib/libmikmod.so.2
> > 
> > Still this is a little bit dirty, a real fix would be nice. 
> > 
> 
> And isn't frozen-bubble a source based game? Then, this package is not
> definately for that. You should have just ran revdep-rebuild.
> 

I did run revdep-rebuild (actually i do automatically when upgrading) it doesn't change anything. I also tried removing frozen-bubble and reemerging.
It seems to strictly depend on this library.  
Comment 13 Pacho Ramos gentoo-dev 2010-03-13 19:12:12 UTC
Fixed in -r1