Bug#768741: phlipple: FTBFS in jessie: ld: engine.o: undefined reference to symbol 'cos@@GLIBC_2.2.5'

Miriam Ruiz miriam at debian.org
Mon Nov 10 19:07:21 UTC 2014


Thanks a lot, I'll have a look at it and commit it.Do you want to be
included in Uploaders, as the patch seems to say? If you do, you're
essentially declaring that you're willing to take care of that
package, essentially :)

Greetings,
Miry

2014-11-10 10:50 GMT+01:00 Peter Pentchev <roam at ringlet.net>:
> package src:phlipple
> tags 768741 + confirmed patch
> thanks
>
> On Sun, Nov 09, 2014 at 08:13:56AM +0100, Lucas Nussbaum wrote:
> [snip]
>> Usertags: qa-ftbfs-20141108 qa-ftbfs
>> Justification: FTBFS in jessie on amd64
> [snip]
>> > gcc -std=gnu99 -Wall -g -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2  -Wl,-z,relro -Wl,-z,defs  -Wl,-as-needed -Wl,--no-undefined -o phlipple camera.o engine.o game.o gfxconstants.o gradientrenderer.o interpolator.o levels.o main.o mainscreen.o osinterface_sdl.o phlipplerootscene.o quad.o quadrenderer.o scenes.o settings.o textrenderer.o texture.o vertex.o -lSDL -lvorbisfile -lGLEW -lGLU -lGL    -lGLU -lGL -lSDL_mixer -lSDL_image
>> > /usr/bin/ld: engine.o: undefined reference to symbol 'cos@@GLIBC_2.2.5'
>> > //lib/x86_64-linux-gnu/libm.so.6: error adding symbols: DSO missing from command line
>> > collect2: error: ld returned 1 exit status
>
> Hi Miriam,
>
> Attached is a little patch that adds a, well, a little patch :) to the
> phlipple source package to make it link with libm.  I think that the
> reason this shows up now is that the libraries that phlipple depends on,
> e.g. libvorbis, libvorbisfile, etc, have changed since May to not
> explicitly list their own dependencies in the pkg-config output.  In the
> May rebuild, phlipple picked up -lm from its dependent libraries'
> dependencies, and it compiled just fine; now it doesn't, and it must
> figure out that -lm should be added all by itself.
>
> As noted in the patch, I know that this is not a proper fix, but I
> believe that it should be a simple minimal targeted fix for the Jessie
> freeze.
>
> So what do you think about the attached patch?  I have taken the liberty
> of adding a changelog entry and adding myself to the Uploaders, so that
> the build is happy, but of course it's perfectly fine if you take just
> the patch and commit it yourself.  Still, if you agree, I could commit
> it to the pkg-games Subversion repo myself, then prepare a package and
> put it up in the sponsoring queue.
>
> Thanks for all your work in pkg-games and Debian in general, and also
> thanks to Lucas for his tireless, endless rebuilds! :)
>
> G'luck,
> Peter
>
> --
> Peter Pentchev  roam at ringlet.net roam at FreeBSD.org p.penchev at storpool.com
> PGP key:        http://people.FreeBSD.org/~roam/roam.key.asc
> Key fingerprint 2EE7 A7A5 17FC 124C F115  C354 651E EFB0 2527 DF13



More information about the Pkg-games-devel mailing list