Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 778827 - 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
Summary: games-board/gnome-mahjongg-3.38.3 fails src_install with sandbox violation: F...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-03-28 05:21 UTC by Thomas Deutschmann (RETIRED)
Modified: 2021-03-29 01:42 UTC (History)
7 users (show)

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


Attachments
build.log (build.log,42.97 KB, text/plain)
2021-03-28 05:23 UTC, Thomas Deutschmann (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Deutschmann (RETIRED) gentoo-dev 2021-03-28 05:21:47 UTC
>  * 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
>  *
>
Comment 1 Thomas Deutschmann (RETIRED) gentoo-dev 2021-03-28 05:23:07 UTC
Created attachment 695205 [details]
build.log
Comment 2 Thomas Deutschmann (RETIRED) gentoo-dev 2021-03-28 05:24:15 UTC
>  * --------------------------- 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
>  * --------------------------------------------------------------------------------
>
Comment 3 Larry the Git Cow gentoo-dev 2021-03-28 15:54:46 UTC
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(+)
Comment 4 cyrillic 2021-03-28 21:02:15 UTC
This commit caused the problem :
https://gitlab.gnome.org/GNOME/gnome-mahjongg/-/commit/2a6b822dca77a215bd6a9b941873c65c7a08b13c

The fix is just to disable these options again.
Comment 5 Matt Turner gentoo-dev 2021-03-29 01:39:40 UTC
(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!
Comment 6 Larry the Git Cow gentoo-dev 2021-03-29 01:42:38 UTC
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(-)