Bug#768685: libtheora: FTBFS in jessie: ld: player_example-player_example.o: undefined reference to symbol 'rintf@@GLIBC_2.2.5'

Simon McVittie smcv at debian.org
Mon Nov 10 10:35:51 UTC 2014


On Sun, 09 Nov 2014 at 09:08:40 +0100, Petter Reinholdtsen wrote:
> My best guess is that some -lm entry is missing, as rint() is in libm

Yes. Patch attached (build-tested only). I was able to reproduce the
reported FTBFS in my sid sbuild chroot, and the same chroot can build
my patched version successfully.

> but I find it strange as this code built in unstable a few days ago.
> Anyone got a clue what changed in the mean time?  Is this rebuild
> using a different linker than the one used by the autobuilders?

It looks like you uploaded libvorbis 1.3.4 the same day, and that new
upstream version correctly moves -lm from Libs to Libs.private in
vorbis.pc:

https://anonscm.debian.org/cgit/pkg-xiph/libvorbis.git/tree/vorbis.pc.in?h=upstream&id=37c68547f31da4590a31baa0e17c00f20523a9b9

libtheora was built against the older libvorbis, so it had the
implicit -lm borrowed from libvorbis. A rebuild no longer gets that.

Regards,
    S
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Add-missing-lm-to-player-example-Closes-768685.patch
Type: text/x-diff
Size: 2398 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-xiph-maint/attachments/20141110/dbc6ace2/attachment.patch>


More information about the pkg-xiph-maint mailing list