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

Bug 290083

Summary: games-strategy/wormux-0.8.5 needs media-libs/jpeg-compat to run
Product: Gentoo Linux Reporter: Paweł Rumian <gorkypl>
Component: [OLD] GamesAssignee: Gentoo Games <games>
Status: VERIFIED FIXED    
Severity: normal CC: satorare
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Paweł Rumian 2009-10-21 23:16:57 UTC
After compiling wormux-0.8.5 and starting the game it crashes after selecting 'Play'. The most important console output is:

! Error in graphic/surface.cpp:88 (Wormux 0.8.5) : Unable to open image file '/usr/share/games/wormux//map/random_map.jpg': Failed loading libjpeg.so.62

I have media-libs/jpeg-7 installed.

After installing media-libs/jpeg-compat-6b-r1 the game runs with no errors.

Reproducible: Always

Steps to Reproduce:
1. Compile wormux-0.8.5
2. Start the game
3. Click 'Play'

Actual Results:  
The game crashed with 
C++ exception caught:
Error in graphic/surface.cpp:88 (Wormux 0.8.5) : Unable to open image file '/usr/share/games/wormux//map/random_map.jpg': Failed loading libjpeg.so.62

Expected Results:  
The game should run with no error.

Portage 2.2_rc46 (default/linux/x86/10.0/desktop, gcc-4.3.4, glibc-2.9_p20081201-r2, 2.6.28-gentoo-r5 i686)
=================================================================                                          
System uname: Linux-2.6.28-gentoo-r5-i686-AMD_Athlon-tm-_XP_2500+-with-gentoo-2.0.1                        
Timestamp of tree: Tue, 20 Oct 2009 12:00:02 +0000                                                         
distcc 3.1 i686-pc-linux-gnu [disabled]                                                                    
ccache version 2.4 [enabled]                                                                               
app-shells/bash:     4.0_p28                                                                               
dev-java/java-config: 2.1.9-r1                                                                             
dev-lang/python:     2.6.2-r1                                                                              
dev-util/ccache:     2.4-r7                                                                                
dev-util/cmake:      2.6.4                                                                                 
sys-apps/baselayout: 2.0.1                                                                                 
sys-apps/openrc:     0.5.2-r1                                                                              
sys-apps/sandbox:    1.6-r2                                                                                
sys-devel/autoconf:  2.13, 2.63-r1                                                                         
sys-devel/automake:  1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2                                                  
sys-devel/binutils:  2.18-r3                                                                               
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.27-r2
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=athlon-xp -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config"
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 /etc/udev/rules.d"
CXXFLAGS="-O2 -march=athlon-xp -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--with-bdeps y"
FEATURES="assume-digests ccache distlocks fixpackages news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="pl_PL.UTF-8"
LDFLAGS="-Wl,-O1"
LINGUAS="pl"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext X a52 aac acl acpi alsa bash-completion berkdb bluetooth branding bzip2 bzlib cairo cddb cdr cli consolekit cracklib crypt cups dbus dga dri dts dvd dvdr emboss encode exif fam ffmpeg flac foomaticdb fortran gif gimp gnuplot gnutls gpm gtk hal iconv ieee1394 imagemagick imap imlib ipv6 isdnlog jabber java jpeg kde kipi lame latex libnotify lm_sensors loop-aes mad mikmod mmx mmxext modules mp3 mp4 mpeg mplayer mudflap musepack mysql ncurses nls nptl nptlonly nsplugin ogg opengl pam pcre pdf perl png ppds pppd python qt3support qt4 quicktime raw readline reflection rss sdl session spell spl sse ssl startup-notification svg sysfs syslog tcpd thunar tiff truetype unicode usb vorbis webkit win32codecs x264 x86 xine xml xorg xulrunner xv xvid zlib" ALSA_CARDS="emu10k1 intel8x0 mpu401" 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 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" ELIBC="glibc" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="pl" USERLAND="GNU" VIDEO_CARDS="radeon"
Unset:  CPPFLAGS, CTARGET, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Tristan Heaven (RETIRED) gentoo-dev 2009-10-21 23:18:45 UTC
You just need to rebuild sdl-image
Comment 2 Tristan Heaven (RETIRED) gentoo-dev 2009-10-21 23:31:03 UTC
It should work if you use sdl-image-1.2.7-r1 (or 1.2.8)

thanks
Comment 3 satorare 2010-03-26 16:50:51 UTC
It seems I've got the same bug, but:
media-libs/jpeg-compat doesn't exists anymore...

Doesn't anyone know what's the actual equivalent of it?
Comment 4 Samuli Suominen gentoo-dev 2010-03-26 17:01:12 UTC
(In reply to comment #3)
> It seems I've got the same bug, but:
> media-libs/jpeg-compat doesn't exists anymore...
> 
> Doesn't anyone know what's the actual equivalent of it?
> 

Read Comment #1. The jpeg-compat (or slotted jpeg) is NOT for source based packages, fix your system instead.