cramfsswap version 1.4.1 failed to build on amd64 with GCC-4.6/oneiric

Bug #770935 reported by Matthias Klose on 2011-04-26
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
cramfsswap (Ubuntu)
High
Unassigned
Oneiric
High
Unassigned

Bug Description

cramfsswap version 1.4.1 failed to build on amd64 with GCC-4.6/oneiric
Link to failed build: https://launchpad.net/ubuntu/+archive/test-rebuild-20110413/+buildjob/2447841

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/2447841/+files/buildlog_ubuntu-natty-amd64.cramfsswap_1.4.1_FAILEDTOBUILD.txt.gz

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

cramfsswap.c:112:8: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result]
cramfsswap.c:242:10: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result]
cramfsswap.c:250:10: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result]
cramfsswap.c:302:12: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result]
cramfsswap.c:328:12: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result]
cramfsswap.c:341:10: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result]
/tmp/cc4CQYYh.o: In function `main':
/build/buildd/cramfsswap-1.4.1/cramfsswap.c:348: undefined reference to `crc32'
/build/buildd/cramfsswap-1.4.1/cramfsswap.c:350: undefined reference to `crc32'
/build/buildd/cramfsswap-1.4.1/cramfsswap.c:350: undefined reference to `crc32'
collect2: ld returned 1 exit status
make[1]: *** [cramfsswap] Error 1
make[1]: Leaving directory `/build/buildd/cramfsswap-1.4.1'
make: *** [build-stamp] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2
******************************************************************************
Build finished at 20110421-1858
FAILED [dpkg-buildpackage died]
Purging chroot-autobuild/build/buildd/cramfsswap-1.4.1

Related branches

Matthias Klose (doko) on 2011-04-26
Changed in cramfsswap (Ubuntu):
importance: Undecided → High
Changed in cramfsswap (Ubuntu):
milestone: none → oneiric-alpha-3
Changed in cramfsswap (Ubuntu Oneiric):
milestone: oneiric-alpha-3 → none
status: New → Confirmed
tags: added: universe
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package cramfsswap - 1.4.1ubuntu1

---------------
cramfsswap (1.4.1ubuntu1) oneiric; urgency=low

  * Reorder libraries to fix FTBFS with ld --as-needed (LP: #770935)
 -- Angel Abad <email address hidden> Sun, 21 Aug 2011 12:39:35 +0200

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

Other bug subscribers