Source: python3.10
Source-Version: 3.10.11-1
Severity: important
Tags: patch

Hi!

Support for this arch got removed from in dpkg 1.22.0, which means that
once the host running dak gets its dpkg upgraded to that version it
might start being unhappy about the unknown architecture.

Attached a patch that removes references to this obsolete arch.

Thanks,
Guillem
From 319681ede4f39f2ca520ccc878853809b5aa94a0 Mon Sep 17 00:00:00 2001
From: Guillem Jover <guil...@debian.org>
Date: Sat, 25 Nov 2023 23:08:52 +0100
Subject: [PATCH] Remove references to obsolete avr32 arch

Support for this arch got removed from in dpkg 1.22.0, which means that
once the host running dak gets its dpkg upgraded to that version it
might start being unhappy about the unknown architecture.
---
 debian/control    | 2 +-
 debian/control.in | 2 +-
 debian/rules      | 8 ++++----
 3 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/debian/control b/debian/control
index b91c7c3..b2a8581 100644
--- a/debian/control
+++ b/debian/control
@@ -12,7 +12,7 @@ Build-Depends: debhelper (>= 11), dpkg-dev (>= 1.17.11),
   libexpat1-dev, libmpdec-dev (>= 2.5.1~),
   libbluetooth-dev [linux-any] <!pkg.python3.10.nobluetooth>,
   locales-all,
-  libsqlite3-dev, libffi-dev (>= 3.0.5) [!or1k !avr32],
+  libsqlite3-dev, libffi-dev (>= 3.0.5) [!or1k],
   libgpm2 [linux-any],
   media-types | mime-support, netbase, bzip2, time, python3:any, python3.10:any <cross>,
   net-tools, xvfb <!nocheck>, xauth <!nocheck>,
diff --git a/debian/control.in b/debian/control.in
index 80cb526..336d117 100644
--- a/debian/control.in
+++ b/debian/control.in
@@ -12,7 +12,7 @@ Build-Depends: debhelper (>= 11), @bd_dpkgdev@
   libexpat1-dev, libmpdec-dev (>= 2.5.1~),
   libbluetooth-dev [linux-any] <!pkg.@PVER@.nobluetooth>,
   locales-all,
-  libsqlite3-dev, libffi-dev (>= 3.0.5) [!or1k !avr32],
+  libsqlite3-dev, libffi-dev (>= 3.0.5) [!or1k],
   libgpm2 [linux-any],
   media-types | mime-support, netbase, bzip2, time, python3@bd_qual@, @PVER@@bd_qual@ <cross>,
   net-tools, xvfb <!nocheck>, xauth <!nocheck>,
diff --git a/debian/rules b/debian/rules
index f281d84..d5ceec8 100755
--- a/debian/rules
+++ b/debian/rules
@@ -436,7 +436,7 @@ common_configure_args = \
 		--with-wheel-pkg-dir=/usr/share/python-wheels/ \
 		MKDIR_P="/bin/mkdir -p" \
 
-ifneq (,$(filter $(DEB_HOST_ARCH), avr32 or1k))
+ifneq (,$(filter $(DEB_HOST_ARCH), or1k))
   common_configure_args += --without-ffi
 else
   common_configure_args += --with-system-ffi
@@ -592,11 +592,11 @@ endif
 ifneq (,$(filter $(DEB_HOST_ARCH),arm64))
   TEST_EXCLUDES += test_faulthandler
 endif
-ifneq (,$(filter $(DEB_HOST_ARCH), arm avr32))
+ifneq (,$(filter $(DEB_HOST_ARCH), arm))
   TEST_EXCLUDES += test_ctypes
 endif
 TEST_EXCLUDES += test_socket
-ifneq (,$(filter $(DEB_HOST_ARCH), arm armel avr32 m68k))
+ifneq (,$(filter $(DEB_HOST_ARCH), arm armel m68k))
   ifeq ($(on_buildd),yes)
     TEST_EXCLUDES += test_compiler
   endif
@@ -711,7 +711,7 @@ endif
 stamps/stamp-pybench:
 	echo "pybench run disabled for this build" > $(buildd_static)/pybench.log
 
-#ifeq (,$(filter $(DEB_HOST_ARCH), arm armel avr32 hppa mips mipsel mips64 mips64el m68k))
+#ifeq (,$(filter $(DEB_HOST_ARCH), arm armel hppa mips mipsel mips64 mips64el m68k))
   pybench_options = -C 2 -n 5 -w 4
 #endif
 
-- 
2.42.0

Reply via email to