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 arm64 chaosblade-box-agent error #144

Open
hermithuang opened this issue Mar 20, 2023 · 0 comments
Open

build arm64 chaosblade-box-agent error #144

hermithuang opened this issue Mar 20, 2023 · 0 comments

Comments

@hermithuang
Copy link

使用arm服务器make或者make build_arm64都会出现以下错误。所以没法成功编译。

# github.com/litmuschaos/chaos-operator/pkg/client/clientset/versioned/typed/litmuschaos/v1alpha1 /root/go/pkg/mod/github.com/litmuschaos/[email protected]/pkg/client/clientset/versioned/typed/litmuschaos/v1alpha1/chaosengine.go:74:5: not enough arguments in call to c.client.Get().Namespace(c.ns).Resource("chaosengines").Name(name).VersionedParams(&options, "github.com/litmuschaos/chaos-operator/pkg/client/clientset/versioned/scheme".ParameterCodec).Do have () want (context.Context) /root/go/pkg/mod/github.com/litmuschaos/[email protected]/pkg/client/clientset/versioned/typed/litmuschaos/v1alpha1/chaosengine.go:91:5: not enough arguments in call to c.client.Get().Namespace(c.ns).Resource("chaosengines").VersionedParams(&opts, "github.com/litmuschaos/chaos-operator/pkg/client/clientset/versioned/scheme".ParameterCodec).Timeout(timeout).Do have () want (context.Context) /root/go/pkg/mod/github.com/litmuschaos/[email protected]/pkg/client/clientset/versioned/typed/litmuschaos/v1alpha1/chaosengine.go:108:8: not enough arguments in call to c.client.Get().Namespace(c.ns).Resource("chaosengines").VersionedParams(&opts, "github.com/litmuschaos/chaos-operator/pkg/client/clientset/versioned/scheme".ParameterCodec).Timeout(timeout).Watch have () want (context.Context) /root/go/pkg/mod/github.com/litmuschaos/[email protected]/pkg/client/clientset/versioned/typed/litmuschaos/v1alpha1/chaosengine.go:118:5: not enough arguments in call to c.client.Post().Namespace(c.ns).Resource("chaosengines").Body(chaosEngine).Do have () want (context.Context) /root/go/pkg/mod/github.com/litmuschaos/[email protected]/pkg/client/clientset/versioned/typed/litmuschaos/v1alpha1/chaosengine.go:131:5: not enough arguments in call to c.client.Put().Namespace(c.ns).Resource("chaosengines").Name(chaosEngine.ObjectMeta.Name).Body(chaosEngine).Do have () want (context.Context) /root/go/pkg/mod/github.com/litmuschaos/[email protected]/pkg/client/clientset/versioned/typed/litmuschaos/v1alpha1/chaosengine.go:147:5: not enough arguments in call to c.client.Put().Namespace(c.ns).Resource("chaosengines").Name(chaosEngine.ObjectMeta.Name).SubResource("status").Body(chaosEngine).Do have () want (context.Context) /root/go/pkg/mod/github.com/litmuschaos/[email protected]/pkg/client/clientset/versioned/typed/litmuschaos/v1alpha1/chaosengine.go:159:5: not enough arguments in call to c.client.Delete().Namespace(c.ns).Resource("chaosengines").Name(name).Body(options).Do have () want (context.Context) /root/go/pkg/mod/github.com/litmuschaos/[email protected]/pkg/client/clientset/versioned/typed/litmuschaos/v1alpha1/chaosengine.go:175:5: not enough arguments in call to c.client.Delete().Namespace(c.ns).Resource("chaosengines").VersionedParams(&listOptions, "github.com/litmuschaos/chaos-operator/pkg/client/clientset/versioned/scheme".ParameterCodec).Timeout(timeout).Body(options).Do have () want (context.Context) /root/go/pkg/mod/github.com/litmuschaos/[email protected]/pkg/client/clientset/versioned/typed/litmuschaos/v1alpha1/chaosengine.go:188:5: not enough arguments in call to c.client.Patch(pt).Namespace(c.ns).Resource("chaosengines").SubResource(subresources...).Name(name).Body(data).Do have () want (context.Context) /root/go/pkg/mod/github.com/litmuschaos/[email protected]/pkg/client/clientset/versioned/typed/litmuschaos/v1alpha1/chaosexperiment.go:74:5: not enough arguments in call to c.client.Get().Namespace(c.ns).Resource("chaosexperiments").Name(name).VersionedParams(&options, "github.com/litmuschaos/chaos-operator/pkg/client/clientset/versioned/scheme".ParameterCodec).Do have () want (context.Context) /root/go/pkg/mod/github.com/litmuschaos/[email protected]/pkg/client/clientset/versioned/typed/litmuschaos/v1alpha1/chaosexperiment.go:74:5: too many errors make: *** [build_binary] Error 2 Makefile:34: recipe for target 'build_binary' failed make: *** [Makefile:45:build_arm64] 错误 2
或者能不能直接发布一下arm64版本的agent到release? 感谢!

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