Summary: | sci-libs/caffe2-2.1.2-r6[cuda]: sandbox violation: CMakeDetermineCompilerABI_CUDA.bin fails | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Andrew Udvare <audvare> |
Component: | Current packages | Assignee: | Tupone Alfredo <tupone> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | audvare, cctsurf, egor-gl, eugene.shalygin, martin.rott, negril.nx+gentoo, Sasha.Medvedev, satori80.ss, stefantalpalaru, triffid.hunter, vieira.lobato |
Priority: | Normal | Keywords: | PullRequest |
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
See Also: |
https://bugs.gentoo.org/show_bug.cgi?id=926612 https://bugs.gentoo.org/show_bug.cgi?id=926613 https://github.com/gentoo/gentoo/pull/35777 https://github.com/gentoo/gentoo/pull/35972 |
||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
build log
sandbox.log |
Description
Andrew Udvare
2024-03-04 01:41:31 UTC
Created attachment 886634 [details]
build log
Created attachment 886635 [details]
sandbox.log
I have exactly the same problem. Finally got time to try something and here are the results: After adding path "/proc/self/task" to /etc/sandbox.conf to be writable, emerge was successful. This is just a temporary workaround that "worked for me", really not sure how to solve this the correct way.. I have the same problem You can fix the ebuild by adding 'addpredict "/proc/self/task"' to src_configure(). I ran into this today too This seems to be preventing me from installing media-libs/oidn as well; same error:
>>> Source compiled.
* ----------------------- SANDBOX ACCESS VIOLATION SUMMARY -----------------------
* LOG FILE: "/var/tmp/portage/media-libs/oidn-2.1.0/temp/sandbox.log"
*
VERSION 1.0
FORMAT: F - Function called
FORMAT: S - Access Status
FORMAT: P - Path as passed to function
FORMAT: A - Absolute Path (not canonical)
FORMAT: R - Canonical Path
FORMAT: C - Command Line
F: fopen_wr
S: deny
P: /proc/self/task/550/comm
A: /proc/self/task/550/comm
R: /proc/549/task/550/comm
C: /var/tmp/portage/media-libs/oidn-2.1.0/work/oidn-2.1.0_build/devices/cuda/build/CMakeFiles/3.28.3/CMakeDetermineCompilerABI_CUDA.bin
* --------------------------------------------------------------------------------
(In reply to Satori80a from comment #8) > This seems to be preventing me from installing media-libs/oidn as well; same > error: > > >>> Source compiled. > * ----------------------- SANDBOX ACCESS VIOLATION SUMMARY > ----------------------- > * LOG FILE: "/var/tmp/portage/media-libs/oidn-2.1.0/temp/sandbox.log" > * > VERSION 1.0 > FORMAT: F - Function called > FORMAT: S - Access Status > FORMAT: P - Path as passed to function > FORMAT: A - Absolute Path (not canonical) > FORMAT: R - Canonical Path > FORMAT: C - Command Line > > F: fopen_wr > S: deny > P: /proc/self/task/550/comm > A: /proc/self/task/550/comm > R: /proc/549/task/550/comm > C: > /var/tmp/portage/media-libs/oidn-2.1.0/work/oidn-2.1.0_build/devices/cuda/ > build/CMakeFiles/3.28.3/CMakeDetermineCompilerABI_CUDA.bin > * > ----------------------------------------------------------------------------- > --- Ștefan Talpalaru's (comment #6) solution worked for oidn, too. The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0e0bdd6727d7ee97d887470c7952862ed933c00a commit 0e0bdd6727d7ee97d887470c7952862ed933c00a Author: Huang Rui <vowstar@gmail.com> AuthorDate: 2024-03-30 18:34:57 +0000 Commit: David Seifert <soap@gentoo.org> CommitDate: 2024-03-30 18:34:57 +0000 dev-util/nvidia-cuda-toolkit: add 12.4.0 Closes: https://github.com/gentoo/gentoo/pull/35777 Closes: https://bugs.gentoo.org/926116 Closes: https://bugs.gentoo.org/926612 Signed-off-by: Huang Rui <vowstar@gmail.com> Signed-off-by: David Seifert <soap@gentoo.org> dev-util/nvidia-cuda-toolkit/Manifest | 1 + .../nvidia-cuda-toolkit-12.4.0.ebuild | 338 +++++++++++++++++++++ 2 files changed, 339 insertions(+) The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=07e13e6234fcd1c25b5b54a70de4ecaae294b669 commit 07e13e6234fcd1c25b5b54a70de4ecaae294b669 Author: Alfredo Tupone <tupone@gentoo.org> AuthorDate: 2024-03-30 19:35:22 +0000 Commit: Alfredo Tupone <tupone@gentoo.org> CommitDate: 2024-03-30 19:35:53 +0000 sci-libs/caffe2: addpredict /proc/self/task Closes: https://bugs.gentoo.org/926116 Signed-off-by: Alfredo Tupone <tupone@gentoo.org> sci-libs/caffe2/caffe2-2.2.1-r1.ebuild | 1 + 1 file changed, 1 insertion(+) The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=789f92e9d42874af6d16b4026f18d404be539ce2 commit 789f92e9d42874af6d16b4026f18d404be539ce2 Author: Paul Zander <negril.nx+gentoo@gmail.com> AuthorDate: 2024-03-28 18:06:05 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2024-04-02 11:27:00 +0000 media-libs/oidn: add 2.2.2, fix cuda Bug: https://bugs.gentoo.org/926116#c8 Signed-off-by: Paul Zander <negril.nx+gentoo@gmail.com> Closes: https://github.com/gentoo/gentoo/pull/35972 Signed-off-by: Sam James <sam@gentoo.org> media-libs/oidn/Manifest | 1 + .../oidn/files/oidn-2.2.2-amdgpu-targets.patch | 46 +++++++++++ media-libs/oidn/metadata.xml | 3 + media-libs/oidn/oidn-2.2.2.ebuild | 95 ++++++++++++++++++++++ profiles/arch/powerpc/ppc64/64le/use.mask | 7 ++ profiles/arch/powerpc/ppc64/use.mask | 7 ++ profiles/arch/x86/use.mask | 4 + 7 files changed, 163 insertions(+) The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c6a96e9169b96c35d91263b113b334655f752e60 commit c6a96e9169b96c35d91263b113b334655f752e60 Author: David Seifert <soap@gentoo.org> AuthorDate: 2024-04-07 09:37:40 +0000 Commit: David Seifert <soap@gentoo.org> CommitDate: 2024-04-07 09:37:40 +0000 dev-util/nvidia-cuda-toolkit: add CMake sandbox workaround to all versions Closes: https://bugs.gentoo.org/926116 Signed-off-by: David Seifert <soap@gentoo.org> .../nvidia-cuda-toolkit-11.8.0-r4.ebuild | 9 +++++++-- .../nvidia-cuda-toolkit/nvidia-cuda-toolkit-12.3.2.ebuild | 6 ++++++ .../nvidia-cuda-toolkit/nvidia-cuda-toolkit-12.4.0.ebuild | 14 +------------- 3 files changed, 14 insertions(+), 15 deletions(-) |