******************************************************************************** conan test conan-center-index/recipes/libpcap/all/test_package/conanfile.py libpcap/1.10.0@ --profile:host=/Users/jenkins/w/BuildSingleReference@3/24656/c4d3072a-e0c2-442a-ad78-b1d1d021c92a/profile_host.txt --profile:build=default ******************************************************************************** Configuration (profile_host): [settings] arch=armv8 build_type=Debug compiler=apple-clang compiler.libcxx=libc++ compiler.version=12.0 os=Macos [options] libpcap:shared=True [build_requires] [env] Configuration (profile_build): [settings] arch=x86_64 arch_build=x86_64 build_type=Release compiler=apple-clang compiler.libcxx=libc++ compiler.version=12.0 os=Macos os_build=Macos [options] [build_requires] [env] libpcap/1.10.0 (test package): Installing package Requirements libpcap/1.10.0 from local cache - Cache Packages libpcap/1.10.0:f0e63a5e5cc2349b9d920b337c996e7b25eb6adb - Cache Cross-build from 'Macos:x86_64' to 'Macos:armv8' Installing (downloading, building) binaries... libpcap/1.10.0: 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 libpcap/1.10.0 (test package): Generator cmake created conanbuildinfo.cmake libpcap/1.10.0 (test package): Generator txt created conanbuildinfo.txt libpcap/1.10.0 (test package): Generated conaninfo.txt libpcap/1.10.0 (test package): Generated graphinfo Using lockfile: '/Users/jenkins/w/BuildSingleReference@3/conan-center-index/recipes/libpcap/all/test_package/build/ad42ca39f1297adc79d164fa72e774e22287d566/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 libpcap/1.10.0 (test package): Calling build() ----Running------ > cd '/Users/jenkins/w/BuildSingleReference@3/conan-center-index/recipes/libpcap/all/test_package/build/ad42ca39f1297adc79d164fa72e774e22287d566' && cmake -G "Unix Makefiles" -DCMAKE_BUILD_TYPE="Debug" -DCMAKE_OSX_ARCHITECTURES="arm64" -DCMAKE_SYSTEM_NAME="Darwin" -DCONAN_IN_LOCAL_CACHE="OFF" -DCONAN_COMPILER="apple-clang" -DCONAN_COMPILER_VERSION="12.0" -DCONAN_LIBCXX="libc++" -DCMAKE_INSTALL_PREFIX="/Users/jenkins/w/BuildSingleReference@3/conan-center-index/recipes/libpcap/all/test_package/build/ad42ca39f1297adc79d164fa72e774e22287d566/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" -Wno-dev '/Users/jenkins/w/BuildSingleReference@3/conan-center-index/recipes/libpcap/all/test_package' ----------------- -- The C compiler identification is AppleClang 12.0.0.12000032 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /Library/Developer/CommandLineTools/usr/bin/cc - skipped -- 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 'AppleClang' compiler -- Conan: C++ stdlib: libc++ -- Configuring done -- Generating done -- Build files have been written to: /Users/jenkins/w/BuildSingleReference@3/conan-center-index/recipes/libpcap/all/test_package/build/ad42ca39f1297adc79d164fa72e774e22287d566 ----Running------ > cmake --build '/Users/jenkins/w/BuildSingleReference@3/conan-center-index/recipes/libpcap/all/test_package/build/ad42ca39f1297adc79d164fa72e774e22287d566' '--' '-j4' ----------------- Scanning dependencies of target test_package [ 50%] Building C object CMakeFiles/test_package.dir/test_package.c.o [100%] Linking C executable bin/test_package 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 /Users/jenkins/w/BuildSingleReference@3/conan-center-index/recipes/libpcap/all/test_package/test_package.c:13:11: warning: 'pcap_lookupdev' is deprecated: use 'pcap_findalldevs' and use the first device [-Wdeprecated-declarations] dev = pcap_lookupdev(errbuf); ^ /Users/jenkins/w/BuildSingleReference@3/.conan/data/libpcap/1.10.0/_/_/package/f0e63a5e5cc2349b9d920b337c996e7b25eb6adb/include/pcap/pcap.h:395:1: note: 'pcap_lookupdev' has been explicitly marked deprecated here PCAP_DEPRECATED(pcap_lookupdev, "use 'pcap_findalldevs' and use the first device"); ^ /Users/jenkins/w/BuildSingleReference@3/.conan/data/libpcap/1.10.0/_/_/package/f0e63a5e5cc2349b9d920b337c996e7b25eb6adb/include/pcap/funcattrs.h:291:53: note: expanded from macro 'PCAP_DEPRECATED' #define PCAP_DEPRECATED(func, msg) __attribute__((deprecated(msg))) ^ 1 warning generated. ld: warning: ignoring file /Users/jenkins/w/BuildSingleReference@3/.conan/data/libpcap/1.10.0/_/_/package/f0e63a5e5cc2349b9d920b337c996e7b25eb6adb/lib/libpcap.dylib, building for macOS-arm64 but attempting to link with file built for macOS-x86_64 Undefined symbols for architecture arm64: "_pcap_lookupdev", referenced from: _main in test_package.c.o "_pcap_lookupnet", referenced from: _main in test_package.c.o ld: symbol(s) not found for architecture arm64 clang: error: linker command failed with exit code 1 (use -v to see invocation) make[2]: *** [bin/test_package] Error 1 make[1]: *** [CMakeFiles/test_package.dir/all] Error 2 make: *** [all] Error 2 ERROR: libpcap/1.10.0 (test package): Error in build() method, line 12 cmake.build() ConanException: Error 2 while executing cmake --build '/Users/jenkins/w/BuildSingleReference@3/conan-center-index/recipes/libpcap/all/test_package/build/ad42ca39f1297adc79d164fa72e774e22287d566' '--' '-j4'