tribuchet: building on eliza Running phase: unpackPhase unpacking source archive /nix/store/4zznh878gcxdzzfan3cbl03ky2xz5y8a-source source root is source Running phase: patchPhase Running phase: updateAutotoolsGnuConfigScriptsPhase Running phase: configurePhase no configure script, doing nothing Running phase: buildPhase { jq -n --arg d "/build/source" --arg f src/patcher/main.cc '{directory: $d, file: $f, arguments: $ARGS.positional + [$f]}' --args -- c++ -std=c++23 -Wall -Wextra -O2 -Iinclude -DRELOCATABLE_LOADER_PATH_PLACEHOLDER='"880031aabab70d51f1ff08762ad3c457bdaa2bf2687f4e864a33f63889a5ed1b571bebc01e6d248e9e4ac63c86b696712f07a701983375bd95910df9afa9a636"' -DLIBDIR='"/usr/local/lib/wrap-buddy"' \ '-DDEFAULT_INTERP="/nix/store/dummy/ld.so"' \ '-DDEFAULT_LIBC_LIB="/nix/store/dummy/lib"' -Isrc/patcher; \ jq -n --arg d "/build/source" --arg f src/loader/loader.c '{directory: $d, file: $f, arguments: $ARGS.positional + [$f]}' --args -- clang -Wall -nostdlib -nostdinc -fPIC -fno-stack-protector -fno-exceptions -fno-unwind-tables -fno-asynchronous-unwind-tables -fno-builtin -Oz -Iinclude -mcmodel=tiny -Iinclude; \ jq -n --arg d "/build/source" --arg f src/stub/stub.c '{directory: $d, file: $f, arguments: $ARGS.positional + [$f]}' --args -- clang -Wall -nostdlib -nostdinc -fPIC -fno-stack-protector -fno-exceptions -fno-unwind-tables -fno-asynchronous-unwind-tables -fno-builtin -Oz -Iinclude -mcmodel=tiny \ '-DLOADER_PATH="/usr/local/lib/wrap-buddy/loader.bin"' -Iinclude; \ } | jq -s . > compile_commands.json clang -DRELOCATABLE_MODE=0 -Wall -nostdlib -nostdinc -fPIC -fno-stack-protector -fno-exceptions -fno-unwind-tables -fno-asynchronous-unwind-tables -fno-builtin -Oz -Iinclude -mcmodel=tiny -Wl,-T,src/preamble.ld -Wl,-e,_start -Wl,-Ttext=0 -Iinclude -DLOADER_PATH='"/usr/local/lib/wrap-buddy/loader.bin"' -o stub.elf src/stub/stub.c clang: warning: argument unused during compilation: '-nostdlibinc' [-Wunused-command-line-argument] /nix/store/mm80mz52armp3bqw4h16ic6y36dpyhqs-binutils-2.46/bin/ld.bfd: warning: stub.elf has a LOAD segment with RWX permissions objcopy -O binary --only-section=.all stub.elf stub.bin xxd -i stub.bin > src/patcher/stub_64.h clang -DRELOCATABLE_MODE=1 -Wall -nostdlib -nostdinc -fPIC -fno-stack-protector -fno-exceptions -fno-unwind-tables -fno-asynchronous-unwind-tables -fno-builtin -Oz -Iinclude -mcmodel=tiny -Wl,-T,src/preamble.ld -Wl,-e,_start -Wl,-Ttext=0 -Iinclude -DLOADER_PATH='"880031aabab70d51f1ff08762ad3c457bdaa2bf2687f4e864a33f63889a5ed1b571bebc01e6d248e9e4ac63c86b696712f07a701983375bd95910df9afa9a636"' -o stub_reloc.elf src/stub/stub.c clang: warning: argument unused during compilation: '-nostdlibinc' [-Wunused-command-line-argument] /nix/store/mm80mz52armp3bqw4h16ic6y36dpyhqs-binutils-2.46/bin/ld.bfd: warning: stub_reloc.elf has a LOAD segment with RWX permissions objcopy -O binary --only-section=.all stub_reloc.elf stub_reloc.bin xxd -i stub_reloc.bin > src/patcher/stub_64_reloc.h clang-tidy -p . src/loader/loader.c src/stub/stub.c src/patcher/main.cc [1/3] Processing file /build/source/src/loader/loader.c. 153 warnings generated. [2/3] Processing file /build/source/src/stub/stub.c. 206 warnings generated. [3/3] Processing file /build/source/src/patcher/main.cc. 176891 warnings generated. Suppressed 176919 warnings (176891 in non-user code, 28 NOLINT). Use -header-filter=.* to display errors from all non-system headers. Use -system-headers to display errors from system headers as well. buildPhase completed in 32 seconds Running phase: installPhase Running phase: fixupPhase shrinking RPATHs of ELF executables and libraries in /nix/store/jdqbg93q86qmrvjvi06v12lbi3qyd769-wrap-buddy-clang-tidy checking for references to /build/ in /nix/store/jdqbg93q86qmrvjvi06v12lbi3qyd769-wrap-buddy-clang-tidy... patching script interpreter paths in /nix/store/jdqbg93q86qmrvjvi06v12lbi3qyd769-wrap-buddy-clang-tidy