******************************************************************************** conan install cpython/2.7.18@ --build=cpython --profile=C:\J\w\BuildSingleReference@4/30749/b2d94a6a-39a3-4638-a32b-24ad168e8e30/profile.txt ******************************************************************************** Configuration: [settings] arch=x86_64 arch_build=x86_64 build_type=Release compiler=Visual Studio compiler.runtime=MD compiler.version=16 os=Windows os_build=Windows [options] cpython:shared=False [build_requires] [env] cpython/2.7.18: Forced build from source Installing package: cpython/2.7.18 Requirements cpython/2.7.18 from local cache - Cache zlib/1.2.11 from 'conan-center' - Cache Packages cpython/2.7.18:8268e71166f79df9bf6483c54d5151d3954b9440 - Build zlib/1.2.11:3fb49604f9c2f729b85ba3115852006824e72cab - Cache Installing (downloading, building) binaries... zlib/1.2.11: Already installed! [HOOK - conan-center.py] post_package_info(): [CMAKE FILE NOT IN BUILD FOLDERS (KB-H019)] OK [HOOK - conan-center.py] post_package_info(): [LIBRARY DOES NOT EXIST (KB-H054)] OK cpython/2.7.18: Copying sources to build folder cpython/2.7.18: Building your package in C:\J\w\BuildSingleReference@4\.conan\data\cpython\2.7.18\_\_\build\8268e71166f79df9bf6483c54d5151d3954b9440 cpython/2.7.18: ***************************************************************** ****************************************************************** 'msbuild' has been deprecated and moved. It will be removed in next Conan release. Use 'MSBuildDeps' method instead. ******************************************************************** ******************************************************************** cpython/2.7.18: Generator 'msbuild' calling 'generate()' *** The 'msbuild' generator is EXPERIMENTAL *** cpython/2.7.18: Generator txt created conanbuildinfo.txt [HOOK - conan-center.py] pre_build(): [FPIC MANAGEMENT (KB-H007)] 'fPIC' option not found [HOOK - conan-center.py] pre_build(): [FPIC MANAGEMENT (KB-H007)] OK cpython/2.7.18: Calling build() cpython/2.7.18: Patching runtime cpython/2.7.18: Building 3 Visual Studio projects: ('pythoncore', 'python', 'pythonw') cpython/2.7.18: [1/3] Building project 'pythoncore'... ********************************************************************** ** Visual Studio 2019 Developer Command Prompt v16.8.1 ** Copyright (c) 2020 Microsoft Corporation ********************************************************************** [vcvarsall.bat] Environment initialized for: 'x64' ----Running------ > devenv "source_subfolder\PCbuild\pythoncore.vcxproj" /upgrade ----------------- Microsoft Visual Studio 2019 Version 16.8.1. Copyright (C) Microsoft Corp. All rights reserved. Upgrading project 'pythoncore'... Configuration 'Debug|Win32': changing Platform Toolset to 'v142' (was 'v90'). Configuration 'Debug|x64': changing Platform Toolset to 'v142' (was 'v90'). Configuration 'Release|Win32': changing Platform Toolset to 'v142' (was 'v90'). Configuration 'Release|x64': changing Platform Toolset to 'v142' (was 'v90'). Configuration 'PGUpdate|x64': changing Platform Toolset to 'v142' (was 'v90'). Configuration 'PGUpdate|Win32': changing Platform Toolset to 'v142' (was 'v90'). Configuration 'PGInstrument|x64': changing Platform Toolset to 'v142' (was 'v90'). Configuration 'PGInstrument|Win32': changing Platform Toolset to 'v142' (was 'v90'). Migration completed successfully, but some warnings were detected during migration. For more information, see the migration report: C:\J\w\BuildSingleReference@4\.conan\data\cpython\2.7.18\_\_\build\8268e71166f79df9bf6483c54d5151d3954b9440\source_subfolder\PCbuild\UpgradeLog.htm cpython/2.7.18: Skipped sln project upgrade ----Running------ > set "VSCMD_START_DIR=%CD%" && call "C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC/Auxiliary/Build/vcvarsall.bat" amd64 && msbuild "source_subfolder\PCbuild\pythoncore.vcxproj" /p:Configuration="Release" /p:UseEnv=true /p:Platform="x64" /m:16 /p:PlatformToolset="v142" /verbosity:minimal /p:ForceImportBeforeCppTargets="C:\J\w\BuildSingleReference@4\.conan\data\cpython\2.7.18\_\_\build\8268e71166f79df9bf6483c54d5151d3954b9440\conan_build.props" /p:IncludeExternals="true" ----------------- ********************************************************************** ** Visual Studio 2019 Developer Command Prompt v16.8.1 ** Copyright (c) 2020 Microsoft Corporation ********************************************************************** [vcvarsall.bat] Environment initialized for: 'x64' Microsoft (R) Build Engine version 16.8.1+bd2ea1e3c for .NET Framework Copyright (C) Microsoft Corporation. All rights reserved. Killing any running python.exe instances... Getting build info from git fatal: not a git repository (or any of the parent directories): .git C:\J\w\BuildSingleReference@4\.conan\data\cpython\2.7.18\_\_\build\8268e71166f79df9bf6483c54d5151d3954b9440\source_subfolder\PCbuild\pythoncore.vcxproj(425,5): warning MSB3073: The command "git name-rev --name-only HEAD > "C:\J\w\BuildSingleReference@4\.conan\data\cpython\2.7.18\_\_\build\8268e71166f79df9bf6483c54d5151d3954b9440\source_subfolder\PCbuild\obj\amd64_Release\pythoncore\gitbranch.txt"" exited with code 128. C:\J\w\BuildSingleReference@4\.conan\data\cpython\2.7.18\_\_\build\8268e71166f79df9bf6483c54d5151d3954b9440\source_subfolder\PCbuild\pythoncore.vcxproj(425,5): warning MSB4181: The "Exec" task returned false but did not log an error. Attempting to cancel the build... C:\J\w\BuildSingleReference@4\.conan\data\cpython\2.7.18\_\_\build\8268e71166f79df9bf6483c54d5151d3954b9440\source_subfolder\PCbuild\pythoncore.vcxproj(426,5): warning MSB5021: Terminating the task executable "cmd" and its child processes because the build was canceled. C:\J\w\BuildSingleReference@4\.conan\data\cpython\2.7.18\_\_\build\8268e71166f79df9bf6483c54d5151d3954b9440\source_subfolder\PCbuild\pythoncore.vcxproj(426,5): warning MSB4181: The "Exec" task returned false but did not log an error. cpython/2.7.18: cpython/2.7.18: WARN: Visual Studio versions 14 and higher were never officially supported by the CPython developers cpython/2.7.18: ERROR: Package '8268e71166f79df9bf6483c54d5151d3954b9440' build failed cpython/2.7.18: WARN: Build folder C:\J\w\BuildSingleReference@4\.conan\data\cpython\2.7.18\_\_\build\8268e71166f79df9bf6483c54d5151d3954b9440 ERROR: cpython/2.7.18: Error in build() method, line 428 self._msvc_build() while calling '_msvc_build', line 407 platforms=self._msvc_archs, properties=msbuild_properties) ConanException: Error 1 while executing set "VSCMD_START_DIR=%CD%" && call "C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC/Auxiliary/Build/vcvarsall.bat" amd64 && msbuild "source_subfolder\PCbuild\pythoncore.vcxproj" /p:Configuration="Release" /p:UseEnv=true /p:Platform="x64" /m:16 /p:PlatformToolset="v142" /verbosity:minimal /p:ForceImportBeforeCppTargets="C:\J\w\BuildSingleReference@4\.conan\data\cpython\2.7.18\_\_\build\8268e71166f79df9bf6483c54d5151d3954b9440\conan_build.props" /p:IncludeExternals="true"