Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 690998 - dev-util/nvidia-cuda-toolkit - bundled libraries should not dynamically link against system dev-libs/openssl libraries
Summary: dev-util/nvidia-cuda-toolkit - bundled libraries should not dynamically link ...
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Science Related Packages
Depends on:
Reported: 2019-07-29 15:12 UTC by Daniel M. Weeks
Modified: 2019-10-12 14:43 UTC (History)
5 users (show)

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


Note You need to log in before you can comment on or make changes to this bug.
Description Daniel M. Weeks 2019-07-29 15:12:23 UTC
Portage is confused by the bundled openssl libraries (1.0.0) in nvidia-cuda-toolkit when dev-libs/openssl 1.1.0 is installed.

>>> package: dev-libs/openssl-1.1.0k
 *  - /usr/lib64/
 *      used by /opt/cuda/NsightCompute-2019.3/host/linux-desktop-glibc_2_11_3-x64/Plugins/ (dev-util/nvidia-cuda-toolkit-10.1.168)
 *      used by /opt/cuda/NsightCompute-2019.3/host/linux-desktop-glibc_2_11_3-x64/Plugins/ (dev-util/nvidia-cuda-toolkit-10.1.168)
 *      used by /opt/cuda/NsightCompute-2019.3/host/linux-desktop-glibc_2_11_3-x64/ (dev-util/nvidia-cuda-toolkit-10.1.168)
 *      used by 9 other files
 *  - /usr/lib64/
 *      used by /opt/cuda/NsightCompute-2019.3/host/linux-desktop-glibc_2_11_3-x64/Plugins/ (dev-util/nvidia-cuda-toolkit-10.1.168)
 *      used by /opt/cuda/NsightCompute-2019.3/host/linux-desktop-glibc_2_11_3-x64/Plugins/ (dev-util/nvidia-cuda-toolkit-10.1.168)
 *      used by /opt/cuda/NsightSystems-2019.3/Host-x86_64/ImportNvtxt (dev-util/nvidia-cuda-toolkit-10.1.168)
 *      used by 7 other files

Reproducible: Always
Comment 1 Daniel M. Weeks 2019-08-22 13:39:00 UTC
This may have been an issue only on my system due to a bad nvidia-cuda-toolkit or cudnn install. (I have reinstalled both from scratch and this is no longer an issue.)

However, I'll leave it up to the maintainers whether the bundling of libraries still needs to be addressed.
Comment 2 Bernd 2019-08-24 19:25:22 UTC
Today, I hit this issue too. It seems to be related to the un-slotting of openssl, i.e. removing slot 1.0.0 and the 1.0.2* releases of openssl. At least, this issue didn't pop up before todays sync, where openssl:1.0.0 is no longer available.

Re-emerging nvidia-cuda-toolkit didn't solve it in my case.
Comment 3 manu 2019-10-08 20:48:15 UTC
Same here (and also re-emerging didn't help)
Comment 4 Gregory Beauregard 2019-10-12 14:43:29 UTC
This looks like it was fixed in the latest cuda ebuild, but the old ones still need marked to depend on openssl-compat.