Bug#1034553: [Pkg-gtkpod-devel] Bug#1034553: libplist FTCBFS for arm32: wrong python library directory

2023-04-22 Thread Yves-Alexis Perez
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

On Tue, 2023-04-18 at 07:58 +0200, Helmut Grohne wrote:
> libplist fails to cross build from source for arm32, because it gets the
> python library directory wrong and uses the build architecture one. It
> extracts it from sysconfigdata, so we need to export
> _PYTHON_SYSCONFIGDATA_NAME to fix that. I'm attaching a patch for your
> convenience.

Hi Helmut, thanks for the patch. I'll try to import when possible, but
meanwhile feel free to go ahead with the NMU if you want.

Regards,
- -- 
Yves-Alexis
-BEGIN PGP SIGNATURE-

iQEzBAEBCAAdFiEE8vi34Qgfo83x35gF3rYcyPpXRFsFAmRDu/8ACgkQ3rYcyPpX
RFsn0gf/UdJj1Iye8uas1PfM73arkO4XrPCwM2fhQIUSaEnTwVvxuysNN3dQMtIz
3ohUpsO+U1ncFRt6YoRZHXwTdw7tmTZYSkDdJwSnGbOYHhRraDgvoxRoBu9OC1xO
gYJXCAYHJxB2a+cx6EcRbcpdofpXcBnN+GaZe32Ba5lW79deKp5Otf8Ha8k/BZCV
WeOANpgpy4295JUOZFYjXpgEXN/OtkodVhvV4jxAd6+78X0gzSlKqeVjzSxYFHT0
qkbWn3blrZ027FTZ0iClCFAf+aWDirnThVrUOltRONGptk6sfq3CjmWc9zMMNRcw
Y7GQ8fdtpTavkIxWsk+p0iVu7id9+Q==
=cKgO
-END PGP SIGNATURE-



Bug#1034553: libplist FTCBFS for arm32: wrong python library directory

2023-04-18 Thread Helmut Grohne
Source: libplist
Version: 2.2.0-6
Tags: patch
User: debian-cr...@lists.debian.org
Usertags: ftcbfs

libplist fails to cross build from source for arm32, because it gets the
python library directory wrong and uses the build architecture one. It
extracts it from sysconfigdata, so we need to export
_PYTHON_SYSCONFIGDATA_NAME to fix that. I'm attaching a patch for your
convenience.

Helmut
diff --minimal -Nru libplist-2.2.0/debian/changelog 
libplist-2.2.0/debian/changelog
--- libplist-2.2.0/debian/changelog 2021-02-03 13:59:02.0 +0100
+++ libplist-2.2.0/debian/changelog 2023-04-18 07:53:04.0 +0200
@@ -1,3 +1,10 @@
+libplist (2.2.0-6.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix arm32 FTCBFS: Export _PYTHON_SYSCONFIGDATA_NAME. (Closes: #-1)
+
+ -- Helmut Grohne   Tue, 18 Apr 2023 07:53:04 +0200
+
 libplist (2.2.0-6) unstable; urgency=medium
 
   [ Dylan Aïssi ]
diff --minimal -Nru libplist-2.2.0/debian/rules libplist-2.2.0/debian/rules
--- libplist-2.2.0/debian/rules 2021-02-03 13:59:02.0 +0100
+++ libplist-2.2.0/debian/rules 2023-04-18 07:53:02.0 +0200
@@ -10,6 +10,7 @@
 
 include /usr/share/dpkg/default.mk
 
+export 
_PYTHON_SYSCONFIGDATA_NAME=_sysconfigdata__${DEB_HOST_ARCH_OS}_${DEB_HOST_MULTIARCH}
 PYVER=$(shell py3versions -vd)
 
 %: