Package: libforms-bin
Version: 1.2.3-1.4
Tags: patch
User: debian-cr...@lists.debian.org
Usertags: ftcbfs
Control: affects -1 + src:mancala

mancala fails to cross build from source, because it fails to run
fdesign, which comes from the libforms-bin package. libforms-bin is
installed for the host architecture and thus cannot be run. To get it
for the build architecture, some dependency needs to be annotated with
:native or :any or some package needs to be marked Multi-Arch: foreign.
I think that libforms-bin is the package that needs this marking. It's
nice to see that libforms-bin and libforms-dev are already laid out in
exactly the way needed for doing so. libforms-bin contains two tools
that convert textual files (fd) into other textual files (C source and
postscript). As such their behaviour is not architecture-dependent. This
property is usually expressed as "Multi-Arch: foreign". Therefore please
consider applying the attached patch.

Helmut
diff --minimal -Nru libforms-1.2.3/debian/changelog 
libforms-1.2.3/debian/changelog
--- libforms-1.2.3/debian/changelog     2019-11-11 03:33:39.000000000 +0100
+++ libforms-1.2.3/debian/changelog     2020-01-10 06:11:39.000000000 +0100
@@ -1,3 +1,10 @@
+libforms (1.2.3-1.5) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Mark libforms-bin Multi-Arch: foreign. (Closes: #-1)
+
+ -- Helmut Grohne <hel...@subdivi.de>  Fri, 10 Jan 2020 06:11:39 +0100
+
 libforms (1.2.3-1.4) unstable; urgency=medium
 
   * Non-maintainer upload.
diff --minimal -Nru libforms-1.2.3/debian/control libforms-1.2.3/debian/control
--- libforms-1.2.3/debian/control       2019-11-11 03:32:34.000000000 +0100
+++ libforms-1.2.3/debian/control       2020-01-10 06:11:36.000000000 +0100
@@ -61,6 +61,7 @@
 
 Package: libforms-bin
 Architecture: any
+Multi-Arch: foreign
 Section: devel
 Suggests: libforms-dev
 Depends: ${shlibs:Depends}, ${misc:Depends}

Reply via email to