Message that appears in the end of install: * Error messages for package dev-util/nvidia-cuda-toolkit-10.2.89: * * Installation of a symlink is blocked by a directory: * '/opt/cuda/lib64' * This symlink will be merged with a different name: * '/opt/cuda/lib64.backup.0004' * * * Installation of a symlink is blocked by a directory: * '/opt/cuda/include' * This symlink will be merged with a different name: * '/opt/cuda/include.backup.0004'
(In reply to Samuel Bernardo from comment #0) > Message that appears in the end of install: > > * Error messages for package dev-util/nvidia-cuda-toolkit-10.2.89: > > * > * Installation of a symlink is blocked by a directory: > * '/opt/cuda/lib64' > * This symlink will be merged with a different name: > * '/opt/cuda/lib64.backup.0004' > * > * > * Installation of a symlink is blocked by a directory: > * '/opt/cuda/include' > * This symlink will be merged with a different name: > * '/opt/cuda/include.backup.0004' What is your `ls -l /opt/cuda/` ?
drwxr-xr-x 1 root root 232 Dec 12 14:30 bin -rw-r--r-- 1 root root 60244 Dec 12 14:24 EULA.txt drwxr-xr-x 1 root root 38 Apr 11 2019 extras drwxr-xr-x 1 root root 0 Apr 11 2019 include lrwxrwxrwx 1 root root 28 Apr 11 2019 include.backup.0000 -> targets/x86_64-linux/include lrwxrwxrwx 1 root root 28 May 2 2019 include.backup.0001 -> targets/x86_64-linux/include lrwxrwxrwx 1 root root 28 Jun 25 14:15 include.backup.0002 -> targets/x86_64-linux/include lrwxrwxrwx 1 root root 28 Oct 11 14:28 include.backup.0003 -> targets/x86_64-linux/include lrwxrwxrwx 1 root root 28 Dec 12 14:24 include.backup.0004 -> targets/x86_64-linux/include drwxr-xr-x 1 root root 0 Apr 11 2019 lib64 lrwxrwxrwx 1 root root 24 Apr 11 2019 lib64.backup.0000 -> targets/x86_64-linux/lib lrwxrwxrwx 1 root root 24 May 2 2019 lib64.backup.0001 -> targets/x86_64-linux/lib lrwxrwxrwx 1 root root 24 Jun 25 14:15 lib64.backup.0002 -> targets/x86_64-linux/lib lrwxrwxrwx 1 root root 24 Oct 11 14:28 lib64.backup.0003 -> targets/x86_64-linux/lib lrwxrwxrwx 1 root root 24 Dec 12 14:24 lib64.backup.0004 -> targets/x86_64-linux/lib drwxr-xr-x 1 root root 14 Oct 28 2016 nvml drwxr-xr-x 1 root root 78 May 14 2016 nvvm drwxr-xr-x 1 root root 78 Dec 12 14:30 nvvmx drwxr-xr-x 1 root root 0 Apr 11 2019 share drwxr-xr-x 1 root root 262 Dec 12 14:30 src drwxr-xr-x 1 root root 24 Apr 11 2019 targets drwxr-xr-x 1 root root 58 Dec 12 14:30 tools -rw-r--r-- 1 root root 21 Dec 12 14:24 version.txt
Don't know the reason why did this inconsistency happen in directories. Just unmerge both nvidia toolkit and sdk as pointed out in the following bug report and it is everything working as expected now: https://bugs.gentoo.org/700064