From nobody Fri Jul 30 21:58:46 2021 X-Original-To: gnome@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 3527D12DF545 for ; Fri, 30 Jul 2021 21:58:47 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Gc1WC0xwZz3rKh for ; Fri, 30 Jul 2021 21:58:47 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 05FF24B57 for ; Fri, 30 Jul 2021 21:58:47 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 16ULwkPt020262 for ; Fri, 30 Jul 2021 21:58:46 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 16ULwk1f020261 for gnome@FreeBSD.org; Fri, 30 Jul 2021 21:58:46 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: gnome@FreeBSD.org Subject: [Bug 257493] games/gnome-mahjongg: 'stage' tries to install directly to LOCALBASE Date: Fri, 30 Jul 2021 21:58:46 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: jcfyecrayz@liamekaens.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: gnome@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: flagtypes.name attachments.created Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: GNOME for FreeBSD -- porting and maintaining List-Archive: https://lists.freebsd.org/archives/freebsd-gnome List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-gnome@freebsd.org MIME-Version: 1.0 X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D257493 John Hein changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #226809| |maintainer-approval?(tcbern Flags| |er@freebsd.org) --- Comment #7 from John Hein --- 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.=