I failed to build on go 1.13.4, windows amd64 with the following error after checking out v1.3.2.
go mod download
go run build.go
github.com/syncthing/syncthing/cmd/strelaypoolsrv/auto
github.com/syncthing/syncthing/cmd/strelaypoolsrv
github.com/syncthing/syncthing/cmd/stupgrades
# github.com/syncthing/syncthing/cmd/stupgrades
cmd\stupgrades\main.go:24:10: undefined: upgrade.FetchLatestReleases
cmd\stupgrades\main.go:30:12: undefined: upgrade.SortByRelease
exit status 2
exit status 1
It’s always heartening to see the effort that goes into fixing corner cases, performance bugs and other under-the-hood issues. It may not seem as exciting to some folk, but as far as I’m concerned, stability and efficiency are very important. Thanks again to you all :- )
Just a heads-up (dunno if it’s just my build or not) but on a Xubuntu 18.04 server I had to manually upgrade linux-headers-generic-hwe-18.04
(–fix-missing, etc didn’t wanna do it properly. I’m using stock sources and repos.)
Thought I’d check in for anyone else experiencing the issue. Before running the syncthing update, just do a sudo apt-get upgrade linux-headers-generic-hwe-18.04 and you’re golden.
It was the standard, stock download of Xubuntu 18.04 from the main site. The system was set up less than a month ago, and the only thing I installed on it was syncthing. Well, and SSH, and x11vnc.
At any rate, I figured that if anyone else ran into it, the solution was simple, and now they’ve got a suggestion for fixing it.
The more important question is how you got syncthing. If you downloaded from github then yeah, if via standard package management tools, then it’s not packaged by us and all bets are off.