Your message dated Wed, 09 Feb 2022 09:05:05 +0000
with message-id <e1nhiup-000fma...@fasolo.debian.org>
and subject line Bug#1005152: fixed in pythonmagick 0.9.19-8
has caused the Debian Bug report #1005152,
regarding pythonmagick: Misbuild when multiple supported python versions and
default is newer
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)
--
1005152: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1005152
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: pythonmagick
Version: 0.9.19-7
Severity: serious
Tags: patch
Justification: misbuilt
User: ubuntu-de...@lists.ubuntu.com
Usertags: origin-ubuntu jammy ubuntu-patch
Dear maintainers,
Well it's me again ;) Ubuntu has switched python3.10 to be the default
python, which is *again* causing pythonmagick to misbuild. The reason is
that the upstream configure script has a --with-python-min-version option,
but not a --with-python-max-version option; so when the version returned by
the bare 'python3' command satisfies the min constraint, that's what the
build uses.
So python3 returns 3.10, which satisfies the >= 3.9 constraint, and both
binary builds try to install to the python3.10 path by mistake (despite the
python3.9 build having used the correct libboost-python).
The attached patch addresses this by explicitly telling configure in its
environment what python command to use for each build. I've confirmed that
this fixes the build in Ubuntu, so it should also let pythonmagick rebuild
correctly when python3.10 becomes the default in Debian (soon).
You can probably also drop the use of --with-python-min-version, which is
now redundant.
Cheers,
--
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 2022-01-28 05:42:27.000000000 -0800
+++ pythonmagick-0.9.19/debian/rules 2022-02-07 16:11:55.000000000 -0800
@@ -8,7 +8,8 @@
export PYBUILD_NAME=pythonmagick
export PYBUILD_SYSTEM=custom
export PYBUILD_CLEAN_ARGS=dh_auto_clean $d;
-export PYBUILD_CONFIGURE_ARGS=dh_auto_configure $d -- \
+export PYBUILD_CONFIGURE_ARGS=PYTHON=python{version.major}.{version.minor} \
+ dh_auto_configure $d -- \
--disable-silent-rules --disable-static \
--with-python-min-version={version.major}.{version.minor} \
--with-boost-python=boost_python{version.major}{version.minor}
--- End Message ---
--- Begin Message ---
Source: pythonmagick
Source-Version: 0.9.19-8
Done: Jeroen Ploemen <j...@debian.org>
We believe that the bug you reported is fixed in the latest version of
pythonmagick, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to 1005...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Jeroen Ploemen <j...@debian.org> (supplier of updated pythonmagick package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmas...@ftp-master.debian.org)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 1.8
Date: Wed, 09 Feb 2022 07:44:11 +0000
Source: pythonmagick
Architecture: source
Version: 0.9.19-8
Distribution: unstable
Urgency: medium
Maintainer: Debian Python Team <team+pyt...@tracker.debian.org>
Changed-By: Jeroen Ploemen <j...@debian.org>
Closes: 1005152
Changes:
pythonmagick (0.9.19-8) unstable; urgency=medium
.
* Team upload.
* Rules: explicitly set the Python version for configure; patch once
again courtesy of Steve Langasek. (Closes: #1005152)
Checksums-Sha1:
507c22119ad90bd6e4845e88c18dab51fd2810ee 2321 pythonmagick_0.9.19-8.dsc
7373e4cfe06e49488d783cfa5836212de9565fb2 21244
pythonmagick_0.9.19-8.debian.tar.xz
8a19989480fe430a950e78ccecf3d4abaed4222d 7989
pythonmagick_0.9.19-8_source.buildinfo
Checksums-Sha256:
f34b8f75213c6a7052e66d6c4dd192a20eb3c24222754fe0070c45263cfd71bf 2321
pythonmagick_0.9.19-8.dsc
d3d130a80ddf4d1d788737b53eb1527e706acef6719128a0c394da713ef9b1aa 21244
pythonmagick_0.9.19-8.debian.tar.xz
b3865be6885c55496f40af197117a6062ea2da229b3fa2804c77181d7fe96e59 7989
pythonmagick_0.9.19-8_source.buildinfo
Files:
6e2ab83e80b74902e9fcaa05f93d896d 2321 python optional pythonmagick_0.9.19-8.dsc
a2d9a7ba90e3821bfe5674621714773b 21244 python optional
pythonmagick_0.9.19-8.debian.tar.xz
5542a3620725ed012068732651626e22 7989 python optional
pythonmagick_0.9.19-8_source.buildinfo
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCgAdFiEEd8lhnEnWos3N8v+qQoMEoXSNzHoFAmIDfAYACgkQQoMEoXSN
zHp7kA//SrUyzf38CTaGIxhTLExAkGB/cIim14eoOdYq4fqmZ9w5vNAWyXw9swrc
YDm/gRVp6x0KfAJjNF/Irgwr5omZk7ncANdix9lWEbKIi/7RkVgLVNdu/FBFqg9C
0T0fZS1DiMKizT9qz4XsDELfGqryWw3TyC1rXSH0Tjt3BSmjLt9CxVG8MaGEAB42
EMpzzUVgQJ7cmkikK94zQmoRhpl5stA7roFtR7hXa1LnQ47q2I5bkVtLf7XSz42x
9UnaBeocNiUsXLOYHoOU5gfAB8B1hw8Lnfz0EJntB49TUOvJbxsPvzH+oecS4t0U
Th/33V2a0SUm+Ac4j42L5kVGsmMN9mLOAdKzd6T8/3+sc4ccp60MBgNQpVX+6aCv
9retaiQXGy6FT2hLo9azVjGfA2JUwLwJV8RmPkonjlV6bV0bTfJnpiAXw1ckL0P6
4LenjZ9ph+i8dnEklcdBrYJ9ZUjv9PBbNVfqiMWKHjSn7o/AWs3fvuHpSnFOaZWs
T3/8NOS1MDHBFg5iXugWuSATkZLM8tnvKKjV9VPFEs2/3qLQ0dzl1HAV/CUDtOMS
wpFz+kkYwE6lppRroC/FM7gr1GOJkKG65klGw84bBxtZTcBF+r5ucmObrTtAuk2d
3v8INKS+pKMYM5kpFMwFZUkIoyPGC0ecKwi1CEuXppTpFOugB8E=
=pGy8
-----END PGP SIGNATURE-----
--- End Message ---