Subject: bug#66072: Duplicate/conflicting definitions for ocl-icd

From: Guillaume Le Vaillant <[email-masked]>
Date: Mon, 18 Sep 2023 12:34:57 +0000

Hi.
There are currently two conflicting definitions of ocl-icd in
"opencl.scm":

--8<---------------cut here---------------start------------->8---
(define-public ocl-icd
  (deprecated-package "ocl-icd" opencl-icd-loader))
--8<---------------cut here---------------end--------------->8---

and

--8<---------------cut here---------------start------------->8---
(define-public ocl-icd
  (package
    (name "ocl-icd")
    (version "2.3.2")
    (source
     (origin
       (method git-fetch)
       (uri (git-reference
             (url "https://github.com/OCL-dev/ocl-icd")
             (commit (string-append "v" version))))
       (file-name (git-file-name name version))
       (sha256
        (base32 "0y0lnxb6zlhfb5vxxib5n1vvxa4b23qc0j3lsih6yjz9j37mj7wz"))))
    (build-system gnu-build-system)
    (native-inputs
     (list autoconf automake libtool ruby))
    (home-page "https://github.com/OCL-dev/ocl-icd")
    (synopsis "Generic OpenCL @acronym{ICD, Installable Client Driver} loader")
    (description
     "This package provides an OpenCL @acronym{ICD, Installable Client Driver}
loader.  It maintains a YAML database of all known and guessed function pointers
from vendor-specific drivers.  It also delivers a skeleton of bindings to
incorporate inside an OpenCL implementation to give it ICD functionalities.")
    (license license:bsd-2)))
--8<---------------cut here---------------end--------------->8---

Which is the good one?