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

Makefile REL_OSARCH Paramter is ERROR #2588

Closed
azxs6400949 opened this issue Dec 1, 2022 · 4 comments
Closed

Makefile REL_OSARCH Paramter is ERROR #2588

azxs6400949 opened this issue Dec 1, 2022 · 4 comments
Labels
kind/bug Categorizes issue or PR as related to a bug. lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale.

Comments

@azxs6400949
Copy link

I had make volcano in arm64 computer, but the computer cmd log report:

#16 15.24 CC=cc CGO_ENABLED=0 /go/bin/gox -osarch=linux/arm64 -ldflags " -X 'volcano.sh/volcano/pkg/version.GitSHA=git rev-parse HEAD' -X 'volcano.sh/volcano/pkg/version.Built=date "+%Y-%m-%d %H:%M:%S"' -X 'volcano.sh/volcano/pkg/version.Version=latest'" -output _output/bin/vc-controller-manager ./cmd/controller-manager
#16 35.01 No valid platforms to build for. If you specified a value
#16 35.01 for the 'os', 'arch', or 'osarch' flags, make sure you're
#16 35.01 using a valid value.
#16 35.01 make: *** [Makefile:81: vc-controller-manager] Error 1

I found gox osarch only support -osarch=linux/arm After consulting the relevant information, can not use -osarch=linux/arm64
so I change the makefile REL_OSARCH Paramter linux/arm64 to linux/arm, and last the image is succeed.

maybe you can verify it.

@azxs6400949 azxs6400949 added the kind/bug Categorizes issue or PR as related to a bug. label Dec 1, 2022
@wangyang0616
Copy link
Member

wangyang0616 commented Dec 2, 2022

@azxs6400949 Thank you for your contributions to the volcano community, this is a real problem.

The community will arrange to fix the problem later. We would appreciate it if you could help the community submit a fix PR.

@wangyang0616
Copy link
Member

The gox tool has been removed from the PR #2631.

In theory, the problem has been fixed. If it is convenient, you can use the master branch to try it out.

@stale
Copy link

stale bot commented Apr 25, 2023

Hello 👋 Looks like there was no activity on this issue for last 90 days.
Do you mind updating us on the status? Is this still reproducible or needed? If yes, just comment on this PR or push a commit. Thanks! 🤗
If there will be no activity for 60 days, this issue will be closed (we can always reopen an issue if we need!).

@stale stale bot added the lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. label Apr 25, 2023
@stale
Copy link

stale bot commented Aug 10, 2023

Closing for now as there was no activity for last 60 days after marked as stale, let us know if you need this to be reopened! 🤗

@stale stale bot closed this as completed Aug 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Categorizes issue or PR as related to a bug. lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale.
Projects
None yet
Development

No branches or pull requests

2 participants