Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 4 Dec 2024 16:37:27 +0100
From:      Robert Clausecker <fuz@freebsd.org>
To:        Jamie Landeg-Jones <jamie@catflap.org>
Cc:        meta@freebsd.org, fuz@freebsd.org, ports@freebsd.org, go@freebsd.org
Subject:   Re: go: exec go1.22.6: permission denied
Message-ID:  <Z1B3N_F-_Sb7A8Lw@fuz.su>
In-Reply-To: <202412041422.4B4EM9aA001407@donotpassgo.dyslexicfish.net>
References:  <zlkvoroky3ytxgvzdtbdmq75fv7h6pxwzpijvsmptj5x4j7rja@crfppwz756kq> <Z1ARbNCa3o69DyH7@fuz.su> <202412041422.4B4EM9aA001407@donotpassgo.dyslexicfish.net>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi Jamie,

Am Wed, Dec 04, 2024 at 02:22:09PM +0000 schrieb Jamie Landeg-Jones:
> Robert Clausecker <fuz@FreeBSD.org> wrote:
> 
> > The reason for this is that your package requires Go 1.22 to build, but
> > Go 1.21 has been configured as the toolchain to use for this package.
> > Go helpfully downloads a Go 1.22 toolchain and tries to use that to build
> > the package, which fails as the distfiles are not executable.
> 
> I'm puzzled to why this doesn't get extracted to WRKDIR, and executed there?
> 
> Or is it because the downloaded toolchain is not an archive, but a bare
> executable itself? If so, I'd expect it still to be copied to WRKDIR before
> execution.

If go decides it needs to download another toolchain, it places it in GOCACHE,
which is a subdirectory of DISTDIR when we build ports.

Yours,
Robert Clausecker

-- 
()  ascii ribbon campaign - for an encoding-agnostic world
/\  - against html email  - against proprietary attachments



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Z1B3N_F-_Sb7A8Lw>