qtiplot FTBFS in natty

Bug #663332 reported by Alex Valavanis
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
QtiPlot
Invalid
Undecided
Unassigned
qtiplot (Debian)
Fix Released
Unknown
qtiplot (Ubuntu)
Fix Released
Medium
Unassigned

Bug Description

Binary package hint: qtiplot

Attempting to build qtiplot_0.9.8-2ubuntu1 in my PPA failed for natty with the following message:

../3rdparty/qwt/lib/libqwt.a ../3rdparty/qwtplot3d/lib/libqwtplot3d.a -lgsl -lgslcblas -lorigin2 -lpython2.6 -lm -lpng -L/usr/lib -lQtAssistantClient -lpthread -lGLU -lGL -lQtSvg -lQt3Support -lQtXml -lQtOpenGL -lQtGui -lQtNetwork -lQtCore
/usr/bin/ld: ../tmp/qtiplot/minigzip.o: undefined reference to symbol 'gzclose'
/usr/bin/ld: note: 'gzclose' is defined in DSO /lib/libz.so.1 so try adding it to the linker command line
/lib/libz.so.1: could not read symbols: Invalid operation
collect2: ld returned 1 exit status

This is most likely caused by the removal of indirect linkage by default in binutils-gold. We will need to add -lz to the library list

Related branches

Revision history for this message
Alex Valavanis (valavanisalex) wrote :
Revision history for this message
Alex Valavanis (valavanisalex) wrote :

Added -lz to qtiplot/qtiplot.pro

This now builds successfully in my ppa:

https://edge.launchpad.net/~valavanisalex/+archive/qtiplot/+packages

Changed in qtiplot (Ubuntu):
importance: Undecided → Medium
tags: added: patch-forwarded-debian
Changed in qtiplot (Debian):
status: Unknown → Confirmed
Revision history for this message
Alex Valavanis (valavanisalex) wrote :
tags: added: patch-forwarded-upstream
Revision history for this message
Alex Valavanis (valavanisalex) wrote :

From upstream tracker:

Hi,

The way you build QtiPlot is not my concern and can never be a bug in QtiPlot.

Regards,
Ion Vasilief

Changed in qtiplot:
status: New → Invalid
tags: added: patch-rejected-upstream
removed: patch-forwarded-upstream
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package qtiplot - 0.9.8-2ubuntu1

---------------
qtiplot (0.9.8-2ubuntu1) natty; urgency=low

  * Merge with debian unstable (LP: #656046). Remaining changes:
    - Build-Depends on libqtassistantclient-dev
      Recommends qt-assistant-compat to fix a FTBFS since qtassistant
      is removed in qt > 4.6 (LP: #598826)
  * Added 03_binutils-gold-fix.diff: Fix FTBFS with binutils-gold (LP: #663332)

qtiplot (0.9.8-2) unstable; urgency=low

  * Bump standards version to 3.9.1
  * Add comments to patches
  * Removing accidental patch, debian-changes that prevents qtiplot from
    depending on python 2.6 (Closes: #594341)
 -- Alexander Valavanis <email address hidden> Fri, 22 Oct 2010 14:15:27 +0200

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