From unknown Mon Aug 18 04:43:11 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#69205] [PATCH] gnu: Add go-1.22 and its standard library. Resent-From: Brennan Vincent Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 18 Feb 2024 18:22:16 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 69205 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 69205@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.170828053411499 (code B ref -1); Sun, 18 Feb 2024 18:22:16 +0000 Received: (at submit) by debbugs.gnu.org; 18 Feb 2024 18:22:14 +0000 Received: from localhost ([127.0.0.1]:37022 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rblno-0002z3-W1 for submit@debbugs.gnu.org; Sun, 18 Feb 2024 13:22:13 -0500 Received: from lists.gnu.org ([209.51.188.17]:53956) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rblQe-0001mW-Fg for submit@debbugs.gnu.org; Sun, 18 Feb 2024 12:58:17 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rbPX4-0003nt-QJ for guix-patches@gnu.org; Sat, 17 Feb 2024 13:35:26 -0500 Received: from smtp.umanwizard.com ([54.203.248.109]) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rbPX2-0004rO-5q for guix-patches@gnu.org; Sat, 17 Feb 2024 13:35:26 -0500 Received: from localhost ([70.18.6.196]) by smtp.umanwizard.com ; 17 Feb 2024 18:35:20 +0000 X-Fes-Received-For: guix-patches@gnu.org X-Fes-Received-From: From: Brennan Vincent Date: Sat, 17 Feb 2024 13:35:16 -0500 Message-ID: <878r3j7xcr.fsf@san-diego.mail-host-address-is-not-set> MIME-Version: 1.0 Content-Type: text/plain X-Fes-Encrypted: true X-Fes-Ehlo-Domain: localhost Received-SPF: pass client-ip=54.203.248.109; envelope-from=brennan@umanwizard.com; helo=smtp.umanwizard.com X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -4.2 (----) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.2 (-----) * gnu/packages/golang.scm (go-1.22): New variable. * gnu/packages/golang.scm (go-std-1.22): New variable. Change-Id: I18d92874d4131843e7c6cf0e8d89f2946f7b972d --- gnu/packages/golang.scm | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm index 527b63d160..43953edf47 100644 --- a/gnu/packages/golang.scm +++ b/gnu/packages/golang.scm @@ -1112,6 +1112,38 @@ (define-public go-1.21 ("api" "share/go/api" ,tests) ("test" "share/go/test" ,tests)))))))))))) +(define-public go-1.22 + (package + (inherit go-1.21) + (name "go") + (version "1.22.0") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/golang/go") + (commit (string-append "go" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "00j6sn2zysk5pdzxw1wfdi31wggzw1h1026ah3x3mi85dwsijhjs")))) + (arguments + (substitute-keyword-arguments (package-arguments go-1.21) + ((#:phases phases) + #~(modify-phases #$phases + (replace 'unpatch-perl-shebangs + (lambda _ + ;; Avoid inclusion of perl in closure by rewriting references + ;; to perl input in sourcecode generators and test scripts + (substitute* (find-files "src" "\\.pl$") + (("^#!.*") + "#!/usr/bin/env perl\n")))))))) + (native-inputs + ;; Go 1.22 and later requires Go 1.20 (min. 1.20.6, which we don't have) + ;; as the bootstrap toolchain. + (alist-replace "go" + (list go-1.21) + (package-native-inputs go-1.21))))) + (define-public go go-1.17) (define make-go-std @@ -1155,6 +1187,7 @@ (define-public go-std-1.18 (make-go-std go-1.18)) (define-public go-std-1.19 (make-go-std go-1.19)) (define-public go-std-1.20 (make-go-std go-1.20)) (define-public go-std-1.21 (make-go-std go-1.21)) +(define-public go-std-1.22 (make-go-std go-1.22)) (define-public go-0xacab-org-leap-shapeshifter (let ((commit "0aa6226582efb8e563540ec1d3c5cfcd19200474") base-commit: 3cf199dbcf85a44fa8370e786e568fc3feb7067c -- 2.41.0 From unknown Mon Aug 18 04:43:11 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Brennan Vincent Subject: bug#69205: closed ([PATCH] gnu: Add go-1.22 and its standard library.) Message-ID: References: <87bk898r93.fsf@gmail.com> <878r3j7xcr.fsf@san-diego.mail-host-address-is-not-set> X-Gnu-PR-Message: they-closed 69205 X-Gnu-PR-Package: guix-patches X-Gnu-PR-Keywords: patch Reply-To: 69205@debbugs.gnu.org Date: Wed, 21 Feb 2024 21:05:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1708549502-31145-1" This is a multi-part message in MIME format... ------------=_1708549502-31145-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #69205: [PATCH] gnu: Add go-1.22 and its standard library. which was filed against the guix-patches package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 69205@debbugs.gnu.org. --=20 69205: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D69205 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1708549502-31145-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 69205-done) by debbugs.gnu.org; 21 Feb 2024 21:04:38 +0000 Received: from localhost ([127.0.0.1]:42138 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rctld-000854-T2 for submit@debbugs.gnu.org; Wed, 21 Feb 2024 16:04:38 -0500 Received: from mail-wm1-f48.google.com ([209.85.128.48]:45141) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rctla-00084Q-9b for 69205-done@debbugs.gnu.org; Wed, 21 Feb 2024 16:04:36 -0500 Received: by mail-wm1-f48.google.com with SMTP id 5b1f17b1804b1-41278acf971so6081415e9.2 for <69205-done@debbugs.gnu.org>; Wed, 21 Feb 2024 13:04:11 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1708549386; x=1709154186; darn=debbugs.gnu.org; h=mime-version:message-id:date:subject:to:from:from:to:cc:subject :date:message-id:reply-to; bh=BKlPWjRcPq38yjEJ/TdZgDIGuB2kNAXXj0P+Rggu7mw=; b=Mdak/uPF2np8xk5Y3IV8XqJGeagz5BUbQ5fTZ4vd9NU+DBZ56kRac14UqBAnyGaW7Q XunTDk84DH9786j/XnkTY+s3LdrPOfqkzhEv17sbR9QBdO2/Qfej8KUw9lsJMWGSn79u xCullnwQ7PCOQqIxtwSDg40Rtl+mZYV3bF3nHWnSiUtM4A0avgs+ItGHTjT4hSpzmfN5 ZmUdfB/wWeFL4RZDhKuHjG75uxUIQ/DaYmPw/Ia4pM6uX0wec+qNAY0Ujxe245HFmqnJ Ah15FQ+S45DzQbRCYn8/A0flNUb4Jk4IDpc6lnIu9WlY+JJ1mzwXtIz4wG2qUKTE9i9r PCSQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1708549386; x=1709154186; h=mime-version:message-id:date:subject:to:from:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=BKlPWjRcPq38yjEJ/TdZgDIGuB2kNAXXj0P+Rggu7mw=; b=YuVL7jkYJOrF0nwhitmLeGa7GMd6kO6sBEtxmpmdnWhp+J/uj+ojWngSlQD/1ud+Yo Dsb7njDTg3y9WjfIdFrn+C8b2LAQHPlfD8RuSsPi7vTLC1Ut9PvgQibLkPI7xpwWaPXH 2r4JJRRn2WDqiqRmuPzugDAhuq52TJj/5ATMiugg6zQi+QlgvJaB39+i7W7GtEsR7Kgw BOOJW3gZUPY1mMcMqJNCYJ1mp2PjMyPPd2msjib9Q3qzh9UDIji5jiSvQBGPQY6U+aVY hRLa3bn3tI65izWt9wb2oy5xvxhd/2+R5Ci8J0itdGGI0K/ejKOXERlGby8XkoMM1UEq C0kg== X-Gm-Message-State: AOJu0Yz1L/Kn5Tvyb7Y8NnXTfIePDY9XcPY05RPwaqm0r3MxLsctWunw vQuJiNqeS+EKvEK8Chkom0hSXjJ1Z25Hl2aXM3KgkYzlEwyUIsKCtWnSojcvZd8= X-Google-Smtp-Source: AGHT+IFo8UJntzRGmy9jZR1yjhTKg16DfJb3IDMXuVvth6jTx0Tla6x8ExHbTYmSx3fc+SLKAdem6w== X-Received: by 2002:a05:6000:18a3:b0:33d:64c7:5619 with SMTP id b3-20020a05600018a300b0033d64c75619mr7046563wri.70.1708549385721; Wed, 21 Feb 2024 13:03:05 -0800 (PST) Received: from guxtil (cpc100856-bagu15-2-0-cust368.1-3.cable.virginm.net. [82.25.93.113]) by smtp.gmail.com with ESMTPSA id ch17-20020a5d5d11000000b0033d2ae84fafsm15772286wrb.52.2024.02.21.13.03.04 for <69205-done@debbugs.gnu.org> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 21 Feb 2024 13:03:05 -0800 (PST) From: Sharlatan Hellseher To: 69205-done@debbugs.gnu.org Subject: [PATCH] gnu: Add go-1.22 and its standard library. Date: Wed, 21 Feb 2024 21:03:04 +0000 Message-ID: <87bk898r93.fsf@gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Spam-Score: -1.9 (-) X-Debbugs-Envelope-To: 69205-done X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.9 (--) --=-=-= Content-Type: text/plain Hi Brennan, I've initiated go-team branch with your patch ;-). Pushed as 43238dcd155fbd1a23597e75604ff202072587f6 to go-team -- Ole --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEEmEeB3micIcJkGAhndtcnv/Ys0rUFAmXWZQgACgkQdtcnv/Ys 0rVQNQ/7B5LrFtJKmsKyUIM8Mac2SWCm5RjSkVovd9vfUXnyElMJKDGzi5F48ZK6 uc0pvDfOPOMu/b8bGJ7UfmDuUihi3qfUw+wP0bivJDBQ6Dg9Hy2vWZM4Ux7qEnBj uDvp2UpRLCAv5He+zojjdVh+r6zY5QGgtpLop8ExEcoMds2ePLZWsWjblwFum34+ fdxZp/Tcp5Joo7dnM5MHOfMAvbfQjArHPmV7QXpiMrLQ+kxgJSZCZyyJcYj2eGG7 2JuZ1lJnyjvgzA2TPJXj5+AhT5Ohc4ROt0xc+ULBUw3Ol0w6SePT8LTqu+YYGIs1 FyNsr1/wxLc8bnmKQlNZjAGJDqvFOSs94+cQRa70oCOp1SZdOaw8aPEgiUKV5fp/ lQPBwb1dpIeOPqyirQONk/vAMLn7JdWXBpIOxHvYEJd66pJJGmgAThKKEAp2Qe3w 322wTPe5RxYImtRz0b8eOz6Jbr8BhPU2N0V1eG4KOka4eCXvbd8vKHNdMVba4JXn iXgrcCnTs/Cj7BbslWIYZEU6v/Vtk8u+aC7zKq+rGQT+yymUcTLI2wOINCu6feCA 6b20ryzXGDeWuXaXneIulwADlLGx6VZLuHWeodUrsXljFuokr3Ut+2MfVubvetWa OsvIq1Kj5Pll2U/mP2eCeymG2aM5CUfBMHJd5inkLsHLwKDMhbI= =04YV -----END PGP SIGNATURE----- --=-=-=-- ------------=_1708549502-31145-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 18 Feb 2024 18:22:14 +0000 Received: from localhost ([127.0.0.1]:37022 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rblno-0002z3-W1 for submit@debbugs.gnu.org; Sun, 18 Feb 2024 13:22:13 -0500 Received: from lists.gnu.org ([209.51.188.17]:53956) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rblQe-0001mW-Fg for submit@debbugs.gnu.org; Sun, 18 Feb 2024 12:58:17 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rbPX4-0003nt-QJ for guix-patches@gnu.org; Sat, 17 Feb 2024 13:35:26 -0500 Received: from smtp.umanwizard.com ([54.203.248.109]) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rbPX2-0004rO-5q for guix-patches@gnu.org; Sat, 17 Feb 2024 13:35:26 -0500 Received: from localhost ([70.18.6.196]) by smtp.umanwizard.com ; 17 Feb 2024 18:35:20 +0000 X-Fes-Received-For: guix-patches@gnu.org X-Fes-Received-From: From: Brennan Vincent To: guix-patches@gnu.org Subject: [PATCH] gnu: Add go-1.22 and its standard library. Date: Sat, 17 Feb 2024 13:35:16 -0500 Message-ID: <878r3j7xcr.fsf@san-diego.mail-host-address-is-not-set> MIME-Version: 1.0 Content-Type: text/plain X-Fes-Encrypted: true X-Fes-Ehlo-Domain: localhost Received-SPF: pass client-ip=54.203.248.109; envelope-from=brennan@umanwizard.com; helo=smtp.umanwizard.com X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -4.2 (----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.2 (-----) * gnu/packages/golang.scm (go-1.22): New variable. * gnu/packages/golang.scm (go-std-1.22): New variable. Change-Id: I18d92874d4131843e7c6cf0e8d89f2946f7b972d --- gnu/packages/golang.scm | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm index 527b63d160..43953edf47 100644 --- a/gnu/packages/golang.scm +++ b/gnu/packages/golang.scm @@ -1112,6 +1112,38 @@ (define-public go-1.21 ("api" "share/go/api" ,tests) ("test" "share/go/test" ,tests)))))))))))) +(define-public go-1.22 + (package + (inherit go-1.21) + (name "go") + (version "1.22.0") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/golang/go") + (commit (string-append "go" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "00j6sn2zysk5pdzxw1wfdi31wggzw1h1026ah3x3mi85dwsijhjs")))) + (arguments + (substitute-keyword-arguments (package-arguments go-1.21) + ((#:phases phases) + #~(modify-phases #$phases + (replace 'unpatch-perl-shebangs + (lambda _ + ;; Avoid inclusion of perl in closure by rewriting references + ;; to perl input in sourcecode generators and test scripts + (substitute* (find-files "src" "\\.pl$") + (("^#!.*") + "#!/usr/bin/env perl\n")))))))) + (native-inputs + ;; Go 1.22 and later requires Go 1.20 (min. 1.20.6, which we don't have) + ;; as the bootstrap toolchain. + (alist-replace "go" + (list go-1.21) + (package-native-inputs go-1.21))))) + (define-public go go-1.17) (define make-go-std @@ -1155,6 +1187,7 @@ (define-public go-std-1.18 (make-go-std go-1.18)) (define-public go-std-1.19 (make-go-std go-1.19)) (define-public go-std-1.20 (make-go-std go-1.20)) (define-public go-std-1.21 (make-go-std go-1.21)) +(define-public go-std-1.22 (make-go-std go-1.22)) (define-public go-0xacab-org-leap-shapeshifter (let ((commit "0aa6226582efb8e563540ec1d3c5cfcd19200474") base-commit: 3cf199dbcf85a44fa8370e786e568fc3feb7067c -- 2.41.0 ------------=_1708549502-31145-1--