Windows x86_64 Python on an ARM host: Builds fail with architecture mismatch
Maintainer thường phản hồi trong vòng 1 ngày
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
- 45/100
- Loại issue
- Lỗi
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- python
- Lĩnh vực
- build-system
Hướng nghiên cứu
Tái hiện pip install được cung cấp trên Python x86_64 chạy trên Windows ARM64 và kiểm tra meson-python-native-file.ini được tạo ra cùng với bước kiểm tra dependency tại meson.build:8:12. Theo dõi cách phát hiện kiến trúc host và dependency của Python; hoàn tất khi cấu hình package không còn từ chối Python x86_64 vì nó báo cáo kiến trúc host là ARM64.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Windows on ARM provides a transparent emulation layer that allows users to use unmodified x86_64 programs.
When using an installation of a Windows x86_64 Python on a Windows arm64 machine, building packages that use meson-python fails:
C:\Users\xuluze>pip install passagemath-cmr[test]==10.6.1rc6
Collecting passagemath-cmr==10.6.1rc6 (from passagemath-cmr[test]==10.6.1rc6)
Using cached passagemath_cmr-10.6.1rc6-cp313-cp313-win_amd64.whl.metadata (7.1 kB)
Collecting cysignals!=1.12.0,>=1.11.2 (from passagemath-cmr==10.6.1rc6->passagemath-cmr[test]==10.6.1rc6)
Using cached cysignals-1.12.3.tar.gz (65 kB)
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing metadata (pyproject.toml) ... error
error: subprocess-exited-with-error
× Preparing metadata (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> [22 lines of output]
+ meson setup C:\Users\xuluze\AppData\Local\Temp\pip-install-8y8hwiku\cysignals_ee1fee89382c49e69995d7ea4b014015 C:\Users\xuluze\AppData\Local\Temp\pip-install-8y8hwiku\cysignals_ee1fee89382c49e69995d7ea4b014015\.mesonpy-amed7qwl -Dbuildtype=release -Db_ndebug=if-release -Db_vscrt=md --native-file=C:\Users\xuluze\AppData\Local\Temp\pip-install-8y8hwiku\cysignals_ee1fee89382c49e69995d7ea4b014015\.mesonpy-amed7qwl\meson-python-native-file.ini
The Meson build system
Version: 1.8.2
Source dir: C:\Users\xuluze\AppData\Local\Temp\pip-install-8y8hwiku\cysignals_ee1fee89382c49e69995d7ea4b014015
Build dir: C:\Users\xuluze\AppData\Local\Temp\pip-install-8y8hwiku\cysignals_ee1fee89382c49e69995d7ea4b014015\.mesonpy-amed7qwl
Build type: native build
Project name: cysignals
Project version: undefined
C compiler for the host machine: cl (msvc 19.44.35211 "Microsoft (R) C/C++ Optimizing Compiler Version 19.44.35211 for x64")
C linker for the host machine: link link 14.44.35211.0
C++ compiler for the host machine: cl (msvc 19.44.35211 "Microsoft (R) C/C++ Optimizing Compiler Version 19.44.35211 for x64")
C++ linker for the host machine: link link 14.44.35211.0
Cython compiler for the host machine: cython (cython 3.1.2)
Host machine cpu family: aarch64
Host machine cpu: aarch64
Program python found: YES (C:\Users\xuluze\AppData\Local\Programs\Python\Python313\python.exe)
Need python for aarch64, but found x86_64
Run-time dependency python found: NO (tried sysconfig)
..\meson.build:8:12: ERROR: Python dependency not found
A full log can be found at C:\Users\xuluze\AppData\Local\Temp\pip-install-8y8hwiku\cysignals_ee1fee89382c49e69995d7ea4b014015\.mesonpy-amed7qwl\meson-logs\meson-log.txt
Reported originally by @xuluze in https://github.com/passagemath/passagemath/issues/1242
- Ngôn ngữ chính
- Python
- Star
- 180
- Fork
- 93
- Merge trung bình
- 18 giờ 33 phút
- Pull request đã merge (30 ngày)
- 19
Chuẩn bị môi trường
Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.
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 mesonbuild/meson-python
-
documentation
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 65/100
mesonbuild/meson-python#541 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
documentation
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 65/100
mesonbuild/meson-python#473 · 6 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
documentation enhancement tests
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 45/100
mesonbuild/meson-python#903 · 3 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 52/100
mesonbuild/meson-python#871 · 7 bình luận · 1 reaction ·
Maintainer thường phản hồi trong vòng 1 ngày
-
pip install overrides existing build configurationCó thể đã có người làm @Alvaro-Kothe đã nhận 117 ngày trước. Đang mởquestion
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 68/100
mesonbuild/meson-python#851 · 6 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của mesonbuild/meson-python
Issue tương tự
-
enhancement good first issue
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
-
Update Python support to 3.15Đang mởpython-version
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 88/100
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 62/100
Maintainer thường phản hồi trong vòng 1 ngày
-
bug javascript P2-medium python release:v3.1
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
adrirubio/claude-deck#546 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
area: desktop area: website priority: P2 type: feature
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 62/100
appandflow/stim#3411 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày