Created attachment 454028 [details] build.log Hi, cannot build syncthing[tools] on arm. # github.com/syncthing/syncthing/cmd/strelaysrv cmd/strelaysrv/main.go:132: transport.DialContext undefined (type *http.Transport has no field or method DialContext) cmd/strelaysrv/main.go:135: (&net.Dialer literal).DialContext undefined (type *net.Dialer has no field or method DialContext)
Created attachment 454030 [details] emerge info
I quick check shows that syncthing builds OK with dev-lang/go-1.7.3 (which is yet unstable on arm).
I think you should report this upstream. I'd do it but I don't have an arm system to test with any more. They're supposed to support Go 1.6 so they will probably fix this. We'll have to add a check to make sure Go 1.7 is present.
ok, reported: https://github.com/syncthing/syncthing/issues/3753
Also, this is not arm specific. Could reproduce on amd64.
OK, I read the reply from the developer. We'll just condition the need for Go 1.7 to USE=tools. Do you know if other 0.14.* releases are affected too? I'll try to compile those with Go 1.6.
If I remember correctly, syncthing 0.14.9 compiled fine with go 1.6. Certainly I did not test 0.14.10.
Fixed in commit b184cea7db5565246721c6cd5feba6d072b1844b https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b184cea7db5565246721c6cd5feba6d072b1844b Author: Louis Sautier <sautier.louis@gmail.com> Date: Tue Nov 22 14:57:41 2016 +0100 net-p2p/syncthing: bump to 0.14.12, fix DEPEND Gentoo-Bug: 600466 Package-Manager: portage-2.3.2 Closes: https://github.com/gentoo/gentoo/pull/2913