Package: liborc-0.4-dev Version: 1:0.4.26-1 Tags: patch User: helm...@debian.org Usertags: rebootstrap Control: affects -1 + src:buzztrax src:ffmpeg src:gnuradio src:gst-libav1.0 src:gst-plugins-base1.0 src:gst-plugins-good1.0 src:libquicktime src:lives src:mplayer src:pulseaudio src:schroedinger src:uhd
Cross compiling the packages listed above results in a failure to execute orcc. orcc resides in liborc-0.4-dev which is usually a host architecture dependency and thus orcc also is a host architecture executable, which cannot be run. I propose splitting liborc-0.4-dev into liborc-0.4-dev-bin. The latter would take over the binaries from liborc-0.4-dev. Since at least orc-bugreport looks like it has architecture-dependent output, I don't think we can mark it Multi-Arch: foreign. Thus I propose marking liborc-0.4-dev-bin Multi-Arch: allowed and having liborc-0.4-dev depend on liborc-0.4-dev-bin:any. Practically, this results in liborc-0.4-dev-bin being installed for the build architecture and thus fixing cross builds. Please consider applying the attached patch. If you have more insight into what these binaries do, consider using Multi-Arch: foreign if that is appropriate. You may have to adapt the versions listed in Breaks and Replaces. Helmut
diff --minimal -Nru orc-0.4.26/debian/changelog orc-0.4.26/debian/changelog --- orc-0.4.26/debian/changelog 2016-08-31 12:13:32.000000000 +0200 +++ orc-0.4.26/debian/changelog 2016-10-23 17:27:50.000000000 +0200 @@ -1,3 +1,10 @@ +orc (1:0.4.26-1.1) UNRELEASED; urgency=medium + + * Non-maintainer upload. + * Split orcc into a separate M-A:allowed package. (Closes: #-1) + + -- Helmut Grohne <hel...@subdivi.de> Sun, 23 Oct 2016 17:27:31 +0200 + orc (1:0.4.26-1) unstable; urgency=medium * New upstream bugfix release. diff --minimal -Nru orc-0.4.26/debian/control orc-0.4.26/debian/control --- orc-0.4.26/debian/control 2015-06-24 22:22:16.000000000 +0200 +++ orc-0.4.26/debian/control 2016-10-23 17:31:20.000000000 +0200 @@ -40,6 +40,7 @@ Section: libdevel Architecture: any Depends: liborc-0.4-0 (= ${binary:Version}), + liborc-0.4-dev-bin:any (= ${binary:Version}), ${misc:Depends}, ${shlibs:Depends} Provides: liborc-dev @@ -54,6 +55,24 @@ This package contains the development headers and libraries, and should be installed to compile software that uses orc. +Package: liborc-0.4-dev-bin +Section: libdevel +Architecture: any +Multi-Arch: allowed +Depends: ${misc:Depends}, ${shlibs:Depends} +Provides: liborc-dev-bin +Breaks: liborc-0.4-dev (<< 1:0.4.26-1.1~) +Replaces: liborc-0.4-dev (<< 1:0.4.26-1.1~) +Description: Library of Optimized Inner Loops Runtime Compiler (development tools) + Orc is a library and set of tools for compiling and executing + very simple programs that operate on arrays of data. The "language" + is a generic assembly language that represents many of the features + available in SIMD architectures, including saturated addition and + subtraction, and many arithmetic operations. + . + This package contains the development tools, and should not be + installed directly. + Package: liborc-0.4-0-dbg Section: debug Architecture: any diff --minimal -Nru orc-0.4.26/debian/liborc-0.4-dev-bin.install orc-0.4.26/debian/liborc-0.4-dev-bin.install --- orc-0.4.26/debian/liborc-0.4-dev-bin.install 1970-01-01 01:00:00.000000000 +0100 +++ orc-0.4.26/debian/liborc-0.4-dev-bin.install 2016-10-23 17:27:05.000000000 +0200 @@ -0,0 +1,2 @@ +debian/tmp/usr/bin/orc-bugreport +debian/tmp/usr/bin/orcc diff --minimal -Nru orc-0.4.26/debian/liborc-0.4-dev.install orc-0.4.26/debian/liborc-0.4-dev.install --- orc-0.4.26/debian/liborc-0.4-dev.install 2015-06-24 22:22:16.000000000 +0200 +++ orc-0.4.26/debian/liborc-0.4-dev.install 2016-10-23 17:27:07.000000000 +0200 @@ -1,5 +1,3 @@ -debian/tmp/usr/bin/orc-bugreport -debian/tmp/usr/bin/orcc debian/tmp/usr/include/orc-0.4 debian/tmp/usr/lib/*/liborc*-0.4.a debian/tmp/usr/lib/*/liborc*-0.4.so