Your message dated Sat, 29 Oct 2022 17:20:18 +0000
with message-id <[email protected]>
and subject line Bug#1022960: fixed in pycurl 7.45.1-4
has caused the Debian Bug report #1022960,
regarding pycurl FTCBFS: python build dependencies not installable
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 [email protected]
immediately.)


-- 
1022960: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1022960
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: pycurl
Version: 7.45.1-3
Tags: patch
User: [email protected]
Usertags: cross-satisfiability ftcbfs

pycurl cannot be cross built from source, because it requests the host
architecture python development tools. It also doesn't instruct setup.py
about the host architecture. The attached patch fixes both and makes
pycurl cross builadble. Please consider applying it.

Helmut
diff --minimal -Nru pycurl-7.45.1/debian/changelog 
pycurl-7.45.1/debian/changelog
--- pycurl-7.45.1/debian/changelog      2022-09-18 22:04:13.000000000 +0200
+++ pycurl-7.45.1/debian/changelog      2022-10-28 14:41:49.000000000 +0200
@@ -1,3 +1,13 @@
+pycurl (7.45.1-3.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTCBFS: (Closes: #-1)
+    + Multiarchify python Build-Depends.
+    + Export _PYTHON_SYSCONFIGDATA_NAME.
+  * Declaratively request python3 debhelper addon.
+
+ -- Helmut Grohne <[email protected]>  Fri, 28 Oct 2022 14:41:49 +0200
+
 pycurl (7.45.1-3) unstable; urgency=medium
 
   * Fix FTBFS with newer setuptools (Closes: #1020052)
diff --minimal -Nru pycurl-7.45.1/debian/control pycurl-7.45.1/debian/control
--- pycurl-7.45.1/debian/control        2022-08-03 05:01:36.000000000 +0200
+++ pycurl-7.45.1/debian/control        2022-10-28 14:41:19.000000000 +0200
@@ -4,11 +4,12 @@
 Maintainer: Debian Python Team <[email protected]>
 Uploaders: Scott Talbert <[email protected]>
 Build-Depends: debhelper-compat (= 13),
-               dh-python,
+               dh-sequence-python3,
                libcurl4-gnutls-dev (>= 7.57.0),
                libgnutls28-dev,
+               libpython3-all-dev,
                libssh2-1-dev,
-               python3-all-dev,
+               python3-all-dev:any,
                python3-bottle <!nocheck>,
                python3-flaky <!nocheck>,
                python3-pyflakes <!nocheck>,
diff --minimal -Nru pycurl-7.45.1/debian/rules pycurl-7.45.1/debian/rules
--- pycurl-7.45.1/debian/rules  2022-08-03 04:57:20.000000000 +0200
+++ pycurl-7.45.1/debian/rules  2022-10-28 14:41:49.000000000 +0200
@@ -6,6 +6,8 @@
 # This has to be exported to make some magic below work.
 export DH_OPTIONS
 
+include /usr/share/dpkg/architecture.mk
+
 PY3VERS := $(shell py3versions -vs)
 CURLVERS := $(strip $(shell /usr/bin/curl-config --version | awk '{print 
$$2}'))
 
@@ -13,8 +15,12 @@
 
 DO_PACKAGES = $(shell dh_listpackages)
 
+ifneq ($(DEB_BUILD_ARCH),$(DEB_HOST_ARCH))
+export _PYTHON_SYSCONFIGDATA_NAME=_sysconfigdata__$(DEB_HOST_MULTIARCH)
+endif
+
 %:
-       dh $@ --with python3
+       dh $@
 
 override_dh_auto_build:
        $(MAKE) gen PYTHON=python3

--- End Message ---
--- Begin Message ---
Source: pycurl
Source-Version: 7.45.1-4
Done: Scott Talbert <[email protected]>

We believe that the bug you reported is fixed in the latest version of
pycurl, 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 [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Scott Talbert <[email protected]> (supplier of updated pycurl 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 [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Sat, 29 Oct 2022 12:53:13 -0400
Source: pycurl
Architecture: source
Version: 7.45.1-4
Distribution: unstable
Urgency: medium
Maintainer: Debian Python Team <[email protected]>
Changed-By: Scott Talbert <[email protected]>
Closes: 1022960
Changes:
 pycurl (7.45.1-4) unstable; urgency=medium
 .
   [ Helmut Grohne ]
   * Fix FTCBFS: (Closes: #1022960)
     + Multiarchify python Build-Depends.
     + Export _PYTHON_SYSCONFIGDATA_NAME.
   * Declaratively request python3 debhelper addon.
Checksums-Sha1:
 44e0ab1eceaf8ef810a97c77a457701055b2e665 2516 pycurl_7.45.1-4.dsc
 946a5f2145f1ced0dde79fa5feb8159383678c7c 11140 pycurl_7.45.1-4.debian.tar.xz
 de24ca391cdd6a1d9000792f767d8e31567be8ec 10212 pycurl_7.45.1-4_amd64.buildinfo
Checksums-Sha256:
 de897f23ec08997375d32aac8c626eac696444bc2ce172bc803d2444fa15b1ee 2516 
pycurl_7.45.1-4.dsc
 d490b88ac26222116b4d79cc04b00e9c9309d3baeca6e57803a16b40ccfaf144 11140 
pycurl_7.45.1-4.debian.tar.xz
 24b5a1dda239b9fa94a75fcc625fc78a4c0d51f968e718bab6dcad7bfefd22ee 10212 
pycurl_7.45.1-4_amd64.buildinfo
Files:
 76641ad224b1213b98fa47cfe1f8d339 2516 python optional pycurl_7.45.1-4.dsc
 fd324d12c813faec448bb2f743c1ece5 11140 python optional 
pycurl_7.45.1-4.debian.tar.xz
 65396278af1e49424638cdf9db905e21 10212 python optional 
pycurl_7.45.1-4_amd64.buildinfo

-----BEGIN PGP SIGNATURE-----

iQJDBAEBCgAtFiEEbnQ09Yl9Q7F/zVe3U9W8ZLUjeKIFAmNdW6IPHHN3dEB0ZWNo
aWUubmV0AAoJEFPVvGS1I3iibMwP/3f3pHyJzqcwl1dXyZEjydrlNWnj9faCBFTx
irFcAz8HUDyKwR/t3+wg007tG1dRA/1kEEQ3veMEeHZHUNT2AHe7qcVn5OsJLfIx
0s+bksiuYwKW9eGJdfPmPf5uGxUaRkcai1hKBI0DJtGBpXsb5K4YrEZNAhECA/wk
OFpzSzMLt93mfZhqV3i687BJIPbIfxS07ibCURPxnahsJV4oCPfJcg+cqGeC4XNf
gdkaamRkNxSfpeBPqDiMziPQXMn5hxJQ/m60XD7XkB3AU9jhN5M22x3TqOJer8BV
R0Y8g3sR1kblqpSwht9sAOP8sOiNehc6rjXzzmBRuV5CumINc6z9C1BQoeHYH0ny
KAil8p2GDIOZnC4dAAf0cVSSHBEwNjZsgx6oljCh8N5EUsnMIUt9foWnZwakjV4Y
bi/OgcA5UfsCZgqATn5WqDW5LEUHWuCmGEKkF3yNkxTpU+tfm+M/hJN/bxWaoPPr
MzZ4wvnIbFrleCow+gzkcerUcQLZzMaWTDh29LBPsuilNzKYRm0Qv/HkDjgjKT0+
QJHh5ZhdhM4n0HlHSHCf9Zw103Amwr5+tjddG6N12T5Ivrax7iH7BwhrdcmF4UZZ
j/fqREkr6LmQY+wFCI63j1BxTjlWf+M/WK9vQ1hQ3LwUWRM6cnpUeuyCREKCUZg/
89lRXV2h
=GR0i
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to