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

2018-02-28 Thread Yuri
On 02/28/18 13:15, Antoine Brodin wrote: Both examples do not use MAKE_ENV. Maybe all of them should be changed to use MAKE_ENV, and if it will also include XDG_DATA_HOME, the problem wil be gone? Yuri ___ freebsd-ports@freebsd.org mailing

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

2018-02-28 Thread Antoine Brodin
On Wed, Feb 28, 2018 at 10:10 PM, Yuri wrote: > On 02/28/18 13:07, Antoine Brodin wrote: >> >> 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. > > > > Both examples don't use go.mk and still

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

2018-02-28 Thread Yuri
On 02/28/18 13:07, Antoine Brodin wrote: 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. Both examples don't use go.mk and still fail. Yuri ___

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

2018-02-28 Thread Antoine Brodin
On Wed, Feb 28, 2018 at 9:57 PM, Yuri 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. > >

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

2018-02-28 Thread Yuri
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

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

2018-02-28 Thread Antoine Brodin
On Wed, Feb 28, 2018 at 8:35 AM, Antoine Brodin wrote: > On Wed, Feb 28, 2018 at 12:12 AM, Yuri wrote: >> For example: >> >> http://package21.nyi.freebsd.org/data/111amd64-default-qat/462883/logs/errors/gogs-0.11.34_2.log >> >>

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

2018-02-28 Thread Antoine Brodin
On Wed, Feb 28, 2018 at 12:12 AM, Yuri wrote: > For example: > > http://package21.nyi.freebsd.org/data/111amd64-default-qat/462883/logs/errors/gogs-0.11.34_2.log > > http://package21.nyi.freebsd.org/data/111amd64-default-qat/462883/logs/errors/cryptoballot-g20170928.log Ports

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

2018-02-27 Thread Dmitri Goutnik
Go 1.10 started caching build artefacts [1] in GOCACHE (~/.cache/go-build by default). This probably needs to be disabled by settings GOCACHE=off in port Makefiles (unless there's a better way to disable it globally). [1] https://groups.google.com/forum/#!msg/golang-dev/qfa3mHN4ZPA/X2UzjNV1BAAJ

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

2018-02-27 Thread Yuri
For example: http://package21.nyi.freebsd.org/data/111amd64-default-qat/462883/logs/errors/gogs-0.11.34_2.log http://package21.nyi.freebsd.org/data/111amd64-default-qat/462883/logs/errors/cryptoballot-g20170928.log Yuri ___