Your message dated Thu, 05 Feb 2026 17:48:44 +0000
with message-id <[email protected]>
and subject line Bug#1123686: fixed in zxing-cpp 2.3.0-5
has caused the Debian Bug report #1123686,
regarding zxing-cpp FTCBFS: Python extension build
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.)
--
1123686: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1123686
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: zxing-cpp
Version: 2.3.0-4
Tags: patch
User: [email protected]
Usertags: cross-satisfiability ftcbfs
zxing-cpp fails to cross build from source for two reasons both of which
relate to its Python extension. The python3-dev build dependency cannot
be installed for the host architecture as the host architecture Python
compiler fails postinst when attempting byte compilation. Instead a
build architecture interpreter and a host architecture development
package is needed. This is usually achieved by depending on
python3-dev:native and libpython3-dev. Beyond this, the extension build
defaults to using the build architecture name for installing the built
extension. It needs to be told about the correct path via the sysconfig
mechanism. I'm attaching a patch addressing both problems. Please
consider applying it as it makes zxing-cpp cross buildable.
Helmut
diff -Nru zxing-cpp-2.3.0/debian/changelog zxing-cpp-2.3.0/debian/changelog
--- zxing-cpp-2.3.0/debian/changelog 2025-04-30 20:07:19.000000000 +0200
+++ zxing-cpp-2.3.0/debian/changelog 2025-12-19 22:46:20.000000000 +0100
@@ -1,3 +1,12 @@
+zxing-cpp (2.3.0-4.1) UNRELEASED; urgency=medium
+
+ * Non-maintainer upload.
+ * Fix FTCBFS: (Closes: #-1)
+ + Multiarchify Python Build-Depends.
+ + Export sysconfig data for cross compilation.
+
+ -- Helmut Grohne <[email protected]> Fri, 19 Dec 2025 22:46:20 +0100
+
zxing-cpp (2.3.0-4) unstable; urgency=medium
* debian/patches/backport/: Cherry-pick upstream-suggested patches
diff -Nru zxing-cpp-2.3.0/debian/control zxing-cpp-2.3.0/debian/control
--- zxing-cpp-2.3.0/debian/control 2025-04-30 19:11:10.000000000 +0200
+++ zxing-cpp-2.3.0/debian/control 2025-12-19 22:46:18.000000000 +0100
@@ -9,11 +9,11 @@
libfmt-dev <!nocheck>,
libgmock-dev <!nocheck>,
libgtest-dev <!nocheck>,
+ libpython3-dev,
libstb-dev,
pkgconf,
pybind11-dev,
- python3,
- python3-dev,
+ python3-dev:native,
python3-numpy <!nocheck>,
python3-opencv <!nocheck>,
python3-pil <!nocheck>,
diff -Nru zxing-cpp-2.3.0/debian/rules zxing-cpp-2.3.0/debian/rules
--- zxing-cpp-2.3.0/debian/rules 2025-04-30 19:43:29.000000000 +0200
+++ zxing-cpp-2.3.0/debian/rules 2025-12-19 22:46:20.000000000 +0100
@@ -23,6 +23,9 @@
include /usr/share/dpkg/default.mk
include /usr/share/dpkg/buildflags.mk
+ifneq ($(DEB_BUILD_ARCH),$(DEB_HOST_ARCH))
+export
_PYTHON_SYSCONFIGDATA_NAME=_sysconfigdata__$(DEB_HOST_ARCH_OS)_$(DEB_HOST_MULTIARCH)
+endif
%:
dh $@ --with python3
--- End Message ---
--- Begin Message ---
Source: zxing-cpp
Source-Version: 2.3.0-5
Done: Boyuan Yang <[email protected]>
We believe that the bug you reported is fixed in the latest version of
zxing-cpp, 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.
Boyuan Yang <[email protected]> (supplier of updated zxing-cpp 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, 05 Feb 2026 12:36:05 -0500
Source: zxing-cpp
Architecture: source
Version: 2.3.0-5
Distribution: unstable
Urgency: medium
Maintainer: Boyuan Yang <[email protected]>
Changed-By: Boyuan Yang <[email protected]>
Closes: 1123686
Changes:
zxing-cpp (2.3.0-5) unstable; urgency=medium
.
* debian/control: Bump Standards-Version to 4.7.3.
* debian/tests/control: Manually write python-based autopkgtest
instead of relying on autodep8 for autopkgtest generation since
this package is only built against the default python3 version,
not all supported python3 version.
* debian/tests/autopkgtest-pkg-python.conf: Deleted accordingly.
.
[ Helmut Grohne ]
* Fix FTCBFS: (Closes: #1123686)
+ Multiarchify Python Build-Depends.
+ Export sysconfig data for cross compilation.
Checksums-Sha1:
966201d542d5b5a8530e61a3d36fa3bcb3b6442d 2846 zxing-cpp_2.3.0-5.dsc
078396593b1c29b94a5fed1ab2babe4ee7ea311e 500060 zxing-cpp_2.3.0.orig.tar.xz
b2932728e4761999acac803d33df96fbb0abc35f 1011852
zxing-cpp_2.3.0-5.debian.tar.xz
f06bcae415691f6b91075f2b22d2a100e096a079 19667
zxing-cpp_2.3.0-5_amd64.buildinfo
Checksums-Sha256:
49af2251ca8167e6936c90443a149aa1c1b6d5efc05979423b0dbe23fe95e0e1 2846
zxing-cpp_2.3.0-5.dsc
2fac5e5dd48337d24f41cd23bfaacf619280c245fa40c6c31d31d213ac0e4380 500060
zxing-cpp_2.3.0.orig.tar.xz
ea6c9e1a9fc5cc5d255dc2849e97af2871d9a82d4b1308311abadf7d6bd6c39d 1011852
zxing-cpp_2.3.0-5.debian.tar.xz
8b088b6cdb45890dcca114603f20eae1052be808a6e13866e94fe417fa036940 19667
zxing-cpp_2.3.0-5_amd64.buildinfo
Files:
2664f9c0df1ee3236a52db8e16707a62 2846 libs optional zxing-cpp_2.3.0-5.dsc
d616c18ac922f684a9ef7c45c69faef5 500060 libs optional
zxing-cpp_2.3.0.orig.tar.xz
702df25fa3f86ab76523b93fa4dd9545 1011852 libs optional
zxing-cpp_2.3.0-5.debian.tar.xz
a885600a27878e51f20a4df0158c000a 19667 libs optional
zxing-cpp_2.3.0-5_amd64.buildinfo
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCgAdFiEEfncpR22H1vEdkazLwpPntGGCWs4FAmmE1bwACgkQwpPntGGC
Ws4eBxAAlHic3eUNVo6CdzOSKFa4pbmp4XbGTt6Y6yxRhNsAthx7KHDHq/27X/Tu
ohE8ILmmCfyKHsxtM/cjTMwxIyBkPKe1ZgdNkjk9BB6rX+vsmDVgaKtNkqOk2gOP
BsGk+sAHM4BUSIV+oiNwpVVht/KT+wkNmZ9TIYfKZpkheyGlO+T2ox66718d0eh+
rhm7ySV/HuhWL0mUi7+OFQUNYqxkSdUbhaLpUMav5g7L0j2G6jEzB+kLaAt8IS+3
1WlRaTn7eBW9H6nPgsypjDhoJk6PGYSaTV1eP7YfSzWzAAHWeiukW6St8tATv2G6
//jch1ASN8ZDG7dFFVHDdy7JxYIAaRTHzUkSVqfVo4NypXWSgNSjf79MR5T+HcE2
OpIqxuNPiVhI0SyHYRb511RCDzauRpbtSg7O88Q1A6WNIZF/L0ZcAFxlhmOfLdRR
Boe5EPqB4p4iqKfXjx2wKqHKft6IYbhb9ZO23MGZQskbiJG0n/EcSAG/jaM5xBBF
xgQUdWVZQqEkxDUl0bWVvS7x7ZghfIWdQauMbqe1BE98pGHjbonynL+CYgx/AMCx
Nt3A1VlUgcjlVX4bKR9l+F6QDXQuv+gHwFttOOWO8lJ8tYj2/jviEDfi9FhV04Xz
+Bp/9O5mca5dvk5nokUUxPWqFJQ7ZuaNFLvwWLTkO8PISGFlJbI=
=p5zi
-----END PGP SIGNATURE-----
pgp2OLeLoVbwP.pgp
Description: PGP signature
--- End Message ---