Package: mmv
Version: 2.5.1-1
Tags: patch
User: debian-cr...@lists.debian.org
Usertags: ftcbfs
Control: affects -1 + src:nbsdgames

nbsdgames fails to cross build from source, because it fails running mmv
with an "Exec format error". This is due to having installed the host's
mmv. Typically, this indicates that the relevant package should be
marked Multi-Arch: foreign if possible. In this case, I think that such
a marking is actually correct, because mmv is a pure CLI tool that has
no code loading mechanisms nor does it deal with binary file formats.
I'm attaching a patch for your convenience.

Helmut
diff --minimal -Nru mmv-2.5.1/debian/changelog mmv-2.5.1/debian/changelog
--- mmv-2.5.1/debian/changelog  2023-09-06 22:40:52.000000000 +0200
+++ mmv-2.5.1/debian/changelog  2024-03-15 07:28:07.000000000 +0100
@@ -1,3 +1,10 @@
+mmv (2.5.1-1.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Mark mmv Multi-Arch: foreign. (Closes: #-1)
+
+ -- Helmut Grohne <hel...@subdivi.de>  Fri, 15 Mar 2024 07:28:07 +0100
+
 mmv (2.5.1-1) unstable; urgency=high
 
   * Upstream bugfix release.
diff --minimal -Nru mmv-2.5.1/debian/control mmv-2.5.1/debian/control
--- mmv-2.5.1/debian/control    2023-06-15 00:09:01.000000000 +0200
+++ mmv-2.5.1/debian/control    2024-03-15 07:28:07.000000000 +0100
@@ -16,6 +16,7 @@
 
 Package: mmv
 Architecture: any
+Multi-Arch: foreign
 Description: Move/Copy/Link multiple files and directories
  mmv is a program to move/copy/link multiple files and directories
  according to a set of wildcard patterns. This multiple action is

Reply via email to