Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 19 May 2016 10:27:36 -0700
From:      Bryan Drewery <bdrewery@FreeBSD.org>
To:        Adam Weinberger <adamw@adamw.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:  <23f0d742-1bdc-4371-bae4-244834658514@FreeBSD.org>
In-Reply-To: <A0B38CDF-8830-4B77-AECE-4860B64B1FA3@adamw.org>
References:  <201605182259.u4IMxpnJ063691@repo.freebsd.org> <B72D587B-645B-42C0-A329-67E4A0B0BFF8@adamw.org> <A0B38CDF-8830-4B77-AECE-4860B64B1FA3@adamw.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On 5/19/16 9:32 AM, Adam Weinberger wrote:
>> On 19 May, 2016, at 10:23, Adam Weinberger <adamw@adamw.org> wrote:
>>
>>> On 18 May, 2016, at 16:59, Bryan Drewery <bdrewery@FreeBSD.org> wrote:
>>>
>>> Author: bdrewery
>>> Date: Wed May 18 22:59:51 2016
>>> New Revision: 415468
>>> URL: https://svnweb.freebsd.org/changeset/ports/415468
>>>
>>> - Update to 3.0-1657-g0b204f0
>>>
>>>   - Switch BUILD_AS_NON_ROOT as default to on.
>>
>> Hi Bryan,
>>
>> 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?
>>
>> poudriere.conf:
>> CCACHE_DIR=/var/cache/ccache/common
>>
>> [root@lockup ~] ll /var/cache/ccache/common
>> 2 drwxr-xr-x  19 root  wheel    20B May 18 09:09 ./
>>
>> In every build:
>> ccache: error: Failed to create temporary file for /root/.ccache/tmp/tmp.cpp_stderr: Permission denied
>> *** Error code 1
>>
>> 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
> 
> 

Yeah it's the build as user default change. It breaks ccache.  I'm not
thrilled about it and there's no sane workaround.

-- 
Regards,
Bryan Drewery



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?23f0d742-1bdc-4371-bae4-244834658514>