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 on "./hack/build.sh" #1

Closed
ruyingzhe opened this issue Nov 12, 2019 · 1 comment · Fixed by #2
Closed

Build error on "./hack/build.sh" #1

ruyingzhe opened this issue Nov 12, 2019 · 1 comment · Fixed by #2

Comments

@ruyingzhe
Copy link
Contributor

Describe the bug
I just follow the guide https://github.com/tkestack/galaxy/blob/master/doc/building.md to build binaries, but on command ./hash/build.sh getting errors:

root@d49c9bf924fe:/go/src/tkestack.io/galaxy# ./hack/build.sh
Building galaxy
go build -o bin/galaxy tkestack.io/galaxy/cmd/galaxy
# tkestack.io/galaxy/pkg/utils/iptables
pkg/utils/iptables/iptables_unsupported.go:42:6: grabIptablesLocks redeclared in this block
        previous declaration at pkg/utils/iptables/iptables_linux.go:68:62
pkg/utils/iptables/iptables_unsupported.go:46:6: grabIptablesFileLock redeclared in this block
        previous declaration at pkg/utils/iptables/iptables_linux.go:115:39

Environment

  • OS: Linux VM_149_11_centos 3.10.107-1-tlinux2_kvm_guest-0049 Build error on "./hack/build.sh" #1 SMP Tue Jul 30 23:46:29 CST 2019 x86_64 x86_64 x86_64 GNU/Linux
  • golang: go version go1.12.4 linux/amd64
@ruyingzhe
Copy link
Contributor Author

More information
./hack/build-ipa,.sh command print out errors:

root@:~/gopath/src/tkestack.io/galaxy(fix-build-error)# ./hack/build-ipam.sh
build tkestack.io/galaxy/cmd/galaxy-ipam: cannot load tkestack.io/tapp-controller/pkg/apis/tappcontroller/v1: cannot find module providing package tkestack.io/tapp-controller/pkg/apis/tappcontroller/v1

qyzhaoxun pushed a commit that referenced this issue Aug 16, 2023
* update k8s module to v0.23.4

* update crd from v1beta1 to v1

Co-authored-by: jacksontong <jacksontong@tencent.com>
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

Successfully merging a pull request may close this issue.

1 participant