Package: mypy
Version: 1.14.1-1
Severity: important
Tags: patch

Hello,

hurd-i386 gets virtual memory allocation failures when building mypy. It
would also need to use the multi file option like most other 32bit archs
(I wonder how long linux-i386 will keep managing without it)

The attached patch fixes that, could you apply it?

Thanks,
Samuel

-- System Information:
Debian Release: trixie/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable-debug'), (500, 
'testing-debug'), (500, 'stable-security'), (500, 'stable-debug'), (500, 
'oldstable-proposed-updates-debug'), (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.12.6-amd64 (SMP w/8 CPU threads; PREEMPT)
Kernel taint flags: 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 mypy depends on:
ii  python3       3.12.8-1
ii  python3-mypy  1.13.0-2

Versions of packages mypy recommends:
ii  python3-typeshed  0.0~git20241223.ea91db2-1

Versions of packages mypy suggests:
pn  mypy-doc  <none>

-- no debconf information

-- 
Samuel
As usual, this being a 1.3.x release, I haven't even compiled this
kernel yet.  So if it works, you should be doubly impressed.
(Linus Torvalds, announcing kernel 1.3.3 on the linux-kernel mailing list.)
--- debian/rules.original       2025-01-16 19:32:20.000000000 +0000
+++ debian/rules        2025-01-17 09:25:38.000000000 +0000
@@ -9,13 +9,13 @@
 export DEB_BUILD_MAINT_OPTIONS=hardening=+all
 include /usr/share/dpkg/default.mk
 
-ifneq (,$(filter $(DEB_HOST_ARCH),armel armhf mips64el hppa riscv64 mipsel 
alpha ia64 m68k powerpc sh4 sparc64))
+ifneq (,$(filter $(DEB_HOST_ARCH),armel armhf mips64el hppa riscv64 mipsel 
alpha ia64 m68k powerpc sh4 sparc64 hurd-i386))
   export MYPYC_MULTI_FILE=1
 endif
 
 export DEB_CFLAGS_MAINT_APPEND += -Wno-misleading-indentation
 
-ifneq (,$(filter $(DEB_HOST_ARCH),i386 x32))
+ifneq (,$(filter $(DEB_HOST_ARCH_CPU),i386 x32))
   export MYPYC_DEBUG_LEVEL=1
 else
   export MYPYC_DEBUG_LEVEL=2

Reply via email to