Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 702606 - dev-util/nvidia-cuda-toolkit-10.2.89 - Installation of a symlink is blocked by a directory: '/opt/cuda/lib64'
Summary: dev-util/nvidia-cuda-toolkit-10.2.89 - Installation of a symlink is blocked b...
Status: RESOLVED CANTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Science Related Packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-12-12 17:33 UTC by Samuel Bernardo
Modified: 2020-12-27 16:38 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Samuel Bernardo 2019-12-12 17:33:07 UTC
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'
Comment 1 Benda Xu gentoo-dev 2019-12-13 09:29:15 UTC
(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/` ?
Comment 2 Samuel Bernardo 2019-12-15 01:58:54 UTC
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
Comment 3 Samuel Bernardo 2019-12-15 17:12:47 UTC
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