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 TpYJOOQkSGGSRwEAgWs5BA (envelope-from ) for ; Mon, 20 Sep 2021 08:06:28 +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 6+dAM+QkSGGvaAAA1q6Kng (envelope-from ) for ; Mon, 20 Sep 2021 06:06:28 +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 48A151F596 for ; Mon, 20 Sep 2021 08:06:28 +0200 (CEST) Received: from localhost ([::1]:43810 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mSBis-00029O-Af for larch@yhetil.org; Mon, 20 Sep 2021 01:20:10 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:49148) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mSBik-00029E-78 for bug-guix@gnu.org; Mon, 20 Sep 2021 01:20:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:57256) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mSBij-00029U-Vl for bug-guix@gnu.org; Mon, 20 Sep 2021 01:20:01 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mSBij-0007Tt-RC for bug-guix@gnu.org; Mon, 20 Sep 2021 01:20:01 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#50493: [PATCH staging 0/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:20:01 +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.163211518028725 (code B ref 50493); Mon, 20 Sep 2021 05:20:01 +0000 Received: (at 50493) by debbugs.gnu.org; 20 Sep 2021 05:19:40 +0000 Received: from localhost ([127.0.0.1]:40569 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mSBiN-0007TF-Lg for submit@debbugs.gnu.org; Mon, 20 Sep 2021 01:19:39 -0400 Received: from out0.migadu.com ([94.23.1.103]:19221) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mSBiI-0007Sr-QP for 50493@debbugs.gnu.org; Mon, 20 Sep 2021 01:19:36 -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=1632115172; 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=dDyUnt0a8QkynD+pKs9Nz0ouxlJz5vL8j03OxDqWwfI=; b=iktL3ZC4RJdFZDfF8fdMR4/T93ZPHsUy5hh3sATTG3kKpndLJz4+3EdrPEBiU3lecIgM9u CF5gZKPJ7qVeiYPgcPeaCRM+1AWtU+GWK8/ULVxHIc0jJ90sPLXGmKANQqqLHh1lRDg966 RMji9GtAHA2qXWvnl1hQzqiY+FKCtsQ= From: Sarah Morgensen Date: Sun, 19 Sep 2021 22:19:30 -0700 Message-Id: In-Reply-To: <865yv9mm5a.fsf@mgsn.dev> References: <865yv9mm5a.fsf@mgsn.dev> 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=1632117988; 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=dDyUnt0a8QkynD+pKs9Nz0ouxlJz5vL8j03OxDqWwfI=; b=nxtlYMXczcu/LFQ3dLCHaxcKRgIw2kGp5HGa6AN79GeWZTt2ODtxmjGT7gP/e9Hxbpg763 WqaGAf7ly3w84PrKM99DwNF4Rf3hih2ntJNHltSJLkGiI/pPmhkPuEQB/hHBcPASeLR9oK Z+pLvNdP76XaqFns15YTvJ2sXbyaXEZhraotUSnIF7sFTT6SVaabSg/poVUFLMSJtvhkKW TwRBeIrLGz2eWFQy0mCNXsfS1CGG1a73GlhNEtIvggzNszLGozZw3CXb0dOdsckpPr5zC6 VoAa1O4pcN13pYyIS87dJcXAEPzeaCmF2/+gcbgvMYaJg2QqPgylwE9H3D9boA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1632117988; a=rsa-sha256; cv=none; b=bb9/9D0FCoaF9cjpSMBXXxcJwsPoYuq7oFeM/skjAPkofNfwKjXUTWjYhFpvAx3nPN/vqH O340r2sK1l4StO8r9IX55BTlRIyi+lN9RzpZKw0Jodcw2iMS7h1J3eGudRnTjzTRuoZOCw GOR2dEepdI0p91B+3Ww7JXO374/FUEee96w/6EA1gJ32WtBIQMV9xlRDdBmhiYT3Hwuyi7 x8uLdOSlbWoBs9NUGVrGKdM+VMjnhYlWD9qQE8e82b8MdOeUyqWSDlVRbVQTWn+uQ5gGV8 +pIycmppf9oh+xtv5aildL+tA3YmTuZrgBZpMecwJhAHanTOkPjDLOoGL2LqNw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=mgsn.dev header.s=key1 header.b=iktL3ZC4; 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=iktL3ZC4; 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: 48A151F596 X-Spam-Score: 5.21 X-Migadu-Scanner: scn0.migadu.com X-TUID: CjSdYGz0VU3L Hello Guix, This patch series updates the Go build system to use Go 1.17 by default. As a necessity, because go-1.17 no longer contains its own pre-compiled standard library, an implicit input is added to the build system which contains the build cache from building the standard library with the go-build-system. (This way, we can always guarantee that the cache is valid because it's built with the same flags as the build system.) The build system is also modified to make use of this cache. (We use the build cache rather than archives because the Go project is moving away from archives towards an authoritative build cache.) Three packages are modified to keep using an older Go: * docker now explicitly uses go-1.14 * go-ipfs and go-github-com-go-ipfs-cmdkit-files now explitly use go-1.16 (go-ipfs and gx badly need to be upgraded!) There are about 900 dependent packages according to `guix refresh -l go', but I don't know how many are leaf packages, so I marked this for staging. The actual series is based on master because go-1.17 is only present in master. I have built them all out successfully on x86_64. Sarah Morgensen (4): build-system/go: Add #:substitutable? argument. build-system/go: Initialize build cache from input packages. build-system/go: Add pre-built standard library as implicit input. build-system/go: Use go-1.17 by default. gnu/packages/docker.scm | 2 +- gnu/packages/golang.scm | 32 +++++++++++++++++++++++++++++++- gnu/packages/ipfs.scm | 6 ++++-- guix/build-system/go.scm | 24 ++++++++++++++++++++---- guix/build/go-build-system.scm | 26 +++++++++++++++++++++++--- 5 files changed, 79 insertions(+), 11 deletions(-) base-commit: a640ee7da3311e4fa560c7163d2dd7d24a25585a -- 2.33.0