Package: python3.11
Version: 3.11.8-1
Severity: important
Tags: patch
User: debian-h...@lists.debian.org
Usertags: hurd

Hello,

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

-- System Information:
Debian Release: trixie/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable-debug'), (500, 'unreleased'), 
(500, 'testing-debug'), (500, 'stable-security'), (500, 'stable-debug'), (500, 
'oldstable-proposed-updates-debug'), (500, 'oldstable-proposed-updates'), (500, 
'oldoldstable-proposed-updates'), (500, 'oldoldstable'), (500, 
'buildd-unstable'), (500, 'unstable'), (500, 'stable'), (500, 'oldstable'), (1, 
'experimental-debug'), (1, 'buildd-experimental'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386, arm64

Kernel: Linux 6.7.0 (SMP w/8 CPU threads; PREEMPT)
Kernel taint flags: TAINT_WARN, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages python3.11 depends on:
ii  libpython3.11-stdlib  3.11.8-1
ii  media-types           10.1.0
ii  mime-support          3.66
ii  python3.11-minimal    3.11.8-1

Versions of packages python3.11 recommends:
ii  ca-certificates  20240203

Versions of packages python3.11 suggests:
ii  binutils         2.42-3
pn  python3.11-doc   <none>
ii  python3.11-venv  3.11.8-1

-- no debconf information

-- 
Samuel
---
Pour une évaluation indépendante, transparente et rigoureuse !
Je soutiens la Commission d'Évaluation de l'Inria.
--- 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