Source: libtracefs
Version: 1.2.5-1
Tags: patch
User: [email protected]
Usertags: ftcbfs

libtracefs fails to cross build from source, because make clean fails
using the build architecture pkg-config and failing to find required
components. Exporting build tools for all targets easily fixes this.
Please consider applying the attached patch.

Helmut
diff --minimal -Nru libtracefs-1.2.5/debian/changelog 
libtracefs-1.2.5/debian/changelog
--- libtracefs-1.2.5/debian/changelog   2021-08-30 00:56:07.000000000 +0200
+++ libtracefs-1.2.5/debian/changelog   2022-01-10 20:46:09.000000000 +0100
@@ -1,3 +1,10 @@
+libtracefs (1.2.5-1.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTCBFS: Export build tools for all targets. (Closes: #-1)
+
+ -- Helmut Grohne <[email protected]>  Mon, 10 Jan 2022 20:46:09 +0100
+
 libtracefs (1.2.5-1) unstable; urgency=medium
 
   * Upload to unstable.
diff --minimal -Nru libtracefs-1.2.5/debian/rules libtracefs-1.2.5/debian/rules
--- libtracefs-1.2.5/debian/rules       2021-05-23 17:11:15.000000000 +0200
+++ libtracefs-1.2.5/debian/rules       2022-01-10 12:46:08.000000000 +0100
@@ -1,6 +1,8 @@
 #!/usr/bin/make -f
 
 include /usr/share/dpkg/architecture.mk
+DPKG_EXPORT_BUILDTOOLS=1
+-include /usr/share/dpkg/buildtools.mk
 
 ifeq (,$(findstring terse,$(DEB_BUILD_OPTIONS)))
         VERBOSE=1

Reply via email to