******************************************************************************** conan test conan-center-index/recipes/userspace-rcu/all/test_package/conanfile.py userspace-rcu/0.11.3@#e3eaaad40bbf8733a12c5da769bf81dc -pr /home/conan/w/prod/BuildSingleReference/58324/6f9b0ebf-1236-4ea0-970c-324c355bd3db/profile_linux_8_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=8 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.3 (test package): Installing package Requirements benchmark/1.6.1 from 'conan-center' - Downloaded userspace-rcu/0.11.3 from local cache - Cache Packages benchmark/1.6.1:162a039d8dfcb90c8b971248b83120c2eee821d1 - Download userspace-rcu/0.11.3:1d877a3df840030e6a8abb74c5ffb9088d08b47a - Cache Installing (downloading, building) binaries... benchmark/1.6.1: Retrieving package 162a039d8dfcb90c8b971248b83120c2eee821d1 from remote 'conan-center' Downloading conanmanifest.txt Downloading conaninfo.txt Downloading conan_package.tgz benchmark/1.6.1: Package installed 162a039d8dfcb90c8b971248b83120c2eee821d1 benchmark/1.6.1: Downloaded package revision 6b5384eb85c2cf609f13af10888fbbb9 userspace-rcu/0.11.3: Already installed! userspace-rcu/0.11.3 (test package): Generator cmake created conanbuildinfo.cmake userspace-rcu/0.11.3 (test package): Generator txt created conanbuildinfo.txt userspace-rcu/0.11.3 (test package): Generator cmake_find_package_multi created benchmark-config-version.cmake userspace-rcu/0.11.3 (test package): Generator cmake_find_package_multi created benchmark-config.cmake userspace-rcu/0.11.3 (test package): Generator cmake_find_package_multi created benchmarkTargets.cmake userspace-rcu/0.11.3 (test package): Generator cmake_find_package_multi created benchmarkTarget-release.cmake userspace-rcu/0.11.3 (test package): Generator cmake_find_package_multi created userspace-rcu-config-version.cmake userspace-rcu/0.11.3 (test package): Generator cmake_find_package_multi created userspace-rcu-config.cmake userspace-rcu/0.11.3 (test package): Generator cmake_find_package_multi created userspace-rcuTargets.cmake userspace-rcu/0.11.3 (test package): Generator cmake_find_package_multi created userspace-rcuTarget-release.cmake userspace-rcu/0.11.3 (test package): Aggregating env generators userspace-rcu/0.11.3 (test package): Generated conaninfo.txt userspace-rcu/0.11.3 (test package): Generated graphinfo Using lockfile: '/home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/userspace-rcu/all/test_package/build/ed817c06cfab375ba0e170a54e3f1aff802baf34/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.3 (test package): Calling build() ----Running------ > cd '/home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/userspace-rcu/all/test_package/build/ed817c06cfab375ba0e170a54e3f1aff802baf34' && cmake -G "Unix Makefiles" -DCMAKE_BUILD_TYPE="Release" -DCONAN_IN_LOCAL_CACHE="OFF" -DCONAN_COMPILER="gcc" -DCONAN_COMPILER_VERSION="8" -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/ed817c06cfab375ba0e170a54e3f1aff802baf34/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/ed817c06cfab375ba0e170a54e3f1aff802baf34" -DCMAKE_MODULE_PATH="/home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/userspace-rcu/all/test_package/build/ed817c06cfab375ba0e170a54e3f1aff802baf34" -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 8.4.0 -- The CXX compiler identification is GNU 8.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 -- 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 8 -- Conan: Checking correct version: 8 -- Conan: C++ stdlib: libstdc++11 -- Library debug-yield found /home/conan/w/prod/BuildSingleReference/.conan/data/userspace-rcu/0.11.3/_/_/package/1d877a3df840030e6a8abb74c5ffb9088d08b47a/lib/libdebug-yield.a -- Found: /home/conan/w/prod/BuildSingleReference/.conan/data/userspace-rcu/0.11.3/_/_/package/1d877a3df840030e6a8abb74c5ffb9088d08b47a/lib/libdebug-yield.a -- Library tap found /home/conan/w/prod/BuildSingleReference/.conan/data/userspace-rcu/0.11.3/_/_/package/1d877a3df840030e6a8abb74c5ffb9088d08b47a/lib/libtap.a -- Found: /home/conan/w/prod/BuildSingleReference/.conan/data/userspace-rcu/0.11.3/_/_/package/1d877a3df840030e6a8abb74c5ffb9088d08b47a/lib/libtap.a -- Library urcu found /home/conan/w/prod/BuildSingleReference/.conan/data/userspace-rcu/0.11.3/_/_/package/1d877a3df840030e6a8abb74c5ffb9088d08b47a/lib/liburcu.a -- Found: /home/conan/w/prod/BuildSingleReference/.conan/data/userspace-rcu/0.11.3/_/_/package/1d877a3df840030e6a8abb74c5ffb9088d08b47a/lib/liburcu.a -- Library urcu-bp found /home/conan/w/prod/BuildSingleReference/.conan/data/userspace-rcu/0.11.3/_/_/package/1d877a3df840030e6a8abb74c5ffb9088d08b47a/lib/liburcu-bp.a -- Found: /home/conan/w/prod/BuildSingleReference/.conan/data/userspace-rcu/0.11.3/_/_/package/1d877a3df840030e6a8abb74c5ffb9088d08b47a/lib/liburcu-bp.a -- Library urcu-cds found /home/conan/w/prod/BuildSingleReference/.conan/data/userspace-rcu/0.11.3/_/_/package/1d877a3df840030e6a8abb74c5ffb9088d08b47a/lib/liburcu-cds.a -- Found: /home/conan/w/prod/BuildSingleReference/.conan/data/userspace-rcu/0.11.3/_/_/package/1d877a3df840030e6a8abb74c5ffb9088d08b47a/lib/liburcu-cds.a -- Library urcu-common found /home/conan/w/prod/BuildSingleReference/.conan/data/userspace-rcu/0.11.3/_/_/package/1d877a3df840030e6a8abb74c5ffb9088d08b47a/lib/liburcu-common.a -- Found: /home/conan/w/prod/BuildSingleReference/.conan/data/userspace-rcu/0.11.3/_/_/package/1d877a3df840030e6a8abb74c5ffb9088d08b47a/lib/liburcu-common.a -- Library urcu-mb found /home/conan/w/prod/BuildSingleReference/.conan/data/userspace-rcu/0.11.3/_/_/package/1d877a3df840030e6a8abb74c5ffb9088d08b47a/lib/liburcu-mb.a -- Found: /home/conan/w/prod/BuildSingleReference/.conan/data/userspace-rcu/0.11.3/_/_/package/1d877a3df840030e6a8abb74c5ffb9088d08b47a/lib/liburcu-mb.a -- Library urcu-memb found /home/conan/w/prod/BuildSingleReference/.conan/data/userspace-rcu/0.11.3/_/_/package/1d877a3df840030e6a8abb74c5ffb9088d08b47a/lib/liburcu-memb.a -- Found: /home/conan/w/prod/BuildSingleReference/.conan/data/userspace-rcu/0.11.3/_/_/package/1d877a3df840030e6a8abb74c5ffb9088d08b47a/lib/liburcu-memb.a -- Library urcu-qsbr found /home/conan/w/prod/BuildSingleReference/.conan/data/userspace-rcu/0.11.3/_/_/package/1d877a3df840030e6a8abb74c5ffb9088d08b47a/lib/liburcu-qsbr.a -- Found: /home/conan/w/prod/BuildSingleReference/.conan/data/userspace-rcu/0.11.3/_/_/package/1d877a3df840030e6a8abb74c5ffb9088d08b47a/lib/liburcu-qsbr.a -- Library urcu-signal found /home/conan/w/prod/BuildSingleReference/.conan/data/userspace-rcu/0.11.3/_/_/package/1d877a3df840030e6a8abb74c5ffb9088d08b47a/lib/liburcu-signal.a -- Found: /home/conan/w/prod/BuildSingleReference/.conan/data/userspace-rcu/0.11.3/_/_/package/1d877a3df840030e6a8abb74c5ffb9088d08b47a/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/ed817c06cfab375ba0e170a54e3f1aff802baf34 ----Running------ > cmake --build '/home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/userspace-rcu/all/test_package/build/ed817c06cfab375ba0e170a54e3f1aff802baf34' '--' '-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: /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:23: note: ‘std::function’ is defined in header ‘’; did you forget to ‘#include ’? /home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/userspace-rcu/all/test_package/urcu_helper.hpp:33:1: +#include /home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/userspace-rcu/all/test_package/urcu_helper.hpp:98:23: 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: /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: /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.3 (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/ed817c06cfab375ba0e170a54e3f1aff802baf34' '--' '-j3'