From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id cKy/Hq+HOmGPWAEAgWs5BA (envelope-from ) for ; Fri, 10 Sep 2021 00:16:15 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id CA9+Gq+HOmHFYAAAbx9fmQ (envelope-from ) for ; Thu, 09 Sep 2021 22:16:15 +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 930091A650 for ; Fri, 10 Sep 2021 00:16:14 +0200 (CEST) Received: from localhost ([::1]:60514 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mOSL7-0008Q6-Jp for larch@yhetil.org; Thu, 09 Sep 2021 18:16:13 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:37632) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mOSKx-0008Ph-IO for bug-guix@gnu.org; Thu, 09 Sep 2021 18:16:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:53072) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mOSKw-00026g-Vn for bug-guix@gnu.org; Thu, 09 Sep 2021 18:16:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mOSKw-0001UB-KZ; Thu, 09 Sep 2021 18:16:02 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#50493: Update go-build-system to use Go 1.17. Resent-From: Sarah Morgensen Original-Sender: "Debbugs-submit" Resent-CC: leo@famulari.name, bug-guix@gnu.org Resent-Date: Thu, 09 Sep 2021 22:16:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 50493 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 50493@debbugs.gnu.org X-Debbugs-Original-To: bug-guix@gnu.org X-Debbugs-Original-Xcc: Leo Famulari Received: via spool by submit@debbugs.gnu.org id=B.16312257075629 (code B ref -1); Thu, 09 Sep 2021 22:16:02 +0000 Received: (at submit) by debbugs.gnu.org; 9 Sep 2021 22:15:07 +0000 Received: from localhost ([127.0.0.1]:36385 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mOSK3-0001Sj-1Q for submit@debbugs.gnu.org; Thu, 09 Sep 2021 18:15:07 -0400 Received: from lists.gnu.org ([209.51.188.17]:35678) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mOSK1-0001Sa-Im for submit@debbugs.gnu.org; Thu, 09 Sep 2021 18:15:06 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:37586) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mOSK1-0008Ii-Bz for bug-guix@gnu.org; Thu, 09 Sep 2021 18:15:05 -0400 Received: from out2.migadu.com ([188.165.223.204]:62880) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mOSJy-0001Mg-Uw for bug-guix@gnu.org; Thu, 09 Sep 2021 18:15:05 -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=1631225699; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type; bh=L9CHN/5FJXotSjfgjtHxbbq0I/HUr78AYTMqACApnAw=; b=AZ08EMt6vpMj0VYT5Ch7+k3X3uVZ1bOeBqKOpZK4ZB692T4RSjl/uFTTXG9tjTG96SXBj2 i/4piEDFjGYNIms7vPKTzfuOrDfqbOLKluirtPZli4eJWednXEGC4tiTJcXa3CUgODyCo5 9R3M32XJld8BGm0Oq63rzpCx3EkKC44= From: Sarah Morgensen Date: Thu, 09 Sep 2021 15:14:57 -0700 Message-ID: <865yv9mm5a.fsf@mgsn.dev> MIME-Version: 1.0 Content-Type: text/plain X-Migadu-Auth-User: iskarian@mgsn.dev Received-SPF: pass client-ip=188.165.223.204; envelope-from=iskarian@mgsn.dev; helo=out2.migadu.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 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: 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=1631225774; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:resent-cc:resent-from:resent-sender: resent-message-id:list-id:list-help:list-unsubscribe:list-subscribe: list-post:dkim-signature; bh=L9CHN/5FJXotSjfgjtHxbbq0I/HUr78AYTMqACApnAw=; b=N93vD9m226+5vketcNy/Zr/0CU945kTcNYfeW1xMQ4G/8vYcok39+Tz5ED19qfwjH/XaVO dmV3jhaP21QpgkPbUv1ITFVnqa7MAxCHizqaqJ/4mPET3ttavY2ZPOEVCFJsNYdxHA2s16 YNGqpStJUIQU/VLEi/L2NWCU9+y6B/5YZlb/05vJrXMwgFXXDQerJ9NgOH/wexISmhpmeb HsmGP4r0jJO+7XJVwYkAsO74w2B01qMs26sOPt3zRbbG4icUAJFcfom+cB2EB4bVB47RH+ d2Q60tvKXRNh89BRtiQwcqeDsevDEUptkz++EAfgEStnjwyjz9fgAYe21RmO1Q== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1631225774; a=rsa-sha256; cv=none; b=MIW8TT40lLTrhIhEBywtCE1ZqxLnplYxoIBFqwO8E7exomwDjadTmbdJMrCAhRUN9LdJTI JBOuaVfuKYlA+8hZONTCPrh2qOL6A8TNtcqFLxRcufE79sXFVj6CiqyCGB5BypO5KEVowd 1i/4OXO+hRIS1bVaNMk8cDOJwj2bu5lvNClJzErRnpvpwVsHmVD36S8vpSPzYRnIt69eoI qSSQXWi9YdA9lLSQ2zIwHit9bXldfMj5q5ClpIJP88ZJtWDC/rM7qxt98U/hQ7/+v+ctS0 VfBhaMLP0oX6VQ/uz6LFT6O4eq1cX3lefD+R+jpma+tP8GW+jrFuSV1BvmH9UA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=mgsn.dev header.s=key1 header.b=AZ08EMt6; 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: -1.31 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=mgsn.dev header.s=key1 header.b=AZ08EMt6; 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: 930091A650 X-Spam-Score: -1.31 X-Migadu-Scanner: scn0.migadu.com X-TUID: rc+uD9SuqoCB Hello Guix, This is intended to be a tracking issue for updating go-build-system to use Go 1.17 by default. The build system currently uses Go 1.14, which no longer receives security updates [0]. Here's what needs to be done: 1. Address the aarch64 bug [1], either by verifying that it only happens on emulated systems, or by fixing it if not. 2. Make some much-needed improvements to go-build-system [2]: * replace the *slow* phase 'remove-go-references with -trimpath option * avoid building a directory union of Go inputs (and then copying it!) * add a "go-std-cache-for-build" package (hidden; name to be bikeshedded), which will be an implicit input in go-build-system (needed since we removed the pre-built standard library in go-1.17) 3. Some/all Docker packages still require Go 1.14; make them use go-1.14 explicitly. Alternatively, update Docker (significant effort involved). 4. Update or patch broken packages. I've got patches for four so far: go-github-com-urfave-cli go-github-com-urfave-cli-v2 go-github-com-sevlyar-go-daemon go-github-com-keybase-go-ps I'll submit them as a separate patch and block this with it. If anyone else would like to see if their favorite package works with Go 1.17, you can build it with: go build --with-input=go@1.14=go@1.17 [0] https://github.com/golang/go/wiki/Go-Release-Cycle#release-maintenance [1] https://issues.guix.gnu.org/49921 [2] https://issues.guix.gnu.org/50227#10 -- Sarah