[Debian-med-packaging] Bug#989769: libstatgen FTCBFS: debian/rules uses the build architecture compiler as a make default
Helmut Grohne
helmut at subdivi.de
Sat Jun 12 07:55:11 BST 2021
Source: libstatgen
Version: 1.0.14-7
Tags: patch
User: debian-cross at 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
-------------- next part --------------
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 <helmutg at 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
More information about the Debian-med-packaging
mailing list