aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarek Szuba <marecki@gentoo.org>2020-04-22 10:28:15 +0100
committerMarek Szuba <marecki@gentoo.org>2020-04-22 10:28:15 +0100
commitbdeb0e2d2ed62e5289e65b27977ecf3e3f9b1879 (patch)
tree4d264944bb1ee5ce4e32ea58bd494488ccb42637
parent2020-04-04-new-ppc64le-profiles: Add news item (diff)
downloadgentoo-news-bdeb0e2d2ed62e5289e65b27977ecf3e3f9b1879.tar.gz
gentoo-news-bdeb0e2d2ed62e5289e65b27977ecf3e3f9b1879.tar.bz2
gentoo-news-bdeb0e2d2ed62e5289e65b27977ecf3e3f9b1879.zip
Add 2020-04-22-opencl-upgrade-file-collisions
Signed-off-by: Marek Szuba <marecki@gentoo.org>
-rw-r--r--2020-04-22-opencl-upgrade-file-collisions/2020-04-22-opencl-upgrade-file-collisions.en.txt28
1 files changed, 28 insertions, 0 deletions
diff --git a/2020-04-22-opencl-upgrade-file-collisions/2020-04-22-opencl-upgrade-file-collisions.en.txt b/2020-04-22-opencl-upgrade-file-collisions/2020-04-22-opencl-upgrade-file-collisions.en.txt
new file mode 100644
index 0000000..5aeb856
--- /dev/null
+++ b/2020-04-22-opencl-upgrade-file-collisions/2020-04-22-opencl-upgrade-file-collisions.en.txt
@@ -0,0 +1,28 @@
+Title: Potential file collisions during OpenCL upgrade
+Author: Marek Szuba <marecki@gentoo.org>
+Posted: 2020-04-22
+Revision: 1
+News-Item-Format: 2.0
+Display-If-Installed: app-eselect/eselect-opencl
+
+OpenCL support in Gentoo is now being migrated to having all implementations
+operate through an ICD loader (dev-libs/ocl-icd or dev-libs/opencl-icd-loader)
+installed directly into /usr rather than using eselect-opencl to switch
+between implementations, with updated loader ebuilds having just been released
+to the public. Unfortunately although the upgrade process will automatically
+uninstall app-eselect/eselect-opencl, it will not remove the symbolic links to
+libOpenCL.so created by this tool in library directories because those links
+are not owned by the package in question.
+
+For everyone using the default Gentoo configuration of collision protection
+(FEATURES='-collision-protect protect-owned'), this should cause no trouble
+because this configuration allows the overwriting of orphaned files.
+Obviously, systems with collision protection completely disabled (not
+recommended but technically possible) will not be affected either. However,
+if your system is configured for full collision protection
+(FEATURES=collision-protect), it will be necessary to manually remove those
+links
+
+ rm -i /usr/lib{,64}/libOpenCL.so*
+
+before running the upgrade.