Package: binutils-avr Version: 2.26.20160125+Atmel3.6.1-1 Tags: patch User: helm...@debian.org Usertags: rebootstrap Control: affects -1 + src:gcc-avr
gcc-avr fails to cross build from source, because it fails running avr-ld with an "Exec format error". The typical fix is marking binutils-avr Multi-Arch: foreign and here it actually is correct, because the architecture-dependence (the target name) is encoded into the binary package name. Please consider applying the attached patch. Helmut
diff -u binutils-avr-2.26.20160125+Atmel3.6.1/debian/changelog binutils-avr-2.26.20160125+Atmel3.6.1/debian/changelog --- binutils-avr-2.26.20160125+Atmel3.6.1/debian/changelog +++ binutils-avr-2.26.20160125+Atmel3.6.1/debian/changelog @@ -1,3 +1,10 @@ +binutils-avr (2.26.20160125+Atmel3.6.1-1.1) UNRELEASED; urgency=medium + + * Non-maintainer upload. + * Mark binutils-avr Multi-Arch: foreign (closes: #-1) + + -- Helmut Grohne <hel...@subdivi.de> Thu, 28 Jun 2018 06:41:10 +0200 + binutils-avr (2.26.20160125+Atmel3.6.1-1) unstable; urgency=medium * New upstream release diff -u binutils-avr-2.26.20160125+Atmel3.6.1/debian/control binutils-avr-2.26.20160125+Atmel3.6.1/debian/control --- binutils-avr-2.26.20160125+Atmel3.6.1/debian/control +++ binutils-avr-2.26.20160125+Atmel3.6.1/debian/control @@ -10,6 +10,7 @@ Package: binutils-avr Section: devel Architecture: any +Multi-Arch: foreign Priority: extra Depends: ${shlibs:Depends}, ${misc:Depends} Breaks: avr-libc (<< 1:1.8.0+Atmel3.5.0-1)