Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 19 May 2016 10:32:14 -0600
From:      Adam Weinberger <adamw@adamw.org>
To:        Bryan Drewery <bdrewery@FreeBSD.org>
Cc:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   Re: svn commit: r415468 - in head/ports-mgmt/poudriere-devel: . files
Message-ID:  <A0B38CDF-8830-4B77-AECE-4860B64B1FA3@adamw.org>
In-Reply-To: <B72D587B-645B-42C0-A329-67E4A0B0BFF8@adamw.org>
References:  <201605182259.u4IMxpnJ063691@repo.freebsd.org> <B72D587B-645B-42C0-A329-67E4A0B0BFF8@adamw.org>

next in thread | previous in thread | raw e-mail | index | archive | help
> On 19 May, 2016, at 10:23, Adam Weinberger <adamw@adamw.org> wrote:
>=20
>> On 18 May, 2016, at 16:59, Bryan Drewery <bdrewery@FreeBSD.org> =
wrote:
>>=20
>> Author: bdrewery
>> Date: Wed May 18 22:59:51 2016
>> New Revision: 415468
>> URL: https://svnweb.freebsd.org/changeset/ports/415468
>>=20
>> - Update to 3.0-1657-g0b204f0
>>=20
>>   - Switch BUILD_AS_NON_ROOT as default to on.
>=20
> Hi Bryan,
>=20
> After this, I'm getting lots of ccache failures. Is it because the =
caches were created as root originally? Do I need to chown them, and if =
so to whom?
>=20
> poudriere.conf:
> CCACHE_DIR=3D/var/cache/ccache/common
>=20
> [root@lockup ~] ll /var/cache/ccache/common
> 2 drwxr-xr-x  19 root  wheel    20B May 18 09:09 ./
>=20
> In every build:
> ccache: error: Failed to create temporary file for =
/root/.ccache/tmp/tmp.cpp_stderr: Permission denied
> *** Error code 1
>=20
> Stop.

Okay yeah, the answer was to chown -R nobody:nobody. It might be worth =
throwing up a wiki entry, as I can't imagine I'll be the only person who =
gets bitten by that.

# Adam


--=20
Adam Weinberger
adamw@adamw.org
http://www.adamw.org




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?A0B38CDF-8830-4B77-AECE-4860B64B1FA3>