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 Attempt failed on UBI 8.5 [ARCH: ppc64le] #139

Open
csrividya opened this issue Jul 7, 2023 · 0 comments
Open

Build Attempt failed on UBI 8.5 [ARCH: ppc64le] #139

csrividya opened this issue Jul 7, 2023 · 0 comments

Comments

@csrividya
Copy link

csrividya commented Jul 7, 2023

Installed make, dep, go (go version go1.19 linux/ppc64le)
Cloned https://github.com/ceph/cn.git
When tried to build ceph/cn using make command, observing below error

make
rm -f cn cn &>/dev/null || true
dep ensure
unset GOOS; unset GOARCH; cd cmd; go test -timeout 1m -count 5
# github.com/ceph/cn/cmd [github.com/ceph/cn/cmd.test]
./list.go:54:3: unknown field Quiet in struct literal of type types.ContainerListOptions
./restart.go:51:61: cannot use nil as container.StopOptions value in argument to getDocker().ContainerRestart
./start.go:291:73: not enough arguments in call to getDocker().ContainerCreate
        have (context.Context, *container.Config, *container.HostConfig, nil, string)
        want (context.Context, *container.Config, *container.HostConfig, *network.NetworkingConfig, *v1.Platform, string)
./status.go:59:3: unknown field Quiet in struct literal of type types.ContainerListOptions
./stop.go:60:59: cannot use &timeout (value of type *"time".Duration) as container.StopOptions value in argument to getDocker().ContainerStop
./utils.go:131:71: cannot use optionsAttach (variable of type types.ExecConfig) as types.ExecStartCheck value in argument to getDocker().ContainerExecAttach
./utils.go:166:66: cannot use optionsAttach (variable of type types.ExecConfig) as types.ExecStartCheck value in argument to getDocker().ContainerExecAttach
FAIL    github.com/ceph/cn/cmd [build failed]
make: *** [Makefile:29: prepare] Error 1
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