Running phase: unpackPhase unpacking source archive /nix/store/1vi9y9zr1wd3ydp2di8gpc4jxhwhvvy0-source source root is source Running phase: patchPhase applying patch /nix/store/2rsm1d511lmkwgcfcyazi0b9qbm5y6r5-01ca5b345c4483add7425785c9c33dfa2c135d63.patch patching file third_party/machinarium/sources/zpq_stream.c 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/w7byy0x1qjlj8ackpjpihnpip3chafgn-odyssey-1.3/share/locale -DCMAKE_INSTALL_LIBEXECDIR=/nix/store/w7byy0x1qjlj8ackpjpihnpip3chafgn-odyssey-1.3/libexec -DCMAKE_INSTALL_LIBDIR=/nix/store/w7byy0x1qjlj8ackpjpihnpip3chafgn-odyssey-1.3/lib -DCMAKE_INSTALL_DOCDIR=/nix/store/w7byy0x1qjlj8ackpjpihnpip3chafgn-odyssey-1.3/share/doc/odyssey -DCMAKE_INSTALL_INFODIR=/nix/store/w7byy0x1qjlj8ackpjpihnpip3chafgn-odyssey-1.3/share/info -DCMAKE_INSTALL_MANDIR=/nix/store/w7byy0x1qjlj8ackpjpihnpip3chafgn-odyssey-1.3/share/man -DCMAKE_INSTALL_INCLUDEDIR=/nix/store/w7byy0x1qjlj8ackpjpihnpip3chafgn-odyssey-1.3/include -DCMAKE_INSTALL_SBINDIR=/nix/store/w7byy0x1qjlj8ackpjpihnpip3chafgn-odyssey-1.3/sbin -DCMAKE_INSTALL_BINDIR=/nix/store/w7byy0x1qjlj8ackpjpihnpip3chafgn-odyssey-1.3/bin -DCMAKE_INSTALL_NAME_DIR=/nix/store/w7byy0x1qjlj8ackpjpihnpip3chafgn-odyssey-1.3/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/w7byy0x1qjlj8ackpjpihnpip3chafgn-odyssey-1.3 -DBUILD_COMPRESSION=ON -DPOSTGRESQL_INCLUDE_DIR=/nix/store/8wy9c1p3m8y0cbf6ww2v7qb1cida5f59-libpq-17.4-dev/include/postgresql/server -DPOSTGRESQL_LIBRARY=/nix/store/c5ai93kdbqp79xvz90jyjjd0j69p320b-libpq-17.4/lib -DPOSTGRESQL_LIBPGPORT=/nix/store/8wy9c1p3m8y0cbf6ww2v7qb1cida5f59-libpq-17.4-dev/lib -- 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 -- Found PostgreSQL: /nix/store/c5ai93kdbqp79xvz90jyjjd0j69p320b-libpq-17.4/lib -- Found OpenSSL: /nix/store/z2g8g76mw8xkyniz5yxnrn8r0gpdckzy-openssl-3.4.1/lib/libcrypto.so (found version "3.4.1") -- Could NOT find PAM (missing: PAM_LIBRARY PAM_INCLUDE_DIR) -- Could NOT find LDAP (missing: LDAP_LIBRARY LDAP_INCLUDE_DIR) CMake Warning (dev) at /nix/store/01dapiw4pjrc9s0166dcyg9xkw0rv01z-cmake-3.31.5/share/cmake-3.31/Modules/FindPackageHandleStandardArgs.cmake:441 (message): The package name passed to `find_package_handle_standard_args` (PROM) does not match the name of the calling package (Prom). This can lead to problems in calling code that expects `find_package` result variables (e.g., `_FOUND`) to follow a certain pattern. Call Stack (most recent call first): cmake/FindProm.cmake:11 (find_package_handle_standard_args) CMakeLists.txt:127 (find_package) This warning is for project developers. Use -Wno-dev to suppress it. -- Could NOT find PROM (missing: PROM_LIBRARY PROM_INCLUDE_DIR) CMake Warning (dev) at /nix/store/01dapiw4pjrc9s0166dcyg9xkw0rv01z-cmake-3.31.5/share/cmake-3.31/Modules/FindPackageHandleStandardArgs.cmake:441 (message): The package name passed to `find_package_handle_standard_args` (PROMHTTP) does not match the name of the calling package (Prom). This can lead to problems in calling code that expects `find_package` result variables (e.g., `_FOUND`) to follow a certain pattern. Call Stack (most recent call first): cmake/FindProm.cmake:20 (find_package_handle_standard_args) CMakeLists.txt:127 (find_package) This warning is for project developers. Use -Wno-dev to suppress it. -- Could NOT find PROMHTTP (missing: PROMHTTP_LIBRARY PROMHTTP_INCLUDE_DIR) CMake Warning (dev) at /nix/store/01dapiw4pjrc9s0166dcyg9xkw0rv01z-cmake-3.31.5/share/cmake-3.31/Modules/FindPackageHandleStandardArgs.cmake:441 (message): The package name passed to `find_package_handle_standard_args` (ZSTD) does not match the name of the calling package (Zstd). This can lead to problems in calling code that expects `find_package` result variables (e.g., `_FOUND`) to follow a certain pattern. Call Stack (most recent call first): cmake/FindZstd.cmake:32 (FIND_PACKAGE_HANDLE_STANDARD_ARGS) CMakeLists.txt:156 (find_package) This warning is for project developers. Use -Wno-dev to suppress it. -- Found ZSTD: /nix/store/afrpj8g7i3hvvl1841apa6a7n3viv6pf-zstd-1.5.6/lib/libzstd.so -- Found Zstd: /nix/store/afrpj8g7i3hvvl1841apa6a7n3viv6pf-zstd-1.5.6/lib/libzstd.so -- Could NOT find ZLIB (missing: ZLIB_LIBRARY ZLIB_INCLUDE_DIR) -- Use shipped libmachinarium: /build/source/third_party/machinarium -- Use shipped libkiwi: /build/source/third_party/kiwi -- -- Odyssey (version: --release) -- -- using compiler: /nix/store/ii75mhh7sxl11167m1b86p0qrjsjyjmd-gcc-wrapper-14-20241116/bin/gcc version gcc (GCC) 14.2.1 20241116 Copyright (C) 2024 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. -- c lang standart: gnu11 -- -- CMAKE_BUILD_TYPE: Release -- BUILD_DEBIAN: OFF -- POSTGRESQL_INCLUDE_DIR: /nix/store/8wy9c1p3m8y0cbf6ww2v7qb1cida5f59-libpq-17.4-dev/include/postgresql/server -- POSTGRESQL_LIBRARY: /nix/store/c5ai93kdbqp79xvz90jyjjd0j69p320b-libpq-17.4/lib -- POSTGRESQL_LIBPGPORT: /nix/store/8wy9c1p3m8y0cbf6ww2v7qb1cida5f59-libpq-17.4-dev/lib -- PG_VERSION_NUM: -- PQ_LIBRARY: /nix/store/c5ai93kdbqp79xvz90jyjjd0j69p320b-libpq-17.4/lib/libpq.so -- USE_BORINGSSL: OFF -- BORINGSSL_ROOT_DIR: -- BORINGSSL_INCLUDE_DIR: -- OPENSSL_VERSION: 3.4.1 -- OPENSSL_ROOT_DIR: -- OPENSSL_INCLUDE_DIR: /nix/store/7dp0ay805yh80xvxmdad49hwyqaqzg37-openssl-3.4.1-dev/include -- OPENSSL_LIBRARIES: /nix/store/z2g8g76mw8xkyniz5yxnrn8r0gpdckzy-openssl-3.4.1/lib/libssl.so;/nix/store/z2g8g76mw8xkyniz5yxnrn8r0gpdckzy-openssl-3.4.1/lib/libcrypto.so -- USE_SCRAM: -- BUILD_COMPRESSION: ON -- ZSTD_INCLUDE_DIR: /nix/store/jzcj1ik4c6nrj98khkmd36234c7gk86p-zstd-1.5.6-dev/include -- ZSTD_LIBRARY: /nix/store/afrpj8g7i3hvvl1841apa6a7n3viv6pf-zstd-1.5.6/lib/libzstd.so -- ZLIB_INCLUDE_DIRS: -- ZLIB_LIBRARIES: ZLIB_LIBRARY-NOTFOUND -- LDAP_SUPPORT: FALSE -- Configuring done (1.0s) CMake Warning at sources/CMakeLists.txt:80 (target_link_libraries): Target "odyssey" requests linking to directory "/nix/store/c5ai93kdbqp79xvz90jyjjd0j69p320b-libpq-17.4/lib". Targets may link only to libraries. CMake is dropping the item. CMake Warning at sources/CMakeLists.txt:80 (target_link_libraries): Target "odyssey" requests linking to directory "/nix/store/8wy9c1p3m8y0cbf6ww2v7qb1cida5f59-libpq-17.4-dev/lib". Targets may link only to libraries. CMake is dropping the item. CMake Warning at test/CMakeLists.txt:94 (target_link_libraries): Target "odyssey_test" requests linking to directory "/nix/store/c5ai93kdbqp79xvz90jyjjd0j69p320b-libpq-17.4/lib". Targets may link only to libraries. CMake is dropping the item. CMake Warning at test/CMakeLists.txt:94 (target_link_libraries): Target "odyssey_test" requests linking to directory "/nix/store/8wy9c1p3m8y0cbf6ww2v7qb1cida5f59-libpq-17.4-dev/lib". Targets may link only to libraries. CMake is dropping the item. CMake Warning at stress/CMakeLists.txt:16 (target_link_libraries): Target "odyssey_stress" requests linking to directory "/nix/store/c5ai93kdbqp79xvz90jyjjd0j69p320b-libpq-17.4/lib". Targets may link only to libraries. CMake is dropping the item. CMake Warning at stress/CMakeLists.txt:16 (target_link_libraries): Target "odyssey_stress" requests linking to directory "/nix/store/8wy9c1p3m8y0cbf6ww2v7qb1cida5f59-libpq-17.4-dev/lib". Targets may link only to libraries. CMake is dropping the item. -- 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_INSTALL_BINDIR CMAKE_INSTALL_DOCDIR CMAKE_INSTALL_INCLUDEDIR CMAKE_INSTALL_INFODIR CMAKE_INSTALL_LIBDIR CMAKE_INSTALL_LIBEXECDIR CMAKE_INSTALL_LOCALEDIR CMAKE_INSTALL_MANDIR CMAKE_INSTALL_SBINDIR 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/11ciq72n4fdv8rw6wgjgasfv4mjs1jrw-bash-5.2p37/bin/bash [ 1%] Generating third_party/machinarium/sources/libmachinarium.a [ 1%] Generating third_party/kiwi/kiwi/libkiwi.a CMake Deprecation Warning at CMakeLists.txt:1 (cmake_minimum_required): Compatibility with CMake < 3.10 will be removed from a future version of CMake. Update the VERSION argument value. Or, use the ... syntax to tell CMake that the project requires at least but has been updated to work with policies introduced by or earlier. -- The C compiler identification is GNU 14.2.1 -- Detecting C compiler ABI info -- 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 -- Detecting C compiler ABI info - done -- Performing Test CMAKE_HAVE_LIBC_PTHREAD -- Check for working C compiler: /nix/store/ii75mhh7sxl11167m1b86p0qrjsjyjmd-gcc-wrapper-14-20241116/bin/gcc - skipped -- Detecting C compile features -- Detecting C compile features - done -- -- Kiwi: PostgreSQL protocol interaction library. -- -- CMAKE_BUILD_TYPE: Release -- MACHINARIUM_INCLUDE_DIRS: /build/source/third_party/machinarium/sources -- MACHINARIUM_LIBRARIES: /build/source/build/third_party/machinarium/sources/libmachinarium.a -- -- Configuring done (0.6s) -- Generating done (0.0s) -- Build files have been written to: /build/source/build/third_party/kiwi [ 33%] Building C object kiwi/CMakeFiles/kw_library_static.dir/md5.c.o -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success -- Found Threads: TRUE CMake Warning (dev) at /nix/store/01dapiw4pjrc9s0166dcyg9xkw0rv01z-cmake-3.31.5/share/cmake-3.31/Modules/FindPackageHandleStandardArgs.cmake:441 (message): The package name passed to `find_package_handle_standard_args` (ZSTD) does not match the name of the calling package (Zstd). This can lead to problems in calling code that expects `find_package` result variables (e.g., `_FOUND`) to follow a certain pattern. Call Stack (most recent call first): cmake/FindZstd.cmake:32 (FIND_PACKAGE_HANDLE_STANDARD_ARGS) CMakeLists.txt:46 (find_package) This warning is for project developers. Use -Wno-dev to suppress it. -- Found ZSTD: /nix/store/afrpj8g7i3hvvl1841apa6a7n3viv6pf-zstd-1.5.6/lib/libzstd.so -- Found Zstd: /nix/store/afrpj8g7i3hvvl1841apa6a7n3viv6pf-zstd-1.5.6/lib/libzstd.so -- Could NOT find ZLIB (missing: ZLIB_LIBRARY ZLIB_INCLUDE_DIR) -- -- Machinarium: Cooperative multitasking framework. -- -- CMAKE_BUILD_TYPE: Release -- BUILD_SHARED: OFF -- BUILD_VALGRIND: ON -- USE_BORINGSSL: OFF -- BORINGSSL_ROOT_DIR: -- BORINGSSL_INCLUDE_DIR: -- OPENSSL_VERSION: -- OPENSSL_ROOT_DIR: -- OPENSSL_INCLUDE_DIR: /nix/store/7dp0ay805yh80xvxmdad49hwyqaqzg37-openssl-3.4.1-dev/include -- OPENSSL_LIBRARIES: /nix/store/z2g8g76mw8xkyniz5yxnrn8r0gpdckzy-openssl-3.4.1/lib/libssl.so /nix/store/z2g8g76mw8xkyniz5yxnrn8r0gpdckzy-openssl-3.4.1/lib/libcrypto.so -- BUILD_COMPRESSION: ON -- ZSTD_INCLUDE_DIR: /nix/store/jzcj1ik4c6nrj98khkmd36234c7gk86p-zstd-1.5.6-dev/include -- ZSTD_LIBRARY: /nix/store/afrpj8g7i3hvvl1841apa6a7n3viv6pf-zstd-1.5.6/lib/libzstd.so -- ZLIB_INCLUDE_DIRS: -- ZLIB_LIBRARIES: ZLIB_LIBRARY-NOTFOUND -- -- Configuring done (0.9s) -- Generating done (0.0s) -- Build files have been written to: /build/source/build/third_party/machinarium [ 66%] Building C object kiwi/CMakeFiles/kw_library_static.dir/options.c.o [ 2%] Building C object sources/CMakeFiles/machine_library_static.dir/thread.c.o /build/source/build/third_party/kiwi/kiwi/options.c: In function 'kiwi_parse_options_and_update_vars': /build/source/build/third_party/kiwi/kiwi/options.c:44:21: error: implicit declaration of function 'isspace' [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration8;;] 44 | if (isspace(pgoptions[i])) { | ^~~~~~~ /build/source/build/third_party/kiwi/kiwi/options.c:11:1: note: include '' or provide a declaration of 'isspace' 10 | #include "kiwi.h" +++ |+#include 11 | make[5]: *** [kiwi/CMakeFiles/kw_library_static.dir/build.make:93: kiwi/CMakeFiles/kw_library_static.dir/options.c.o] Error 1 make[4]: *** [CMakeFiles/Makefile2:106: kiwi/CMakeFiles/kw_library_static.dir/all] Error 2 make[3]: *** [Makefile:91: all] Error 2 make[2]: *** [CMakeFiles/libkiwi.dir/build.make:76: third_party/kiwi/kiwi/libkiwi.a] Error 2 make[1]: *** [CMakeFiles/Makefile2:225: CMakeFiles/libkiwi.dir/all] Error 2 make[1]: *** Waiting for unfinished jobs.... [ 5%] Building C object sources/CMakeFiles/machine_library_static.dir/pg_rand48.c.o [ 7%] Building C object sources/CMakeFiles/machine_library_static.dir/lrand48.c.o [ 10%] Building C object sources/CMakeFiles/machine_library_static.dir/loop.c.o [ 12%] Building C object sources/CMakeFiles/machine_library_static.dir/clock.c.o [ 15%] Building C object sources/CMakeFiles/machine_library_static.dir/socket.c.o /build/source/build/third_party/machinarium/sources/clock.c:64:12: warning: 'mm_clock_list_is_sorted' defined but not used [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-unused-function-Wunused-function8;;] 64 | static int mm_clock_list_is_sorted(mm_timer_t **list, int count) | ^~~~~~~~~~~~~~~~~~~~~~~ [ 17%] Building C object sources/CMakeFiles/machine_library_static.dir/epoll.c.o [ 20%] Building C object sources/CMakeFiles/machine_library_static.dir/context_stack.c.o [ 22%] Building C object sources/CMakeFiles/machine_library_static.dir/context.c.o /build/source/build/third_party/machinarium/sources/context.c: In function 'mm_context_prepare': /build/source/build/third_party/machinarium/sources/context.c:37:17: warning: ISO C forbids conversion of function pointer to object pointer type [8;;https://gcc.gnu.org/onlinedocs/gcc-14.2.0/gcc/Warning-Options.html#index-Wno-pedantic-Wpedantic8;;] 37 | *--sp = (void *)mm_context_runner; | ^ [ 25%] Building C object sources/CMakeFiles/machine_library_static.dir/coroutine.c.o [ 27%] Building C object sources/CMakeFiles/machine_library_static.dir/coroutine_cache.c.o [ 30%] Building C object sources/CMakeFiles/machine_library_static.dir/scheduler.c.o [ 32%] Building C object sources/CMakeFiles/machine_library_static.dir/call.c.o [ 35%] Building C object sources/CMakeFiles/machine_library_static.dir/signal_mgr.c.o [ 37%] Building C object sources/CMakeFiles/machine_library_static.dir/event_mgr.c.o [ 40%] Building C object sources/CMakeFiles/machine_library_static.dir/machine.c.o [ 42%] Building C object sources/CMakeFiles/machine_library_static.dir/mm.c.o [ 45%] Building C object sources/CMakeFiles/machine_library_static.dir/machine_mgr.c.o [ 47%] Building C object sources/CMakeFiles/machine_library_static.dir/msg_cache.c.o [ 50%] Building C object sources/CMakeFiles/machine_library_static.dir/msg.c.o [ 52%] Building C object sources/CMakeFiles/machine_library_static.dir/channel_fast.c.o [ 55%] Building C object sources/CMakeFiles/machine_library_static.dir/channel.c.o [ 57%] Building C object sources/CMakeFiles/machine_library_static.dir/channel_api.c.o [ 60%] Building C object sources/CMakeFiles/machine_library_static.dir/task_mgr.c.o [ 62%] Building C object sources/CMakeFiles/machine_library_static.dir/tls.c.o [ 65%] Building C object sources/CMakeFiles/machine_library_static.dir/io.c.o [ 67%] Building C object sources/CMakeFiles/machine_library_static.dir/iov.c.o [ 70%] Building C object sources/CMakeFiles/machine_library_static.dir/close.c.o [ 72%] Building C object sources/CMakeFiles/machine_library_static.dir/connect.c.o [ 75%] Building C object sources/CMakeFiles/machine_library_static.dir/bind.c.o [ 77%] Building C object sources/CMakeFiles/machine_library_static.dir/eventfd.c.o [ 80%] Building C object sources/CMakeFiles/machine_library_static.dir/cond.c.o [ 82%] Building C object sources/CMakeFiles/machine_library_static.dir/read.c.o [ 85%] Building C object sources/CMakeFiles/machine_library_static.dir/write.c.o [ 87%] Building C object sources/CMakeFiles/machine_library_static.dir/accept.c.o [ 90%] Building C object sources/CMakeFiles/machine_library_static.dir/shutdown.c.o [ 92%] Building C object sources/CMakeFiles/machine_library_static.dir/dns.c.o [ 95%] Building C object sources/CMakeFiles/machine_library_static.dir/zpq_stream.c.o [ 97%] Building C object sources/CMakeFiles/machine_library_static.dir/compression.c.o [100%] Linking C static library libmachinarium.a [100%] Built target machine_library_static [ 1%] Built target libmachinarium make: *** [Makefile:91: all] Error 2