svn commit: r415468 - in head/ports-mgmt/poudriere-devel: . files

Bryan Drewery bdrewery at FreeBSD.org
Thu May 19 17:27:40 UTC 2016


On 5/19/16 9:32 AM, Adam Weinberger wrote:
>> On 19 May, 2016, at 10:23, Adam Weinberger <adamw at adamw.org> wrote:
>>
>>> On 18 May, 2016, at 16:59, Bryan Drewery <bdrewery at 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 at 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


More information about the svn-ports-head mailing list