tkpng version 0.9-1 failed to build in oneiric

Bug #832926 reported by Matthias Klose
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tkpng (Debian)
Fix Released
Unknown
tkpng (Ubuntu)
Fix Released
High
Unassigned
Oneiric
Fix Released
High
Unassigned

Bug Description

tkpng version 0.9-1 failed to build in oneiric
Link to failed build: https://launchpad.net/ubuntu/+archive/test-rebuild-20110816/+build/2713127

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/2713127/+files/buildlog_ubuntu-oneiric-amd64.tkpng_0.9-1_FAILEDTOBUILD.txt.gz

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

touch config-stamp
dh_testdir
/usr/bin/make
make[1]: Entering directory `/build/buildd/tkpng-0.9'
gcc -DPACKAGE_NAME=\"tkpng\" -DPACKAGE_TARNAME=\"tkpng\" -DPACKAGE_VERSION=\"0.9\" -DPACKAGE_STRING=\"tkpng\ 0.9\" -DPACKAGE_BUGREPORT=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SYS_PARAM_H=1 -DUSE_THREAD_ALLOC=1 -D_REENTRANT=1 -D_THREAD_SAFE=1 -DTCL_THREADS=1 -DMODULE_SCOPE=extern\ __attribute__\(\(__visibility__\(\"hidden\"\)\)\) -D_LARGEFILE64_SOURCE=1 -DTCL_WIDE_INT_IS_LONG=1 -DUSE_TCL_STUBS=1 -DUSE_TK_STUBS=1 -I"/usr/include/tcl8.5/" -I"/usr/include/tcl8.5/" -g -O2 -pipe -O2 -fomit-frame-pointer -Wall -Wno-implicit-int -fPIC -c `echo ./generic/tkImgPNG.c` -o tkImgPNG.o
gcc -DPACKAGE_NAME=\"tkpng\" -DPACKAGE_TARNAME=\"tkpng\" -DPACKAGE_VERSION=\"0.9\" -DPACKAGE_STRING=\"tkpng\ 0.9\" -DPACKAGE_BUGREPORT=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SYS_PARAM_H=1 -DUSE_THREAD_ALLOC=1 -D_REENTRANT=1 -D_THREAD_SAFE=1 -DTCL_THREADS=1 -DMODULE_SCOPE=extern\ __attribute__\(\(__visibility__\(\"hidden\"\)\)\) -D_LARGEFILE64_SOURCE=1 -DTCL_WIDE_INT_IS_LONG=1 -DUSE_TCL_STUBS=1 -DUSE_TK_STUBS=1 -I"/usr/include/tcl8.5/" -I"/usr/include/tcl8.5/" -g -O2 -pipe -O2 -fomit-frame-pointer -Wall -Wno-implicit-int -fPIC -c `echo ./generic/tkImgPNGInit.c` -o tkImgPNGInit.o
rm -f libtkpng0.9.so
gcc -shared -g -O2 -pipe -O2 -fomit-frame-pointer -Wall -Wno-implicit-int -fPIC -lm -Wl,-z,defs -Wl,--no-undefined -Wl,--as-needed -Wl,--export-dynamic -o libtkpng0.9.so tkImgPNG.o tkImgPNGInit.o -lz -L/usr/lib -ltclstub8.5 -L/usr/lib -ltkstub8.5
tkImgPNG.o: In function `PNGCheckColor':
/build/buildd/tkpng-0.9/./generic/tkImgPNG.c:1118: undefined reference to `pow'
collect2: ld returned 1 exit status
make[1]: *** [libtkpng0.9.so] Error 1
make[1]: Leaving directory `/build/buildd/tkpng-0.9'
make: *** [build-stamp] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2
******************************************************************************
Build finished at 20110824-0057
FAILED [dpkg-buildpackage died]
Purging chroot-autobuild/build/buildd/tkpng-0.9

Tags: ftbfs oneiric

Related branches

Matthias Klose (doko)
Changed in tkpng (Ubuntu):
status: New → Confirmed
importance: Undecided → High
Revision history for this message
Julian Taylor (jtaylor) wrote :

patch available in debian bug

Changed in tkpng (Ubuntu Oneiric):
status: Confirmed → Triaged
Changed in tkpng (Debian):
status: Unknown → New
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package tkpng - 0.9-1ubuntu1

---------------
tkpng (0.9-1ubuntu1) oneiric; urgency=low

  * Fix FTBFS with ld --as-needed. Closes: #639284. LP: #832926.
 -- Matthias Klose <email address hidden> Mon, 12 Sep 2011 23:50:27 +0000

Changed in tkpng (Ubuntu Oneiric):
status: Triaged → Fix Released
Changed in tkpng (Debian):
status: New → 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.