Package: gpu-basis-universal
Version: 2.0.2-3
Tags: patch
User: [email protected]
Usertags: ftcbfs
Control: affects -1 + src:warzone2100

warzone2100 fails to cross build from source, because it fails running
basisu with an Exec format error. Usually, this is an indicator that the
relevant package should be installed for the build architecture. The
easiest way would be marking it Multi-Arch: foreign, but doing so is not
universally correct. The basisu tool is the only tool in
gpu-basis-universal and it converts between texture formats. The input
format seems to be graphics files such as png and the output is
installed by warzone2100 into an arch:all data package. This suggests
that all involved file formats likely are architecture-independent. As
such the foreign marking would be ok. I am attaching a patch to that
end.

Helmut
diff -Nru basis-universal-2.0.2/debian/changelog 
basis-universal-2.0.2/debian/changelog
--- basis-universal-2.0.2/debian/changelog      2026-02-22 01:28:28.000000000 
+0100
+++ basis-universal-2.0.2/debian/changelog      2026-03-24 16:21:56.000000000 
+0100
@@ -1,3 +1,10 @@
+basis-universal (2.0.2-3.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Mark gpu-basis-universal Multi-Arch: foreign. (Closes: #-1)
+
+ -- Helmut Grohne <[email protected]>  Tue, 24 Mar 2026 16:21:56 +0100
+
 basis-universal (2.0.2-3) unstable; urgency=medium
 
   * Depend and build-depend on sse4.1-support [amd64 i386 x32]
diff -Nru basis-universal-2.0.2/debian/control 
basis-universal-2.0.2/debian/control
--- basis-universal-2.0.2/debian/control        2026-02-22 01:28:28.000000000 
+0100
+++ basis-universal-2.0.2/debian/control        2026-03-24 16:21:51.000000000 
+0100
@@ -14,6 +14,7 @@
 
 Package: gpu-basis-universal
 Architecture: any
+Multi-Arch: foreign
 Depends:
  ${shlibs:Depends},
  ${misc:Depends},

Reply via email to