Bug#1105135: libnumbertext FTCBFS: fails installing a host python interpreter
Source: libnumbertext
Version: 1.0.11-4
Tags: patch
User: debian-cross@lists.debian.org
Usertags: cross-satisfiability
libnumbertext cannot be cross built from source, because it depends on
the Python interpreter for the host architecture. That interpreter fails
installing as it would have perform byte compilation. libnumbertext
actually wants to run it during build in a way that does not exercise
architecture-dependent properties, so it should be requesting the Python
interpreter for the build architecture instead. I'm attaching a patch
for your convenience. Once applying it, cross building works.
Helmut
diff --minimal -Nru libnumbertext-1.0.11/debian/changelog libnumbertext-1.0.11/debian/changelog
--- libnumbertext-1.0.11/debian/changelog 2023-12-05 19:08:54.000000000 +0100
+++ libnumbertext-1.0.11/debian/changelog 2025-05-11 22:31:01.000000000 +0200
@@ -1,3 +1,10 @@
+libnumbertext (1.0.11-4.1) UNRELEASED; urgency=medium
+
+ * Non-maintainer upload.
+ * Fix FTCBFS: Annotate python3 dependency :native. (Closes: #-1)
+
+ -- Helmut Grohne <helmut@subdivi.de> Sun, 11 May 2025 22:31:01 +0200
+
libnumbertext (1.0.11-4) unstable; urgency=medium
* move $(MAKE) pythonpath to build-indep... (closes: #1057434)
diff --minimal -Nru libnumbertext-1.0.11/debian/control libnumbertext-1.0.11/debian/control
--- libnumbertext-1.0.11/debian/control 2023-11-05 14:27:53.000000000 +0100
+++ libnumbertext-1.0.11/debian/control 2025-05-11 22:31:00.000000000 +0200
@@ -2,7 +2,7 @@
Priority: optional
Maintainer: Debian LibreOffice Maintainers <debian-openoffice@lists.debian.org>
Uploaders: Rene Engelhard <rene@debian.org>
-Build-Depends: debhelper (>= 10), python3, zip
+Build-Depends: debhelper (>= 10), python3:native, zip
Build-Depends-Indep: default-jdk, maven-repo-helper
Standards-Version: 4.1.2
Section: libs
Reply to: