******************************************************************************** conan test conan-center-index/recipes/userspace-rcu/all/test_package/conanfile.py userspace-rcu/0.11.2@#d866b26cb2c3afc5e460c5dcec8e70b5 -pr /home/conan/w/prod/BuildSingleReference/58325/5df6310d-9ab2-4c8b-9957-bab59df4c25a/profile_linux_7_libstdcpp11_gcc_release_64.userspace-rcu-shared-False.txt ******************************************************************************** Configuration: [settings] arch=x86_64 build_type=Release compiler=gcc compiler.libcxx=libstdc++11 compiler.version=7 os=Linux [options] userspace-rcu:shared=False [build_requires] [env] benchmark/1.6.1: Not found in local cache, looking in remotes... benchmark/1.6.1: Trying with 'conan-center'... Downloading conanmanifest.txt Downloading conanfile.py Downloading conan_export.tgz benchmark/1.6.1: Downloaded recipe revision 94c40ebf065e3b20cab6a4f1b03a65fe userspace-rcu/0.11.2 (test package): Installing package Requirements benchmark/1.6.1 from 'conan-center' - Downloaded userspace-rcu/0.11.2 from local cache - Cache Packages benchmark/1.6.1:3b44db5d2388532fa96728a7ca3c4d7f30a888eb - Download userspace-rcu/0.11.2:d50a0d523d98c15bb147b18fa7d203887c38be8b - Cache Installing (downloading, building) binaries... benchmark/1.6.1: Retrieving package 3b44db5d2388532fa96728a7ca3c4d7f30a888eb from remote 'conan-center' Downloading conanmanifest.txt Downloading conaninfo.txt Downloading conan_package.tgz benchmark/1.6.1: Package installed 3b44db5d2388532fa96728a7ca3c4d7f30a888eb benchmark/1.6.1: Downloaded package revision b55d7fbbf751c1600672e0db0bb6e794 userspace-rcu/0.11.2: Already installed! userspace-rcu/0.11.2 (test package): Generator cmake_find_package_multi created benchmark-config-version.cmake userspace-rcu/0.11.2 (test package): Generator cmake_find_package_multi created benchmark-config.cmake userspace-rcu/0.11.2 (test package): Generator cmake_find_package_multi created benchmarkTargets.cmake userspace-rcu/0.11.2 (test package): Generator cmake_find_package_multi created benchmarkTarget-release.cmake userspace-rcu/0.11.2 (test package): Generator cmake_find_package_multi created userspace-rcu-config-version.cmake userspace-rcu/0.11.2 (test package): Generator cmake_find_package_multi created userspace-rcu-config.cmake userspace-rcu/0.11.2 (test package): Generator cmake_find_package_multi created userspace-rcuTargets.cmake userspace-rcu/0.11.2 (test package): Generator cmake_find_package_multi created userspace-rcuTarget-release.cmake userspace-rcu/0.11.2 (test package): Generator txt created conanbuildinfo.txt userspace-rcu/0.11.2 (test package): Generator cmake created conanbuildinfo.cmake userspace-rcu/0.11.2 (test package): Aggregating env generators userspace-rcu/0.11.2 (test package): Generated conaninfo.txt userspace-rcu/0.11.2 (test package): Generated graphinfo Using lockfile: '/home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/userspace-rcu/all/test_package/build/141f0d05b4be553439f52b9d96bbb6f2fa00bfb6/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 userspace-rcu/0.11.2 (test package): Calling build() ----Running------ > cd '/home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/userspace-rcu/all/test_package/build/141f0d05b4be553439f52b9d96bbb6f2fa00bfb6' && cmake -G "Unix Makefiles" -DCMAKE_BUILD_TYPE="Release" -DCONAN_IN_LOCAL_CACHE="OFF" -DCONAN_COMPILER="gcc" -DCONAN_COMPILER_VERSION="7" -DCONAN_CXX_FLAGS="-m64" -DCONAN_SHARED_LINKER_FLAGS="-m64" -DCONAN_C_FLAGS="-m64" -DCONAN_LIBCXX="libstdc++11" -DCMAKE_INSTALL_PREFIX="/home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/userspace-rcu/all/test_package/build/141f0d05b4be553439f52b9d96bbb6f2fa00bfb6/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_PREFIX_PATH="/home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/userspace-rcu/all/test_package/build/141f0d05b4be553439f52b9d96bbb6f2fa00bfb6" -DCMAKE_MODULE_PATH="/home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/userspace-rcu/all/test_package/build/141f0d05b4be553439f52b9d96bbb6f2fa00bfb6" -DCMAKE_EXPORT_NO_PACKAGE_REGISTRY="ON" -DCONAN_EXPORTED="1" -Wno-dev '/home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/userspace-rcu/all/test_package' ----------------- -- The C compiler identification is GNU 7.2.0 -- The CXX compiler identification is GNU 7.2.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 -- 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 -- 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 -- Conan: Compiler GCC>=5, checking major version 7 -- Conan: Checking correct version: 7 -- Conan: C++ stdlib: libstdc++11 -- Library debug-yield found /home/conan/w/prod/BuildSingleReference/.conan/data/userspace-rcu/0.11.2/_/_/package/d50a0d523d98c15bb147b18fa7d203887c38be8b/lib/libdebug-yield.a -- Found: /home/conan/w/prod/BuildSingleReference/.conan/data/userspace-rcu/0.11.2/_/_/package/d50a0d523d98c15bb147b18fa7d203887c38be8b/lib/libdebug-yield.a -- Library tap found /home/conan/w/prod/BuildSingleReference/.conan/data/userspace-rcu/0.11.2/_/_/package/d50a0d523d98c15bb147b18fa7d203887c38be8b/lib/libtap.a -- Found: /home/conan/w/prod/BuildSingleReference/.conan/data/userspace-rcu/0.11.2/_/_/package/d50a0d523d98c15bb147b18fa7d203887c38be8b/lib/libtap.a -- Library urcu found /home/conan/w/prod/BuildSingleReference/.conan/data/userspace-rcu/0.11.2/_/_/package/d50a0d523d98c15bb147b18fa7d203887c38be8b/lib/liburcu.a -- Found: /home/conan/w/prod/BuildSingleReference/.conan/data/userspace-rcu/0.11.2/_/_/package/d50a0d523d98c15bb147b18fa7d203887c38be8b/lib/liburcu.a -- Library urcu-bp found /home/conan/w/prod/BuildSingleReference/.conan/data/userspace-rcu/0.11.2/_/_/package/d50a0d523d98c15bb147b18fa7d203887c38be8b/lib/liburcu-bp.a -- Found: /home/conan/w/prod/BuildSingleReference/.conan/data/userspace-rcu/0.11.2/_/_/package/d50a0d523d98c15bb147b18fa7d203887c38be8b/lib/liburcu-bp.a -- Library urcu-cds found /home/conan/w/prod/BuildSingleReference/.conan/data/userspace-rcu/0.11.2/_/_/package/d50a0d523d98c15bb147b18fa7d203887c38be8b/lib/liburcu-cds.a -- Found: /home/conan/w/prod/BuildSingleReference/.conan/data/userspace-rcu/0.11.2/_/_/package/d50a0d523d98c15bb147b18fa7d203887c38be8b/lib/liburcu-cds.a -- Library urcu-common found /home/conan/w/prod/BuildSingleReference/.conan/data/userspace-rcu/0.11.2/_/_/package/d50a0d523d98c15bb147b18fa7d203887c38be8b/lib/liburcu-common.a -- Found: /home/conan/w/prod/BuildSingleReference/.conan/data/userspace-rcu/0.11.2/_/_/package/d50a0d523d98c15bb147b18fa7d203887c38be8b/lib/liburcu-common.a -- Library urcu-mb found /home/conan/w/prod/BuildSingleReference/.conan/data/userspace-rcu/0.11.2/_/_/package/d50a0d523d98c15bb147b18fa7d203887c38be8b/lib/liburcu-mb.a -- Found: /home/conan/w/prod/BuildSingleReference/.conan/data/userspace-rcu/0.11.2/_/_/package/d50a0d523d98c15bb147b18fa7d203887c38be8b/lib/liburcu-mb.a -- Library urcu-memb found /home/conan/w/prod/BuildSingleReference/.conan/data/userspace-rcu/0.11.2/_/_/package/d50a0d523d98c15bb147b18fa7d203887c38be8b/lib/liburcu-memb.a -- Found: /home/conan/w/prod/BuildSingleReference/.conan/data/userspace-rcu/0.11.2/_/_/package/d50a0d523d98c15bb147b18fa7d203887c38be8b/lib/liburcu-memb.a -- Library urcu-qsbr found /home/conan/w/prod/BuildSingleReference/.conan/data/userspace-rcu/0.11.2/_/_/package/d50a0d523d98c15bb147b18fa7d203887c38be8b/lib/liburcu-qsbr.a -- Found: /home/conan/w/prod/BuildSingleReference/.conan/data/userspace-rcu/0.11.2/_/_/package/d50a0d523d98c15bb147b18fa7d203887c38be8b/lib/liburcu-qsbr.a -- Library urcu-signal found /home/conan/w/prod/BuildSingleReference/.conan/data/userspace-rcu/0.11.2/_/_/package/d50a0d523d98c15bb147b18fa7d203887c38be8b/lib/liburcu-signal.a -- Found: /home/conan/w/prod/BuildSingleReference/.conan/data/userspace-rcu/0.11.2/_/_/package/d50a0d523d98c15bb147b18fa7d203887c38be8b/lib/liburcu-signal.a -- Configuring done -- Generating done -- Build files have been written to: /home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/userspace-rcu/all/test_package/build/141f0d05b4be553439f52b9d96bbb6f2fa00bfb6 ----Running------ > cmake --build '/home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/userspace-rcu/all/test_package/build/141f0d05b4be553439f52b9d96bbb6f2fa00bfb6' '--' '-j3' ----------------- Scanning dependencies of target test_package [ 50%] Building CXX object CMakeFiles/test_package.dir/test_package.cpp.o CMakeFiles/test_package.dir/build.make:81: recipe for target 'CMakeFiles/test_package.dir/test_package.cpp.o' failed CMakeFiles/Makefile2:94: recipe for target 'CMakeFiles/test_package.dir/all' failed Makefile:102: recipe for target 'all' failed 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 In file included from /home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/userspace-rcu/all/test_package/test_package.cpp:7:0: /home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/userspace-rcu/all/test_package/urcu_helper.hpp:98:28: error: ‘function’ in namespace ‘std’ does not name a template type void update(const std::function& edit_cb) { ^~~~~~~~ /home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/userspace-rcu/all/test_package/urcu_helper.hpp:98:36: error: expected ‘,’ or ‘...’ before ‘<’ token void update(const std::function& edit_cb) { ^ /home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/userspace-rcu/all/test_package/test_package.cpp: In lambda function: /home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/userspace-rcu/all/test_package/test_package.cpp:51:14: error: invalid user-defined conversion from ‘parallel_update()::::’ to ‘int’ [-fpermissive] }); ^ /home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/userspace-rcu/all/test_package/test_package.cpp:48:51: note: candidate is: constexpr parallel_update()::::::operator void (*)(MyStatus*)() const glob_urcu_status.update([](MyStatus* s) { ^ /home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/userspace-rcu/all/test_package/test_package.cpp:48:51: note: no known conversion from ‘void (*)(MyStatus*)’ to ‘int’ In file included from /home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/userspace-rcu/all/test_package/test_package.cpp:7:0: /home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/userspace-rcu/all/test_package/urcu_helper.hpp:98:10: note: initializing argument 1 of ‘void test_package::urcu_scoped_ptr::update(int) [with T = MyStatus; Args = {}]’ void update(const std::function& edit_cb) { ^~~~~~ /home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/userspace-rcu/all/test_package/test_package.cpp: In lambda function: /home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/userspace-rcu/all/test_package/test_package.cpp:91:14: error: invalid user-defined conversion from ‘test_urcu_gets(benchmark::State&)::::’ to ‘int’ [-fpermissive] }); ^ /home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/userspace-rcu/all/test_package/test_package.cpp:88:51: note: candidate is: constexpr test_urcu_gets(benchmark::State&)::::::operator void (*)(MyStatus*)() const glob_urcu_status.update([](MyStatus* s) { ^ /home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/userspace-rcu/all/test_package/test_package.cpp:88:51: note: no known conversion from ‘void (*)(MyStatus*)’ to ‘int’ In file included from /home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/userspace-rcu/all/test_package/test_package.cpp:7:0: /home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/userspace-rcu/all/test_package/urcu_helper.hpp:98:10: note: initializing argument 1 of ‘void test_package::urcu_scoped_ptr::update(int) [with T = MyStatus; Args = {}]’ void update(const std::function& edit_cb) { ^~~~~~ /home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/userspace-rcu/all/test_package/urcu_helper.hpp: In instantiation of ‘void test_package::urcu_scoped_ptr::update(int) [with T = MyStatus; Args = {}]’: /home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/userspace-rcu/all/test_package/test_package.cpp:51:14: required from here /home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/userspace-rcu/all/test_package/urcu_helper.hpp:103:20: error: ‘edit_cb’ was not declared in this scope edit_cb(new_obj); ~~~~~~~^~~~~~~~~ make[2]: *** [CMakeFiles/test_package.dir/test_package.cpp.o] Error 1 make[1]: *** [CMakeFiles/test_package.dir/all] Error 2 make: *** [all] Error 2 ERROR: userspace-rcu/0.11.2 (test package): Error in build() method, line 16 cmake.build() ConanException: Error 2 while executing cmake --build '/home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/userspace-rcu/all/test_package/build/141f0d05b4be553439f52b9d96bbb6f2fa00bfb6' '--' '-j3'