perkeep / perkeep

Perkeep (née Camlistore) is your personal storage system for life: a way of storing, syncing, sharing, modelling and backing up content.
https://perkeep.org/
Apache License 2.0
6.49k stars 447 forks source link

Issue building - SearchResult re-declared in block (gopherjs) #895

Open chrisportela opened 7 years ago

chrisportela commented 7 years ago

I can't run go run make.go on tip

cp in ~/projects/go/src/camlistore.org (master)
$ git log -n 1
commit fbf9f3747ebf7f7481325835fd24bb5b133eaedc
Merge: d29e05d b0eefd7
Author: Mathieu Lonjaret <mathieu.lonjaret@gmail.com>
Date:   Sat Dec 17 22:56:37 2016 +0000

    Merge "server/camnetdns: get certificate from Lets Encrypt"

cp in ~/projects/go/src/camlistore.org (master)
$ go version
go version go1.7.4 darwin/amd64

cp in ~/projects/go/src/camlistore.org (master)
$ go run make.go
generated /Users/cp/projects/go/src/camlistore.org/tmp/build-gopath-nosqlite/src/camlistore.org/app/publisher/js/zsearch.go
gopherjs for publisher error: exit status 1, tmp/build-gopath-nosqlite/src/camlistore.org/app/publisher/js/zsearch.go:36:6: SearchResult redeclared in this block
tmp/build-gopath-nosqlite/src/camlistore.org/app/publisher/js/search.go:71:6:   other declaration of SearchResult
tmp/build-gopath-nosqlite/src/camlistore.org/app/publisher/js/zsearch.go:46:6: SearchResultBlob redeclared in this block
tmp/build-gopath-nosqlite/src/camlistore.org/app/publisher/js/search.go:81:6:   other declaration of SearchResultBlob
tmp/build-gopath-nosqlite/src/camlistore.org/app/publisher/js/zsearch.go:50:6: DescribeResponse redeclared in this block
tmp/build-gopath-nosqlite/src/camlistore.org/app/publisher/js/search.go:91:6:   other declaration of DescribeResponse
tmp/build-gopath-nosqlite/src/camlistore.org/app/publisher/js/zsearch.go:54:6: MetaMap redeclared in this block
tmp/build-gopath-nosqlite/src/camlistore.org/app/publisher/js/search.go:39:6:   other declaration of MetaMap
tmp/build-gopath-nosqlite/src/camlistore.org/app/publisher/js/zsearch.go:56:6: DescribedBlob redeclared in this block
tmp/build-gopath-nosqlite/src/camlistore.org/app/publisher/js/search.go:41:6:   other declaration of DescribedBlob
tmp/build-gopath-nosqlite/src/camlistore.org/app/publisher/js/search.go:41:6: too many errors
exit status 1
mpl commented 7 years ago

@0xCMP hmm, I can't reproduce on go1.7.4 linux/amd64

Could you please make sure to rm -rf tmp/build-gopath-nosqlite first, and then retry?