I’m getting the following error when building syncthing v0.9.4:
Relying on packaging to define the extension of the main artifact has been deprecated and is scheduled to be removed in Gradle 2.0 :buildNative rm: das Entfernen von »bin/“ ist nicht möglich: Datei oder Verzeichnis nicht gefunden ? github.com/syncthing/syncthing/auto [no test files] # github.com/syndtr/goleveldb/leveldb/table Godeps/_workspace/src/github.com/syndtr/goleveldb/leveldb/table/reader.go:533: undefined: sync.Pool ok github.com/syncthing/syncthing/beacon 0.043s ? github.com/syncthing/syncthing/cmd/stevents [no test files] ? github.com/syncthing/syncthing/cmd/stindex [no test files] ? github.com/syncthing/syncthing/cmd/syncthing [no test files] ok github.com/syncthing/syncthing/config 0.055s ? github.com/syncthing/syncthing/discover [no test files] ok github.com/syncthing/syncthing/events 2.321s FAIL github.com/syncthing/syncthing/files [build failed] ok github.com/syncthing/syncthing/lamport 0.003s ok github.com/syncthing/syncthing/logger 0.012s ok github.com/syncthing/syncthing/luhn 0.032s FAIL github.com/syncthing/syncthing/model [build failed] ? github.com/syncthing/syncthing/osutil [no test files] ok github.com/syncthing/syncthing/protocol 4.427s ok github.com/syncthing/syncthing/scanner 0.042s ok github.com/syncthing/syncthing/upgrade 0.010s ok github.com/syncthing/syncthing/upnp 0.042s ? github.com/syncthing/syncthing/versioner [no test files] godep: go exit status 2 :buildNative FAILED :copyNative UP-TO-DATE FAILURE: Build failed with an exception. * What went wrong: Execution failed for task ':buildNative'. > Process 'command './build-native.sh'' finished with non-zero exit value 1 * Try: Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. BUILD FAILED Total time: 22.095 secs
Go version is “go1.2.1 linux/amd64”.
I can build v0.9.2 without problems.