Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 928148 - dev-libs/cutlass-3.3.0 emerge fail with x11-drivers/nvidia-drivers-550.67, showing sandbox violation
Summary: dev-libs/cutlass-3.3.0 emerge fail with x11-drivers/nvidia-drivers-550.67, sh...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Tupone Alfredo
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-03-30 02:40 UTC by znjameswu
Modified: 2024-03-30 16:37 UTC (History)
2 users (show)

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


Attachments
build.log (file_928148.txt,8.44 KB, text/plain)
2024-03-30 02:41 UTC, znjameswu
Details
emerge --info (file_928148.txt,8.00 KB, text/plain)
2024-03-30 02:41 UTC, znjameswu
Details

Note You need to log in before you can comment on or make changes to this bug.
Description znjameswu 2024-03-30 02:40:19 UTC
dev-libs/cutlass-3.3.0 emerge fail when I was performing an empty-tree rebuild. However it used to emerge just fine.

After tweaking, the culprit was found to be the new nvidia drivers. When using x11-drivers/nvidia-drivers-550.67, the build fails. After downgrading to x11-drivers/nvidia-drivers-535.171.04, the emerge succeeded.



Reproducible: Always

Actual Results:  
Relevant log sections:
-- Check for working CUDA compiler: /opt/cuda/bin/nvcc - skipped
 * ACCESS DENIED:  fopen_wr:           /proc/self/task/197/comm


>>> Source configured.
 * ----------------------- SANDBOX ACCESS VIOLATION SUMMARY -----------------------
 * LOG FILE: "/var/tmp/portage/dev-libs/cutlass-3.3.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/197/comm
A: /proc/self/task/197/comm
R: /proc/196/task/197/comm
C: /var/tmp/portage/dev-libs/cutlass-3.3.0/work/cutlass-3.3.0_build/CMakeFiles/3.28.3/CMakeDetermineCompilerABI_CUDA.bin 
 * --------------------------------------------------------------------------------
Comment 1 znjameswu 2024-03-30 02:41:27 UTC
Created attachment 889028 [details]
build.log
Comment 2 znjameswu 2024-03-30 02:41:53 UTC
Created attachment 889029 [details]
emerge --info
Comment 3 Larry the Git Cow gentoo-dev 2024-03-30 16:37:07 UTC
The bug has been closed via the following commit(s):

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

commit 9adf6c293611a11e54f6d2b9ec7958c0369c3153
Author:     Alfredo Tupone <tupone@gentoo.org>
AuthorDate: 2024-03-30 16:36:07 +0000
Commit:     Alfredo Tupone <tupone@gentoo.org>
CommitDate: 2024-03-30 16:36:07 +0000

    dev-libs/cutlass: addpredict on /proc/self/task
    
    Closes: https://bugs.gentoo.org/928148
    Signed-off-by: Alfredo Tupone <tupone@gentoo.org>

 dev-libs/cutlass/cutlass-3.3.0.ebuild | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)