Package: nkf
Version: 1:2.1.4-1
Tags: patch
User: helm...@debian.org
Usertags: rebootstrap
Control: affects -1 + src:cmigemo

cmigemo fails to cross build from source, because it fails running nkf
with an "Exec format error". That usually means it got the wrong nkf.
Either the nkf dependency needs to be annotated with :native or nkf
needs to be marked Multi-Arch: foreign. In this case, the latter looks
correct as nkf is a command line tool for converting between encodings.
These encodings happen to be independent of the CPU architecture, so the
behaviour of nkf does not vary depending on what kind of CPU it was run
on. Thus I think nkf should be marked Multi-Arch: foreign.

Helmut
diff --minimal -Nru nkf-2.1.4/debian/changelog nkf-2.1.4/debian/changelog
--- nkf-2.1.4/debian/changelog  2016-11-30 07:35:40.000000000 +0100
+++ nkf-2.1.4/debian/changelog  2018-05-21 18:36:14.000000000 +0200
@@ -1,3 +1,10 @@
+nkf (1:2.1.4-1.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Mark nkf Multi-Arch: foreign, closes: #-1.
+
+ -- Helmut Grohne <hel...@subdivi.de>  Mon, 21 May 2018 18:36:14 +0200
+
 nkf (1:2.1.4-1) unstable; urgency=medium
 
   [ Hideki Yamane ]
diff --minimal -Nru nkf-2.1.4/debian/control nkf-2.1.4/debian/control
--- nkf-2.1.4/debian/control    2016-11-20 23:07:36.000000000 +0100
+++ nkf-2.1.4/debian/control    2018-05-21 18:36:10.000000000 +0200
@@ -10,6 +10,7 @@
 
 Package: nkf
 Architecture: any
+Multi-Arch: foreign
 Depends: ${shlibs:Depends}, ${misc:Depends}
 Description: Network Kanji code conversion Filter
  Nkf is yet another kanji code converter among networks,

Reply via email to