tkpng version 0.9-1 failed to build in oneiric

Bug #832926 reported by Matthias Klose on 2011-08-24
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tkpng (Debian)
Fix Released
tkpng (Ubuntu)

Bug Description

tkpng version 0.9-1 failed to build in oneiric
Link to failed build:

Details about the rebuild:

Direct link to the build log:

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
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
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 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]: *** [] 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

Related branches

Matthias Klose (doko) on 2011-08-24
Changed in tkpng (Ubuntu):
status: New → Confirmed
importance: Undecided → High
Julian Taylor (jtaylor) wrote :

patch available in debian bug

Changed in tkpng (Ubuntu Oneiric):
status: Confirmed → Triaged
Changed in tkpng (Debian):
status: Unknown → New
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  Edit
Everyone can see this information.

Other bug subscribers

Remote bug watches

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