videotrans version 1.6.0-0ubuntu5 failed to build in oneiric

Bug #832829 reported by Matthias Klose
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
videotrans (Ubuntu)
Fix Released
High
Unassigned
Oneiric
Fix Released
High
Unassigned

Bug Description

videotrans version 1.6.0-0ubuntu5 failed to build in oneiric
Link to failed build: https://launchpad.net/ubuntu/+archive/test-rebuild-20110816/+build/2714328

Details about the rebuild:
http://people.ubuntuwire.org/~wgrant/rebuild-ftbfs-test/test-rebuild-20110816-oneiric.html

Direct link to the build log: https://launchpad.net/ubuntu/+archive/test-rebuild-20110816/+build/2714328/+files/buildlog_ubuntu-oneiric-amd64.videotrans_1.6.0-0ubuntu5_FAILEDTOBUILD.txt.gz

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

Entering directory src
make[2]: Entering directory `/build/buildd/videotrans-1.6.0/src'
gcc -Wall -g -ansi -pedantic -Wall -o zoomcalc.o -c zoomcalc.c
gcc -o zoomcalc -g -lm zoomcalc.o
zoomcalc.o: In function `main':
/build/buildd/videotrans-1.6.0/src/zoomcalc.c:435: undefined reference to `floor'
/build/buildd/videotrans-1.6.0/src/zoomcalc.c:438: undefined reference to `floor'
collect2: ld returned 1 exit status
make[2]: *** [zoomcalc] Error 1
make[2]: Leaving directory `/build/buildd/videotrans-1.6.0/src'
make[1]: *** [all] Error 1
make[1]: Leaving directory `/build/buildd/videotrans-1.6.0'
dh_auto_build: make -j1 returned exit code 2
make: *** [build] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2
******************************************************************************
Build finished at 20110824-0354
FAILED [dpkg-buildpackage died]
Purging chroot-autobuild/build/buildd/videotrans-1.6.0

Tags: ftbfs oneiric

Related branches

Matthias Klose (doko)
Changed in videotrans (Ubuntu):
status: New → Confirmed
importance: Undecided → High
Revision history for this message
Sven Berkvens-Matthijsse (sven-launchpad) wrote :

I don't really get why this error occurs? floor() is supposed to be a function from the math library, and the math library is linked in using -lm. This may fail if only a static version of the math library is available, but I'm assuming that there is a dynamic version of this library available...

Revision history for this message
Matthias Klose (doko) wrote :

we link with --as-needed as the default. put objects before libraries

Revision history for this message
Sven Berkvens-Matthijsse (sven-launchpad) wrote :

Okay. I've released videotrans version 1.6.1 upstream at Sourceforge, where this problem should be fixed. There are a number of other cleanups as well. How do I get version 1.6.1 into Ubuntu Oneiric?

Revision history for this message
Mahyuddin Susanto (udienz) wrote :

Add debdiff to fix this FTBFS, taken from upstream

Revision history for this message
Mahyuddin Susanto (udienz) wrote :
Revision history for this message
Bhavani Shankar (bhavi) wrote :

Hello Sven,

As we are past the second beta freeze wrt oneiric, if its a bugfix only release then you can open up a sync request bug stating that its a bugfix only release or follow the freeze exception process here:

https://wiki.ubuntu.com/FreezeExceptionProcess

Or if you are fine with Mahyuddin's debdiff ll upload the same

Your views welcome.

Regards,

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package videotrans - 1.6.0-0ubuntu6

---------------
videotrans (1.6.0-0ubuntu6) oneiric; urgency=low

  * debian/patches/03_fix-ftbfs-ld-as-needed.patch: Fix FTBFS with binutils-gold
    wih ld as-need, patch from upstream. (LP: #832829)
 -- Mahyuddin Susanto <email address hidden> Sat, 17 Sep 2011 21:40:34 +0700

Changed in videotrans (Ubuntu Oneiric):
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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