[Python-modules-team] Bug#701468: shiboken: fails to build with python > 3.2

Julian Taylor jtaylor.debian at googlemail.com
Sat Feb 23 14:27:31 UTC 2013

Package: shiboken
Version: 1.1.2-2
Severity: important
Tags: experimental patch

shiboken fails to build with python3.3, see the build logs in ubuntu:

-- Could NOT find Python3Libs (missing:  PYTHON3_LIBRARIES
-- Found Python3Interp: /usr/bin/python3
-- Found Python3InterpDbg: /usr/bin/python3-dbg
-- Could NOT find Python3Libs (missing:  PYTHON3_LIBRARIES
[45938 refs]
PYTHON WITH DEBUG: /usr/bin/python3-dbg
[45937 refs]
[45937 refs]
-- Found LibXml2: /usr/lib/x86_64-linux-gnu/libxml2.so (found suitable
version "2.9.0", minimum required is "2.6.32")
-- Found LibXslt: /usr/lib/x86_64-linux-gnu/libxslt.so (found suitable
version "1.1.27", minimum required is "1.1.19")
CMake Error at CMakeLists.txt:89 (message):
  Python debug library not found.  Try compile shiboken with

this is apparently because it hardcodes versions up to python 3.2 in its
CMake files.

a simple fix is to just add 3.3 to the list, but a better fix would be
to remove this check completely.

Also it does not deal with multiarch python include directories as
present in experimental and the unicode suffix is gone in py3.3.
Attached a patch which fixes these issues.

The abi suffixes in python3 do not have "u" anymore so
debian/shiboken-dbg.install and the makeshlibs override in debian/rules
need updating for this when python3.3 goes into unstable in future.

Also please note that the sample_modelview test crashes with all python
versions in ubuntu.
See https://bugs.launchpad.net/ubuntu/+source/shiboken/+bug/1070772

also these tests fail with python3.3:
see https://bugreports.qt-project.org/browse/PYSIDE-145
-------------- next part --------------
A non-text attachment was scrubbed...
Name: python3.3-and-multiarch.patch
Type: text/x-patch
Size: 1379 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/python-modules-team/attachments/20130223/78d106fc/attachment.bin>

More information about the Python-modules-team mailing list