Source: libstatgen Version: 1.0.14-7 Tags: patch User: debian-cr...@lists.debian.org Usertags: ftcbfs
libstatgen fails to cross build from source (for amd64 when built on arm64), because debian/rules uses $(CXX) without initializing it. The easiest way of fixing that - using dpkg's buildtools.mk - makes libstatgen cross buildable. Please consider applying the attached patch. Helmut
diff -Nru libstatgen-1.0.14/debian/changelog libstatgen-1.0.14/debian/changelog --- libstatgen-1.0.14/debian/changelog 2020-08-03 21:32:36.000000000 +0100 +++ libstatgen-1.0.14/debian/changelog 2021-06-12 07:51:24.000000000 +0100 @@ -1,3 +1,10 @@ +libstatgen (1.0.14-7.1) UNRELEASED; urgency=medium + + * Non-maintainer upload. + * Fix FTCBFS: Let dpkg's buildtools.mk supply $(CC). (Closes: #-1) + + -- Helmut Grohne <helm...@einval.com> Sat, 12 Jun 2021 07:51:24 +0100 + libstatgen (1.0.14-7) unstable; urgency=medium * Team upload. diff -Nru libstatgen-1.0.14/debian/rules libstatgen-1.0.14/debian/rules --- libstatgen-1.0.14/debian/rules 2020-08-03 21:32:36.000000000 +0100 +++ libstatgen-1.0.14/debian/rules 2021-06-12 06:36:27.000000000 +0100 @@ -1,6 +1,7 @@ #!/usr/bin/make -f export DEB_BUILD_MAINT_OPTIONS = hardening=+all +-include /usr/share/dpkg/buildtools.mk # Define SONAME for shared library LIBNAME=libStatGen