This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: Windows builds fail: fatal error RC1116: RC terminating after preprocessor errors
Type: compile error Stage: resolved
Components: Build, Windows Versions: Python 3.8
process
Status: closed Resolution: wont fix
Dependencies: Superseder:
Assigned To: Nosy List: eric.snow, eryksun, lukasz.langa, miss-islington, ntrischi, paul.moore, serhiy.storchaka, sobolevn, steve.dower, tim.golden, vstinner, zach.ware
Priority: normal Keywords:

Created on 2022-01-30 14:18 by ntrischi, last changed 2022-04-11 14:59 by admin. This issue is now closed.

Messages (5)
msg412147 - (view) Author: (ntrischi) Date: 2022-01-30 14:18
Compiling Python3.8.9 from source on Windows 10 with VS2019. Running PCBuild\build.bat, I'm getting the following issue:

C:\Program Files (x86)\Windows Kits\10\Include\10.0.22000.0\um\winnt.h(253): error RC2188: C:\Python-3.8.9\PCbuild\obj\38amd64_Release\pythoncore\RCa09752(53) : fatal error RC1116: RC terminating after preprocessor errors [C:\Python-3.8.9\PCbuild\pythoncore.vcxproj]

I noticed this issue (https://bugs.python.org/issue45220) is closed but it doesn't seem to be resolved.
msg412161 - (view) Author: Eryk Sun (eryksun) * (Python triager) Date: 2022-01-30 16:43
PR 29396 and PR 29501 didn't get backported to 3.8 in November. Probably that was intentional since 3.8 only gets security fixes since 3.8.10, which was released in May. Supporting a newer build environment isn't a security issue. A core developer could make an exception for this case, so I'll leave this open for now.
msg412164 - (view) Author: (ntrischi) Date: 2022-01-30 16:56
Thanks for pointing out those PRs. I agree, this is not a security patch but it breaks the compilation process for users choosing to compile from source on Windows.
msg412176 - (view) Author: STINNER Victor (vstinner) * (Python committer) Date: 2022-01-30 22:03
Python 3.8 no longer accept bugfixes, I close this issue.
msg412177 - (view) Author: STINNER Victor (vstinner) * (Python committer) Date: 2022-01-30 22:03
https://devguide.python.org/#status-of-python-branches
History
Date User Action Args
2022-04-11 14:59:55adminsetgithub: 90740
2022-01-30 22:03:54vstinnersetmessages: + msg412177
2022-01-30 22:03:43vstinnersetstatus: open -> closed
resolution: wont fix
messages: + msg412176

stage: resolved
2022-01-30 16:56:31ntrischisetmessages: + msg412164
2022-01-30 16:43:55eryksunsetmessages: + msg412161
components: + Windows
versions: - Python 3.9, Python 3.10, Python 3.11
2022-01-30 14:18:24ntrischicreate