Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 852134

Summary: app-text/paperwork-2.1.1 fails to install because of access violations to /dev/dri/renderD128
Product: Gentoo Linux Reporter: Hendrik v. Raven <hendrik>
Component: Current packagesAssignee: Bernard Cafarelli <voyageur>
Status: RESOLVED FIXED    
Severity: normal CC: hendrik
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://bugs.gentoo.org/show_bug.cgi?id=830012
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: build log

Description Hendrik v. Raven 2022-06-15 10:05:39 UTC
Created attachment 785402 [details]
build log

When installing the latest paperwork I get errors due to sandbox violations. Seems to be similar to #830012. I am using an AMD graphics card with the mesa driver.
Adding another addpredict /dev/dri/renderD128 allows to install the package as expected.

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: open_wr
S: deny
P: /dev/dri/renderD128
A: /dev/dri/renderD128
R: /dev/dri/renderD128
C: tesseract --list-langs

F: open_wr
S: deny
P: /dev/dri/renderD128
A: /dev/dri/renderD128
R: /dev/dri/renderD128
C: tesseract --list-langs
Comment 1 Bernard Cafarelli gentoo-dev 2022-06-29 09:01:59 UTC
Thanks for the report! Checking through the tree, other packages have similar issues, it may be worth at some point to have an eclass or similar to regroup these addpredict calls reliably: paperwork, firefox/thunderbird, imagemagick, grass, qgis, ...

In the meantime let me add /dev/dri/renderD128 to the list!
Comment 2 Larry the Git Cow gentoo-dev 2022-06-29 09:05:01 UTC
The bug has been closed via the following commit(s):

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

commit 0b4e0956a65a4dfcffff5266f42324611f66a4fb
Author:     Bernard Cafarelli <voyageur@gentoo.org>
AuthorDate: 2022-06-29 09:04:22 +0000
Commit:     Bernard Cafarelli <voyageur@gentoo.org>
CommitDate: 2022-06-29 09:04:59 +0000

    app-text/paperwork: fix renderD128 access violation
    
    Closes: https://bugs.gentoo.org/852134
    Signed-off-by: Bernard Cafarelli <voyageur@gentoo.org>

 app-text/paperwork/paperwork-2.1.0.ebuild | 7 ++++---
 app-text/paperwork/paperwork-2.1.1.ebuild | 5 +++--
 2 files changed, 7 insertions(+), 5 deletions(-)