[Debian-med-packaging] Bug#956279: wise FTCBFS: uses the build architecture compiler

Helmut Grohne helmut at subdivi.de
Thu Apr 9 10:54:59 BST 2020


Source: wise
Version: 2.4.1-21
Tags: patch
User: debian-cross at lists.debian.org
Usertags: ftcbfs
Control: affects 956278 + src:wise

wise fails to cross build from source, because it does not pass cross
tools to make. The easiest way to fix that - using dh_auto_build - makes
the compilation step succeed. It then fails running hevea with an Exec
format error (filed as #956278). Please consider applying the attached
patch to fix the cross tool issue and close this bug even though wise
still fails to cross build until #956278 is also fixed.

Helmut
-------------- next part --------------
diff --minimal -Nru wise-2.4.1/debian/changelog wise-2.4.1/debian/changelog
--- wise-2.4.1/debian/changelog	2018-10-04 14:49:55.000000000 +0200
+++ wise-2.4.1/debian/changelog	2020-04-09 11:46:11.000000000 +0200
@@ -1,3 +1,11 @@
+wise (2.4.1-21.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Improve cross building: Let dh_auto_build pass cross tools to make.
+    (Closes: #-1)
+
+ -- Helmut Grohne <helmut at subdivi.de>  Thu, 09 Apr 2020 11:46:11 +0200
+
 wise (2.4.1-21) unstable; urgency=medium
 
   * debhelper 11
diff --minimal -Nru wise-2.4.1/debian/rules wise-2.4.1/debian/rules
--- wise-2.4.1/debian/rules	2018-10-04 14:49:55.000000000 +0200
+++ wise-2.4.1/debian/rules	2020-04-09 11:46:10.000000000 +0200
@@ -18,7 +18,7 @@
 	dh $@
 
 override_dh_auto_build:
-	$(MAKE) -C src all
+	dh_auto_build --sourcedirectory=src
 	$(MAKE) -C debian/manpages.d
 #	build documentation manually (docs/makefile is not useable)
 	find src/models/ src/dynlibsrc/ -name '*.tex' -print0 | LC_ALL=C sort -z | xargs -0 cat | perl docs/gettex.pl > docs/temp.tex


More information about the Debian-med-packaging mailing list