libgmpada version 0.0.20091124-4 failed to build on amd64 with GCC-4.6/oneiric

Bug #770987 reported by Matthias Klose on 2011-04-26
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
libgmpada (Debian)
Fix Released
Unknown
libgmpada (Ubuntu)
High
Unassigned
Oneiric
High
Unassigned

Bug Description

libgmpada version 0.0.20091124-4 failed to build on amd64 with GCC-4.6/oneiric
Link to failed build: https://launchpad.net/ubuntu/+archive/test-rebuild-20110413/+buildjob/2457827

Details about the rebuild:
https://lists.ubuntu.com/archives/ubuntu-devel/2011-April/033042.html

Direct link to the build log: https://launchpad.net/ubuntu/+archive/test-rebuild-20110413/+buildjob/2457827/+files/buildlog_ubuntu-natty-amd64.libgmpada_0.0.20091124-4_FAILEDTOBUILD.txt.gz

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

generate_constants.c:55:3: warning: format '%i' expects argument of type 'int', but argument 2 has type 'long unsigned int' [-Wformat]
generate_constants.c:56:3: warning: format '%i' expects argument of type 'int', but argument 2 has type 'long unsigned int' [-Wformat]
generate_constants.c:57:3: warning: format '%i' expects argument of type 'int', but argument 2 has type 'long unsigned int' [-Wformat]
generate_constants.c:58:3: warning: format '%i' expects argument of type 'int', but argument 2 has type 'long unsigned int' [-Wformat]
generate_constants.c:59:3: warning: format '%i' expects argument of type 'int', but argument 2 has type 'long unsigned int' [-Wformat]
generate_constants.c:62:3: warning: format '%i' expects argument of type 'int', but argument 2 has type 'long unsigned int' [-Wformat]
/tmp/cczeN1BJ.o: In function `printf':
/usr/include/bits/stdio2.h:105: undefined reference to `__gmp_version'
/usr/include/bits/stdio2.h:105: undefined reference to `__gmp_bits_per_limb'
collect2: ld returned 1 exit status
make[1]: *** [generate_constants] Error 1
make[1]: Leaving directory `/build/buildd/libgmpada-0.0.20091124'
dh_auto_clean: make -j1 clean returned exit code 2
make: *** [clean] Error 29
dpkg-buildpackage: error: /usr/bin/fakeroot debian/rules clean gave error exit status 2
******************************************************************************
Build finished at 20110424-0328
FAILED [dpkg-buildpackage died]
Purging chroot-autobuild/build/buildd/libgmpada-0.0.20091124

Matthias Klose (doko) on 2011-04-26
Changed in libgmpada (Ubuntu):
importance: Undecided → High

This bug should be corrected in debian version 0.0.20100805-1.

Changed in libgmpada (Ubuntu):
milestone: none → oneiric-alpha-3
Changed in libgmpada (Ubuntu Oneiric):
milestone: oneiric-alpha-3 → none
status: New → Confirmed
tags: added: universe
Julian Taylor (jtaylor) wrote :

0.0.20100805-1 does not solve the issue, -lgmp must be placed behind the objects needing it
patch forwarded to debian

tags: added: patch-forwarded-debian
Changed in libgmpada (Ubuntu Oneiric):
status: Confirmed → Triaged
Changed in libgmpada (Debian):
status: Unknown → Fix Released
Matthias Klose (doko) wrote :

package built in oneiric

Changed in libgmpada (Ubuntu Oneiric):
status: Triaged → 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.