Your message dated Tue, 04 Jan 2022 15:04:43 +0000
with message-id <e1n4lmh-0009na...@fasolo.debian.org>
and subject line Bug#999806: fixed in pygattlib 0~20201113-1.1
has caused the Debian Bug report #999806,
regarding pygattlib: Misbuild with multiple supported python versions
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.)
--
999806: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=999806
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: pygattlib
Version: 0~20201113-1
Severity: normal
Tags: patch
User: ubuntu-de...@lists.ubuntu.com
Usertags: origin-ubuntu jammy ubuntu-patch
Hi Nobuhiro,
Python3.10 has been introduced in Ubuntu, and as part of the rebuild of
packages against 3.10 I noticed that pygattlib misbuilds, linking both the
python3.9 and python3.10 extensions against the same version of
libboost_python instead of linking each against the matching version.
The attach patch fixes the build so that each binary extension will always
be built against the matching libboost_python.
Regards,
--
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 pygattlib-0~20201113/debian/patches/multiple-boost-python.patch
pygattlib-0~20201113/debian/patches/multiple-boost-python.patch
--- pygattlib-0~20201113/debian/patches/multiple-boost-python.patch
1969-12-31 16:00:00.000000000 -0800
+++ pygattlib-0~20201113/debian/patches/multiple-boost-python.patch
2021-11-16 13:32:24.000000000 -0800
@@ -0,0 +1,26 @@
+Description: fix libboost detection with multiple python versions
+ pygattlib always links against the first libboost_python.so it finds.
+ When building for multiple python versions, this is wrong; it should link
+ against the one matching the version of python we're building for.
+Author: Steve Langasek <steve.langa...@ubuntu.com>
+Last-Update: 2021-11-16
+
+Index: pygattlib-0~20201113/setup.py
+===================================================================
+--- pygattlib-0~20201113.orig/setup.py
++++ pygattlib-0~20201113/setup.py
+@@ -11,12 +11,8 @@
+
+
+ def get_boost_version(out=None):
+- if out is None:
+- out = subprocess.check_output(
+- r"ldconfig -p | grep -E 'libboost_python.*\.so '", shell=True)
+-
+- ver = os.path.splitext(out.split()[0][3:])[0].decode()
+- return ver
++ return 'boost_python%s%s' \
++ % (sys.version_info.major, sys.version_info.minor)
+
+ def tests():
+ # case: python3-py3x.so
diff -Nru pygattlib-0~20201113/debian/patches/series
pygattlib-0~20201113/debian/patches/series
--- pygattlib-0~20201113/debian/patches/series 1969-12-31 16:00:00.000000000
-0800
+++ pygattlib-0~20201113/debian/patches/series 2021-11-16 13:25:54.000000000
-0800
@@ -0,0 +1 @@
+multiple-boost-python.patch
--- End Message ---
--- Begin Message ---
Source: pygattlib
Source-Version: 0~20201113-1.1
Done: Mattia Rizzolo <mat...@debian.org>
We believe that the bug you reported is fixed in the latest version of
pygattlib, 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 999...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Mattia Rizzolo <mat...@debian.org> (supplier of updated pygattlib 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: Sun, 02 Jan 2022 15:38:19 +0100
Source: pygattlib
Architecture: source
Version: 0~20201113-1.1
Distribution: unstable
Urgency: medium
Maintainer: Nobuhiro Iwamatsu <iwama...@debian.org>
Changed-By: Mattia Rizzolo <mat...@debian.org>
Closes: 999806
Changes:
pygattlib (0~20201113-1.1) unstable; urgency=medium
.
* Non-maintainer upload.
* Fix misbuild with multiple supported Python3 versions. Closes: #999806
Thanks to Steve Langasek for the patch.
Checksums-Sha1:
b198473b119260857a81d7315b3cd7aa0ea56f0a 2037 pygattlib_0~20201113-1.1.dsc
3461873b1dffb179fac6dcd81c72a8581ff9bcda 2808
pygattlib_0~20201113-1.1.debian.tar.xz
15654baaba930ec0eb6e1b0c34f55285055d3a19 8719
pygattlib_0~20201113-1.1_amd64.buildinfo
Checksums-Sha256:
2849ad16759445167724cc3109b865edb29903ffe897e481b110c4245f412485 2037
pygattlib_0~20201113-1.1.dsc
02f601d63cb9220a253117bdee9de8c54551460d04251a323af476445121a209 2808
pygattlib_0~20201113-1.1.debian.tar.xz
dde76de71b105b06ec48abda64f6170ca532f27aeefcfb0d9c2ec1c99cb72b7a 8719
pygattlib_0~20201113-1.1_amd64.buildinfo
Files:
e4bcd58f60a219578ae1d23c99824ae4 2037 python optional
pygattlib_0~20201113-1.1.dsc
239d405c796714faa27427b8dac1d19f 2808 python optional
pygattlib_0~20201113-1.1.debian.tar.xz
0920e696c432671b22a656e4197bbf8c 8719 python optional
pygattlib_0~20201113-1.1_amd64.buildinfo
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCgAdFiEEi3hoeGwz5cZMTQpICBa54Yx2K60FAmHRudYACgkQCBa54Yx2
K60hyA//YzxIh/INTNDO1p8DEAI8NTrHmwf9yxhQfLHRkWMBrh3WRHGK2fuOG9kh
+WPUitwl2jeZRqdl7HceRKraZrGqwtD2dJaLIIHQUGUcBL+AALD1NCsry+ERDZY0
yR9JEw3w1+kokJnohhEtoSl4fX8QaHslVsftbdR9sTyLCwaosZvt/2YqhTL3XaJu
Nbx8ePnI0vzR0/KBpsprRbvGyr27+FKU7dXhWXsI/8+4bWTe+QP+tt6KYFRspm/o
OuXbRyObq9yy+OPxAVYQxd1/ZzIUGfC+4VYOb/KbAP84Q31M5SobsisxrJFhe3Lw
XtabP0VUG34YCkUpCHS/cNrqqJFemiMHIbfjn3Y2opGRaolmOv6lVH/ENNBPAMVB
4fyLVK08hjqLc4SdlwqD0tgvaRu+XR+NFq5eLi43NUTZIgZDvM1HGhlFZFxTuZRd
JM/rFF0W0pBcabZiEF3cX+sfC3aTEMftX7chCegRh1DAcstPZ4jOTqOAUDQy1/DZ
6aYW+J+2byXsRI/7gYjlqVrcBLJO3+OuLdGhuh78WU2Hgy3s6GDgwT9j3FaCXiQK
b88lHFgK2XO4TjCUhIwTV0xtemqe7KrnZps3B2lUAIIhKFRvgcooXwkxGRKENlp1
C93xejYg2OJzuYzL1kR9XCLfymOteyoWLQNUnjqrfb4HrSpbwVE=
=RcKW
-----END PGP SIGNATURE-----
--- End Message ---