Source: tcptrace Version: 6.6.7-5 Tags: patch User: helm...@debian.org Usertags: rebootstrap
tcptrace fails to cross build from source, because it does not pass --host to ./configure. The easiest way of doing so is using dh_auto_configure. The attached patch implements that, but unfortunately it doesn't make tcptrace cross buildable yet. ./configure has an AC_TRY_RUN check that cannot be reasonably be replaced with AC_TRY_COMPILE. It likely needs to become an AC_CACHE_CHECK. Still my patch makes this secondary failure more visible. Please consider applying it and close this bug when doing so. Helmut
diff --minimal -Nru tcptrace-6.6.7/debian/changelog tcptrace-6.6.7/debian/changelog --- tcptrace-6.6.7/debian/changelog 2016-11-21 00:27:21.000000000 +0100 +++ tcptrace-6.6.7/debian/changelog 2019-01-15 19:28:15.000000000 +0100 @@ -1,3 +1,11 @@ +tcptrace (6.6.7-5.1) UNRELEASED; urgency=medium + + * Non-maintainer upload. + * Address FTCBFS: Let dh_auto_configure pass --host to ./configure. + (Closes: #-1) + + -- Helmut Grohne <hel...@subdivi.de> Tue, 15 Jan 2019 19:28:15 +0100 + tcptrace (6.6.7-5) unstable; urgency=medium * Restructure the source package to use quilt format with all diff --minimal -Nru tcptrace-6.6.7/debian/rules tcptrace-6.6.7/debian/rules --- tcptrace-6.6.7/debian/rules 2016-11-21 00:27:21.000000000 +0100 +++ tcptrace-6.6.7/debian/rules 2019-01-15 19:28:14.000000000 +0100 @@ -7,7 +7,7 @@ config-stamp: dh_testdir dh_autotools-dev_updateconfig - ./configure --prefix=/usr --sysconfdir=/etc --mandir=/usr/share/man + dh_auto_configure touch config-stamp configure: config-stamp