******************************************************************************** conan test conan-center-index/recipes/watcher/all/test_package/conanfile.py watcher/0.5.3@#c6f2661820f6176389d2ca6255e80e49 -pr /home/conan/w/prod/BuildSingleReference/146662/8625f688-d388-48ee-b6ea-fc67f7a565a4/profile_linux_11_libstdcpp11_gcc_release_64..txt -c tools.system.package_manager:mode=install -c tools.system.package_manager:sudo=True ******************************************************************************** Configuration: [settings] arch=x86_64 build_type=Release compiler=gcc compiler.libcxx=libstdc++11 compiler.version=11 os=Linux [options] [build_requires] [env] [conf] tools.system.package_manager:mode=install tools.system.package_manager:sudo=True watcher/0.5.3 (test package): Installing package Requirements watcher/0.5.3 from local cache - Cache Packages watcher/0.5.3:5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9 - Cache Installing (downloading, building) binaries... watcher/0.5.3: Already installed! watcher/0.5.3 (test package): Generator 'CMakeDeps' calling 'generate()' watcher/0.5.3 (test package): Generator 'VirtualRunEnv' calling 'generate()' watcher/0.5.3 (test package): Generator 'CMakeToolchain' calling 'generate()' watcher/0.5.3 (test package): Preset 'release' added to CMakePresets.json. Invoke it manually using 'cmake --preset release' watcher/0.5.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/BuildSingleReference/conan-center-index/recipes/watcher/all/test_package/build/generators/conan_toolchain.cmake -DCMAKE_POLICY_DEFAULT_CMP0091=NEW -DCMAKE_BUILD_TYPE=Release' watcher/0.5.3 (test package): Generator txt created conanbuildinfo.txt watcher/0.5.3 (test package): Aggregating env generators watcher/0.5.3 (test package): Generated conaninfo.txt watcher/0.5.3 (test package): Generated graphinfo Using lockfile: '/home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/watcher/all/test_package/build/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 watcher/0.5.3 (test package): Calling build() watcher/0.5.3 (test package): CMake command: cmake -G "Unix Makefiles" -DCMAKE_TOOLCHAIN_FILE="/home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/watcher/all/test_package/build/generators/conan_toolchain.cmake" -DCMAKE_POLICY_DEFAULT_CMP0091="NEW" -DCMAKE_BUILD_TYPE="Release" "/home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/watcher/all/test_package/." ----Running------ > cmake -G "Unix Makefiles" -DCMAKE_TOOLCHAIN_FILE="/home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/watcher/all/test_package/build/generators/conan_toolchain.cmake" -DCMAKE_POLICY_DEFAULT_CMP0091="NEW" -DCMAKE_BUILD_TYPE="Release" "/home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/watcher/all/test_package/." ----------------- -- Using Conan toolchain: /home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/watcher/all/test_package/build/generators/conan_toolchain.cmake -- The CXX compiler identification is GNU 11.1.0 -- Check for working CXX compiler: /usr/local/bin/c++ -- Check for working CXX compiler: /usr/local/bin/c++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Detecting CXX compile features -- Detecting CXX compile features - done -- Conan: Target declared 'watcher::watcher' -- Looking for C++ include pthread.h -- Looking for C++ include pthread.h - found -- Performing Test CMAKE_HAVE_LIBC_PTHREAD -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed -- Looking for pthread_create in pthreads -- Looking for pthread_create in pthreads - not found -- Looking for pthread_create in pthread -- Looking for pthread_create in pthread - found -- Found Threads: TRUE -- Configuring done -- Generating done -- Build files have been written to: /home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/watcher/all/test_package/build/Release watcher/0.5.3 (test package): CMake command: cmake --build "/home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/watcher/all/test_package/build/Release" '--' '-j3' ----Running------ > cmake --build "/home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/watcher/all/test_package/build/Release" '--' '-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:62: recipe for target 'CMakeFiles/test_package.dir/test_package.cpp.o' failed CMakeFiles/Makefile2:75: recipe for target 'CMakeFiles/test_package.dir/all' failed Makefile:83: recipe for target 'all' failed In file included from /home/conan/w/prod/BuildSingleReference/.conan/data/watcher/0.5.3/_/_/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9/include/watcher/watcher.hpp:15, from /home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/watcher/all/test_package/test_package.cpp:5: /home/conan/w/prod/BuildSingleReference/.conan/data/watcher/0.5.3/_/_/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9/include/watcher/adapter/linux/fanotify/watch.hpp: In function 'bool wtr::watcher::detail::adapter::fanotify::{anonymous}::do_path_mark_add(const std::filesystem::__cxx11::path&, int, wtr::watcher::detail::adapter::fanotify::{anonymous}::path_mark_container_type&)': /home/conan/w/prod/BuildSingleReference/.conan/data/watcher/0.5.3/_/_/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9/include/watcher/adapter/linux/fanotify/watch.hpp:144:38: error: 'FAN_CREATE' was not declared in this scope; did you mean 'DN_CREATE'? 144 | FAN_ONDIR | FAN_CREATE | FAN_MODIFY | FAN_DELETE | ^~~~~~~~~~ | DN_CREATE /home/conan/w/prod/BuildSingleReference/.conan/data/watcher/0.5.3/_/_/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9/include/watcher/adapter/linux/fanotify/watch.hpp:144:64: error: 'FAN_DELETE' was not declared in this scope; did you mean 'IN_DELETE'? 144 | FAN_ONDIR | FAN_CREATE | FAN_MODIFY | FAN_DELETE | ^~~~~~~~~~ | IN_DELETE /home/conan/w/prod/BuildSingleReference/.conan/data/watcher/0.5.3/_/_/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9/include/watcher/adapter/linux/fanotify/watch.hpp:145:32: error: 'FAN_MOVE' was not declared in this scope; did you mean 'IN_MOVE'? 145 | | FAN_MOVE | FAN_DELETE_SELF | FAN_MOVE_SELF, | ^~~~~~~~ | IN_MOVE /home/conan/w/prod/BuildSingleReference/.conan/data/watcher/0.5.3/_/_/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9/include/watcher/adapter/linux/fanotify/watch.hpp:145:43: error: 'FAN_DELETE_SELF' was not declared in this scope; did you mean 'IN_DELETE_SELF'? 145 | | FAN_MOVE | FAN_DELETE_SELF | FAN_MOVE_SELF, | ^~~~~~~~~~~~~~~ | IN_DELETE_SELF /home/conan/w/prod/BuildSingleReference/.conan/data/watcher/0.5.3/_/_/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9/include/watcher/adapter/linux/fanotify/watch.hpp:145:61: error: 'FAN_MOVE_SELF' was not declared in this scope; did you mean 'IN_MOVE_SELF'? 145 | | FAN_MOVE | FAN_DELETE_SELF | FAN_MOVE_SELF, | ^~~~~~~~~~~~~ | IN_MOVE_SELF /home/conan/w/prod/BuildSingleReference/.conan/data/watcher/0.5.3/_/_/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9/include/watcher/adapter/linux/fanotify/watch.hpp: In function 'bool wtr::watcher::detail::adapter::fanotify::{anonymous}::do_path_mark_remove(const std::filesystem::__cxx11::path&, int, wtr::watcher::detail::adapter::fanotify::{anonymous}::path_mark_container_type&)': /home/conan/w/prod/BuildSingleReference/.conan/data/watcher/0.5.3/_/_/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9/include/watcher/adapter/linux/fanotify/watch.hpp:159:38: error: 'FAN_CREATE' was not declared in this scope; did you mean 'DN_CREATE'? 159 | FAN_ONDIR | FAN_CREATE | FAN_MODIFY | FAN_DELETE | ^~~~~~~~~~ | DN_CREATE /home/conan/w/prod/BuildSingleReference/.conan/data/watcher/0.5.3/_/_/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9/include/watcher/adapter/linux/fanotify/watch.hpp:159:64: error: 'FAN_DELETE' was not declared in this scope; did you mean 'IN_DELETE'? 159 | FAN_ONDIR | FAN_CREATE | FAN_MODIFY | FAN_DELETE | ^~~~~~~~~~ | IN_DELETE /home/conan/w/prod/BuildSingleReference/.conan/data/watcher/0.5.3/_/_/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9/include/watcher/adapter/linux/fanotify/watch.hpp:160:32: error: 'FAN_MOVE' was not declared in this scope; did you mean 'IN_MOVE'? 160 | | FAN_MOVE | FAN_DELETE_SELF | FAN_MOVE_SELF, | ^~~~~~~~ | IN_MOVE /home/conan/w/prod/BuildSingleReference/.conan/data/watcher/0.5.3/_/_/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9/include/watcher/adapter/linux/fanotify/watch.hpp:160:43: error: 'FAN_DELETE_SELF' was not declared in this scope; did you mean 'IN_DELETE_SELF'? 160 | | FAN_MOVE | FAN_DELETE_SELF | FAN_MOVE_SELF, | ^~~~~~~~~~~~~~~ | IN_DELETE_SELF /home/conan/w/prod/BuildSingleReference/.conan/data/watcher/0.5.3/_/_/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9/include/watcher/adapter/linux/fanotify/watch.hpp:160:61: error: 'FAN_MOVE_SELF' was not declared in this scope; did you mean 'IN_MOVE_SELF'? 160 | | FAN_MOVE | FAN_DELETE_SELF | FAN_MOVE_SELF, | ^~~~~~~~~~~~~ | IN_MOVE_SELF /home/conan/w/prod/BuildSingleReference/.conan/data/watcher/0.5.3/_/_/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9/include/watcher/adapter/linux/fanotify/watch.hpp: In function 'wtr::watcher::detail::adapter::fanotify::{anonymous}::sys_resource_type wtr::watcher::detail::adapter::fanotify::{anonymous}::do_sys_resource_create(const std::filesystem::__cxx11::path&, const callback&)': /home/conan/w/prod/BuildSingleReference/.conan/data/watcher/0.5.3/_/_/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9/include/watcher/adapter/linux/fanotify/watch.hpp:257:25: error: 'FAN_REPORT_DFID_NAME' was not declared in this scope 257 | | FAN_REPORT_DFID_NAME | ^~~~~~~~~~~~~~~~~~~~ /home/conan/w/prod/BuildSingleReference/.conan/data/watcher/0.5.3/_/_/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9/include/watcher/adapter/linux/fanotify/watch.hpp: In function 'std::optional wtr::watcher::detail::adapter::fanotify::{anonymous}::lift_event_path(wtr::watcher::detail::adapter::fanotify::{anonymous}::sys_resource_type&, const __u64&, const auto:21&, const std::filesystem::__cxx11::path&, const callback&)': /home/conan/w/prod/BuildSingleReference/.conan/data/watcher/0.5.3/_/_/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9/include/watcher/adapter/linux/fanotify/watch.hpp:461:18: error: 'FAN_CREATE' was not declared in this scope; did you mean 'DN_CREATE'? 461 | if (mask & FAN_CREATE) { | ^~~~~~~~~~ | DN_CREATE /home/conan/w/prod/BuildSingleReference/.conan/data/watcher/0.5.3/_/_/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9/include/watcher/adapter/linux/fanotify/watch.hpp:467:25: error: 'FAN_DELETE' was not declared in this scope; did you mean 'IN_DELETE'? 467 | } else if (mask & FAN_DELETE) { | ^~~~~~~~~~ | IN_DELETE /home/conan/w/prod/BuildSingleReference/.conan/data/watcher/0.5.3/_/_/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9/include/watcher/adapter/linux/fanotify/watch.hpp: In function 'void wtr::watcher::detail::adapter::fanotify::{anonymous}::event_send(const __u64&, const std::optional&, const callback&)': /home/conan/w/prod/BuildSingleReference/.conan/data/watcher/0.5.3/_/_/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9/include/watcher/adapter/linux/fanotify/watch.hpp:490:18: error: 'FAN_CREATE' was not declared in this scope; did you mean 'DN_CREATE'? 490 | if (mask & FAN_CREATE) | ^~~~~~~~~~ | DN_CREATE /home/conan/w/prod/BuildSingleReference/.conan/data/watcher/0.5.3/_/_/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9/include/watcher/adapter/linux/fanotify/watch.hpp:494:23: error: 'FAN_DELETE' was not declared in this scope; did you mean 'IN_DELETE'? 494 | else if (mask & FAN_DELETE) | ^~~~~~~~~~ | IN_DELETE /home/conan/w/prod/BuildSingleReference/.conan/data/watcher/0.5.3/_/_/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9/include/watcher/adapter/linux/fanotify/watch.hpp:496:23: error: 'FAN_MOVED_FROM' was not declared in this scope; did you mean 'IN_MOVED_FROM'? 496 | else if (mask & FAN_MOVED_FROM) | ^~~~~~~~~~~~~~ | IN_MOVED_FROM /home/conan/w/prod/BuildSingleReference/.conan/data/watcher/0.5.3/_/_/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9/include/watcher/adapter/linux/fanotify/watch.hpp:498:23: error: 'FAN_MOVED_TO' was not declared in this scope; did you mean 'IN_MOVED_TO'? 498 | else if (mask & FAN_MOVED_TO) | ^~~~~~~~~~~~ | IN_MOVED_TO /home/conan/w/prod/BuildSingleReference/.conan/data/watcher/0.5.3/_/_/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9/include/watcher/adapter/linux/fanotify/watch.hpp:504:18: error: 'FAN_CREATE' was not declared in this scope; did you mean 'DN_CREATE'? 504 | if (mask & FAN_CREATE) | ^~~~~~~~~~ | DN_CREATE /home/conan/w/prod/BuildSingleReference/.conan/data/watcher/0.5.3/_/_/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9/include/watcher/adapter/linux/fanotify/watch.hpp:508:23: error: 'FAN_DELETE' was not declared in this scope; did you mean 'IN_DELETE'? 508 | else if (mask & FAN_DELETE) | ^~~~~~~~~~ | IN_DELETE /home/conan/w/prod/BuildSingleReference/.conan/data/watcher/0.5.3/_/_/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9/include/watcher/adapter/linux/fanotify/watch.hpp:510:23: error: 'FAN_MOVED_FROM' was not declared in this scope; did you mean 'IN_MOVED_FROM'? 510 | else if (mask & FAN_MOVED_FROM) | ^~~~~~~~~~~~~~ | IN_MOVED_FROM /home/conan/w/prod/BuildSingleReference/.conan/data/watcher/0.5.3/_/_/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9/include/watcher/adapter/linux/fanotify/watch.hpp:512:23: error: 'FAN_MOVED_TO' was not declared in this scope; did you mean 'IN_MOVED_TO'? 512 | else if (mask & FAN_MOVED_TO) | ^~~~~~~~~~~~ | IN_MOVED_TO /home/conan/w/prod/BuildSingleReference/.conan/data/watcher/0.5.3/_/_/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9/include/watcher/adapter/linux/fanotify/watch.hpp: In function 'bool wtr::watcher::detail::adapter::fanotify::{anonymous}::do_event_recv(wtr::watcher::detail::adapter::fanotify::{anonymous}::sys_resource_type&, const std::filesystem::__cxx11::path&, const callback&)': /home/conan/w/prod/BuildSingleReference/.conan/data/watcher/0.5.3/_/_/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9/include/watcher/adapter/linux/fanotify/watch.hpp:560:19: error: 'fanotify_event_info_fid' was not declared in this scope 560 | if (((fanotify_event_info_fid*)(metadata + 1))->hdr.info_type | ^~~~~~~~~~~~~~~~~~~~~~~ /home/conan/w/prod/BuildSingleReference/.conan/data/watcher/0.5.3/_/_/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9/include/watcher/adapter/linux/fanotify/watch.hpp:560:43: error: expected primary-expression before ')' token 560 | if (((fanotify_event_info_fid*)(metadata + 1))->hdr.info_type | ^ /home/conan/w/prod/BuildSingleReference/.conan/data/watcher/0.5.3/_/_/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9/include/watcher/adapter/linux/fanotify/watch.hpp:561:20: error: 'FAN_EVENT_INFO_TYPE_DFID_NAME' was not declared in this scope 561 | == FAN_EVENT_INFO_TYPE_DFID_NAME) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/conan/w/prod/BuildSingleReference/.conan/data/watcher/0.5.3/_/_/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9/include/watcher/adapter/linux/fanotify/watch.hpp:571:61: error: expected primary-expression before ')' token 571 | ((fanotify_event_info_fid*)(metadata + 1)), | ^ 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 watcher/0.5.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 watcher/0.5.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: watcher/0.5.3 (test package): Error in build() method, line 21 cmake.build() ConanException: Error 2 while executing cmake --build "/home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/watcher/all/test_package/build/Release" '--' '-j3' ******************************************************************************** conan test conan-center-index/recipes/watcher/all/test_v1_package/conanfile.py watcher/0.5.3@#c6f2661820f6176389d2ca6255e80e49 -pr /home/conan/w/prod/BuildSingleReference/146662/8625f688-d388-48ee-b6ea-fc67f7a565a4/profile_linux_11_libstdcpp11_gcc_release_64..txt -c tools.system.package_manager:mode=install -c tools.system.package_manager:sudo=True ******************************************************************************** Configuration: [settings] arch=x86_64 build_type=Release compiler=gcc compiler.libcxx=libstdc++11 compiler.version=11 os=Linux [options] [build_requires] [env] [conf] tools.system.package_manager:mode=install tools.system.package_manager:sudo=True watcher/0.5.3 (test package): Installing package Requirements watcher/0.5.3 from local cache - Cache Packages watcher/0.5.3:5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9 - Cache Installing (downloading, building) binaries... watcher/0.5.3: Already installed! watcher/0.5.3 (test package): Generator txt created conanbuildinfo.txt watcher/0.5.3 (test package): Generator cmake created conanbuildinfo.cmake watcher/0.5.3 (test package): Generator cmake_find_package_multi created watcher-config-version.cmake watcher/0.5.3 (test package): Generator cmake_find_package_multi created watcher-config.cmake watcher/0.5.3 (test package): Generator cmake_find_package_multi created watcherTargets.cmake watcher/0.5.3 (test package): Generator cmake_find_package_multi created watcherTarget-release.cmake watcher/0.5.3 (test package): Aggregating env generators watcher/0.5.3 (test package): Generated conaninfo.txt watcher/0.5.3 (test package): Generated graphinfo Using lockfile: '/home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/watcher/all/test_v1_package/build/589b7874e099a6449e909813e4cb5f3f7336fe46/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 watcher/0.5.3 (test package): Calling build() ----Running------ > cd '/home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/watcher/all/test_v1_package/build/589b7874e099a6449e909813e4cb5f3f7336fe46' && cmake -G "Unix Makefiles" -DCMAKE_BUILD_TYPE="Release" -DCONAN_IN_LOCAL_CACHE="OFF" -DCONAN_COMPILER="gcc" -DCONAN_COMPILER_VERSION="11" -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/watcher/all/test_v1_package/build/589b7874e099a6449e909813e4cb5f3f7336fe46/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/watcher/all/test_v1_package/build/589b7874e099a6449e909813e4cb5f3f7336fe46" -DCMAKE_MODULE_PATH="/home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/watcher/all/test_v1_package/build/589b7874e099a6449e909813e4cb5f3f7336fe46" -DCMAKE_EXPORT_NO_PACKAGE_REGISTRY="ON" -DCONAN_EXPORTED="1" -Wno-dev '/home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/watcher/all/test_v1_package' ----------------- -- The CXX compiler identification is GNU 11.1.0 -- Check for working CXX compiler: /usr/local/bin/c++ -- Check for working CXX compiler: /usr/local/bin/c++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Detecting CXX compile features -- Detecting CXX compile features - done -- Conan: called by CMake conan helper -- Conan: Adjusting output directories -- Conan: Using cmake targets configuration -- Conan: Adjusting default RPATHs Conan policies -- Conan: Adjusting language standard -- Conan: Compiler GCC>=5, checking major version 11 -- Conan: Checking correct version: 11 -- Conan: C++ stdlib: libstdc++11 -- Looking for C++ include pthread.h -- Looking for C++ include pthread.h - found -- Performing Test CMAKE_HAVE_LIBC_PTHREAD -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed -- Looking for pthread_create in pthreads -- Looking for pthread_create in pthreads - not found -- Looking for pthread_create in pthread -- Looking for pthread_create in pthread - found -- Found Threads: TRUE -- Configuring done -- Generating done -- Build files have been written to: /home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/watcher/all/test_v1_package/build/589b7874e099a6449e909813e4cb5f3f7336fe46 ----Running------ > cmake --build '/home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/watcher/all/test_v1_package/build/589b7874e099a6449e909813e4cb5f3f7336fe46' '--' '-j3' ----------------- Scanning dependencies of target test_package [ 50%] Building CXX object test_package/CMakeFiles/test_package.dir/test_package.cpp.o test_package/CMakeFiles/test_package.dir/build.make:62: recipe for target 'test_package/CMakeFiles/test_package.dir/test_package.cpp.o' failed CMakeFiles/Makefile2:93: recipe for target 'test_package/CMakeFiles/test_package.dir/all' failed Makefile:83: 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/data/watcher/0.5.3/_/_/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9/include/watcher/watcher.hpp:15, from /home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/watcher/all/test_package/test_package.cpp:5: /home/conan/w/prod/BuildSingleReference/.conan/data/watcher/0.5.3/_/_/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9/include/watcher/adapter/linux/fanotify/watch.hpp: In function 'bool wtr::watcher::detail::adapter::fanotify::{anonymous}::do_path_mark_add(const std::filesystem::__cxx11::path&, int, wtr::watcher::detail::adapter::fanotify::{anonymous}::path_mark_container_type&)': /home/conan/w/prod/BuildSingleReference/.conan/data/watcher/0.5.3/_/_/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9/include/watcher/adapter/linux/fanotify/watch.hpp:144:38: error: 'FAN_CREATE' was not declared in this scope; did you mean 'DN_CREATE'? 144 | FAN_ONDIR | FAN_CREATE | FAN_MODIFY | FAN_DELETE | ^~~~~~~~~~ | DN_CREATE /home/conan/w/prod/BuildSingleReference/.conan/data/watcher/0.5.3/_/_/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9/include/watcher/adapter/linux/fanotify/watch.hpp:144:64: error: 'FAN_DELETE' was not declared in this scope; did you mean 'IN_DELETE'? 144 | FAN_ONDIR | FAN_CREATE | FAN_MODIFY | FAN_DELETE | ^~~~~~~~~~ | IN_DELETE /home/conan/w/prod/BuildSingleReference/.conan/data/watcher/0.5.3/_/_/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9/include/watcher/adapter/linux/fanotify/watch.hpp:145:32: error: 'FAN_MOVE' was not declared in this scope; did you mean 'IN_MOVE'? 145 | | FAN_MOVE | FAN_DELETE_SELF | FAN_MOVE_SELF, | ^~~~~~~~ | IN_MOVE /home/conan/w/prod/BuildSingleReference/.conan/data/watcher/0.5.3/_/_/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9/include/watcher/adapter/linux/fanotify/watch.hpp:145:43: error: 'FAN_DELETE_SELF' was not declared in this scope; did you mean 'IN_DELETE_SELF'? 145 | | FAN_MOVE | FAN_DELETE_SELF | FAN_MOVE_SELF, | ^~~~~~~~~~~~~~~ | IN_DELETE_SELF /home/conan/w/prod/BuildSingleReference/.conan/data/watcher/0.5.3/_/_/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9/include/watcher/adapter/linux/fanotify/watch.hpp:145:61: error: 'FAN_MOVE_SELF' was not declared in this scope; did you mean 'IN_MOVE_SELF'? 145 | | FAN_MOVE | FAN_DELETE_SELF | FAN_MOVE_SELF, | ^~~~~~~~~~~~~ | IN_MOVE_SELF /home/conan/w/prod/BuildSingleReference/.conan/data/watcher/0.5.3/_/_/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9/include/watcher/adapter/linux/fanotify/watch.hpp: In function 'bool wtr::watcher::detail::adapter::fanotify::{anonymous}::do_path_mark_remove(const std::filesystem::__cxx11::path&, int, wtr::watcher::detail::adapter::fanotify::{anonymous}::path_mark_container_type&)': /home/conan/w/prod/BuildSingleReference/.conan/data/watcher/0.5.3/_/_/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9/include/watcher/adapter/linux/fanotify/watch.hpp:159:38: error: 'FAN_CREATE' was not declared in this scope; did you mean 'DN_CREATE'? 159 | FAN_ONDIR | FAN_CREATE | FAN_MODIFY | FAN_DELETE | ^~~~~~~~~~ | DN_CREATE /home/conan/w/prod/BuildSingleReference/.conan/data/watcher/0.5.3/_/_/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9/include/watcher/adapter/linux/fanotify/watch.hpp:159:64: error: 'FAN_DELETE' was not declared in this scope; did you mean 'IN_DELETE'? 159 | FAN_ONDIR | FAN_CREATE | FAN_MODIFY | FAN_DELETE | ^~~~~~~~~~ | IN_DELETE /home/conan/w/prod/BuildSingleReference/.conan/data/watcher/0.5.3/_/_/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9/include/watcher/adapter/linux/fanotify/watch.hpp:160:32: error: 'FAN_MOVE' was not declared in this scope; did you mean 'IN_MOVE'? 160 | | FAN_MOVE | FAN_DELETE_SELF | FAN_MOVE_SELF, | ^~~~~~~~ | IN_MOVE /home/conan/w/prod/BuildSingleReference/.conan/data/watcher/0.5.3/_/_/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9/include/watcher/adapter/linux/fanotify/watch.hpp:160:43: error: 'FAN_DELETE_SELF' was not declared in this scope; did you mean 'IN_DELETE_SELF'? 160 | | FAN_MOVE | FAN_DELETE_SELF | FAN_MOVE_SELF, | ^~~~~~~~~~~~~~~ | IN_DELETE_SELF /home/conan/w/prod/BuildSingleReference/.conan/data/watcher/0.5.3/_/_/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9/include/watcher/adapter/linux/fanotify/watch.hpp:160:61: error: 'FAN_MOVE_SELF' was not declared in this scope; did you mean 'IN_MOVE_SELF'? 160 | | FAN_MOVE | FAN_DELETE_SELF | FAN_MOVE_SELF, | ^~~~~~~~~~~~~ | IN_MOVE_SELF /home/conan/w/prod/BuildSingleReference/.conan/data/watcher/0.5.3/_/_/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9/include/watcher/adapter/linux/fanotify/watch.hpp: In function 'wtr::watcher::detail::adapter::fanotify::{anonymous}::sys_resource_type wtr::watcher::detail::adapter::fanotify::{anonymous}::do_sys_resource_create(const std::filesystem::__cxx11::path&, const callback&)': /home/conan/w/prod/BuildSingleReference/.conan/data/watcher/0.5.3/_/_/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9/include/watcher/adapter/linux/fanotify/watch.hpp:257:25: error: 'FAN_REPORT_DFID_NAME' was not declared in this scope 257 | | FAN_REPORT_DFID_NAME | ^~~~~~~~~~~~~~~~~~~~ /home/conan/w/prod/BuildSingleReference/.conan/data/watcher/0.5.3/_/_/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9/include/watcher/adapter/linux/fanotify/watch.hpp: In function 'std::optional wtr::watcher::detail::adapter::fanotify::{anonymous}::lift_event_path(wtr::watcher::detail::adapter::fanotify::{anonymous}::sys_resource_type&, const __u64&, const auto:21&, const std::filesystem::__cxx11::path&, const callback&)': /home/conan/w/prod/BuildSingleReference/.conan/data/watcher/0.5.3/_/_/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9/include/watcher/adapter/linux/fanotify/watch.hpp:461:18: error: 'FAN_CREATE' was not declared in this scope; did you mean 'DN_CREATE'? 461 | if (mask & FAN_CREATE) { | ^~~~~~~~~~ | DN_CREATE /home/conan/w/prod/BuildSingleReference/.conan/data/watcher/0.5.3/_/_/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9/include/watcher/adapter/linux/fanotify/watch.hpp:467:25: error: 'FAN_DELETE' was not declared in this scope; did you mean 'IN_DELETE'? 467 | } else if (mask & FAN_DELETE) { | ^~~~~~~~~~ | IN_DELETE /home/conan/w/prod/BuildSingleReference/.conan/data/watcher/0.5.3/_/_/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9/include/watcher/adapter/linux/fanotify/watch.hpp: In function 'void wtr::watcher::detail::adapter::fanotify::{anonymous}::event_send(const __u64&, const std::optional&, const callback&)': /home/conan/w/prod/BuildSingleReference/.conan/data/watcher/0.5.3/_/_/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9/include/watcher/adapter/linux/fanotify/watch.hpp:490:18: error: 'FAN_CREATE' was not declared in this scope; did you mean 'DN_CREATE'? 490 | if (mask & FAN_CREATE) | ^~~~~~~~~~ | DN_CREATE /home/conan/w/prod/BuildSingleReference/.conan/data/watcher/0.5.3/_/_/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9/include/watcher/adapter/linux/fanotify/watch.hpp:494:23: error: 'FAN_DELETE' was not declared in this scope; did you mean 'IN_DELETE'? 494 | else if (mask & FAN_DELETE) | ^~~~~~~~~~ | IN_DELETE /home/conan/w/prod/BuildSingleReference/.conan/data/watcher/0.5.3/_/_/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9/include/watcher/adapter/linux/fanotify/watch.hpp:496:23: error: 'FAN_MOVED_FROM' was not declared in this scope; did you mean 'IN_MOVED_FROM'? 496 | else if (mask & FAN_MOVED_FROM) | ^~~~~~~~~~~~~~ | IN_MOVED_FROM /home/conan/w/prod/BuildSingleReference/.conan/data/watcher/0.5.3/_/_/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9/include/watcher/adapter/linux/fanotify/watch.hpp:498:23: error: 'FAN_MOVED_TO' was not declared in this scope; did you mean 'IN_MOVED_TO'? 498 | else if (mask & FAN_MOVED_TO) | ^~~~~~~~~~~~ | IN_MOVED_TO /home/conan/w/prod/BuildSingleReference/.conan/data/watcher/0.5.3/_/_/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9/include/watcher/adapter/linux/fanotify/watch.hpp:504:18: error: 'FAN_CREATE' was not declared in this scope; did you mean 'DN_CREATE'? 504 | if (mask & FAN_CREATE) | ^~~~~~~~~~ | DN_CREATE /home/conan/w/prod/BuildSingleReference/.conan/data/watcher/0.5.3/_/_/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9/include/watcher/adapter/linux/fanotify/watch.hpp:508:23: error: 'FAN_DELETE' was not declared in this scope; did you mean 'IN_DELETE'? 508 | else if (mask & FAN_DELETE) | ^~~~~~~~~~ | IN_DELETE /home/conan/w/prod/BuildSingleReference/.conan/data/watcher/0.5.3/_/_/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9/include/watcher/adapter/linux/fanotify/watch.hpp:510:23: error: 'FAN_MOVED_FROM' was not declared in this scope; did you mean 'IN_MOVED_FROM'? 510 | else if (mask & FAN_MOVED_FROM) | ^~~~~~~~~~~~~~ | IN_MOVED_FROM /home/conan/w/prod/BuildSingleReference/.conan/data/watcher/0.5.3/_/_/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9/include/watcher/adapter/linux/fanotify/watch.hpp:512:23: error: 'FAN_MOVED_TO' was not declared in this scope; did you mean 'IN_MOVED_TO'? 512 | else if (mask & FAN_MOVED_TO) | ^~~~~~~~~~~~ | IN_MOVED_TO /home/conan/w/prod/BuildSingleReference/.conan/data/watcher/0.5.3/_/_/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9/include/watcher/adapter/linux/fanotify/watch.hpp: In function 'bool wtr::watcher::detail::adapter::fanotify::{anonymous}::do_event_recv(wtr::watcher::detail::adapter::fanotify::{anonymous}::sys_resource_type&, const std::filesystem::__cxx11::path&, const callback&)': /home/conan/w/prod/BuildSingleReference/.conan/data/watcher/0.5.3/_/_/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9/include/watcher/adapter/linux/fanotify/watch.hpp:560:19: error: 'fanotify_event_info_fid' was not declared in this scope 560 | if (((fanotify_event_info_fid*)(metadata + 1))->hdr.info_type | ^~~~~~~~~~~~~~~~~~~~~~~ /home/conan/w/prod/BuildSingleReference/.conan/data/watcher/0.5.3/_/_/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9/include/watcher/adapter/linux/fanotify/watch.hpp:560:43: error: expected primary-expression before ')' token 560 | if (((fanotify_event_info_fid*)(metadata + 1))->hdr.info_type | ^ /home/conan/w/prod/BuildSingleReference/.conan/data/watcher/0.5.3/_/_/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9/include/watcher/adapter/linux/fanotify/watch.hpp:561:20: error: 'FAN_EVENT_INFO_TYPE_DFID_NAME' was not declared in this scope 561 | == FAN_EVENT_INFO_TYPE_DFID_NAME) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/conan/w/prod/BuildSingleReference/.conan/data/watcher/0.5.3/_/_/package/5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9/include/watcher/adapter/linux/fanotify/watch.hpp:571:61: error: expected primary-expression before ')' token 571 | ((fanotify_event_info_fid*)(metadata + 1)), | ^ make[2]: *** [test_package/CMakeFiles/test_package.dir/test_package.cpp.o] Error 1 make[1]: *** [test_package/CMakeFiles/test_package.dir/all] Error 2 make: *** [all] Error 2 ERROR: watcher/0.5.3 (test package): Error in build() method, line 12 cmake.build() ConanException: Error 2 while executing cmake --build '/home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/watcher/all/test_v1_package/build/589b7874e099a6449e909813e4cb5f3f7336fe46' '--' '-j3'