Your message dated Thu, 13 Mar 2025 18:53:02 +0000
with message-id <[email protected]>
and subject line Bug#1087293: fixed in pycairo 1.27.0-1
has caused the Debian Bug report #1087293,
regarding pycairo FTCBFS: multiple reasons
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.)
--
1087293: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1087293
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: pycairo
Version: 1.26.1-2
Tags: patch
User: [email protected]
Usertags: cross-satisfiability ftcbfs
pycairo cannot be cross built for multiple reason. The immediate failure
is installing the sphinx dependencies. Fortunately, the documentation
already is separated into an Arch:all -doc package, so all we have to do
is move the relevant dependencies to B-D-I to make them irrelevant for
cross building. That happens to include the sphinxdoc debhelper addon,
so I suggest enabling addons via Build-Depends. Then, the host
architecture Python interpreter cannot be installed. Typically, what is
needed for cross building is libpython3-all-dev plus
python3-all-dev:native. Once these changes are applied, it actually
starts building, but the emitted extension uses a build architecture
filename. This is due to using defaulting to the build architecture
sysconfig. If it were being built using pybuild, debhelper would handle
this, but for meson there usually is no need to set this. Hence, we get
to do this manually. I'm attaching a patch handling all of the
aforementioned issues for your convenience.
Helmut
diff --minimal -Nru pycairo-1.26.1/debian/changelog
pycairo-1.26.1/debian/changelog
--- pycairo-1.26.1/debian/changelog 2024-09-05 17:33:13.000000000 +0200
+++ pycairo-1.26.1/debian/changelog 2024-11-10 17:53:42.000000000 +0100
@@ -1,3 +1,14 @@
+pycairo (1.26.1-2.1) UNRELEASED; urgency=medium
+
+ * Non-maintainer upload.
+ * Fix FTCBFS: (Closes: #-1)
+ + Declaratively use debhelper addons.
+ + Demote sphinx dependencies to B-D-I.
+ + Multiarchify python3 build dependency.
+ + Export _PYTHON_SYSCONFIGDATA_NAME through meson.
+
+ -- Helmut Grohne <[email protected]> Sun, 10 Nov 2024 17:53:42 +0100
+
pycairo (1.26.1-2) unstable; urgency=medium
* Build with cairo 1.18.2 (LP: #2078971)
diff --minimal -Nru pycairo-1.26.1/debian/control pycairo-1.26.1/debian/control
--- pycairo-1.26.1/debian/control 2024-09-05 17:33:13.000000000 +0200
+++ pycairo-1.26.1/debian/control 2024-11-10 17:53:42.000000000 +0100
@@ -5,14 +5,15 @@
Uploaders: Torsten Marek <[email protected]>
Build-Depends: debhelper-compat (= 13),
dh-exec,
- dh-python,
+ dh-sequence-python3,
libcairo2-dev (>= 1.18.2),
+ libpython3-all-dev,
meson,
- python3-all-dev,
+ python3-all-dev:native,
python3-pytest <!nocheck>,
- python3-sphinx,
- python3-sphinx-rtd-theme,
- sphinx-common
+Build-Depends-Indep: dh-sequence-sphinxdoc,
+ python3-sphinx,
+ python3-sphinx-rtd-theme,
Standards-Version: 4.6.2
Homepage: https://cairographics.org/pycairo/
Vcs-Git: https://salsa.debian.org/python-team/packages/pycairo.git
diff --minimal -Nru pycairo-1.26.1/debian/rules pycairo-1.26.1/debian/rules
--- pycairo-1.26.1/debian/rules 2024-09-05 17:33:13.000000000 +0200
+++ pycairo-1.26.1/debian/rules 2024-11-10 17:53:42.000000000 +0100
@@ -2,8 +2,14 @@
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
+include /usr/share/dpkg/architecture.mk
+
+ifneq ($(DEB_BUILD_ARCH),$(DEB_HOST_ARCH))
+export
_PYTHON_SYSCONFIGDATA_NAME=_sysconfigdata__$(DEB_HOST_ARCH_OS)_$(DEB_HOST_MULTIARCH)
+endif
+
%:
- dh $@ --with python3,sphinxdoc --buildsystem=meson
+ dh $@ --buildsystem=meson
# Build for all supported python3 versions.
# for details, see https://bugs.debian.org/1055488
--- End Message ---
--- Begin Message ---
Source: pycairo
Source-Version: 1.27.0-1
Done: Jeremy Bícha <[email protected]>
We believe that the bug you reported is fixed in the latest version of
pycairo, 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.
Jeremy Bícha <[email protected]> (supplier of updated pycairo 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: Thu, 13 Mar 2025 14:19:02 -0400
Source: pycairo
Built-For-Profiles: noudeb
Architecture: source
Version: 1.27.0-1
Distribution: unstable
Urgency: medium
Maintainer: Debian Python Team <[email protected]>
Changed-By: Jeremy Bícha <[email protected]>
Closes: 1087293
Changes:
pycairo (1.27.0-1) unstable; urgency=medium
.
* Team upload
.
[ Jeremy Bícha ]
* New upstream release
* Build with cairo 1.18.4
* Bump Standards Version to 4.7.0
.
[ Helmut Grohne ]
* Fix FTCBFS: (Closes: #1087293)
+ Declaratively use debhelper addons
+ Demote sphinx dependencies to B-D-I
+ Multiarchify python3 build dependency
+ Export _PYTHON_SYSCONFIGDATA_NAME through meson
Checksums-Sha1:
74ce2c9ddae79f633cbf12a6ad573be0e4660cb9 2339 pycairo_1.27.0-1.dsc
bf5c0c88c9a07487c8b6c7ee51f75e6700b75088 660434 pycairo_1.27.0.orig.tar.gz
aec5bbfb11110af095ed9198ba7e678f68498fc9 15868 pycairo_1.27.0-1.debian.tar.xz
e742d33cad9287bf40b11afd964d49e88b672b1e 10638
pycairo_1.27.0-1_source.buildinfo
Checksums-Sha256:
1babc723b006492bf8f02288f1c7bf87c62cb5255d848adae20d8e98ba0e499a 2339
pycairo_1.27.0-1.dsc
ce10721e4a5d74c53c8b7241e5ccfd4627fadb2830ecdae72524c077067ca247 660434
pycairo_1.27.0.orig.tar.gz
09dc0c9add7deed245e2e4274437e88a55917c14b95dad60dba15b0f63cb26cf 15868
pycairo_1.27.0-1.debian.tar.xz
ca833b0dc0d2f720a303968b02d3b6b6dc22d8e42a969987c1353244dff3b4bb 10638
pycairo_1.27.0-1_source.buildinfo
Files:
8b02dba55d59fb5f067e27f530fe5837 2339 python optional pycairo_1.27.0-1.dsc
5a972edaec9b9a3306d5fd93a67478e8 660434 python optional
pycairo_1.27.0.orig.tar.gz
b86896f7e59c370d50e6d0b188701e5c 15868 python optional
pycairo_1.27.0-1.debian.tar.xz
2af8868c14e9ce4bd08aafd7861ea570 10638 python optional
pycairo_1.27.0-1_source.buildinfo
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCgAdFiEETQvhLw5HdtiqzpaW5mx3Wuv+bH0FAmfTIcYACgkQ5mx3Wuv+
bH0I/hAAtQY3CKuJXzCy3vCUHYXB8r+OYASmGHWdmWXfFPDECtkM2sOH67icuaAv
Aw8D4wpsYYvHbRepBrSjN8WCbeYqRzFapQ0NTve/h3Hno9AWn3v2YibtOJvnUadH
raMD2sCbdjZOIPEVMltk3EkfXZ2H0oyUscVhf8EKTW4NMlsv6LKmEoJ6EBL3zeLr
2FfbMvX2D5U1P+xJN37rtc1/rwh92PxODXQ4jB4RPE5Y58ycFqMIt59GZp01K8oY
hGGoHLKgW1q0i01GOyEksZ7/8bKOrY6SZEYMcqNkwLdU6kT+XVySvYiB4/f8Zo1I
ESwymG3l4cFzY+bbsiV2Kas0cp+6mvvOvQZTQcD1qiHaNKfYYZJ2iVLmcq89PiBw
ehdij7G9d+zdrHOoV93YasFyNGjRt1Wngff2oLPI4kzkNL5S/XczuAO+P+j6rA4m
51CH5DIA22n1gTgc+96TZpt0sgNKcvwXbzc6ad3siyfo5jKqVyjOde8SvPFsha1M
NKWtxW8chtWrVuD3F0Mik4LM/y9KnhrP7j8xLkoCIewP+iOqTqhoeVXV2RKexvCn
B8x0eNpXTPaCJmyS6VUk+HeDhFBBdRnaR+6u3hyFrlSWKRMPmqWu/Z25/TvLzDUX
FoKsyKXUvXoMuOaqQxvsTlGrZlSYhvRtWBZt+Wvq5OzePp7iY/c=
=UHoO
-----END PGP SIGNATURE-----
pgp2R6GhYpPTJ.pgp
Description: PGP signature
--- End Message ---