nec2c version 0.8-2 failed to build on amd64 with GCC-4.6/oneiric

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

Bug Description

nec2c version 0.8-2 failed to build on amd64 with GCC-4.6/oneiric
Link to failed build: https://launchpad.net/ubuntu/+archive/test-rebuild-20110413/+buildjob/2463024

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/2463024/+files/buildlog_ubuntu-natty-amd64.nec2c_0.8-2_FAILEDTOBUILD.txt.gz

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

somnec.o: In function `evlua':
/build/buildd/nec2c-0.8/somnec.c:403: undefined reference to `cabs'
/build/buildd/nec2c-0.8/somnec.c:352: undefined reference to `sqrtl'
/build/buildd/nec2c-0.8/somnec.c:352: undefined reference to `sqrtl'
somnec.o: In function `somnec':
/build/buildd/nec2c-0.8/somnec.c:59: undefined reference to `csqrtl'
/build/buildd/nec2c-0.8/somnec.c:61: undefined reference to `cabs'
/build/buildd/nec2c-0.8/somnec.c:96: undefined reference to `sincosl'
/build/buildd/nec2c-0.8/somnec.c:104: undefined reference to `sincosl'
/build/buildd/nec2c-0.8/somnec.c:149: undefined reference to `sincosl'
collect2: ld returned 1 exit status
make[1]: *** [nec2c] Error 1
make[1]: Leaving directory `/build/buildd/nec2c-0.8'
make: *** [build-stamp] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2
******************************************************************************
Build finished at 20110424-2314
FAILED [dpkg-buildpackage died]
Purging chroot-autobuild/build/buildd/nec2c-0.8

Related branches

Matthias Klose (doko)
Changed in nec2c (Ubuntu):
importance: Undecided → High
Changed in nec2c (Ubuntu):
milestone: none → oneiric-alpha-3
Revision history for this message
John Nogatch (jnogatch) wrote :

In Makefile, -lm must be later in gcc command.

Changed in nec2c (Ubuntu Oneiric):
assignee: nobody → John Nogatch (jnogatch)
status: New → Confirmed
tags: added: patch
Changed in nec2c (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 nec2c - 0.8-2ubuntu1

---------------
nec2c (0.8-2ubuntu1) oneiric; urgency=low

  * Makefile: Move -lm to end of gcc command, resolving FTBFS.
    Patch courtesy of John T. Nogatch. (LP: #770919)
 -- Dave Walker (Daviey) <email address hidden> Tue, 06 Sep 2011 20:56:09 +0100

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