Source: hpanel Version: 0.3.2-5 Tags: patch User: debian-cr...@lists.debian.org Usertags: ftcbfs
hpanel fails to cross build from source, because it does not pass cross tools to make. A simple way to fix this is using dh_auto_build with the makefile buildsystem. The makefile buildsystem needs to be explicitly selected due to the presence of a configure script (which we don't want to run here and which is automatically skipped by the makefile build system). Please consider applying the attached patch. Helmut
diff --minimal -Nru hpanel-0.3.2/debian/changelog hpanel-0.3.2/debian/changelog --- hpanel-0.3.2/debian/changelog 2020-05-09 20:30:41.000000000 +0200 +++ hpanel-0.3.2/debian/changelog 2020-05-11 21:39:59.000000000 +0200 @@ -1,3 +1,10 @@ +hpanel (0.3.2-6) UNRELEASED; urgency=medium + + * Fix FTCBFS: Let dh_auto_build pass cross tools to make using the + makefile build system. (Closes: #-1) + + -- Helmut Grohne <hel...@subdivi.de> Mon, 11 May 2020 21:39:59 +0200 + hpanel (0.3.2-5) unstable; urgency=medium * QA upload. diff --minimal -Nru hpanel-0.3.2/debian/rules hpanel-0.3.2/debian/rules --- hpanel-0.3.2/debian/rules 2012-03-23 11:51:10.000000000 +0100 +++ hpanel-0.3.2/debian/rules 2020-05-11 21:39:58.000000000 +0200 @@ -33,17 +33,14 @@ override_dh_installchangelogs: dh_installchangelogs $(CHANGELOG) -override_dh_auto_configure: - # Skip this step - override_dh_auto_build: man - $(MAKE) CFLAGS="$(CPPFLAGS) $(CFLAGS)" LDFLAGS="$(LDFLAGS)" hpanel + dh_auto_build -- CFLAGS="$(CPPFLAGS) $(CFLAGS)" LDFLAGS="$(LDFLAGS)" hpanel override_dh_auto_install: # Disable. See debian/install %: - dh $@ + dh $@ -Smakefile .PHONY: man get-changelog