Package: gcc-arm-none-eabi
Version: 15:8-2019-q3-1
Tags: patch
User: debian-cr...@lists.debian.org
Usertags: ftcbfs
Control: affects -1 + src:arm-trusted-firmware

arm-trusted-firmware fails to cross build from source, because it fails
running arm-none-eabi-gcc with an Exec format error. Packages containing
triplet-prefixed tools already tellwhich architecture they are operating
on, so their interface is considered architecture independent.
Accordingly, gcc-arm-none-eabi should be marked Multi-Arch: foreign.
While at it, we can also thus mark the -source package as it is a pure
data package. Please consider applying the attached patch.

Helmut
diff --minimal -Nru gcc-arm-none-eabi-8-2019-q3/debian/changelog 
gcc-arm-none-eabi-8-2019-q3/debian/changelog
--- gcc-arm-none-eabi-8-2019-q3/debian/changelog        2019-07-21 
05:55:22.000000000 +0200
+++ gcc-arm-none-eabi-8-2019-q3/debian/changelog        2020-05-10 
06:39:00.000000000 +0200
@@ -1,3 +1,10 @@
+gcc-arm-none-eabi (15:8-2019-q3-1.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Mark all packages Multi-arch: foreign. (Closes: #-1)
+
+ -- Helmut Grohne <hel...@subdivi.de>  Sun, 10 May 2020 06:39:00 +0200
+
 gcc-arm-none-eabi (15:8-2019-q3-1) unstable; urgency=medium
 
   [ Joaquin de Andres ]
diff --minimal -Nru gcc-arm-none-eabi-8-2019-q3/debian/control 
gcc-arm-none-eabi-8-2019-q3/debian/control
--- gcc-arm-none-eabi-8-2019-q3/debian/control  2019-07-21 05:55:22.000000000 
+0200
+++ gcc-arm-none-eabi-8-2019-q3/debian/control  2020-05-10 06:38:59.000000000 
+0200
@@ -40,6 +40,7 @@
 
 Package: gcc-arm-none-eabi
 Architecture: any
+Multi-Arch: foreign
 Depends: ${misc:Depends}, ${shlibs:Depends}, binutils-arm-none-eabi
 Recommends: libnewlib-arm-none-eabi
 Breaks: libnewlib-dev (<= 2.4.0.20160527-4), libstdc++-arm-none-eabi-newlib 
(<= 15:6.3.1+svn253039-1+10)
@@ -50,6 +51,7 @@
 
 Package: gcc-arm-none-eabi-source
 Architecture: all
+Multi-Arch: foreign
 Depends: ${misc:Depends}
 Description: GCC cross compiler for ARM Cortex-R/M processors (source)
  Bare metal C and C++ compiler for embedded ARM chips using Cortex-M, and

Reply via email to