[Bug 257493] games/gnome-mahjongg: 'stage' tries to install directly to LOCALBASE

From: <bugzilla-noreply_at_freebsd.org>
Date: Thu, 29 Jul 2021 20:50:00 UTC

            Bug ID: 257493
           Summary: games/gnome-mahjongg: 'stage' tries to install
                    directly to LOCALBASE
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: gnome@FreeBSD.org
          Reporter: jcfyecrayz@liamekaens.com
             Flags: maintainer-feedback?(gnome@FreeBSD.org)
          Assignee: gnome@FreeBSD.org

'make -C /usr/ports/games/gnome-mahjongg stage' fails when run as a user that
does not have write permission in LOCALBASE.  It tries to install a file
directly to LOCALBASE instead of the 'work/stage' dir.

This worked fine in Nov 2020 when this port was updated to 3.38.2, but now
fails - probably(?) due to changes in meson.

===>  Staging for gnome-mahjongg-3.38.3
===>   Generating temporary packing list
Running custom install script '/usr/local/bin/meson --internal gettext install
--subdir=po --localedir=share/locale --pkgname=gnome-mahjongg'
Running custom install script '/usr/local/bin/glib-compile-schemas
--- stdout ---

--- stderr ---
Failed to create file
“/usr/local/share/glib-2.0/schemas/gschemas.compiled.43UL70”: Permission denied

FAILED: install script '/usr/local/bin/glib-compile-schemas
/usr/local/share/glib-2.0/schemas' exit code 1, stopped
FAILED: meson-install 
/usr/local/bin/meson install --no-rebuild
ninja: build stopped: subcommand failed.
*** Error code 1

You are receiving this mail because:
You are the assignee for the bug.