Source: libvoikko
Version: 4.3.2-1
Tags: patch
User: [email protected]
Usertags: cross-satisfiability

libvoikko cannot be cross built from source, because it Build-Depends on
the host architecture Python interpreter. It cannot be installed as its
postinst attempts to run the interpreter. libvoikko really uses it for
testing and for running it during build rather than integrating with
Python, so it wants a build architecture interpreter. I'm attaching a
patch that annotates it :native. Once doing, so libvoikko cross builds
successfully.

Helmut
diff -Nru libvoikko-4.3.2/debian/changelog libvoikko-4.3.2/debian/changelog
--- libvoikko-4.3.2/debian/changelog    2023-06-14 13:01:48.000000000 +0200
+++ libvoikko-4.3.2/debian/changelog    2026-01-01 12:02:59.000000000 +0100
@@ -1,3 +1,10 @@
+libvoikko (4.3.2-1.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTCBFS: depend on a :native Python interpreter. (Closes: #-1)
+
+ -- Helmut Grohne <[email protected]>  Thu, 01 Jan 2026 12:02:59 +0100
+
 libvoikko (4.3.2-1) unstable; urgency=medium
 
   [ Debian Janitor ]
diff -Nru libvoikko-4.3.2/debian/control libvoikko-4.3.2/debian/control
--- libvoikko-4.3.2/debian/control      2023-06-14 13:01:48.000000000 +0200
+++ libvoikko-4.3.2/debian/control      2026-01-01 12:02:58.000000000 +0100
@@ -6,7 +6,7 @@
                dh-python,
                hfst-ospell-dev,
                pkg-config,
-               python3,
+               python3:native,
 Standards-Version: 4.6.0.1
 Section: libs
 Homepage: https://voikko.puimula.org/

Reply via email to