From nobody Wed Mar 12 00:57:52 2025 X-Original-To: go@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 4ZCC0d1hj8z5rJJy for ; Wed, 12 Mar 2025 00:57:53 +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 "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4ZCC0d0wBsz3dfZ for ; Wed, 12 Mar 2025 00:57:53 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1741741073; 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=YpKhHoIuMt0/K00HjpOfE6xv6LrwDb496RkwC2XImd8=; b=YY8obHW8nhNewGWk7bhrIfBfJqbf9Xi5xFGh/k5pbjWX3slnlmQjiibhT37xR55JeUASmC bEHYkKmaBwNKsXSVEegZO1/eoAnvdxS8Mw5urId8hOjeqbpYvVBfp4vkr5SoFCfd/Btjqp zIgHpSnBbKNdjqHzvomIlIGWPY3lWzGqgMhBUhOvPw0H1/8ZQiJPi6h6M2wGGue3p/wHNM hukFUcCq1ZZ1+vn5LlbawV1/I8iHCCzCs7iYm8qwnzwRD8TtTZsz5d4Eu7HlebsPz+oZyl VOwJgf39yZln+HhRHFK4eBfp/50uNlzfhDuFdZGpsK9cAlqnNu1Ogz2wS4aMhg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1741741073; a=rsa-sha256; cv=none; b=pkkkcDV619702AktEHIAosYFPHNsbN9XbFbMmNLco6mgwv8KOed9Tlj4yfyNWwshD8iQwj +h/YNpRzDKkf7e2HgqQ2RqMhz61kWw0FbLg2nnO7z+nmqtEpz9VsmpzDiis4sr5S11bLib Ip93nFtOEFTNHDVxI3ZKdoZAB4Pso2sQ5KGyJRWNMa27Rw2GW0/3XjHj1enQBN63GBxA+D hD8WQgc66q2C6qSDz2KgC51ZmPJuP0IWBvT346c6/6J7LpjG2SBih14POkI9jpHV1lsx0g O3su2hR7jrukHJlqMH40z4e16G0rBjPcmBp2BCQWV85NWDbVJsg5b6RMMvSg5A== 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=1741741073; 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=YpKhHoIuMt0/K00HjpOfE6xv6LrwDb496RkwC2XImd8=; b=laWpQp/pZj4t3n+VkaKeF56ZFXlVbg3LXd7Ampi9ha6ztC0GuEKMS6xtLyF3W6qyoOfcOC zNQXwt5sX4xPmbVtqKak2kO860EJGjQOyNrse+Kp03st4/JrYkzQbiTCd9y7k5tGcJ6Jv6 9T99LvUMTg8FSpnmZ30V13DjeTbeBVWf4bCOhtCYevGphZg2aR7/cw1NM7R4vuhG13X4cz oXSgw0l+aC1oy3QMxOTrgjSxVdm22mdYy/lyrEsxMFl+ygFaeuSPPTn9+MSgfFDgY3XZvJ dvI9wcCh1Q5c7Qyts+dc+ZFOnLrteieB/ZPBbfLw6tmIR2InG4Z9zC/D926L9Q== 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 4ZCC0d0N2Wzq7m for ; Wed, 12 Mar 2025 00:57:53 +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 52C0vqwZ036260 for ; Wed, 12 Mar 2025 00:57:52 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 52C0vqWD036259 for go@FreeBSD.org; Wed, 12 Mar 2025 00:57:52 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: go@FreeBSD.org Subject: [Bug 285326] net-mgmt/netdata doesn't respect configured DEFAULT_VERSIONS+=go={version} Date: Wed, 12 Mar 2025 00:57:52 +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 Only Me X-Bugzilla-Who: adamw@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: go@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Go language ports maintenance List-Archive: https://lists.freebsd.org/archives/freebsd-go List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: freebsd-go@freebsd.org Sender: owner-freebsd-go@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D285326 --- Comment #2 from Adam Weinberger --- Go version pinning is a relatively new feature, and our framework hasn't adapted yet. As you pointed out, we absolutely have to approach version specification differently than we do today. Some things to keep in mind (and PLEASE correct me if I'm wrong about any of these!): 1) If a go.mod specifies `go 1.23`, that is a MINIMUM specification, not an actual version pin. 2) `USES=3Dgo:1.23` brings in only go123, which is NOT consistent with (1). 3) We have no way to specify a minimum go version. 4) In many circumstances, when a go.mod requires 1.23, Go will download go-v1.23 sources to link against that version's stdlib. 5) Porters often misinterpret this as thinking that they must then specify USES=3Dgo:1.23. We already have an issue where we can't just remove old, unsupported Go versions, because ports incorrectly recorded a go-1.21 requirement. 6) It should be INCREDIBLY rare for a port to *actually* need a specific go version! We need to fix this, but I'm not sure what the right approach is: 1) Always treat USES=3Dgo:1.23 as requiring go>=3D1.23 2) Add a new syntax, such as USES=3Dgo:1.23+ 3) USES=3Dgo:1.23 means >=3D1.23, and some other syntax (maybe USES=3Dgo:= =3D1.23 or something) means "must be 1.23" 4) Is there a build flag or some other mechanism that brings version pinnin= g in line with how we do version pinning? --=20 You are receiving this mail because: You are the assignee for the bug.=