******************************************************************************** conan install libyang/2.1.148@#e4053ee9b43fa45d9c16c3754c6779b5 --build=libyang -pr C:/J/workspace/prod-v1/bsr/18457/abecd/profile_windows_16_mdd_vs_debug_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\18457\edecd\.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\18457\edecd\.conan\profiles\default *** *** Or override with -s compiler='other' -s ...s*** Configuration: [settings] arch=x86_64 build_type=Debug compiler=Visual Studio compiler.runtime=MDd 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 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 libyang/2.1.148 from local cache - Cache pcre2/10.42 from 'conan-center' - Downloaded zlib/1.3.1 from 'conan-center' - Downloaded Packages bzip2/1.0.8:589a23dff5fdb23a7fb851223eb766480ead0a9a - Download libyang/2.1.148:958ed74098f43af3ce3bf4e6af6ed21ea4393b52 - Build pcre2/10.42:2e8119dcddebbc9d5753b8e12f06b903b0f1ae93 - Download zlib/1.3.1:d057732059ea44a47760900cb5e4855d2bea8714 - 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 589a23dff5fdb23a7fb851223eb766480ead0a9a from remote 'conan-center' Downloading conanmanifest.txt Downloading conaninfo.txt Downloading conan_package.tgz bzip2/1.0.8: Package installed 589a23dff5fdb23a7fb851223eb766480ead0a9a bzip2/1.0.8: Downloaded package revision 4c5b172b366a1fefab88c7860644f325 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 zlib/1.3.1: Retrieving package d057732059ea44a47760900cb5e4855d2bea8714 from remote 'conan-center' Downloading conanmanifest.txt Downloading conaninfo.txt Downloading conan_package.tgz zlib/1.3.1: Package installed d057732059ea44a47760900cb5e4855d2bea8714 zlib/1.3.1: Downloaded package revision 616cf5f544a7da8d1c0a37f19cd7b135 pcre2/10.42: Retrieving package 2e8119dcddebbc9d5753b8e12f06b903b0f1ae93 from remote 'conan-center' Downloading conanmanifest.txt Downloading conaninfo.txt Downloading conan_package.tgz pcre2/10.42: Package installed 2e8119dcddebbc9d5753b8e12f06b903b0f1ae93 pcre2/10.42: Downloaded package revision 670f954667a6b15950c11a9ebc1a2a49 cmake/3.29.0: Appending PATH environment variable: C:\J\workspace\prod-v1\bsr\18457\edecd\.conan\data\cmake\3.29.0\_\_\package\ca33edce272a279b24f87dc0d4cf5bbdcffbc187\bin pcre2/10.42: Appending PATH environment variable: C:\J\workspace\prod-v1\bsr\18457\edecd\.conan\data\pcre2\10.42\_\_\package\2e8119dcddebbc9d5753b8e12f06b903b0f1ae93\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\18457\edecd\.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\18457\edecd\.conan\data\libyang\2.1.148\_\_\build\958ed74098f43af3ce3bf4e6af6ed21ea4393b52 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\18457\edecd\.conan\data\libyang\2.1.148\_\_\build\958ed74098f43af3ce3bf4e6af6ed21ea4393b52\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/18457/edecd/.conan/data/libyang/2.1.148/_/_/build/958ed74098f43af3ce3bf4e6af6ed21ea4393b52/build/generators/conan_toolchain.cmake" -DCMAKE_INSTALL_PREFIX="C:/J/workspace/prod-v1/bsr/18457/edecd/.conan/data/libyang/2.1.148/_/_/package/958ed74098f43af3ce3bf4e6af6ed21ea4393b52" -DCMAKE_POLICY_DEFAULT_CMP0091="NEW" "C:\J\workspace\prod-v1\bsr\18457\edecd\.conan\data\libyang\2.1.148\_\_\build\958ed74098f43af3ce3bf4e6af6ed21ea4393b52\src" ----Running------ > cmake -G "Visual Studio 16 2019" -DCMAKE_TOOLCHAIN_FILE="C:/J/workspace/prod-v1/bsr/18457/edecd/.conan/data/libyang/2.1.148/_/_/build/958ed74098f43af3ce3bf4e6af6ed21ea4393b52/build/generators/conan_toolchain.cmake" -DCMAKE_INSTALL_PREFIX="C:/J/workspace/prod-v1/bsr/18457/edecd/.conan/data/libyang/2.1.148/_/_/package/958ed74098f43af3ce3bf4e6af6ed21ea4393b52" -DCMAKE_POLICY_DEFAULT_CMP0091="NEW" "C:\J\workspace\prod-v1\bsr\18457\edecd\.conan\data\libyang\2.1.148\_\_\build\958ed74098f43af3ce3bf4e6af6ed21ea4393b52\src" ----------------- -- Using Conan toolchain: C:/J/workspace/prod-v1/bsr/18457/edecd/.conan/data/libyang/2.1.148/_/_/build/958ed74098f43af3ce3bf4e6af6ed21ea4393b52/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 -- Configuring incomplete, errors occurred! libyang/2.1.148: CMake Error at CMakeLists.txt:373 (find_path): Could not find DIRENT_INCLUDE_DIR using the following files: dirent.h 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 '958ed74098f43af3ce3bf4e6af6ed21ea4393b52' build failed libyang/2.1.148: WARN: Build folder C:\J\workspace\prod-v1\bsr\18457\edecd\.conan\data\libyang\2.1.148\_\_\build\958ed74098f43af3ce3bf4e6af6ed21ea4393b52\build ERROR: libyang/2.1.148: Error in build() method, line 58 cmake.configure() ConanException: Error 1 while executing cmake -G "Visual Studio 16 2019" -DCMAKE_TOOLCHAIN_FILE="C:/J/workspace/prod-v1/bsr/18457/edecd/.conan/data/libyang/2.1.148/_/_/build/958ed74098f43af3ce3bf4e6af6ed21ea4393b52/build/generators/conan_toolchain.cmake" -DCMAKE_INSTALL_PREFIX="C:/J/workspace/prod-v1/bsr/18457/edecd/.conan/data/libyang/2.1.148/_/_/package/958ed74098f43af3ce3bf4e6af6ed21ea4393b52" -DCMAKE_POLICY_DEFAULT_CMP0091="NEW" "C:\J\workspace\prod-v1\bsr\18457\edecd\.conan\data\libyang\2.1.148\_\_\build\958ed74098f43af3ce3bf4e6af6ed21ea4393b52\src"