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 ...
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: 2019-07-29 15:12 UTC by Daniel M. Weeks
Modified: 2022-06-17 12:55 UTC (History)
5 users (show)

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 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/libcrypto.so.1.0.0
 *      used by /opt/cuda/NsightCompute-2019.3/host/linux-desktop-glibc_2_11_3-x64/Plugins/libLinuxPlatformPlugin.so (dev-util/nvidia-cuda-toolkit-10.1.168)
 *      used by /opt/cuda/NsightCompute-2019.3/host/linux-desktop-glibc_2_11_3-x64/Plugins/libWindowsPlatformPlugin.so (dev-util/nvidia-cuda-toolkit-10.1.168)
 *      used by /opt/cuda/NsightCompute-2019.3/host/linux-desktop-glibc_2_11_3-x64/libssl.so.1.0.0 (dev-util/nvidia-cuda-toolkit-10.1.168)
 *      used by 9 other files
 *  - /usr/lib64/libssl.so.1.0.0
 *      used by /opt/cuda/NsightCompute-2019.3/host/linux-desktop-glibc_2_11_3-x64/Plugins/libLinuxPlatformPlugin.so (dev-util/nvidia-cuda-toolkit-10.1.168)
 *      used by /opt/cuda/NsightCompute-2019.3/host/linux-desktop-glibc_2_11_3-x64/Plugins/libWindowsPlatformPlugin.so (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.
Comment 5 Larry the Git Cow gentoo-dev 2022-06-17 12:55:58 UTC
The bug has been closed via the following commit(s):

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

commit d2283b7c0ae4766d4bfbeda3831e3255a536ca8e
Author:     David Seifert <soap@gentoo.org>
AuthorDate: 2022-06-17 12:55:48 +0000
Commit:     David Seifert <soap@gentoo.org>
CommitDate: 2022-06-17 12:55:48 +0000

    dev-util/nvidia-cuda-toolkit: depend on openssl-compat:1.1.1
    
    Closes: https://bugs.gentoo.org/690998
    Signed-off-by: David Seifert <soap@gentoo.org>

 ...oolkit-11.7.0.ebuild => nvidia-cuda-toolkit-11.7.0-r1.ebuild} | 9 ++++-----
 1 file changed, 4 insertions(+), 5 deletions(-)