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

build error #715

Open
i0x71 opened this issue Mar 4, 2021 · 0 comments
Open

build error #715

i0x71 opened this issue Mar 4, 2021 · 0 comments

Comments

@i0x71
Copy link

i0x71 commented Mar 4, 2021

Hi, i just downloaded release 0.9.0 and im getting build errors, any suggestions ?

runtime-tools-0.9.0$ make
go build -tags "" -ldflags "-X main.gitCommit= -X main.version=0.9.0" -o oci-runtime-tool ./cmd/oci-runtime-tool

_/home/i0x71/goEnv/runtime-tools-0.9.0/cmd/oci-runtime-tool

cmd/oci-runtime-tool/generate.go:22:21: cannot use cli.StringSliceFlag literal (type cli.StringSliceFlag) as type cli.Flag in slice literal:
cli.StringSliceFlag does not implement cli.Flag (Apply method has pointer receiver)
cmd/oci-runtime-tool/generate.go:23:21: cannot use cli.StringSliceFlag literal (type cli.StringSliceFlag) as type cli.Flag in slice literal:
cli.StringSliceFlag does not implement cli.Flag (Apply method has pointer receiver)
cmd/oci-runtime-tool/generate.go:24:21: cannot use cli.StringSliceFlag literal (type cli.StringSliceFlag) as type cli.Flag in slice literal:
cli.StringSliceFlag does not implement cli.Flag (Apply method has pointer receiver)
cmd/oci-runtime-tool/generate.go:25:21: cannot use cli.StringSliceFlag literal (type cli.StringSliceFlag) as type cli.Flag in slice literal:
cli.StringSliceFlag does not implement cli.Flag (Apply method has pointer receiver)
cmd/oci-runtime-tool/generate.go:26:14: cannot use cli.BoolFlag literal (type cli.BoolFlag) as type cli.Flag in slice literal:
cli.BoolFlag does not implement cli.Flag (Apply method has pointer receiver)
cmd/oci-runtime-tool/generate.go:27:21: cannot use cli.StringSliceFlag literal (type cli.StringSliceFlag) as type cli.Flag in slice literal:
cli.StringSliceFlag does not implement cli.Flag (Apply method has pointer receiver)
cmd/oci-runtime-tool/generate.go:28:14: cannot use cli.BoolFlag literal (type cli.BoolFlag) as type cli.Flag in slice literal:
cli.BoolFlag does not implement cli.Flag (Apply method has pointer receiver)
cmd/oci-runtime-tool/generate.go:29:21: cannot use cli.StringSliceFlag literal (type cli.StringSliceFlag) as type cli.Flag in slice literal:
cli.StringSliceFlag does not implement cli.Flag (Apply method has pointer receiver)
cmd/oci-runtime-tool/generate.go:30:14: cannot use cli.BoolFlag literal (type cli.BoolFlag) as type cli.Flag in slice literal:
cli.BoolFlag does not implement cli.Flag (Apply method has pointer receiver)
cmd/oci-runtime-tool/generate.go:31:16: cannot use cli.StringFlag literal (type cli.StringFlag) as type cli.Flag in slice literal:
cli.StringFlag does not implement cli.Flag (Apply method has pointer receiver)
cmd/oci-runtime-tool/generate.go:31:16: too many errors
make: *** [Makefile:14: tool] 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