Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 852134 - app-text/paperwork-2.1.1 fails to install because of access violations to /dev/dri/renderD128
Summary: app-text/paperwork-2.1.1 fails to install because of access violations to /de...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Bernard Cafarelli
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-06-15 10:05 UTC by Hendrik v. Raven
Modified: 2022-06-29 09:05 UTC (History)
1 user (show)

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


Attachments
build log (build.log,338.30 KB, text/x-log)
2022-06-15 10:05 UTC, Hendrik v. Raven
Details

Note You need to log in before you can comment on or make changes to this bug.
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(-)