Source: python3.11
Source-Version: 3.11.6-3
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 3f971478072c67ae6a0009edf5b7cad90c4cd4d9 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 f9486a9..af4e74c 100644
--- a/debian/control
+++ b/debian/control
@@ -12,7 +12,7 @@ Build-Depends: debhelper (>= 11), dpkg-dev (>= 1.17.11),
   libexpat1-dev,
   libbluetooth-dev [linux-any] <!pkg.python3.11.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.11:any <cross>,
   net-tools, xvfb <!nocheck>, xauth <!nocheck>, tzdata <!nocheck>,
diff --git a/debian/control.in b/debian/control.in
index 844c2af..c0e0c01 100644
--- a/debian/control.in
+++ b/debian/control.in
@@ -12,7 +12,7 @@ Build-Depends: debhelper (>= 11), @bd_dpkgdev@
   libexpat1-dev,
   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>, tzdata <!nocheck>,
diff --git a/debian/rules b/debian/rules
index 7b12479..492acd8 100755
--- a/debian/rules
+++ b/debian/rules
@@ -440,7 +440,7 @@ common_configure_args = \
 		--with-ssl-default-suites=openssl \
 		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
@@ -597,11 +597,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
@@ -716,7 +716,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