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

[bug] failed to make build-cli to build pouch cli #2845

Closed
allencloud opened this issue May 15, 2019 · 1 comment
Closed

[bug] failed to make build-cli to build pouch cli #2845

allencloud opened this issue May 15, 2019 · 1 comment
Assignees
Labels
areas/cli kind/bug This is bug report for project

Comments

@allencloud
Copy link
Collaborator

Ⅰ. Issue Description

I found that recently the pouchrobot failed to generate cli docs automatically.

Please see the failure log. It seems to be related with buildkit code which is introduced in #2779.

root@7a95dc252894:/go/src/github.com/alibaba/pouch# make build-cli
build-cli: bin/pouch
# github.com/alibaba/pouch/vendor/github.com/moby/buildkit/util/apicaps
vendor/github.com/moby/buildkit/util/apicaps/caps.go:147:8: undefined: strings.Builder
Makefile:125: recipe for target 'build-cli' failed
make: *** [build-cli] Error 2
root@7a95dc252894:/go/src/github.com/alibaba/pouch# git log
commit 5c253f937da2bfb4cd030d81800ecf1145805896
Author: Rudy Zhang <rudyflyzhang@gmail.com>
Date:   Mon May 13 14:22:22 2019 +0800

    remove useless break statement

    Signed-off-by: Rudy Zhang <rudyflyzhang@gmail.com>

commit 2596dc7bc81e7fff6ffa481c0decb53ddb2b036d

Ⅱ. Describe what happened

make build-cli failed.

Ⅲ. Describe what you expected to happen

make build-cli works

Ⅳ. How to reproduce it (as minimally and precisely as possible)

see the command line display above.

Ⅴ. Anything else we need to know?

none

Ⅵ. Environment:

  • pouch version (use pouch version):
  • OS (e.g. from /etc/os-release):
  • Kernel (e.g. uname -a):
  • Install tools:
  • Others:
@pouchrobot pouchrobot added the kind/bug This is bug report for project label May 15, 2019
@fuweid
Copy link
Contributor

fuweid commented May 15, 2019

@allencloud the strings.Builder is introduced in go1.10 https://golang.org/doc/go1.10#strings . Please update your golang version. Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
areas/cli kind/bug This is bug report for project
Projects
None yet
Development

No branches or pull requests

3 participants