******************************************************************************** conan install pcapplusplus/24.09@#864ad9ffcafdc317218f1365ac50de86 --build=pcapplusplus -pr /home/conan/workspace/prod-v1/bsr/98212/adcfe/profile_linux_5_libstdcpp11_gcc_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 (/home/conan/workspace/prod-v1/bsr/98212/bbdfe/.conan/profiles/default) CC and CXX: /usr/bin/gcc, /usr/bin/g++ Found gcc 5.4 gcc>=5, using the major as version ************************* WARNING: GCC OLD ABI COMPATIBILITY *********************** Conan detected a GCC version > 5 but has adjusted the 'compiler.libcxx' setting to 'libstdc++' for backwards compatibility. Your compiler is likely using the new CXX11 ABI by default (libstdc++11). If you want Conan to use the new ABI for the default profile, run: $ conan profile update settings.compiler.libcxx=libstdc++11 default Or edit '/home/conan/workspace/prod-v1/bsr/98212/bbdfe/.conan/profiles/default' and set compiler.libcxx=libstdc++11 ************************************************************************************ Default settings os=Linux os_build=Linux arch=x86_64 arch_build=x86_64 compiler=gcc compiler.version=5 compiler.libcxx=libstdc++ build_type=Release *** You can change them in /home/conan/workspace/prod-v1/bsr/98212/bbdfe/.conan/profiles/default *** *** Or override with -s compiler='other' -s ...s*** Configuration: [settings] arch=x86_64 build_type=Release compiler=gcc compiler.libcxx=libstdc++11 compiler.version=5 os=Linux [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 375540da0ddedc9289aeaa5ca2b4bd4f pcapplusplus/24.09: Forced build from source Installing package: pcapplusplus/24.09 Requirements libpcap/1.10.1 from 'conan-center' - Downloaded pcapplusplus/24.09 from local cache - Cache Packages libpcap/1.10.1:76f87539fc90ff313e0b3182641a9bb558a717d2 - Download pcapplusplus/24.09:67b8b30a48b5f4d20d090acd959766840b9443a5 - Build Installing (downloading, building) binaries... libpcap/1.10.1: Retrieving package 76f87539fc90ff313e0b3182641a9bb558a717d2 from remote 'conan-center' Downloading conanmanifest.txt Downloading conaninfo.txt Downloading conan_package.tgz libpcap/1.10.1: Package installed 76f87539fc90ff313e0b3182641a9bb558a717d2 libpcap/1.10.1: Downloaded package revision c3673dc93d5a50670a1a079daf6f1501 [HOOK - conan-center.py] pre_source(): [IMMUTABLE SOURCES (KB-H010)] OK pcapplusplus/24.09: Configuring sources in /home/conan/workspace/prod-v1/bsr/98212/bbdfe/.conan/data/pcapplusplus/24.09/_/_/source/src pcapplusplus/24.09: [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 pcapplusplus/24.09: Copying sources to build folder pcapplusplus/24.09: Building your package in /home/conan/workspace/prod-v1/bsr/98212/bbdfe/.conan/data/pcapplusplus/24.09/_/_/build/67b8b30a48b5f4d20d090acd959766840b9443a5 pcapplusplus/24.09: Generator txt created conanbuildinfo.txt pcapplusplus/24.09: Calling generate() pcapplusplus/24.09: Preset 'release' added to CMakePresets.json. Invoke it manually using 'cmake --preset release' pcapplusplus/24.09: If your CMake version is not compatible with CMakePresets (<3.19) call cmake like: 'cmake -G "Unix Makefiles" -DCMAKE_TOOLCHAIN_FILE=/home/conan/workspace/prod-v1/bsr/98212/bbdfe/.conan/data/pcapplusplus/24.09/_/_/build/67b8b30a48b5f4d20d090acd959766840b9443a5/build/Release/generators/conan_toolchain.cmake -DCMAKE_POLICY_DEFAULT_CMP0091=NEW -DCMAKE_BUILD_TYPE=Release' pcapplusplus/24.09: Aggregating env generators [HOOK - conan-center.py] pre_build(): [FPIC MANAGEMENT (KB-H007)] OK. 'fPIC' option found and apparently well managed [HOOK - conan-center.py] pre_build(): [FPIC MANAGEMENT (KB-H007)] OK pcapplusplus/24.09: Calling build() pcapplusplus/24.09: CMake command: cmake -G "Unix Makefiles" -DCMAKE_TOOLCHAIN_FILE="/home/conan/workspace/prod-v1/bsr/98212/bbdfe/.conan/data/pcapplusplus/24.09/_/_/build/67b8b30a48b5f4d20d090acd959766840b9443a5/build/Release/generators/conan_toolchain.cmake" -DCMAKE_INSTALL_PREFIX="/home/conan/workspace/prod-v1/bsr/98212/bbdfe/.conan/data/pcapplusplus/24.09/_/_/package/67b8b30a48b5f4d20d090acd959766840b9443a5" -DCMAKE_POLICY_DEFAULT_CMP0091="NEW" -DCMAKE_BUILD_TYPE="Release" "/home/conan/workspace/prod-v1/bsr/98212/bbdfe/.conan/data/pcapplusplus/24.09/_/_/build/67b8b30a48b5f4d20d090acd959766840b9443a5/src" ----Running------ > cmake -G "Unix Makefiles" -DCMAKE_TOOLCHAIN_FILE="/home/conan/workspace/prod-v1/bsr/98212/bbdfe/.conan/data/pcapplusplus/24.09/_/_/build/67b8b30a48b5f4d20d090acd959766840b9443a5/build/Release/generators/conan_toolchain.cmake" -DCMAKE_INSTALL_PREFIX="/home/conan/workspace/prod-v1/bsr/98212/bbdfe/.conan/data/pcapplusplus/24.09/_/_/package/67b8b30a48b5f4d20d090acd959766840b9443a5" -DCMAKE_POLICY_DEFAULT_CMP0091="NEW" -DCMAKE_BUILD_TYPE="Release" "/home/conan/workspace/prod-v1/bsr/98212/bbdfe/.conan/data/pcapplusplus/24.09/_/_/build/67b8b30a48b5f4d20d090acd959766840b9443a5/src" ----------------- -- Using Conan toolchain: /home/conan/workspace/prod-v1/bsr/98212/bbdfe/.conan/data/pcapplusplus/24.09/_/_/build/67b8b30a48b5f4d20d090acd959766840b9443a5/build/Release/generators/conan_toolchain.cmake -- Conan toolchain: Setting CMAKE_POSITION_INDEPENDENT_CODE=ON (options.fPIC) -- The CXX compiler identification is GNU 5.4.0 -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: /usr/bin/g++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- The C compiler identification is GNU 5.4.0 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /usr/bin/gcc - skipped -- Detecting C compile features -- Detecting C compile features - done -- Ccache not found! -- Performing Test PCAP_LINKS_SOLO -- Performing Test PCAP_LINKS_SOLO - Success -- Looking for pcap_set_immediate_mode -- Looking for pcap_set_immediate_mode - found -- Looking for pcap_setdirection -- Looking for pcap_setdirection - found -- Looking for pcap_lib_version -- Looking for pcap_lib_version - found -- Found PCAP: /home/conan/workspace/prod-v1/bsr/98212/bbdfe/.conan/data/libpcap/1.10.1/_/_/package/76f87539fc90ff313e0b3182641a9bb558a717d2/lib/libpcap.a (found version "1.10.1 (with TPACKET_V3)") -- Looking for C++ include pthread.h -- Looking for C++ include pthread.h - found -- Performing Test CMAKE_HAVE_LIBC_PTHREAD -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed -- Check if compiler accepts -pthread -- Check if compiler accepts -pthread - yes -- Found Threads: TRUE -- Found Git: /usr/bin/git (found version "2.43.2") -- Building from commit: on branch: -- Looking for backtrace -- Looking for backtrace - found -- backtrace facility detected in default set of libraries -- Found Backtrace: /usr/include -- Configuring done -- Generating done -- Build files have been written to: /home/conan/workspace/prod-v1/bsr/98212/bbdfe/.conan/data/pcapplusplus/24.09/_/_/build/67b8b30a48b5f4d20d090acd959766840b9443a5/build/Release pcapplusplus/24.09: CMake command: cmake --build "/home/conan/workspace/prod-v1/bsr/98212/bbdfe/.conan/data/pcapplusplus/24.09/_/_/build/67b8b30a48b5f4d20d090acd959766840b9443a5/build/Release" '--' '-j3' ----Running------ > cmake --build "/home/conan/workspace/prod-v1/bsr/98212/bbdfe/.conan/data/pcapplusplus/24.09/_/_/build/67b8b30a48b5f4d20d090acd959766840b9443a5/build/Release" '--' '-j3' ----------------- Scanning dependencies of target hash-library Scanning dependencies of target memplumber Scanning dependencies of target light_pcapng [ 1%] Building CXX object 3rdParty/hash-library/CMakeFiles/hash-library.dir/md5.cpp.o [ 2%] Building CXX object 3rdParty/MemPlumber/MemPlumber/CMakeFiles/memplumber.dir/memplumber.cpp.o [ 3%] Building C object 3rdParty/LightPcapNg/CMakeFiles/light_pcapng.dir/LightPcapNg/src/light_advanced.c.o [ 4%] Building C object 3rdParty/LightPcapNg/CMakeFiles/light_pcapng.dir/LightPcapNg/src/light_alloc.c.o [ 5%] Building C object 3rdParty/LightPcapNg/CMakeFiles/light_pcapng.dir/LightPcapNg/src/light_compression.c.o [ 6%] Building C object 3rdParty/LightPcapNg/CMakeFiles/light_pcapng.dir/LightPcapNg/src/light_internal.c.o [ 6%] Built target hash-library [ 7%] Building C object 3rdParty/LightPcapNg/CMakeFiles/light_pcapng.dir/LightPcapNg/src/light_io.c.o [ 8%] Linking CXX static library libmemplumber.a [ 8%] Built target memplumber [ 9%] Building C object 3rdParty/LightPcapNg/CMakeFiles/light_pcapng.dir/LightPcapNg/src/light_manipulate.c.o Scanning dependencies of target Common++ [ 9%] Building CXX object Common++/CMakeFiles/Common++.dir/src/GeneralUtils.cpp.o [ 10%] Building CXX object Common++/CMakeFiles/Common++.dir/src/IpAddress.cpp.o [ 11%] Building C object 3rdParty/LightPcapNg/CMakeFiles/light_pcapng.dir/LightPcapNg/src/light_null_compression.c.o [ 12%] Building C object 3rdParty/LightPcapNg/CMakeFiles/light_pcapng.dir/LightPcapNg/src/light_option.c.o [ 13%] Building C object 3rdParty/LightPcapNg/CMakeFiles/light_pcapng.dir/LightPcapNg/src/light_pcapng_cont.c.o [ 14%] Building C object 3rdParty/LightPcapNg/CMakeFiles/light_pcapng.dir/LightPcapNg/src/light_pcapng_ext.c.o [ 15%] Building C object 3rdParty/LightPcapNg/CMakeFiles/light_pcapng.dir/LightPcapNg/src/light_pcapng.c.o [ 16%] Building CXX object Common++/CMakeFiles/Common++.dir/src/IpAddressUtils.cpp.o [ 17%] Building C object 3rdParty/LightPcapNg/CMakeFiles/light_pcapng.dir/LightPcapNg/src/light_platform.c.o [ 18%] Building C object 3rdParty/LightPcapNg/CMakeFiles/light_pcapng.dir/LightPcapNg/src/light_zstd_compression.c.o [ 18%] Built target light_pcapng [ 19%] Building CXX object Common++/CMakeFiles/Common++.dir/src/IpUtils.cpp.o Common++/CMakeFiles/Common++.dir/build.make:94: recipe for target 'Common++/CMakeFiles/Common++.dir/src/IpAddress.cpp.o' failed Common++/CMakeFiles/Common++.dir/build.make:107: recipe for target 'Common++/CMakeFiles/Common++.dir/src/IpAddressUtils.cpp.o' failed CMakeFiles/Makefile2:464: recipe for target 'Common++/CMakeFiles/Common++.dir/all' failed Makefile:148: recipe for target 'all' failed pcapplusplus/24.09: fatal: not a git repository (or any parent up to mount point /home) Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set). fatal: not a git repository (or any parent up to mount point /home) Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set). /home/conan/workspace/prod-v1/bsr/98212/bbdfe/.conan/data/pcapplusplus/24.09/_/_/build/67b8b30a48b5f4d20d090acd959766840b9443a5/src/3rdParty/MemPlumber/MemPlumber/memplumber.cpp:413:6: warning: ‘void operator delete(void*, std::size_t)’ is a usual (non-placement) deallocation function in C++14 (or with -fsized-deallocation) [-Wc++14-compat] void operator delete(void* pointer, std::size_t size) { ^ /home/conan/workspace/prod-v1/bsr/98212/bbdfe/.conan/data/pcapplusplus/24.09/_/_/build/67b8b30a48b5f4d20d090acd959766840b9443a5/src/3rdParty/MemPlumber/MemPlumber/memplumber.cpp:421:6: warning: ‘void operator delete [](void*, std::size_t)’ is a usual (non-placement) deallocation function in C++14 (or with -fsized-deallocation) [-Wc++14-compat] void operator delete[](void* pointer, std::size_t size) { ^ In file included from /home/conan/workspace/prod-v1/bsr/98212/bbdfe/.conan/data/pcapplusplus/24.09/_/_/build/67b8b30a48b5f4d20d090acd959766840b9443a5/src/Common++/src/IpAddress.cpp:12:0: /home/conan/workspace/prod-v1/bsr/98212/bbdfe/.conan/data/pcapplusplus/24.09/_/_/build/67b8b30a48b5f4d20d090acd959766840b9443a5/src/Common++/header/IpAddress.h:182:40: error: array must be initialized with a brace-enclosed initializer std::array m_Bytes = { 0 }; ^ /home/conan/workspace/prod-v1/bsr/98212/bbdfe/.conan/data/pcapplusplus/24.09/_/_/build/67b8b30a48b5f4d20d090acd959766840b9443a5/src/Common++/header/IpAddress.h:350:41: error: array must be initialized with a brace-enclosed initializer std::array m_Bytes = { 0 }; ^ make[2]: *** [Common++/CMakeFiles/Common++.dir/src/IpAddress.cpp.o] Error 1 make[2]: *** Waiting for unfinished jobs.... In file included from /home/conan/workspace/prod-v1/bsr/98212/bbdfe/.conan/data/pcapplusplus/24.09/_/_/build/67b8b30a48b5f4d20d090acd959766840b9443a5/src/Common++/src/IpAddressUtils.cpp:3:0: /home/conan/workspace/prod-v1/bsr/98212/bbdfe/.conan/data/pcapplusplus/24.09/_/_/build/67b8b30a48b5f4d20d090acd959766840b9443a5/src/Common++/header/IpAddress.h:182:40: error: array must be initialized with a brace-enclosed initializer std::array m_Bytes = { 0 }; ^ /home/conan/workspace/prod-v1/bsr/98212/bbdfe/.conan/data/pcapplusplus/24.09/_/_/build/67b8b30a48b5f4d20d090acd959766840b9443a5/src/Common++/header/IpAddress.h:350:41: error: array must be initialized with a brace-enclosed initializer std::array m_Bytes = { 0 }; ^ make[2]: *** [Common++/CMakeFiles/Common++.dir/src/IpAddressUtils.cpp.o] Error 1 make[1]: *** [Common++/CMakeFiles/Common++.dir/all] Error 2 make: *** [all] Error 2 WARN: ************************************************** WARN: *** Conan 1 is legacy and on a deprecation path ** WARN: *********** Please upgrade to Conan 2 ************ WARN: ************************************************** pcapplusplus/24.09: 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 pcapplusplus/24.09: ERROR: Package '67b8b30a48b5f4d20d090acd959766840b9443a5' build failed pcapplusplus/24.09: WARN: Build folder /home/conan/workspace/prod-v1/bsr/98212/bbdfe/.conan/data/pcapplusplus/24.09/_/_/build/67b8b30a48b5f4d20d090acd959766840b9443a5/build/Release ERROR: pcapplusplus/24.09: Error in build() method, line 57 cmake.build() ConanException: Error 2 while executing cmake --build "/home/conan/workspace/prod-v1/bsr/98212/bbdfe/.conan/data/pcapplusplus/24.09/_/_/build/67b8b30a48b5f4d20d090acd959766840b9443a5/build/Release" '--' '-j3'