media-libs/flac-1.1.2-r2 [1.1.2-r1] +3dnow -debug -doc +ogg -sse +xmms I get a compile error: gcc -I../.. -I./include -I../../include -O2 -DNDEBUG -O3 -fomit-frame-pointer -funroll-loops -finline-functions -Wall -W -Winline -DFLaC__INLINE=__inline__ -O2 -march=athlon -fomit-frame-pointer -pipe -o .libs/flac analyze.o decode.o encode.o main.o local_string_utils.o utils.o vorbiscomment.o ../../src/libOggFLAC/.libs/libOggFLAC.so ../../src/share/grabbag/.libs/libgrabbag.a ../../src/share/getopt/libgetopt.a ../../src/share/replaygain_analysis/.libs/libreplaygain_analysis.a ../../src/share/replaygain_synthesis/.libs/libreplaygain_synthesis.a ../../src/share/utf8/.libs/libutf8.a ../../src/libFLAC/.libs/libFLAC.so -lm ../../src/libOggFLAC/.libs/libOggFLAC.so: undefined reference to `ogg_stream_pagein' ../../src/libOggFLAC/.libs/libOggFLAC.so: undefined reference to `ogg_sync_wrote' ../../src/libOggFLAC/.libs/libOggFLAC.so: undefined reference to `ogg_sync_reset' ../../src/libOggFLAC/.libs/libOggFLAC.so: undefined reference to `ogg_stream_reset' ../../src/libOggFLAC/.libs/libOggFLAC.so: undefined reference to `ogg_stream_clear' ../../src/libOggFLAC/.libs/libOggFLAC.so: undefined reference to `ogg_stream_packetin' ../../src/libOggFLAC/.libs/libOggFLAC.so: undefined reference to `ogg_stream_packetout' ../../src/libOggFLAC/.libs/libOggFLAC.so: undefined reference to `ogg_sync_init' ../../src/libOggFLAC/.libs/libOggFLAC.so: undefined reference to `ogg_stream_init' ../../src/libOggFLAC/.libs/libOggFLAC.so: undefined reference to `ogg_page_checksum_set' ../../src/libOggFLAC/.libs/libOggFLAC.so: undefined reference to `ogg_stream_pageout' ../../src/libOggFLAC/.libs/libOggFLAC.so: undefined reference to `ogg_sync_clear' ../../src/libOggFLAC/.libs/libOggFLAC.so: undefined reference to `ogg_page_serialno' ../../src/libOggFLAC/.libs/libOggFLAC.so: undefined reference to `ogg_sync_buffer' ../../src/libOggFLAC/.libs/libOggFLAC.so: undefined reference to `ogg_stream_flush' ../../src/libOggFLAC/.libs/libOggFLAC.so: undefined reference to `ogg_sync_pageout' collect2: ld returned 1 exit status make[3]: *** [flac] Error 1 make[3]: Leaving directory `/var/tmp/portage/flac-1.1.2-r2/work/flac-1.1.2/src/flac' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/flac-1.1.2-r2/work/flac-1.1.2/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/flac-1.1.2-r2/work/flac-1.1.2' make: *** [all] Error 2 Reproducible: Always Steps to Reproduce:
(In reply to comment #0) I looked farther up the build spew and saw this: checking ogg/ogg.h usability... yes checking ogg/ogg.h presence... yes checking for ogg/ogg.h... yes Package ogg was not found in the pkg-config search path. Perhaps you should add the directory containing `ogg.pc' to the PKG_CONFIG_PATH environment variable No package 'ogg' found Package ogg was not found in the pkg-config search path. Perhaps you should add the directory containing `ogg.pc' to the PKG_CONFIG_PATH environment variable No package 'ogg' found
Please run revdep-rebuild, it appears that your ogg packages are defective. If that doesn't help, remerge both libogg & libvorbis. If both fail, please reopen the bug.
(In reply to comment #2) revdep-rebuild ran without changing anything. When I emerged libogg and libvorbis, they upgraded like this: [ebuild U ] media-libs/libogg-1.1.2 [1.0] 410 kB [ebuild U ] media-libs/libvorbis-1.1.0 [1.0.1-r2] -aotuv 1,281 kB Does that mean libflac has a dependency on new versions of libogg/libvorbis? Thanks for your help, everything is great now.
*** Bug 126335 has been marked as a duplicate of this bug. ***