Source: v4l-utils Version: 1.16.1-1 Tags: patch User: helm...@debian.org Usertags: rebootstrap
v4l-utils' build dependency on clang poses issues for cross compilation. The dependency asks for the host architecture clang, which cannot be run. It's not obvious that just changing it to the build architecture clang works as clang has an architecture-dependent default target. However, v4l-utils uses clang for compiling bpf sources and therefore always passes -target to clang. And that means we can indeed safely annotate it with :native. Please consider applying the attached patch. Helmut
diff --minimal -Nru v4l-utils-1.16.1/debian/changelog v4l-utils-1.16.1/debian/changelog --- v4l-utils-1.16.1/debian/changelog 2018-10-18 20:18:22.000000000 +0200 +++ v4l-utils-1.16.1/debian/changelog 2018-11-04 20:44:51.000000000 +0100 @@ -1,3 +1,10 @@ +v4l-utils (1.16.1-1.1) UNRELEASED; urgency=medium + + * Non-maintainer upload. + * Annotate clang Build-Depends with :native. (Closes: #-1) + + -- Helmut Grohne <hel...@subdivi.de> Sun, 04 Nov 2018 20:44:51 +0100 + v4l-utils (1.16.1-1) unstable; urgency=low * Imported Upstream version 1.16.1 diff --minimal -Nru v4l-utils-1.16.1/debian/control v4l-utils-1.16.1/debian/control --- v4l-utils-1.16.1/debian/control 2018-10-18 20:18:22.000000000 +0200 +++ v4l-utils-1.16.1/debian/control 2018-11-04 20:44:51.000000000 +0100 @@ -7,7 +7,7 @@ Build-Depends: debhelper (>= 8.1.3), dh-autoreconf, autotools-dev, - clang, + clang:native, doxygen, gettext, graphviz,