Summary: | =media-sound/mpd-0.18.8 fails to compile: /usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3/../../../../x86_64-pc-linux-gnu/bin/ld: /usr/lib/gcc/x86_64-pc-linux-gnu/4.7.3/../../../../lib64/libFLAC.so: undefined reference to symbol 'ogg_stream_flush' | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Thomas Sachau <tommy> |
Component: | Current packages | Assignee: | Gentoo Sound Team <sound> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | adaptee, aidecoe, angelos, CasperVector, gentoo, hwoarang, josef64, mail, raffaele.belardi, russell, staff |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
build.log
mpd-build-failure.zip |
Description
Thomas Sachau
2014-02-08 11:01:17 UTC
Created attachment 370110 [details]
mpd-build-failure.zip
This zip file contains my build log and the output of emerge --info (I have --verbose in default opts, which generated a ton of output, and I thought this a little more organized than making two attachments).
My exact error is slightly different ("/usr/lib/gcc/x86_64-pc-linux-gnu/4.8.2/../../../../x86_64-pc-linux-gnu/bin/ld: /usr/lib/gcc/x86_64-pc-linux-gnu/4.8.2/../../../../lib64/libvorbisfile.so: undefined reference to symbol 'ogg_stream_init'"), but they are both undefined references to ogg_stream symbols so I believe it is part of the same bug.
This is very similar to bug #499346 and might probably be resolvable similarly. Got it to build with USE="opus" (as mentioned in bug #499346). Kind of strange that enabling a seemingly unrelated flag solved the problem, but I guess I don't know enough about the Opus codec to understand why this works :V (In reply to Nicholas O'Connor from comment #3) > Got it to build with USE="opus" (as mentioned in bug #499346). Kind of > strange that enabling a seemingly unrelated flag solved the problem, but I > guess I don't know enough about the Opus codec to understand why this works > :V There is an perfectly sane explanation for that: The configure.ac adds -logg to linker line when opus is enabled because the opus plug-in code is using ogg functions directly. I cannot reproduce this with mpd-0.18.9 and USE="ogg vorbis -opus". Can any of you reproduce it? If yes, which USE flag combination? I just tested it and this bug seems to be fixed with mpd-0.18.9. I was affected by this bug in previous version but mpd compiles/runs properly now. Use flags here were/are: alsa bzip2 curl ffmpeg fifo flac id3tag inotify ipv6 mad network ogg tcpd unicode vorbis Thanks for your feedback |