Docker Community Forums

Share and learn in the Docker community.

Build notary-client not working


(Dwake) #1

I’m trying to build the Notary client from source, following the instructions at github.com/docker/notary/blob/master/README.md

When I run “make binaries”, I get a series of dependency problems:

GOPATH=/root/go PATH=$PATH:/usr/local/go/bin go get github.com/tools/godep
GOPATH=/root/go:/root/notary/Godeps/_workspace PATH=$PATH:/usr/local/go/bin make binaries
pkcs11 import was not found anywhere without a build tag, yay
xargs: go: terminated by signal 13

  • /root/notary/bin/notary-server
    cmd/notary-server/config.go:9:2: cannot find package “github.com/Sirupsen/logrus” in any of:
    /usr/local/go/src/github.com/Sirupsen/logrus (from $GOROOT)
    /root/go/src/github.com/Sirupsen/logrus (from $GOPATH)
    /root/go/src/github.com/Sirupsen/logrus
    /root/notary/Godeps/_workspace/src/github.com/Sirupsen/logrus

Is there an extra step I’m missing to set up the dependencies properly? Thanks.