Hello,

Pinging on this?

Samuel

Samuel Thibault, le lun. 04 mars 2024 23:59:15 +0100, a ecrit:
> python3.11 currently fails to build on hurd-any because debian/rules
> enables dtrace, which is not available on hurd-any.
> 
> Could you apply the attached patch that fixes this, on python3.11 as
> well as on python3.12?
> 
> Thanks,
> Samuel
--- debian/rules.orig   2024-03-03 10:23:40.000000000 +0100
+++ debian/rules        2024-03-04 23:54:06.808627222 +0100
@@ -441,7 +441,6 @@
                --with-computed-gotos \
                --without-ensurepip \
                --with-system-expat \
-               --with-dtrace \
                --with-ssl-default-suites=openssl \
                --with-wheel-pkg-dir=/usr/share/python-wheels/ \
                --with-ssl-default-suites=openssl \
@@ -453,6 +452,10 @@
   common_configure_args += --with-system-ffi
 endif
 
+ifeq (,$(filter $(DEB_HOST_ARCH_OS), hurd))
+  common_configure_args += --with-dtrace
+endif
+
 ifneq ($(DEB_HOST_GNU_TYPE),$(DEB_BUILD_GNU_TYPE))
   common_configure_args += --host=$(DEB_HOST_GNU_TYPE) 
--build=$(DEB_BUILD_GNU_TYPE)
   common_configure_args += --with-build-python

Reply via email to