[Python-modules-team] Bug#1060093: lirc: FTBFS on hurd-i386
Samuel Thibault
sthibault at debian.org
Fri Jan 5 20:58:43 GMT 2024
Hello,
Thanks for your patches.
Svante Signell, le ven. 05 janv. 2024 21:14:19 +0100, a ecrit:
> --- a/debian/rules 2023-12-16 18:35:11.000000000 +0100
> +++ b/debian/rules 2024-01-02 12:49:12.000000000 +0100
> @@ -4,7 +4,14 @@
> include /usr/share/dpkg/pkg-info.mk
>
> export DEB_BUILD_MAINT_OPTIONS = hardening=+all
> -export _PYTHON_SYSCONFIGDATA_NAME=_sysconfigdata__$(DEB_HOST_ARCH_OS)_$(DEB_HOST_MULTIARCH)
> +
> +ifeq ($(DEB_HOST_ARCH_OS), hurd)
> +#FIXME: Replace gnu0 with either gnu or hurd in python3.11!
> +#/usr/lib/python3.11/__pycache__/_sysconfigdata__gnu0_i386-gnu.cpython-311.pyc
> + export _PYTHON_SYSCONFIGDATA_NAME=_sysconfigdata__gnu0_$(DEB_HOST_MULTIARCH)
> +else
> + export _PYTHON_SYSCONFIGDATA_NAME=_sysconfigdata__$(DEB_HOST_ARCH_OS)_$(DEB_HOST_MULTIARCH)
Probably better just ask python itself:
export _PYTHON_SYSCONFIGDATA_NAME:=_sysconfigdata__$(shell python3 -c 'import os; print(os.sys.platform)')_$(DEB_HOST_MULTIARCH)
> @@ -33,7 +40,7 @@
> else
> dh_auto_configure -- \
> SH_PATH=/bin/sh \
> - MODINFO=/sbin/modinfo \
> + MODINFO= \
> --disable-uinput --disable-devinput
We do want modinfo on the linux platform, please make this os-specific.
Samuel
More information about the Python-modules-team
mailing list