Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 266448 - media-libs/openal-1.7.411 fails to emerge with media-libs/portaudio < 19
Summary: media-libs/openal-1.7.411 fails to emerge with media-libs/portaudio < 19
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo Sound Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-04-16 23:22 UTC by Santiago Bruno
Modified: 2009-04-29 17:23 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Santiago Bruno 2009-04-16 23:22:48 UTC
I couldn't emerge media-libs/openal-1.7.411 because I had a version of media-libs/portaudio prior to 19 installed. I upgraded it manually when I realized that that was the problem, but shouldn't that dependency be considered in openal ebuild?


Reproducible: Always

Steps to Reproduce:
emerge media-libs/openal-1.7.411 with a version of portaudio lower than 19. Actually, 19_pre20071207 is the only version in portage right now, but I don't know why it didn't upgrade.

Actual Results:  
emerge fails

Expected Results:  
upgrade portaudio and emerge
Comment 1 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2009-04-18 20:03:33 UTC
That's odd. media-libs/openal doesn't depend on portaudio:

shanghai:~ # qlist -CIve portaudio
shanghai:~ # emerge -pqv media-libs/openal
[ebuild  N    ] media-libs/openal-1.7.411  USE="alsa -debug -oss"
shanghai:~ #

I suppose you don't have any build.log file of the failed emerge at hand anymore which you could attach to this bug?
Comment 2 Santiago Bruno 2009-04-18 21:08:10 UTC
Unfortunately I have not the log, and I couldn't install an older version of portaudio again. But I think that only this new version of openal depends on portaudio. On its web page it is mentioned as a new feature: http://kcat.strangesoft.net/openal.html

I realized I had to upgrade portaudio by looking for the error message in google, and I found a similar error in the comments of this application: http://www.kde-apps.org/content/show.php/simon+(Speech+Interaction+Daemon)?content=73815
So the log you are asking for said something like that, about some portaudio variables not being declared.
Comment 3 Matthias Raffelsieper 2009-04-20 14:41:32 UTC
Same error here, I guess:

[ 95%] Building C object CMakeFiles/openal.dir/Alc/portaudio.o
/var/tmp/portage/media-libs/openal-1.7.411/work/openal-soft-1.7.411/Alc/portaudio.c:43: error: ‘Pa_GetDefaultOutputDevice’ undeclared here (not in a function)

Currently, portaudio-18.1-r6 is installed on my machine. If required, I can also provide the full build.log. Upgrading to portaudio-19_pre20071207 also worked for me.

I guess that the solution is to add a dependency on portaudio in the openal ebuild (there is none atm).
Comment 4 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2009-04-22 21:28:08 UTC
(In reply to comment #3)
> If required, I can
> also provide the full build.log. Upgrading to portaudio-19_pre20071207 also
> worked for me.

Please do so.
Comment 5 Samuli Suominen (RETIRED) gentoo-dev 2009-04-29 17:23:06 UTC
Fixed now by adding a USE flag to control the dep. Thanks.