Error: hyperkit: no bottle available!
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 25/100
- Loại issue
- Lỗi
- Độ rõ ràng
- Cần làm rõ
- Mức độ hoạt động
- Đình trệ
- Công nghệ
- c, macos
- Lĩnh vực
- operating-systems
Hướng nghiên cứu
Bắt đầu bằng cách tái hiện quá trình build mã nguồn Homebrew và kiểm tra src/lib/vmm/intel/vmx_msr.c cùng các mã nguồn liên quan trong src/lib/vmm/intel/vmx xung quanh các lỗi hv_vcpuid_t. So sánh ngữ cảnh của bản build bị lỗi với mã nguồn HyperKit và môi trường macOS; hoàn tất khi bản cài đặt từ mã nguồn được báo cáo build thành công mà không có các lỗi trình biên dịch này.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
While installing hyperkit on mac using brew I am getting this error.
Error: hyperkit: no bottle available!
You can try to install from source with:
brew install --build-from-source hyperkit
Please note building from source is unsupported. You will encounter build
failures with some formulae. If you experience any issues please create pull
requests instead of asking for help on Homebrew's GitHub, Twitter or any other
official channels
So I ran brew install --build-from-source hyperkit and got this error,
==> Downloading https://github.com/Homebrew/homebrew-core/files/6405545/tinycorelinux_8.x.tar.gz
Already downloaded: /Users/satyaki.das/Library/Caches/Homebrew/downloads/840a6f58d851f8ac4dbfee434980e81b172cdb88593b1f5bfacf1fb074f981c5--tinycorelinux_8.x.tar.gz
==> Downloading https://github.com/moby/hyperkit/archive/v0.20200908.tar.gz
Already downloaded: /Users/satyaki.das/Library/Caches/Homebrew/downloads/c64ec9afae5c38df6a44b8ebcc74aeb71804de95b750c81c5c8a4124b4861857--hyperkit-0.20200908.tar.gz
==> opam init --disable-sandboxing --no-setup
==> opam config exec -- opam install -y uri.3.1.0 qcow.0.11.0 conduit.2.1.0 lwt.5.3.0 qcow-tool.0.11.0 mirage
==> opam config exec -- make GIT_VERSION=0.20200908
Last 15 lines from /Users/satyaki.das/Library/Logs/Homebrew/hyperkit/03.opam:
hv_vcpu_enable_native_msr(((hv_vcpuid_t) vcpuid), MSR_CSTAR, 1);
^
src/lib/vmm/intel/vmx_msr.c:215:30: error: use of undeclared identifier 'hv_vcpuid_t'
hv_vcpu_enable_native_msr(((hv_vcpuid_t) vcpuid), MSR_STAR, 1);
^
src/lib/vmm/intel/vmx_msr.c:216:30: error: use of undeclared identifier 'hv_vcpuid_t'
hv_vcpu_enable_native_msr(((hv_vcpuid_t) vcpuid), MSR_SF_MASK, 1);
^
src/lib/vmm/intel/vmx_msr.c:217:30: error: use of undeclared identifier 'hv_vcpuid_t'
hv_vcpu_enable_native_msr(((hv_vcpuid_t) vcpuid), MSR_KGSBASE, 1);
^
20 errors generated.
11 errors generated.
make: *** [build/lib/vmm/intel/vmx.o] Error 1
make: *** [build/lib/vmm/intel/vmx_msr.o] Error 1
READ THIS: https://docs.brew.sh/Troubleshooting
Any idea on why this is happening and how to solve this?
- Ngôn ngữ chính
- C
- Star
- 3.7k
- Fork
- 336
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của moby/hyperkit
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 35/100
-
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 15/100
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 25/100
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 20/100
-
Invalid instructions? Đang mở
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 38/100
Tất cả issue của moby/hyperkit
Issue tương tự
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 92/100
libsdl-org/SDL#16372 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 84/100
corazawaf/coraza-nginx#140 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
BasedHardware/omi#15662 · 1 bình luận ·
-
Độ khó 1/5 1-3 giờ Mức phù hợp với người mới 88/100
jamesstringer90/appsandbox#160 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 84/100