******************************************************************************** conan test cci-ae30cf06/recipes/funchook/all/test_package/conanfile.py funchook/1.1.3@#7eb1491f6cc957c6cb16a84e9eb29da5 -pr /home/conan/w/prod-v1/bsr/85151/acdbd/profile_linux_7_libstdcpp11_gcc_debug_64.funchook-shared-False.txt -c tools.system.package_manager:mode=install -c tools.system.package_manager:sudo=True ******************************************************************************** Configuration: [settings] arch=x86_64 build_type=Debug compiler=gcc compiler.libcxx=libstdc++11 compiler.version=7 os=Linux [options] funchook:shared=False [build_requires] [env] [conf] tools.system.package_manager:mode=install tools.system.package_manager:sudo=True funchook/1.1.3 (test package): Installing package Requirements capstone/4.0.2 from 'conan-center' - Cache funchook/1.1.3 from local cache - Cache Packages capstone/4.0.2:f4eeb359faf9fc9aeffc792ff7b987635b5ee1c5 - Cache funchook/1.1.3:a8fa2ddbe5ef687e2abe5ec45c1e805ab9e5fbbf - Cache Installing (downloading, building) binaries... capstone/4.0.2: Already installed! funchook/1.1.3: Already installed! funchook/1.1.3 (test package): Generator 'CMakeToolchain' calling 'generate()' funchook/1.1.3 (test package): Preset 'debug' added to CMakePresets.json. Invoke it manually using 'cmake --preset debug' funchook/1.1.3 (test package): If your CMake version is not compatible with CMakePresets (<3.19) call cmake like: 'cmake -G "Unix Makefiles" -DCMAKE_TOOLCHAIN_FILE=/home/conan/w/prod-v1/bsr/cci-ae30cf06/recipes/funchook/all/test_package/build/Debug/generators/conan_toolchain.cmake -DCMAKE_POLICY_DEFAULT_CMP0091=NEW -DCMAKE_BUILD_TYPE=Debug' funchook/1.1.3 (test package): Generator 'VirtualRunEnv' calling 'generate()' funchook/1.1.3 (test package): Generator 'CMakeDeps' calling 'generate()' funchook/1.1.3 (test package): Generator txt created conanbuildinfo.txt funchook/1.1.3 (test package): Aggregating env generators funchook/1.1.3 (test package): Generated conaninfo.txt funchook/1.1.3 (test package): Generated graphinfo Using lockfile: '/home/conan/w/prod-v1/bsr/cci-ae30cf06/recipes/funchook/all/test_package/build/Debug/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 funchook/1.1.3 (test package): Calling build() funchook/1.1.3 (test package): CMake command: cmake -G "Unix Makefiles" -DCMAKE_TOOLCHAIN_FILE="/home/conan/w/prod-v1/bsr/cci-ae30cf06/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-ae30cf06/recipes/funchook/all/test_package/." ----Running------ > cmake -G "Unix Makefiles" -DCMAKE_TOOLCHAIN_FILE="/home/conan/w/prod-v1/bsr/cci-ae30cf06/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-ae30cf06/recipes/funchook/all/test_package/." ----------------- -- Using Conan toolchain: /home/conan/w/prod-v1/bsr/cci-ae30cf06/recipes/funchook/all/test_package/build/Debug/generators/conan_toolchain.cmake -- The C compiler identification is GNU 7.5.0 -- The ASM compiler identification is GNU -- Found assembler: /usr/bin/gcc -- 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 -- 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-ae30cf06/recipes/funchook/all/test_package/build/Debug funchook/1.1.3 (test package): CMake command: cmake --build "/home/conan/w/prod-v1/bsr/cci-ae30cf06/recipes/funchook/all/test_package/build/Debug" '--' '-j3' ----Running------ > cmake --build "/home/conan/w/prod-v1/bsr/cci-ae30cf06/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-ae30cf06/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