Go ports fail with fs violation: Error: Filesystem touched during build:,extra: root/.cache

Antoine Brodin antoine at freebsd.org
Wed Feb 28 21:07:23 UTC 2018

On Wed, Feb 28, 2018 at 9:57 PM, Yuri <yuri at rawbw.com> wrote:
> On 02/28/18 00:35, Antoine Brodin wrote:
>> Ports that use CONFIGURE_ENV / MAKE_ENV have this violation issue with
>> 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.


More information about the freebsd-ports mailing list