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: Couldn't build Harbor from the source using make install on arm64 arch #60

Open
mohamedawnallah opened this issue Jul 1, 2024 · 2 comments
Labels
help wanted Extra attention is needed

Comments

@mohamedawnallah
Copy link

Problem Report

Expected Behavior and Actual Behavior:

Expected behavior:
Harbor should build successfully from the source using make install on arm64 architecture.

Actual behavior:
Attempting to build Harbor from the source using make install on arm64 architecture results in the following errors:

➜  harbor git:(main) make install

Note: golang version: 1.22.2

Note: docker version: 25.0.3

Note: Docker Compose version v2.24.6-desktop.1
/usr/local/bin/docker run --rm -u 501:20 -v /Users/mohamedawnallah/Desktop/harbor:/Users/mohamedawnallah/Desktop/harbor -w /Users/mohamedawnallah/Desktop/harbor goharbor/spectral:v6.1.0 lint ./api/v2.0/swagger.yaml
rosetta error: failed to open elf at /lib64/ld-linux-x86-64.so.2
 make: *** [lint_apis] Error 133

The build completes successfully on a GitHub Codespace with an ephemeral linux x86_64 machine.

Versions:

Please specify the versions of the following systems:

  • Harbor version: main branch
  • Docker engine version: 25.0.3
  • Docker Compose version: 2.24.6-desktop.1
@Vad1mo
Copy link
Member

Vad1mo commented Jul 3, 2024

fixed by goharbor/harbor#20506

@wy65701436 wy65701436 added the help wanted Extra attention is needed label Jul 8, 2024
@wy65701436
Copy link
Contributor

You can ask arm related questions in the harbor-arm repository. https://github.com/goharbor/harbor-arm/issues

@wy65701436 wy65701436 transferred this issue from goharbor/harbor Jul 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

3 participants