From nobody Sat Sep 14 13:52:03 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 4X5XfW3N55z5WNf5 for ; Sat, 14 Sep 2024 13:52:03 +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 4X5XfW1Qfbz4WsW for ; Sat, 14 Sep 2024 13:52:03 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1726321923; a=rsa-sha256; cv=none; b=sf9AHYbM5y3yAcmbrsasWcKIFPeLZAtM0LwNm3mTeOR3BaDLqECn/TRhWMAX1jznfKAS7b YEc97DF+Y55vj6MKtM9Dj7+lYYHYyWXhe4UYEB2/e9pG0aqnYqwwJ7OBfEc6LY7ExyqRAS qBXLw/iNwCyIU6FzxkUeflQ+SyWJ3Qm1/Px9gGXuvvs5vz1fxoz+xvDJU+2sc1FQW5bd0W GX5THLBQoiIyF13RsXGOggYsMW46pxr3c9jprTcMWs1tp0VdHOSpYO/gDvEfROiWMHVJZd jv5bTT2xkoglCVX01/2k3DcF1OuHP8kf3qNvuJVstycKb2yw4V3M54fzN6A69g== 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=1726321923; 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: in-reply-to:in-reply-to:references:references; bh=vsM7SC2X12whYRbKM0UMK+WgVysTZ6Lyuuhr3HAUMWM=; b=et+ZIy0Rx0QNvIxbCtDAC1X3+R3LM1+T9HPwx8Fv00fE158vKP+VlzPTW0yaY/CU52ThH7 +dFTiJpdOx3lcaP/GoWn6i1BAPpaAEdd4WCbBdapIi09wzdGoj7sVGL/WQYaKEItrn4PNZ 97gTbdVrwxNjxgP2QK0t5rvEeicUjajq3VwZ0YAdyNwYMIKq/P1g57tcs62IDOGquRkuNJ lr+QRX6UQK7hYuvrBg3/fowUpVxxNwfVt8gA7fBwmLlUvKN93+YR/CzjOz45yuBSqblRlG DU8WxKlmbvhmpHG7wMbWqRG10oezAAK61SCvFsaE+uiDpD/tHdIat1OL5rh7Qw== 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 4X5XfW12WTzVH6 for ; Sat, 14 Sep 2024 13:52:03 +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 48EDq2WB093899 for ; Sat, 14 Sep 2024 13:52:02 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 48EDq2UA093898 for ports-bugs@FreeBSD.org; Sat, 14 Sep 2024 13:52:02 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 13:52:03 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed 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: dsh@bamus.cz 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: Message-ID: In-Reply-To: References: 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 --- Comment #1 from Denis Shaposhnikov --- I use this in my overlay https://github.com/dsh2dsh/freebsd-ports/blob/1dff138dcc344673d4d2443c40d08= d9784d22f48/Mk/Uses/go.mk#L3 # If a port USES specific go version and DEFAULT_VERSIONS specifies higher # version, use it, instead of lower go version from USES. Example: # # DEFAULT_VERSIONS+=3D go=3D1.22 # USES=3D go:1.21 # # In this example a port builded with lang/go122 instead of lang/go121, bec= ause # DEFAULT_VERSIONS specifies higher version of go. GO_VERSION=3D ${go_ARGS:M[1-9].*:U${GO_DEFAULT}} . if ${GO_VERSION:N*-devel} && ${GO_VERSION} < ${GO_DEFAULT} go_ARGS:=3D ${go_ARGS:S/${GO_VERSION}/${GO_DEFAULT}/1} . endif May be this change will help. --=20 You are receiving this mail because: You are the assignee for the bug.=