Source: ocl-icd Version: 2.2.12-3 Tags: patch User: debian-cr...@lists.debian.org Usertags: ftcbfs
ocl-icd fails to cross build from source, because it fails running ruby with an Exec format error. ocl-icd build depends on plain ruby, which is interpreted as a host architecture ruby, which cannot be assumed to be runnable. ruby is used as a code generator here and thus it should be installed for the build architecture. Annotating the dependency with :any (or :native) makes ocl-icd cross buildable. Please consider applying the attached patch. Helmut
diff --minimal -Nru ocl-icd-2.2.12/debian/changelog ocl-icd-2.2.12/debian/changelog --- ocl-icd-2.2.12/debian/changelog 2020-01-30 14:00:41.000000000 +0100 +++ ocl-icd-2.2.12/debian/changelog 2020-02-06 19:51:48.000000000 +0100 @@ -1,3 +1,10 @@ +ocl-icd (2.2.12-3.1) UNRELEASED; urgency=medium + + * Non-maintainer upload. + * Fix FTCBFS: Annotate ruby build dependency with :any. (Closes: #-1) + + -- Helmut Grohne <hel...@subdivi.de> Thu, 06 Feb 2020 19:51:48 +0100 + ocl-icd (2.2.12-3) unstable; urgency=medium * Team upload. diff --minimal -Nru ocl-icd-2.2.12/debian/control ocl-icd-2.2.12/debian/control --- ocl-icd-2.2.12/debian/control 2020-01-30 14:00:41.000000000 +0100 +++ ocl-icd-2.2.12/debian/control 2020-02-06 19:51:47.000000000 +0100 @@ -4,7 +4,7 @@ Maintainer: Debian OpenCL Maintainers <pkg-opencl-de...@lists.alioth.debian.org> Uploaders: Vincent Danjean <vdanj...@debian.org>, Build-Depends: debhelper-compat (= 12), - ruby, + ruby:any, faketime, autoconf (>= 2.68), automake,