Unable to install CBFS using GO


#1

Hey guys.

Today I ran in another problem.

I tried to install CBFS ( https://github.com/couchbaselabs/cbfs ).
So I ran the first command go get github.com/couchbaselabs/cbfs , but already the first commands returns errors:

go get github.com/couchbaselabs/cbfs
# github.com/dustin/go-hashset
/usr/lib/go/src/pkg/github.com/dustin/go-hashset/hashset.go:177: function ends without a return statement
# github.com/dustin/httputil
/usr/lib/go/src/pkg/github.com/dustin/httputil/signals.go:14: undefined: signal.Stop
# github.com/dustin/frames
/usr/lib/go/src/pkg/github.com/dustin/frames/client.go:198: function ends without a return statement
/usr/lib/go/src/pkg/github.com/dustin/frames/server.go:41: function ends without a return statement
/usr/lib/go/src/pkg/github.com/dustin/frames/server.go:287: function ends without a return statement
/usr/lib/go/src/pkg/github.com/dustin/frames/server.go:296: function ends without a return statement
# github.com/miekg/dns
/usr/lib/go/src/pkg/github.com/miekg/dns/sig0.go:59: syntax error: unexpected :, expecting ]
# github.com/couchbase/gomemcached/client
/usr/lib/go/src/pkg/github.com/couchbase/gomemcached/client/tap_feed.go:118: function ends without a return statement
# github.com/samuel/go-metrics/metrics
/usr/lib/go/src/pkg/github.com/samuel/go-metrics/metrics/counter.go:47: undefined: atomic.SwapUint64
/usr/lib/go/src/pkg/github.com/samuel/go-metrics/metrics/ewma.go:103: undefined: atomic.SwapUint64
/usr/lib/go/src/pkg/github.com/samuel/go-metrics/metrics/gauge.go:49: undefined: atomic.SwapInt64

I have no clue where the fault could be or how I could fix it.
I hope you guys can help me out.

Using Debian 7 64BIT