From owner-freebsd-ports@freebsd.org Wed Feb 28 20:57:10 2018 Return-Path: Delivered-To: freebsd-ports@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 3586DF44F73 for ; Wed, 28 Feb 2018 20:57:10 +0000 (UTC) (envelope-from yuri@rawbw.com) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id C841F8D0B5 for ; Wed, 28 Feb 2018 20:57:09 +0000 (UTC) (envelope-from yuri@rawbw.com) Received: by mailman.ysv.freebsd.org (Postfix) id 84B09F44F6D; Wed, 28 Feb 2018 20:57:09 +0000 (UTC) Delivered-To: ports@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 73167F44F6C for ; Wed, 28 Feb 2018 20:57:09 +0000 (UTC) (envelope-from yuri@rawbw.com) Received: from shell1.rawbw.com (shell1.rawbw.com [198.144.192.42]) by mx1.freebsd.org (Postfix) with ESMTP id 066948D0A4; Wed, 28 Feb 2018 20:57:08 +0000 (UTC) (envelope-from yuri@rawbw.com) Received: from yv.noip.me (c-24-4-131-132.hsd1.ca.comcast.net [24.4.131.132]) (authenticated bits=0) by shell1.rawbw.com (8.15.1/8.15.1) with ESMTPSA id w1SKv6NR012396 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO); Wed, 28 Feb 2018 12:57:07 -0800 (PST) (envelope-from yuri@rawbw.com) X-Authentication-Warning: shell1.rawbw.com: Host c-24-4-131-132.hsd1.ca.comcast.net [24.4.131.132] claimed to be yv.noip.me Subject: Re: Go ports fail with fs violation: Error: Filesystem touched during build:,extra: root/.cache To: Antoine Brodin Cc: "ports@freebsd.org" References: <54d0d073-b443-48c9-abaa-665df04052f4@rawbw.com> From: Yuri Message-ID: <6550e780-5758-044c-5936-bbcf917d455e@rawbw.com> Date: Wed, 28 Feb 2018 12:57:05 -0800 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:52.0) Gecko/20100101 Thunderbird/52.6.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 28 Feb 2018 20:57:10 -0000 On 02/28/18 00:35, Antoine Brodin wrote: > Ports that use CONFIGURE_ENV / MAKE_ENV have this violation issue with > HOME=${WRKDIR}. > Maybe this should be added to GO_ENV and go ports should respect more > this environment. PGo also tries "XDG_CACHE_HOME" when "GOCACHE" isn't defined. Mk/ does define "XDG_DATA_HOME" in MAKE_ENV. Maybe the right solution is to just add "XDG_CACHE_HOME" there? Yuri