From owner-freebsd-pkg@freebsd.org Tue May 24 17:42:43 2016 Return-Path: Delivered-To: freebsd-pkg@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 3E109B4792C for ; Tue, 24 May 2016 17:42:43 +0000 (UTC) (envelope-from marck@rinet.ru) Received: from woozle.rinet.ru (woozle.rinet.ru [195.54.192.68]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id C3866179E; Tue, 24 May 2016 17:42:42 +0000 (UTC) (envelope-from marck@rinet.ru) Received: from localhost (localhost [127.0.0.1]) by woozle.rinet.ru (8.14.5/8.14.5) with ESMTP id u4OHgcdj040912; Tue, 24 May 2016 20:42:38 +0300 (MSK) (envelope-from marck@rinet.ru) Date: Tue, 24 May 2016 20:42:38 +0300 (MSK) From: Dmitry Morozovsky To: Matthew Seaman cc: freebsd-pkg@freebsd.org Subject: Re: broken poudriere with CCACHE In-Reply-To: <34d8ead5-b56a-76e7-26f2-2c5fc5d8be0b@freebsd.org> Message-ID: References: <34d8ead5-b56a-76e7-26f2-2c5fc5d8be0b@freebsd.org> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) X-NCC-RegID: ru.rinet X-OpenPGP-Key-ID: 6B691B03 MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.4.3 (woozle.rinet.ru [0.0.0.0]); Tue, 24 May 2016 20:42:38 +0300 (MSK) X-BeenThere: freebsd-pkg@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: Binary package management and package tools discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 24 May 2016 17:42:43 -0000 On Tue, 24 May 2016, Matthew Seaman wrote: > On 05/24/16 14:37, Dmitry Morozovsky wrote: > > 10-stable at amd64 > > > > recently (coincident with pkg 1.8.3?) my poudriere starts failing with enabled > > ccache even with totally clean /var/db/ccache hierarchy. ports failing list > > begins with textproc/expat2 and ftp/curl, for example. > > > > > > Disabling ccache support (can it be done in other way than commenting > > out CCACHE_DIR id poudriere.conf BTW?) helps > > > > Any hints? > > > > It's probably not pkg-1.8.3 but poudriere-devel-3.1.99.20160520 (or > thereabouts). The default was changed to build as non-root. This is > fine, except that you now need to chown your ccache to nobody:nobody so > that it's writable by the userid doing the compilation. Yes, that's exactly this. chown -r nobody:nobody $CACHE_DIR/{[0-9],tmp} fixes the situation. This should be possibly documented somewhere -- neither at man page nor Handbook contain any reference to that... Thanks! -- Sincerely, D.Marck [DM5020, MCK-RIPE, DM3-RIPN] [ FreeBSD committer: marck@FreeBSD.org ] ------------------------------------------------------------------------ *** Dmitry Morozovsky --- D.Marck --- Wild Woozle --- marck@rinet.ru *** ------------------------------------------------------------------------