Source: xsd
Version: 4.0.0-8
Tags: patch
User: debian-cr...@lists.debian.org
Usertags: ftcbfs

xsd fails to cross build from source. What actually fails is the make
install step. It redetects -lxerces in a different location and attempts
to rebuild, which fails. The whole issue happens, because make install
lacks cross tools. Using dh_auto_install does not help, because
debhelper only passes cross tools via dh_auto_build. A good solution is
letting dpkg's buildtools.mk export them. Please consider applying the
attached patch.

Helmut
diff --minimal -Nru xsd-4.0.0/debian/changelog xsd-4.0.0/debian/changelog
--- xsd-4.0.0/debian/changelog  2018-05-05 19:42:32.000000000 +0200
+++ xsd-4.0.0/debian/changelog  2020-04-04 07:07:18.000000000 +0200
@@ -1,3 +1,11 @@
+xsd (4.0.0-8.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTCBFS: Use dpkg's buildtools.mk to export tools for make
+    install. (Closes: #-1)
+
+ -- Helmut Grohne <hel...@subdivi.de>  Sat, 04 Apr 2020 07:07:18 +0200
+
 xsd (4.0.0-8) unstable; urgency=medium
 
   * Team upload.
diff --minimal -Nru xsd-4.0.0/debian/rules xsd-4.0.0/debian/rules
--- xsd-4.0.0/debian/rules      2018-05-05 19:42:32.000000000 +0200
+++ xsd-4.0.0/debian/rules      2020-04-04 07:07:17.000000000 +0200
@@ -5,6 +5,9 @@
 #export DH_VERBOSE=1
 export DH_OPTIONS
 
+DPKG_EXPORT_BUILDTOOLS=1
+-include /usr/share/dpkg/buildtools.mk
+
 #
 # Hardening
 #

Reply via email to