#1001074 ldns FTCBFS: python uses the build architecture library

Package:
src:ldns
Source:
ldns
Submitter:
Helmut Grohne
Date:
2022-04-26 15:42:02 UTC
Severity:
normal
Tags:
#1001074#5
Date:
2021-12-03 16:05:59 UTC
From:
To:
ldns fails to cross build from source, because the python build
misdetects the python libraries and attempts to use the build
architecture ones. To fix this, one has to export
_PYTHON_SYSCONFIGDATA_NAME. When building a python extension with
pybuild, this is handled by pybuild, but we don't have automation for
this case. Please consider applying the attached patch.

Helmut

#1001074#10
Date:
2022-04-26 15:38:24 UTC
From:
To:
Hello!
+	_PYTHON_SYSCONFIGDATA_NAME=_sysconfigdata__$(DEB_HOST_ARCH_OS)_$(DEB_HOST_MULTIARCH) \

How does this work in relation to #952844 ?

I'm not a python expert, never dealt with python actually,
and especially I know nothing about these internal
variables, what does they mean.  Is it documented
somewhere?  Are they stable (ie, will it work with/for
future python versions)? (From the name of this var
it does not seem so).

Thanks,

/mjt