[New-bugs-announce] [issue45978] deepfreeze opaquely fails on Windows when building from Visual Studio

Dennis Sweeney report at bugs.python.org
Sat Dec 4 04:47:09 EST 2021


New submission from Dennis Sweeney <sweeney.dennis650 at gmail.com>:

I'd love to know if there is something I'm doing wrong, but with recent deepfreeze changes, my Visual Studio 2019 setup has been having trouble build things. It seems PCBuild/build.bat works perfectly and all tests pass and everything, but using the GUI in Visual Studio 2019 to build with the "Local Windows Debugger" green play button leads to a build failure. It gives the following output:

Build started...
1>------ Build started: Project: _freeze_module, Configuration: Debug x64 ------
1>_freeze_module.vcxproj -> C:\Users\sween\Source\Repos\temp\cpython\PCbuild\amd64\_freeze_module_d.exe
1>C:\Users\sween\Source\Repos\temp\cpython\PCbuild\_freeze_module.vcxproj(413,5): error MSB3073: The command " "C:\Users\sween\Source\Repos\temp\cpython\Tools\scripts\deepfreeze.py" "C:\Users\sween\Source\Repos\temp\cpython\Python\frozen_modules\importlib._bootstrap.h" "-m" "importlib._bootstrap" -o "C:\Users\sween\Source\Repos\temp\cpython\PCbuild\obj\311amd64_Debug\_freeze_module\importlib._bootstrap.g.h"" exited with code 103.
1>Done building project "_freeze_module.vcxproj" -- FAILED.
========== Build: 0 succeeded, 1 failed, 3 up-to-date, 0 skipped ==========

I wonder if it has something to do with how .py files are set to open? (shouldn't that be made not to matter?)

Attached are my more detailed steps to reproduce the failure.

----------
components: Build, Windows
files: reproducer.txt
messages: 407648
nosy: Dennis Sweeney, paul.moore, steve.dower, tim.golden, zach.ware
priority: normal
severity: normal
status: open
title: deepfreeze opaquely fails on Windows when building from Visual Studio
type: compile error
versions: Python 3.11
Added file: https://bugs.python.org/file50474/reproducer.txt

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue45978>
_______________________________________


More information about the New-bugs-announce mailing list