Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 524834 - games-arcade/pacmanarena-0.15 - should depend on media-libs/libsdl[sound]
Summary: games-arcade/pacmanarena-0.15 - should depend on media-libs/libsdl[sound]
Status: RESOLVED FIXED
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: PATCH
Depends on:
Blocks:
 
Reported: 2014-10-09 12:42 UTC by Karl Lindén
Modified: 2014-10-09 15:31 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 Karl Lindén 2014-10-09 12:42:49 UTC
games-arcade/pacmanarena-0.15 should depend on the "sound" USE flag of media-libs/libsdl.

Reproducible: Always

Steps to Reproduce:
1. Compile media-libs/libsdl with USE="-sound"
2. Run pacmanarena from games-arcade/pacmanarena-0.15
3. Bam!
Actual Results:  
The game dies with an error. Like this:

$ pacmanarena
Mesa DRI Intel(R) Sandybridge Mobile 
Intel Open Source Technology Center
erro: audio_init: Mix_OpenAudio() -> SDL not built with audio support

Expected Results:  
The game should run, not die.

With media-libs/libsdl compiled with USE="sound" the game runs as expected.

The following patch fixes the issue:
--- pacmanarena-0.15.ebuild	2014-08-10 23:31:09.000000000 +0200
+++ pacmanarena-0.15-r1.ebuild	2014-10-09 14:35:17.729466074 +0200
@@ -17,7 +17,7 @@
 
 RDEPEND="virtual/opengl
 	virtual/glu
-	media-libs/libsdl
+	media-libs/libsdl[sound]
 	media-libs/sdl-mixer[vorbis]
 	media-libs/sdl-net"
 DEPEND="${RDEPEND}
Comment 1 Karl Lindén 2014-10-09 12:43:38 UTC
$ emerge --info =games-arcade/pacmanarena-0.15
Portage 2.2.8-r2 (default/linux/amd64/13.0/desktop, gcc-4.7.3, glibc-2.19-r1, 3.14.14-gentoo x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-3.14.14-gentoo-x86_64-Intel-R-_Core-TM-_i3-2350M_CPU_@_2.30GHz-with-gentoo-2.2
KiB Mem:     3955712 total,   1680744 free
KiB Swap:    2097148 total,   2097148 free
Timestamp of tree: Sun, 05 Oct 2014 08:45:01 +0000
ld GNU ld (Gentoo 2.23.2 p1.0) 2.23.2
app-shells/bash:          4.2_p52
dev-java/java-config:     2.2.0
dev-lang/python:          2.7.7, 3.3.5-r1
dev-util/cmake:           2.8.12.2-r1
dev-util/pkgconfig:       0.28-r1
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.12.4
sys-apps/sandbox:         2.6-r1
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.11.6, 1.12.6, 1.13.4
sys-devel/binutils:       2.23.2
sys-devel/gcc:            4.7.3-r1
sys-devel/gcc-config:     1.7.3
sys-devel/libtool:        2.4.2-r1
sys-devel/make:           3.82-r4
sys-kernel/linux-headers: 3.13 (virtual/os-headers)
sys-libs/glibc:           2.19-r1
Repositories: gentoo
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=core2 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=core2 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--getbinpkg=y --binpkg-respect-use=y"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs buildpkg buildsyspkg config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news noinfo parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://ftp.df.lth.se/pub/gentoo/ rsync://ftp.df.lth.se/pub/gentoo/ http://mirror.mdfnet.se/gentoo"
LANG="en_GB.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j4"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X a52 aac alloca amd64 aspell bluetooth cairo cd cdda cddb cdr consolekit cracklib cups curl dri drm dssi dvd dvdr exif ffmpeg fftw flac fltk gallium gif gimp glib gmp gnuplot gnutls gstreamer gtk gtk2 gtkstyle gudev hwdb inotify javascript jit jpeg keymap ladspa lame libkms libnotify lv2 mad mate mmx mp3 mpeg netifrc networkmanager nls nptl ogg opengl openmp openrc orc pdf png policykit pulseaudio qt4 readline sse sse2 sse4 sse4_1 ssl ssse3 startup-notification subversion svg svn theora threads thunar tiff truetype udev udisks unicode usb v4l vlc vorbis webgl x264 xcb xcomposite xinerama xorg xscreensaver zlib" ABI_X86="64" CURL_SSL="gnutls" ELIBC="glibc" GRUB_PLATFORMS="pc" INPUT_DEVICES="evdev keyboard mouse synaptics" KERNEL="linux" LINGUAS="en en_GB sv sv_SE" PYTHON_SINGLE_TARGET="python3_3" PYTHON_TARGETS="python2_7 python3_3" RUBY_TARGETS="ruby20" USERLAND="GNU" VIDEO_CARDS="i965 intel" XFCE_PLUGINS="trash battery brightness"
Unset:  CPPFLAGS, CTARGET, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON

=================================================================
                        Package Settings
=================================================================

games-arcade/pacmanarena-0.15 was built with the following:
USE="" ABI_X86="64"
Comment 2 Mr. Bones. (RETIRED) gentoo-dev 2014-10-09 15:31:22 UTC
fixed.  thanks for the bug report.