Source: scantool
Version: 1.21+dfsg-6
Tags: patch
User: [email protected]
Usertags: rebootstrap
Control: affects 915196 + src:scantool

scantool fails to cross build from source, because it does not pass
--host to ./configure. The attached patch fixes that using
dh_auto_configure. After applying it, scantool fails to build from
source due to #915196. Please consider applying it anyway.

Helmut
diff --minimal -Nru scantool-1.21+dfsg/debian/changelog 
scantool-1.21+dfsg/debian/changelog
--- scantool-1.21+dfsg/debian/changelog 2015-08-25 01:48:42.000000000 +0200
+++ scantool-1.21+dfsg/debian/changelog 2018-12-02 11:12:06.000000000 +0100
@@ -1,3 +1,10 @@
+scantool (1.21+dfsg-6.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTCBFS: Let dh_auto_configure pass --host to ./configure. (Closes: #-1)
+
+ -- Helmut Grohne <[email protected]>  Sun, 02 Dec 2018 11:12:06 +0100
+
 scantool (1.21+dfsg-6) unstable; urgency=medium
 
   * debian/control: Build-depend on liballegro4-dev, thanks to Adam Conrad.
diff --minimal -Nru scantool-1.21+dfsg/debian/dzcomm-autoreconf.sh 
scantool-1.21+dfsg/debian/dzcomm-autoreconf.sh
--- scantool-1.21+dfsg/debian/dzcomm-autoreconf.sh      2011-05-23 
02:15:43.000000000 +0200
+++ scantool-1.21+dfsg/debian/dzcomm-autoreconf.sh      2018-12-02 
11:11:26.000000000 +0100
@@ -3,4 +3,3 @@
 cd dzcomm
 autoreconf
 chmod a+x misc/*.sh
-./configure
diff --minimal -Nru scantool-1.21+dfsg/debian/rules 
scantool-1.21+dfsg/debian/rules
--- scantool-1.21+dfsg/debian/rules     2015-08-25 01:47:17.000000000 +0200
+++ scantool-1.21+dfsg/debian/rules     2018-12-02 11:12:05.000000000 +0100
@@ -12,6 +12,7 @@
 override_dh_auto_configure:
        chmod a+x debian/dzcomm-autoreconf.sh
        dh_autoreconf debian/dzcomm-autoreconf.sh
+       dh_auto_configure --sourcedirectory=dzcomm
 
 override_dh_auto_build:
        cd dzcomm && \

Reply via email to