Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 383115 - media-libs/audiofile-0.3.0 fails to compile if asoundlib.h is missing
Summary: media-libs/audiofile-0.3.0 fails to compile if asoundlib.h is missing
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-09-15 16:25 UTC by Sven Müller
Modified: 2011-09-16 06:42 UTC (History)
1 user (show)

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


Attachments
build.log (build.log,34.49 KB, text/plain)
2011-09-15 16:26 UTC, Sven Müller
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Sven Müller 2011-09-15 16:25:34 UTC
audiofile doesn't seem to respect the -alsa-Useflag anymore. It fails to compile when it tries to build alsaplay.cpp

alsaplay.cpp:35:28: fatal error: alsa/asoundlib.h: No such file or directory
compilation terminated.
make[2]: *** [alsaplay.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory `/var/tmp/portage/media-libs/audiofile-0.3.0/work/audiofile-0.3.0/examples'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/media-libs/audiofile-0.3.0/work/audiofile-0.3.0'
make: *** [all] Error 2


Reproducible: Always




I don't use alsa, therefore I don't want to have any alsa packages installed. Version 0.2.7 still emerge fine.
Comment 1 Sven Müller 2011-09-15 16:26:37 UTC
Created attachment 286561 [details]
build.log
Comment 2 Rafał Mużyło 2011-09-15 17:38:56 UTC
Well, alsa is only needed for examples, which are noinst programs in the first place, so disabling the altogether seem the fastest (if perhaps not most simple) solution.
Comment 3 Tim Harder gentoo-dev 2011-09-16 06:42:02 UTC
Fixed in CVS.