From: Jack Hill <jackhill@jackhill.us>
To: 39570@debbugs.gnu.org
Subject: [bug#39570] go: update to 1.13
Date: Tue, 11 Feb 2020 14:45:27 -0500 (EST) [thread overview]
Message-ID: <alpine.DEB.2.20.2002111413020.11123@marsh.hcoop.net> (raw)
Hi Guix,
The following is the minimal patch to update Go to 1.13. I'm motivated to
do this, in part, because of the go modules transition [0]. In the short
term, this will allow users of the go tooling to use the newest modules
behavior. The Guix go tooling, however, is not ready for modules [1], so
in this commit, I configure the go-build-system to use the old behavior.
Eventually the switch to do so will go away upstream, so we'll need to
update the build system.
Some things to be aware of when reviewing:
I believe that in Go 1.13, the upstream issued that lead to excessive
references being maintained in go programs [2] has been fixed, but I did
not undo our workaround.
With 1.13 the behavior of `go get` changed to download packages from
Google's mirror at proxy.golang.org by default [3] as opposed to directly
from upstream. This is configurable by users, and I don't think it is a
FSDG issue (if it is, I think it would be on privacy grounds), but we
could change the default behavior if needed.
I replaced the go-1.12 package with go-1.13, rather than having both.
guix refresh -l go says that "Building the following 51 packages would
ensure 175 dependent packages are rebuilt," so I have prepared the commit
against master.
I tested the commit by building syncthing and restic on my x86_64 system.
[0] https://blog.golang.org/v2-go-modules
[1] https://lists.gnu.org/archive/html/guix-devel/2020-02/msg00110.html
[2] https://debbugs.gnu.org/cgi/bugreport.cgi?bug=33620
[3] https://golang.org/doc/go1.13#modules
Thanks,
Jack
next reply other threads:[~2020-02-11 19:46 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-02-11 19:45 Jack Hill [this message]
2020-02-11 19:48 ` [bug#39570] [PATCH] gnu: go: update to 1.13.2 Jack Hill
2020-02-11 22:55 ` bug#39570: [PATCH] go: update to 1.13 Alex Griffin
2020-02-12 2:45 ` [bug#39570] " Jack Hill
2020-02-12 21:43 ` [bug#39570] " Leo Famulari
2020-02-12 22:01 ` Jack Hill
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=alpine.DEB.2.20.2002111413020.11123@marsh.hcoop.net \
--to=jackhill@jackhill.us \
--cc=39570@debbugs.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).