Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

Windows x86_64 Python on an ARM host: Builds fail with architecture mismatch

オープン
#776 コメント 19 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
45/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
活発
技術スタック
python
領域
build-system

調査の方向性

Windows ARM64 上で実行されている x86_64 Python で、提示された pip install を再現し、生成された meson-python-native-file.ini と meson.build:8:12 の依存関係チェックを調査します。ホストアーキテクチャと Python 依存関係がどのように検出されるかを追跡します。x86_64 Python がホストアーキテクチャを ARM64 と報告するため、パッケージ構成から拒否されなくなれば完了です。

索引モデルが issue の本文から書いたものです。

説明

blocked enhancement help wanted

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

主要言語
Python
スター
180
フォーク
93
平均マージ
18時間 33分
マージ済み PR(30日)
19

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

mesonbuild/meson-python のほかの issue

mesonbuild/meson-python の issue をすべて見る

似ている issue

Python の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。