From owner-svn-ports-all@freebsd.org Thu May 19 17:27:40 2016 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id A3AF3B42BE8; Thu, 19 May 2016 17:27:40 +0000 (UTC) (envelope-from bdrewery@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id 936D91CC1; Thu, 19 May 2016 17:27:40 +0000 (UTC) (envelope-from bdrewery@FreeBSD.org) Received: from mail.xzibition.com (localhost [IPv6:::1]) by freefall.freebsd.org (Postfix) with ESMTP id 8C5261065; Thu, 19 May 2016 17:27:40 +0000 (UTC) (envelope-from bdrewery@FreeBSD.org) Received: from mail.xzibition.com (localhost [172.31.3.2]) by mail.xzibition.com (Postfix) with ESMTP id 35D9B1F72D; Thu, 19 May 2016 17:27:40 +0000 (UTC) X-Virus-Scanned: amavisd-new at mail.xzibition.com Received: from mail.xzibition.com ([172.31.3.2]) by mail.xzibition.com (mail.xzibition.com [172.31.3.2]) (amavisd-new, port 10026) with LMTP id oESxHXZ2HWSn; Thu, 19 May 2016 17:27:37 +0000 (UTC) Subject: Re: svn commit: r415468 - in head/ports-mgmt/poudriere-devel: . files DKIM-Filter: OpenDKIM Filter v2.9.2 mail.xzibition.com A2A981F723 To: Adam Weinberger References: <201605182259.u4IMxpnJ063691@repo.freebsd.org> Cc: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org From: Bryan Drewery Organization: FreeBSD Message-ID: <23f0d742-1bdc-4371-bae4-244834658514@FreeBSD.org> Date: Thu, 19 May 2016 10:27:36 -0700 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:45.0) Gecko/20100101 Thunderbird/45.1.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 19 May 2016 17:27:40 -0000 On 5/19/16 9:32 AM, Adam Weinberger wrote: >> On 19 May, 2016, at 10:23, Adam Weinberger wrote: >> >>> On 18 May, 2016, at 16:59, Bryan Drewery 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