Package dependencies do not allow libopencl1 providers other than ocl-icd-libopencl1

Bug #1581582 reported by Abigail
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
clinfo (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

The package dependencies are as follows:
    Depends: libc6 (>= 2.14), ocl-icd-libopencl1 | libopencl1, ocl-icd-libopencl1 (>= 1.0) | libopencl-1.1-1

This means that, for example, if I use Nvidia's latest ICD loader implementation, nvidia-libopencl1-361, then I can't install clinfo.

There are multiple packages which provide libopencl1 - not just ocl-icd-libopencl1 (which contains Khronos' reference implementation) but nvidia-libopencl1-xxx, an implementation accompanying each Nvidia ICD (though they're not specifically tied to that ICD). Upstream in Debian there's also amd-libopencl1.

This package - as far as I can tell - should only depend on libc6 (>= 2.14) and libopencl1. It should function with any package that provides libopencl1, whether it's a vendor-provided implementation or Khronos' reference implementation.

Ubuntu version: 16.04
Package version: 2.1.16.01.12-1

Revision history for this message
Abigail (abigail-buccaneer) wrote :

Note that this does not affect debian upstream: all of the packages that provide libopencl1 in debian stable also provide libopencl-1.1-1.

Compare:
http://packages.ubuntu.com/xenial/clinfo
https://packages.debian.org/jessie/clinfo

Revision history for this message
Andreas Beckmann (anbe) wrote :

this is fixed in ocl-icd 2.2.12-2, clinfo needs to be rebuilt against this version once it has reached Ubuntu

Changed in clinfo (Ubuntu):
status: New → In Progress
Changed in clinfo (Ubuntu):
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.