From nobody Mon Oct 09 08:58:44 2023 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 4S3tHb21N8z4x5Hq for ; Mon, 9 Oct 2023 08:58:51 +0000 (UTC) (envelope-from peterj@freebsd.org) Received: from smtp.freebsd.org (smtp.freebsd.org [96.47.72.83]) (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 "smtp.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4S3tHb1Zj2z3TZ8; Mon, 9 Oct 2023 08:58:51 +0000 (UTC) (envelope-from peterj@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1696841931; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=SWuJtmfu50wNu2kp+w3Jpr2o/NuG2/StfS0CdxhN5e0=; b=n1J/FoX7co46+HhyLOwLw6SRcIDtcHPb53eitwNnru2PlhLYfZR7kiVgrdx7Uasbd01Mo2 BZ93jEU3Vl8fk7ngRkB4zMxaOYZZX2rNrF/2yehNoRxPHKc9lMbfM4+aPjBlU9iSOujiaz CcyGRrGIS4i/VjaDTB4uEIA/Qg8Fn18BqXWesZhjesXvLkbvFfGc4sFPU7LhcLaxrHld5e xrQe3GAu00jusfTCX2mcBDK/Cp2hj67xb5td4UbH0p+K+UUjngg5f4hqJ1dtmmeGMFtEwX 2IiECpLDpljVex6a7ZP5CH9R0QUof/4sohZEwWizwwpitiOAuEI8qUgcq3KYOw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1696841931; a=rsa-sha256; cv=none; b=erm+lRkiv8eUs0WpTh5ZXXj0lpVh4BUFMJCT9iAnrGKyuMMgMIcya9yk+So5BM4yg6dttx t4W93kxFAjcKqXONCQ4gSyygIgF+FhiYylJk+OgT4zGSZmrZsQKgWNbSnPuFNE0VHBb/nw mTfxczu928EthA65NkxN9ZF1gzcte/8IMm5ynQ+mMnYegMtN9uOttx9lxtOz0zSFGRn+5h W6bNZjtZu7kpacH5d49mEAAnQ/cBUDvHgMZVubY8xzziVQ2L1WeiAA0FV6mCyU6dbByJr6 m/RFSPSAAzvu7T+A0QQYbIDNe/GUo0vt4jZ1B5O3Qnzoo45k7t2KMtr40SkP/A== 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=1696841931; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=SWuJtmfu50wNu2kp+w3Jpr2o/NuG2/StfS0CdxhN5e0=; b=R39WU/JXe7Al6py3lK7px0xh/WBAj6jK4xBn0w7HrK4HISqvzBtxdVE78B51Ws4Vm6IKlD Pz4+vyRKEBc5029JMxAKgQAhGTGOtAUHLc/YjsuGsuo5keBfPXvuX5dOZzmn8JiPy1SWh7 3x4Fjjb8XE4oBumpoO1Tj6J+l17mc0vgMFoCsbxg7dVtj2+4vFezj4URGANEH9CyIdXKiR Cyub15PNGMYr6NckCkg/mr6srg+a7O+OgkIsPsKj0zF7mlG9sbV/pVFxDigQ7MQU41GAJA 8HBLsansxtSdyBlqjcg1BrUWzcQXdqt57KnHqvjopmBaU3kt1AFVyPz5CcfAQQ== Received: from server.rulingia.com (ppp239-208.static.internode.on.net [59.167.239.208]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA512) (Client did not present a certificate) (Authenticated sender: peterj) by smtp.freebsd.org (Postfix) with ESMTPSA id 4S3tHZ0FdZz81F; Mon, 9 Oct 2023 08:58:49 +0000 (UTC) (envelope-from peterj@freebsd.org) Date: Mon, 9 Oct 2023 19:58:44 +1100 From: Peter Jeremy To: nulldutra Cc: "ports@freebsd.org" Subject: Re: Parser error in Golang version Message-ID: References: List-Id: Porting software to FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-ports List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-ports@freebsd.org X-BeenThere: freebsd-ports@freebsd.org MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="6gzY6Ltp7dWW3X57" Content-Disposition: inline In-Reply-To: X-PGP-Key: http://www.rulingia.com/keys/peter.pgp --6gzY6Ltp7dWW3X57 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On 2023-Oct-07 04:45:14 +0000, nulldutra wrote: >I will update the sysutils/terraform port, but, I found a bug in golang ve= rsion parser. >If I change the version in go.mod to 1.21, the make makesum works. Any opt= ions to resolve this? > >Error: > >/usr/local/poudriere/ports/MAIN/distfiles/go/sysutils_terraform/terraform-= v1.6.0/go.mod:275: invalid go version '1.21.1': must match format 1.23 Go changed the format of the "go" version string in 1.21: Prior to Go 1.21, the format is "1.M", with 1.21 and later, it's "1.M.N". One side-effect is that if you configure a go.mod for go 1.21, you will get a format error with older version of Go. In reality, this shouldn't be serious problem because a line of the form "go 1.21.0" means that Go 1.21.0 is the earliest version that is supported. There's some discussion of this change in the Go 1.21 release notes (https://tip.golang.org/doc/go1.21). --=20 Peter Jeremy --6gzY6Ltp7dWW3X57 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQKTBAEBCgB9FiEE7rKYbDBnHnTmXCJ+FqWXoOSiCzQFAmUjwL9fFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldEVF QjI5ODZDMzA2NzFFNzRFNjVDMjI3RTE2QTU5N0EwRTRBMjBCMzQACgkQFqWXoOSi CzSAXg/+KPdjtg+/ftlVnW7UXnUTSB1TQmyNU2UjGOYBpr0wwzV0v1PLnt9y8svT XGPwvV7novuHJcSM1XdvT+0Sb/8eSCl36/ffsi3FOE5KSLGcYgMgb7ysn8koxFMn qmlvJlw2wFu/TZ4yHdRbdbJUCL2HZStzcyI4hMJ2BIoqy5eBXnr6bj6OohG303wx N4vntLrQKLrT//aNEC+zDszZchqvOg5DL12nJ2NnVXFgLcNnIwA4IFRbQ57Ryewa hsmBd1CpuYC9IjP2XGn6YvGqqr2QAtkhayqXkvj53GQ7P7sG9JzxrPGi8IdofStS 38Sql2Lg65AWtu0nijYSRXnFdtq8shIXQMoIv8oAcR786VFiXUB/JZDXc2Sf0kDv yB0KPlNA2q2D6tyNhCi/GrTHHfr4W5K7Y5t6Tx+VpkKv6ZH05SUk/8fNexAGHMEf H/PynS//zEv0ui6bzIYgFKVv5dHHX0H8wmCe2Lw201YTFERaOWeXUn/I24N63njy o0EYDq/875WjMoIhArOM7dVHTWRSsFzAQRpFfSQlAfRbX97HjejEcWmbjfUizbJQ 2G590Qs5aM4XdbVnid8H0vxmeXSYqt61fBu7N2Uy11GItz8Ni9pHPi6QxFB8G0ny R81TUeEE6mvUy1rgcFDFQy7NdmFLHI/gFtRe7aIs2ba1vKMwywg= =1mQC -----END PGP SIGNATURE----- --6gzY6Ltp7dWW3X57--