Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 32587 - openal-20031102 (New Package Version)
Summary: openal-20031102 (New Package Version)
Status: RESOLVED DUPLICATE of bug 41987
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High enhancement (vote)
Assignee: Gentoo Sound Team
URL:
Whiteboard:
Keywords: EBUILD
Depends on:
Blocks:
 
Reported: 2003-11-02 17:35 UTC by Jason Williams
Modified: 2005-07-17 13:06 UTC (History)
1 user (show)

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


Attachments
openal-20031102.ebuild (openal-20031102.ebuild,1.97 KB, text/plain)
2003-11-02 17:36 UTC, Jason Williams
Details
ChangeLog (ChangeLog,1010 bytes, text/plain)
2003-11-02 17:37 UTC, Jason Williams
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jason Williams 2003-11-02 17:35:58 UTC
Please find attached openal-20031102.ebuild and accompanying ChangeLog.  This
new version is a build of the CVS snapshot as of Nov. 2, 2003.

Jason

Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 Jason Williams 2003-11-02 17:36:43 UTC
Created attachment 20141 [details]
openal-20031102.ebuild
Comment 2 Jason Williams 2003-11-02 17:37:15 UTC
Created attachment 20142 [details]
ChangeLog
Comment 3 Aaron Gyes 2003-12-27 18:52:28 UTC
Can anyone else get it to compile against alsa 1.0.0rc2? I tried the usual 2 liner that gets most things working, no luck here.
Comment 4 Jason Williams 2003-12-27 19:32:53 UTC
What happens when you try to compile it against the unstable alsa 1.0.0?  What dies?  What did you try? Are you sure this should maybe go under a different bug?  Alsa 1.0.0 seems to be flagged as unstable in portage right now, are you sure it's not a problem with alsa 1.0.0?
Comment 5 Brian Harring (RETIRED) gentoo-dev 2004-02-07 11:23:35 UTC
A quick compilation against alsa-lib-1.0.2 results in an interesting breakage, especially with the necessary definitions to use the older alsa-lib api.

W/ the necessary definitions-
gmake[1]: Entering directory `/var/tmp/portage/openal-20031102/work/openal/linux/src'
gcc  -I../../include -I../include -I../audioconvert -Iarch -I.  -mcpu=athlon-xp -O2 -pipe -I/usr/kde/3.1/include/artsc  -I/usr/include/SDL -D_REENTRANT -I/usr/include/smpeg -I/usr/include/SDL -D_REENTRANT -fPIC -Wall -W -Wbad-function-cast -Wcast-qual -Wcast-align -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wimplicit-function-declaration -Waggregate-return -Winline -Wpointer-arith -fno-common -ansi -Wno-redundant-decls -c arch/alsa/alsa.c -o arch/alsa/alsa.o
gcc  -I../../include -I../include -I../audioconvert -Iarch -I.  -mcpu=athlon-xp -O2 -pipe -I/usr/kde/3.1/include/artsc  -I/usr/include/SDL -D_REENTRANT -I/usr/include/smpeg -I/usr/include/SDL -D_REENTRANT -fPIC -Wall -W -Wbad-function-cast -Wcast-qual -Wcast-align -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wimplicit-function-declaration -Waggregate-return -Winline -Wpointer-arith -fno-common -ansi -Wno-redundant-decls -c mutex/posixmutex.c -o mutex/posixmutex.o
gcc  -I../../include -I../include -I../audioconvert -Iarch -I.  -mcpu=athlon-xp -O2 -pipe -I/usr/kde/3.1/include/artsc  -I/usr/include/SDL -D_REENTRANT -I/usr/include/smpeg -I/usr/include/SDL -D_REENTRANT -fPIC -Wall -W -Wbad-function-cast -Wcast-qual -Wcast-align -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wimplicit-function-declaration -Waggregate-return -Winline -Wpointer-arith -fno-common -ansi -Wno-redundant-decls -c alc/alc_context.c -o alc/alc_context.o
In file included from /usr/include/alsa/asoundlib.h:51,
                 from arch/alsa/alsa.c:20:
/usr/include/alsa/timer.h:103: field `tstamp' has incomplete type
arch/alsa/alsa.c: In function `set_write_alsa':
arch/alsa/alsa.c:189: warning: implicit declaration of function `alloca'
arch/alsa/alsa.c:189: warning: cast does not match function type
arch/alsa/alsa.c:222: too few arguments to function `snd_pcm_hw_params_get_channels'
arch/alsa/alsa.c:233: warning: passing arg 3 of `snd_pcm_hw_params_set_rate_near' makes pointer from integer without a cast
arch/alsa/alsa.c:261: too few arguments to function `snd_pcm_hw_params_get_buffer_size'
arch/alsa/alsa.c:264: warning: passing arg 2 of `snd_pcm_hw_params_get_period_size' from incompatible pointer type
arch/alsa/alsa.c:264: too few arguments to function `snd_pcm_hw_params_get_period_size'
gmake[1]: *** [arch/alsa/alsa.o] Error 1
gmake[1]: *** Waiting for unfinished jobs....
gmake[1]: Leaving directory `/var/tmp/portage/openal-20031102/work/openal/linux/src'
make: *** [all] Error 2

Without, 
C -Wall -W -Wbad-function-cast -Wcast-qual -Wcast-align -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wimplicit-function-declaration -Waggregate-return -Winline -Wpointer-arith -fno-common -ansi -Wno-redundant-decls -c arch/arts/arts.c -o arch/arts/arts.o
arch/alsa/alsa.c: In function `set_write_alsa':
arch/alsa/alsa.c:218: too few arguments to function `snd_pcm_hw_params_get_channels'
arch/alsa/alsa.c:229: warning: passing arg 3 of `snd_pcm_hw_params_set_rate_near' makes pointer from integer without a cast
arch/alsa/alsa.c:257: too few arguments to function `snd_pcm_hw_params_get_buffer_size'
arch/alsa/alsa.c:260: warning: passing arg 2 of `snd_pcm_hw_params_get_period_size' from incompatible pointer type
arch/alsa/alsa.c:260: too few arguments to function `snd_pcm_hw_params_get_period_size'
gmake[1]: *** [arch/alsa/alsa.o] Error 1
gmake[1]: *** Waiting for unfinished jobs....
gmake[1]: Leaving directory `/var/tmp/portage/openal-20031102/work/openal/linux/src'
make: *** [all] Error 2

The definitions are needed going by that error message.
This is against alsa-lib-1.0.2, and it's not a breakage in alsa, the reason alsa-lib is flagged masked is because of the default api change that occured between 0.9.8 and 1.0.0; details are at at 35412.
This cvs snapshot seems to have issues, possibly pulled it while alsa work was being done upstream?
Comment 6 Jeremy Huddleston (RETIRED) gentoo-dev 2004-02-19 01:31:36 UTC

*** This bug has been marked as a duplicate of 41987 ***
Comment 7 Bob Thomas 2004-02-22 20:14:05 UTC
How is this a duplicate? The mentioned bug is about crossdev being masked. This is a new ebuild for openal. I think you picked the wrong bug to mark as a duplicate.
Comment 8 Bob Thomas 2004-02-22 20:16:43 UTC
Ok, this is a duplicate of 41978, not 41987
Comment 9 Jeremy Huddleston (RETIRED) gentoo-dev 2004-02-22 20:37:38 UTC
whoops, sorry...