Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pcapplusplus: add version 24.09 #25343

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Conversation

toge
Copy link
Contributor

@toge toge commented Sep 20, 2024

Summary

Changes to recipe: pcapplusplus/24.09

Motivation

There are lots of new features in 24.09.

Details

seladb/PcapPlusPlus@v23.09...v24.09


@conan-center-bot

This comment has been minimized.

@conan-center-bot
Copy link
Collaborator

Conan v1 pipeline ❌

Failure in build 2 (35b6e4dbcdda4b66b05c0dd4aac3e85bc5340309):

  • pcapplusplus/21.11:
    Didn't run or was cancelled before finishing

  • pcapplusplus/22.11:
    Didn't run or was cancelled before finishing

  • pcapplusplus/22.05:
    Didn't run or was cancelled before finishing

  • pcapplusplus/21.05:
    Didn't run or was cancelled before finishing

  • pcapplusplus/23.09:
    Didn't run or was cancelled before finishing

  • pcapplusplus/24.09:
    CI failed to create some packages (All logs)

    Logs for packageID 67b8b30a48b5f4d20d090acd959766840b9443a5:
    [settings]
    arch=x86_64
    build_type=Release
    compiler=gcc
    compiler.libcxx=libstdc++11
    compiler.version=5
    os=Linux
    
    [...]
    [ 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<uint8_t, 4> 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<uint8_t, 16> 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<uint8_t, 4> 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<uint8_t, 16> 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'
    

Note: To save resources, CI tries to finish as soon as an error is found. For this reason you might find that not all the references have been launched or not all the configurations for a given reference. Also, take into account that we cannot guarantee the order of execution as it depends on CI workload and workers availability.


Conan v2 pipeline ❌

Note: Conan v2 builds are now mandatory. Please read our discussion about it.

The v2 pipeline failed. Please, review the errors and note this is required for pull requests to be merged. In case this recipe is still not ported to Conan 2.x, please, ping @conan-io/barbarians on the PR and we will help you.

Failure in build 2 (35b6e4dbcdda4b66b05c0dd4aac3e85bc5340309):

  • pcapplusplus/21.05:
    CI failed to create some packages (All logs)

    Logs for packageID e072a4d3fa42d3766ef82ecb44b6d731f6465980:
    [settings]
    arch=x86_64
    build_type=Release
    compiler=apple-clang
    compiler.cppstd=17
    compiler.libcxx=libc++
    compiler.version=13
    os=Macos
    [options]
    */*:shared=False
    
    [...]
    ======== Testing the package ========
    Removing previously existing 'test_package' build folder: /Users/jenkins/workspace/prod-v2/bsr/cci-64817cc5/recipes/pcapplusplus/all/test_package/build/apple-clang-13-x86_64-17-release
    pcapplusplus/21.05 (test package): Test package build: build/apple-clang-13-x86_64-17-release
    pcapplusplus/21.05 (test package): Test package build folder: /Users/jenkins/workspace/prod-v2/bsr/cci-64817cc5/recipes/pcapplusplus/all/test_package/build/apple-clang-13-x86_64-17-release
    pcapplusplus/21.05 (test package): Writing generators to /Users/jenkins/workspace/prod-v2/bsr/cci-64817cc5/recipes/pcapplusplus/all/test_package/build/apple-clang-13-x86_64-17-release/generators
    pcapplusplus/21.05 (test package): Generator 'CMakeDeps' calling 'generate()'
    pcapplusplus/21.05 (test package): CMakeDeps necessary find_package() and targets for your CMakeLists.txt
        find_package(pcapplusplus)
        target_link_libraries(... pcapplusplus::pcapplusplus)
    pcapplusplus/21.05 (test package): Generator 'CMakeToolchain' calling 'generate()'
    pcapplusplus/21.05 (test package): CMakeToolchain generated: conan_toolchain.cmake
    pcapplusplus/21.05 (test package): CMakeToolchain generated: /Users/jenkins/workspace/prod-v2/bsr/cci-64817cc5/recipes/pcapplusplus/all/test_package/build/apple-clang-13-x86_64-17-release/generators/CMakePresets.json
    pcapplusplus/21.05 (test package): CMakeToolchain generated: /Users/jenkins/workspace/prod-v2/bsr/cci-64817cc5/recipes/pcapplusplus/all/test_package/CMakeUserPresets.json
    pcapplusplus/21.05 (test package): Generator 'VirtualRunEnv' calling 'generate()'
    pcapplusplus/21.05 (test package): Generating aggregated env files
    pcapplusplus/21.05 (test package): Generated aggregated env files: ['conanrun.sh', 'conanbuild.sh']
    
    ======== Testing the package: Building ========
    pcapplusplus/21.05 (test package): Calling build()
    pcapplusplus/21.05 (test package): Running CMake.configure()
    pcapplusplus/21.05 (test package): RUN: cmake -G "Unix Makefiles" -DCMAKE_TOOLCHAIN_FILE="generators/conan_toolchain.cmake" -DCMAKE_INSTALL_PREFIX="/Users/jenkins/workspace/prod-v2/bsr/cci-64817cc5/recipes/pcapplusplus/all/test_package" -DCMAKE_POLICY_DEFAULT_CMP0091="NEW" -DCMAKE_BUILD_TYPE="Release" "/Users/jenkins/workspace/prod-v2/bsr/cci-64817cc5/recipes/pcapplusplus/all/test_package"
    -- Using Conan toolchain: /Users/jenkins/workspace/prod-v2/bsr/cci-64817cc5/recipes/pcapplusplus/all/test_package/build/apple-clang-13-x86_64-17-release/generators/conan_toolchain.cmake
    -- Conan toolchain: Defining architecture flag: -m64
    -- Conan toolchain: Defining libcxx as C++ flags: -stdlib=libc++
    -- Conan toolchain: C++ Standard 17 with extensions OFF
    -- The CXX compiler identification is AppleClang 13.0.0.13000029
    -- Detecting CXX compiler ABI info
    -- Detecting CXX compiler ABI info - done
    -- Check for working CXX compiler: /Applications/conan/xcode/13.0/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ - skipped
    -- Detecting CXX compile features
    -- Detecting CXX compile features - done
    -- Conan: Target declared 'pcapplusplus::pcapplusplus'
    -- Conan: Target declared 'libpcap::libpcap'
    -- Configuring done
    -- Generating done
    -- Build files have been written to: /Users/jenkins/workspace/prod-v2/bsr/cci-64817cc5/recipes/pcapplusplus/all/test_package/build/apple-clang-13-x86_64-17-release
    
    pcapplusplus/21.05 (test package): Running CMake.build()
    pcapplusplus/21.05 (test package): RUN: cmake --build "/Users/jenkins/workspace/prod-v2/bsr/cci-64817cc5/recipes/pcapplusplus/all/test_package/build/apple-clang-13-x86_64-17-release" -- -j8
    [ 50%] Building CXX object CMakeFiles/test_package.dir/test_package.cpp.o
    [100%] Linking CXX executable test_package
    ld: archive has no table of contents file '/Users/jenkins/workspace/prod-v2/bsr/87571/baccb/p/b/pcapp7e98010118b88/p/lib/libPcap++.a' for architecture x86_64
    clang: error: linker command failed with exit code 1 (use -v to see invocation)
    make[2]: *** [test_package] Error 1
    make[1]: *** [CMakeFiles/test_package.dir/all] Error 2
    make: *** [all] Error 2
    
    ERROR: pcapplusplus/21.05 (test package): Error in build() method, line 21
    	cmake.build()
    	ConanException: Error 2 while executing
    
  • pcapplusplus/22.05:
    Didn't run or was cancelled before finishing

  • pcapplusplus/23.09:
    Didn't run or was cancelled before finishing

  • pcapplusplus/22.11:
    Didn't run or was cancelled before finishing

  • pcapplusplus/21.11:
    Didn't run or was cancelled before finishing

  • pcapplusplus/24.09:
    Didn't run or was cancelled before finishing


Note: To save resources, CI tries to finish as soon as an error is found. For this reason you might find that not all the references have been launched or not all the configurations for a given reference. Also, take into account that we cannot guarantee the order of execution as it depends on CI workload and workers availability.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants