Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 08 Sep 2021 15:53:11 +0000
From:      bugzilla-noreply@freebsd.org
To:        desktop@FreeBSD.org
Subject:   maintainer-feedback requested: [Bug 258372] x11-fonts/fontconfig: cannot install as user (into non-default prefix)
Message-ID:  <bug-258372-39348-1uQj4vqk6E@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-258372-39348@https.bugs.freebsd.org/bugzilla/>
References:  <bug-258372-39348@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
Bugzilla Automation <bugzilla@FreeBSD.org> has asked freebsd-desktop (Team)
<desktop@FreeBSD.org> for maintainer-feedback:
Bug 258372: x11-fonts/fontconfig: cannot install as user (into non-default
prefix)
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D258372



--- Description ---
x11-fonts/fontconfig/pkg-plist has the following entry

  @dir /var/db/fontconfig

This breaks installing into a non-default prefix as a regular user:

Installing fontconfig-2.13.94_1,1...
pkg: Fail to create /var/db/fontconfig:Permission denied
ldconfig: mkstemp(/var/run/ld-elf.so.hints.zLG4s8): Permission denied
ldconfig: mkstemp(/var/run/ld-elf32.so.hints.dOlnQp): Permission denied
Running fc-cache to build fontconfig cache...
/bin/sh: fc-cache: not found
*** Error code 1

When I remove that line things appear fine for my purposes (testing of
ports), though I am not saying this is the general fix.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-258372-39348-1uQj4vqk6E>