Source: libplacebo
Version: 7.351.0-2
Tags: patch
User: [email protected]
Usertags: cross-satisfiability

libplacebo cannot be cross built from source, because it Build-Depends
on a few Python packages and implicitly requests them for the host
architecture. They're meant to be run during build, so it should be
requesting them for the build architecture by annotating them :native.
Once doing so, libplacebo cross builds successfully. I'm attaching a
patch for your convenience.

Helmut
diff -Nru libplacebo-7.351.0/debian/changelog 
libplacebo-7.351.0/debian/changelog
--- libplacebo-7.351.0/debian/changelog 2025-09-10 19:10:52.000000000 +0200
+++ libplacebo-7.351.0/debian/changelog 2026-01-02 14:50:12.000000000 +0100
@@ -1,3 +1,11 @@
+libplacebo (7.351.0-2.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTCBFS: Annotate Python dependencies run during built with :native.
+    (Closes: #-1)
+
+ -- Helmut Grohne <[email protected]>  Fri, 02 Jan 2026 14:50:12 +0100
+
 libplacebo (7.351.0-2) unstable; urgency=medium
 
   * Upload to unstable
diff -Nru libplacebo-7.351.0/debian/control libplacebo-7.351.0/debian/control
--- libplacebo-7.351.0/debian/control   2025-09-10 19:10:50.000000000 +0200
+++ libplacebo-7.351.0/debian/control   2026-01-02 14:50:11.000000000 +0100
@@ -15,9 +15,9 @@
  libvulkan-dev,
  libxxhash-dev,
  glslang-dev,
- python3,
- python3-glad (>= 2),
- python3-jinja2,
+ python3:native,
+ python3-glad:native (>= 2),
+ python3-jinja2:native,
  python3-setuptools,
  spirv-tools
 Standards-Version: 4.7.2

Reply via email to