Source: xwiimote Version: 2-3 Tags: patch User: debian-cr...@lists.debian.org Usertags: ftcbfs
xwiimote fails to cross build from source, because it fails to configure for the build architecture. It actually tries configuring twice. Once via ./autogen.sh and then a second time via dh_auto_configure. The first invocation selects the wrong architecture and fails. It also is redundant and can be skipped entirely. Once doing so, xwiimote cross builds successfully and speeds up native builds. Please consider applying the attached patch. Helmut
diff --minimal -Nru xwiimote-2/debian/changelog xwiimote-2/debian/changelog --- xwiimote-2/debian/changelog 2014-07-19 08:57:41.000000000 +0200 +++ xwiimote-2/debian/changelog 2019-12-22 23:17:35.000000000 +0100 @@ -1,3 +1,10 @@ +xwiimote (2-3.1) UNRELEASED; urgency=medium + + * Non-maintainer upload. + * Fix FTCBFS: Configure once via dh_auto_configure only. (Closes: #-1) + + -- Helmut Grohne <hel...@subdivi.de> Sun, 22 Dec 2019 23:17:35 +0100 + xwiimote (2-3) unstable; urgency=medium * Upload to unstable. diff --minimal -Nru xwiimote-2/debian/rules xwiimote-2/debian/rules --- xwiimote-2/debian/rules 2014-07-19 08:37:07.000000000 +0200 +++ xwiimote-2/debian/rules 2019-12-22 23:17:33.000000000 +0100 @@ -18,7 +18,7 @@ dh $@ override_dh_auto_configure: - ./autogen.sh + NOCONFIGURE=1 ./autogen.sh dh_auto_configure -- $(confflags) override_dh_auto_clean: