Package: binutils-source
Version: 2.37-6
Severity: normal
Tags: patch

Dear Maintainer,

ARC support introduced via [1] enabled builds of cross-binutils
for ARC, but with older dpkg which doesn't know ARC architecture
it leads to buold failures see [2].

Let's disable building of cross-binutils for ARC until dpkg with
so much needed fix [3], [4] gets uploaded.

[1] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=994190
[2] https://buildd.debian.org/status/logs.php?pkg=binutils&ver=2.37-6&arch=all
[3] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=980963
[4] 
https://salsa.debian.org/dpkg-team/dpkg/-/commit/0d134cdcb0dcc6b21fa7926964c1426a5821181d

-Alexey

------------------------>8------------------------
--- a/debian/rules
+++ b/debian/rules
@@ -119,7 +119,10 @@
 NATIVE_ARCHS += alpha hppa ia64 m68k powerpc ppc64 \
        riscv64 sh4 sparc64 x32
 NATIVE_ARCHS += hurd-i386 kfreebsd-amd64 kfreebsd-i386
-#NATIVE_ARCHS += arc nios2 or1k s390 sparc
+#NATIVE_ARCHS += nios2 or1k s390 sparc
+
+# Once dpkg with ARC support is uploaded, add "arc" as well
+#NATIVE_ARCHS += arc
 
 # don't generate the control file entries for native packages which are never
 # built. Only valid for Ubuntu. The autopkg testers get confused otherwise
@@ -137,10 +140,12 @@
     # DEB_HOST_ARCH is filtered-out later anyway, do not test here.
     CROSS_ARCHS ?= amd64 i386 x32 \
                    s390x ppc64el arm64 armhf armel \
-                   alpha arc hppa m68k \
+                   alpha hppa m68k \
                    powerpc ppc64 sh4 sparc64 \
                    ia64 riscv64 \
                    kfreebsd-amd64 kfreebsd-i386 hurd-i386
+    # Once dpkg with ARC support is uploaded, add "arc" as well
+    #              arc
   else ifeq ($(DEB_HOST_ARCH),arm64)
     CROSS_ARCHS ?= amd64 armel armhf i386 ppc64el riscv64 s390x x32
   else ifeq ($(DEB_HOST_ARCH),ppc64)
------------------------>8------------------------

-- System Information:
Debian Release: bullseye/sid
  APT prefers focal-updates
  APT policy: (500, 'focal-updates'), (500, 'focal-security'), (500, 
'focal-proposed'), (500, 'focal'), (100, 'focal-backports')
Architecture: amd64 (x86_64)

Kernel: Linux 5.4.72-microsoft-standard-WSL2 (SMP w/12 CPU cores)
Locale: LANG=C.UTF-8, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE=C.UTF-8 
(charmap=UTF-8)
Shell: /bin/sh linked to /usr/bin/dash
Init: unable to detect

Versions of packages binutils-source depends on:
ii  make        4.2.1-1.2
ii  python3     3.8.2-0ubuntu2
ii  texinfo     6.7.0.dfsg.2-5
ii  zlib1g-dev  1:1.2.11.dfsg-2ubuntu1.2

binutils-source recommends no packages.

binutils-source suggests no packages.

Reply via email to