Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 950207 - dev-util/nvidia-cuda-toolkit-12.8.0: Package has one or more collisions between symlinks and directories
Summary: dev-util/nvidia-cuda-toolkit-12.8.0: Package has one or more collisions betwe...
Status: RESOLVED FIXED
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: 2025-02-23 21:37 UTC by opensauce04
Modified: 2025-02-23 21:59 UTC (History)
2 users (show)

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


Attachments
Output of `emerge --info nvidia-cuda-toolkit` (emerge-info-nvidia-cuda-toolkit.txt,7.54 KB, text/plain)
2025-02-23 21:39 UTC, opensauce04
Details

Note You need to log in before you can comment on or make changes to this bug.
Description opensauce04 2025-02-23 21:37:57 UTC
I tried to update this package from version 12.6.1-r1 to 12.8.0, and ran into the following error:

```
* Messages for package dev-util/nvidia-cuda-toolkit-12.8.0:

 * Package 'dev-util/nvidia-cuda-toolkit-12.8.0' has one or more
 * collisions between symlinks and directories, which is explicitly
 * forbidden by PMS section 13.4 (see bug #326685):
 * 
 *      /opt/cuda
 * 
 * This package will overwrite one or more files that may belong to other
 * packages (see list below). You can use a command such as `portageq
 * owners / <filename>` to identify the installed package that owns a
 * file. If portageq reports that only one package owns a file then do
 * NOT file a bug report. A bug report is only useful if it identifies at
 * least two or more packages that are known to install the same file(s).
 * If a collision occurs and you can not explain where the file came from
 * then you should simply ignore the collision since there is not enough
 * information to determine if a real problem exists. Please do NOT file
 * a bug report at https://bugs.gentoo.org/ unless you report exactly
 * which two packages install the same file(s). See
 * https://wiki.gentoo.org/wiki/Knowledge_Base:Blockers for tips on how
 * to solve the problem. And once again, please do NOT file a bug report
 * unless you have completely understood the above message.
 * 
 * Detected file collision(s):
 * 
 *      /opt/cuda
 * 
 * Searching all installed packages for file collisions...
 * 
 * Press Ctrl-C to Stop
 * 
 * dev-util/nvidia-cuda-toolkit-12.6.1-r1:0::gentoo
 *      /opt/cuda
 * 
 * Package 'dev-util/nvidia-cuda-toolkit-12.8.0' NOT merged since it has
 * one or more collisions between symlinks and directories, which is
 * explicitly forbidden by PMS section 13.4 (see bug #326685). If
 * necessary, refer to your elog messages for the whole content of the
 * above message.
```
Comment 1 opensauce04 2025-02-23 21:39:39 UTC
Created attachment 919783 [details]
Output of `emerge --info nvidia-cuda-toolkit`
Comment 2 Larry the Git Cow gentoo-dev 2025-02-23 21:59:54 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b1681708730772abc04b24bfc8ec084da69a9f6f

commit b1681708730772abc04b24bfc8ec084da69a9f6f
Author:     Paul Zander <negril.nx+gentoo@gmail.com>
AuthorDate: 2025-02-23 21:56:28 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2025-02-23 21:58:50 +0000

    dev-util/nvidia-cuda-toolkit: 12.8.0-r1 revert install path to /opt/cuda
    
    Original ebuild mirrored the upstream behaviour of installing into
    /opt/cuda-12.8.0. This collides with an installed dev-libs/cudnn. So revert it
    until cudnn has been updated.
    
    Closes: https://bugs.gentoo.org/950207
    Signed-off-by: Paul Zander <negril.nx+gentoo@gmail.com>
    Signed-off-by: Sam James <sam@gentoo.org>

 ...lkit-12.8.0.ebuild => nvidia-cuda-toolkit-12.8.0-r1.ebuild} | 10 ++++++----
 1 file changed, 6 insertions(+), 4 deletions(-)