When I try
/s/a/lego> go get -u github.com/go-acme/lego/v4/cmd/lego
(from the official docs)
I get this output:
go: finding github.com/gophercloud/utils latest
go: finding github.com/rainycape/memcache latest
go: finding google.golang.org/genproto latest
go: finding github.com/iij/doapi latest
go: finding golang.org/x/sys latest
go: finding golang.org/x/oauth2 latest
go: finding github.com/kolo/xmlrpc latest
go: finding golang.org/x/net latest
go: finding github.com/golang/groupcache latest
go: finding golang.org/x/time latest
go: finding github.com/OpenDNS/vegadns2client latest
go: finding golang.org/x/crypto latest
go: finding github.com/modern-go/concurrent latest
go: finding github.com/namedotcom/go latest
build github.com/go-acme/lego/v4/cmd/lego: cannot load github.com/sacloud/libsacloud/api: module github.com/sacloud/libsacloud@latest (v2.7.0+incompatible) found, but does not contain package github.com/sacloud/libsacloud/api
Same goes for
/s/a/lego> git clone [email protected]:go-acme/lego.git
/s/a/lego> make build
Results in
BIN_OUTPUT: dist/lego
rm -rf dist/ builds/ cover.out
Version: abd783a12477a7a3f96af285dcf20494be9836fa
go build -v -trimpath -ldflags '-X "main.version=abd783a12477a7a3f96af285dcf20494be9836fa"' -o dist/lego ./cmd/lego/
build github.com/go-acme/lego/v4/cmd/lego: cannot load github.com/sacloud/libsacloud/api: module github.com/sacloud/libsacloud@latest (v2.7.0+incompatible) found, but does not contain package github.com/sacloud/libsacloud/api
Makefile:24: recipe for target 'build' failed
make: *** [build] Error 1
Hello,
It seems to be the same problem as #946.
$ export GO111MODULE=on
$ go version
$ git clone [email protected]:go-acme/lego.git
$ cd lego
$ make build
I recommend to use our binaries:
Most helpful comment
Hello,
It seems to be the same problem as #946.
I recommend to use our binaries: