Re: go: exec go1.22.6: permission denied
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 04 Dec 2024 15:37:27 UTC
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