Bug#979280: heaptrack FTCBFS: disables half of the build

Helmut Grohne helmut at subdivi.de
Mon Jan 4 22:08:43 GMT 2021


Source: heaptrack
Version: 1.2.0-1
Tags: patch
User: debian-cross at lists.debian.org
Usertags: ftcbfs

heaptrack fails to cross build from source, because the upstream build
system decides to build less functionality during cross builds and then
dh_install fails. We need to explicitly enable the used features to make
it work for cross builds as well. Please consider applying the attached
patch.

Helmut
-------------- next part --------------
diff --minimal -Nru heaptrack-1.2.0/debian/changelog heaptrack-1.2.0/debian/changelog
--- heaptrack-1.2.0/debian/changelog	2020-11-20 22:05:40.000000000 +0100
+++ heaptrack-1.2.0/debian/changelog	2021-01-04 22:47:33.000000000 +0100
@@ -1,3 +1,10 @@
+heaptrack (1.2.0-1.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTCBFS: Build the same way as natively. (Closes: #-1)
+
+ -- Helmut Grohne <helmut at subdivi.de>  Mon, 04 Jan 2021 22:47:33 +0100
+
 heaptrack (1.2.0-1) unstable; urgency=medium
 
   * [f3ec34f] New upstream version 1.2.0
diff --minimal -Nru heaptrack-1.2.0/debian/rules heaptrack-1.2.0/debian/rules
--- heaptrack-1.2.0/debian/rules	2020-11-20 22:00:19.000000000 +0100
+++ heaptrack-1.2.0/debian/rules	2021-01-04 22:47:33.000000000 +0100
@@ -4,6 +4,9 @@
 %:
 	dh $@ --builddirectory=$(BUILDDIR)
 
+override_dh_auto_configure:
+	dh_auto_configure -- -DHEAPTRACK_BUILD_PRINT=ON -DHEAPTRACK_BUILD_GUI=ON
+
 # Unittests are disabled on mips due to build failures
 # It looks like the crash is happening in libunwind,
 # needs to be investigated


More information about the debian-science-maintainers mailing list