========================================================================== =========== SUCCESSFUL BUILD AND TEST WHEN USING BUILD.BAT ============= ========================================================================== PS C:\Users\sween\Source\Repos> mkdir temp Directory: C:\Users\sween\Source\Repos Mode LastWriteTime Length Name ---- ------------- ------ ---- d----- 2021-12-04 4:04 AM temp PS C:\Users\sween\Source\Repos> cd .\temp\ PS C:\Users\sween\Source\Repos\temp> git clone https://github.com/python/cpython.git Cloning into 'cpython'... remote: Enumerating objects: 866537, done. remote: Counting objects: 100% (1/1), done. remote: Total 866537 (delta 0), reused 1 (delta 0), pack-reused 866536 Receiving objects: 100% (866537/866537), 421.96 MiB | 4.87 MiB/s, done. Resolving deltas: 100% (687420/687420), done. Checking out files: 100% (4565/4565), done. PS C:\Users\sween\Source\Repos\temp> cd .\cpython\ PS C:\Users\sween\Source\Repos\temp\cpython> .\PCbuild\build.bat -d Using py -3.10 (found 3.10 with py.exe) Fetching external libraries... Fetching bzip2-1.0.6... Fetching sqlite-3.36.0.0... Fetching xz-5.2.2... Fetching zlib-1.2.11... Fetching external binaries... Fetching libffi-3.4.2... Fetching openssl-bin-1.1.1l... Fetching tcltk-8.6.12.0... Finished. Using "C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Current\Bin\msbuild.exe" (found in the Visual Studio installation) Using py -3.10 (found 3.10 with py.exe) C:\Users\sween\Source\Repos\temp\cpython>"C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Current\Bin\msbuild.exe" "C:\Users\sween\Source\Repos\temp\cpython\PCbuild\pcbuild.proj" /t:Build /m /nologo /v:m /clp:summary /p:Configuration=Debug /p:Platform=x64 /p:IncludeExternals=true /p:IncludeCTypes=true /p:IncludeSSL=true /p:IncludeTkinter=true /p:UseTestMarker= /p:GIT="C:\Program Files\Git\cmd\git.exe" _freeze_module.c config_minimal.c atexitmodule.c faulthandler.c gcmodule.c getbuildinfo.c getpath_noop.c posixmodule.c signalmodule.c _tracemalloc.c _iomodule.c bufferedio.c bytesio.c fileio.c iobase.c stringio.c textio.c winconsoleio.c abstract.c accu.c Generating Code... Compiling... boolobject.c bytearrayobject.c bytes_methods.c bytesobject.c call.c capsule.c cellobject.c classobject.c codeobject.c complexobject.c descrobject.c dictobject.c enumobject.c exceptions.c fileobject.c floatobject.c frameobject.c funcobject.c genericaliasobject.c genobject.c Generating Code... Compiling... interpreteridobject.c iterobject.c listobject.c longobject.c memoryobject.c methodobject.c moduleobject.c namespaceobject.c object.c obmalloc.c odictobject.c picklebufobject.c rangeobject.c setobject.c sliceobject.c structseq.c tupleobject.c typeobject.c unicodectype.c unicodeobject.c Generating Code... Compiling... unionobject.c weakrefobject.c myreadline.c parser.c peg_api.c pegen.c pegen_errors.c action_helpers.c string_parser.c token.c tokenizer.c invalid_parameter_handler.c msvcrtmodule.c winreg.c _warnings.c asdl.c ast.c ast_opt.c ast_unparse.c bltinmodule.c Generating Code... Compiling... bootstrap_hash.c ceval.c codecs.c compile.c context.c dtoa.c dynamic_annotations.c dynload_win.c errors.c fileutils.c formatter_unicode.c frame.c future.c getargs.c getcompiler.c getcopyright.c getopt.c getplatform.c getversion.c hamt.c Generating Code... Compiling... hashtable.c import.c importdl.c initconfig.c marshal.c modsupport.c mysnprintf.c mystrtoul.c pathconfig.c preconfig.c pyarena.c pyctype.c pyfpe.c pyhash.c pylifecycle.c pymath.c pystate.c pystrcmp.c pystrhex.c pystrtod.c Generating Code... Compiling... Python-ast.c pythonrun.c Python-tokenize.c pytime.c specialize.c structmember.c suggestions.c symtable.c sysmodule.c thread.c traceback.c Generating Code... Creating library C:\Users\sween\Source\Repos\temp\cpython\PCbuild\win32\_freeze_module_d.lib and object C:\Users\sween\Source\Repos\temp\cpython\PCbuild\win32\_freeze_module_d.exp _freeze_module.vcxproj -> C:\Users\sween\Source\Repos\temp\cpython\PCbuild\win32\_freeze_module_d.exe Updated files: importlib._bootstrap.h, importlib._bootstrap_external.h, zipimport.h, abc.h, codecs.h, io.h, _collections_abc.h, _sitebuiltins.h, genericpath.h, ntpath.h, posixpath.h, os.h, site.h, stat.h, __hello__ .h, __phello__.h, __phello__.ham.h, __phello__.ham.eggs.h, __phello__.spam.h, frozen_only.h Updated files: getpath.h Updated files: df.importlib._bootstrap.c, df.importlib._bootstrap_external.c, df.zipimport.c, df.abc.c, df. codecs.c, df.io.c, df._collections_abc.c, df._sitebuiltins.c, df.genericpath.c, df.ntpath.c, df.posixpath.c , df.os.c, df.site.c, df.stat.c, df.__hello__.c, df.__phello__.c, df.__phello__.ham.c, df.__phello__.ham.eg gs.c, df.__phello__.spam.c, df.frozen_only.c Killing any running python_d.exe instances... Regenerate pycore_ast.h pycore_ast_state.h Python-ast.c C:\Users\sween\Source\Repos\temp\cpython\Python\Python-ast.c, C:\Users\sween\Source\Repos\temp\cpython\Incl ude\internal\pycore_ast.h, C:\Users\sween\Source\Repos\temp\cpython\Include\internal\pycore_ast_state.h reg enerated. Regenerate opcode.h opcode_targets.h Include\opcode.h regenerated from Lib\opcode.py Jump table written into Python\opcode_targets.h Regenerate token-list.inc token.h token.c token.py Generated sources are up to date Getting build info from "C:\Program Files\Git\cmd\git.exe" Building heads/main:135ecc3492 main getpath.c _abc.c _bisectmodule.c blake2module.c blake2b_impl.c blake2s_impl.c _codecsmodule.c _collectionsmodule.c _contextvarsmodule.c _csv.c _functoolsmodule.c _heapqmodule.c _json.c _localemodule.c _lsprof.c _pickle.c _randommodule.c sha3module.c _sre.c _stat.c _struct.c Generating Code... Compiling... _weakref.c arraymodule.c atexitmodule.c audioop.c binascii.c cmathmodule.c _datetimemodule.c errnomodule.c faulthandler.c gcmodule.c getbuildinfo.c itertoolsmodule.c main.c mathmodule.c md5module.c mmapmodule.c _opcode.c _operator.c posixmodule.c rotatingtree.c Generating Code... Compiling... sha1module.c sha256module.c sha512module.c signalmodule.c _statisticsmodule.c symtablemodule.c _threadmodule.c _tracemalloc.c _typingmodule.c timemodule.c xxsubtype.c _xxsubinterpretersmodule.c fileio.c bytesio.c stringio.c bufferedio.c iobase.c textio.c winconsoleio.c _iomodule.c Generating Code... Compiling... _codecs_cn.c _codecs_hk.c _codecs_iso2022.c _codecs_jp.c _codecs_kr.c _codecs_tw.c multibytecodec.c _winapi.c abstract.c accu.c boolobject.c bytearrayobject.c bytes_methods.c bytesobject.c call.c capsule.c cellobject.c classobject.c codeobject.c complexobject.c Generating Code... Compiling... descrobject.c dictobject.c enumobject.c exceptions.c fileobject.c floatobject.c frameobject.c funcobject.c genericaliasobject.c genobject.c interpreteridobject.c iterobject.c listobject.c longobject.c memoryobject.c methodobject.c moduleobject.c namespaceobject.c object.c obmalloc.c Generating Code... Compiling... odictobject.c picklebufobject.c rangeobject.c setobject.c sliceobject.c structseq.c tupleobject.c typeobject.c unicodectype.c unicodeobject.c unionobject.c weakrefobject.c myreadline.c tokenizer.c token.c pegen.c pegen_errors.c action_helpers.c parser.c string_parser.c Generating Code... Compiling... peg_api.c invalid_parameter_handler.c winreg.c config.c msvcrtmodule.c pyhash.c _warnings.c asdl.c ast.c ast_opt.c ast_unparse.c bltinmodule.c bootstrap_hash.c ceval.c codecs.c compile.c context.c dynamic_annotations.c dynload_win.c errors.c Generating Code... Compiling... fileutils.c formatter_unicode.c frame.c frozen.c future.c getargs.c getcompiler.c getcopyright.c getopt.c getplatform.c getversion.c hamt.c hashtable.c import.c importdl.c initconfig.c marshal.c modsupport.c mysnprintf.c mystrtoul.c Generating Code... Compiling... pathconfig.c preconfig.c pyarena.c pyctype.c pyfpe.c pylifecycle.c pymath.c pytime.c pystate.c pystrcmp.c pystrhex.c pystrtod.c dtoa.c Python-ast.c Python-tokenize.c pythonrun.c specialize.c suggestions.c structmember.c symtable.c Generating Code... Compiling... sysmodule.c thread.c traceback.c df.importlib._bootstrap.c df.importlib._bootstrap_external.c df.zipimport.c df.abc.c df.codecs.c df.io.c df._collections_abc.c df._sitebuiltins.c df.genericpath.c df.ntpath.c df.posixpath.c df.os.c df.site.c df.stat.c df.__hello__.c df.__phello__.c df.__phello__.ham.c Generating Code... Compiling... df.__phello__.ham.eggs.c df.__phello__.spam.c df.frozen_only.c zlibmodule.c adler32.c compress.c crc32.c deflate.c infback.c inffast.c inflate.c inftrees.c trees.c uncompr.c zutil.c dl_nt.c Generating Code... Creating library C:\Users\sween\Source\Repos\temp\cpython\PCbuild\amd64\python311_d.lib and object C:\Us ers\sween\Source\Repos\temp\cpython\PCbuild\amd64\python311_d.exp pythoncore.vcxproj -> C:\Users\sween\Source\Repos\temp\cpython\PCbuild\amd64\python311_d.dll _ctypes_test.c Creating library C:\Users\sween\Source\Repos\temp\cpython\PCbuild\amd64\_ctypes_test_d.lib and object C: \Users\sween\Source\Repos\temp\cpython\PCbuild\amd64\_ctypes_test_d.exp _ctypes_test.vcxproj -> C:\Users\sween\Source\Repos\temp\cpython\PCbuild\amd64\_ctypes_test_d.pyd _testbuffer.c Creating library C:\Users\sween\Source\Repos\temp\cpython\PCbuild\amd64\_testbuffer_d.lib and object C:\ Users\sween\Source\Repos\temp\cpython\PCbuild\amd64\_testbuffer_d.exp _testbuffer.vcxproj -> C:\Users\sween\Source\Repos\temp\cpython\PCbuild\amd64\_testbuffer_d.pyd _testcapimodule.c Creating library C:\Users\sween\Source\Repos\temp\cpython\PCbuild\amd64\_testcapi_d.lib and object C:\Us ers\sween\Source\Repos\temp\cpython\PCbuild\amd64\_testcapi_d.exp _testcapi.vcxproj -> C:\Users\sween\Source\Repos\temp\cpython\PCbuild\amd64\_testcapi_d.pyd _testinternalcapi.c Creating library C:\Users\sween\Source\Repos\temp\cpython\PCbuild\amd64\_testinternalcapi_d.lib and obje ct C:\Users\sween\Source\Repos\temp\cpython\PCbuild\amd64\_testinternalcapi_d.exp _testinternalcapi.vcxproj -> C:\Users\sween\Source\Repos\temp\cpython\PCbuild\amd64\_testinternalcapi_d.pyd _testembed.c _testembed.vcxproj -> C:\Users\sween\Source\Repos\temp\cpython\PCbuild\amd64\_testembed_d.exe _testimportmultiple.c Creating library C:\Users\sween\Source\Repos\temp\cpython\PCbuild\amd64\_testimportmultiple_d.lib and ob ject C:\Users\sween\Source\Repos\temp\cpython\PCbuild\amd64\_testimportmultiple_d.exp _testimportmultiple.vcxproj -> C:\Users\sween\Source\Repos\temp\cpython\PCbuild\amd64\_testimportmultiple_d .pyd _testmultiphase.c Creating library C:\Users\sween\Source\Repos\temp\cpython\PCbuild\amd64\_testmultiphase_d.lib and object C:\Users\sween\Source\Repos\temp\cpython\PCbuild\amd64\_testmultiphase_d.exp _testmultiphase.vcxproj -> C:\Users\sween\Source\Repos\temp\cpython\PCbuild\amd64\_testmultiphase_d.pyd _testconsole.c Creating library C:\Users\sween\Source\Repos\temp\cpython\PCbuild\amd64\_testconsole_d.lib and object C: \Users\sween\Source\Repos\temp\cpython\PCbuild\amd64\_testconsole_d.exp _testconsole.vcxproj -> C:\Users\sween\Source\Repos\temp\cpython\PCbuild\amd64\_testconsole_d.pyd python3dll.c overlapped.c Creating library C:\Users\sween\Source\Repos\temp\cpython\PCbuild\amd64\python3_d.lib and object C:\User s\sween\Source\Repos\temp\cpython\PCbuild\amd64\python3_d.exp Performing Custom Build Tools launcher.c launcher.c python3dll.vcxproj -> C:\Users\sween\Source\Repos\temp\cpython\PCbuild\amd64\python3_d.dll pyshellext.cpp launcher.c launcher.c Assembling: C:\Users\sween\Source\Repos\temp\cpython\Modules\_decimal\libmpdec\vcdiv64.asm _zoneinfo.c _msi.c _elementtree.c _asynciomodule.c pyexpat.c _decimal.c xmlparse.c _queuemodule.c xmlparse.c multiprocessing.c xmlrole.c xmlrole.c basearith.c Creating library C:\Users\sween\Source\Repos\temp\cpython\PCbuild\amd64\_overlapped_d.lib and object C:\ Users\sween\Source\Repos\temp\cpython\PCbuild\amd64\_overlapped_d.exp semaphore.c xmltok.c constants.c xmltok.c context.c Creating library C:\Users\sween\Source\Repos\temp\cpython\PCbuild\amd64\_queue_d.lib and object C:\Users \sween\Source\Repos\temp\cpython\PCbuild\amd64\_queue_d.exp Creating library C:\Users\sween\Source\Repos\temp\cpython\PCbuild\amd64\_zoneinfo_d.lib and object C:\Us ers\sween\Source\Repos\temp\cpython\PCbuild\amd64\_zoneinfo_d.exp _overlapped.vcxproj -> C:\Users\sween\Source\Repos\temp\cpython\PCbuild\amd64\_overlapped_d.pyd selectmodule.c convolute.c unicodedata.c Creating library C:\Users\sween\Source\Repos\temp\cpython\PCbuild\amd64\_asyncio_d.lib and object C:\Use rs\sween\Source\Repos\temp\cpython\PCbuild\amd64\_asyncio_d.exp Generating Code... Creating library C:\Users\sween\Source\Repos\temp\cpython\PCbuild\amd64\_msi_d.lib and object C:\Users\s ween\Source\Repos\temp\cpython\PCbuild\amd64\_msi_d.exp crt.c Generating Code... _queue.vcxproj -> C:\Users\sween\Source\Repos\temp\cpython\PCbuild\amd64\_queue_d.pyd _zoneinfo.vcxproj -> C:\Users\sween\Source\Repos\temp\cpython\PCbuild\amd64\_zoneinfo_d.pyd Generating Code... difradix2.c fnt.c fourstep.c winsound.c _msi.vcxproj -> C:\Users\sween\Source\Repos\temp\cpython\PCbuild\amd64\_msi_d.pyd io.c _asyncio.vcxproj -> C:\Users\sween\Source\Repos\temp\cpython\PCbuild\amd64\_asyncio_d.pyd _uuidmodule.c Creating library C:\Users\sween\Source\Repos\temp\cpython\PCbuild\amd64\_multiprocessing_d.lib and objec t C:\Users\sween\Source\Repos\temp\cpython\PCbuild\amd64\_multiprocessing_d.exp mpalloc.c _bz2module.c _ctypes.c mpdecimal.c Creating library C:\Users\sween\Source\Repos\temp\cpython\PCbuild\amd64\_elementtree_d.lib and object C: \Users\sween\Source\Repos\temp\cpython\PCbuild\amd64\_elementtree_d.exp tuklib_cpucores.c _multiprocessing.vcxproj -> C:\Users\sween\Source\Repos\temp\cpython\PCbuild\amd64\_multiprocessing_d.pyd numbertheory.c Creating library C:\Users\sween\Source\Repos\temp\cpython\PCbuild\amd64\pyshellext_d.lib and object C:\U sers\sween\Source\Repos\temp\cpython\PCbuild\amd64\pyshellext_d.exp sixstep.c transpose.c pyshellext.vcxproj -> C:\Users\sween\Source\Repos\temp\cpython\PCbuild\amd64\pyshellext_d.dll _elementtree.vcxproj -> C:\Users\sween\Source\Repos\temp\cpython\PCbuild\amd64\_elementtree_d.pyd sqlite3.c Generating Code... blocksort.c venvwlauncher.vcxproj -> C:\Users\sween\Source\Repos\temp\cpython\PCbuild\amd64\venvwlauncher_d.exe venvlauncher.vcxproj -> C:\Users\sween\Source\Repos\temp\cpython\PCbuild\amd64\venvlauncher_d.exe callbacks.c tuklib_physmem.c socketmodule.c _hashopenssl.c Creating library C:\Users\sween\Source\Repos\temp\cpython\PCbuild\amd64\winsound_d.lib and object C:\Use rs\sween\Source\Repos\temp\cpython\PCbuild\amd64\winsound_d.exp Creating library C:\Users\sween\Source\Repos\temp\cpython\PCbuild\amd64\unicodedata_d.lib and object C:\ Users\sween\Source\Repos\temp\cpython\PCbuild\amd64\unicodedata_d.exp winsound.vcxproj -> C:\Users\sween\Source\Repos\temp\cpython\PCbuild\amd64\winsound_d.pyd _tkinter.c Creating library C:\Users\sween\Source\Repos\temp\cpython\PCbuild\amd64\_uuid_d.lib and object C:\Users\ sween\Source\Repos\temp\cpython\PCbuild\amd64\_uuid_d.exp unicodedata.vcxproj -> C:\Users\sween\Source\Repos\temp\cpython\PCbuild\amd64\unicodedata_d.pyd Creating library C:\Users\sween\Source\Repos\temp\cpython\PCbuild\amd64\pyexpat_d.lib and object C:\User s\sween\Source\Repos\temp\cpython\PCbuild\amd64\pyexpat_d.exp pylauncher.vcxproj -> C:\Users\sween\Source\Repos\temp\cpython\PCbuild\amd64\py_d.exe pywlauncher.vcxproj -> C:\Users\sween\Source\Repos\temp\cpython\PCbuild\amd64\pyw_d.exe bzlib.c _uuid.vcxproj -> C:\Users\sween\Source\Repos\temp\cpython\PCbuild\amd64\_uuid_d.pyd pyexpat.vcxproj -> C:\Users\sween\Source\Repos\temp\cpython\PCbuild\amd64\pyexpat_d.pyd check.c callproc.c Creating library C:\Users\sween\Source\Repos\temp\cpython\PCbuild\amd64\_hashlib_d.lib and object C:\Use rs\sween\Source\Repos\temp\cpython\PCbuild\amd64\_hashlib_d.exp Creating library C:\Users\sween\Source\Repos\temp\cpython\PCbuild\amd64\select_d.lib and object C:\Users \sween\Source\Repos\temp\cpython\PCbuild\amd64\select_d.exp _hashlib.vcxproj -> C:\Users\sween\Source\Repos\temp\cpython\PCbuild\amd64\_hashlib_d.pyd Creating library C:\Users\sween\Source\Repos\temp\cpython\PCbuild\amd64\_decimal_d.lib and object C:\Use rs\sween\Source\Repos\temp\cpython\PCbuild\amd64\_decimal_d.exp select.vcxproj -> C:\Users\sween\Source\Repos\temp\cpython\PCbuild\amd64\select_d.pyd crc32_fast.c _decimal.vcxproj -> C:\Users\sween\Source\Repos\temp\cpython\PCbuild\amd64\_decimal_d.pyd compress.c tkappinit.c Generating Code... Creating library C:\Users\sween\Source\Repos\temp\cpython\PCbuild\amd64\_socket_d.lib and object C:\User s\sween\Source\Repos\temp\cpython\PCbuild\amd64\_socket_d.exp crc32_table.c cfield.c _socket.vcxproj -> C:\Users\sween\Source\Repos\temp\cpython\PCbuild\amd64\_socket_d.pyd _ssl.c Creating library C:\Users\sween\Source\Repos\temp\cpython\PCbuild\amd64\_tkinter_d.lib and object C:\Use rs\sween\Source\Repos\temp\cpython\PCbuild\amd64\_tkinter_d.exp crc64_fast.c crctable.c _tkinter.vcxproj -> C:\Users\sween\Source\Repos\temp\cpython\PCbuild\amd64\_tkinter_d.pyd crc64_table.c malloc_closure.c decompress.c Creating library C:\Users\sween\Source\Repos\temp\cpython\PCbuild\amd64\sqlite3_d.lib and object C:\User s\sween\Source\Repos\temp\cpython\PCbuild\amd64\sqlite3_d.exp sha256.c alone_decoder.c sqlite3.vcxproj -> C:\Users\sween\Source\Repos\temp\cpython\PCbuild\amd64\sqlite3_d.dll stgdict.c huffman.c connection.c applink.c alone_encoder.c cursor.c microprotocols.c Creating library C:\Users\sween\Source\Repos\temp\cpython\PCbuild\amd64\_ssl_d.lib and object C:\Users\s ween\Source\Repos\temp\cpython\PCbuild\amd64\_ssl_d.exp auto_decoder.c module.c randtable.c Generating Code... _ssl.vcxproj -> C:\Users\sween\Source\Repos\temp\cpython\PCbuild\amd64\_ssl_d.pyd block_buffer_decoder.c prepare_protocol.c row.c statement.c block_buffer_encoder.c Generating Code... util.c Creating library C:\Users\sween\Source\Repos\temp\cpython\PCbuild\amd64\_ctypes_d.lib and object C:\User s\sween\Source\Repos\temp\cpython\PCbuild\amd64\_ctypes_d.exp Generating Code... block_decoder.c _ctypes.vcxproj -> C:\Users\sween\Source\Repos\temp\cpython\PCbuild\amd64\_ctypes_d.pyd block_encoder.c Creating library C:\Users\sween\Source\Repos\temp\cpython\PCbuild\amd64\_bz2_d.lib and object C:\Users\s ween\Source\Repos\temp\cpython\PCbuild\amd64\_bz2_d.exp Creating library C:\Users\sween\Source\Repos\temp\cpython\PCbuild\amd64\_sqlite3_d.lib and object C:\Use rs\sween\Source\Repos\temp\cpython\PCbuild\amd64\_sqlite3_d.exp _bz2.vcxproj -> C:\Users\sween\Source\Repos\temp\cpython\PCbuild\amd64\_bz2_d.pyd block_header_decoder.c _sqlite3.vcxproj -> C:\Users\sween\Source\Repos\temp\cpython\PCbuild\amd64\_sqlite3_d.pyd block_header_encoder.c block_util.c common.c easy_buffer_encoder.c Generating Code... Compiling... easy_decoder_memusage.c easy_encoder.c easy_encoder_memusage.c easy_preset.c filter_buffer_decoder.c filter_buffer_encoder.c filter_common.c filter_decoder.c filter_encoder.c filter_flags_decoder.c filter_flags_encoder.c hardware_cputhreads.c hardware_physmem.c index.c index_decoder.c index_encoder.c index_hash.c outqueue.c stream_buffer_decoder.c stream_buffer_encoder.c Generating Code... Compiling... stream_decoder.c stream_encoder.c stream_encoder_mt.c stream_flags_common.c stream_flags_decoder.c stream_flags_encoder.c vli_decoder.c vli_encoder.c vli_size.c delta_common.c delta_decoder.c delta_encoder.c fastpos_table.c lzma2_decoder.c lzma2_encoder.c lzma_decoder.c lzma_encoder.c lzma_encoder_optimum_fast.c lzma_encoder_optimum_normal.c lzma_encoder_presets.c Generating Code... Compiling... lz_decoder.c lz_encoder.c lz_encoder_mf.c price_table.c arm.c armthumb.c ia64.c powerpc.c simple_coder.c simple_decoder.c simple_encoder.c sparc.c x86.c Generating Code... liblzma.vcxproj -> C:\Users\sween\Source\Repos\temp\cpython\PCbuild\amd64\liblzma_d.lib _lzmamodule.c Creating library C:\Users\sween\Source\Repos\temp\cpython\PCbuild\amd64\_lzma_d.lib and object C:\Users\ sween\Source\Repos\temp\cpython\PCbuild\amd64\_lzma_d.exp _lzma.vcxproj -> C:\Users\sween\Source\Repos\temp\cpython\PCbuild\amd64\_lzma_d.pyd python.c python.vcxproj -> C:\Users\sween\Source\Repos\temp\cpython\PCbuild\amd64\python_d.exe C:\WINDOWS\SYSTEM32\ucrtbased.dll is version 10.0.19041.685 Regenerate test_frozenmain.h Programs\test_frozenmain.h written Wrote C:\Users\sween\Source\Repos\temp\cpython\PCbuild\amd64\LICENSE.txt WinMain.c pythonw.vcxproj -> C:\Users\sween\Source\Repos\temp\cpython\PCbuild\amd64\pythonw_d.exe Build succeeded. 0 Warning(s) 0 Error(s) Time Elapsed 00:02:05.99 PS C:\Users\sween\Source\Repos\temp\cpython> .\python.bat -m test -j0 Running Debug|x64 interpreter... == CPython 3.11.0a2+ (main, Dec 4 2021, 04:08:55) [MSC v.1929 64 bit (AMD64)] == Windows-10-10.0.19042-SP0 little-endian == cwd: C:\Users\sween\Source\Repos\temp\cpython\build\test_python_25268æ == CPU count: 12 == encodings: locale=cp1252, FS=utf-8 0:00:00 Run tests in parallel using 14 child processes ... OMITTED TEST OUTPUT ... == Tests result: SUCCESS == 388 tests OK. 40 tests skipped: test_curses test_dbm_gnu test_dbm_ndbm test_devpoll test_epoll test_fcntl test_fork1 test_gdb test_grp test_ioctl test_kqueue test_multiprocessing_fork test_multiprocessing_forkserver test_nis test_openpty test_ossaudiodev test_pipes test_poll test_posix test_pty test_pwd test_readline test_resource test_smtpnet test_socketserver test_spwd test_syslog test_threadsignals test_tix test_tk test_ttk_guionly test_urllib2net test_urllibnet test_wait3 test_wait4 test_winsound test_xmlrpc_net test_xxlimited test_xxtestfuzz test_zipfile64 Total duration: 5 min 16 sec Tests result: SUCCESS PS C:\Users\sween\Source\Repos\temp\cpython> ============================================================ ============ FAILED BUILD USING VISUAL STUDIO ============ ============================================================ * Even after the above build.bat method suceeds. * Open Visual Studio 2019, get spash screen. * Choose "Open project or solution" * Choose C:\Users\sween\Source\Repos\temp\cpython\PCbuild\pcbuild.sln * solution configuration drop-downs default to (Debug, win32). Change to (Debug, x64). * Click the "Local Windows Debugger" button with the green play button * There's a pop-up notification: "There were build errors: would you like to continue and run the last successful build?" (I click no) * Debug window output: Build started... 1>------ Build started: Project: _freeze_module, Configuration: Debug x64 ------ 1>_freeze_module.c 1>config_minimal.c 1>atexitmodule.c 1>faulthandler.c 1>gcmodule.c 1>getbuildinfo.c 1>getpath_noop.c 1>posixmodule.c 1>signalmodule.c 1>_tracemalloc.c 1>_iomodule.c 1>bufferedio.c 1>bytesio.c 1>fileio.c 1>iobase.c 1>stringio.c 1>textio.c 1>winconsoleio.c 1>abstract.c 1>accu.c 1>Generating Code... 1>Compiling... 1>boolobject.c 1>bytearrayobject.c 1>bytes_methods.c 1>bytesobject.c 1>call.c 1>capsule.c 1>cellobject.c 1>classobject.c 1>codeobject.c 1>complexobject.c 1>descrobject.c 1>dictobject.c 1>enumobject.c 1>exceptions.c 1>fileobject.c 1>floatobject.c 1>frameobject.c 1>funcobject.c 1>genericaliasobject.c 1>genobject.c 1>Generating Code... 1>Compiling... 1>interpreteridobject.c 1>iterobject.c 1>listobject.c 1>longobject.c 1>memoryobject.c 1>methodobject.c 1>moduleobject.c 1>namespaceobject.c 1>object.c 1>obmalloc.c 1>odictobject.c 1>picklebufobject.c 1>rangeobject.c 1>setobject.c 1>sliceobject.c 1>structseq.c 1>tupleobject.c 1>typeobject.c 1>unicodectype.c 1>unicodeobject.c 1>Generating Code... 1>Compiling... 1>unionobject.c 1>weakrefobject.c 1>myreadline.c 1>parser.c 1>peg_api.c 1>pegen.c 1>pegen_errors.c 1>action_helpers.c 1>string_parser.c 1>token.c 1>tokenizer.c 1>invalid_parameter_handler.c 1>msvcrtmodule.c 1>winreg.c 1>_warnings.c 1>asdl.c 1>ast.c 1>ast_opt.c 1>ast_unparse.c 1>bltinmodule.c 1>Generating Code... 1>Compiling... 1>bootstrap_hash.c 1>ceval.c 1>codecs.c 1>compile.c 1>context.c 1>dtoa.c 1>dynamic_annotations.c 1>dynload_win.c 1>errors.c 1>fileutils.c 1>formatter_unicode.c 1>frame.c 1>future.c 1>getargs.c 1>getcompiler.c 1>getcopyright.c 1>getopt.c 1>getplatform.c 1>getversion.c 1>hamt.c 1>Generating Code... 1>Compiling... 1>hashtable.c 1>import.c 1>importdl.c 1>initconfig.c 1>marshal.c 1>modsupport.c 1>mysnprintf.c 1>mystrtoul.c 1>pathconfig.c 1>preconfig.c 1>pyarena.c 1>pyctype.c 1>pyfpe.c 1>pyhash.c 1>pylifecycle.c 1>pymath.c 1>pystate.c 1>pystrcmp.c 1>pystrhex.c 1>pystrtod.c 1>Generating Code... 1>Compiling... 1>Python-ast.c 1>pythonrun.c 1>Python-tokenize.c 1>pytime.c 1>specialize.c 1>structmember.c 1>suggestions.c 1>symtable.c 1>sysmodule.c 1>thread.c 1>traceback.c 1>Generating Code... 1> Creating library C:\Users\sween\Source\Repos\temp\cpython\PCbuild\amd64\_freeze_module_d.lib and object C:\Users\sween\Source\Repos\temp\cpython\PCbuild\amd64\_freeze_module_d.exp 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 ========== * Hit "Local Windows Debugger" again, now just get: 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 ==========