From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id kJiVBSYlSGHIRQEAgWs5BA (envelope-from ) for ; Mon, 20 Sep 2021 08:07:34 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id cMBGASYlSGFuZgAA1q6Kng (envelope-from ) for ; Mon, 20 Sep 2021 06:07:34 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id B05421F5C4 for ; Mon, 20 Sep 2021 08:07:33 +0200 (CEST) Received: from localhost ([::1]:44822 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mSBjx-0002xD-Q5 for larch@yhetil.org; Mon, 20 Sep 2021 01:21:17 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:49294) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mSBjj-0002mA-Tq for bug-guix@gnu.org; Mon, 20 Sep 2021 01:21:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:57272) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mSBjj-00034n-Mc for bug-guix@gnu.org; Mon, 20 Sep 2021 01:21:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mSBjj-0007Wu-JU for bug-guix@gnu.org; Mon, 20 Sep 2021 01:21:03 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#50493: [PATCH 4/4] build-system/go: Use go-1.17 by default. Resent-From: Sarah Morgensen Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Mon, 20 Sep 2021 05:21:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 50493 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 50493@debbugs.gnu.org Received: via spool by 50493-submit@debbugs.gnu.org id=B50493.163211526228919 (code B ref 50493); Mon, 20 Sep 2021 05:21:03 +0000 Received: (at 50493) by debbugs.gnu.org; 20 Sep 2021 05:21:02 +0000 Received: from localhost ([127.0.0.1]:40581 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mSBjh-0007W7-Kh for submit@debbugs.gnu.org; Mon, 20 Sep 2021 01:21:02 -0400 Received: from out0.migadu.com ([94.23.1.103]:19597) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mSBjf-0007Vb-Jy for 50493@debbugs.gnu.org; Mon, 20 Sep 2021 01:21:00 -0400 X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mgsn.dev; s=key1; t=1632115259; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=ywqrWM6o0T01lBOE4Gy7ZDiHUUkTzfN5szsLxX791nI=; b=N9EhDRxuNXNMqBBjfsEH6iV2Rbie4bXm25CB/Pw1zFmsgnYD/v+xo4XO3raIYg9cLSpe2f FSW2uHxcxq/tm+F/uo8XLDJ+Fz7h+Cz8GrTfCYE7Gfk0CzjgCq+NC1YfikIoX75ysOnkLi UFEF6ceLshBplbAuPTJGvGW5ksgsRa0= From: Sarah Morgensen Date: Sun, 19 Sep 2021 22:20:51 -0700 Message-Id: <2db7749e36277825f029a3b059ca8d4daaa82cbc.1632099301.git.iskarian@mgsn.dev> In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1632118053; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=ywqrWM6o0T01lBOE4Gy7ZDiHUUkTzfN5szsLxX791nI=; b=Y1Z/gxMaz7/5ytFDFjqAZZPHrN2XSiEWkOP6Wac1PcYSc45Nkd7zWDHaoA+sGcDhA1Xf/Z j86d3qGEb5CBmFe7GE7H9UbAFP3IRs7vb8zZEWo7BnfLB7KLyKMNnWqwXOC6TzfGHfUM1u IXFYZFwKWassUTZunhBo8oK7rAs8A1LzRBLqsl/exfEvnuGMw7eMHI1uLiZWPH9LzIK4mw 6IBZpl/5Xx3aprQMymvAowQ6OvOqUOWWEh0CppS03XAuTunkME57qQhqD360ZK4vFmt/qK LJy0h+tYBAwVfx0HTch+uG+JOnsFc6W7n3CCGYqltlyuAnTUO5gcxueIKFxgHg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1632118053; a=rsa-sha256; cv=none; b=YLy8WCPheEUJ1XL/XtvV0YowaZrPgAWNSTbj5Fw2a8iMsM1COMYt9pnh43eT+na4qF7gXN vBDvDZl5DUCgw4ysunAkCud7sGRNEj4oY4kxDq7dRkWGpQTD/9JLf/t0Z6fvgYPDRHvUba N6QusO0B+bxhqcKN0cPZQ52QNY9dQHQ4qV0rzrOgPCqNu6hyBfvTPiykP0J2+pDH+mF58S wGn7ZJMOsu6sREDUTo0FwxfPH9eMFhodD7eCP6oL0Ubx06Qh/grIUhtUahvo78uzfudIO1 M9eaLUD1ILbegSPQRN1ql2UONQoyPTsz1sfXZVksa73/MH9Mw7GCFZ7Tz/nQnw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=mgsn.dev header.s=key1 header.b=N9EhDRxu; dmarc=fail reason="SPF not aligned (relaxed)" header.from=mgsn.dev (policy=none); spf=pass (aspmx1.migadu.com: domain of bug-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=bug-guix-bounces@gnu.org X-Migadu-Spam-Score: 5.21 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=mgsn.dev header.s=key1 header.b=N9EhDRxu; dmarc=fail reason="SPF not aligned (relaxed)" header.from=mgsn.dev (policy=none); spf=pass (aspmx1.migadu.com: domain of bug-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=bug-guix-bounces@gnu.org X-Migadu-Queue-Id: B05421F5C4 X-Spam-Score: 5.21 X-Migadu-Scanner: scn0.migadu.com X-TUID: VER90qWiPqA0 Build all Go packages with go-1.17 by default. Explicitly specify an older Go version in packages which cannot build with go-1.17. * gnu/packages/golang.scm (go): Update from 'go-1.14' to 'go-1.17'. * gnu/packages/docker.scm (docker)[native-inputs]: Explicitly use 'go-1.14'. * gnu/packages/ipfs.scm (go-ipfs)[arguments]: Set #:go to 'go-1.16'. (go-github-com-ipfs-go-ipfs-cmdkit-files)[arguments]: Likewise. --- gnu/packages/docker.scm | 2 +- gnu/packages/golang.scm | 2 +- gnu/packages/ipfs.scm | 6 ++++-- 3 files changed, 6 insertions(+), 4 deletions(-) diff --git a/gnu/packages/docker.scm b/gnu/packages/docker.scm index 8bac1b89ce..fa666cbb04 100644 --- a/gnu/packages/docker.scm +++ b/gnu/packages/docker.scm @@ -594,7 +594,7 @@ (define-public docker ("xz" ,xz))) (native-inputs `(("eudev" ,eudev) ; TODO: Should be propagated by lvm2 (.pc -> .pc) - ("go" ,go) + ("go" ,go-1.14) ("gotestsum" ,gotestsum) ("pkg-config" ,pkg-config))) (synopsis "Docker container component library, and daemon") diff --git a/gnu/packages/golang.scm b/gnu/packages/golang.scm index 19f1ef37d5..d1ed30455c 100644 --- a/gnu/packages/golang.scm +++ b/gnu/packages/golang.scm @@ -790,7 +790,7 @@ (define-public go-1.17 "README.md" "SECURITY.md")))))))) (inputs (alist-delete "gcc:lib" (package-inputs go-1.16))))) -(define-public go go-1.14) +(define-public go go-1.17) (define-public (make-go-std go) "Return a package which builds the standard library for Go compiler GO." diff --git a/gnu/packages/ipfs.scm b/gnu/packages/ipfs.scm index 57701991e3..8d5b4f1767 100644 --- a/gnu/packages/ipfs.scm +++ b/gnu/packages/ipfs.scm @@ -46,7 +46,8 @@ (define-public go-github-com-ipfs-go-ipfs-cmdkit-files "0qk6fshgdmhp8dip2ksm13j6nywi41m9mn0czkvmw6b697z85l2r")))) (build-system go-build-system) (arguments - '(#:unpack-path "github.com/ipfs/go-ipfs-cmdkit" + `(#:go ,go-1.16 + #:unpack-path "github.com/ipfs/go-ipfs-cmdkit" #:import-path "github.com/ipfs/go-ipfs-cmdkit/files")) (home-page "https://github.com/ipfs/go-ipfs-cmdkit") (synopsis "Shared types, functions and values for go-ipfs") @@ -226,7 +227,8 @@ (define-public go-ipfs (file-name (string-append name "-" version "-source")))) (build-system go-build-system) (arguments - '(#:unpack-path "github.com/ipfs/go-ipfs" + `(#:go ,go-1.16 + #:unpack-path "github.com/ipfs/go-ipfs" #:import-path "github.com/ipfs/go-ipfs/cmd/ipfs" #:phases (modify-phases %standard-phases (add-before 'reset-gzip-timestamps 'make-files-writable -- 2.33.0