Package: synfig Version: 1.2.2-1 Tags: patch User: helm...@debian.org Usertags: rebootstrap Control: affects -1 + src:synfigstudio
synfigstudio fails to cross build from source, because it fails running synfig with an "Exec format error". Usually, that means a dependency was (in this case synfig) was installed for the wrong architecture. In this case, it makes sense to fix the problem on the synfig side. Since synfig works with architecture-independent file formats (.sif, which is xml based and various image formats), it is correct to mark synfig Multi-Arch: foreign. Doing so makes the synfigstudio build proceed. While at it, the attached patch also adds the relevant Multi-Arch annotations for libsynfig0a and synfig-examples. Please consider applying it. Helmut
diff --minimal -Nru synfig-1.2.2/debian/changelog synfig-1.2.2/debian/changelog --- synfig-1.2.2/debian/changelog 2019-01-31 07:41:06.000000000 +0100 +++ synfig-1.2.2/debian/changelog 2019-02-02 08:59:23.000000000 +0100 @@ -1,3 +1,12 @@ +synfig (1.2.2-1.1) UNRELEASED; urgency=medium + + * Non-maintainer upload. + * Mark synfig Multi-Arch: foreign (Closes: #-1). + * Mark libsynfig0a Multi-Arch: same. + * Mark synfig-examples Multi-Arch: foreign. + + -- Helmut Grohne <hel...@subdivi.de> Sat, 02 Feb 2019 08:59:23 +0100 + synfig (1.2.2-1) unstable; urgency=medium [ Alexis Bienvenüe ] diff --minimal -Nru synfig-1.2.2/debian/control synfig-1.2.2/debian/control --- synfig-1.2.2/debian/control 2019-01-31 07:41:06.000000000 +0100 +++ synfig-1.2.2/debian/control 2019-02-02 08:59:20.000000000 +0100 @@ -33,6 +33,7 @@ Package: synfig Architecture: any +Multi-Arch: foreign Depends: ${shlibs:Depends}, ${misc:Depends} Suggests: synfigstudio, @@ -47,6 +48,7 @@ Package: libsynfig0a Section: libs Architecture: any +Multi-Arch: same Pre-Depends: ${misc:Pre-Depends} Depends: ${shlibs:Depends}, ${misc:Depends}, @@ -76,6 +78,7 @@ Package: synfig-examples Architecture: all +Multi-Arch: foreign Suggests: synfigstudio Conflicts: libsynfig-doc Replaces: libsynfig-doc