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

funchook: add funchook/1.1.3 recipe #22224

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

wu-vincent
Copy link
Contributor

Specify library name and version: funchook/1.1.3


@conan-center-bot
Copy link
Collaborator

Conan v1 pipeline ❌

Failure in build 1 (e4f23d6bd6655106bca343ea278b58e1629a890b):

  • funchook/1.1.3:
    CI failed to create some packages (All logs)

    Logs for packageID eb37522ba9ca80d1eff7910d4076659aaccf46e9:
    [settings]
    arch=x86_64
    build_type=Debug
    compiler=gcc
    compiler.libcxx=libstdc++11
    compiler.version=11
    os=Linux
    [options]
    funchook:shared=False
    
    [...]
    ----Running------
    > cmake -G "Unix Makefiles" -DCMAKE_TOOLCHAIN_FILE="/home/conan/w/prod-v1/bsr/cci-e68097af/recipes/funchook/all/test_package/build/Debug/generators/conan_toolchain.cmake" -DCMAKE_POLICY_DEFAULT_CMP0091="NEW" -DCMAKE_BUILD_TYPE="Debug" "/home/conan/w/prod-v1/bsr/cci-e68097af/recipes/funchook/all/test_package/."
    -----------------
    -- Using Conan toolchain: /home/conan/w/prod-v1/bsr/cci-e68097af/recipes/funchook/all/test_package/build/Debug/generators/conan_toolchain.cmake
    -- The C compiler identification is GNU 11.1.0
    -- The ASM compiler identification is GNU
    -- Found assembler: /usr/local/bin/cc
    -- Check for working C compiler: /usr/local/bin/cc
    -- Check for working C compiler: /usr/local/bin/cc -- works
    -- Detecting C compiler ABI info
    -- Detecting C compiler ABI info - done
    -- Detecting C compile features
    -- Detecting C compile features - done
    -- Conan: Target declared 'funchook::funchook'
    -- Conan: Target declared 'capstone::capstone'
    -- Configuring done
    -- Generating done
    -- Build files have been written to: /home/conan/w/prod-v1/bsr/cci-e68097af/recipes/funchook/all/test_package/build/Debug
    funchook/1.1.3 (test package): CMake command: cmake --build "/home/conan/w/prod-v1/bsr/cci-e68097af/recipes/funchook/all/test_package/build/Debug" '--' '-j3'
    
    ----Running------
    > cmake --build "/home/conan/w/prod-v1/bsr/cci-e68097af/recipes/funchook/all/test_package/build/Debug" '--' '-j3'
    -----------------
    Scanning dependencies of target funchook_test
    [ 20%] Building C object CMakeFiles/funchook_test.dir/libfunchook_test.c.o
    [ 40%] Building ASM object CMakeFiles/funchook_test.dir/libfunchook_test_x86_64_gas.S.o
    [ 60%] Linking C shared library libfunchook_test.so
    [ 60%] Built target funchook_test
    Scanning dependencies of target test_package
    [ 80%] Building C object CMakeFiles/test_package.dir/test_main.c.o
    [100%] Linking C executable test_package
    [100%] Built target test_package
    funchook/1.1.3 (test package): Running test()
    
    ----Running------
    > . "/home/conan/w/prod-v1/bsr/cci-e68097af/recipes/funchook/all/test_package/build/Debug/generators/conanrun.sh" && ./test_package
    -----------------
    [1] test_funchook_int: get_val_in_exe
    ERROR: Could not get function address of get_val_in_exe.
    CMake Warning:
      Manually-specified variables were not used by the project:
    
        CMAKE_POLICY_DEFAULT_CMP0091
    
    
    funchook/1.1.3 (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
    funchook/1.1.3 (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: funchook/1.1.3 (test package): Error in test() method, line 27
    	self.run(bin_path, env="conanrun")
    	ConanException: Error 1 while executing ./test_package
    

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.

See details:

Failure in build 1 (e4f23d6bd6655106bca343ea278b58e1629a890b):

  • funchook/1.1.3:
    CI failed to create some packages (All logs)

    Logs for packageID ddf3affc6ff8dba2408201783d55d3678c7f5815:
    [settings]
    arch=x86_64
    build_type=Release
    compiler=gcc
    compiler.cppstd=17
    compiler.libcxx=libstdc++11
    compiler.version=11
    os=Linux
    [options]
    */*:shared=False
    
    [...]
    
    ======== Testing the package: Building ========
    funchook/1.1.3 (test package): Calling build()
    funchook/1.1.3 (test package): Running CMake.configure()
    funchook/1.1.3 (test package): RUN: cmake -G "Unix Makefiles" -DCMAKE_TOOLCHAIN_FILE="/home/conan/w/prod-v2/bsr/cci-25078a9b/recipes/funchook/all/test_package/build/gcc-11-x86_64-17-release/generators/conan_toolchain.cmake" -DCMAKE_INSTALL_PREFIX="/home/conan/w/prod-v2/bsr/cci-25078a9b/recipes/funchook/all/test_package" -DCMAKE_POLICY_DEFAULT_CMP0091="NEW" -DCMAKE_BUILD_TYPE="Release" "/home/conan/w/prod-v2/bsr/cci-25078a9b/recipes/funchook/all/test_package"
    -- Using Conan toolchain: /home/conan/w/prod-v2/bsr/cci-25078a9b/recipes/funchook/all/test_package/build/gcc-11-x86_64-17-release/generators/conan_toolchain.cmake
    -- Conan toolchain: C++ Standard 17 with extensions OFF
    -- The C compiler identification is GNU 11.1.0
    -- The ASM compiler identification is GNU
    -- Found assembler: /usr/local/bin/cc
    -- Check for working C compiler: /usr/local/bin/cc
    -- Check for working C compiler: /usr/local/bin/cc -- works
    -- Detecting C compiler ABI info
    -- Detecting C compiler ABI info - done
    -- Detecting C compile features
    -- Detecting C compile features - done
    -- Conan: Target declared 'funchook::funchook'
    -- Conan: Target declared 'capstone::capstone'
    -- Configuring done
    -- Generating done
    CMake Warning:
      Manually-specified variables were not used by the project:
    
        CMAKE_POLICY_DEFAULT_CMP0091
    
    
    -- Build files have been written to: /home/conan/w/prod-v2/bsr/cci-25078a9b/recipes/funchook/all/test_package/build/gcc-11-x86_64-17-release
    
    funchook/1.1.3 (test package): Running CMake.build()
    funchook/1.1.3 (test package): RUN: cmake --build "/home/conan/w/prod-v2/bsr/cci-25078a9b/recipes/funchook/all/test_package/build/gcc-11-x86_64-17-release" -- -j3
    Scanning dependencies of target funchook_test
    [ 20%] Building C object CMakeFiles/funchook_test.dir/libfunchook_test.c.o
    [ 40%] Building ASM object CMakeFiles/funchook_test.dir/libfunchook_test_x86_64_gas.S.o
    [ 60%] Linking C shared library libfunchook_test.so
    [ 60%] Built target funchook_test
    Scanning dependencies of target test_package
    [ 80%] Building C object CMakeFiles/test_package.dir/test_main.c.o
    [100%] Linking C executable test_package
    [100%] Built target test_package
    
    
    ======== Testing the package: Executing test ========
    funchook/1.1.3 (test package): Running test()
    funchook/1.1.3 (test package): RUN: ./test_package
    [1] test_funchook_int: get_val_in_exe
    ERROR: Could not get function address of get_val_in_exe.
    
    ERROR: funchook/1.1.3 (test package): Error in test() method, line 27
    	self.run(bin_path, env="conanrun")
    	ConanException: Error 1 while executing
    

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