Summary: | sci-libs/caffe2[cuda] build fails with sandbox access violation on /dev/nvidiactl | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Simon Detheridge <social-gentoobugzilla> |
Component: | Current packages | Assignee: | Tupone Alfredo <tupone> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | telans |
Priority: | Normal | Keywords: | PullRequest |
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
See Also: | https://github.com/gentoo/gentoo/pull/27253 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
build log
emerge --info ebuild patch to add addpredict |
Description
Simon Detheridge
2022-08-31 10:11:36 UTC
Created attachment 802219 [details]
build log
Created attachment 802222 [details]
emerge --info
The workaround in bug #742617 for adding 'addpredict "/dev/nvidiactl"' to the ebuild also works here, but note that if TORCH_CUDA_ARCH_LIST is not set correctly the build will fail because it can't use this to figure out your architecture. Created attachment 802225 [details, diff]
ebuild patch to add addpredict
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dfb44a20d723cace8c89d65437c4456bfba39f91 commit dfb44a20d723cace8c89d65437c4456bfba39f91 Author: James Beddek <telans@posteo.de> AuthorDate: 2022-09-14 12:19:47 +0000 Commit: Alfredo Tupone <tupone@gentoo.org> CommitDate: 2022-09-14 20:51:17 +0000 sci-libs/caffe2: use addpredict /dev/nvidiactl for CUDA version check Closes: https://bugs.gentoo.org/867706 Signed-off-by: James Beddek <telans@posteo.de> Closes: https://github.com/gentoo/gentoo/pull/27253 Signed-off-by: Alfredo Tupone <tupone@gentoo.org> sci-libs/caffe2/caffe2-1.12.0.ebuild | 2 ++ 1 file changed, 2 insertions(+) |