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

Dear Maintainer,

W/o newer dpkg we cannot correctly build cross-Binutils for ARC
as target architecture won't be recognized. And so we disabled it
with [1]. And once new dpkg gets uploaded we're ready to re-enable this one
with a patch below.

[1] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=994287

-Alexey

--------------------------->8-----------------------
--- a/debian/rules
+++ b/debian/rules
@@ -116,14 +116,11 @@
 install_binary = install -m 755 -s --strip-program="$(STRIP)"
 
 NATIVE_ARCHS ?= amd64 i386 arm64 armhf armel ppc64el s390x
-NATIVE_ARCHS += alpha hppa ia64 m68k powerpc ppc64 \
+NATIVE_ARCHS += alpha arc hppa ia64 m68k powerpc ppc64 \
        riscv64 sh4 sparc64 x32
 NATIVE_ARCHS += hurd-i386 kfreebsd-amd64 kfreebsd-i386
 #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
 ifneq ($(distribution)-$(CROSS_ARCHS),Ubuntu-)
@@ -140,12 +137,10 @@
     # DEB_HOST_ARCH is filtered-out later anyway, do not test here.
     CROSS_ARCHS ?= amd64 i386 x32 \
                    s390x ppc64el arm64 armhf armel \
-                   alpha hppa m68k \
+                   alpha arc 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