From nobody Fri Jan 27 21:18:11 2023 X-Original-To: desktop@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 4P3VmM3kvsz3c78N for ; Fri, 27 Jan 2023 21:18:11 +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 4P3VmM0Vqzz4Mp5 for ; Fri, 27 Jan 2023 21:18:11 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1674854291; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=LTCNhjljobTeMijie+TkNBlxAkgvSyogBF+n19SHhhE=; b=xE1b5rC+orA/GT+UvClXTCoOqJywhzWvjhxrWGtaIkM8pHU0Z8fRvbR7u/pelVwxkYM/3h Z4f9oju3LsLGlwQrQDzak5W48M4l3yDLfk6lVvz1SHAH+Q80K6FZt/ed/YBH3s0DhL0VX7 W2aKexe7T304i4vGDJFmXo9/RnezmcCDWpVwrEy4XA9uwfsGRjw2ObE9pgctlkdd/SbFgN j/i3JD6F9yWfWV1FH2B9gl6BZF0YaaQrvWHS55zaWJmOdU4h59+A2BSh0A4CvKsshvdrf7 YtyRlBozRjAl1kXU4MV170WCuiJFD6abLJO3eaWQBWmScrpcFUxgZMce1fcswQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1674854291; a=rsa-sha256; cv=none; b=h8HBb1W3+Ogaw1ZyP97EezBemGI7eu40rLrz1OBWd6xpOOt97pXB6jUEW85WlE+basbgvm z2yg88yt9az2M/n41tS6gFVgXO8cr4mXRAfF/SoCdv3pesurv543WFZJwtHGlVImC8LPfP BAL2EZG+kfP7meHMhpe8bqgmScPxtpiTd5g7v5cm4XFTrhA9Xlw6z0o8D429ZH7TC5+32A QBcmtD2YKZZc3shEqbwpLM1RFojJijhFkwDRtU3dGx1qPGGb5jcshCnYss6GyRZT2ksQB4 VYZsKaBhETD9nmLAK9U0EbDATiG1hl7QWuidaIiQcmovgrFprHwIIt63Mg1LrQ== 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 4P3VmL6b1tzP3t for ; Fri, 27 Jan 2023 21:18:10 +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 30RLIAFV037628 for ; Fri, 27 Jan 2023 21:18:10 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 30RLIAsW037627 for desktop@FreeBSD.org; Fri, 27 Jan 2023 21:18:10 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: desktop@FreeBSD.org Subject: [Bug 258372] x11-fonts/fontconfig: cannot install as user (into non-default prefix) Date: Fri, 27 Jan 2023 21:18:11 +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 Only Me X-Bugzilla-Who: tatsuki_makino@hotmail.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: desktop@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: 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: Using and improving FreeBSD on the desktop List-Archive: https://lists.freebsd.org/archives/freebsd-desktop List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-desktop@freebsd.org MIME-Version: 1.0 X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D258372 --- Comment #8 from Tatsuki Makino --- To begin with, isn't /var/db/fontconfig directory that doesn't need to be prepared beforehand? It was automatically created by the following operation by root. mv /var/db/fontconfig{,.orig} fc-cache --force --system-only --verbose It seems that /var/db/fontconfig is not hard-coded, but just written in /usr/local/etc/fonts/fonts.conf*. From what I can see of it, it seems to act like it is looking for a place in where it can write from the top. It should be noted that prefix=3D"xdg" has its own fall down different from glib's (at fontconfig-2.14.0/src/fccfg.c). Since non-privileged users cannot write to /var/db, the default behavior se= ems to be to write to ~/.cache/fontconfig if they are able to write to ~/.cache= and to ~/.fontconfig otherwise. Let's see, that means we don't need to create /var/db/fontconfig when we install fontconfig, do we? :) --=20 You are receiving this mail because: You are the assignee for the bug.=