[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 +0000
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=257493

            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_at_FreeBSD.org
          Reporter: jcfyecrayz_at_liamekaens.com
             Flags: maintainer-feedback?(gnome_at_FreeBSD.org)
          Assignee: gnome_at_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
/usr/local/share/glib-2.0/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.
Received on Thu Jul 29 2021 - 20:50:00 UTC

Original text of this message