Running phase: unpackPhase unpacking source archive /nix/store/vwfbnmxqg0ifllkn95r9kfxgjhi65153-source source root is source Running phase: patchPhase Running phase: updateAutotoolsGnuConfigScriptsPhase Running phase: configurePhase 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/rxba6s7zhr6017dzxy25hq1p1fpy0npd-gptokeyb2-0.2.0-unstable-2025-09-22/share/locale -DCMAKE_INSTALL_LIBEXECDIR=/nix/store/rxba6s7zhr6017dzxy25hq1p1fpy0npd-gptokeyb2-0.2.0-unstable-2025-09-22/libexec -DCMAKE_INSTALL_LIBDIR=/nix/store/rxba6s7zhr6017dzxy25hq1p1fpy0npd-gptokeyb2-0.2.0-unstable-2025-09-22/lib -DCMAKE_INSTALL_DOCDIR=/nix/store/rxba6s7zhr6017dzxy25hq1p1fpy0npd-gptokeyb2-0.2.0-unstable-2025-09-22/share/doc/gptokeyb -DCMAKE_INSTALL_INFODIR=/nix/store/rxba6s7zhr6017dzxy25hq1p1fpy0npd-gptokeyb2-0.2.0-unstable-2025-09-22/share/info -DCMAKE_INSTALL_MANDIR=/nix/store/rxba6s7zhr6017dzxy25hq1p1fpy0npd-gptokeyb2-0.2.0-unstable-2025-09-22/share/man -DCMAKE_INSTALL_INCLUDEDIR=/nix/store/rxba6s7zhr6017dzxy25hq1p1fpy0npd-gptokeyb2-0.2.0-unstable-2025-09-22/include -DCMAKE_INSTALL_SBINDIR=/nix/store/rxba6s7zhr6017dzxy25hq1p1fpy0npd-gptokeyb2-0.2.0-unstable-2025-09-22/sbin -DCMAKE_INSTALL_BINDIR=/nix/store/rxba6s7zhr6017dzxy25hq1p1fpy0npd-gptokeyb2-0.2.0-unstable-2025-09-22/bin -DCMAKE_INSTALL_NAME_DIR=/nix/store/rxba6s7zhr6017dzxy25hq1p1fpy0npd-gptokeyb2-0.2.0-unstable-2025-09-22/lib -DCMAKE_STRIP=/nix/store/z2qkl46kv87zcs2sfwfjgc75nq0hbzhf-gcc-wrapper-15.3.0/bin/strip -DCMAKE_RANLIB=/nix/store/z2qkl46kv87zcs2sfwfjgc75nq0hbzhf-gcc-wrapper-15.3.0/bin/ranlib -DCMAKE_AR=/nix/store/z2qkl46kv87zcs2sfwfjgc75nq0hbzhf-gcc-wrapper-15.3.0/bin/ar -DCMAKE_C_COMPILER=gcc -DCMAKE_CXX_COMPILER=g++ -DCMAKE_INSTALL_PREFIX=/nix/store/rxba6s7zhr6017dzxy25hq1p1fpy0npd-gptokeyb2-0.2.0-unstable-2025-09-22 -DLIBEVDEV_INCLUDE_DIR=/nix/store/r2fyc1x2wsk27q22pybrsz01qp0gc9ip-libevdev-1.13.6/include/libevdev-1.0 -DLIBEVDEV_LIBRARY=/nix/store/r2fyc1x2wsk27q22pybrsz01qp0gc9ip-libevdev-1.13.6/lib/libevdev.so -DCMAKE_BUILD_WITH_INSTALL_RPATH=ON -DCMAKE_INSTALL_RPATH=/nix/store/rxba6s7zhr6017dzxy25hq1p1fpy0npd-gptokeyb2-0.2.0-unstable-2025-09-22/lib -- The C compiler identification is GNU 15.3.0 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /nix/store/z2qkl46kv87zcs2sfwfjgc75nq0hbzhf-gcc-wrapper-15.3.0/bin/gcc - skipped -- Detecting C compile features -- Detecting C compile features - done -- Found LIBEVDEV: /nix/store/r2fyc1x2wsk27q22pybrsz01qp0gc9ip-libevdev-1.13.6/lib/libevdev.so -- Configuring done (0.6s) -- Generating done (0.0s) CMake Warning (unused-cli): 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 -- Build files have been written to: /build/source/build cmake: enabled parallel building cmake: enabled parallel installing Running phase: buildPhase build flags: -j4 SHELL=/nix/store/idnyqaaix26szkvhs1mjgi7990jajz9a-bash-5.3p15/bin/bash [ 7%] Building C object interpose/CMakeFiles/interpose.dir/interpose.c.o [ 14%] Linking C shared library ../lib/libinterpose.so [ 14%] Built target interpose [ 21%] Building C object CMakeFiles/gptokeyb2.dir/src/config.c.o [ 28%] Building C object CMakeFiles/gptokeyb2.dir/src/analog.c.o [ 35%] Building C object CMakeFiles/gptokeyb2.dir/src/event.c.o [ 42%] Building C object CMakeFiles/gptokeyb2.dir/src/ini.c.o [ 50%] Building C object CMakeFiles/gptokeyb2.dir/src/input.c.o [ 57%] Building C object CMakeFiles/gptokeyb2.dir/src/keyboard.c.o [ 64%] Building C object CMakeFiles/gptokeyb2.dir/src/keys.c.o /build/source/src/input.c: In function 'input_init': /build/source/src/input.c:211:25: warning: initializer-string for array of 'char' truncates NUL terminator but destination lacks 'nonstring' attribute (4 chars into 3 available) [-Wunterminated-string-initialization] 211 | char find_buff[3] = "\0\0\0"; | ^~~~~~~~ [ 71%] Building C object CMakeFiles/gptokeyb2.dir/src/main.c.o [ 78%] Building C object CMakeFiles/gptokeyb2.dir/src/state.c.o [ 85%] Building C object CMakeFiles/gptokeyb2.dir/src/util.c.o [ 92%] Building C object CMakeFiles/gptokeyb2.dir/src/xbox360.c.o /build/source/src/util.c: In function 'emit': /build/source/src/xbox360.c: In function 'setupFakeXbox360Device': /build/source/src/xbox360.c:105:5: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 105 | write(fd, &device, sizeof(device)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/source/src/util.c:319:5: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 319 | write(fd, &ev, sizeof(ev)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ [100%] Linking C executable gptokeyb2 [100%] Built target gptokeyb2 Running phase: installPhase Running phase: fixupPhase shrinking RPATHs of ELF executables and libraries in /nix/store/rxba6s7zhr6017dzxy25hq1p1fpy0npd-gptokeyb2-0.2.0-unstable-2025-09-22 shrinking /nix/store/rxba6s7zhr6017dzxy25hq1p1fpy0npd-gptokeyb2-0.2.0-unstable-2025-09-22/bin/gptokeyb2 shrinking /nix/store/rxba6s7zhr6017dzxy25hq1p1fpy0npd-gptokeyb2-0.2.0-unstable-2025-09-22/lib/libinterpose.so checking for references to /build/ in /nix/store/rxba6s7zhr6017dzxy25hq1p1fpy0npd-gptokeyb2-0.2.0-unstable-2025-09-22... patching script interpreter paths in /nix/store/rxba6s7zhr6017dzxy25hq1p1fpy0npd-gptokeyb2-0.2.0-unstable-2025-09-22 stripping (with command strip and flags -S -p) in /nix/store/rxba6s7zhr6017dzxy25hq1p1fpy0npd-gptokeyb2-0.2.0-unstable-2025-09-22/lib /nix/store/rxba6s7zhr6017dzxy25hq1p1fpy0npd-gptokeyb2-0.2.0-unstable-2025-09-22/bin