Source: gcal Version: 3.6.3-3 Tags: patch User: helm...@debian.org Usertags: rebootstrap
gcal fails to cross build from source, because it configures for the build architecture. It actually (correctly) configures for the host architecture first (via dh_auto_configure) and the configures *again* for the build architecture via override_dh_auto_configure. Configuring just once and doing it through dh_auto_configure fixes the cross build. Please consider applying the attached patch. Helmut
diff --minimal -Nru gcal-3.6.3/debian/changelog gcal-3.6.3/debian/changelog --- gcal-3.6.3/debian/changelog 2013-12-29 18:41:19.000000000 +0100 +++ gcal-3.6.3/debian/changelog 2018-02-13 06:40:07.000000000 +0100 @@ -1,3 +1,11 @@ +gcal (3.6.3-3.1) UNRELEASED; urgency=medium + + * Non-maintainer upload. + * Fix FTCBFS: Configure only once and let dh_auto_configure do it. (Closes: + #-1) + + -- Helmut Grohne <hel...@subdivi.de> Tue, 13 Feb 2018 06:40:07 +0100 + gcal (3.6.3-3) unstable; urgency=low * apply patch from Logan Rosen <lo...@ubuntu.com> to use autotools-dev diff --minimal -Nru gcal-3.6.3/debian/rules gcal-3.6.3/debian/rules --- gcal-3.6.3/debian/rules 2013-12-29 18:32:50.000000000 +0100 +++ gcal-3.6.3/debian/rules 2018-02-13 06:40:06.000000000 +0100 @@ -20,10 +20,10 @@ dh $@ --with autotools_dev +override_dh_auto_configure: + PAGER1=pager dh_auto_configure + override_dh_auto_build: - PAGER1=pager ./configure --prefix=/usr \ - --mandir=\$${prefix}/share/man \ - --infodir=\$${prefix}/share/info $(MAKE) CFLAGS="$(CFLAGS) $(CPPFLAGS)" LDFLAGS="$(LDFLAGS)" override_dh_clean: