Bug#1024590: libsearch-xapian-perl FTCBFS: uses the build architecture C++ compiler

Helmut Grohne helmut at subdivi.de
Mon Nov 21 07:19:42 GMT 2022


Source: libsearch-xapian-perl
Version: 1.2.25.5-1
Tags: patch
User: debian-cross at lists.debian.org
Usertags: ftcbfs

libsearch-xapian-perl fails to cross build from source, because it ends
up using the build architecture C++ compiler. The easiest way to
correctly initialize the CXX variable is using dpkg's buildtools.mk. I'm
attaching a patch for your convenience.

Helmut
-------------- next part --------------
diff --minimal -Nru libsearch-xapian-perl-1.2.25.5/debian/changelog libsearch-xapian-perl-1.2.25.5/debian/changelog
--- libsearch-xapian-perl-1.2.25.5/debian/changelog	2022-03-04 17:33:49.000000000 +0100
+++ libsearch-xapian-perl-1.2.25.5/debian/changelog	2022-11-21 08:11:53.000000000 +0100
@@ -1,3 +1,10 @@
+libsearch-xapian-perl (1.2.25.5-1.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTCBFS: Let dpkg's buildtools.mk initialize CXX. (Closes: #-1)
+
+ -- Helmut Grohne <helmut at subdivi.de>  Mon, 21 Nov 2022 08:11:53 +0100
+
 libsearch-xapian-perl (1.2.25.5-1) unstable; urgency=medium
 
   [ Debian Janitor ]
diff --minimal -Nru libsearch-xapian-perl-1.2.25.5/debian/rules libsearch-xapian-perl-1.2.25.5/debian/rules
--- libsearch-xapian-perl-1.2.25.5/debian/rules	2022-03-04 17:33:49.000000000 +0100
+++ libsearch-xapian-perl-1.2.25.5/debian/rules	2022-11-21 08:11:51.000000000 +0100
@@ -2,6 +2,8 @@
 
 export DEB_BUILD_MAINT_OPTIONS = hardening=+all
 export TEST_POD=1
+DPKG_EXPORT_BUILDTOOLS=1
+include /usr/share/dpkg/buildtools.mk
 
 %:
 	dh $@


More information about the pkg-perl-maintainers mailing list