[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1124828: xnnpack FTCBFS: python3 build dependency not installable



Source: xnnpack
Version: 0.0~git20241108.4ea82e5-2
Tags: patch
User: debian-cross@lists.debian.org
Usertags: cross-satisfiability

xnnpack cannot be cross built from source, because its python3
dependency on a host architecture interpreter cannot be installed. It
really wants to run Python for its scripts and tools during build.
Therefore, it should be requesting a build architecture interpreter by
annotating it :native. I'm attaching a patch for your convenience. Once
applying it, xnnpack cross builds successfully.

Helmut
diff -Nru xnnpack-0.0~git20241108.4ea82e5/debian/changelog xnnpack-0.0~git20241108.4ea82e5/debian/changelog
--- xnnpack-0.0~git20241108.4ea82e5/debian/changelog	2025-04-13 09:11:05.000000000 +0200
+++ xnnpack-0.0~git20241108.4ea82e5/debian/changelog	2026-01-06 16:56:47.000000000 +0100
@@ -1,3 +1,10 @@
+xnnpack (0.0~git20241108.4ea82e5-2.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTCBFS: Annotate python3 dependency :native. (Closes: #-1)
+
+ -- Helmut Grohne <helmut@subdivi.de>  Tue, 06 Jan 2026 16:56:47 +0100
+
 xnnpack (0.0~git20241108.4ea82e5-2) unstable; urgency=medium
 
   * Gbp-Dch: bump std-ver to 4.7.2 (no changes required).
diff -Nru xnnpack-0.0~git20241108.4ea82e5/debian/control xnnpack-0.0~git20241108.4ea82e5/debian/control
--- xnnpack-0.0~git20241108.4ea82e5/debian/control	2025-04-13 09:05:37.000000000 +0200
+++ xnnpack-0.0~git20241108.4ea82e5/debian/control	2026-01-06 16:56:22.000000000 +0100
@@ -18,7 +18,7 @@
                libpsimd-dev,
                libpthreadpool-dev (>= 0.0~git20240616.560c60d~),
                ninja-build,
-               python3
+               python3:native,
 
 Package: libxnnpack-dev
 Section: libdevel

Reply to: