predict version 2.2.3-3ubuntu1 failed to build on amd64 with GCC-4.6/oneiric

Bug #770815 reported by Matthias Klose
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
predict (Debian)
Fix Released
Unknown
predict (Ubuntu)
Fix Released
High
John Nogatch
Oneiric
Fix Released
High
John Nogatch

Bug Description

predict version 2.2.3-3ubuntu1 failed to build on amd64 with GCC-4.6/oneiric
Link to failed build: https://launchpad.net/ubuntu/+archive/test-rebuild-20110413/+buildjob/2465615

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/2465615/+files/buildlog_ubuntu-natty-amd64.predict_2.2.3-3ubuntu1_FAILEDTOBUILD.txt.gz

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

geosat.c:44:9: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result]
geosat.c:45:9: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result]
geosat.c:63:7: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result]
geosat.c:89:8: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result]
/tmp/ccbYhufu.o: In function `main':
/build/buildd/predict-2.2.3/utils/geosat/geosat.c:83: undefined reference to `atan'
/build/buildd/predict-2.2.3/utils/geosat/geosat.c:70: undefined reference to `cos'
/build/buildd/predict-2.2.3/utils/geosat/geosat.c:70: undefined reference to `cos'
/build/buildd/predict-2.2.3/utils/geosat/geosat.c:71: undefined reference to `sincos'
/build/buildd/predict-2.2.3/utils/geosat/geosat.c:78: undefined reference to `atan'
/build/buildd/predict-2.2.3/utils/geosat/geosat.c:71: undefined reference to `sqrt'
/build/buildd/predict-2.2.3/utils/geosat/geosat.c:78: undefined reference to `sqrt'
collect2: ld returned 1 exit status
make: *** [build-stamp] Error 1
dpkg-buildpackage: error: debian/rules build gave error exit status 2
******************************************************************************
Build finished at 20110425-1713
FAILED [dpkg-buildpackage died]
Purging chroot-autobuild/build/buildd/predict-2.2.3

Matthias Klose (doko)
Changed in predict (Ubuntu):
importance: Undecided → High
Changed in predict (Ubuntu):
milestone: none → oneiric-alpha-3
John Nogatch (jnogatch)
Changed in predict (Ubuntu Oneiric):
assignee: nobody → John Nogatch (jnogatch)
status: New → In Progress
Revision history for this message
John Nogatch (jnogatch) wrote :

The attached patch moves "-lm" later in several "cc" commands, so that the missing math routines are found in the library.

This problem has been reported upstream as: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=630418

Changed in predict (Ubuntu Oneiric):
status: In Progress → Fix Committed
status: Fix Committed → Confirmed
tags: added: patch
Changed in predict (Ubuntu Oneiric):
milestone: oneiric-alpha-3 → none
tags: added: universe
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package predict - 2.2.3-3ubuntu2

---------------
predict (2.2.3-3ubuntu2) oneiric; urgency=low

  * debian/rules: move -lm later in cc command to fix geosat, et al.
    Author: John T. Nogatch <email address hidden> (LP: #770815)
 -- Daniel Holbach <email address hidden> Mon, 12 Sep 2011 17:29:00 +0200

Changed in predict (Ubuntu Oneiric):
status: Confirmed → Fix Released
Changed in predict (Debian):
status: Unknown → New
Changed in predict (Debian):
status: New → Fix Committed
Changed in predict (Debian):
status: Fix Committed → 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.