Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 132819 - games-sports/ultimatestunts needs patch for openal/freealut split
Summary: games-sports/ultimatestunts needs patch for openal/freealut split
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Games (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
: 133310 (view as bug list)
Depends on:
Blocks: 132826
  Show dependency tree
 
Reported: 2006-05-09 13:25 UTC by Tristan Heaven (RETIRED)
Modified: 2006-05-15 13:24 UTC (History)
1 user (show)

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


Attachments
ultimatestunts-0.6.1-freealut.patch (ultimatestunts-0.6.1-freealut.patch,1.62 KB, patch)
2006-05-12 06:23 UTC, Tristan Heaven (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Tristan Heaven (RETIRED) gentoo-dev 2006-05-09 13:25:14 UTC
music.cpp:94:21: error: AL/alut.h: No such file or directory
sndsample.cpp:39:21: error: AL/alut.h: No such file or directory
make[2]: *** [music.o] Error 1
make[2]: *** Waiting for unfinished jobs....
sndsample.cpp: In member function 'virtual bool CSndSample::load(const CString&, const CParamList&)':
sndsample.cpp:111: error: invalid conversion from 'ALubyte*' to 'const ALchar*'
sndsample.cpp:111: error:   initializing argument 1 of 'void* alGetProcAddress(const ALchar*)'
sndsample.cpp:137: error: invalid conversion from 'ALubyte*' to 'const ALchar*'
sndsample.cpp:137: error:   initializing argument 1 of 'void* alGetProcAddress(const ALchar*)'
sndsample.cpp:162: error: 'alutLoadWAV' was not declared in this scope
make[2]: *** [sndsample.o] Error 1
make[2]: Leaving directory `/var/tmp/portage/ultimatestunts-0.6.1/work/ultimatestunts-srcdata-0611/ultimatestunts'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/ultimatestunts-0.6.1/work/ultimatestunts-srcdata-0611'
make: *** [all] Error 2

!!! ERROR: games-sports/ultimatestunts-0.6.1 failed.
Call stack:
  ebuild.sh, line 1525:   Called dyn_compile
  ebuild.sh, line 928:   Called src_compile
  ebuild.sh, line 1237:   Called games_src_compile
  games.eclass, line 136:   Called die

!!! emake failed
!!! If you need support, post the topmost build error, and the call stack if relevant.
Comment 1 Tristan Heaven (RETIRED) gentoo-dev 2006-05-12 06:23:07 UTC
Created attachment 86650 [details, diff]
ultimatestunts-0.6.1-freealut.patch

This seems to work
Comment 2 Chris Gianelloni (RETIRED) gentoo-dev 2006-05-12 11:17:39 UTC
Fixed in CVS... thanks for the patch!
Comment 3 Matheus Izvekov 2006-05-14 11:46:08 UTC
(In reply to comment #1)
> Created an attachment (id=86650) [edit]
> ultimatestunts-0.6.1-freealut.patch
> 
> This seems to work
> 

It didnt work for me, go no sound

---Sound data
   Loading file cars/generic/engine.wav
alutCreateBufferFromFile failed
   Loading file cars/generic/skid.wav
alutCreateBufferFromFile failed
   Loading file cars/generic/crash_nonfatal.wav
alutCreateBufferFromFile failed
Comment 4 Tristan Heaven (RETIRED) gentoo-dev 2006-05-14 11:56:25 UTC
Can you try it with the printf line changed to

printf("%s\n", alutGetErrorString(alutGetError()));
Comment 5 Matheus Izvekov 2006-05-14 12:01:11 UTC
got this:

---Sound data
   Loading file cars/generic/engine.wav
There was an error opening the ALC device
   Loading file cars/generic/skid.wav
The operation was invalid in the current ALUT state
   Loading file cars/generic/crash_nonfatal.wav
The operation was invalid in the current ALUT state
Comment 6 Matheus Izvekov 2006-05-14 12:02:23 UTC
Ops disregard, found the problem already
Comment 7 Matheus Izvekov 2006-05-14 12:04:32 UTC
One program stole my sound device without me noticing
The current code doesnt generate a explicit error message for this case, thats why i didnt look for it.
Thats something another patch ought to fix :)
Comment 8 Chris Gianelloni (RETIRED) gentoo-dev 2006-05-15 13:24:34 UTC
*** Bug 133310 has been marked as a duplicate of this bug. ***