Source: ragel
Version: 6.9-1.1
Tags: patch
User: helm...@debian.org
Usertags: rebootstrap
Control: affects -1 + src:pdns

pdns fails to cross build from source, because it fails executing ragel.
There are generally two solutions to this problem: Either pdns should
annotate its ragel dependency with :native or ragel should become
Multi-Arch: foreign. The latter is to be preferred whenever it is
correct. Marking ragel is only correct if the behaviour of the tool is
the same across different architectures. Since ragel turns source code
into other source code that should indeed be the case. Please consider
applying the attached patch.

Helmut
diff -u ragel-6.9/debian/changelog ragel-6.9/debian/changelog
--- ragel-6.9/debian/changelog
+++ ragel-6.9/debian/changelog
@@ -1,3 +1,10 @@
+ragel (6.9-1.2) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Mark ragel Multi-Arch: foreign. (Closes: #-1)
+
+ -- Helmut Grohne <hel...@subdivi.de>  Mon, 04 Dec 2017 16:50:26 +0100
+
 ragel (6.9-1.1) unstable; urgency=medium
 
   * Non-maintainer upload.
diff -u ragel-6.9/debian/control ragel-6.9/debian/control
--- ragel-6.9/debian/control
+++ ragel-6.9/debian/control
@@ -8,6 +8,7 @@
 
 Package: ragel
 Architecture: any
+Multi-Arch: foreign
 Depends: ${shlibs:Depends}, ${misc:Depends}
 Description: compiles finite state machines into code in various languages
  Ragel compiles finite state machines from regular languages into C, C++, 

Reply via email to