Windows Build issues (both target and native)
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 5/5
- Tempo stimato
- Più di una settimana
- Idoneità per principianti
- 25/100
- Tipo di issue
- Bug
- Chiarezza
- Da chiarire
- Stato di attività
- Ferma
- Stack tecnologico
- python, zig
- Ambito
- build-system, operating-systems
Direzione di ricerca
Inizia riproducendo la build predefinita su un host Windows e la destinazione x86_64-windows-gnu da Linux, quindi confronta win11build.txt con linuxToWindow.txt. Traccia i fallimenti relativi a freeze_module e openssl prima di restringere i due percorsi di build segnalati. Il lavoro è completato quando entrambe le build, dell’host e della destinazione, vengono completate correttamente.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Windows Build Issues
Windows seems to have issues in terms of both targeting it and building on it as a dev platform. I'll split up the descriptions.
Note: all windows builds were for the gnu abi, so no msvc libc weirdness should be at play.
Windows Issues as a build host
When on windows (which I see is not in the project's CI, that could very much be intentional) when trying to build any target (e.g. even x86_64-linux-musl from a windows host) the build fails when trying to build freeze_module and ssl: win11build.txt. The file is quite large, but I think the important part is around:
Build Summary: 16/54 steps succeeded; 2 failed
install transitive failure
+- install generated/ transitive failure
+- WriteFile lib\python3.12 transitive failure
+- WriteFile cached
+- compile exe python Debug native transitive failure
| +- add module sources/includes to python exe success
| | +- run exe makesetup (gen) cached
| | +- compile exe makesetup Debug native cached 10s MaxRSS:19M
| | +- run exe replace (Setup.bootstrap) cached
| | | +- compile exe replace Debug native cached 10s MaxRSS:19M
| | +- run exe replace (Setup.stdlib) cached
| | +- compile exe replace Debug native (reused)
| +- run exe freeze_module (Python/frozen_modules/getpath.h) transitive failure
| | +- compile exe freeze_module Debug native 15 errors
| | +- add module sources/includes to freeze_module exe success
| | | +- run exe makesetup (gen) cached
| | | +- compile exe makesetup Debug native (reused)
| | | +- run exe replace (Setup.bootstrap) cached
| | | | +- compile exe replace Debug native (reused)
| | | +- run exe replace (Setup.stdlib) cached
| | | +- compile exe replace Debug native (reused)
| | +- run exe makesetup (gen) (+3 more reused dependencies)
| +- run exe freeze_module (Python/frozen_modules/importlib._bootstrap.h) transitive failure
| | +- compile exe freeze_module Debug native (+2 more reused dependencies)
| +- run exe freeze_module (Python/frozen_modules/importlib._bootstrap_external.h) transitive failure
| | +- compile exe freeze_module Debug native (+2 more reused dependencies)
| +- run exe freeze_module (Python/frozen_modules/zipimport.h) transitive failure
| | +- compile exe freeze_module Debug native (+2 more reused dependencies)
| +- run _freeze_module.py for 'Lib/importlib/_bootstrap.py' (frozen_modules/importlib._bootstrap.h) transitive failure
| | +- WriteFile lib\python3.12 transitive failure
| | +- WriteFile cached
| | +- compile exe bootstrap_python Debug native transitive failure
| | | +- add module sources/includes to bootstrap_python exe success
| | | | +- run exe makesetup (gen) (+3 more reused dependencies)
| | | +- run exe freeze_module (Python/frozen_modules/getpath.h) (+1 more reused dependencies)
| | | +- run exe freeze_module (Python/frozen_modules/importlib._bootstrap.h) (+1 more reused dependencies)
| | | +- run exe freeze_module (Python/frozen_modules/importlib._bootstrap_external.h) (+1 more reused dependencies)
| | | +- run exe freeze_module (Python/frozen_modules/zipimport.h) (+1 more reused dependencies)
| | | +- run exe makesetup (gen) (+3 more reused dependencies)
| | +- compile exe bootstrap_python Debug native (+6 more reused dependencies)
| +- run _freeze_module.py for 'Lib/importlib/_bootstrap_external.py' (frozen_modules/importlib._bootstrap_external.h) transitive failure
| | +- WriteFile lib\python3.12 (+3 more reused dependencies)
| +- run _freeze_module.py for 'Lib/zipimport.py' (frozen_modules/zipimport.h) transitive failure
| | +- WriteFile lib\python3.12 (+3 more reused dependencies)
| +- run _freeze_module.py for 'Lib/abc.py' (frozen_modules/abc.h) transitive failure
| | +- WriteFile lib\python3.12 (+3 more reused dependencies)
| +- run _freeze_module.py for 'Lib/codecs.py' (frozen_modules/codecs.h) transitive failure
| | +- WriteFile lib\python3.12 (+3 more reused dependencies)
| +- run _freeze_module.py for 'Lib/io.py' (frozen_modules/io.h) transitive failure
| | +- WriteFile lib\python3.12 (+3 more reused dependencies)
| +- run _freeze_module.py for 'Lib/_collections_abc.py' (frozen_modules/_collections_abc.h) transitive failure
| | +- WriteFile lib\python3.12 (+3 more reused dependencies)
| +- run _freeze_module.py for 'Lib/_sitebuiltins.py' (frozen_modules/_sitebuiltins.h) transitive failure
| | +- WriteFile lib\python3.12 (+3 more reused dependencies)
| +- run _freeze_module.py for 'Lib/genericpath.py' (frozen_modules/genericpath.h) transitive failure
| | +- WriteFile lib\python3.12 (+3 more reused dependencies)
| +- run _freeze_module.py for 'Lib/ntpath.py' (frozen_modules/ntpath.h) transitive failure
| | +- WriteFile lib\python3.12 (+3 more reused dependencies)
| +- run _freeze_module.py for 'Lib/posixpath.py' (frozen_modules/posixpath.h) transitive failure
| | +- WriteFile lib\python3.12 (+3 more reused dependencies)
| +- run _freeze_module.py for 'Lib/os.py' (frozen_modules/os.h) transitive failure
| | +- WriteFile lib\python3.12 (+3 more reused dependencies)
| +- run _freeze_module.py for 'Lib/site.py' (frozen_modules/site.h) transitive failure
| | +- WriteFile lib\python3.12 (+3 more reused dependencies)
| +- run _freeze_module.py for 'Lib/stat.py' (frozen_modules/stat.h) transitive failure
| | +- WriteFile lib\python3.12 (+3 more reused dependencies)
| +- run _freeze_module.py for 'Lib/importlib/util.py' (frozen_modules/importlib.util.h) transitive failure
| | +- WriteFile lib\python3.12 (+3 more reused dependencies)
| +- run _freeze_module.py for 'Lib/importlib/machinery.py' (frozen_modules/importlib.machinery.h) transitive failure
| | +- WriteFile lib\python3.12 (+3 more reused dependencies)
| +- run _freeze_module.py for 'Lib/runpy.py' (frozen_modules/runpy.h) transitive failure
| | +- WriteFile lib\python3.12 (+3 more reused dependencies)
| +- run _freeze_module.py for 'Lib/__hello__.py' (frozen_modules/__hello__.h) transitive failure
| | +- WriteFile lib\python3.12 (+3 more reused dependencies)
| +- run _freeze_module.py for 'Lib/__phello__/__init__.py' (frozen_modules/__phello__.h) transitive failure
| | +- WriteFile lib\python3.12 (+3 more reused dependencies)
| +- run _freeze_module.py for 'Lib/__phello__/ham/__init__.py' (frozen_modules/__phello__.ham.h) transitive failure
| | +- WriteFile lib\python3.12 (+3 more reused dependencies)
| +- run _freeze_module.py for 'Lib/__phello__/ham/eggs.py' (frozen_modules/__phello__.ham.eggs.h) transitive failure
| | +- WriteFile lib\python3.12 (+3 more reused dependencies)
| +- run _freeze_module.py for 'Lib/__phello__/spam.py' (frozen_modules/__phello__.spam.h) transitive failure
| | +- WriteFile lib\python3.12 (+3 more reused dependencies)
| +- run _freeze_module.py for 'Tools/freeze/flag.py' (frozen_modules/frozen_only.h) transitive failure
| | +- WriteFile lib\python3.12 (+3 more reused dependencies)
| +- WriteFile cached
| +- compile lib z Debug native cached 10s MaxRSS:19M
| +- WriteFile cached
| +- compile lib openssl Debug native 134 errors
| +- run exe makesetup (gen) (+3 more reused dependencies)
| +- run deepfreeze.py (deepfreeze.c) transitive failure
| | +- WriteFile lib\python3.12 (+3 more reused dependencies)
| | +- add modules to run deepfreeze.py transitive failure
| | +- freeze transitive failure
| | +- run _freeze_module.py for 'Lib/importlib/_bootstrap.py' (frozen_modules/importlib._bootstrap.h) (+1 more reused
dependencies)
| | +- run _freeze_module.py for 'Lib/importlib/_bootstrap_external.py' (frozen_modules/importlib._bootstrap_external.h) (+1 more
reused dependencies)
| | +- run _freeze_module.py for 'Lib/zipimport.py' (frozen_modules/zipimport.h) (+1 more reused dependencies)
| | +- run _freeze_module.py for 'Lib/abc.py' (frozen_modules/abc.h) (+1 more reused dependencies)
| | +- run _freeze_module.py for 'Lib/codecs.py' (frozen_modules/codecs.h) (+1 more reused dependencies)
| | +- run _freeze_module.py for 'Lib/io.py' (frozen_modules/io.h) (+1 more reused dependencies)
| | +- run _freeze_module.py for 'Lib/_collections_abc.py' (frozen_modules/_collections_abc.h) (+1 more reused dependencies)
| | +- run _freeze_module.py for 'Lib/_sitebuiltins.py' (frozen_modules/_sitebuiltins.h) (+1 more reused dependencies)
| | +- run _freeze_module.py for 'Lib/genericpath.py' (frozen_modules/genericpath.h) (+1 more reused dependencies)
| | +- run _freeze_module.py for 'Lib/ntpath.py' (frozen_modules/ntpath.h) (+1 more reused dependencies)
| | +- run _freeze_module.py for 'Lib/posixpath.py' (frozen_modules/posixpath.h) (+1 more reused dependencies)
| | +- run _freeze_module.py for 'Lib/os.py' (frozen_modules/os.h) (+1 more reused dependencies)
| | +- run _freeze_module.py for 'Lib/site.py' (frozen_modules/site.h) (+1 more reused dependencies)
| | +- run _freeze_module.py for 'Lib/stat.py' (frozen_modules/stat.h) (+1 more reused dependencies)
| | +- run _freeze_module.py for 'Lib/importlib/util.py' (frozen_modules/importlib.util.h) (+1 more reused dependencies)
| | +- run _freeze_module.py for 'Lib/importlib/machinery.py' (frozen_modules/importlib.machinery.h) (+1 more reused dependencies)
| | +- run _freeze_module.py for 'Lib/runpy.py' (frozen_modules/runpy.h) (+1 more reused dependencies)
| | +- run _freeze_module.py for 'Lib/__hello__.py' (frozen_modules/__hello__.h) (+1 more reused dependencies)
| | +- run _freeze_module.py for 'Lib/__phello__/__init__.py' (frozen_modules/__phello__.h) (+1 more reused dependencies)
| | +- run _freeze_module.py for 'Lib/__phello__/ham/__init__.py' (frozen_modules/__phello__.ham.h) (+1 more reused dependencies)
| | +- run _freeze_module.py for 'Lib/__phello__/ham/eggs.py' (frozen_modules/__phello__.ham.eggs.h) (+1 more reused dependencies)
| | +- run _freeze_module.py for 'Lib/__phello__/spam.py' (frozen_modules/__phello__.spam.h) (+1 more reused dependencies)
| | +- run _freeze_module.py for 'Tools/freeze/flag.py' (frozen_modules/frozen_only.h) (+1 more reused dependencies)
| +- compile lib z Debug native (reused)
| +- compile lib openssl Debug native (reused)
+- compile exe python Debug native (+36 more reused dependencies)
Again, this happens when building for any target from a windows machine. I tried the same default build step on my linux box and the same build worked.
Windows target issues
This seems a bit more specific to the targeting of windows regardless of build host. On my linux box, I can build the native target and even macos fine. However, when I target x86_64-windows-gnu, I get build errors that seemingly look a bit different from the last section: linuxToWindow.txt
- Lingua principale
- Zig
- Stelle
- 19
- Fork
- 7
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di allyourcodebase/cpython
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
allyourcodebase/cpython#17 ·
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 35/100
allyourcodebase/cpython#8 · 2 commenti ·
Tutte le issue di allyourcodebase/cpython
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
elastic/gradle-plugins#157 ·
-
Documentation
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
cake-build/cake#5024 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 88/100
web-infra-dev/rspack#15847 ·
-
accepted bug wg/developer-experience-ecosystem
Difficoltà 2/5 1-3 ore Idoneità per principianti 88/100
vllm-project/semantic-router#4062 · 2 commenti ·