build error · Issue #715 · opencontainers/runtime-tools · GitHub
Skip to content

build error #715

Open
Open

Description

@i0x71

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions