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/m2brd4y3dr3w4rsdpmmasy7x4knw129j-gptokeyb2-0.2.0-unstable-2025-09-22/share/locale -DCMAKE_INSTALL_LIBEXECDIR=/nix/store/m2brd4y3dr3w4rsdpmmasy7x4knw129j-gptokeyb2-0.2.0-unstable-2025-09-22/libexec -DCMAKE_INSTALL_LIBDIR=/nix/store/m2brd4y3dr3w4rsdpmmasy7x4knw129j-gptokeyb2-0.2.0-unstable-2025-09-22/lib -DCMAKE_INSTALL_DOCDIR=/nix/store/m2brd4y3dr3w4rsdpmmasy7x4knw129j-gptokeyb2-0.2.0-unstable-2025-09-22/share/doc/gptokeyb -DCMAKE_INSTALL_INFODIR=/nix/store/m2brd4y3dr3w4rsdpmmasy7x4knw129j-gptokeyb2-0.2.0-unstable-2025-09-22/share/info -DCMAKE_INSTALL_MANDIR=/nix/store/m2brd4y3dr3w4rsdpmmasy7x4knw129j-gptokeyb2-0.2.0-unstable-2025-09-22/share/man -DCMAKE_INSTALL_INCLUDEDIR=/nix/store/m2brd4y3dr3w4rsdpmmasy7x4knw129j-gptokeyb2-0.2.0-unstable-2025-09-22/include -DCMAKE_INSTALL_SBINDIR=/nix/store/m2brd4y3dr3w4rsdpmmasy7x4knw129j-gptokeyb2-0.2.0-unstable-2025-09-22/sbin -DCMAKE_INSTALL_BINDIR=/nix/store/m2brd4y3dr3w4rsdpmmasy7x4knw129j-gptokeyb2-0.2.0-unstable-2025-09-22/bin -DCMAKE_INSTALL_NAME_DIR=/nix/store/m2brd4y3dr3w4rsdpmmasy7x4knw129j-gptokeyb2-0.2.0-unstable-2025-09-22/lib -DCMAKE_STRIP=/nix/store/99zij8qfs8wzbb2njrj18ys8hpnrcj3p-gcc-wrapper-16.2.0/bin/strip -DCMAKE_RANLIB=/nix/store/99zij8qfs8wzbb2njrj18ys8hpnrcj3p-gcc-wrapper-16.2.0/bin/ranlib -DCMAKE_AR=/nix/store/99zij8qfs8wzbb2njrj18ys8hpnrcj3p-gcc-wrapper-16.2.0/bin/ar -DCMAKE_C_COMPILER=gcc -DCMAKE_CXX_COMPILER=g++ -DCMAKE_INSTALL_PREFIX=/nix/store/m2brd4y3dr3w4rsdpmmasy7x4knw129j-gptokeyb2-0.2.0-unstable-2025-09-22 -DLIBEVDEV_INCLUDE_DIR=/nix/store/z2lsrdlzir47q0b75yqrg6r0kmhcgrb5-libevdev-1.13.6/include/libevdev-1.0 -DLIBEVDEV_LIBRARY=/nix/store/z2lsrdlzir47q0b75yqrg6r0kmhcgrb5-libevdev-1.13.6/lib/libevdev.so -DCMAKE_BUILD_WITH_INSTALL_RPATH=ON -DCMAKE_INSTALL_RPATH=/nix/store/m2brd4y3dr3w4rsdpmmasy7x4knw129j-gptokeyb2-0.2.0-unstable-2025-09-22/lib -- The C compiler identification is GNU 16.2.0 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /nix/store/99zij8qfs8wzbb2njrj18ys8hpnrcj3p-gcc-wrapper-16.2.0/bin/gcc - skipped -- Detecting C compile features -- Detecting C compile features - done -- Found LIBEVDEV: /nix/store/z2lsrdlzir47q0b75yqrg6r0kmhcgrb5-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/mwhkh9l5j5z6mkk83k22rjhx6lxgqh85-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/analog.c.o [ 28%] Building C object CMakeFiles/gptokeyb2.dir/src/config.c.o [ 35%] Building C object CMakeFiles/gptokeyb2.dir/src/ini.c.o [ 42%] Building C object CMakeFiles/gptokeyb2.dir/src/event.c.o [ 50%] Building C object CMakeFiles/gptokeyb2.dir/src/input.c.o /build/source/src/config.c: In function 'set_btn_config': /build/source/src/config.c:1188:60: warning: variable 'i' set but not used [-Wunused-but-set-variable=] 1188 | for (int sbtn=special_button_min(btn), i=0; sbtn < special_button_max(btn); sbtn++, i++) | ^ /build/source/src/config.c:1207:60: warning: variable 'i' set but not used [-Wunused-but-set-variable=] 1207 | for (int sbtn=special_button_min(btn), i=0; sbtn < special_button_max(btn); sbtn++, i++) | ^ /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"; | ^~~~~~~~ /build/source/src/input.c: In function 'input_load_char_set': /build/source/src/input.c:431:22: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 431 | char *temp = strchr(active_char_set->characters, input_text[current_offset]); | ^~~~~~ /build/source/src/input.c: In function 'input_add_letter': /build/source/src/input.c:665:26: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 665 | char *temp = strchr(active_char_set->characters, input_text[current_offset]); | ^~~~~~ /build/source/src/input.c: In function 'input_lower_case': /build/source/src/input.c:689:22: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 689 | char *temp = strchr(active_char_set->characters, lower); | ^~~~~~ /build/source/src/input.c: In function 'input_upper_case': /build/source/src/input.c:717:22: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 717 | char *temp = strchr(active_char_set->characters, lower); | ^~~~~~ /build/source/src/input.c: In function 'input_rem_letter': /build/source/src/input.c:766:18: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 766 | temp = strchr(active_char_set->characters, input_text[current_offset]); | ^ [ 57%] Building C object CMakeFiles/gptokeyb2.dir/src/keyboard.c.o [ 64%] Building C object CMakeFiles/gptokeyb2.dir/src/keys.c.o [ 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 'string_quit': /build/source/src/util.c:585:9: warning: variable 'lookup_factor' set but not used [-Wunused-but-set-variable=] 585 | int lookup_factor = 0; | ^~~~~~~~~~~~~ /build/source/src/util.c:584:9: warning: variable 'total_lookups' set but not used [-Wunused-but-set-variable=] 584 | int total_lookups = 0; | ^~~~~~~~~~~~~ /build/source/src/util.c:583:9: warning: variable 'total_strings' set but not used [-Wunused-but-set-variable=] 583 | int total_strings = 0; | ^~~~~~~~~~~~~ /build/source/src/util.c: In function 'emit': /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)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /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)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [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/m2brd4y3dr3w4rsdpmmasy7x4knw129j-gptokeyb2-0.2.0-unstable-2025-09-22 shrinking /nix/store/m2brd4y3dr3w4rsdpmmasy7x4knw129j-gptokeyb2-0.2.0-unstable-2025-09-22/bin/gptokeyb2 shrinking /nix/store/m2brd4y3dr3w4rsdpmmasy7x4knw129j-gptokeyb2-0.2.0-unstable-2025-09-22/lib/libinterpose.so checking for references to /build/ in /nix/store/m2brd4y3dr3w4rsdpmmasy7x4knw129j-gptokeyb2-0.2.0-unstable-2025-09-22... patching script interpreter paths in /nix/store/m2brd4y3dr3w4rsdpmmasy7x4knw129j-gptokeyb2-0.2.0-unstable-2025-09-22 stripping (with command strip and flags -S -p) in /nix/store/m2brd4y3dr3w4rsdpmmasy7x4knw129j-gptokeyb2-0.2.0-unstable-2025-09-22/lib /nix/store/m2brd4y3dr3w4rsdpmmasy7x4knw129j-gptokeyb2-0.2.0-unstable-2025-09-22/bin