[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#842593: mark tth Multi-Arch: foreign



Package: tth
Version: 4.08+ds-1
Tags: patch
User: helmutg@debian.org
Usertags: rebootstrap
Control: affects -1 + src:bibtool

bibtool fails to cross build from source, because its invocation of tth
fails. Since tth is (implicitly) Multi-Arch: no, the host architecture
version of tth is installed and thus cannot be executed. I looked
through the source of tth and it looks like it only contains command
line tools. Their output and behaviour seems to only depend on the input
files and command line switches. It seems to be independent of the
architecture used to execute these tools. Unless I missed some
architecture-specific aspect of these tools, the package can simply be
marked Multi-Arch: foreign. Then bibtool will pick up the build
architecture version of tth and succeed executing it. Please consider
applying the attached patch. It also sets Multi-Arch: foreign on the
other packages as their cases look similar.

Helmut
diff --minimal -Nru tth-4.08+ds/debian/changelog tth-4.08+ds/debian/changelog
--- tth-4.08+ds/debian/changelog	2015-11-04 01:19:58.000000000 +0100
+++ tth-4.08+ds/debian/changelog	2016-10-30 17:29:01.000000000 +0100
@@ -1,3 +1,10 @@
+tth (4.08+ds-1.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Mark all packages Multi-Arch: foreign. (Closes: #-1)
+
+ -- Helmut Grohne <helmut@subdivi.de>  Sun, 30 Oct 2016 17:28:51 +0100
+
 tth (4.08+ds-1) unstable; urgency=medium
 
   * New upstream release.
diff --minimal -Nru tth-4.08+ds/debian/control tth-4.08+ds/debian/control
--- tth-4.08+ds/debian/control	2015-11-04 01:19:58.000000000 +0100
+++ tth-4.08+ds/debian/control	2016-10-30 17:28:48.000000000 +0100
@@ -13,6 +13,7 @@
 
 Package: ttm
 Architecture: any
+Multi-Arch: foreign
 Depends: ${shlibs:Depends}, ${misc:Depends}
 Recommends: tth-common
 Suggests: tth
@@ -27,6 +28,7 @@
 
 Package: tth
 Architecture: any
+Multi-Arch: foreign
 Depends: ${shlibs:Depends}, ${misc:Depends}
 Recommends: tth-common
 Suggests: ttm
@@ -40,6 +42,7 @@
 
 Package: tth-common
 Architecture: any
+Multi-Arch: foreign
 Depends:
  texlive-latex-recommended, texlive-fonts-recommended,
  ghostscript, netpbm,

Reply to: