Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 96525 - flac-1.1.2-r2 errors on build
Summary: flac-1.1.2-r2 errors on build
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Sound Team
URL:
Whiteboard:
Keywords:
: 126335 (view as bug list)
Depends on:
Blocks:
 
Reported: 2005-06-19 06:29 UTC by Al Dennis
Modified: 2006-03-15 12:52 UTC (History)
1 user (show)

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 Al Dennis 2005-06-19 06:29:53 UTC
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:
Comment 1 Al Dennis 2005-06-19 06:33:32 UTC
(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
Comment 2 Tony Vroon (RETIRED) gentoo-dev 2005-08-13 06:46:19 UTC
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.
Comment 3 Al Dennis 2005-08-14 14:42:30 UTC
(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.
Comment 4 Jakub Moc (RETIRED) gentoo-dev 2006-03-15 12:52:43 UTC
*** Bug 126335 has been marked as a duplicate of this bug. ***