******************************************************************************** conan install libpcap/1.10.1@ --build=libpcap --profile=C:\J\w\BuildSingleReference@2/47750/3e02b346-2080-4d03-9d4b-1d8ed3a58f2e/profile.txt ******************************************************************************** Configuration: [settings] arch=x86_64 build_type=Release compiler=Visual Studio compiler.runtime=MT compiler.version=15 os=Windows [options] libpcap:shared=False [build_requires] [env] libpcap/1.10.1: Forced build from source Installing package: libpcap/1.10.1 Requirements libpcap/1.10.1 from local cache - Cache Packages libpcap/1.10.1:7bd6f2c3d5c4e48a75805376b58cde753392f711 - Build Build requirements winflexbison/2.5.24 from 'conan-center' - Cache Build requirements packages winflexbison/2.5.24:7bd6f2c3d5c4e48a75805376b58cde753392f711 - Cache Installing (downloading, building) binaries... winflexbison/2.5.24: Already installed! winflexbison/2.5.24: Appending PATH environment variable: C:\J\w\BuildSingleReference@2\.conan\data\winflexbison\2.5.24\_\_\package\7bd6f2c3d5c4e48a75805376b58cde753392f711\bin winflexbison/2.5.24: Setting LEX environment variable: C:/J/w/BuildSingleReference@2/.conan/data/winflexbison/2.5.24/_/_/package/7bd6f2c3d5c4e48a75805376b58cde753392f711/bin/win_flex winflexbison/2.5.24: Setting YACC environment variable: C:/J/w/BuildSingleReference@2/.conan/data/winflexbison/2.5.24/_/_/package/7bd6f2c3d5c4e48a75805376b58cde753392f711/bin/win_bison -y [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 libpcap/1.10.1: Applying build-requirement: winflexbison/2.5.24 libpcap/1.10.1: Copying sources to build folder libpcap/1.10.1: Building your package in C:\J\w\BuildSingleReference@2\.conan\data\libpcap\1.10.1\_\_\build\7bd6f2c3d5c4e48a75805376b58cde753392f711 libpcap/1.10.1: Generator txt created conanbuildinfo.txt libpcap/1.10.1: 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 libpcap/1.10.1: Calling build() ----Running------ > cd C:\J\w\BuildSingleReference@2\.conan\data\libpcap\1.10.1\_\_\build\7bd6f2c3d5c4e48a75805376b58cde753392f711 && cmake -G "Visual Studio 15 2017 Win64" -DCONAN_LINK_RUNTIME="/MT" -DCONAN_IN_LOCAL_CACHE="ON" -DCONAN_COMPILER="Visual Studio" -DCONAN_COMPILER_VERSION="15" -DCONAN_CXX_FLAGS="/MP16" -DCONAN_C_FLAGS="/MP16" -DBUILD_SHARED_LIBS="OFF" -DCMAKE_INSTALL_PREFIX="C:\J\w\BuildSingleReference@2\.conan\data\libpcap\1.10.1\_\_\package\7bd6f2c3d5c4e48a75805376b58cde753392f711" -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" -Wno-dev C:\J\w\BuildSingleReference@2\.conan\data\libpcap\1.10.1\_\_\build\7bd6f2c3d5c4e48a75805376b58cde753392f711\source_subfolder ----------------- -- The C compiler identification is MSVC 19.16.27035.0 -- The CXX 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 -- Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studio/2017/Community/VC/Tools/MSVC/14.16.27023/bin/Hostx86/x64/cl.exe -- Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studio/2017/Community/VC/Tools/MSVC/14.16.27023/bin/Hostx86/x64/cl.exe -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Detecting CXX compile features -- Detecting CXX compile features - done -- Could NOT find PACKET (missing: PACKET_INCLUDE_DIR PACKET_LIBRARY) -- checking for Npcap's version.h -- Looking for WINPCAP_PRODUCT_NAME -- Looking for WINPCAP_PRODUCT_NAME - not found -- MISSING version.h -- Use STATIC runtime -- Looking for inttypes.h -- Looking for inttypes.h - found -- Looking for stdint.h -- Looking for stdint.h - found -- Looking for unistd.h -- Looking for unistd.h - not found -- Looking for bitypes.h -- Looking for bitypes.h - not found -- Performing Test HAVE___ATOMIC_LOAD_N -- Performing Test HAVE___ATOMIC_LOAD_N - Failed -- Performing Test HAVE___ATOMIC_STORE_N -- Performing Test HAVE___ATOMIC_STORE_N - Failed -- Looking for strerror -- Looking for strerror - found -- Looking for strerror_r -- Looking for strerror_r - not found -- Looking for _wcserror_s -- Looking for _wcserror_s - found -- Looking for vsnprintf -- Looking for vsnprintf - found -- Looking for snprintf -- Looking for snprintf - found -- Looking for strlcpy -- Looking for strlcpy - not found -- Looking for strlcat -- Looking for strlcat - not found -- Looking for asprintf -- Looking for asprintf - not found -- Looking for vasprintf -- Looking for vasprintf - not found -- Looking for strtok_r -- Looking for strtok_r - not found -- Looking for getaddrinfo -- Looking for getaddrinfo - found -- Looking for getnetbyname_r -- Looking for getnetbyname_r - not found -- Looking for getprotobyname_r -- Looking for getprotobyname_r - not found -- Looking for sys/types.h -- Looking for sys/types.h - found -- Looking for stddef.h -- Looking for stddef.h - found -- Check size of struct sockaddr_storage -- Check size of struct sockaddr_storage - done -- Check size of socklen_t -- Check size of socklen_t - failed -- Performing Test HAVE_STRUCT_SOCKADDR_SA_LEN -- Performing Test HAVE_STRUCT_SOCKADDR_SA_LEN - Failed -- Looking for ffs -- Looking for ffs - not found -- Looking for ether_hostton -- Looking for ether_hostton - not found -- Support IPv6 -- Could NOT find OpenSSL, try to set the path to OpenSSL root folder in the system variable OPENSSL_ROOT_DIR (missing: OPENSSL_CRYPTO_LIBRARY OPENSSL_INCLUDE_DIR) -- Packet capture mechanism type: null -- Performing Test PCAP_SUPPORT_NETMAP -- Performing Test PCAP_SUPPORT_NETMAP - Failed -- Executing Finddpdk -- Executing find_path -- Could NOT find dpdk (missing: dpdk_INCLUDE_DIRS) -- Checking for module 'dbus-1' -- No package 'dbus-1' found -- Looking for ibv_get_device_list in ibverbs -- Looking for ibv_get_device_list in ibverbs - not found -- Could NOT find DAG (missing: DAG_INCLUDE_DIR DAG_LIBRARY DAGCONF_LIBRARY) -- Looking for msg.h -- Looking for msg.h - not found -- Could NOT find SNF (missing: SNF_INCLUDE_DIR SNF_LIBRARY) -- Could NOT find AIRPCAP (missing: AIRPCAP_INCLUDE_DIR AIRPCAP_LIBRARY) -- Could NOT find TC (missing: TC_INCLUDE_DIR TC_LIBRARY) -- Performing Test HAVE_STRUCT_MSGHDR_MSG_CONTROL -- Performing Test HAVE_STRUCT_MSGHDR_MSG_CONTROL - Failed -- Performing Test HAVE_STRUCT_MSGHDR_MSG_FLAGS -- Performing Test HAVE_STRUCT_MSGHDR_MSG_FLAGS - Failed -- Checking C compiler flag -wd4646 -- Performing Test wd4646 -- Performing Test wd4646 - Success -- Lexical analyzer generator: C:/J/w/BuildSingleReference@2/.conan/data/winflexbison/2.5.24/_/_/package/7bd6f2c3d5c4e48a75805376b58cde753392f711/bin/win_flex.exe -- Parser generator: C:/J/w/BuildSingleReference@2/.conan/data/winflexbison/2.5.24/_/_/package/7bd6f2c3d5c4e48a75805376b58cde753392f711/bin/win_bison.exe -- Configuring done -- Generating done -- Build files have been written to: C:/J/w/BuildSingleReference@2/.conan/data/libpcap/1.10.1/_/_/build/7bd6f2c3d5c4e48a75805376b58cde753392f711 ----Running------ > cmake --build C:\J\w\BuildSingleReference@2\.conan\data\libpcap\1.10.1\_\_\build\7bd6f2c3d5c4e48a75805376b58cde753392f711 --config Release -- /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 Generating grammar.c, grammar.h Building Custom Rule C:/J/w/BuildSingleReference@2/.conan/data/libpcap/1.10.1/_/_/build/7bd6f2c3d5c4e48a75805376b58cde753392f711/source_subfolder/rpcapd/CMakeLists.txt daemon.c Generating scanner.c, scanner.h fileconf.c Building Custom Rule C:/J/w/BuildSingleReference@2/.conan/data/libpcap/1.10.1/_/_/build/7bd6f2c3d5c4e48a75805376b58cde753392f711/source_subfolder/CMakeLists.txt Building Custom Rule C:/J/w/BuildSingleReference@2/.conan/data/libpcap/1.10.1/_/_/build/7bd6f2c3d5c4e48a75805376b58cde753392f711/source_subfolder/CMakeLists.txt log.c bpf_dump.c rpcapd.c bpf_filter.c rpcap-protocol.c bpf_image.c sockutils.c etherent.c sslutils.c fmtutils.c fmtutils.c win32-svc.c gencode.c charconv.c nametoaddr.c optimize.c getopt.c Generating Code... pcap-common.c LINK : fatal error LNK1181: cannot open input file 'pcap.lib' [C:\J\w\BuildSingleReference@2\.conan\data\libpcap\1.10.1\_\_\build\7bd6f2c3d5c4e48a75805376b58cde753392f711\rpcapd\rpcapd.vcxproj] pcap.c savefile.c sf-pcapng.c sf-pcap.c charconv.c win_asprintf.c pcap-null.c pcap-new.c pcap-rpcap.c rpcap-protocol.c sockutils.c Generating Code... Compiling... sslutils.c grammar.c scanner.c Generating Code... pcap_static.vcxproj -> C:\J\w\BuildSingleReference@2\.conan\data\libpcap\1.10.1\_\_\build\7bd6f2c3d5c4e48a75805376b58cde753392f711\Release\pcap_static.lib Building Custom Rule C:/J/w/BuildSingleReference@2/.conan/data/libpcap/1.10.1/_/_/build/7bd6f2c3d5c4e48a75805376b58cde753392f711/source_subfolder/testprogs/fuzz/CMakeLists.txt Building Custom Rule C:/J/w/BuildSingleReference@2/.conan/data/libpcap/1.10.1/_/_/build/7bd6f2c3d5c4e48a75805376b58cde753392f711/source_subfolder/testprogs/fuzz/CMakeLists.txt Building Custom Rule C:/J/w/BuildSingleReference@2/.conan/data/libpcap/1.10.1/_/_/build/7bd6f2c3d5c4e48a75805376b58cde753392f711/source_subfolder/testprogs/fuzz/CMakeLists.txt onefile.c onefile.c onefile.c fuzz_both.c fuzz_filter.c fuzz_pcap.c Generating Code... Generating Code... Generating Code... fuzz_both.vcxproj -> C:\J\w\BuildSingleReference@2\.conan\data\libpcap\1.10.1\_\_\build\7bd6f2c3d5c4e48a75805376b58cde753392f711\run\Release\fuzz_both.exe fuzz_filter.vcxproj -> C:\J\w\BuildSingleReference@2\.conan\data\libpcap\1.10.1\_\_\build\7bd6f2c3d5c4e48a75805376b58cde753392f711\run\Release\fuzz_filter.exe fuzz_pcap.vcxproj -> C:\J\w\BuildSingleReference@2\.conan\data\libpcap\1.10.1\_\_\build\7bd6f2c3d5c4e48a75805376b58cde753392f711\run\Release\fuzz_pcap.exe libpcap/1.10.1: winflexbison/2.5.24: WARN: Lib folder doesn't exist, can't collect libraries: C:\J\w\BuildSingleReference@2\.conan\data\winflexbison\2.5.24\_\_\package\7bd6f2c3d5c4e48a75805376b58cde753392f711\lib libpcap/1.10.1: WARN: Build folder is dirty, removing it: C:\J\w\BuildSingleReference@2\.conan\data\libpcap\1.10.1\_\_\build\7bd6f2c3d5c4e48a75805376b58cde753392f711 CMake Warning: Manually-specified variables were not used by the project: CMAKE_EXPORT_NO_PACKAGE_REGISTRY CONAN_COMPILER CONAN_COMPILER_VERSION CONAN_CXX_FLAGS CONAN_C_FLAGS CONAN_EXPORTED CONAN_IN_LOCAL_CACHE CONAN_LINK_RUNTIME libpcap/1.10.1: ERROR: Package '7bd6f2c3d5c4e48a75805376b58cde753392f711' build failed libpcap/1.10.1: WARN: Build folder C:\J\w\BuildSingleReference@2\.conan\data\libpcap\1.10.1\_\_\build\7bd6f2c3d5c4e48a75805376b58cde753392f711 ERROR: libpcap/1.10.1: Error in build() method, line 114 cmake.build() ConanException: Error 1 while executing cmake --build C:\J\w\BuildSingleReference@2\.conan\data\libpcap\1.10.1\_\_\build\7bd6f2c3d5c4e48a75805376b58cde753392f711 --config Release -- /m:16 /verbosity:minimal