Running phase: unpackPhase unpacking source archive /nix/store/nmmxl1ai13j7nhyf1khzyakv66j5yj8g-source source root is source Running phase: patchPhase applying patch /nix/store/x0ag56d2hv9c362z15sq2rxarjq5dz6y-allow-regex-pattern-matching.patch patching file .gitlab-ci.yml patching file CMakeLists.txt patching file cmake/StandardProjectSettings.cmake patching file include/core/rules.hpp patching file install-deps.sh patching file src/rules.cpp patching file src/tests/CMakeLists.txt patching file src/tests/unit-utility.cpp patching file include/utility/regex_utils.hpp patching file src/regex_utils.cpp applying patch /nix/store/ygnzmpz15j185n09r6gmc9hfd1c5dmb6-match-wrappers.patch patching file src/worker.cpp applying patch /nix/store/1zcm1njizcg2fkc14bfp1wnfqf1qqi5x-reliable-mounts-file.patch patching file src/platform/linux/cgroups.cpp Running phase: updateAutotoolsGnuConfigScriptsPhase Running phase: configurePhase fixing cmake files... cmake flags: -DCMAKE_FIND_USE_SYSTEM_PACKAGE_REGISTRY=OFF -DCMAKE_FIND_USE_PACKAGE_REGISTRY=OFF -DCMAKE_EXPORT_NO_PACKAGE_REGISTRY=ON -DCMAKE_BUILD_TYPE=Release -DBUILD_TESTING=OFF -DCMAKE_INSTALL_LOCALEDIR=/nix/store/bkzm3ab38iamay6abm9d4dxlarxg9ryv-ananicy-cpp-1.1.1/share/locale -DCMAKE_INSTALL_LIBEXECDIR=/nix/store/bkzm3ab38iamay6abm9d4dxlarxg9ryv-ananicy-cpp-1.1.1/libexec -DCMAKE_INSTALL_LIBDIR=/nix/store/bkzm3ab38iamay6abm9d4dxlarxg9ryv-ananicy-cpp-1.1.1/lib -DCMAKE_INSTALL_DOCDIR=/nix/store/bkzm3ab38iamay6abm9d4dxlarxg9ryv-ananicy-cpp-1.1.1/share/doc/ananicy-cpp -DCMAKE_INSTALL_INFODIR=/nix/store/bkzm3ab38iamay6abm9d4dxlarxg9ryv-ananicy-cpp-1.1.1/share/info -DCMAKE_INSTALL_MANDIR=/nix/store/bkzm3ab38iamay6abm9d4dxlarxg9ryv-ananicy-cpp-1.1.1/share/man -DCMAKE_INSTALL_OLDINCLUDEDIR=/nix/store/bkzm3ab38iamay6abm9d4dxlarxg9ryv-ananicy-cpp-1.1.1/include -DCMAKE_INSTALL_INCLUDEDIR=/nix/store/bkzm3ab38iamay6abm9d4dxlarxg9ryv-ananicy-cpp-1.1.1/include -DCMAKE_INSTALL_SBINDIR=/nix/store/bkzm3ab38iamay6abm9d4dxlarxg9ryv-ananicy-cpp-1.1.1/sbin -DCMAKE_INSTALL_BINDIR=/nix/store/bkzm3ab38iamay6abm9d4dxlarxg9ryv-ananicy-cpp-1.1.1/bin -DCMAKE_INSTALL_NAME_DIR=/nix/store/bkzm3ab38iamay6abm9d4dxlarxg9ryv-ananicy-cpp-1.1.1/lib -DCMAKE_POLICY_DEFAULT_CMP0025=NEW -DCMAKE_FIND_FRAMEWORK=LAST -DCMAKE_STRIP=/nix/store/xl0vlc2wdchfbq8536zs19pj2r3xdmma-clang-wrapper-19.1.5/bin/strip -DCMAKE_RANLIB=/nix/store/xl0vlc2wdchfbq8536zs19pj2r3xdmma-clang-wrapper-19.1.5/bin/ranlib -DCMAKE_AR=/nix/store/xl0vlc2wdchfbq8536zs19pj2r3xdmma-clang-wrapper-19.1.5/bin/ar -DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang++ -DCMAKE_INSTALL_PREFIX=/nix/store/bkzm3ab38iamay6abm9d4dxlarxg9ryv-ananicy-cpp-1.1.1 -DBPF_BUILD_LIBBPF:BOOL=FALSE -DENABLE_REGEX_SUPPORT:BOOL=TRUE -DENABLE_SYSTEMD:BOOL=TRUE -DUSE_BPF_PROC_IMPL:BOOL=TRUE -DUSE_EXTERNAL_FMTLIB:BOOL=TRUE -DUSE_EXTERNAL_JSON:BOOL=TRUE -DUSE_EXTERNAL_SPDLOG:BOOL=TRUE -DVERSION:STRING=1.1.1 Version: 1.1.1 -- version for cmake: 1.1.1 -- The CXX compiler identification is Clang 19.1.5 -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: /nix/store/xl0vlc2wdchfbq8536zs19pj2r3xdmma-clang-wrapper-19.1.5/bin/clang++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- Checking compiler flags support -- Performing Test CXX_ACCEPTS_G3 -- Performing Test CXX_ACCEPTS_G3 - Success -- Performing Test CXX_ACCEPTS_G -- Performing Test CXX_ACCEPTS_G - Success -- Performing Test CXX_ACCEPTS_OG -- Performing Test CXX_ACCEPTS_OG - Success -- Performing Test CXX_ACCEPTS_MARCH_NATIVE -- Performing Test CXX_ACCEPTS_MARCH_NATIVE - Success -- Performing Test CXX_ACCEPTS_THIN_LTO -- Performing Test CXX_ACCEPTS_THIN_LTO - Failed -- Performing Test CXX_ACCEPTS_WHPR_VTABLE -- Performing Test CXX_ACCEPTS_WHPR_VTABLE - Failed -- Performing Test CXX_ACCEPTS_STRICT_VTABLE -- Performing Test CXX_ACCEPTS_STRICT_VTABLE - Success -- [ccache] Disabled. -- [cppcheck] Disabled. -- [clang-tidy] Disabled. -- [iwyu] Disabled. CMake Warning at cmake/CPM.cmake:61 (message): Your project is using an unstable development version of CPM.cmake. Please update to a recent release if possible. See https://github.com/cpm-cmake/CPM.cmake for details. Call Stack (most recent call first): CMakeLists.txt:18 (include) -- Linux system detected, adding specific sources files -- Configuring threads -- [threads] Performing Test CMAKE_HAVE_LIBC_PTHREAD -- [threads] Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success -- [threads] Found Threads: TRUE -- Configuring nlohmann_json -- [nlohmann_json] Found nlohmann_json: /nix/store/75a52g5kjbx98i6srxvl3prbpkhndjci-nlohmann_json-3.11.3/share/cmake/nlohmann_json/nlohmann_jsonConfig.cmake (found suitable version "3.11.3", minimum required is "3.9") -- [fmtlib] Configuring fmtlib [fmtlib] Using external fmtlib -- [pcre2] Configuring pcre2 -- [pcre2] Found PkgConfig: /nix/store/0d4m43yp69lrm8imxbqgl9zxjwwz52jw-pkg-config-wrapper-0.29.2/bin/pkg-config (found version "0.29.2") -- [pcre2] Checking for module 'libpcre2-8' -- [pcre2] Found libpcre2-8, version 10.44 -- [spdlog] Configuring spdlog [spdlog] Using external spdlog -- Configuring systemd -- The C compiler identification is Clang 19.1.5 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /nix/store/xl0vlc2wdchfbq8536zs19pj2r3xdmma-clang-wrapper-19.1.5/bin/clang - skipped -- Detecting C compile features -- Detecting C compile features - done -- Found clang version: 19.1.5 -- Found LibBpf: /nix/store/7x2jlhj9wjjg4b5azjyphkl853c142ri-libbpf-1.4.7/lib/libbpf.so -- Found BpfObject: /nix/store/19rv2vl9dnxyxa9r76k7kj3jhkfr6bml-bpftools-6.12/bin/bpftool -- BPF system include flags: -idirafter /nix/store/nd72mapx3gzc789k06gyz2wl20q3jj8m-compiler-rt-libc-19.1.5-dev/include -idirafter /nix/store/jwrmbs5kcc92wv824xhxpypcj1iihl83-pcre2-10.44-dev/include -idirafter /nix/store/f9b0zf1ff2h2jhvcddllp1hjwhnfsyi7-spdlog-1.14.1-dev/include -idirafter /nix/store/bidr7f7bayhc3ixfpckrl43rmlkkf4vx-fmt-10.2.1-dev/include -idirafter /nix/store/75a52g5kjbx98i6srxvl3prbpkhndjci-nlohmann_json-3.11.3/include -idirafter /nix/store/ixwyfddsia31qxchy5rjm3nz0j0f4011-systemd-256.8-dev/include -idirafter /nix/store/1lggwqzapn5mn49l9zy4h566ysv9kzdb-zlib-1.3.1-dev/include -idirafter /nix/store/7x2jlhj9wjjg4b5azjyphkl853c142ri-libbpf-1.4.7/include -idirafter /nix/store/wk9dg3asb56f6kdi6v6hxrh03shick2d-elfutils-0.192-dev/include -idirafter /nix/store/xl0vlc2wdchfbq8536zs19pj2r3xdmma-clang-wrapper-19.1.5/resource-root/include -idirafter /nix/store/kj8hbqx4ds9qm9mq7hyikxyfwwg13kzj-glibc-2.40-36-dev/include -- BPF target arch: x86 -- Configuring done (7.9s) -- Generating done (0.0s) CMake Warning: Manually-specified variables were not used by the project: BUILD_TESTING CMAKE_EXPORT_NO_PACKAGE_REGISTRY CMAKE_POLICY_DEFAULT_CMP0025 -- Build files have been written to: /build/source/build cmake: enabled parallel building cmake: enabled parallel installing Running phase: buildPhase build flags: -j2 SHELL=/nix/store/5mh7kaj2fyv8mk4sfq1brwxgc02884wi-bash-5.2p37/bin/bash [ 4%] [clang] Building BPF object: ananicy_cpp clang: warning: argument unused during compilation: '--gcc-toolchain=/nix/store/l89iqc7am6i60y8vk507zwrzxf0wcd3v-gcc-14-20241116' [-Wunused-command-line-argument] [ 8%] [skel] Building BPF skeleton: ananicy_cpp [ 12%] Building C object libananicycpp_bpf/CMakeFiles/ananicy_cpp_bpf_c.dir/src/btf_helpers.c.o [ 16%] Building C object libananicycpp_bpf/CMakeFiles/ananicy_cpp_bpf_c.dir/src/bpf_program_utils.c.o [ 20%] Building C object libananicycpp_bpf/CMakeFiles/ananicy_cpp_bpf_c.dir/src/trace_helpers.c.o [ 25%] Building C object libananicycpp_bpf/CMakeFiles/ananicy_cpp_bpf_c.dir/src/uprobe_helpers.c.o [ 29%] Linking C static library libananicy_cpp_bpf_c.a [ 29%] Built target ananicy_cpp_bpf_c [ 33%] Building CXX object CMakeFiles/ananicy-cpp.dir/src/main.cpp.o [ 37%] Building CXX object CMakeFiles/ananicy-cpp.dir/src/utils.cpp.o [ 41%] Building CXX object CMakeFiles/ananicy-cpp.dir/src/rules.cpp.o In file included from /build/source/src/main.cpp:7: In file included from /build/source/include/core/process.hpp:13: In file included from /build/source/include/utility/synchronized_queue.hpp:15: /build/source/include/utility/atomic_queue/atomic_queue.h:396:31: error: a template argument list is expected after a name prefixed by the template keyword [-Wmissing-template-arg-list-after-template-kw] 396 | return Base::template do_pop_any(states_[index], elements_[index]); | ^ /build/source/include/utility/atomic_queue/atomic_queue.h:402:24: error: a template argument list is expected after a name prefixed by the template keyword [-Wmissing-template-arg-list-after-template-kw] 402 | Base::template do_push_any(std::forward(element), states_[index], elements_[index]); | ^ /build/source/include/utility/atomic_queue/atomic_queue.h:524:31: error: a template argument list is expected after a name prefixed by the template keyword [-Wmissing-template-arg-list-after-template-kw] 524 | return Base::template do_pop_any(states_[index], elements_[index]); | ^ /build/source/include/utility/atomic_queue/atomic_queue.h:530:24: error: a template argument list is expected after a name prefixed by the template keyword [-Wmissing-template-arg-list-after-template-kw] 530 | Base::template do_push_any(std::forward(element), states_[index], elements_[index]); | ^ 4 errors generated. make[2]: *** [CMakeFiles/ananicy-cpp.dir/build.make:76: CMakeFiles/ananicy-cpp.dir/src/main.cpp.o] Error 1 make[2]: *** Waiting for unfinished jobs.... make[1]: *** [CMakeFiles/Makefile2:100: CMakeFiles/ananicy-cpp.dir/all] Error 2 make: *** [Makefile:136: all] Error 2