[Python-modules-team] Bug#793669: FTBFS when python 3.5 is supported

Iain Lane iain at orangesquash.org.uk
Sun Jul 26 11:31:08 UTC 2015

Package: pyside
Version: 1.2.2-1
Severity: wishlist
Tags: patch
User: ubuntu-devel at lists.ubuntu.com
Usertags: origin-ubuntu wily ubuntu-patch


In Ubuntu we've added py3.5 as a supported version. This makes python
packages build python 3.5 extensions, which contain the multiarch
triplet in their filename.


For pyside, this means that it can't find the ShibokenConfig cmake file
for 3.5. shiboken is a BD of pyside, and after it is rebuilt for 3.5, it
produces the files

   -rw-r--r-- root/root      1317 2015-07-23 17:46 ./usr/lib/x86_64-linux-gnu/cmake/Shiboken-1.2.2/ShibokenConfig.cpython-34m.cmake
   -rw-r--r-- root/root      1402 2015-07-23 17:45 ./usr/lib/x86_64-linux-gnu/cmake/Shiboken-1.2.2/ShibokenConfig.cpython-35m-x86_64-linux-gnu.cmake

pyside looks up the cmake file by making use of an unversioned file
ShibokenConfig.cmake which uses a user-provided suffix to find
ShibokenConfig.cpython-<suffix>.cmake for the particular python version
you're asking for.

So either callers need to know that the suffix has to contain the
triplet for ≥ 3.5 (the attached patch), or shiboken needs to be fixed
somehow - for example by renaming the file back or giving it more smarts
to figure it out. Any fix in shiboken probably wants to take care to
preserve multiarch compatibility that is improved with this change in
3.5, assuming you care about that. There's not so many reverse-BDs of
shiboken though, so it might be easiest to fix them directly.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: pyside_1.2.2-1ubuntu1.debdiff
Type: text/x-diff
Size: 1345 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/python-modules-team/attachments/20150726/fa5ca317/attachment.diff>

More information about the Python-modules-team mailing list