Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue building on Linux #202

Open
kevev opened this issue Apr 28, 2019 · 2 comments
Open

Issue building on Linux #202

kevev opened this issue Apr 28, 2019 · 2 comments

Comments

@kevev
Copy link

kevev commented Apr 28, 2019

~/go/src/github/gliderlabs/cmd# GO111MODULE=on make dev
docker-compose -f dev/services.yml up -d
dev_dynamodb_1 is up-to-date
./dev/deps.sh
comlab dev
2019/04/28 20:38:46 ERROR! Build failed:

github.com/gliderlabs/cmd/lib/agentproxy

/root/go/pkg/mod/github.com/gliderlabs/[email protected]/lib/agentproxy/agentproxy.go:43:6: undefined: client.IsErrImageNotFound

2019/04/28 20:38:46 Service failed before ready, exiting...
Makefile:28: recipe for target 'dev' failed
make: *** [dev] Error 1

@kevev
Copy link
Author

kevev commented Apr 28, 2019

GO111MODULE=on go get github.com/gliderlabs/cmd/lib/agentproxy
go: finding github.com/gliderlabs/cmd/lib/agentproxy latest
go: finding github.com/gliderlabs/cmd/lib latest
go: finding github.com/gliderlabs/cmd latest

github.com/gliderlabs/cmd/lib/agentproxy

/root/go/pkg/mod/github.com/gliderlabs/[email protected]/lib/agentproxy/agentproxy.go:43:6: undefined: client.IsErrImageNotFound

@kevev
Copy link
Author

kevev commented Apr 29, 2019

Got past that error. Now have this:

GO111MODULE=on make build
GOOS=linux GOARCH=amd64
go build -ldflags "-X main.Version=7e7fb06de288442e5c4b52f437dbdf0a40cd0f77" -o build/linux_amd64/cmd ./cmd/cmd

github.com/gliderlabs/cmd/app/store/dynamodb

/root/go/pkg/mod/github.com/gliderlabs/[email protected]/app/store/dynamodb/cmd.go:45:79: c.cmdTable().Get("User", user).Range("Name", dynamo.Equal, name).OneItem undefined (type *dynamo.Query has no field or method OneItem)
/root/go/pkg/mod/github.com/gliderlabs/[email protected]/app/store/dynamodb/cmd.go:97:33: c.updateCmd(owner, name).Delete undefined (type *dynamo.Update has no field or method Delete)
/root/go/pkg/mod/github.com/gliderlabs/[email protected]/app/store/dynamodb/cmd.go:109:33: c.updateCmd(owner, name).Delete undefined (type *dynamo.Update has no field or method Delete)
Makefile:24: recipe for target 'build/linux_amd64/cmd' failed
make: *** [build/linux_amd64/cmd] Error 2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant