Package: pythonmagick
Version: 0.9.19-6
Severity: important
Tags: patch
User: ubuntu-de...@lists.ubuntu.com
Usertags: origin-ubuntu jammy ubuntu-patch

Dear maintainers,

Python 3.10 has been introduced in Ubuntu, and as part of the rebuild of
packages against 3.10 the pythonmagick autopkgtests have shown that the
package is misbuilt, because the python3.9 extension has been incorrectly
linked against libboost-python310 instead of libboost-python39.

An additional per-version configure option fixes the broken linkage.  Please
see attached.

-- 
Steve Langasek                   Give me a lever long enough and a Free OS
Debian Developer                   to set it on, and I can move the world.
Ubuntu Developer                                   https://www.debian.org/
slanga...@ubuntu.com                                     vor...@debian.org
diff -Nru pythonmagick-0.9.19/debian/rules pythonmagick-0.9.19/debian/rules
--- pythonmagick-0.9.19/debian/rules    2020-02-27 12:38:04.000000000 -0800
+++ pythonmagick-0.9.19/debian/rules    2021-11-15 16:50:55.000000000 -0800
@@ -10,7 +10,8 @@
 export PYBUILD_CLEAN_ARGS=dh_auto_clean $d;
 export PYBUILD_CONFIGURE_ARGS=dh_auto_configure $d -- \
        --disable-silent-rules --disable-static \
-       --with-python-min-version={version.major}.{version.minor}
+       --with-python-min-version={version.major}.{version.minor} \
+       --with-boost-python=boost_python{version.major}{version.minor}
 export PYBUILD_BUILD_ARGS=dh_auto_build $d
 export PYBUILD_INSTALL_ARGS=dh_auto_install $d --destdir="{destdir}"
 export PYBUILD_TEST_ARGS=dh_auto_test $d
_______________________________________________
Python-modules-team mailing list
Python-modules-team@alioth-lists.debian.net
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/python-modules-team

Reply via email to