******************************************************************************** conan install libyang/2.1.148@#b9a852f8df9a494a3833eb82ff792cc0 --build=libyang -pr C:/J/workspace/prod-v1/bsr/18494/deedb/profile_windows_16_md_vs_release_64.libyang-shared-False.txt -c tools.system.package_manager:mode=install -c tools.system.package_manager:sudo=True ******************************************************************************** Conan 1 is on a deprecation path, please consider migrating to Conan 2 Auto detecting your dev setup to initialize the default profile (C:\J\workspace\prod-v1\bsr\18494\cfbaf\.conan\profiles\default) Found Visual Studio 17 Default settings os=Windows os_build=Windows arch=x86_64 arch_build=x86_64 compiler=Visual Studio compiler.version=17 build_type=Release *** You can change them in C:\J\workspace\prod-v1\bsr\18494\cfbaf\.conan\profiles\default *** *** Or override with -s compiler='other' -s ...s*** Configuration: [settings] arch=x86_64 build_type=Release compiler=Visual Studio compiler.runtime=MD compiler.version=16 os=Windows [options] libyang:shared=False [build_requires] [env] [conf] tools.system.package_manager:mode=install tools.system.package_manager:sudo=True pcre2/10.42: Not found in local cache, looking in remotes... pcre2/10.42: Trying with 'conan-center'... Downloading conanmanifest.txt Downloading conanfile.py Downloading conan_export.tgz pcre2/10.42: Downloaded recipe revision a7a2c122056510509a7525c83d6a6695 zlib/1.3.1: Not found in local cache, looking in remotes... zlib/1.3.1: Trying with 'conan-center'... Downloading conanmanifest.txt Downloading conanfile.py Downloading conan_export.tgz zlib/1.3.1: Downloaded recipe revision f52e03ae3d251dec704634230cd806a2 bzip2/1.0.8: Not found in local cache, looking in remotes... bzip2/1.0.8: Trying with 'conan-center'... Downloading conanmanifest.txt Downloading conanfile.py Downloading conan_export.tgz bzip2/1.0.8: Downloaded recipe revision 457c272f7da34cb9c67456dd217d36c4 getopt-for-visual-studio/20200201: Not found in local cache, looking in remotes... getopt-for-visual-studio/20200201: Trying with 'conan-center'... Downloading conanmanifest.txt Downloading conanfile.py Downloading conan_export.tgz getopt-for-visual-studio/20200201: Downloaded recipe revision 32ee360e2552fe65ad8bec52edcd64fd dirent/1.24: Not found in local cache, looking in remotes... dirent/1.24: Trying with 'conan-center'... Downloading conanmanifest.txt Downloading conanfile.py Downloading conan_export.tgz dirent/1.24: Downloaded recipe revision 697499506c82b54dd3eb2a764241b3a1 pthreads4w/3.0.0: Not found in local cache, looking in remotes... pthreads4w/3.0.0: Trying with 'conan-center'... Downloading conanmanifest.txt Downloading conanfile.py Downloading conan_export.tgz pthreads4w/3.0.0: Downloaded recipe revision ea8d45b75654f91aa4ab10e871c35454 libyang/2.1.148: Forced build from source cmake/3.29.0: Not found in local cache, looking in remotes... cmake/3.29.0: Trying with 'conan-center'... Downloading conanmanifest.txt Downloading conanfile.py Downloading conan_export.tgz cmake/3.29.0: Downloaded recipe revision a055de871f63a7904aa3dcb9f3c61242 Version ranges solved zlib/* versions found in 'conan-center' remote Version range '>=1.2.11 <2' required by 'pcre2/10.42' resolved to 'zlib/1.3.1' in remote 'conan-center' cmake/* versions found in 'conan-center' remote Version range '>=3.22.0 <4' required by 'libyang/2.1.148' resolved to 'cmake/3.29.0' in remote 'conan-center' Installing package: libyang/2.1.148 Requirements bzip2/1.0.8 from 'conan-center' - Downloaded dirent/1.24 from 'conan-center' - Downloaded getopt-for-visual-studio/20200201 from 'conan-center' - Downloaded libyang/2.1.148 from local cache - Cache pcre2/10.42 from 'conan-center' - Downloaded pthreads4w/3.0.0 from 'conan-center' - Downloaded zlib/1.3.1 from 'conan-center' - Downloaded Packages bzip2/1.0.8:d16a91eadaaf5829b928b12d2f836ff7680d3df5 - Download dirent/1.24:5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9 - Download getopt-for-visual-studio/20200201:5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9 - Download libyang/2.1.148:8463b5718b48d82387ff3e8e33c7c6cd6bb55348 - Build pcre2/10.42:4958b335ae23c49b138435b977645c6c321f9662 - Download pthreads4w/3.0.0:671a50ef335d046615bfef14f33142d9ea0021e2 - Download zlib/1.3.1:3fb49604f9c2f729b85ba3115852006824e72cab - Download Build requirements cmake/3.29.0 from 'conan-center' - Downloaded Build requirements packages cmake/3.29.0:ca33edce272a279b24f87dc0d4cf5bbdcffbc187 - Download Installing (downloading, building) binaries... bzip2/1.0.8: Retrieving package d16a91eadaaf5829b928b12d2f836ff7680d3df5 from remote 'conan-center' Downloading conanmanifest.txt Downloading conaninfo.txt Downloading conan_package.tgz bzip2/1.0.8: Package installed d16a91eadaaf5829b928b12d2f836ff7680d3df5 bzip2/1.0.8: Downloaded package revision d1d441df266a22f26102f14fd6a584a2 cmake/3.29.0: Retrieving package ca33edce272a279b24f87dc0d4cf5bbdcffbc187 from remote 'conan-center' Downloading conanmanifest.txt Downloading conaninfo.txt Downloading conan_package.tgz cmake/3.29.0: Package installed ca33edce272a279b24f87dc0d4cf5bbdcffbc187 cmake/3.29.0: Downloaded package revision b4d59adc8592316c9ffddb0ba55ab736 dirent/1.24: Retrieving package 5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9 from remote 'conan-center' Downloading conanmanifest.txt Downloading conaninfo.txt Downloading conan_package.tgz dirent/1.24: Package installed 5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9 dirent/1.24: Downloaded package revision 5aee603e682a391e1985aeae2164a05e getopt-for-visual-studio/20200201: Retrieving package 5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9 from remote 'conan-center' Downloading conanmanifest.txt Downloading conaninfo.txt Downloading conan_package.tgz getopt-for-visual-studio/20200201: Package installed 5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9 getopt-for-visual-studio/20200201: Downloaded package revision 703a0d4b596e8c9855c380fd8f25a0c4 pthreads4w/3.0.0: Retrieving package 671a50ef335d046615bfef14f33142d9ea0021e2 from remote 'conan-center' Downloading conanmanifest.txt Downloading conaninfo.txt Downloading conan_package.tgz pthreads4w/3.0.0: Package installed 671a50ef335d046615bfef14f33142d9ea0021e2 pthreads4w/3.0.0: Downloaded package revision 35c6385e73656f991d1ab43f60e77747 zlib/1.3.1: Retrieving package 3fb49604f9c2f729b85ba3115852006824e72cab from remote 'conan-center' Downloading conanmanifest.txt Downloading conaninfo.txt Downloading conan_package.tgz zlib/1.3.1: Package installed 3fb49604f9c2f729b85ba3115852006824e72cab zlib/1.3.1: Downloaded package revision 617b01b73bef71ff7d5b888c166883b3 pcre2/10.42: Retrieving package 4958b335ae23c49b138435b977645c6c321f9662 from remote 'conan-center' Downloading conanmanifest.txt Downloading conaninfo.txt Downloading conan_package.tgz pcre2/10.42: Package installed 4958b335ae23c49b138435b977645c6c321f9662 pcre2/10.42: Downloaded package revision 26212e4b375687100db61fda96b168cd cmake/3.29.0: Appending PATH environment variable: C:\J\workspace\prod-v1\bsr\18494\cfbaf\.conan\data\cmake\3.29.0\_\_\package\ca33edce272a279b24f87dc0d4cf5bbdcffbc187\bin pcre2/10.42: Appending PATH environment variable: C:\J\workspace\prod-v1\bsr\18494\cfbaf\.conan\data\pcre2\10.42\_\_\package\4958b335ae23c49b138435b977645c6c321f9662\bin libyang/2.1.148: Applying build-requirement: cmake/3.29.0 [HOOK - conan-center.py] pre_source(): [IMMUTABLE SOURCES (KB-H010)] OK libyang/2.1.148: Configuring sources in C:\J\workspace\prod-v1\bsr\18494\cfbaf\.conan\data\libyang\2.1.148\_\_\source\src libyang/2.1.148: [HOOK - conan-center.py] post_source(): [LIBCXX MANAGEMENT (KB-H011)] OK [HOOK - conan-center.py] post_source(): [CPPSTD MANAGEMENT (KB-H022)] OK [HOOK - conan-center.py] post_source(): [SHORT_PATHS USAGE (KB-H066)] OK libyang/2.1.148: Copying sources to build folder libyang/2.1.148: Building your package in C:\J\workspace\prod-v1\bsr\18494\cfbaf\.conan\data\libyang\2.1.148\_\_\build\8463b5718b48d82387ff3e8e33c7c6cd6bb55348 libyang/2.1.148: Generator txt created conanbuildinfo.txt libyang/2.1.148: Calling generate() libyang/2.1.148: Preset 'default' added to CMakePresets.json. Invoke it manually using 'cmake --preset default' libyang/2.1.148: If your CMake version is not compatible with CMakePresets (<3.19) call cmake like: 'cmake -G "Visual Studio 16 2019" -DCMAKE_TOOLCHAIN_FILE=C:\J\workspace\prod-v1\bsr\18494\cfbaf\.conan\data\libyang\2.1.148\_\_\build\8463b5718b48d82387ff3e8e33c7c6cd6bb55348\build\generators\conan_toolchain.cmake -DCMAKE_POLICY_DEFAULT_CMP0091=NEW' libyang/2.1.148: Aggregating env generators [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 libyang/2.1.148: Calling build() libyang/2.1.148: CMake command: cmake -G "Visual Studio 16 2019" -DCMAKE_TOOLCHAIN_FILE="C:/J/workspace/prod-v1/bsr/18494/cfbaf/.conan/data/libyang/2.1.148/_/_/build/8463b5718b48d82387ff3e8e33c7c6cd6bb55348/build/generators/conan_toolchain.cmake" -DCMAKE_INSTALL_PREFIX="C:/J/workspace/prod-v1/bsr/18494/cfbaf/.conan/data/libyang/2.1.148/_/_/package/8463b5718b48d82387ff3e8e33c7c6cd6bb55348" -DCMAKE_POLICY_DEFAULT_CMP0091="NEW" "C:\J\workspace\prod-v1\bsr\18494\cfbaf\.conan\data\libyang\2.1.148\_\_\build\8463b5718b48d82387ff3e8e33c7c6cd6bb55348\src" ----Running------ > cmake -G "Visual Studio 16 2019" -DCMAKE_TOOLCHAIN_FILE="C:/J/workspace/prod-v1/bsr/18494/cfbaf/.conan/data/libyang/2.1.148/_/_/build/8463b5718b48d82387ff3e8e33c7c6cd6bb55348/build/generators/conan_toolchain.cmake" -DCMAKE_INSTALL_PREFIX="C:/J/workspace/prod-v1/bsr/18494/cfbaf/.conan/data/libyang/2.1.148/_/_/package/8463b5718b48d82387ff3e8e33c7c6cd6bb55348" -DCMAKE_POLICY_DEFAULT_CMP0091="NEW" "C:\J\workspace\prod-v1\bsr\18494\cfbaf\.conan\data\libyang\2.1.148\_\_\build\8463b5718b48d82387ff3e8e33c7c6cd6bb55348\src" ----------------- -- Using Conan toolchain: C:/J/workspace/prod-v1/bsr/18494/cfbaf/.conan/data/libyang/2.1.148/_/_/build/8463b5718b48d82387ff3e8e33c7c6cd6bb55348/build/generators/conan_toolchain.cmake -- Conan toolchain: Setting BUILD_SHARED_LIBS = OFF -- The C compiler identification is MSVC 19.29.30148.0 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.29.30133/bin/Hostx64/x64/cl.exe - skipped -- Detecting C compile features -- Detecting C compile features - done -- Disabling tests for static build -- Could NOT find Uncrustify (missing: UNCRUSTIFY) (Required is at least version "0.77") -- Looking for vdprintf -- Looking for vdprintf - not found -- Looking for asprintf -- Looking for asprintf - not found -- Looking for vasprintf -- Looking for vasprintf - not found -- Looking for getline -- Looking for getline - not found -- Looking for strndup -- Looking for strndup - not found -- Looking for strnstr -- Looking for strnstr - not found -- Looking for strdupa -- Looking for strdupa - not found -- Looking for strchrnul -- Looking for strchrnul - not found -- Looking for get_current_dir_name -- Looking for get_current_dir_name - not found -- Looking for pthread_mutex_timedlock -- Looking for pthread_mutex_timedlock - not found -- Looking for stdatomic.h -- Looking for stdatomic.h - not found -- Looking for realpath -- Looking for realpath - not found -- Looking for localtime_r -- Looking for localtime_r - not found -- Looking for gmtime_r -- Looking for gmtime_r - not found -- Looking for timegm -- Looking for timegm - not found -- Looking for strptime -- Looking for strptime - not found -- Looking for mmap -- Looking for mmap - not found -- Looking for setenv -- Looking for setenv - not found -- Found at C:/J/workspace/prod-v1/bsr/18494/cfbaf/.conan/data/dirent/1.24/_/_/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9/include -- Configuring incomplete, errors occurred! libyang/2.1.148: CMake Error at CMakeLists.txt:386 (find_package): By not providing "Findpthreads.cmake" in CMAKE_MODULE_PATH this project has asked CMake to find a package configuration file provided by "pthreads", but CMake did not find one. Could not find a package configuration file provided by "pthreads" with any of the following names: pthreadsConfig.cmake pthreads-config.cmake Add the installation prefix of "pthreads" to CMAKE_PREFIX_PATH or set "pthreads_DIR" to a directory containing one of the above files. If "pthreads" provides a separate development package or SDK, be sure it has been installed. libyang/2.1.148: WARN: Using the new toolchains and generators without specifying a build profile (e.g: -pr:b=default) is discouraged and might cause failures and unexpected behavior libyang/2.1.148: WARN: Using the new toolchains and generators without specifying a build profile (e.g: -pr:b=default) is discouraged and might cause failures and unexpected behavior libyang/2.1.148: ERROR: Package '8463b5718b48d82387ff3e8e33c7c6cd6bb55348' build failed libyang/2.1.148: WARN: Build folder C:\J\workspace\prod-v1\bsr\18494\cfbaf\.conan\data\libyang\2.1.148\_\_\build\8463b5718b48d82387ff3e8e33c7c6cd6bb55348\build ERROR: libyang/2.1.148: Error in build() method, line 63 cmake.configure() ConanException: Error 1 while executing cmake -G "Visual Studio 16 2019" -DCMAKE_TOOLCHAIN_FILE="C:/J/workspace/prod-v1/bsr/18494/cfbaf/.conan/data/libyang/2.1.148/_/_/build/8463b5718b48d82387ff3e8e33c7c6cd6bb55348/build/generators/conan_toolchain.cmake" -DCMAKE_INSTALL_PREFIX="C:/J/workspace/prod-v1/bsr/18494/cfbaf/.conan/data/libyang/2.1.148/_/_/package/8463b5718b48d82387ff3e8e33c7c6cd6bb55348" -DCMAKE_POLICY_DEFAULT_CMP0091="NEW" "C:\J\workspace\prod-v1\bsr\18494\cfbaf\.conan\data\libyang\2.1.148\_\_\build\8463b5718b48d82387ff3e8e33c7c6cd6bb55348\src"