Bug#1027717: sphinxbase FTCBFS: fails to locate python development package
Helmut Grohne
helmut at subdivi.de
Mon Jan 2 07:23:35 GMT 2023
Source: sphinxbase
Version: 0.8+5prealpha+1-14
Tags: patch
User: debian-cross at lists.debian.org
Usertags: ftcbfs
sphinxbase fails to cross build from source, because it fails locating
the Python development package. There is an environment variable that
helps and it is usually set by pybuild, but sphinxbase doesn't use
pybuild, so it'll have to set it on its own. I'm attaching a patch for
your convenience.
Helmut
-------------- next part --------------
diff --minimal -Nru sphinxbase-0.8+5prealpha+1/debian/changelog sphinxbase-0.8+5prealpha+1/debian/changelog
--- sphinxbase-0.8+5prealpha+1/debian/changelog 2023-01-01 22:51:23.000000000 +0100
+++ sphinxbase-0.8+5prealpha+1/debian/changelog 2023-01-02 08:15:57.000000000 +0100
@@ -1,3 +1,10 @@
+sphinxbase (0.8+5prealpha+1-14.1) UNRELEASED; urgency=medium
+
+ * Non-maintainer upload.
+ * Fix FTCBFS: export _PYTHON_SYSCONFIGDATA_NAME. (Closes: #-1)
+
+ -- Helmut Grohne <helmut at subdivi.de> Mon, 02 Jan 2023 08:15:57 +0100
+
sphinxbase (0.8+5prealpha+1-14) unstable; urgency=medium
[ Samuel Thibault ]
diff --minimal -Nru sphinxbase-0.8+5prealpha+1/debian/rules sphinxbase-0.8+5prealpha+1/debian/rules
--- sphinxbase-0.8+5prealpha+1/debian/rules 2022-09-18 22:36:22.000000000 +0200
+++ sphinxbase-0.8+5prealpha+1/debian/rules 2023-01-02 08:15:54.000000000 +0100
@@ -6,6 +6,9 @@
include /usr/share/dpkg/architecture.mk
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
+ifneq ($(DEB_BUILD_ARCH),$(DEB_HOST_ARCH))
+export _PYTHON_SYSCONFIGDATA_NAME=_sysconfigdata__$(DEB_HOST_MULTIARCH)
+endif
%:
dh $@
More information about the Pkg-a11y-devel
mailing list