Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 27357
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Gentoo Games <games@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: pasi.valminen@hut.fi
Add CC:
CC:
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 27357 depends on: Show dependency tree
Bug 27357 blocks: 27451
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2003-08-26 07:01 0000
I emerged ut2003 and there were no sound. Then I merged openal and sounds work. 

Reproducible: Always
Steps to Reproduce:
1. emerge ut2003
2. ut2003
3.

Actual Results:  
There were no sound.

Expected Results:  
I should've heard lots of splats and such.

Adding
RDEPEND="media-libs/openal"
into the ebuild fixes this.

------- Comment #1 From Chris Gianelloni (RETIRED) 2003-08-26 07:33:28 0000 -------
Strange.  I wrote the ebuild, and I don't have OpenAL installed, nor have I
ever.  I get sound with no problems.

When did you emerge ut2003?  I have made changes to the ebuild recently.  The
newest version is version 1.5 of the ebuild.  Quite simply, the game can run
without OpenAL installed.  If it requires OpenAL, then it would supply it.  Try
merging the latest version.  If you still have the problem, post here and I'll
try remerging the game to see what is going on with it.

------- Comment #2 From pasi.valminen@hut.fi 2003-08-26 07:52:26 0000 -------
I did `emerge rsync' a few hours ago and installed after that. 

Ebuild header:
$Header: /home/cvsroot/gentoo-x86/app-games/ut2003/ut2003-2225.ebuild,v 1.5 20
03/08/14 13:06:59 wolf31o2 Exp $

Sound card: (from /proc/pci)
Multimedia audio controller: C-Media Electronics Inc CM8738 (rev 16)
ALSA from media-sound/alsa-driver-0.9.2

A little leaflet that came with my ut2003 clearly states in the 'system requirements' section that it needs openAL. It probably does also supply it but didn't work... A missing LD_LIBRARY_PATH? 

Here's my emerge info:
Portage 2.0.48-r5 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r1)
=================================================================
System uname: 2.4.22 i686 Intel(R) Pentium(R) 4 CPU 2.00GHz
GENTOO_MIRRORS="http://trumpetti.atm.tut.fi/gentoo http://gentoo.oregonstate.edu          http://www.ibiblio.org/pub/Linux/distributions/gentoo"
CONFIG_PROTECT="/etc /var/qmail/control /usr/share/config /usr/kde/2/share/confi         g /usr/kde/3/share/config /usr/X11R6/lib/X11/xkb"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
PORTDIR="/usr/portage"
DISTDIR="/usr/portage/distfiles"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/tmp"
PORTDIR_OVERLAY=""
USE="x86 foomaticdb mad -3dfx 3dnow aalib -acl acpi -afs alsa -apache2 -apm -art         s -atlas avi -berkdb -bonobo -canna -cdr -cjk crypt -cups -curl -debug -dga dire         ctfb -doc -dvb dvd -emacs encode -esd -ethereal -ev6 -evo fbcon -firebird -flash          -freetds -freewnn -gb -gd -gdbm -ggi gif -gnome -gphoto2 gpm -gps gtk gtk2 -gtk         html -guile -icc -icc-pgo -imap imlib -innodb -informix -ipv6 -jack java -jikes          jpeg -junit -kde -kerberos -krb4 -ladcca -lcms ldap -leim libg++ -libgda -libwww          -lirc maildir -matrox -mbox -mcal -mikmod -memlimit mmx -motif -mozilla mpeg -m         pi -mule -mysql -nas ncurses -nhc98 -nls nocardbus -oci8 odbc oggvorbis opengl -         oss pam -pcmcia -pda pdflib perl plotutils png -pnp postgres -prebuilt -python -         qt quicktime readline -ruby -samba sasl -scanner sdl -slang -slp -snmp -socks5 -         spell sse ssl -static svga -tcltk tcpd tetex -tiff truetype -trusted usb -voodoo         3 -wavelan wmf X -Xaw3d -xface -xinerama -xml xml2 xmms xv -zeo zlib"
COMPILER="gcc3"
CHOST="i686-pc-linux-gnu"
CFLAGS="-march=pentium3 -O3 -pipe -fomit-frame-pointer"
CXXFLAGS="-march=pentium3 -O3 -pipe -fomit-frame-pointer"
ACCEPT_KEYWORDS="x86"
MAKEOPTS="-j2"
AUTOCLEAN="yes"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
FEATURES="sandbox ccache"

------- Comment #3 From pasi.valminen@hut.fi 2003-08-26 08:24:17 0000 -------
And the ebuild installs DefUser.ini and Default.ini in /. This is probably not
what we want?

------- Comment #4 From Chris Gianelloni (RETIRED) 2003-08-26 08:47:12 0000 -------
Well, my copy of UT2003 installs the ALAudio.so and openal.so libraries into
the System directory.  Try moving the .ini files to /opt/ut2003/System and see
if the game starts.  I am fixing the locations of those 2 files in the ebuild
right now.  If that fixes the problem (I think it will) then I'll just submit
this and that'll fix the problem.

------- Comment #5 From pasi.valminen@hut.fi 2003-08-26 09:27:12 0000 -------
I moved the *.inis and my copy does install those ALAudio.so and openal.so as
well. But still no sound. Setting LD_LIBRARY_PATH=/opt/ut2003/System does not
seem to have any effect... getting strange.

------- Comment #6 From Chris Gianelloni (RETIRED) 2003-08-26 10:58:02 0000 -------
Well, I noticed that in the UT2003.log file (~/.ut2003/System/UT2003.log) it is
failing to load openal.so for some reason.  I'm going to have to investigate
this more, but it may take a while, since I'm actually a bit busy in real life.

------- Comment #7 From pasi.valminen@hut.fi 2003-08-26 11:18:07 0000 -------
No problem, it works fine if you got openal merged ;) Take your time :)

------- Comment #8 From Chris Gianelloni (RETIRED) 2003-08-26 13:50:50 0000 -------
No problem.  It is just bugging me since I know it was working before.  I'll
get to it as soon as I figure out the America's Army sound problem.

I think they are related, and well, America's Army takes up less than half as
much space on my hard drive and doesn't require em to swap 3 CDs every time I
test... ;]

They're both the same engine ported by the same guy, so it's pretty safe to say
they work the same and would have the same issues.

------- Comment #9 From Chris Gianelloni (RETIRED) 2003-08-27 04:29:33 0000 -------
Well, the problem was different between the bugs.  I got the America's Army one
pinned down and am going to start working on this one today and tomorrow.

------- Comment #10 From Chris Gianelloni (RETIRED) 2003-08-29 05:18:11 0000 -------
I am making this depend since I am working on both bugs at the same time and
it'll remind me to make sure both work before submitting the new ebuild.

------- Comment #11 From Chris Gianelloni (RETIRED) 2003-09-08 04:09:35 0000 -------
Fixed in CVS...

emerge sync
emerge ut2003
emerge clean

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug