Your message dated Mon, 01 Sep 2014 15:22:36 +0000
with message-id <e1xotre-0003zw...@franck.debian.org>
and subject line Bug#755513: fixed in ocl-icd 2.1.3-5
has caused the Debian Bug report #755513,
regarding nvidia-opencl-dev: binary conflict with ocl-icd-libopencl1
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
755513: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=755513
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: nvidia-opencl-dev
Version: 5.5.22-4
Severity: serious
Tags: patch

Dear maintainer

Installing ocl-icd-libopencl1 followed by nvidia-cuda-toolkit results in the following error:

dpkg: error processing archive /var/cache/apt/archives/nvidia-opencl-dev_5.5.22-4_amd64.deb (--unpack): trying to overwrite '/usr/lib/x86_64-linux-gnu/libOpenCL.so', which is also in package ocl-icd-libopencl1:amd64 2.1.3-4
Selecting previously unselected package nvidia-cuda-toolkit.
Preparing to unpack .../nvidia-cuda-toolkit_5.5.22-4_amd64.deb ...
Unpacking nvidia-cuda-toolkit (5.5.22-4) ...
Errors were encountered while processing:
 /var/cache/apt/archives/nvidia-opencl-dev_5.5.22-4_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

Ideally, the unversioned libOpenCL.so should not be in package ocl-icd-libopencl1, but please see bug #679228 for reasons why it is so. I believe the simplest solution is for package nvidia-opencl-dev to simply conflict with ocl-icd-libopencl1 in addition to opencl-dev, as per the attached patch.

Regards
Graham


[1] https://bugs.debian.org/679228

diff -Nru nvidia-cuda-toolkit-5.5.22/debian/control nvidia-cuda-toolkit-5.5.22/debian/control
--- nvidia-cuda-toolkit-5.5.22/debian/control	2014-03-10 08:11:48.000000000 +0000
+++ nvidia-cuda-toolkit-5.5.22/debian/control	2014-05-25 11:32:35.000000000 +0000
@@ -172,7 +171,7 @@
 Provides:
  opencl-dev,
 Conflicts:
- opencl-dev,
+ opencl-dev, ocl-icd-libopencl1
 Breaks:
  nvidia-libopencl1 (<< 304.88-7),
 Replaces:

--- End Message ---
--- Begin Message ---
Source: ocl-icd
Source-Version: 2.1.3-5

