From patchwork Fri Dec 9 15:04:37 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Gleb Zakharov X-Patchwork-Id: 45153 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 51AB227BBE9; Fri, 9 Dec 2022 18:46:02 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.2 required=5.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_INVALID,DKIM_SIGNED,FREEMAIL_FROM,MAILING_LIST_MULTI, RCVD_IN_MSPIKE_H2,RCVD_IN_SORBS_WEB,SPF_HELO_PASS,URIBL_BLOCKED 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 1A93727BBEB for ; Fri, 9 Dec 2022 18:46:01 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1p3iNN-0002lz-CW; Fri, 09 Dec 2022 13:45:42 -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 1p3hn1-0001X0-82 for guix-patches@gnu.org; Fri, 09 Dec 2022 13:08:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1p3hn0-0002ue-QI for guix-patches@gnu.org; Fri, 09 Dec 2022 13:08:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1p3hn0-0001MD-KE for guix-patches@gnu.org; Fri, 09 Dec 2022 13:08:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#59927] [PATCH] gnu: go-gopkg-in-yaml-v3: update after hash mismatch Resent-From: Gleb Zakharov Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 09 Dec 2022 18:08:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 59927 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 59927@debbugs.gnu.org Cc: Gleb Zakharov X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.16706092395201 (code B ref -1); Fri, 09 Dec 2022 18:08:02 +0000 Received: (at submit) by debbugs.gnu.org; 9 Dec 2022 18:07:19 +0000 Received: from localhost ([127.0.0.1]:37561 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p3hmI-0001Lo-Nu for submit@debbugs.gnu.org; Fri, 09 Dec 2022 13:07:19 -0500 Received: from lists.gnu.org ([209.51.188.17]:43610) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p3evi-0005dG-31 for submit@debbugs.gnu.org; Fri, 09 Dec 2022 10:04:50 -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 1p3evh-0000E8-Tc for guix-patches@gnu.org; Fri, 09 Dec 2022 10:04:49 -0500 Received: from mail-ej1-x630.google.com ([2a00:1450:4864:20::630]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1p3evg-0006Zh-62 for guix-patches@gnu.org; Fri, 09 Dec 2022 10:04:49 -0500 Received: by mail-ej1-x630.google.com with SMTP id b2so12120687eja.7 for ; Fri, 09 Dec 2022 07:04:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=lKSH6yE/1oZjLFyxGaaGsT6INTHfzQsqp1VWipfWG5g=; b=EjMgIb87pi1PAKAr/oKNtv0D/JvJyMZmd0ycwRQWgxOUCph2lhux0CRwrNYq5RN0x7 XAXuGA28/uZzp7yBrVTXEtake68aiN3c6R166fXX9lDyGVM23MgkN6M8ia6mAYQa1cJi nd8Zc0C8tofuXc4jvrE7HE4Y22ZK3xm/w0OObIJaDEaSFL4qlnLsS11rCD59ML5EFzKu J7M/qP/R0Ui8VXgJ5RoZcGGQQn/uxTHnR8VbzCkRgYJaoIMxwecnMNomjxSY2IPewRMP nXkrYEKjDsXU4kt3Wsn4OPvb2p63C6BSrU5dj0/iCanEPHzLbEHR213ukHbsug4xj0T1 Pyyw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=lKSH6yE/1oZjLFyxGaaGsT6INTHfzQsqp1VWipfWG5g=; b=ech+hkwcrx31ZICSXktNCYXmaOiP2mmYYCWMAxkZ4j5u+DG2DJmrn7RnAXmZ/U8ScU uPfg2ZKBRBvFKSTfmPgz+g2m9t2wtj+ITVlvDq/QM4RemNPhGLvMfXHqcoReGyJaUX1p 1hdGAG/4jbHkmFrIWHVR6h25+MapAm/CqIfc8fL7LaqcW31xTsuqLjBUFaSwuGpvogKU J8zItleJtQPlp5NtmJCDBwBK7/lt/g9LbQ6YM3F54gwycrZjdaSEXoI6qBIVZwXYujVq a6o3JynhAsDjp2LbELGEO9kP+5SUHf1VDJoVERcAuCrzlmBCGFe6glBa6RvvQN0BwY3G ZInQ== X-Gm-Message-State: ANoB5pk/QmxUizOtttrZd5nPo65HfvkNj7Z/q84XOhAaDwkzBPfFtyUI LuE/QUeGNmtgsSEEGFa1BquTGq6jC1UuDg== X-Google-Smtp-Source: AA0mqf4hUmvR0jXS88FvSMypIqzpu36ma+jdowBP3S7T7IRSmPCShXt0X5lxXI/fdvIW9mNsmwhAIg== X-Received: by 2002:a17:907:c494:b0:7c0:7bd1:6444 with SMTP id tp20-20020a170907c49400b007c07bd16444mr5316738ejc.51.1670598285491; Fri, 09 Dec 2022 07:04:45 -0800 (PST) Received: from snyssfx.netis.cc ([62.4.41.98]) by smtp.googlemail.com with ESMTPSA id h20-20020a170906111400b007c0deb2449fsm11444eja.82.2022.12.09.07.04.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 09 Dec 2022 07:04:45 -0800 (PST) From: Gleb Zakharov Date: Fri, 9 Dec 2022 16:04:37 +0100 Message-Id: <20221209150437.28361-1-snyssfx@gmail.com> X-Mailer: git-send-email 2.38.1 MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::630; envelope-from=snyssfx@gmail.com; helo=mail-ej1-x630.google.com X-Spam_score_int: -5 X-Spam_score: -0.6 X-Spam_bar: / X-Spam_report: (-0.6 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_SORBS_WEB=1.5, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Fri, 09 Dec 2022 13:07:17 -0500 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Mailman-Approved-At: Fri, 09 Dec 2022 13:45:36 -0500 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-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches It seems the authors of go yaml package made a bugfix in the repository and updated the v3 branch. Because of the resulting hash mismatch, a docker package couldn't be built. I updated the hash, changed a version from a branch of the repository to the v3.0.1 tag and applied guix style command. --- gnu/packages/golang.scm | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) base-commit: 0ffa501f2b3e83ae56e9c2bd31418439090e869a diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm index 70ddef52f1..b49fe7566d 100644 --- a/gnu/packages/golang.scm +++ b/gnu/packages/golang.scm @@ -38,6 +38,7 @@ ;;; Copyright © 2022 Dhruvin Gandhi ;;; Copyright © 2022 Nicolas Graves ;;; Copyright © 2022 ( +;;; Copyright © 2022 Gleb Zakharov ;;; ;;; This file is part of GNU Guix. ;;; @@ -4520,21 +4521,20 @@ (define-public go-gopkg-in-yaml-v2 (define-public go-gopkg-in-yaml-v3 (package (name "go-gopkg-in-yaml-v3") - (version "3") - (source - (origin - (method git-fetch) - (uri (git-reference - (url "https://gopkg.in/yaml.v3") - (commit (string-append "v" version)))) - (file-name (git-file-name name version)) - (sha256 - (base32 "06f4lnrp494wqaygv09dggr2dwf3z2bawqhnlnnwiamg5y787k4g")))) + (version "3.0.1") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://gopkg.in/yaml.v3") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "01b0wjb7yzv8wzzz2iim8mjpkwjnykcanrwiq06pkl89lr6gv8hn")))) (build-system go-build-system) (arguments '(#:import-path "gopkg.in/yaml.v3")) - (native-inputs - (list go-gopkg-in-check-v1)) + (native-inputs (list go-gopkg-in-check-v1)) (home-page "https://gopkg.in/yaml.v3") (synopsis "YAML reader and writer for the Go language") (description