From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jack Hill Subject: help updateing go to 1.13 Date: Fri, 7 Feb 2020 22:59:12 -0500 (EST) Message-ID: Mime-Version: 1.0 Content-Type: multipart/mixed; BOUNDARY="925712948-398284515-1581114567=:11123" Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:44846) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j0HH2-0000mS-9N for guix-devel@gnu.org; Fri, 07 Feb 2020 22:59:17 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1j0HH0-0004BC-Ts for guix-devel@gnu.org; Fri, 07 Feb 2020 22:59:16 -0500 Received: from minsky.hcoop.net ([104.248.1.95]:44422) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1j0HH0-000462-PN for guix-devel@gnu.org; Fri, 07 Feb 2020 22:59:14 -0500 Received: from marsh.hcoop.net ([45.55.52.66]) by minsky.hcoop.net with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1j0HGz-0006NQ-Vq for guix-devel@gnu.org; Fri, 07 Feb 2020 22:59:13 -0500 Content-ID: List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane-mx.org@gnu.org Sender: "Guix-devel" To: guix-devel@gnu.org This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. --925712948-398284515-1581114567=:11123 Content-Type: text/plain; FORMAT=flowed; CHARSET=US-ASCII Content-ID: Hi Guix, I thought I would try my hand at updating our go package to 1.13. Looking at the release notes [0] it didn't look to bad. What I have so far can be found in the attached patch. With the patch, go builds. To spot check that everything still looked okay, I also tried to build syncthing. Doing so, however, failed when it tried to fetch a dependency from the network: ``` go: github.com/AudriusButkevicius/go-nat-pmp@v0.0.0-20160522074932-452c97607362: Get https://proxy.golang.org/github.com/%21audrius%21butkevicius/go-nat-pmp/@v/v0.0.0-20160522074932-452c97607362.mod: dial tcp: lookup proxy.golang.org on [::1]:53: read udp [::1]:35040->[::1]:53: read: connection refused command "go" "run" "build.go" "-no-upgrade" failed with status 1 builder for `/gnu/store/5zs0yrcvr0vwsashsn2i5vx1fgynhmaw-syncthing-1.2.2.drv' failed with exit code 1 ``` go-github-com-audriusbutkevicius-go-nat-pmp is listed as an input for syncthing. I don't know why the change in compiler version would have caused this. Thoughts? [0] https://golang.org/doc/go1.13 [1] On thing that might need addition thinking is that `go get` in 1.13 now uses the Google mirror for fetching modules and cheksums which is different than current behavior. I'm not sure if this poses any privacy concerns for the user, and would like to hear what other's think, but this is not the main problem I'm struggling with today. Best, Jack --925712948-398284515-1581114567=:11123 Content-Type: text/x-diff; NAME=0001-WIP-gnu-go-update-to-1.13.patch Content-Transfer-Encoding: BASE64 Content-ID: Content-Description: Content-Disposition: ATTACHMENT; FILENAME=0001-WIP-gnu-go-update-to-1.13.patch RnJvbSA0YTgxNDdiOGI0NDdiMzA1MDFmMmZjYjRkMTU3Y2M4Y2M3OWNlNmMy IE1vbiBTZXAgMTcgMDA6MDA6MDAgMjAwMQ0KRnJvbTogSmFjayBIaWxsIDxq YWNraGlsbEBqYWNraGlsbC51cz4NCkRhdGU6IEZyaSwgNyBGZWIgMjAyMCAx NzoyMjo1OCAtMDUwMA0KU3ViamVjdDogW1BBVENIXSBXSVA6IGdudTogZ286 IHVwZGF0ZSB0byAxLjEzDQoNCi0tLQ0KIGdudS9wYWNrYWdlcy9nb2xhbmcu c2NtIHwgOSArKysrLS0tLS0NCiAxIGZpbGUgY2hhbmdlZCwgNCBpbnNlcnRp b25zKCspLCA1IGRlbGV0aW9ucygtKQ0KDQpkaWZmIC0tZ2l0IGEvZ251L3Bh Y2thZ2VzL2dvbGFuZy5zY20gYi9nbnUvcGFja2FnZXMvZ29sYW5nLnNjbQ0K aW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c2VzIChAZGZue0NTUH0pLiIpDQogICAgICAgICxAKHBh Y2thZ2UtbmF0aXZlLWlucHV0cyBnby0xLjQpKSkNCiAgICAgKHN1cHBvcnRl ZC1zeXN0ZW1zICVzdXBwb3J0ZWQtc3lzdGVtcykpKQ0KIA0KLShkZWZpbmUt cHVibGljIGdvIGdvLTEuMTIpDQorKGRlZmluZS1wdWJsaWMgZ28gZ28tMS4x MykNCiANCiAoZGVmaW5lLXB1YmxpYyBnby1naXRodWItY29tLWFsc20taW9w cm9ncmVzcw0KICAgKGxldCAoKGNvbW1pdCAiMDYzYzM3MjVmNDM2ZTdmYmEw YzhmNTg4NTQ3YmVlMjFmZmVjN2FjNSIpDQotLSANCjIuMjUuMA0KDQo= --925712948-398284515-1581114567=:11123--