Bug#916380: xshisen FTCBFS: builds for the wrong architecture
Source: xshisen
Version: 1:1.51-6
Tags: patch
User: helmutg@debian.org
Usertags: rebootstrap
xshisen fails to cross build from source, because its configure selects
the build architecture compilers. That's despite dh_auto_configure
passing --host to ./configure, because xshisen's configure is too old to
recognize --host. It needs to be given cross tools via CC and CXX.
Please consider applying the attached patch.
Helmut
diff --minimal -Nru xshisen-1.51/debian/changelog xshisen-1.51/debian/changelog
--- xshisen-1.51/debian/changelog 2018-10-01 04:09:56.000000000 +0200
+++ xshisen-1.51/debian/changelog 2018-12-13 20:35:22.000000000 +0100
@@ -1,3 +1,10 @@
+xshisen (1:1.51-6.1) UNRELEASED; urgency=medium
+
+ * Non-maintainer upload.
+ * Fix FTCBFS: Export suitable CC and CXX. (Closes: #-1)
+
+ -- Helmut Grohne <helmut@subdivi.de> Thu, 13 Dec 2018 20:35:22 +0100
+
xshisen (1:1.51-6) unstable; urgency=low
* QA upload.
diff --minimal -Nru xshisen-1.51/debian/rules xshisen-1.51/debian/rules
--- xshisen-1.51/debian/rules 2018-10-01 03:59:47.000000000 +0200
+++ xshisen-1.51/debian/rules 2018-12-13 20:35:21.000000000 +0100
@@ -1,6 +1,9 @@
#!/usr/bin/make -f
# rules --- Debian packaging rules for xshisen
+-include /usr/share/dpkg/buildtools.mk
+export CC CXX
+
%:
dh ${@}
Reply to: