urg version 0.8.12-1 failed to build on i386

Bug #803212 reported by Stefano Rivera on 2011-06-28
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
urg (Debian)
Fix Released
Unknown
urg (Ubuntu)
Medium
Unassigned

Bug Description

urg version 0.8.12-1 failed to build on i386
Link to failed build: https://launchpad.net/ubuntu/+source/urg/0.8.12-1/+build/2517465

Direct link to the build log: https://launchpad.net/ubuntu/+source/urg/0.8.12-1/+build/2517465/+files/buildlog_ubuntu-oneiric-i386.urg_0.8.12-1_FAILEDTOBUILD.txt.gz

This log snippet might be of interest, since it triggered the matcher 'Purging chroot-autobuild'.
Excerpt 1318 lines into the build log:

gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/c/system -I../../src/c/connection -I../../src/c/urg -g -O2 -g -O2 -Wall -c get_parameters.c
/bin/bash ../../libtool --tag=CC --mode=link gcc -g -O2 -g -O2 -Wall -Wl,-Bsymbolic-functions -o get_parameters get_parameters.o -L../../src/c/urg -L../../src/c/connection -L../../src/c/system -L../../src/cpp/urg -L../../src/cpp/connection -L../../src/cpp/common -L../../src/cpp/system -L../../src/cpp/monitor -L../../src/cpp/coordinate -L../../src/cpp/geometry -L../../src/cpp/connection/sdl -lc_urg -lc_urg_connection -lc_urg_system -lm
libtool: link: gcc -g -O2 -g -O2 -Wall -Wl,-Bsymbolic-functions -o .libs/get_parameters get_parameters.o -L/build/buildd/urg-0.8.12/src/c/urg -L/build/buildd/urg-0.8.12/src/c/connection -L/build/buildd/urg-0.8.12/src/c/system -L/build/buildd/urg-0.8.12/src/cpp/urg -L/build/buildd/urg-0.8.12/src/cpp/connection -L/build/buildd/urg-0.8.12/src/cpp/common -L/build/buildd/urg-0.8.12/src/cpp/system -L/build/buildd/urg-0.8.12/src/cpp/monitor -L/build/buildd/urg-0.8.12/src/cpp/coordinate -L/build/buildd/urg-0.8.12/src/cpp/geometry -L/build/buildd/urg-0.8.12/src/cpp/connection/sdl /build/buildd/urg-0.8.12/src/c/urg/.libs/libc_urg.so -L/usr/lib /build/buildd/urg-0.8.12/src/c/connection/.libs/libc_urg_connection.so /build/buildd/urg-0.8.12/src/c/system/.libs/libc_urg_system.so /usr/lib/libSDL_net.so /usr/lib/libSDL.so -lm
/build/buildd/urg-0.8.12/src/c/urg/.libs/libc_urg.so: undefined reference to `floor'
collect2: ld returned 1 exit status
make[4]: *** [get_parameters] Error 1
make[4]: Leaving directory `/build/buildd/urg-0.8.12/samples/c'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/build/buildd/urg-0.8.12/samples'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/build/buildd/urg-0.8.12'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/build/buildd/urg-0.8.12'
make: *** [debian/stamp-makefile-build] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2
******************************************************************************
Build finished at 20110521-0932
FAILED [dpkg-buildpackage died]
Purging chroot-autobuild/build/buildd/urg-0.8.12

Related branches

Changed in urg (Ubuntu):
importance: Undecided → Medium
Julian Taylor (jtaylor) wrote :

patch available in debian bug

tags: added: patch-forwarded-debian
Changed in urg (Ubuntu):
status: New → Triaged
Changed in urg (Debian):
status: Unknown → New
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package urg - 0.8.12-1ubuntu1

---------------
urg (0.8.12-1ubuntu1) oneiric; urgency=low

  * debian/patches/fix-as-needed-build.patch:
    - fix build with ld --as-needed (LP: #803212)
 -- Julian Taylor <email address hidden> Sun, 21 Aug 2011 17:26:14 +0200

Changed in urg (Ubuntu):
status: Triaged → Fix Released
Changed in urg (Debian):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.