Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 30 Jul 2021 21:58:46 +0000
From:      bugzilla-noreply@freebsd.org
To:        gnome@FreeBSD.org
Subject:   [Bug 257493] games/gnome-mahjongg: 'stage' tries to install directly to LOCALBASE
Message-ID:  <bug-257493-6497-BM0YsnEo24@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-257493-6497@https.bugs.freebsd.org/bugzilla/>
References:  <bug-257493-6497@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D257493

John Hein <jcfyecrayz@liamekaens.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #226809|                            |maintainer-approval?(tcbern
              Flags|                            |er@freebsd.org)

--- Comment #7 from John Hein <jcfyecrayz@liamekaens.com> ---
Created attachment 226809
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D226809&action=
=3Dedit
[patch] games/gnome-mahjongg - fix 'stage' writing to LOCALBASE

This patch disables the attempt to run glib-compile-schemas and
gtk-update-icon-cache during 'make stage'.  Both of these were trying to wr=
ite
to LOCALBASE instead of the staging dir (work/stage) which triggered a
'permission denied' issue if running 'make stage' as a regular user.  And b=
oth
are already done anyway by the gnome ports infrastructure at 'install' time=
 (or
if installing from pkg, at the time the of the 'pkg install').

There is also a change in ordering in the Makefile for the USES line (prodd=
ed
by portlint's whine).

There is no need to bump the PORTREVISION - there is no change in the packa=
ge.

I tested in poudriere (testport -i to get interactive mode) by creating a
regular user and doing 'make clean stage' as the regular user.  Without the
patch it fails (as expected) - with the patch it passes 'make stage stage-qa
check-plist' as the regular user and 'make install' as root.


QA:
 - portlint: ok (1 less warning after patch)
 - testport: ok (11-stable/amd64)

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-257493-6497-BM0YsnEo24>