Bug#755513: Bug#679228: Bug #755513 : nvidia-opencl-dev: binary conflict with ocl-icd-libopencl1
graham at nerve.org.za
Thu Jul 31 14:48:17 UTC 2014
On 31/07/2014 09:59, Vincent Danjean wrote:
> all *-libopencl1 conflict/replace themselves as they provide the same
> binary (libOpenCL.so.1)
> And we need to put the correct conflict/replace for the libOpenCL.so.
> It is not hard but this file is (was?) not handled the same way by all
> OpenCL packagers. It is "just" a matter to list all packages (in wheezy
> and testing) that provide it. This will avoid to wait for users to
> detect missing conflict/replace and upload fixed packages.
In Sid, the situation is as follows:
$ apt-file search libOpenCL.so
Packages providing virtual package libopencl1 :
Packages providing virtual package opencl-dev :
So OpenCL development packages provide opencl-dev and OpenCL library
packages provide libopencl1.
If ocl-icd-libopencl1 is going to continue shipping libOpenCL.so, then I
think the conflicts/replaces simply need to be updated to amd-opencl-dev
and nvidia-opencl-dev (instead of amd-app and nvidia-libopencl1-dev), as
per my updated patch (attached).
If ocl-icd-libopencl1 is going to stop shipping libOpenCL.so, then it
only needs to conflicts/replaces on libopencl1 and the remaining
conflicts/replaces (amd-app and nvidia-libopencl1-dev) can be dropped.
Package ocl-icd-opencl-dev can then ship libOpenCL.so and no further
changes need to be made as it already conflicts/replaces on opencl-dev.
Can we agree that the fix to bug #755513 lies in ocl-icd? I'd like to
mark nvidia-cuda-toolkit as no longer being affected so it can go back
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 700 bytes
Desc: not available
More information about the pkg-nvidia-devel