FTBFS: znc depends on fix in swig 2.0.3 to work with Python 3.2

Bug #790496 reported by Allison Randal
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
znc (Debian)
Fix Released
Unknown
znc (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Binary package hint: znc

The znc package is FTBFS on Oneiric. This is noted in Debian as a version upgrade problem from Python 3.1 to 3.2. The failure messages are:

compiler.cpp:(.text+0x19): undefined reference to `PyErr_Print'
compiler.cpp:(.text+0x1e): undefined reference to `Py_Finalize'
/tmp/ccLyjvoU.o: In function `main':
compiler.cpp:(.text+0x49): undefined reference to `Py_Initialize'
compiler.cpp:(.text+0x57): undefined reference to `PyImport_ImportModule'
compiler.cpp:(.text+0x85): undefined reference to `PyObject_GetAttrString'
compiler.cpp:(.text+0xab): undefined reference to `_Py_TrueStruct'
compiler.cpp:(.text+0xd5): undefined reference to `Py_BuildValue'
compiler.cpp:(.text+0x107): undefined reference to `Py_BuildValue'
compiler.cpp:(.text+0x13b): undefined reference to `PyObject_Call'
compiler.cpp:(.text+0x158): undefined reference to `Py_Finalize'

(From https://launchpadlibrarian.net/71133981/buildlog_ubuntu-oneiric-i386.znc_0.098-2_FAILEDTOBUILD.txt.gz)

This is fixed upstream in swig, and in the swig2.0 packages in Debian sid. Switching znc to the swig2.0 package might allow it to build with Python 3.2, but, as noted in the Debian bug report, it might also require additional porting.

Related branches

Revision history for this message
Michael Bienia (geser) wrote :

znc 0.098-2 (current in oneiric) already build-depends on swig2.0 but this FTBFS error is caused by "ld --as-needed".

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

This bug was fixed in the package znc - 0.098-2ubuntu1

---------------
znc (0.098-2ubuntu1) oneiric; urgency=low

  * debian/patches/02-fix-ld-as-needed-linking.diff:
    Fix a "ld --as-needed" linking error in modules/modpython/Makefile.inc
    (lp: #790496).
 -- Michael Bienia <email address hidden> Wed, 01 Jun 2011 20:16:11 +0200

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