Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 406857 - games-puzzle/enigma-1.01: missing USE dependencies on media-libs/sdl-mixer and media-libs/sdl-image
Summary: games-puzzle/enigma-1.01: missing USE dependencies on media-libs/sdl-mixer an...
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:
Depends on:
Blocks:
 
Reported: 2012-03-04 08:35 UTC by Khumba
Modified: 2012-09-28 12:33 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 Khumba 2012-03-04 08:35:08 UTC
Enigma requires
    media-libs/sdl-image[jpeg,png]
    media-libs/sdl-mixer[mikmod]
in order to use its media files.  (Oddly enough, it uses .wav files too, but the sounds effects still play if USE=-wav.  Maybe that belongs on sdl-mixer too.)  Its current RDEPEND only lists:
    media-libs/sdl-image[png]
    media-libs/sdl-mixer

If sdl-image is built without jpeg support, enigma fails to start, crashing with:

enigma: ecl_video.cc:313: virtual void ecl::Surface::blit(const ecl::GS&, int, int, const ecl::Surface*): Assertion `src != 0' failed.
Aborted

If -mikmod is set, then enigma runs with no error messages, but also with no menu music.

Steps to reproduce:
1. emerge enigma
2. USE="-jpeg -mikmod" emerge -1 sdl-image sdl-mixer
3. enigma
Comment 1 Khumba 2012-03-04 08:36:01 UTC
emerge --info:

Portage 2.2.0_alpha89 (hardened/linux/amd64, gcc-4.5.3, glibc-2.13-r4, 3.2.2-hardened-r1 x86_64)
=================================================================
System uname: Linux-3.2.2-hardened-r1-x86_64-Intel-R-_Core-TM-_i5-2430M_CPU_@_2.40GHz-with-gentoo-2.0.3
Timestamp of tree: Sat, 25 Feb 2012 17:15:01 +0000
app-shells/bash:          4.1_p9
dev-java/java-config:     2.1.11-r3
dev-lang/python:          2.7.2-r3, 3.1.4-r3, 3.2.2
dev-util/cmake:           2.8.6-r4
dev-util/pkgconfig:       0.26
sys-apps/baselayout:      2.0.3
sys-apps/openrc:          0.9.8.4
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.13, 2.68
sys-devel/automake:       1.11.1
sys-devel/binutils:       2.21.1-r1
sys-devel/gcc:            4.5.3-r2
sys-devel/gcc-config:     1.4.1-r1
sys-devel/libtool:        2.4-r1
sys-devel/make:           3.82-r1
sys-kernel/linux-headers: 3.1 (virtual/os-headers)
sys-libs/glibc:           2.13-r4
Repositories: gentoo
Installed sets: 
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=native -ggdb"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/themes/oxygen-gtk/gtk-2.0"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-O2 -pipe -march=native -ggdb"
DISTDIR="/usr/local/distfiles"
EMERGE_DEFAULT_OPTS="--binpkg-respect-use=y --quiet-build=y --quiet-unmerge-warn"
FEATURES="assume-digests binpkg-logs buildsyspkg distlocks ebuild-locks fixlafiles news nostrip parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS=""
GENTOO_MIRRORS="http://ftp.ucsb.edu/pub/mirrors/linux/gentoo/"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"                                                                                                                                         
LINGUAS="en ja"                                                                                                                                                           
MAKEOPTS="-j6"                                                                                                                                                            
PKGDIR="/usr/local/packages"                                                                                                                                              
PORTAGE_CONFIGROOT="/"                                                                                                                                                    
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"                                                                                                                                     
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/mnt/portage/gentoo"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.us.gentoo.org/gentoo-portage"
USE="X a52 aac aalib acl acpi alsa amd64 apache2 avahi berkdb branding bzip2 cairo cdda cdr cjk cli consolekit cracklib crypt cups curl cxx dbus djvu dri dvd dvdr dvi emacs encode exif fam fat fbcon ffmpeg firefox flac fontconfig ftp fuse gdbm gif git gnutls gpm gstreamer gtk gtk3 hardened hscolour iconv id3tag imagemagick imap imlib ipod ipv6 jabber java java6 justify kde kipi kpathsea lame latex lcms libnotify mad maildir matroska mjpeg mmx mng modules mp3 mp4 mpeg mplayer msn mtp mudflap multilib mysql ncurses networkmanager nls nptl nptlonly nsplugin ntfs ogg ogm openal opengl openmp pam pango pax_kernel pcre pdf pic png policykit ppds pppd qt3support qt4 quicktime rdesktop readline reiserfs rss sbcl scanner sdl session smp snmp spell sse sse2 sse3 ssl ssse3 startup-notification subversion svg sysfs taglib tcpd theora threads tiff tk truetype udev udisks unicode urandom usb v4l vcd vnc vorbis wifi x264 xcb xft xine xml xorg xscreensaver xv xvid zeroconf zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan stage tables krita karbon braindump" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="evdev keyboard mouse synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en ja" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="intel" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CPPFLAGS, CTARGET, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 2 Rafał Mużyło 2012-03-04 09:39:04 UTC
As of sdl-mixer-1.2.12, media-libs/sdl-mixer[modplug] should be a valid alternative too.
Comment 3 Tupone Alfredo gentoo-dev 2012-09-28 12:32:43 UTC
Adding in portage the USE dependency media-libs/sdl-image[jpeg,png] as that is the one that is crashing the application.

Thanks