******************************************************************************** conan test cci-079616af\recipes\npcap\all\test_package\conanfile.py npcap/1.70@#92438da8500f8940a33d2bb159fe5de4 -pr C:/J2/w/prod-v1/bsr/22528/abcff/profile_windows_16_md_vs_release_64..txt -c tools.system.package_manager:mode=install -c tools.system.package_manager:sudo=True ******************************************************************************** Auto detecting your dev setup to initialize the default profile (C:\J2\w\prod-v1\bsr\22528\fbdeb\.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:\J2\w\prod-v1\bsr\22528\fbdeb\.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] [build_requires] [env] [conf] tools.system.package_manager:mode=install tools.system.package_manager:sudo=True libpcap/1.10.1: Not found in local cache, looking in remotes... libpcap/1.10.1: Trying with 'conan-center'... Downloading conanmanifest.txt Downloading conanfile.py Downloading conan_export.tgz libpcap/1.10.1: Downloaded recipe revision cf9fd427ff69832343c7819bb5cf44ea npcap/1.70 (test package): Installing package Requirements libpcap/1.10.1 from 'conan-center' - Downloaded npcap/1.70 from local cache - Cache Packages libpcap/1.10.1:127af201a4cdf8111e2e08540525c245c9b3b99e - Download npcap/1.70:ca33edce272a279b24f87dc0d4cf5bbdcffbc187 - Download Installing (downloading, building) binaries... libpcap/1.10.1: Retrieving package 127af201a4cdf8111e2e08540525c245c9b3b99e from remote 'conan-center' Downloading conanmanifest.txt Downloading conaninfo.txt Downloading conan_package.tgz libpcap/1.10.1: Package installed 127af201a4cdf8111e2e08540525c245c9b3b99e libpcap/1.10.1: Downloaded package revision 730c153b9711685b59fb568a96b1c8e6 npcap/1.70: Retrieving package ca33edce272a279b24f87dc0d4cf5bbdcffbc187 from remote 'conan-center' Downloading conanmanifest.txt Downloading conaninfo.txt Downloading conan_package.tgz npcap/1.70: Package installed ca33edce272a279b24f87dc0d4cf5bbdcffbc187 npcap/1.70: Downloaded package revision 5d7e24c41b8cd4537a9d8d1ee9108a0b npcap/1.70 (test package): Generator 'CMakeDeps' calling 'generate()' npcap/1.70 (test package): Generator 'CMakeToolchain' calling 'generate()' npcap/1.70 (test package): Preset 'default' added to CMakePresets.json. Invoke it manually using 'cmake --preset default' npcap/1.70 (test package): If your CMake version is not compatible with CMakePresets (<3.19) call cmake like: 'cmake -G "Visual Studio 16 2019" -DCMAKE_TOOLCHAIN_FILE=C:\J2\w\prod-v1\bsr\cci-079616af\recipes\npcap\all\test_package\build\generators\conan_toolchain.cmake -DCMAKE_POLICY_DEFAULT_CMP0091=NEW' npcap/1.70 (test package): Generator 'VirtualRunEnv' calling 'generate()' npcap/1.70 (test package): Generator txt created conanbuildinfo.txt npcap/1.70 (test package): Aggregating env generators npcap/1.70 (test package): Generated conaninfo.txt npcap/1.70 (test package): Generated graphinfo Using lockfile: 'C:\J2\w\prod-v1\bsr\cci-079616af\recipes\npcap\all\test_package\build\generators/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 npcap/1.70 (test package): Calling build() npcap/1.70 (test package): CMake command: cmake -G "Visual Studio 16 2019" -DCMAKE_TOOLCHAIN_FILE="C:/J2/w/prod-v1/bsr/cci-079616af/recipes/npcap/all/test_package/build/generators/conan_toolchain.cmake" -DCMAKE_POLICY_DEFAULT_CMP0091="NEW" "C:\J2\w\prod-v1\bsr\cci-079616af\recipes\npcap\all\test_package\." ----Running------ > cmake -G "Visual Studio 16 2019" -DCMAKE_TOOLCHAIN_FILE="C:/J2/w/prod-v1/bsr/cci-079616af/recipes/npcap/all/test_package/build/generators/conan_toolchain.cmake" -DCMAKE_POLICY_DEFAULT_CMP0091="NEW" "C:\J2\w\prod-v1\bsr\cci-079616af\recipes\npcap\all\test_package\." ----------------- -- Using Conan toolchain: C:/J2/w/prod-v1/bsr/cci-079616af/recipes/npcap/all/test_package/build/generators/conan_toolchain.cmake -- 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 -- Conan: Target declared 'npcap::npcap' -- Configuring done -- Generating done -- Build files have been written to: C:/J2/w/prod-v1/bsr/cci-079616af/recipes/npcap/all/test_package/build npcap/1.70 (test package): CMake command: cmake --build "C:\J2\w\prod-v1\bsr\cci-079616af\recipes\npcap\all\test_package\build" --config Release ----Running------ > cmake --build "C:\J2\w\prod-v1\bsr\cci-079616af\recipes\npcap\all\test_package\build" --config Release ----------------- Microsoft (R) Build Engine version 16.11.2+f32259642 for .NET Framework Copyright (C) Microsoft Corporation. All rights reserved. Checking Build System Building Custom Rule C:/J2/w/prod-v1/bsr/cci-079616af/recipes/npcap/all/test_package/CMakeLists.txt test_package.c test_package.vcxproj -> C:\J2\w\prod-v1\bsr\cci-079616af\recipes\npcap\all\test_package\build\Release\test_package.exe Building Custom Rule C:/J2/w/prod-v1/bsr/cci-079616af/recipes/npcap/all/test_package/CMakeLists.txt npcap/1.70 (test package): Running test() npcap/1.70 (test package): 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 npcap/1.70 (test package): 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 ERROR: npcap/1.70 (test package): Error in test() method, line 38 files.copy(self, "pcap.dll", src=self.dependencies['libpcap'].cpp_info.bindirs[0], dst=os.path.join(str(self.build_path), bindir)) AttributeError: 'NoneType' object has no attribute 'dependencies' ******************************************************************************** conan test cci-079616af\recipes\npcap\all\test_v1_package\conanfile.py npcap/1.70@#92438da8500f8940a33d2bb159fe5de4 -pr C:/J2/w/prod-v1/bsr/22528/abcff/profile_windows_16_md_vs_release_64..txt -c tools.system.package_manager:mode=install -c tools.system.package_manager:sudo=True ******************************************************************************** Configuration: [settings] arch=x86_64 build_type=Release compiler=Visual Studio compiler.runtime=MD compiler.version=16 os=Windows [options] [build_requires] [env] [conf] tools.system.package_manager:mode=install tools.system.package_manager:sudo=True npcap/1.70 (test package): Installing package Requirements libpcap/1.10.1 from 'conan-center' - Cache npcap/1.70 from local cache - Cache Packages libpcap/1.10.1:127af201a4cdf8111e2e08540525c245c9b3b99e - Cache npcap/1.70:ca33edce272a279b24f87dc0d4cf5bbdcffbc187 - Cache Installing (downloading, building) binaries... libpcap/1.10.1: Already installed! npcap/1.70: Already installed! npcap/1.70 (test package): Generator cmake_find_package_multi created npcap-config-version.cmake npcap/1.70 (test package): Generator cmake_find_package_multi created npcap-config.cmake npcap/1.70 (test package): Generator cmake_find_package_multi created npcapTargets.cmake npcap/1.70 (test package): Generator cmake_find_package_multi created npcapTarget-release.cmake npcap/1.70 (test package): Generator cmake_find_package_multi created libpcap-config-version.cmake npcap/1.70 (test package): Generator cmake_find_package_multi created libpcap-config.cmake npcap/1.70 (test package): Generator cmake_find_package_multi created libpcapTargets.cmake npcap/1.70 (test package): Generator cmake_find_package_multi created libpcapTarget-release.cmake npcap/1.70 (test package): Generator txt created conanbuildinfo.txt npcap/1.70 (test package): Generator cmake created conanbuildinfo.cmake npcap/1.70 (test package): Aggregating env generators npcap/1.70 (test package): Generated conaninfo.txt npcap/1.70 (test package): Generated graphinfo Using lockfile: 'C:\J2\w\prod-v1\bsr\cci-079616af\recipes\npcap\all\test_v1_package\build\57c65d34ea3bf29e3312329e199a16791ec0fc2c/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 npcap/1.70 (test package): Calling build() ----Running------ > cd C:\J2\w\prod-v1\bsr\cci-079616af\recipes\npcap\all\test_v1_package\build\57c65d34ea3bf29e3312329e199a16791ec0fc2c && cmake -G "Visual Studio 16 2019" -A "x64" -DCONAN_LINK_RUNTIME="/MD" -DCONAN_IN_LOCAL_CACHE="OFF" -DCONAN_COMPILER="Visual Studio" -DCONAN_COMPILER_VERSION="16" -DCONAN_CXX_FLAGS="/MP8" -DCONAN_C_FLAGS="/MP8" -DCMAKE_INSTALL_PREFIX="C:\J2\w\prod-v1\bsr\cci-079616af\recipes\npcap\all\test_v1_package\build\57c65d34ea3bf29e3312329e199a16791ec0fc2c\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_PREFIX_PATH="C:/J2/w/prod-v1/bsr/cci-079616af/recipes/npcap/all/test_v1_package/build/57c65d34ea3bf29e3312329e199a16791ec0fc2c" -DCMAKE_MODULE_PATH="C:/J2/w/prod-v1/bsr/cci-079616af/recipes/npcap/all/test_v1_package/build/57c65d34ea3bf29e3312329e199a16791ec0fc2c" -DCMAKE_EXPORT_NO_PACKAGE_REGISTRY="ON" -DCONAN_EXPORTED="1" -Wno-dev C:\J2\w\prod-v1\bsr\cci-079616af\recipes\npcap\all\test_v1_package ----------------- -- 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 -- Conan: called by CMake conan helper -- Conan: Adjusting output directories -- Conan: Using cmake targets configuration -- Library Packet found C:/J2/w/prod-v1/bsr/22528/fbdeb/.conan/data/npcap/1.70/_/_/package/ca33edce272a279b24f87dc0d4cf5bbdcffbc187/lib/Packet.lib -- Library wpcap found C:/J2/w/prod-v1/bsr/22528/fbdeb/.conan/data/npcap/1.70/_/_/package/ca33edce272a279b24f87dc0d4cf5bbdcffbc187/lib/wpcap.lib -- Library pcap found C:/J2/w/prod-v1/bsr/22528/fbdeb/.conan/data/libpcap/1.10.1/_/_/package/127af201a4cdf8111e2e08540525c245c9b3b99e/lib/pcap.lib -- Conan: Adjusting default RPATHs Conan policies -- Conan: Adjusting language standard -- This project seems to be plain C, using 'MSVC' compiler -- Library Packet found C:/J2/w/prod-v1/bsr/22528/fbdeb/.conan/data/npcap/1.70/_/_/package/ca33edce272a279b24f87dc0d4cf5bbdcffbc187/lib/Packet.lib -- Found: C:/J2/w/prod-v1/bsr/22528/fbdeb/.conan/data/npcap/1.70/_/_/package/ca33edce272a279b24f87dc0d4cf5bbdcffbc187/lib/Packet.lib -- Library wpcap found C:/J2/w/prod-v1/bsr/22528/fbdeb/.conan/data/npcap/1.70/_/_/package/ca33edce272a279b24f87dc0d4cf5bbdcffbc187/lib/wpcap.lib -- Found: C:/J2/w/prod-v1/bsr/22528/fbdeb/.conan/data/npcap/1.70/_/_/package/ca33edce272a279b24f87dc0d4cf5bbdcffbc187/lib/wpcap.lib -- Configuring done -- Generating done -- Build files have been written to: C:/J2/w/prod-v1/bsr/cci-079616af/recipes/npcap/all/test_v1_package/build/57c65d34ea3bf29e3312329e199a16791ec0fc2c ----Running------ > cmake --build C:\J2\w\prod-v1\bsr\cci-079616af\recipes\npcap\all\test_v1_package\build\57c65d34ea3bf29e3312329e199a16791ec0fc2c --config Release -- /m:8 /verbosity:minimal ----------------- Microsoft (R) Build Engine version 16.11.2+f32259642 for .NET Framework Copyright (C) Microsoft Corporation. All rights reserved. Checking Build System Building Custom Rule C:/J2/w/prod-v1/bsr/cci-079616af/recipes/npcap/all/test_v1_package/CMakeLists.txt test_package.c test_package.vcxproj -> C:\J2\w\prod-v1\bsr\cci-079616af\recipes\npcap\all\test_v1_package\build\57c65d34ea3bf29e3312329e199a16791ec0fc2c\bin\test_package.exe Building Custom Rule C:/J2/w/prod-v1/bsr/cci-079616af/recipes/npcap/all/test_v1_package/CMakeLists.txt npcap/1.70 (test package): Running test() npcap/1.70 (test package): Copied 1 '.dll' file: pcap.dll ----Running------ > bin\test_package ----------------- libpcap version 1.10.1 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