Linking C executable makehrtf [ 74%] Building C object CMakeFiles/openal.dir/Alc/backends/pulseaudio.o [ 76%] Building C object CMakeFiles/openal.dir/Alc/backends/wave.o [ 76%] Built target makehrtf Linking C shared library libopenal.so [ 76%] Built target openal Scanning dependencies of target openal-info Scanning dependencies of target allatency Scanning dependencies of target alstream Scanning dependencies of target alreverb [ 79%] [ 83%] [ 83%] [ 86%] Building C object CMakeFiles/openal-info.dir/utils/openal-info.o [ 88%] [ 90%] [ 95%] [ 95%] Building C object CMakeFiles/alreverb.dir/examples/common/alffmpeg.o Building C object CMakeFiles/alstream.dir/examples/common/alffmpeg.o [ 97%] Building C object CMakeFiles/allatency.dir/examples/common/alhelpers.o Building C object CMakeFiles/allatency.dir/examples/allatency.o Building C object CMakeFiles/alreverb.dir/examples/common/alhelpers.o Building C object CMakeFiles/allatency.dir/examples/common/alffmpeg.o Building C object CMakeFiles/alstream.dir/examples/common/alhelpers.o Building C object CMakeFiles/alstream.dir/examples/alstream.o /var/tmp/portage/media-libs/openal-1.15.1-r1/work/openal-soft-1.15.1/examples/common/alffmpeg.c: In function ‘getAVAudioInfo’: /var/tmp/portage/media-libs/openal-1.15.1-r1/work/openal-soft-1.15.1/examples/common/alffmpeg.c:418:44: error: ‘AV_CH_LAYOUT_MONO’ undeclared (first use in this function) if(stream->CodecCtx->channel_layout == AV_CH_LAYOUT_MONO) ^ /var/tmp/portage/media-libs/openal-1.15.1-r1/work/openal-soft-1.15.1/examples/common/alffmpeg.c:418:44: note: each undeclared identifier is reported only once for each function it appears in /var/tmp/portage/media-libs/openal-1.15.1-r1/work/openal-soft-1.15.1/examples/common/alffmpeg.c:420:49: error: ‘AV_CH_LAYOUT_STEREO’ undeclared (first use in this function) else if(stream->CodecCtx->channel_layout == AV_CH_LAYOUT_STEREO) ^ /var/tmp/portage/media-libs/openal-1.15.1-r1/work/openal-soft-1.15.1/examples/common/alffmpeg.c:422:49: error: ‘AV_CH_LAYOUT_QUAD’ undeclared (first use in this function) else if(stream->CodecCtx->channel_layout == AV_CH_LAYOUT_QUAD) ^ /var/tmp/portage/media-libs/openal-1.15.1-r1/work/openal-soft-1.15.1/examples/common/alffmpeg.c:424:49: error: ‘AV_CH_LAYOUT_5POINT1_BACK’ undeclared (first use in this function) else if(stream->CodecCtx->channel_layout == AV_CH_LAYOUT_5POINT1_BACK) ^ /var/tmp/portage/media-libs/openal-1.15.1-r1/work/openal-soft-1.15.1/examples/common/alffmpeg.c:426:49: error: ‘AV_CH_LAYOUT_7POINT1’ undeclared (first use in this function) else if(stream->CodecCtx->channel_layout == AV_CH_LAYOUT_7POINT1) ^ /var/tmp/portage/media-libs/openal-1.15.1-r1/work/openal-soft-1.15.1/examples/common/alffmpeg.c:445:9: warning: implicit declaration of function ‘av_get_channel_layout_string’ [-Wimplicit-function-declaration] av_get_channel_layout_string(str, sizeof(str), stream->CodecCtx->channels, ^ /var/tmp/portage/media-libs/openal-1.15.1-r1/work/openal-soft-1.15.1/examples/common/alffmpeg.c: In function ‘getAVAudioInfo’: /var/tmp/portage/media-libs/openal-1.15.1-r1/work/openal-soft-1.15.1/examples/common/alffmpeg.c:418:44: error: ‘AV_CH_LAYOUT_MONO’ undeclared (first use in this function) if(stream->CodecCtx->channel_layout == AV_CH_LAYOUT_MONO) ^ /var/tmp/portage/media-libs/openal-1.15.1-r1/work/openal-soft-1.15.1/examples/common/alffmpeg.c:418:44: note: each undeclared identifier is reported only once for each function it appears in /var/tmp/portage/media-libs/openal-1.15.1-r1/work/openal-soft-1.15.1/examples/common/alffmpeg.c:420:49: error: ‘AV_CH_LAYOUT_STEREO’ undeclared (first use in this function) else if(stream->CodecCtx->channel_layout == AV_CH_LAYOUT_STEREO) ^ /var/tmp/portage/media-libs/openal-1.15.1-r1/work/openal-soft-1.15.1/examples/common/alffmpeg.c:422:49: error: ‘AV_CH_LAYOUT_QUAD’ undeclared (first use in this function) else if(stream->CodecCtx->channel_layout == AV_CH_LAYOUT_QUAD) ^ /var/tmp/portage/media-libs/openal-1.15.1-r1/work/openal-soft-1.15.1/examples/common/alffmpeg.c:424:49: error: ‘AV_CH_LAYOUT_5POINT1_BACK’ undeclared (first use in this function) else if(stream->CodecCtx->channel_layout == AV_CH_LAYOUT_5POINT1_BACK) ^ /var/tmp/portage/media-libs/openal-1.15.1-r1/work/openal-soft-1.15.1/examples/common/alffmpeg.c:426:49: error: ‘AV_CH_LAYOUT_7POINT1’ undeclared (first use in this function) else if(stream->CodecCtx->channel_layout == AV_CH_LAYOUT_7POINT1) ^ /var/tmp/portage/media-libs/openal-1.15.1-r1/work/openal-soft-1.15.1/examples/common/alffmpeg.c:445:9: warning: implicit declaration of function ‘av_get_channel_layout_string’ [-Wimplicit-function-declaration] av_get_channel_layout_string(str, sizeof(str), stream->CodecCtx->channels, ^ [100%] CMakeFiles/alstream.dir/build.make:80: recipe for target 'CMakeFiles/alstream.dir/examples/common/alffmpeg.o' failed make[2]: *** [CMakeFiles/alstream.dir/examples/common/alffmpeg.o] Error 1 make[2]: *** Waiting for unfinished jobs.... Building C object CMakeFiles/alreverb.dir/examples/alreverb.o CMakeFiles/alreverb.dir/build.make:80: recipe for target 'CMakeFiles/alreverb.dir/examples/common/alffmpeg.o' failed make[2]: *** [CMakeFiles/alreverb.dir/examples/common/alffmpeg.o] Error 1 make[2]: *** Waiting for unfinished jobs.... Linking C executable openal-info /var/tmp/portage/media-libs/openal-1.15.1-r1/work/openal-soft-1.15.1/examples/common/alffmpeg.c: In function ‘getAVAudioInfo’: /var/tmp/portage/media-libs/openal-1.15.1-r1/work/openal-soft-1.15.1/examples/common/alffmpeg.c:418:44: error: ‘AV_CH_LAYOUT_MONO’ undeclared (first use in this function) if(stream->CodecCtx->channel_layout == AV_CH_LAYOUT_MONO) ^ /var/tmp/portage/media-libs/openal-1.15.1-r1/work/openal-soft-1.15.1/examples/common/alffmpeg.c:418:44: note: each undeclared identifier is reported only once for each function it appears in /var/tmp/portage/media-libs/openal-1.15.1-r1/work/openal-soft-1.15.1/examples/common/alffmpeg.c:420:49: error: ‘AV_CH_LAYOUT_STEREO’ undeclared (first use in this function) else if(stream->CodecCtx->channel_layout == AV_CH_LAYOUT_STEREO) ^ /var/tmp/portage/media-libs/openal-1.15.1-r1/work/openal-soft-1.15.1/examples/common/alffmpeg.c:422:49: error: ‘AV_CH_LAYOUT_QUAD’ undeclared (first use in this function) else if(stream->CodecCtx->channel_layout == AV_CH_LAYOUT_QUAD) ^ /var/tmp/portage/media-libs/openal-1.15.1-r1/work/openal-soft-1.15.1/examples/common/alffmpeg.c:424:49: error: ‘AV_CH_LAYOUT_5POINT1_BACK’ undeclared (first use in this function) else if(stream->CodecCtx->channel_layout == AV_CH_LAYOUT_5POINT1_BACK) ^ /var/tmp/portage/media-libs/openal-1.15.1-r1/work/openal-soft-1.15.1/examples/common/alffmpeg.c:426:49: error: ‘AV_CH_LAYOUT_7POINT1’ undeclared (first use in this function) else if(stream->CodecCtx->channel_layout == AV_CH_LAYOUT_7POINT1) ^ /var/tmp/portage/media-libs/openal-1.15.1-r1/work/openal-soft-1.15.1/examples/common/alffmpeg.c:445:9: warning: implicit declaration of function ‘av_get_channel_layout_string’ [-Wimplicit-function-declaration] av_get_channel_layout_string(str, sizeof(str), stream->CodecCtx->channels, ^ CMakeFiles/allatency.dir/build.make:80: recipe for target 'CMakeFiles/allatency.dir/examples/common/alffmpeg.o' failed make[2]: *** [CMakeFiles/allatency.dir/examples/common/alffmpeg.o] Error 1 make[2]: *** Waiting for unfinished jobs.... CMakeFiles/Makefile2:133: recipe for target 'CMakeFiles/alstream.dir/all' failed make[1]: *** [CMakeFiles/alstream.dir/all] Error 2 make[1]: *** Waiting for unfinished jobs.... [100%] CMakeFiles/Makefile2:63: recipe for target 'CMakeFiles/allatency.dir/all' failed make[1]: *** [CMakeFiles/allatency.dir/all] Error 2 Built target openal-info CMakeFiles/Makefile2:98: recipe for target 'CMakeFiles/alreverb.dir/all' failed make[1]: *** [CMakeFiles/alreverb.dir/all] Error 2 Makefile:116: recipe for target 'all' failed make: *** [all] Error 2 * ERROR: media-libs/openal-1.15.1-r1::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=media-libs/openal-1.15.1-r1::gentoo'`, * the complete build log and the output of `emerge -pqv '=media-libs/openal-1.15.1-r1::gentoo'`. * The complete build log is located at '/var/tmp/portage/media-libs/openal-1.15.1-r1/temp/ Reproducible: Always Portage 2.2.7 (default/linux/amd64/13.0/desktop, gcc-4.8.2, glibc-2.17, 3.12.6-gentoo x86_64) ================================================================= System uname: Linux-3.12.6-gentoo-x86_64-Intel-R-_Core-TM-_i7-3740QM_CPU_@_2.70GHz-with-gentoo-2.2 KiB Mem: 24695688 total, 22159756 free KiB Swap: 25598972 total, 25598972 free Timestamp of tree: Mon, 30 Dec 2013 20:30:01 +0000 ld GNU ld (GNU Binutils) 2.23.2 app-shells/bash: 4.2_p45 dev-java/java-config: 2.2.0 dev-lang/python: 2.7.6, 3.2.5-r3, 3.3.3 dev-util/cmake: 2.8.12.1-r2 dev-util/pkgconfig: 0.28 sys-apps/baselayout: 2.2 sys-apps/openrc: 0.12.4 sys-apps/sandbox: 2.6-r1 sys-devel/autoconf: 2.13, 2.69 sys-devel/automake: 1.11.6, 1.12.6, 1.14.1 sys-devel/binutils: 2.23.2 sys-devel/gcc: 4.7.3-r1, 4.8.2 sys-devel/gcc-config: 1.8 sys-devel/libtool: 2.4.2 sys-devel/make: 4.0-r1 sys-kernel/linux-headers: 3.12 (virtual/os-headers) sys-libs/glibc: 2.17 Repositories: gentoo bitcoin lokal ACCEPT_KEYWORDS="amd64 ~amd64" ACCEPT_LICENSE="*" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=corei7 -O2 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt /var/lib/hsqldb" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.5/ext-active/ /etc/php/cgi-php5.5/ext-active/ /etc/php/cli-php5.5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c" CXXFLAGS="-march=corei7 -O2 -pipe" DISTDIR="/mnt/portage/distfiles" FCFLAGS="-O2 -pipe" FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync" FFLAGS="-O2 -pipe" GENTOO_MIRRORS="http://distfiles.gentoo.org" LANG="de_DE.UTF-8"
Created attachment 366598 [details] build.log
This seems to be related to bug 481670. In case you're using libav-9.10 try downgrading it to version libav-0.8.9, or maybe try the patch from the bug mentioned.
Yes, try that patch. It is related, but noone gives a f***.
Workaround is to disable the "alstream" USE flag for media-libs/openal.
(In reply to Nikos Chantziaras from comment #4) > Workaround is to disable the "alstream" USE flag for media-libs/openal. Nope, ignore my comment. The "alstream" USE flag doesn't seem to have any effect whatsoever. Even with it disabled, the package still tries to build the example programs.
Comment on attachment 366598 [details] build.log It's empty.
*** This bug has been marked as a duplicate of bug 481670 ***