We believe that the bug you reported is fixed in the latest version of
ocl-icd, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 755...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Vincent Danjean <vdanj...@debian.org> (supplier of updated ocl-icd package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmas...@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Thu, 10 Apr 2014 21:53:41 +0200
Source: ocl-icd
Binary: ocl-icd-libopencl1 ocl-icd-opencl-dev ocl-icd-dev ocl-icd-dbg
Architecture: amd64 source
Version: 2.1.3-5
Distribution: unstable
Urgency: medium
Maintainer: Vincent Danjean <vdanj...@debian.org>
Changed-By: Vincent Danjean <vdanj...@debian.org>
Closes: 679228 739409 743607 755513
Description: 
 ocl-icd-dbg - Debug symbols for the generic OpenCL ICD Loader
 ocl-icd-dev - Development files to build a ICD Loader
 ocl-icd-libopencl1 - Generic OpenCL ICD Loader
 ocl-icd-opencl-dev - OpenCL development files
Changes:
 ocl-icd (2.1.3-5) unstable; urgency=medium
 .
   * move libOpenCL.so from runtime to devel package. Add a NEWS file for it
     (Closes: #679228, #755513)
   * Fix "[ocl-icd-libopencl1] Broken symbols file": all dependencies on virtual
     packages propose the real package as first alternative to avoid random
     installation of non-free libraries (Closes: #739409)
   * Apply patches provided by Aaron Watry (Closes: #743607)
Checksums-Sha1: 
 9ec53bf815177046e70be378fa95728a3440a5a9 2172 ocl-icd_2.1.3-5.dsc
 f9f1793816731f1602c45a8f967f1920ac690107 10816 ocl-icd_2.1.3-5.debian.tar.xz
 f99ff979ea711283a932d3fa373102eb980aa837 32496 
ocl-icd-libopencl1_2.1.3-5_amd64.deb
 528ba05be401e25df22b8b5fcfa15f5639bdeb39 7758 
ocl-icd-opencl-dev_2.1.3-5_amd64.deb
 759ed3c16981c6f3948b98f6cbc7b3d32a1b7ef9 13642 ocl-icd-dev_2.1.3-5_amd64.deb
 8a95171ddea5cd4fe6e58c0077fbdf0217f6a447 39762 ocl-icd-dbg_2.1.3-5_amd64.deb
Checksums-Sha256: 
 29b70e1e11a2a082f7d21f0f911c37ac10491b00b5fa6379d41fb5653c54daf8 2172 
ocl-icd_2.1.3-5.dsc
 37c65f4f3bb74552bfa0243c8a8a18c663b18e2d1d6382ee61b1ed2fa11f7915 10816 
ocl-icd_2.1.3-5.debian.tar.xz
 2ba893d877aed19c012238208f63bfe100ddc42d720b2dc79d9f1a105a3472f6 32496 
ocl-icd-libopencl1_2.1.3-5_amd64.deb
 d9381e563e91099b762e54fdf5d3f87d3b1cebeb91176372e89d66b62ad8d78a 7758 
ocl-icd-opencl-dev_2.1.3-5_amd64.deb
 0b624fb5d9a0a1621bac6535ec0ba3872ab7f5232178a038904a4ea48c3f65d0 13642 
ocl-icd-dev_2.1.3-5_amd64.deb
 73fdf61b91c64a16a00a495ce59e5235424eb958f39e26086f9126f7382ca8c1 39762 
ocl-icd-dbg_2.1.3-5_amd64.deb
Files: 
 b58eecaf7190559d1badd84a48464cd3 2172 libs extra ocl-icd_2.1.3-5.dsc
 29ef3decb921763963d36e3f892556f3 10816 libs extra ocl-icd_2.1.3-5.debian.tar.xz
 fad27bc23d36cf33321d19ce5cb1896f 32496 libs extra 
ocl-icd-libopencl1_2.1.3-5_amd64.deb
 c2910d28e1768cd649fe272e433b19cd 7758 libdevel extra 
ocl-icd-opencl-dev_2.1.3-5_amd64.deb
 d08f1e29afb46e950fabc32b94cba6dc 13642 libdevel extra 
ocl-icd-dev_2.1.3-5_amd64.deb
 47276327666a829ed5ffdc148f270cbc 39762 debug extra 
ocl-icd-dbg_2.1.3-5_amd64.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQIVAwUBVASKJ5ZH3mN+x7dRAQjubA//SKVKHZXV445oBArRbGCWSXaciNGOpT6+
PCPSAqHCvEPvKxGH7yhbei4rgafKb+O4u5R9CM5iubkimSC4q6XPgMMnkFu8RY6P
uBbMf3nCvGk0jmbpru0RQtjWDt1vTIBlEDDjqD5quLynTw69CA6l5x8bT9I/V00j
cu47n1i7fGP8SQHdUcwdjXH7+MjoYgpEHD8yCV//bcj77clNOohMuDICEs1Xzl0Z
olpyznciMSC9Htr1TJmCm6PSTHIMhCYlRGIB/66b0EsIlCLNki5CQ0relnXd1w0M
zg4i1lIffbmpdSA45YVKYFxXLIqEJrHaUhOZxDjEMfOA/UFJUEtHqwU0u7LhxiMc
t5fZgqKZjJpZdZBvVcJyx3tV06R+cVpGi/hTD0fBit5ROGFZHaO6IdMC+NDmZAPU
w12bVYxsF9HW7Obk//07npGIQWzVKUZBFt8PLEnukS+OkbkiJhax7sCpH4uDRgO7
MmH31gwu6G1Cx8ZnGObkLK9DJSxUxmdVAefrvn4LXyzsXeVYtsGxWRncdB6BcqmB
B2g98848wmvHbmbgjfI2BHTcMrW3Vtb7tVWq6szmqTldXXnPXK0MEBPZ4lCINFLv
Sk6d+tcDE0t0dAOWpLjNX4eR/opLUXvwatL7Z30QuzfDDTxrlcPuBjIvvxmYqWt2
fDpV2B1l2to=
=/HUO
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to