Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 904504 - dev-util/nvidia-cuda-toolkit-12.1.1 installs files with unresolved SONAME dependencies
Summary: dev-util/nvidia-cuda-toolkit-12.1.1 installs files with unresolved SONAME dep...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Science Related Packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-04-18 08:15 UTC by Agostino Sarubbo
Modified: 2023-06-27 14:26 UTC (History)
1 user (show)

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


Attachments
build.log (build.log,58.75 KB, text/plain)
2023-04-18 08:15 UTC, Agostino Sarubbo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2023-04-18 08:15:26 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: dev-util/nvidia-cuda-toolkit-12.1.0-r1 installs files with unresolved SONAME dependencies.
Discovered on: amd64 (internal ref: ci)
Comment 1 Agostino Sarubbo gentoo-dev 2023-04-18 08:15:28 UTC
Created attachment 860289 [details]
build.log

build log and emerge --info
Comment 2 Guilherme Amadio gentoo-dev 2023-04-18 08:33:37 UTC
The unresolved SONAMEs are for the demo applications:

 * QA Notice: Unresolved soname dependencies:
 * 
 * 	/opt/cuda/extras/demo_suite/nbody: libGLU.so.1 libglut.so.3
 * 	/opt/cuda/extras/demo_suite/oceanFFT: libGLU.so.1 libglut.so.3
 * 	/opt/cuda/extras/demo_suite/randomFog: libGLU.so.1 libglut.so.3
 * 

They need media-libs/freeglut as dependency. I guess we should add a USE=samples or USE=examples to avoid unconditionally depending on freeglut, and removing these sample applications when they're not needed.
Comment 3 Agostino Sarubbo gentoo-dev 2023-05-15 06:58:10 UTC
ci has reproduced this issue with version 12.1.1 - Updating summary.
Comment 4 Larry the Git Cow gentoo-dev 2023-06-27 14:26:14 UTC
The bug has been closed via the following commit(s):

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

commit c0a1278a3822994f985db2e40f69ae86c800cfda
Author:     David Seifert <soap@gentoo.org>
AuthorDate: 2023-06-27 14:26:07 +0000
Commit:     David Seifert <soap@gentoo.org>
CommitDate: 2023-06-27 14:26:07 +0000

    dev-util/nvidia-cuda-toolkit: add missing RDEPENDs
    
    Closes: https://bugs.gentoo.org/904504
    Closes: https://bugs.gentoo.org/872818
    Signed-off-by: David Seifert <soap@gentoo.org>

 ...ebuild => nvidia-cuda-toolkit-11.8.0-r4.ebuild} |  8 +++----
 ...ebuild => nvidia-cuda-toolkit-12.1.1-r1.ebuild} | 25 +++++++++++++++-------
 2 files changed, 20 insertions(+), 13 deletions(-)