Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 951609 - sys-apps/xdg-desktop-portal-1.20.0: * ACCESS DENIED: open_wr: /dev/dri/renderD128
Summary: sys-apps/xdg-desktop-portal-1.20.0: * ACCESS DENIED: open_wr: /dev/dri/rend...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal
Assignee: Gentoo KDE team
URL: https://github.com/flatpak/xdg-deskto...
Whiteboard:
Keywords:
: 951623 951650 (view as bug list)
Depends on:
Blocks:
 
Reported: 2025-03-19 03:41 UTC by Liu Yujie
Modified: 2025-03-20 10:42 UTC (History)
16 users (show)

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


Attachments
sys-apps:xdg-desktop-portal-1.20.0:20250319-033642.log (sys-apps:xdg-desktop-portal-1.20.0:20250319-033642.log,8.00 KB, text/x-log)
2025-03-19 03:41 UTC, Liu Yujie
Details
sandbox.log (sandbox.log,375 bytes, text/x-log)
2025-03-19 03:41 UTC, Liu Yujie
Details
portage environment (environment,116.31 KB, text/plain)
2025-03-19 03:42 UTC, Liu Yujie
Details
emerge info (emerge--info.txt,16.18 KB, text/plain)
2025-03-19 03:59 UTC, Liu Yujie
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Liu Yujie 2025-03-19 03:41:07 UTC
Created attachment 921213 [details]
sys-apps:xdg-desktop-portal-1.20.0:20250319-033642.log

>>> Source configured.
 * ----------------------- SANDBOX ACCESS VIOLATION SUMMARY -----------------------
 * LOG FILE: "/tmp/portage/sys-apps/xdg-desktop-portal-1.20.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: open_wr
S: deny
P: /dev/dri/renderD128
A: /dev/dri/renderD128
R: /dev/dri/renderD128
C: /usr/lib64/../libexec/gstreamer-1.0/gst-plugin-scanner -l /usr/bin/gst-inspect-1.0 
 * --------------------------------------------------------------------------------
Comment 1 Liu Yujie 2025-03-19 03:41:41 UTC
Created attachment 921214 [details]
sandbox.log
Comment 2 Liu Yujie 2025-03-19 03:42:30 UTC
Created attachment 921215 [details]
portage environment
Comment 3 Liu Yujie 2025-03-19 03:59:52 UTC
Created attachment 921216 [details]
emerge info
Comment 4 Liu Yujie 2025-03-19 04:23:26 UTC
https://github.com/flatpak/xdg-desktop-portal/commit/1c6dd1825eeb54028497fbe91a7b54de2453120e

seems like meson.build is trying to run command 'gst-inspect-1.0 wavparse --exists' to test about wav support.
Comment 5 Ulrich Müller gentoo-dev 2025-03-19 07:00:25 UTC
Similar problem here, sandbox violation in src_configure:

Run-time dependency libpipewire-0.3 found: YES 1.4.1
Dependency libsystemd skipped: feature systemd disabled
Run-time dependency gudev-1.0 found: YES 238
Dependency umockdev-1.0 skipped: feature tests disabled
Program gst-inspect-1.0 found: YES (/usr/bin/gst-inspect-1.0)
 * ACCESS DENIED:  open_wr:            /dev/video0
 * ACCESS DENIED:  open_wr:            /dev/video1
 * ACCESS DENIED:  open_wr:            /dev/video2
 * ACCESS DENIED:  open_wr:            /dev/video3
Program pytest-3 pytest skipped: feature tests disabled
Program python3 found: NO (disabled by: tests )
Comment 6 Andreas Sturmlechner gentoo-dev 2025-03-19 16:35:35 UTC
*** Bug 951623 has been marked as a duplicate of this bug. ***
Comment 7 Larry the Git Cow gentoo-dev 2025-03-19 22:50:30 UTC
The bug has been closed via the following commit(s):

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

commit 9d2c7e21b776f68866e045407c10e6b1133b189f
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2025-03-19 22:49:00 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2025-03-19 22:50:11 +0000

    sys-apps/xdg-desktop-portal: avoid gstreamer harder for now
    
    gstreamer is searched for unconditionally, but we don't have gstreamer-pbutils
    packaged yet, so that's a problem. Make it conditional for now (as it ought
    to be upstream either way if they're going to have an option for it).
    
    Noticed the upstream bug link and got the patch (tweaked style slightly
    after) from flint2's PR at https://github.com/gentoo/gentoo/pull/41133.
    
    Closes: https://bugs.gentoo.org/951609
    Closes: https://bugs.gentoo.org/951611
    Signed-off-by: Sam James <sam@gentoo.org>

 ...-desktop-portal-1.20.0-optional-gstreamer.patch | 104 +++++++++++++++++++++
 ...rtal-1.20.0-sandbox-disable-failing-tests.patch |   7 +-
 .../xdg-desktop-portal-1.20.0.ebuild               |   3 +
 3 files changed, 111 insertions(+), 3 deletions(-)
Comment 8 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2025-03-20 10:42:45 UTC
*** Bug 951650 has been marked as a duplicate of this bug. ***