You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In my ongoing quest to convert Camlistore from r60 to ~Go1, I keep hitting build issues
where the Go tool doesn't tell me the actual problem.
Consider this log:
bradmac-2:camlistore.org bradfitz$ go build ./server/camlistored
./server/camlistored
imports camlistore.org/pkg/serverconfig
imports camlistore.org/pkg/blobserver
imports camlistore/pkg/blobref: /Users/bradfitz/src/camlistore.org/pkg/blobserver/mergedenum.go:19:8: package could not be found locally
./server/camlistored
imports camlistore/pkg/blobserver/cond: /Users/bradfitz/src/camlistore.org/server/camlistored/camlistored.go:40:2: package could not be found locally
./server/camlistored
imports camlistore/pkg/blobserver/localdisk: /Users/bradfitz/src/camlistore.org/server/camlistored/camlistored.go:41:2: package could not be found locally
./server/camlistored
imports camlistore/pkg/blobserver/remote: /Users/bradfitz/src/camlistore.org/server/camlistored/camlistored.go:42:2: package could not be found locally
./server/camlistored
imports camlistore/pkg/blobserver/replica: /Users/bradfitz/src/camlistore.org/server/camlistored/camlistored.go:43:2: package could not be found locally
./server/camlistored
imports camlistore/pkg/blobserver/s3: /Users/bradfitz/src/camlistore.org/server/camlistored/camlistored.go:44:2: package could not be found locally
./server/camlistored
imports camlistore/pkg/blobserver/shard: /Users/bradfitz/src/camlistore.org/server/camlistored/camlistored.go:45:2: package could not be found locally
./server/camlistored
imports camlistore/pkg/search: /Users/bradfitz/src/camlistore.org/server/camlistored/camlistored.go:51:2: package could not be found locally
./server/camlistored
imports camlistore/pkg/server: /Users/bradfitz/src/camlistore.org/server/camlistored/camlistored.go:52:2: package could not be found locally
bradmac-2:camlistore.org bradfitz$ go build ./pkg/serverconfig/
./pkg/serverconfig/
imports camlistore.org/pkg/blobserver
imports camlistore/pkg/blobref: /Users/bradfitz/src/camlistore.org/pkg/blobserver/mergedenum.go:19:8: package could not be found locally
bradmac-2:camlistore.org bradfitz$ go build ./pkg/blobserver/
./pkg/blobserver/
imports camlistore/pkg/blobref: /Users/bradfitz/src/camlistore.org/pkg/blobserver/mergedenum.go:19:8: package could not be found locally
bradmac-2:camlistore.org bradfitz$ go build ./pkg/blobref/
# camlistore.org/pkg/osutil
pkg/osutil/paths.go:85: undefined: os.ENOENT
If that os.ENOENT was the whole problem, I wish the first go build would've told me that.
The text was updated successfully, but these errors were encountered:
The text was updated successfully, but these errors were encountered: