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 ms11 with LMTPS id 8GrmIkLf119bAQAA0tVLHw (envelope-from ) for ; Mon, 14 Dec 2020 21:55:14 +0000 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 uBfBHkLf1188UQAA1q6Kng (envelope-from ) for ; Mon, 14 Dec 2020 21:55:14 +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 400879403AA for ; Mon, 14 Dec 2020 21:55:14 +0000 (UTC) Received: from localhost ([::1]:51030 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kovoH-0001z2-61 for larch@yhetil.org; Mon, 14 Dec 2020 16:55:13 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:42032) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kovo5-0001yg-Vd for guix-patches@gnu.org; Mon, 14 Dec 2020 16:55:01 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:43202) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kovo5-0001uw-NC for guix-patches@gnu.org; Mon, 14 Dec 2020 16:55:01 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kovo5-0006tE-LB for guix-patches@gnu.org; Mon, 14 Dec 2020 16:55:01 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#45161] [PATCH 0/1] Update go? Resent-From: Jack Hill Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 14 Dec 2020 21:55:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 45161 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: David Dashyan X-Debbugs-Original-Cc: guix-patches@gnu.org, 45161@debbugs.gnu.org Received: via spool by submit@debbugs.gnu.org id=B.160798284626410 (code B ref -1); Mon, 14 Dec 2020 21:55:01 +0000 Received: (at submit) by debbugs.gnu.org; 14 Dec 2020 21:54:06 +0000 Received: from localhost ([127.0.0.1]:54746 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kovnB-0006rs-H5 for submit@debbugs.gnu.org; Mon, 14 Dec 2020 16:54:05 -0500 Received: from lists.gnu.org ([209.51.188.17]:45108) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kovnA-0006rg-Bl for submit@debbugs.gnu.org; Mon, 14 Dec 2020 16:54:04 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:41714) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kovnA-0001tx-3c for guix-patches@gnu.org; Mon, 14 Dec 2020 16:54:04 -0500 Received: from minsky.hcoop.net ([104.248.1.95]:33206) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kovn8-0001p4-6U for guix-patches@gnu.org; Mon, 14 Dec 2020 16:54:03 -0500 Received: from marsh.hcoop.net ([45.55.52.66]) by minsky.hcoop.net with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kovn5-0003QE-AL; Mon, 14 Dec 2020 16:53:59 -0500 Date: Mon, 14 Dec 2020 16:53:59 -0500 (EST) From: Jack Hill X-X-Sender: jackhill@marsh.hcoop.net In-Reply-To: <87r1ntz7wh.fsf@davie.li> Message-ID: References: <20201210151024.25316-1-mail@davie.li> <87r1ntz7wh.fsf@davie.li> User-Agent: Alpine 2.21 (DEB 202 2017-01-01) MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset=US-ASCII Received-SPF: pass client-ip=104.248.1.95; envelope-from=jackhill@jackhill.us; helo=minsky.hcoop.net 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, 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: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: 45161@debbugs.gnu.org Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: 0.19 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Queue-Id: 400879403AA X-Spam-Score: 0.19 X-Migadu-Scanner: scn0.migadu.com X-TUID: UC0ZpiyrBXTw On Mon, 14 Dec 2020, David Dashyan wrote: > > Hello again! > > Jack Hill writes: > >> I've tested go 1.15 by trying to build the packages reported by `guix refresh -l >> go` on x86_64. There are some new build failures, but it doesn't look too >> bad. In fact, I've already fixed on of them, by updating go-github-com-kr-pretty >> in #45171 [0]. There were a number of packages whose tests failed because of >> changes [1] to `go vet`. The new kr-pretty release adjusts to the new vet >> behavior with a one line change [2] (kr-pretty had fortunately not fallen into >> the incorrect string() usage for which vet is now warning). > > May I ask how do you do afterer redefining "go" to point to go-1.15 and > getting list of deppending packages? I mean how one buids all depended > packages in one move if there such a way to do this? Sure. For me it involved some manual effort. There might be a more clever way to script it that others can share, but I didn't think it was too bad, and it allowed me to make notes about what problems I observed as I encountered them. Nothing I did was Go-specific. Perhaps a small project for another time, we could add a cookbook recipe for testing upgrades to languages or other packages with many dependents. Here's what I did after changing the default go: * ran `./pre-inst-env guix refresh -l go` and recorded the list of packages to build. * ran `./pre-inst-env guix build` with that list. * After a while there is a build failure, and the end of the log looks like (the actually failure here is unimportant): ``` FAIL go.etcd.io/bbolt 600.127s FAIL command "go" "test" "go.etcd.io/bbolt" failed with status 1 Some deprecated features have been used. Set the environment variable GUILE_WARN_DEPRECATED to "detailed" and rerun the program to get more information. Set it to "no" to suppress this message. builder for `/gnu/store/6dshsgwryfj8g27sf24sp7lhnpf639d1-go-etcd-io-bbolt-1.3.5.drv' failed with exit code 1 @ build-failed /gnu/store/6dshsgwryfj8g27sf24sp7lhnpf639d1-go-etcd-io-bbolt-1.3.5.drv - 1 builder for `/gnu/store/6dshsgwryfj8g27sf24sp7lhnpf639d1-go-etcd-io-bbolt-1.3.5.drv' failed with exit code 1 derivation '/gnu/store/6dshsgwryfj8g27sf24sp7lhnpf639d1-go-etcd-io-bbolt-1.3.5.drv' offloaded to 'libre-02.local' failed: build of `/gnu/store/6dshsgwryfj8g27sf24sp7lhnpf639d1-go-etcd-io-bbolt-1.3.5.drv' failed build of /gnu/store/6dshsgwryfj8g27sf24sp7lhnpf639d1-go-etcd-io-bbolt-1.3.5.drv failed View build log at '/var/log/guix/drvs/6d/shsgwryfj8g27sf24sp7lhnpf639d1-go-etcd-io-bbolt-1.3.5.drv.bz2'. cannot build derivation `/gnu/store/23jx3gb17gdhz662d3dsrmfnpp92abw4-chezmoi-1.8.1.drv': 1 dependencies couldn't be built guix build: error: build of `/gnu/store/23jx3gb17gdhz662d3dsrmfnpp92abw4-chezmoi-1.8.1.drv' failed ``` * From this, I make a not the go-etcd-io-bbolt has a build failure, and that I was unable to attempt chezmoi. * I remove chezmoi from the list of packages to build and re-run `guix build`. Repeat that process until all the remaining packages build, and you should have a nice list of build failures and builds that could not be attempted. Hope that helps, Jack