From patchwork Sun May 1 18:55:55 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Pier-Hugues Pellerin X-Patchwork-Id: 744 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 6BA7527BBEA; Sun, 1 May 2022 19:57:15 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-3.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H2,SPF_HELO_PASS autolearn=unavailable autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 33FE227BBE9 for ; Sun, 1 May 2022 19:57:15 +0100 (BST) Received: from localhost ([::1]:58254 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nlEks-0000Mm-DK for patchwork@mira.cbaines.net; Sun, 01 May 2022 14:57:14 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:41900) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nlEkg-0000MS-VG for guix-patches@gnu.org; Sun, 01 May 2022 14:57:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:40326) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nlEkg-0006Bm-Mf for guix-patches@gnu.org; Sun, 01 May 2022 14:57:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nlEkg-0006d2-LX for guix-patches@gnu.org; Sun, 01 May 2022 14:57:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#55210] [PATCH 0/3] Add go-1.18.1 Resent-From: Pier-Hugues Pellerin Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 01 May 2022 18:57:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 55210 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 55210@debbugs.gnu.org Cc: Pier-Hugues Pellerin X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.165143137225420 (code B ref -1); Sun, 01 May 2022 18:57:02 +0000 Received: (at submit) by debbugs.gnu.org; 1 May 2022 18:56:12 +0000 Received: from localhost ([127.0.0.1]:34223 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nlEjs-0006bv-1N for submit@debbugs.gnu.org; Sun, 01 May 2022 14:56:12 -0400 Received: from lists.gnu.org ([209.51.188.17]:39092) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nlEjq-0006bn-C8 for submit@debbugs.gnu.org; Sun, 01 May 2022 14:56:10 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:41860) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nlEjq-0000JL-3o for guix-patches@gnu.org; Sun, 01 May 2022 14:56:10 -0400 Received: from mail-qk1-x72a.google.com ([2607:f8b0:4864:20::72a]:42799) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nlEjm-0005zN-Di for guix-patches@gnu.org; Sun, 01 May 2022 14:56:09 -0400 Received: by mail-qk1-x72a.google.com with SMTP id j6so10126270qkp.9 for ; Sun, 01 May 2022 11:56:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=heykimo-com.20210112.gappssmtp.com; s=20210112; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=I+piS9hRS3CN9EmCX+seFE94etfitbrjQch8MfHU+p8=; b=TKCcmlAL3d9qjBQUo3juDQGrxrvCcnDfRJbY97EEX/r9nPZPDrUwk8ZGO9bpnqvRCG wzyKihDX5bpNZPb0Gvho8xSrFh3VH1+1A2z/MFgdrUCEyJrHGq+prZ2I7fx9tv1YIeSn WF7CUDImHELMtWWyAssCp6ERyKPD6asyEaesTw4Q8g5RiSWHFwnKEBSwBrz0LPBrs5+C oIc7XVpwImtOE3bCmjzBf600qIaAin775KuYMjOCTzsDhodj7kboSoP5/aliLhsbimJ3 qmxIawO6Kynxuy+YccXj/g7Dlj/pU+hETT9kgSKeiKtfnrApUi3WkyuwuXdV1D2s0Gv0 IGnA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=I+piS9hRS3CN9EmCX+seFE94etfitbrjQch8MfHU+p8=; b=zXikKlACJvEzO0HiXCAx2xcyDxuPsZwSKb8Ixf4VB6sBaQdD7/0qfwWnEJco+qLruG Wx7GiDmIjXd9JIj9yZR5HHoN3PT3E1VCu7BNf8qmSw3WhlpYvuHeDfly9dYsyxjDGNyG XDp3FHWWO5bLRAjbRm115etuGewazAC7fHOSVeMp1oOheqet5DYLs1yT22imqdyhkD/3 1awAz0dcv5/nmj0MDXNEbSgvvpFH82zY41tov7Ss1fvc750RXjbNVYJrGhf7tI6IcrOf /+CUCJhIDcuF2KwQKt0ZFQ44/jVbxG5CXacXtR90Yw9lHK6cYzrnwVGEU6tnmWHOghXr JYFg== X-Gm-Message-State: AOAM531ML0fJu2DvuXgSUgu2755wApV9vpRw6VDNM+dqRd+K08A20t3S 5dJDBKT8/dIPUjQp5hOFEbwnHRv/RxHX4341 X-Google-Smtp-Source: ABdhPJyAorYBPTnCW0A2SKO3oF50bFL5nU1KR5WFEvVVO92A9k1iToqAu1Q0q5xOYySLGSwYOcZE6A== X-Received: by 2002:a37:68d4:0:b0:60d:f4eb:fc12 with SMTP id d203-20020a3768d4000000b0060df4ebfc12mr6205186qkc.413.1651431365062; Sun, 01 May 2022 11:56:05 -0700 (PDT) Received: from localhost (bras-base-mtrlpq0407w-grc-02-174-89-205-122.dsl.bell.ca. [174.89.205.122]) by smtp.gmail.com with ESMTPSA id 133-20020a37088b000000b0069fc20ad38bsm3152227qki.127.2022.05.01.11.56.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 01 May 2022 11:56:04 -0700 (PDT) From: Pier-Hugues Pellerin Date: Sun, 1 May 2022 14:55:55 -0400 Message-Id: <20220501185555.26169-1-ph@heykimo.com> X-Mailer: git-send-email 2.35.1 MIME-Version: 1.0 Received-SPF: none client-ip=2607:f8b0:4864:20::72a; envelope-from=ph@heykimo.com; helo=mail-qk1-x72a.google.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, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_NONE=0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches Hello, I've added a go 1.18 package, still learning the build and all the quirks. So far I've did the following in multiple commits, I hope it's okay: - I've created a new go-1.18 package inheriting from 1.17. This mean that the build use the same logic as before, use go 1.4 for the build toolchain. and fallback on previous version 1.17 - I've changed the Homepage of the Go 1.18 package. Guix lint complained about a change in the URL, so I've updated it to https://go.dev. - 1.17 is here to stay for some time I've looked at the toolchain of the Go language, today the minimun version of go require to build is 1.4, but this will be updated to 1.17 for 1.19[0]. - Adding go-next to point to go 1.18. Following a discussion on email I've added `go-next` that currently point to 1.18, I've copied the strategy from the emacs' package that also define an emacs-next package to allow users to try out the latest version. I am not sure this was the right way to do it. I - Made go point to 1.18 as the default version Following Ludovic advice I've made the default go point to 1.18, so we can create a testing branch and see what is failling. Thanks everyone ph [0] https://github.com/golang/go/issues/44505 Pier-Hugues Pellerin (3): gnu: Add go-1.18. gnu: Add go-next. gnu: go: Update to go-1.18 gnu/packages/golang.scm | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+)