njplot FTBFS in Raring

Bug #1133488 reported by Graham Inggs
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
njplot (Debian)
Fix Released
Unknown
njplot (Ubuntu)
Fix Released
Undecided
Julian Taylor

Bug Description

A no-changes build of njplot sent to the PPA builders fails with the following message:

gcc -o njplot njplot-vib.o \
        -lvibrant -lncbi -lXm -lXt
/usr/bin/ld: njplot-vib.o: undefined reference to symbol 'floor@@GLIBC_2.2.5'
/usr/bin/ld: note: 'floor@@GLIBC_2.2.5' is defined in DSO /lib/x86_64-linux-gnu/libm.so.6 so try adding it to the linker command line
/lib/x86_64-linux-gnu/libm.so.6: could not read symbols: Invalid operation
collect2: error: ld returned 1 exit status
make[1]: *** [njplot] Error 1
make[1]: Leaving directory `/build/buildd/njplot-2.4'
make: *** [debian/stamp-makefile-build] Error 2
dpkg-buildpackage: error: debian/rules build-arch gave error exit status 2

It seems that linker behavior in Raring has changed since the last test rebuild.

Tags: patch
Revision history for this message
Graham Inggs (ginggs) wrote :

The attached patch fixes the FTBFS by explicitly linking libm.

Julian Taylor (jtaylor)
Changed in njplot (Ubuntu):
assignee: nobody → Julian Taylor (jtaylor)
Revision history for this message
Julian Taylor (jtaylor) wrote :

I have uploaded the fixed package
I added the LP: #N to the changelog so the bug is closed, forwarded it to debian and added some description tags to the patch.

Thanks for your contribution.

Revision history for this message
Ubuntu Foundations Team Bug Bot (crichton) wrote :

The attachment "njplot_2.4-1ubuntu1 raring" of this bug report has been identified as being a patch in the form of a debdiff. The ubuntu-sponsors team has been subscribed to the bug report so that they can review and hopefully sponsor the debdiff. In the event that this is in fact not a patch you can resolve this situation by removing the tag 'patch' from the bug report and editing the attachment so that it is not flagged as a patch. Additionally, if you are member of the ubuntu-sponsors team please also unsubscribe the team from this bug report.

[This is an automated message performed by a Launchpad user owned by Brian Murray. Please contact him regarding any issues with the action taken in this bug report.]

tags: added: patch
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package njplot - 2.4-1ubuntu1

---------------
njplot (2.4-1ubuntu1) raring; urgency=low

  * Fix underlinking: link libm explicitly (LP: #1133488)
 -- Graham Inggs <email address hidden> Tue, 26 Feb 2013 16:18:08 +0200

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