******************************************************************************** conan test conan-center-index\recipes\cpython\all\test_package\conanfile.py cpython/3.8.10@ --profile=C:\J\w\BuildSingleReference@5/12037/95a94792-843e-4808-8892-8ee13f97d1f0/profile.txt ******************************************************************************** Configuration: [settings] arch=x86_64 arch_build=x86_64 build_type=Debug compiler=Visual Studio compiler.runtime=MTd compiler.version=15 os=Windows os_build=Windows [options] cpython:shared=False [build_requires] [env] cpython/3.8.10 (test package): Installing package Requirements cpython/3.8.10 from local cache - Cache zlib/1.2.11 from 'conan-center' - Cache Packages cpython/3.8.10:0bd0c413b56aaec57c0f222a89b4e565a6729027 - Cache zlib/1.2.11:963bb116781855de98dbb23aaac41621e5d312d8 - 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/3.8.10: Already installed! cpython/3.8.10: Setting PYTHON environment variable: C:\J\w\BuildSingleReference@5\.conan\data\cpython\3.8.10\_\_\package\0bd0c413b56aaec57c0f222a89b4e565a6729027\bin\python_d.exe cpython/3.8.10: Setting PYTHONHOME environment variable: C:\J\w\BuildSingleReference@5\.conan\data\cpython\3.8.10\_\_\package\0bd0c413b56aaec57c0f222a89b4e565a6729027\bin cpython/3.8.10: Setting PYTHON_ROOT environment variable: C:\J\w\BuildSingleReference@5\.conan\data\cpython\3.8.10\_\_\package\0bd0c413b56aaec57c0f222a89b4e565a6729027 cpython/3.8.10: Appending PATH environment variable: C:\J\w\BuildSingleReference@5\.conan\data\cpython\3.8.10\_\_\package\0bd0c413b56aaec57c0f222a89b4e565a6729027\bin [HOOK - conan-center.py] post_package_info(): [CMAKE FILE NOT IN BUILD FOLDERS (KB-H019)] OK cpython/3.8.10 (test package): Generator txt created conanbuildinfo.txt cpython/3.8.10 (test package): Generator cmake created conanbuildinfo.cmake cpython/3.8.10 (test package): Generated conaninfo.txt cpython/3.8.10 (test package): Generated graphinfo Using lockfile: 'C:\J\w\BuildSingleReference@5\conan-center-index\recipes\cpython\all\test_package\build\a6d7fbc250def1bd4c93a19efe9d4d4ed270663a/conan.lock' Using cached profile from lockfile [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/3.8.10 (test package): Calling build() ----Running------ > cd C:\J\w\BuildSingleReference@5\conan-center-index\recipes\cpython\all\test_package\build\a6d7fbc250def1bd4c93a19efe9d4d4ed270663a && cmake -G "Visual Studio 15 2017 Win64" -DCONAN_LINK_RUNTIME="/MTd" -DCONAN_IN_LOCAL_CACHE="OFF" -DCONAN_COMPILER="Visual Studio" -DCONAN_COMPILER_VERSION="15" -DCONAN_CXX_FLAGS="/MP16" -DCONAN_C_FLAGS="/MP16" -DCMAKE_INSTALL_PREFIX="C:\J\w\BuildSingleReference@5\conan-center-index\recipes\cpython\all\test_package\build\a6d7fbc250def1bd4c93a19efe9d4d4ed270663a\package" -DCMAKE_INSTALL_BINDIR="bin" -DCMAKE_INSTALL_SBINDIR="bin" -DCMAKE_INSTALL_LIBEXECDIR="bin" -DCMAKE_INSTALL_LIBDIR="lib" -DCMAKE_INSTALL_INCLUDEDIR="include" -DCMAKE_INSTALL_OLDINCLUDEDIR="include" -DCMAKE_INSTALL_DATAROOTDIR="share" -DCMAKE_EXPORT_NO_PACKAGE_REGISTRY="ON" -DCONAN_EXPORTED="1" -DBUILD_MODULE="False" -DPY_VERSION_MAJOR="3" -DPY_VERSION_MAJOR_MINOR="3.8" -DPY_FULL_VERSION="3.8.10" -DPY_VERSION="3.8.10" -DPY_VERSION_SUFFIX="d" -DPYTHON_EXECUTABLE="C:\J\w\BuildSingleReference@5\.conan\data\cpython\3.8.10\_\_\package\0bd0c413b56aaec57c0f222a89b4e565a6729027\bin\python_d.exe" -DUSE_FINDPYTHON_X="False" -DPython3_EXECUTABLE="C:\J\w\BuildSingleReference@5\.conan\data\cpython\3.8.10\_\_\package\0bd0c413b56aaec57c0f222a89b4e565a6729027\bin\python_d.exe" -DPython3_ROOT_DIR="C:/J/w/BuildSingleReference@5/.conan/data/cpython/3.8.10/_/_/package/0bd0c413b56aaec57c0f222a89b4e565a6729027" -DPython3_USE_STATIC_LIBS="True" -DPython3_FIND_FRAMEWORK="NEVER" -DPython3_FIND_REGISTRY="NEVER" -DPython3_FIND_IMPLEMENTATIONS="CPython" -DPython3_FIND_STRATEGY="LOCATION" -Wno-dev C:\J\w\BuildSingleReference@5\conan-center-index\recipes\cpython\all\test_package ----------------- -- The C compiler identification is MSVC 19.16.27035.0 -- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio/2017/Community/VC/Tools/MSVC/14.16.27023/bin/Hostx86/x64/cl.exe -- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio/2017/Community/VC/Tools/MSVC/14.16.27023/bin/Hostx86/x64/cl.exe -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Detecting C compile features -- Detecting C compile features - done -- Conan: called by CMake conan helper -- Conan: Adjusting output directories -- Conan: Using cmake global configuration -- Conan: Adjusting default RPATHs Conan policies -- Conan: Adjusting language standard -- This project seems to be plain C, using 'MSVC' compiler -- Found PythonInterp: C:/J/w/BuildSingleReference@5/.conan/data/cpython/3.8.10/_/_/package/0bd0c413b56aaec57c0f222a89b4e565a6729027/bin/python_d.exe (found version "3.8.10") -- Found PythonLibs: optimized;C:/Python36/libs/python36.lib;debug;C:/J/w/BuildSingleReference@5/.conan/data/cpython/3.8.10/_/_/package/0bd0c413b56aaec57c0f222a89b4e565a6729027/bin/libs/python38_d.lib (found version "3.8.10") -- FindPythonInterp: -- PYTHON_VERSION_STRING: 3.8.10 -- PYTHON_VERSION_MAJOR: 3 -- PYTHON_VERSION_MINOR: 8 -- PYTHON_VERSION_PATCH: 10 -- ============================================= -- FindPythonLibs: -- PYTHON_LIBRARIES: optimized;C:/Python36/libs/python36.lib;debug;C:/J/w/BuildSingleReference@5/.conan/data/cpython/3.8.10/_/_/package/0bd0c413b56aaec57c0f222a89b4e565a6729027/bin/libs/python38_d.lib -- PYTHON_INCLUDE_PATH: C:/J/w/BuildSingleReference@5/.conan/data/cpython/3.8.10/_/_/package/0bd0c413b56aaec57c0f222a89b4e565a6729027/bin/include (deprecated) -- PYTHON_INCLUDE_DIRS: C:/J/w/BuildSingleReference@5/.conan/data/cpython/3.8.10/_/_/package/0bd0c413b56aaec57c0f222a89b4e565a6729027/bin/include -- PYTHON_DEBUG_LIBRARIES: C:/J/w/BuildSingleReference@5/.conan/data/cpython/3.8.10/_/_/package/0bd0c413b56aaec57c0f222a89b4e565a6729027/bin/libs/python38_d.lib (deprecated) -- PYTHONLIBS_VERSION_STRING: 3.8.10 -- Configuring done -- Generating done -- Build files have been written to: C:/J/w/BuildSingleReference@5/conan-center-index/recipes/cpython/all/test_package/build/a6d7fbc250def1bd4c93a19efe9d4d4ed270663a ----Running------ > cmake --build C:\J\w\BuildSingleReference@5\conan-center-index\recipes\cpython\all\test_package\build\a6d7fbc250def1bd4c93a19efe9d4d4ed270663a --config Debug -- /m:16 /verbosity:minimal ----------------- Microsoft (R) Build Engine version 15.9.21+g9802d43bc3 for .NET Framework Copyright (C) Microsoft Corporation. All rights reserved. Checking Build System Building Custom Rule C:/J/w/BuildSingleReference@5/conan-center-index/recipes/cpython/all/test_package/CMakeLists.txt test_package.c zlib.lib(adler32.obj) : warning LNK4099: PDB 'zlibstatic.pdb' was not found with 'zlib.lib(adler32.obj)' or at 'C:\J\w\BuildSingleReference@5\conan-center-index\recipes\cpython\all\test_package\build\a6d7fbc250def1bd4c93a19efe9d4d4ed270663a\bin\zlibstatic.pdb'; linking object as if no debug info [C:\J\w\BuildSingleReference@5\conan-center-index\recipes\cpython\all\test_package\build\a6d7fbc250def1bd4c93a19efe9d4d4ed270663a\test_package.vcxproj] zlib.lib(crc32.obj) : warning LNK4099: PDB 'zlibstatic.pdb' was not found with 'zlib.lib(crc32.obj)' or at 'C:\J\w\BuildSingleReference@5\conan-center-index\recipes\cpython\all\test_package\build\a6d7fbc250def1bd4c93a19efe9d4d4ed270663a\bin\zlibstatic.pdb'; linking object as if no debug info [C:\J\w\BuildSingleReference@5\conan-center-index\recipes\cpython\all\test_package\build\a6d7fbc250def1bd4c93a19efe9d4d4ed270663a\test_package.vcxproj] zlib.lib(deflate.obj) : warning LNK4099: PDB 'zlibstatic.pdb' was not found with 'zlib.lib(deflate.obj)' or at 'C:\J\w\BuildSingleReference@5\conan-center-index\recipes\cpython\all\test_package\build\a6d7fbc250def1bd4c93a19efe9d4d4ed270663a\bin\zlibstatic.pdb'; linking object as if no debug info [C:\J\w\BuildSingleReference@5\conan-center-index\recipes\cpython\all\test_package\build\a6d7fbc250def1bd4c93a19efe9d4d4ed270663a\test_package.vcxproj] zlib.lib(inflate.obj) : warning LNK4099: PDB 'zlibstatic.pdb' was not found with 'zlib.lib(inflate.obj)' or at 'C:\J\w\BuildSingleReference@5\conan-center-index\recipes\cpython\all\test_package\build\a6d7fbc250def1bd4c93a19efe9d4d4ed270663a\bin\zlibstatic.pdb'; linking object as if no debug info [C:\J\w\BuildSingleReference@5\conan-center-index\recipes\cpython\all\test_package\build\a6d7fbc250def1bd4c93a19efe9d4d4ed270663a\test_package.vcxproj] zlib.lib(inftrees.obj) : warning LNK4099: PDB 'zlibstatic.pdb' was not found with 'zlib.lib(inftrees.obj)' or at 'C:\J\w\BuildSingleReference@5\conan-center-index\recipes\cpython\all\test_package\build\a6d7fbc250def1bd4c93a19efe9d4d4ed270663a\bin\zlibstatic.pdb'; linking object as if no debug info [C:\J\w\BuildSingleReference@5\conan-center-index\recipes\cpython\all\test_package\build\a6d7fbc250def1bd4c93a19efe9d4d4ed270663a\test_package.vcxproj] zlib.lib(inffast.obj) : warning LNK4099: PDB 'zlibstatic.pdb' was not found with 'zlib.lib(inffast.obj)' or at 'C:\J\w\BuildSingleReference@5\conan-center-index\recipes\cpython\all\test_package\build\a6d7fbc250def1bd4c93a19efe9d4d4ed270663a\bin\zlibstatic.pdb'; linking object as if no debug info [C:\J\w\BuildSingleReference@5\conan-center-index\recipes\cpython\all\test_package\build\a6d7fbc250def1bd4c93a19efe9d4d4ed270663a\test_package.vcxproj] zlib.lib(trees.obj) : warning LNK4099: PDB 'zlibstatic.pdb' was not found with 'zlib.lib(trees.obj)' or at 'C:\J\w\BuildSingleReference@5\conan-center-index\recipes\cpython\all\test_package\build\a6d7fbc250def1bd4c93a19efe9d4d4ed270663a\bin\zlibstatic.pdb'; linking object as if no debug info [C:\J\w\BuildSingleReference@5\conan-center-index\recipes\cpython\all\test_package\build\a6d7fbc250def1bd4c93a19efe9d4d4ed270663a\test_package.vcxproj] zlib.lib(zutil.obj) : warning LNK4099: PDB 'zlibstatic.pdb' was not found with 'zlib.lib(zutil.obj)' or at 'C:\J\w\BuildSingleReference@5\conan-center-index\recipes\cpython\all\test_package\build\a6d7fbc250def1bd4c93a19efe9d4d4ed270663a\bin\zlibstatic.pdb'; linking object as if no debug info [C:\J\w\BuildSingleReference@5\conan-center-index\recipes\cpython\all\test_package\build\a6d7fbc250def1bd4c93a19efe9d4d4ed270663a\test_package.vcxproj] test_package.vcxproj -> C:\J\w\BuildSingleReference@5\conan-center-index\recipes\cpython\all\test_package\build\a6d7fbc250def1bd4c93a19efe9d4d4ed270663a\bin\test_package.exe Building Custom Rule C:/J/w/BuildSingleReference@5/conan-center-index/recipes/cpython/all/test_package/CMakeLists.txt cpython/3.8.10 (test package): Running test() ----Running------ > C:\J\w\BuildSingleReference@5\.conan\data\cpython\3.8.10\_\_\package\0bd0c413b56aaec57c0f222a89b4e565a6729027\bin\python_d.exe -c "print('hello world')" ----------------- hello world cpython/3.8.10 (test package): ----Running------ > C:\J\w\BuildSingleReference@5\.conan\data\cpython\3.8.10\_\_\package\0bd0c413b56aaec57c0f222a89b4e565a6729027\bin\python_d.exe -c "import sys; print('.'.join(str(s) for s in sys.version_info[:3]))" ----------------- 3.8.10 ----Running------ > bin\test_package ----------------- cpython/3.8.10: WARN: Lib folder doesn't exist, can't collect libraries: C:\J\w\BuildSingleReference@5\.conan\data\cpython\3.8.10\_\_\package\0bd0c413b56aaec57c0f222a89b4e565a6729027\lib cpython/3.8.10: WARN: Lib folder doesn't exist, can't collect libraries: C:\J\w\BuildSingleReference@5\.conan\data\cpython\3.8.10\_\_\package\0bd0c413b56aaec57c0f222a89b4e565a6729027\lib cpython/3.8.10: WARN: Lib folder doesn't exist, can't collect libraries: C:\J\w\BuildSingleReference@5\.conan\data\cpython\3.8.10\_\_\package\0bd0c413b56aaec57c0f222a89b4e565a6729027\lib [HOOK - conan-center.py] post_package_info(): ERROR: [LIBRARY DOES NOT EXIST (KB-H054)] Component cpython::embed library "python38_d" not found in libdirs (https://github.com/conan-io/conan-center-index/blob/master/docs/error_knowledge_base.md#KB-H054) cpython/3.8.10: WARN: Lib folder doesn't exist, can't collect libraries: C:\J\w\BuildSingleReference@5\.conan\data\cpython\3.8.10\_\_\package\0bd0c413b56aaec57c0f222a89b4e565a6729027\lib Using Python_ADDITIONAL_VERSIONS: 3.8.10d;3.8d;3d CMake Warning: Manually-specified variables were not used by the project: CMAKE_EXPORT_NO_PACKAGE_REGISTRY CMAKE_INSTALL_BINDIR CMAKE_INSTALL_DATAROOTDIR CMAKE_INSTALL_INCLUDEDIR CMAKE_INSTALL_LIBDIR CMAKE_INSTALL_LIBEXECDIR CMAKE_INSTALL_OLDINCLUDEDIR CMAKE_INSTALL_SBINDIR Python3_EXECUTABLE Python3_FIND_FRAMEWORK Python3_FIND_IMPLEMENTATIONS Python3_FIND_REGISTRY Python3_FIND_STRATEGY Python3_ROOT_DIR Python3_USE_STATIC_LIBS USE_FINDPYTHON_X Python path configuration: PYTHONHOME = (not set) PYTHONPATH = (not set) program name = 'bin\test_package' isolated = 0 environment = 1 user site = 1 import site = 1 sys._base_executable = 'C:\\J\\w\\BuildSingleReference@5\\conan-center-index\\recipes\\cpython\\all\\test_package\\build\\a6d7fbc250def1bd4c93a19efe9d4d4ed270663a\\bin\\test_package.exe' sys.base_prefix = '' sys.base_exec_prefix = '' sys.executable = 'C:\\J\\w\\BuildSingleReference@5\\conan-center-index\\recipes\\cpython\\all\\test_package\\build\\a6d7fbc250def1bd4c93a19efe9d4d4ed270663a\\bin\\test_package.exe' sys.prefix = '' sys.exec_prefix = '' sys.path = [ 'C:\\J\\w\\BuildSingleReference@5\\conan-center-index\\recipes\\cpython\\all\\test_package\\build\\a6d7fbc250def1bd4c93a19efe9d4d4ed270663a\\bin\\test_package.zip', '.\\DLLs', '.\\lib', 'C:\\J\\w\\BuildSingleReference@5\\conan-center-index\\recipes\\cpython\\all\\test_package\\build\\a6d7fbc250def1bd4c93a19efe9d4d4ed270663a\\bin', ] Fatal Python error: init_fs_encoding: failed to get the Python codec of the filesystem encoding Python runtime state: core initialized ModuleNotFoundError: No module named 'encodings' Current thread 0x0000557c (most recent call first): ERROR: cpython/3.8.10 (test package): Error in test() method, line 180 self.run(os.path.join("bin", "test_package"), run_environment=True) ConanException: Error 1 while executing bin\test_package