Running phase: unpackPhase unpacking source archive /nix/store/nx52b0ni5x735ifigq53whb2qrm1ms82-source source root is source Running phase: patchPhase applying patch /nix/store/jwhacqx088cj8bsy566f9197zwggs5km-5fcedeb506b7d47dd7bab35797f2c3f23db6fe10.patch patching file prom/CMakeLists.txt applying patch /nix/store/karlwcmlzva7f9h9y90nqrjah07jg6yl-0c15e7e45ad0c3726593591fdd7d8f2fde845fe3.patch patching file prom/CMakeLists.txt patching file promhttp/CMakeLists.txt 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/j527k0zlzlkwg165jknwig4wxdaqw0nq-libpromhttp-0.1.1/share/locale -DCMAKE_INSTALL_LIBEXECDIR=/nix/store/j527k0zlzlkwg165jknwig4wxdaqw0nq-libpromhttp-0.1.1/libexec -DCMAKE_INSTALL_LIBDIR=/nix/store/j527k0zlzlkwg165jknwig4wxdaqw0nq-libpromhttp-0.1.1/lib -DCMAKE_INSTALL_DOCDIR=/nix/store/j527k0zlzlkwg165jknwig4wxdaqw0nq-libpromhttp-0.1.1/share/doc/libpromhttp -DCMAKE_INSTALL_INFODIR=/nix/store/j527k0zlzlkwg165jknwig4wxdaqw0nq-libpromhttp-0.1.1/share/info -DCMAKE_INSTALL_MANDIR=/nix/store/j527k0zlzlkwg165jknwig4wxdaqw0nq-libpromhttp-0.1.1/share/man -DCMAKE_INSTALL_INCLUDEDIR=/nix/store/j527k0zlzlkwg165jknwig4wxdaqw0nq-libpromhttp-0.1.1/include -DCMAKE_INSTALL_SBINDIR=/nix/store/j527k0zlzlkwg165jknwig4wxdaqw0nq-libpromhttp-0.1.1/sbin -DCMAKE_INSTALL_BINDIR=/nix/store/j527k0zlzlkwg165jknwig4wxdaqw0nq-libpromhttp-0.1.1/bin -DCMAKE_INSTALL_NAME_DIR=/nix/store/j527k0zlzlkwg165jknwig4wxdaqw0nq-libpromhttp-0.1.1/lib -DCMAKE_POLICY_DEFAULT_CMP0025=NEW -DCMAKE_FIND_FRAMEWORK=LAST -DCMAKE_STRIP=/nix/store/ii75mhh7sxl11167m1b86p0qrjsjyjmd-gcc-wrapper-14-20241116/bin/strip -DCMAKE_RANLIB=/nix/store/ii75mhh7sxl11167m1b86p0qrjsjyjmd-gcc-wrapper-14-20241116/bin/ranlib -DCMAKE_AR=/nix/store/ii75mhh7sxl11167m1b86p0qrjsjyjmd-gcc-wrapper-14-20241116/bin/ar -DCMAKE_C_COMPILER=gcc -DCMAKE_CXX_COMPILER=g++ -DCMAKE_INSTALL_PREFIX=/nix/store/j527k0zlzlkwg165jknwig4wxdaqw0nq-libpromhttp-0.1.1 -- The C compiler identification is GNU 14.2.1 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /nix/store/ii75mhh7sxl11167m1b86p0qrjsjyjmd-gcc-wrapper-14-20241116/bin/gcc - skipped -- Detecting C compile features -- Detecting C compile features - done -- Performing Test CMAKE_HAVE_LIBC_PTHREAD -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success -- Found Threads: TRUE -- Configuring done (0.6s) -- Generating done (0.0s) CMake Warning: Manually-specified variables were not used by the project: BUILD_TESTING CMAKE_CXX_COMPILER CMAKE_EXPORT_NO_PACKAGE_REGISTRY CMAKE_FIND_USE_PACKAGE_REGISTRY CMAKE_FIND_USE_SYSTEM_PACKAGE_REGISTRY CMAKE_POLICY_DEFAULT_CMP0025 -- Build files have been written to: /build/source/promhttp/build cmake: enabled parallel building cmake: enabled parallel installing Running phase: buildPhase build flags: -j2 SHELL=/nix/store/11ciq72n4fdv8rw6wgjgasfv4mjs1jrw-bash-5.2p37/bin/bash [ 50%] Building C object CMakeFiles/promhttp.dir/src/promhttp.c.o /build/source/promhttp/src/promhttp.c: In function 'promhttp_start_daemon': /build/source/promhttp/src/promhttp.c:77:54: error: passing argument 5 of 'MHD_start_daemon' from incompatible pointer type [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wincompatible-pointer-types-Wincompatible-pointer-types8;;] 77 | return MHD_start_daemon(flags, port, apc, apc_cls, &promhttp_handler, NULL, MHD_OPTION_END); | ^~~~~~~~~~~~~~~~~ | | | int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, size_t *, void **) {aka int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, long unsigned int *, void **)} In file included from /build/source/promhttp/src/promhttp.c:20: /nix/store/sr88av0kz76gbhw3kbfk1sb151bwf28g-libmicrohttpd-1.0.1-dev/include/microhttpd.h:2973:45: note: expected 'MHD_AccessHandlerCallback' {aka 'enum MHD_Result (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, long unsigned int *, void **)'} but argument is of type 'int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, size_t *, void **)' {aka 'int (*)(void *, struct MHD_Connection *, const char *, const char *, const char *, const char *, long unsigned int *, void **)'} 2973 | MHD_AccessHandlerCallback dh, void *dh_cls, | ~~~~~~~~~~~~~~~~~~~~~~~~~~^~ make[2]: *** [CMakeFiles/promhttp.dir/build.make:79: CMakeFiles/promhttp.dir/src/promhttp.c.o] Error 1 make[1]: *** [CMakeFiles/Makefile2:87: CMakeFiles/promhttp.dir/all] Error 2 make: *** [Makefile:156: all] Error 2