Package: python3-pefile
Version: 2024.8.26-2.1
Tags: patch
User: [email protected]
Usertags: cross-satisfiability
Control: affects -1 + src:fwupd

fwupd cannot be cross built from source, because its dependency on
python3-pefile is not satisfiable. In general, Architecture: all
packages can never satisfy cross Build-Depends unless marked Multi-Arch:
foreign or annotated :native. Since python3-pefile is a pure Python
module with no non-stdlib dependencies, it can be marked Multi-Arch:
foreign. I'm attaching a patch for your convenience.

Helmut
diff -Nru python-pefile-2024.8.26/debian/changelog 
python-pefile-2024.8.26/debian/changelog
--- python-pefile-2024.8.26/debian/changelog    2025-03-14 08:53:15.000000000 
+0100
+++ python-pefile-2024.8.26/debian/changelog    2026-01-01 13:46:54.000000000 
+0100
@@ -1,3 +1,10 @@
+python-pefile (2024.8.26-2.2) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Mark python3-pefile Multi-Arch: foreign. (Closes: #-1)
+
+ -- Helmut Grohne <[email protected]>  Thu, 01 Jan 2026 13:46:54 +0100
+
 python-pefile (2024.8.26-2.1) unstable; urgency=medium
 
   * Non-maintainer upload.
diff -Nru python-pefile-2024.8.26/debian/control 
python-pefile-2024.8.26/debian/control
--- python-pefile-2024.8.26/debian/control      2025-03-14 08:53:15.000000000 
+0100
+++ python-pefile-2024.8.26/debian/control      2026-01-01 13:46:52.000000000 
+0100
@@ -12,6 +12,7 @@
 
 Package: python3-pefile
 Architecture: all
+Multi-Arch: foreign
 Depends: ${python3:Depends}, ${misc:Depends}
 Description: Portable Executable (PE) parsing module for Python
  pefile is a Python module to read and work with Portable Executable (PE)

Reply via email to