Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 28 Feb 2018 22:07:20 +0100
From:      Antoine Brodin <antoine@freebsd.org>
To:        Yuri <yuri@rawbw.com>
Cc:        "ports@freebsd.org" <ports@freebsd.org>
Subject:   Re: Go ports fail with fs violation: Error: Filesystem touched during build:,extra: root/.cache
Message-ID:  <CAALwa8ksc08LLP2YjOYZJq60=359TRVnGRAPAKh0UAO1pbr4bA@mail.gmail.com>
In-Reply-To: <6550e780-5758-044c-5936-bbcf917d455e@rawbw.com>
References:  <54d0d073-b443-48c9-abaa-665df04052f4@rawbw.com> <CAALwa8=xk-EAJwnNA4MjgKpCtYcudZkrV6qE1Dqdcupvb=cA8Q@mail.gmail.com> <6550e780-5758-044c-5936-bbcf917d455e@rawbw.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Feb 28, 2018 at 9:57 PM, Yuri <yuri@rawbw.com> wrote:
> 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?

No,  HOME is already enough to fix the violation.  The problem is that
those ports/go.mk do fancy things and do not respect BUILD_ENV.

Antoine



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAALwa8ksc08LLP2YjOYZJq60=359TRVnGRAPAKh0UAO1pbr4bA>