Package: xa65 Version: 2.4.1-0.1 Tags: patch User: [email protected] Usertags: ftcbfs Control: affects -1 + src:ocp
ocp fails to cross build from source, because it fails running xa with an "Exec format error". Usually, that indicates that the providing package should be installed for the build architecture. While xa65 handles binary formats, the architecture it operates on is effectively encoded into the package name rather than the package's architecture. Therefore, Multi-Arch: foreign is appropriate. Once adding it, a runnable version will be installed during ocp's cross build. I'm attaching a patch for your convenience. Helmut
diff -Nru xa-2.4.1/debian/changelog xa-2.4.1/debian/changelog --- xa-2.4.1/debian/changelog 2024-03-09 16:32:05.000000000 +0100 +++ xa-2.4.1/debian/changelog 2026-03-10 17:09:34.000000000 +0100 @@ -1,3 +1,10 @@ +xa (2.4.1-0.2) UNRELEASED; urgency=medium + + * Non-maintainer upload. + * Mark xa65 Multi-Arch: foreign. (Closes: #-1) + + -- Helmut Grohne <[email protected]> Tue, 10 Mar 2026 17:09:34 +0100 + xa (2.4.1-0.1) unstable; urgency=medium * Non-maintainer upload. diff -Nru xa-2.4.1/debian/control xa-2.4.1/debian/control --- xa-2.4.1/debian/control 2022-11-13 15:15:57.000000000 +0100 +++ xa-2.4.1/debian/control 2026-03-10 17:09:32.000000000 +0100 @@ -9,6 +9,7 @@ Package: xa65 Architecture: any +Multi-Arch: foreign Depends: ${shlibs:Depends}, ${misc:Depends} Description: cross-assembler and utility suite for 65xx/65816 processors xa65 is a cross-assembler and utility suite for the 65xx series of

