Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 81503 - supertux fails to load music-file at startup
Summary: supertux fails to load music-file at startup
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Games (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-02-10 07:32 UTC by Johannes Steidl
Modified: 2006-09-27 17:56 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
strace output (strace -o output.strace /usr/games/bin/supertux) (output.strace,288.53 KB, text/plain)
2005-02-10 11:04 UTC, Johannes Steidl
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Johannes Steidl 2005-02-10 07:32:23 UTC
$ supertux
Datadir: /usr/share/games/supertux
Warning: No joysticks Datadir: /usr/share/games/supertux
Warning: No joysticks are available.

Error: Couldn't load musicfile
/usr/share/games/supertux/music/SALCON.MOD

Aborted

$ whoami
johannes

$ id johannes
uid=1000(johannes) gid=100(users) groups=100(users),10(wheel),18(audio),27(video),35(games),250(portage)

$ emerge info
Portage 2.0.51-r15 (default-linux/x86/2004.3, gcc-3.4.3, glibc-2.3.4.20041102-r0, 2.6.10-as3-edocker i686)
=================================================================
System uname: 2.6.10-as3-edocker i686 Intel(R) Pentium(R) M processor 1500MHz
Gentoo Base System version 1.6.9
Python:              dev-lang/python-2.3.4-r1 [2.3.4 (#1, Feb  9 2005, 22:39:07)]
ccache version 2.3 [enabled]
dev-lang/python:     2.3.4-r1
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.9.4, 1.5, 1.8.5-r3, 1.6.3, 1.7.9-r1, 1.4_p6
sys-devel/binutils:  2.15.92.0.2-r2
sys-devel/libtool:   1.5.10-r4
virtual/os-headers:  2.6.8.1-r2
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -march=pentium3 -fomit-frame-pointer -fstack-protector -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=pentium3 -fomit-frame-pointer -fstack-protector -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache collision-protect distlocks maketest sandbox sfperms test userpriv usersandbox"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
LANG="de_DE"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X aalib acl acpi alsa apache2 bash-completion bitmap-fonts caca cdr crypt cups dlloader dvd dvdr eds encode esd evo fam flac gif gimpprint gnome gnomedb gstreamer gtk2 gtkhtml hal hbci howl imlib2 ipv6 ithreads jpeg mad mmx mng mono moznocompose moznoirc moznomail mozsvg mpeg mpeg4 mysql ncurses nls nptl nptlonly oggvorbis opengl openssh pam pcmcia png python samba session spell sse sse2 ssl svg threads tiff truetype truetype-fonts type1-fonts unicode usb userlocales wmf xv zlib linguas_GER"
Unset:  ASFLAGS, CBUILD, CTARGET, LC_ALL, LDFLAGS

Same as root... :-/
Comment 1 Mr. Bones. (RETIRED) gentoo-dev 2005-02-10 08:55:07 UTC
remerge supertux and see if that helps.

let's see the output from "ls -l /usr/share/games/supertux/music/SALCON.MOD"
as well please.
Comment 2 Johannes Steidl 2005-02-10 09:02:49 UTC
$ ls -l /usr/share/games/supertux/music/SALCON.MOD
-rw-r-----  1 root games 459285 Feb 10 16:24
Comment 3 Johannes Steidl 2005-02-10 09:11:57 UTC
sorry, overlooked the first row... a remerge dont solves the problem.
Comment 4 Mr. Bones. (RETIRED) gentoo-dev 2005-02-10 09:14:23 UTC
run it under strace and attache the output as text/plain please.

Also, let's have the output of the "groups" command - I know it's listed in the emerge --info output but I want to verify something.
Comment 5 Johannes Steidl 2005-02-10 11:04:58 UTC
Created attachment 50931 [details]
strace output (strace -o output.strace /usr/games/bin/supertux)
Comment 6 Johannes Steidl 2005-02-10 11:06:38 UTC
Comment on attachment 50931 [details]
strace output (strace -o output.strace /usr/games/bin/supertux)

$ groups
wheel audio video games users portage
Comment 7 Mr. Bones. (RETIRED) gentoo-dev 2005-02-10 12:02:10 UTC
oh.  You don't have mikmod in your use flags.
Comment 8 Lars Strojny 2005-02-10 12:08:58 UTC
Maybe the ebuild should check, whether this Useflag is set or not and than ouput a big fat warning. Do you agree?
Comment 9 Mr. Bones. (RETIRED) gentoo-dev 2005-02-10 12:10:28 UTC
yep.
Comment 10 Johannes Steidl 2005-02-10 12:56:34 UTC
okay, after adding mikmod to my USE-flags i updatet the whole system with

$ emerge -uD world --newuse

and remerged supertux ... but unfortunately its the same error-message when loading supertux.
Comment 11 Mr. Bones. (RETIRED) gentoo-dev 2005-02-10 13:23:31 UTC
works fine for me.  I'm pretty sure that's the problem.  I don't know how much you care about running supertux given the other open bug about it but if you really want to run it, I suggest "emerge -ev supertux".  pretty sure it'll work after that.
Comment 12 Johannes Steidl 2005-02-10 13:42:17 UTC
okay, after adding mikmod to the USE-flags, installing sdl-mixer and mikmod manually it worked just fine...

allthoug  it could be included in the ebuild so that supertux works out-of-the-box[tm]
Comment 13 Mart Raudsepp gentoo-dev 2006-09-25 00:37:27 UTC
This still failed for me on a fresh install.

sdl-mixer had been built with mikmod USE flag from the beginning.
Emerging mikmod does not help.

However, emerging mikmod followed by re-emerging sdl-mixer does help.

sdl-mixer deps on libmikmod, but not on mikmod. Should it perhaps dep on mikmod instead, or additionally dep on mixmod? The result of sdl-mixer package functionality apparently depends on it being available on build-time, as otherwise just emerging mikmod would have helped, and rebuild of sdl-mixer wouldn't have been necessary.
Comment 14 Mr. Bones. (RETIRED) gentoo-dev 2006-09-27 17:56:14 UTC
different bug.