Source: as31 Version: 2.3.1-8 Tags: patch User: debian-cr...@lists.debian.org Usertags: ftcbfs
as31 fails to cross build from source, because it does not pass --host to configure. We cannot use dh_auto_configure here, because configure does not understand --runstatedir. Please consider applying the attached patch to explicitly pass the relevant flags. Helmut
diff --minimal -Nru as31-2.3.1/debian/changelog as31-2.3.1/debian/changelog --- as31-2.3.1/debian/changelog 2021-10-26 07:37:40.000000000 +0200 +++ as31-2.3.1/debian/changelog 2021-11-17 20:08:00.000000000 +0100 @@ -1,3 +1,10 @@ +as31 (2.3.1-8.1) UNRELEASED; urgency=medium + + * Non-maintainer upload. + * Fix FTCBFS: Pass --build/--host to configure. (Closes: #-1) + + -- Helmut Grohne <hel...@subdivi.de> Wed, 17 Nov 2021 20:08:00 +0100 + as31 (2.3.1-8) unstable; urgency=medium * note in debian/copyright that we assume the 3-clause BSD variant, diff --minimal -Nru as31-2.3.1/debian/rules as31-2.3.1/debian/rules --- as31-2.3.1/debian/rules 2021-10-26 07:37:40.000000000 +0200 +++ as31-2.3.1/debian/rules 2021-11-17 20:07:59.000000000 +0100 @@ -1,5 +1,7 @@ #!/usr/bin/make -f +include /usr/share/dpkg/architecture.mk + # Uncomment this to turn on verbose mode. #export DH_VERBOSE=1 @@ -7,7 +9,7 @@ configure-stamp: dh_testdir chmod a+x ./configure ./missing - ./configure --prefix=/usr --mandir=/usr/share/man + ./configure --prefix=/usr --mandir=/usr/share/man --build=$(DEB_BUILD_GNU_TYPE) --host=$(DEB_HOST_GNU_TYPE) touch configure-stamp build: build-arch build-indep