I try to build fabio from source but it fails on master and on the last release tag (v1.0.7).
Steps to (probably) reproduce this:
$ git clone https://github.com/eBay/fabio.git
$ cd fabio
$ git checkout v1.0.7
$ git reset --hard
$ export GOPATH=$(pwd) # is set!
$ go get github.com/eBay/fabio
During go get I get this error:
[...]
src/github.com/eBay/fabio/route/table.go:15: undefined: atomic.Value
[...]
When I don't run go get, and directly go build, I get the error that it cannot find sources,
hence I run go get first to fix this:
main.go:10:2: cannot find package "github.com/eBay/fabio/admin" in any of:
/usr/lib/go/src/pkg/github.com/eBay/fabio/admin (from $GOROOT)
/home/build/src/fabio/src/github.com/eBay/fabio/admin (from $GOPATH)
init.go:10:2: cannot find package "github.com/eBay/fabio/config" in any of:
/usr/lib/go/src/pkg/github.com/eBay/fabio/config (from $GOROOT)
/home/build/src/fabio/src/github.com/eBay/fabio/config (from $GOPATH)
listen.go:16:2: cannot find package "github.com/eBay/fabio/exit" in any of:
/usr/lib/go/src/pkg/github.com/eBay/fabio/exit (from $GOROOT)
/home/build/src/fabio/src/github.com/eBay/fabio/exit (from $GOPATH)
init.go:11:2: cannot find package "github.com/eBay/fabio/metrics" in any of:
/usr/lib/go/src/pkg/github.com/eBay/fabio/metrics (from $GOROOT)
/home/build/src/fabio/src/github.com/eBay/fabio/metrics (from $GOPATH)
listen.go:17:2: cannot find package "github.com/eBay/fabio/proxy" in any of:
/usr/lib/go/src/pkg/github.com/eBay/fabio/proxy (from $GOROOT)
/home/build/src/fabio/src/github.com/eBay/fabio/proxy (from $GOPATH)
init.go:12:2: cannot find package "github.com/eBay/fabio/registry" in any of:
/usr/lib/go/src/pkg/github.com/eBay/fabio/registry (from $GOROOT)
/home/build/src/fabio/src/github.com/eBay/fabio/registry (from $GOPATH)
init.go:13:2: cannot find package "github.com/eBay/fabio/registry/consul" in any of:
/usr/lib/go/src/pkg/github.com/eBay/fabio/registry/consul (from $GOROOT)
/home/build/src/fabio/src/github.com/eBay/fabio/registry/consul (from $GOPATH)
init.go:14:2: cannot find package "github.com/eBay/fabio/route" in any of:
/usr/lib/go/src/pkg/github.com/eBay/fabio/route (from $GOROOT)
/home/build/src/fabio/src/github.com/eBay/fabio/route (from $GOPATH)
Also when running go build after go get:
Same error message:
[...]
src/github.com/eBay/fabio/route/table.go:15: undefined: atomic.Value
[...]
No fabio binary is created.
Using go version go1.3.3 linux/amd64) from Debian Jessie stable.
I try to build fabio from source but it fails on master and on the last release tag (v1.0.7).
Steps to (probably) reproduce this:
During go get I get this error:
When I don't run go get, and directly go build, I get the error that it cannot find sources,
hence I run go get first to fix this:
Also when running go build after go get:
Same error message:
No fabio binary is created.
Using go version go1.3.3 linux/amd64) from Debian Jessie stable.