[Pkg-opencl-devel] Bug#950805: ocl-icd FTCBFS: fails running ruby

Helmut Grohne helmut at subdivi.de
Thu Feb 6 18:55:36 GMT 2020


Source: ocl-icd
Version: 2.2.12-3
Tags: patch
User: debian-cross at 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
-------------- next part --------------
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 <helmut at 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-devel at lists.alioth.debian.org>
 Uploaders: Vincent Danjean <vdanjean at debian.org>,
 Build-Depends: debhelper-compat (= 12),
-               ruby,
+               ruby:any,
                faketime,
                autoconf (>= 2.68),
                automake,


More information about the Pkg-opencl-devel mailing list