From: Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> Date: Tue, 7 Oct 2025 18:35:38 +0000 (+0200) Subject: [3.14] gh-138489: Add missing `build-details.json` step for building wasm (GH-139302... X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=77b4ed2a37f460af435df07fe25a888d8d61710e;p=thirdparty%2FPython%2Fcpython.git [3.14] gh-138489: Add missing `build-details.json` step for building wasm (GH-139302) (GH-139557) (cherry picked from commit db53ca30d761abba525bc8e47b16920b1fc43a83) Signed-off-by: Ho Kim Co-authored-by: Ho Kim Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com> --- diff --git a/Makefile.pre.in b/Makefile.pre.in index ca536d32a611..34a270ab3116 100644 --- a/Makefile.pre.in +++ b/Makefile.pre.in @@ -801,7 +801,7 @@ build_all: check-clean-src check-app-store-compliance $(BUILDPYTHON) platform sh .PHONY: build_wasm build_wasm: check-clean-src $(BUILDPYTHON) platform sharedmods \ - python-config checksharedmods + python-config checksharedmods build-details.json .PHONY: build_emscripten build_emscripten: build_wasm web_example web_example_pyrepl_jspi diff --git a/Misc/NEWS.d/next/Build/2025-09-24-13-59-26.gh-issue-138489.1AcuZM.rst b/Misc/NEWS.d/next/Build/2025-09-24-13-59-26.gh-issue-138489.1AcuZM.rst new file mode 100644 index 000000000000..b11098a3f879 --- /dev/null +++ b/Misc/NEWS.d/next/Build/2025-09-24-13-59-26.gh-issue-138489.1AcuZM.rst @@ -0,0 +1,6 @@ +When cross-compiling for WASI by ``build_wasm`` or ``build_emscripten``, the +``build-details.json`` step is now included in the build process, just like +with native builds. + +This fixes the ``libinstall`` task which requires the ``build-details.json`` +file during the process.