Package: epstool
Version: 3.08+repack-5
Tags: patch
User: helm...@debian.org
Usertags: rebootstrap
Control: affects + src:sketch

sketch fails to cross build from source, because it fails running
epstool. It requests epstool via Build-Depends and thus ends up with the
host architecture epstool. Either sketch needs to annotate epstool with
:native or epstool needs to become Multi-Arch: foreign to switch this
dependency to the build architecture and thus make it runnable. I
believe that the latter solution is better, because the behaviour of
epstool (modifying eps files) does not depend on the machine it is being
run. Unless that statement is wrong, can you apply the attached patch?

Helmut
diff --minimal -Nru epstool-3.08+repack/debian/changelog 
epstool-3.08+repack/debian/changelog
--- epstool-3.08+repack/debian/changelog        2016-11-28 17:52:15.000000000 
+0100
+++ epstool-3.08+repack/debian/changelog        2017-08-05 19:41:38.000000000 
+0200
@@ -1,3 +1,10 @@
+epstool (3.08+repack-5.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Mark epstool Multi-Arch: foreign. (closes: #-1)
+
+ -- Helmut Grohne <hel...@subdivi.de>  Sat, 05 Aug 2017 19:41:38 +0200
+
 epstool (3.08+repack-5) unstable; urgency=medium
 
   * Use secure URIs for vcs-* in debian/control
diff --minimal -Nru epstool-3.08+repack/debian/control 
epstool-3.08+repack/debian/control
--- epstool-3.08+repack/debian/control  2016-10-26 00:03:09.000000000 +0200
+++ epstool-3.08+repack/debian/control  2017-08-05 19:41:20.000000000 +0200
@@ -10,6 +10,7 @@
 
 Package: epstool
 Architecture: any
+Multi-Arch: foreign
 Depends: ${shlibs:Depends}, ${misc:Depends}, ghostscript
 Description: edit preview images and fix bounding boxes in EPS files
  Encapsulated PostScript (EPS) files may contain a preview to be used

Reply via email to