Bug 200171 - emul-linux-x86-soundlibs-20071114.ebuild: misused arts USE flag
Bug#: 200171 Product:  Gentoo Linux Version: unspecified Platform: All
OS/Version: Linux Status: CLOSED Severity: normal Priority: P2
Resolution: FIXED Assigned To: amd64@gentoo.org Reported By: flameeyes@gentoo.org
Component: Ebuilds
URL: 
Summary: emul-linux-x86-soundlibs-20071114.ebuild: misused arts USE flag
Keywords:  
Status Whiteboard: 
Opened: 2007-11-24 11:15 0000
Description:   Opened: 2007-11-24 11:15 0000
The arts USE flag in soundlibs does not disable aRTs libraries from being
installed, instead it removes the the esddsp, artsdsp and aoss commands (two of
which don't relate to aRTs at all, and are quite important for 32-bit
proprietary games to work with esd/alsa instead of OSS).

This probably is what causes bug #200163 as the arts USE flag removes the
dependency over qtlibs, but does not remove the libraries using qt3.

------- Comment #1 From Mike Doty 2007-11-24 19:49:56 0000 -------
logic is fixed in emul-linux-x86-soundlibs-20071114-r1

------- Comment #2 From Jakub Moc (RETIRED) 2007-11-25 09:15:30 0000 -------
*** Bug 200263 has been marked as a duplicate of this bug. ***

------- Comment #3 From Dizzy 2007-11-26 09:31:04 0000 -------
I don't understand how is 200263 a duplicate of this bug? 200263 complains
about qtlibs requiring soundlibs with arts and not providing any use flag to
disable arts dependency in qtlibs at all. That problem is still unsolved unless
I'm missing something. The problem is even worse than having some bloat on your
system (ie soundlibs with arts) because it creates a cyclic dependency like
this (I initially didn't have soundlibs with arts so now after emerge --sync I
can't upgrade qtlibs):

# emerge emul-linux-x86-qtlibs
...
 *       emul-linux-x86-qtlibs requires arts support in
app-emulation/emul-linux-x86-soundlibs.
...

# USE=arts emerge -pv emul-linux-x86-soundlibs

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

Calculating dependencies... done!
[ebuild  N    ] app-emulation/emul-linux-x86-qtlibs-20071114-r2  0 kB 
[ebuild   R   ] app-emulation/emul-linux-x86-soundlibs-20071114-r1  USE="arts*
-esd -oss" 0 kB 

See the problem?

------- Comment #4 From Jakub Moc (RETIRED) 2007-11-28 11:19:12 0000 -------
(In reply to comment #3)

Maybe you could read the fine ChangeLog and Bug 200163.

------- Comment #5 From David Fellows 2007-12-09 00:45:34 0000 -------
(In reply to comment #3)

> # emerge emul-linux-x86-qtlibs
> ...
>  *       emul-linux-x86-qtlibs requires arts support in
> app-emulation/emul-linux-x86-soundlibs.
> ...
> 
> # USE=arts emerge -pv emul-linux-x86-soundlibs
> 
> These are the packages that would be merged, in order:
> 
> Calculating dependencies... done!
> [ebuild  N    ] app-emulation/emul-linux-x86-qtlibs-20071114-r2  0 kB 
> [ebuild   R   ] app-emulation/emul-linux-x86-soundlibs-20071114-r1  USE="arts*
> -esd -oss" 0 kB 
> 
> See the problem?
> 
Yep.
My work around was to do the following:
echo "app-emulation/emul-linux-x86-soundlibs arts" >> /etc/portage/package.use
emerge  --oneshot -v  --nodeps app-emulation/emul-linux-x86-soundlibs
emerge  --oneshot -uv  app-emulation/emul-linux-x86-qtlibs 
emerge  --oneshot -v  app-emulation/emul-linux-x86-soundlibs