summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorGregory P. Smith <greg@krypto.org>2023-12-21 07:32:13 (GMT)
committerGitHub <noreply@github.com>2023-12-21 07:32:13 (GMT)
commit103c4ea27464cef8d1793dab347f5ff3629dc243 (patch)
tree4f8d59207ab526a9b247a972ebb97bb17cf94b47 /Misc
parenta2dd0e7038ad65a2464541f91604524d871d98a7 (diff)
downloadcpython-103c4ea27464cef8d1793dab347f5ff3629dc243.zip
cpython-103c4ea27464cef8d1793dab347f5ff3629dc243.tar.gz
cpython-103c4ea27464cef8d1793dab347f5ff3629dc243.tar.bz2
gh-112305: Fix check-clean-src to detect frozen_modules .h files. (#113344)
A typo left this check broken so many of us who do out-of-tree builds were seeing strange failures due to bad `Python/frozen_modules/*.h` files being picked up from the source tree and used at build time from different Python versions leading to errors like: `Fatal Python error: _PyImport_InitCore: failed to initialize importlib` Or similar once our build got to an "invoke the interpreter" bootstrapping step due to incorrect bytecode being embedded.
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS.d/next/Build/2023-12-21-05-35-06.gh-issue-112305.VfqQPx.rst3
1 files changed, 3 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Build/2023-12-21-05-35-06.gh-issue-112305.VfqQPx.rst b/Misc/NEWS.d/next/Build/2023-12-21-05-35-06.gh-issue-112305.VfqQPx.rst
new file mode 100644
index 0000000..2df3207
--- /dev/null
+++ b/Misc/NEWS.d/next/Build/2023-12-21-05-35-06.gh-issue-112305.VfqQPx.rst
@@ -0,0 +1,3 @@
+Fixed the ``check-clean-src`` step performed on out of tree builds to detect
+errant ``$(srcdir)/Python/frozen_modules/*.h`` files and recommend
+appropriate source tree cleanup steps to get a working build again.