[Pkg-tcltk-devel] Bug#1012282: tclxml FTCBFS: uses the build architecture pkg-config
Helmut Grohne
helmut at subdivi.de
Thu Jun 2 16:13:52 BST 2022
Source: tclxml
Version: 1:3.2.7-6
Tags: patch
User: debian-cross at lists.debian.org
Usertags: ftcbfs
tclxml fails to cross build from source, because it hard codes the build
architecture pkg-config in debian/rules. Please consider applying the
attached patch to make it cross buildable.
Helmut
-------------- next part --------------
diff --minimal -Nru tclxml-3.2.7/debian/changelog tclxml-3.2.7/debian/changelog
--- tclxml-3.2.7/debian/changelog 2022-05-31 10:28:54.000000000 +0200
+++ tclxml-3.2.7/debian/changelog 2022-06-02 17:09:58.000000000 +0200
@@ -1,3 +1,10 @@
+tclxml (1:3.2.7-6.1) UNRELEASED; urgency=medium
+
+ * Non-maintainer upload.
+ * Fix FTCBFS: Use the host architecture pkg-config. Closes: #-1
+
+ -- Helmut Grohne <helmut at subdivi.de> Thu, 02 Jun 2022 17:09:58 +0200
+
tclxml (1:3.2.7-6) unstable; urgency=medium
* Rename bool to boolean since bool is now a type in C. Closes: #1011718
diff --minimal -Nru tclxml-3.2.7/debian/rules tclxml-3.2.7/debian/rules
--- tclxml-3.2.7/debian/rules 2022-05-31 10:27:32.000000000 +0200
+++ tclxml-3.2.7/debian/rules 2022-06-02 17:09:57.000000000 +0200
@@ -3,11 +3,14 @@
# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1
+include /usr/share/dpkg/architecture.mk
+include /usr/share/dpkg/buildtools.mk
+
%:
dh $@
override_dh_auto_configure:
- dh_auto_configure -- --libdir=/usr/lib/tcltk/$(DEB_HOST_MULTIARCH) --enable-stubs --with-xml2-config="pkg-config libxml-2.0" --with-xslt-config="pkg-config libxslt"
+ dh_auto_configure -- --libdir=/usr/lib/tcltk/$(DEB_HOST_MULTIARCH) --enable-stubs --with-xml2-config="$(PKG_CONFIG) libxml-2.0" --with-xslt-config="$(PKG_CONFIG) libxslt"
override_dh_auto_test:
# ignore builtin tests
More information about the Pkg-tcltk-devel
mailing list