Source: birdfont Version: 2.29.6-1 Tags: patch User: debian-cr...@lists.debian.org Usertags: ftcbfs
birdfont fails to cross build from source, because it uses the build architecture compiler and pkg-config. All that is needed to do here is passing the right options to configure. Please consider applying the attached patch. Helmut
diff --minimal -Nru birdfont-2.29.6/debian/changelog birdfont-2.29.6/debian/changelog --- birdfont-2.29.6/debian/changelog 2021-10-23 14:57:34.000000000 +0200 +++ birdfont-2.29.6/debian/changelog 2021-10-31 12:02:49.000000000 +0100 @@ -1,3 +1,10 @@ +birdfont (2.29.6-1.1) UNRELEASED; urgency=medium + + * Non-maintainer upload. + * Fix FTCBFS: Pass --cc and --pkg-config to configure. (Closes: #-1) + + -- Helmut Grohne <hel...@subdivi.de> Sun, 31 Oct 2021 12:02:49 +0100 + birdfont (2.29.6-1) unstable; urgency=medium * New upstream release diff --minimal -Nru birdfont-2.29.6/debian/rules birdfont-2.29.6/debian/rules --- birdfont-2.29.6/debian/rules 2021-10-23 14:57:34.000000000 +0200 +++ birdfont-2.29.6/debian/rules 2021-10-31 12:02:42.000000000 +0100 @@ -1,7 +1,8 @@ #!/usr/bin/make -f #export DH_VERBOSE=1 -DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH) +include /usr/share/dpkg/architecture.mk +include /usr/share/dpkg/buildtools.mk # see http://wiki.debian.org/Hardening export DEB_BUILD_MAINT_OPTIONS := hardening=+all @@ -11,7 +12,7 @@ dh $@ override_dh_auto_configure: - $(CURDIR)/configure --cflags="$(CFLAGS) $(CPPFLAGS)" --ldflags="$(LDFLAGS)" --valac-flags="$(VALAFLAGS)" + $(CURDIR)/configure --cc="$(CC)" --pkg-config="$(PKG_CONFIG)" --cflags="$(CFLAGS) $(CPPFLAGS)" --ldflags="$(LDFLAGS)" --valac-flags="$(VALAFLAGS)" override_dh_auto_build: $(CURDIR)/build.py