Source: distro-info
Version: 1.17
Tags: patch
User: [email protected]
Usertags: ftcbfs

distro-info regressed cross building. It now fails the Python module
build. Notably, this is an architecture-independent Python module
installed into an architecture-independent binary package. There is no
need to build it during a cross build. Rather than figuring out what
fails here, I suggest reducing the arch-only build. Please find a patch
attached.

Helmut
diff -Nru distro-info-1.17/debian/changelog 
distro-info-1.17+nmu1/debian/changelog
--- distro-info-1.17/debian/changelog   2026-07-19 16:17:03.000000000 +0200
+++ distro-info-1.17+nmu1/debian/changelog      2026-09-01 12:46:52.000000000 
+0200
@@ -1,3 +1,10 @@
+distro-info (1.17+nmu1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTCBFS: Don't build Python stuff in arch-only build. (Closes: #-1)
+
+ -- Helmut Grohne <[email protected]>  Tue, 01 Sep 2026 12:46:52 +0200
+
 distro-info (1.17) unstable; urgency=medium
 
   * test: replace experimental by rc-buggy for distro-info-data 0.73
diff -Nru distro-info-1.17/debian/control distro-info-1.17+nmu1/debian/control
--- distro-info-1.17/debian/control     2026-07-19 16:11:50.000000000 +0200
+++ distro-info-1.17+nmu1/debian/control        2026-09-01 12:46:52.000000000 
+0200
@@ -3,16 +3,17 @@
 Maintainer: Benjamin Drung <[email protected]>
 Uploaders: Stefano Rivera <[email protected]>
 Build-Depends: debhelper-compat (= 14),
-               dh-sequence-python3,
+               dh-python,
                distro-info-data (>= 0.73) <!nocheck>,
-               mypy [!i386] <!nocheck>,
-               pybuild-plugin-pyproject,
-               pylint (>= 3.3.0) <!nocheck>,
-               python3-all:native,
-               python3-flake8 <!nocheck>,
-               python3-setuptools,
-               python3-typeshed <!nocheck>,
                shunit2 <!nocheck>
+Build-Depends-Indep: dh-sequence-python3,
+                     mypy [!i386] <!nocheck>,
+                     pybuild-plugin-pyproject,
+                     pylint (>= 3.3.0) <!nocheck>,
+                     python3-all,
+                     python3-flake8 <!nocheck>,
+                     python3-setuptools,
+                     python3-typeshed <!nocheck>,
 Standards-Version: 4.7.4
 Vcs-Git: https://salsa.debian.org/debian/distro-info.git
 Vcs-Browser: https://salsa.debian.org/debian/distro-info
diff -Nru distro-info-1.17/debian/rules distro-info-1.17+nmu1/debian/rules
--- distro-info-1.17/debian/rules       2026-07-17 00:45:48.000000000 +0200
+++ distro-info-1.17+nmu1/debian/rules  2026-09-01 12:46:52.000000000 +0200
@@ -5,11 +5,17 @@
 %:
        dh $@
 
-execute_after_dh_auto_clean:
+execute_after_dh_auto_clean-indep:
        dh_auto_clean --buildsystem=pybuild --sourcedir=python
 
-execute_after_dh_auto_build:
+execute_after_dh_auto_build-indep:
        dh_auto_build --buildsystem=pybuild --sourcedir=python
 
-execute_after_dh_auto_install:
+execute_after_dh_auto_install-indep:
        dh_auto_install --buildsystem=pybuild --sourcedir=python
+
+override_dh_auto_test-arch:
+       $(MAKE) test-commandline
+
+override_dh_auto_test-indep:
+       $(MAKE) test-perl test-python

Reply via email to