Summary: | games-board/gnome-mahjongg-3.38.3 fails src_install with sandbox violation: Failed to create file “/usr/share/glib-2.0/schemas/gschemas.compiled.K2DY00”: Permission denied | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Thomas Deutschmann (RETIRED) <whissi> |
Component: | Current packages | Assignee: | Gentoo Linux Gnome Desktop Team <gnome> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | gentoo, leonchik1976, marduk, mgorny, nickAristocrates, sam, soap |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | build.log |
Created attachment 695205 [details]
build.log
> * --------------------------- ACCESS VIOLATION SUMMARY ---------------------------
> * LOG FILE: "/var/tmp/portage/games-board/gnome-mahjongg-3.38.3/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: /usr/share/glib-2.0/schemas/gschemas.compiled.K2DY00
> A: /usr/share/glib-2.0/schemas/gschemas.compiled.K2DY00
> R: /usr/share/glib-2.0/schemas/gschemas.compiled.K2DY00
> C: /usr/bin/glib-compile-schemas /usr/share/glib-2.0/schemas
> * --------------------------------------------------------------------------------
>
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1052298ccce299b53a3c5ba3ca647af2f1c41d2e commit 1052298ccce299b53a3c5ba3ca647af2f1c41d2e Author: Matt Turner <mattst88@gentoo.org> AuthorDate: 2021-03-28 15:54:06 +0000 Commit: Matt Turner <mattst88@gentoo.org> CommitDate: 2021-03-28 15:54:38 +0000 profiles: Mask >=games-board/gnome-mahjongg-3.38 Bug: https://bugs.gentoo.org/778827 Signed-off-by: Matt Turner <mattst88@gentoo.org> profiles/package.mask | 4 ++++ 1 file changed, 4 insertions(+) This commit caused the problem : https://gitlab.gnome.org/GNOME/gnome-mahjongg/-/commit/2a6b822dca77a215bd6a9b941873c65c7a08b13c The fix is just to disable these options again. (In reply to cyrillic from comment #4) > This commit caused the problem : > https://gitlab.gnome.org/GNOME/gnome-mahjongg/-/commit/ > 2a6b822dca77a215bd6a9b941873c65c7a08b13c > > The fix is just to disable these options again. Thank you! The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=099515d22f7758ccb5e8ce3d22e5d8f1661ddf7a commit 099515d22f7758ccb5e8ce3d22e5d8f1661ddf7a Author: Matt Turner <mattst88@gentoo.org> AuthorDate: 2021-03-29 01:41:55 +0000 Commit: Matt Turner <mattst88@gentoo.org> CommitDate: 2021-03-29 01:41:58 +0000 games-board/gnome-mahjongg: Avoid sandbox violation The eclass handles these things for us, so we don't need to. Closes: https://bugs.gentoo.org/778827 Signed-off-by: Matt Turner <mattst88@gentoo.org> games-board/gnome-mahjongg/gnome-mahjongg-3.38.3.ebuild | 8 ++++++++ profiles/package.mask | 4 ---- 2 files changed, 8 insertions(+), 4 deletions(-) |
> * ACCESS DENIED: open_wr: /usr/share/glib-2.0/schemas/gschemas.compiled.K2DY00 > Failed to create file “/usr/share/glib-2.0/schemas/gschemas.compiled.K2DY00”: Permission denied > FAILED: install script '/usr/bin/glib-compile-schemas /usr/share/glib-2.0/schemas' exit code 1, stopped > FAILED: meson-install > /usr/lib/python-exec/python3.9/meson install --no-rebuild > ninja: build stopped: subcommand failed. > * ERROR: games-board/gnome-mahjongg-3.38.3::gentoo failed (install phase): > * ninja -v -j5 -l5.95 -C /var/tmp/portage/games-board/gnome-mahjongg-3.38.3/work/gnome-mahjongg-3.38.3-build install failed > * >