Source: almanah Version: 0.11.1-3 Tags: patch User: debian-cr...@lists.debian.org Usertags: ftcbfs
almanah fails to cross build from source, because it configures for the build architecture. It actually tries to configure twice. Once during dh_autoreconf and once during dh_auto_configure. If we make it skip the first one, cross building just works. Please consider applying the attached patch. Helmut
diff --minimal -Nru almanah-0.11.1/debian/changelog almanah-0.11.1/debian/changelog --- almanah-0.11.1/debian/changelog 2019-09-30 16:54:45.000000000 +0200 +++ almanah-0.11.1/debian/changelog 2019-10-01 20:33:45.000000000 +0200 @@ -1,3 +1,10 @@ +almanah (0.11.1-3.1) UNRELEASED; urgency=medium + + * Non-maintainer upload. + * Fix FTCBFS: Configure only once via dh_auto_configure. (Closes: #-1) + + -- Helmut Grohne <hel...@subdivi.de> Tue, 01 Oct 2019 20:33:45 +0200 + almanah (0.11.1-3) unstable; urgency=medium * Upload to unstable (Closes: #933668) diff --minimal -Nru almanah-0.11.1/debian/rules almanah-0.11.1/debian/rules --- almanah-0.11.1/debian/rules 2019-09-30 16:49:59.000000000 +0200 +++ almanah-0.11.1/debian/rules 2019-10-01 20:33:44.000000000 +0200 @@ -4,7 +4,7 @@ dh $@ --with autoreconf override_dh_autoreconf: - dh_autoreconf $(CURDIR)/autogen.sh + NOCONFIGURE=1 dh_autoreconf $(CURDIR)/autogen.sh override_dh_auto_configure: dh_auto_configure -- --disable-silent-rules