From nobody Wed Dec 4 15:35:43 2024 X-Original-To: ports@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4Y3M6q6hdhz5flm6; Wed, 04 Dec 2024 15:35:47 +0000 (UTC) (envelope-from fuz@fuz.su) Received: from fuz.su (fuz.su [IPv6:2001:41d0:8:e508::1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "fuz.su", Issuer "fuz.su" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Y3M6q3xw0z4Wc6; Wed, 4 Dec 2024 15:35:47 +0000 (UTC) (envelope-from fuz@fuz.su) Authentication-Results: mx1.freebsd.org; none Received: from fuz.su (localhost [127.0.0.1]) by fuz.su (8.18.1/8.18.1) with ESMTPS id 4B4FZieR063853 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NO); Wed, 4 Dec 2024 16:35:44 +0100 (CET) (envelope-from fuz@fuz.su) Received: (from fuz@localhost) by fuz.su (8.18.1/8.18.1/Submit) id 4B4FZhqU063852; Wed, 4 Dec 2024 16:35:43 +0100 (CET) (envelope-from fuz) Date: Wed, 4 Dec 2024 16:35:43 +0100 From: Robert Clausecker To: Jamie Landeg-Jones Cc: meta@freebsd.org, fuz@freebsd.org, ports@freebsd.org, go@freebsd.org Subject: Re: go: exec go1.22.6: permission denied Message-ID: References: <202412041422.4B4EM9aA001407@donotpassgo.dyslexicfish.net> List-Id: Porting software to FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-ports List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: freebsd-ports@freebsd.org Sender: owner-freebsd-ports@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <202412041422.4B4EM9aA001407@donotpassgo.dyslexicfish.net> X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:16276, ipnet:2001:41d0::/32, country:FR] X-Rspamd-Queue-Id: 4Y3M6q3xw0z4Wc6 X-Spamd-Bar: ---- Hi Jamie,, Am Wed, Dec 04, 2024 at 02:22:09PM +0000 schrieb Jamie Landeg-Jones: > Robert Clausecker 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