From nobody Sat Sep 14 00:05:36 2024 X-Original-To: ports-bugs@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 4X5BJx1r0Zz5WMkN for ; Sat, 14 Sep 2024 00:05:37 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (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 (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4X5BJw4j54z4fpB for ; Sat, 14 Sep 2024 00:05:36 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1726272336; a=rsa-sha256; cv=none; b=Wh4DnQx7rHl+8pr129AB0n+NamlwwOq3TajzrQUPjFSCoBO1E8w5tTl9ox0PFzFKa8j3vY WL8iPXPmf/58GnN/YnelbY239UM8kcOOhk0NwZii5iHmMmveGI0j3jdfeahIu9uSCJjRxF kgUef4TKCarDTTFlk0pEIgc41Q1OF8xqWF1wLWvKGB6YHVlbDHN5ghJTYnRunpHJbzjwxD IN6C1IYLntogKdEnUSGTWc7y7OOoH12wVh6BrWcnbpVMfijvrZx1YydXR4g6c+vaqw4PiI 37CoevC2fEBxEorTmDQNUxYwhiPUO5Nmuq/YvqYVNtkmpukaayjTI39YNPRW3A== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1726272336; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=wmHFtTmQZHhu3aL0Hkw68mAYAS17vrDNoKR0n3q/ZwI=; b=vSM3FYSSkGzijNS44B4jTiiWvjTu0mZA7Ruq5FGgigsdJmbKGJzdvL5YuG+EP5nxoljO9+ jppxj2SZrjLkfaqAvBpeEzr62vohe1PIVynbzZwGjU3GIba9ZBJ7YeqoyRaSSy+d+YJKsl OslPNt/JQlsNhlKBV5vwTxZwk7WcQyxhglZ6X6hYIMjop+xKRRHfeo6AwiUAX3KHYCdFBc IfaUwPWBwgwhBneOLhQ1uAuIah0oP+bbn0sstrjgKU3vZ4c1TveVjB5y/a+pK0dVr6olI3 IbGDIoMxg8Tw6ChF0WkRtk4p8rmB5e58AXEYd9DsCBNoSoGtzjf51jZOLp0mbw== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (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 did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4X5BJw451Nz14bH for ; Sat, 14 Sep 2024 00:05:36 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 48E05aew088133 for ; Sat, 14 Sep 2024 00:05:36 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 48E05aJh088132 for ports-bugs@FreeBSD.org; Sat, 14 Sep 2024 00:05:36 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 281491] Uses/go.mk: uses downloaded toolchain Date: Sat, 14 Sep 2024 00:05:36 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: fullermd@over-yonder.net X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: ports-bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Ports bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-ports-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: freebsd-ports-bugs@freebsd.org Sender: owner-freebsd-ports-bugs@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D281491 Bug ID: 281491 Summary: Uses/go.mk: uses downloaded toolchain Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Some People Priority: --- Component: Individual Port(s) Assignee: ports-bugs@FreeBSD.org Reporter: fullermd@over-yonder.net With (presumably) recent go, it really wants to use the go version specifie= d in module files. https://go.dev/ref/mod#go-mod-file-go This means that it tries to download and run the toolchain out of distfiles when building packages. This is particularly visible when you have /usr/ports/distfiles on a noexec partition. e.g. (cd /usr/ports/www/gohugo ; make) =3D=3D=3D> License APACHE20 accepted by the user =3D=3D=3D> gohugo-0.134.2,1 depends on file: /usr/local/sbin/pkg - found =3D=3D=3D> gohugo-0.134.2,1 depends on file: /usr/local/bin/go121 - found =3D=3D=3D> gohugo-0.134.2,1 depends on package: ca_root_nss>0 - found =3D=3D=3D> Fetching all distfiles required by gohugo-0.134.2,1 for building =3D=3D=3D> Fetching github.com/gohugoio/hugo dependencies go: exec go1.22.6: permission denied *** Error code 1 It certainly doesn't seem like we should need to be able to `exec` things r= ight out of the distfiles dir in general, but also more broadly if something nee= ds a different version of go we should depend on having that built in ports, not silently download a binary toolchain (once for each port!) and run it out of distfiles. --=20 You are receiving this mail because: You are the assignee for the bug.=