1these 2 derivations will be built:2 /nix/store/2lm3msmcczas0sjjislmq37r8c9agi3b-wrap-buddy-1.0.1.drv3 /nix/store/n4rcbzlh802p1xmy4bzmiahhj4nhcc6j-wrap-buddy-hook.drv4building '/nix/store/2lm3msmcczas0sjjislmq37r8c9agi3b-wrap-buddy-1.0.1.drv' on 'ssh-ng://nix@jamie'5building '/nix/store/2lm3msmcczas0sjjislmq37r8c9agi3b-wrap-buddy-1.0.1.drv'6wrap-buddy-1.0.1> Running phase: unpackPhase7wrap-buddy-1.0.1> unpacking source archive /nix/store/s18x2kl9v46z8d0l48z95hz8j4c61rfj-source8wrap-buddy-1.0.1> source root is source9wrap-buddy-1.0.1> Running phase: patchPhase10wrap-buddy-1.0.1> Running phase: updateAutotoolsGnuConfigScriptsPhase11wrap-buddy-1.0.1> Running phase: configurePhase12wrap-buddy-1.0.1> no configure script, doing nothing13wrap-buddy-1.0.1> Running phase: buildPhase14wrap-buddy-1.0.1> build flags: -j384 SHELL=/nix/store/ksdxvc92sa7h6yppixfl4xyj6632vf0x-bash-5.3p9/bin/bash CXX_FOR_BUILD=/nix/store/dx6cb2nbh1kh0d6f1mv27l7q4lk1jgbd-gcc-wrapper-15.2.0/bin/c++ BINDIR=\$\(out\)/bin LIBDIR=\$\(out\)/lib/wrap-buddy INTERP=/nix/store/p1f881g5hgakqag26rlbzbxhzw9gmjnx-glibc-2.42-61/lib/ld-linux.so.2 LIBC_LIB=/nix/store/p1f881g5hgakqag26rlbzbxhzw9gmjnx-glibc-2.42-61/lib15wrap-buddy-1.0.1> gcc -Wall -nostdlib -nostdinc -fPIC -fno-stack-protector -fno-exceptions -fno-unwind-tables -fno-asynchronous-unwind-tables -fno-builtin -Os -Iinclude -Wl,-T,src/preamble.ld -Wl,-e,_start -Wl,-Ttext=0 -o loader.elf src/loader/loader.c16wrap-buddy-1.0.1> gcc -DRELOCATABLE_MODE=0 -Wall -nostdlib -nostdinc -fPIC -fno-stack-protector -fno-exceptions -fno-unwind-tables -fno-asynchronous-unwind-tables -fno-builtin -Os -Iinclude -Wl,-T,src/preamble.ld -Wl,-e,_start -Wl,-Ttext=0 -Iinclude -DLOADER_PATH='"/nix/store/62vdqgk3ymzip854d6wr3319iy1ps14z-wrap-buddy-1.0.1/lib/wrap-buddy/loader.bin"' -o stub.elf src/stub/stub.c17wrap-buddy-1.0.1> gcc -DRELOCATABLE_MODE=1 -Wall -nostdlib -nostdinc -fPIC -fno-stack-protector -fno-exceptions -fno-unwind-tables -fno-asynchronous-unwind-tables -fno-builtin -Os -Iinclude -Wl,-T,src/preamble.ld -Wl,-e,_start -Wl,-Ttext=0 -Iinclude -DLOADER_PATH='"880031aabab70d51f1ff08762ad3c457bdaa2bf2687f4e864a33f63889a5ed1b571bebc01e6d248e9e4ac63c86b696712f07a701983375bd95910df9afa9a636"' -o stub_reloc.elf src/stub/stub.c18wrap-buddy-1.0.1> /nix/store/kyan9443h0f7l22zmdk3gj2lm4pwyr5a-binutils-2.46/bin/ld.bfd: /nix/store/kyan9443h0f7l22zmdk3gj2lm4pwyr5a-binutils-2.46/bin/ld.bfd: warning: warning: stub.elfstub_reloc.elf has a LOAD segment with RWX permissions has a LOAD segment with RWX permissions19wrap-buddy-1.0.1> 20wrap-buddy-1.0.1> objcopy -O binary --only-section=.all stub.elf stub.bin21wrap-buddy-1.0.1> objcopy -O binary --only-section=.all stub_reloc.elf stub_reloc.bin22wrap-buddy-1.0.1> xxd -i stub_reloc.bin > src/patcher/stub_64_reloc.h23wrap-buddy-1.0.1> xxd -i stub.bin > src/patcher/stub_64.h24wrap-buddy-1.0.1> /nix/store/dx6cb2nbh1kh0d6f1mv27l7q4lk1jgbd-gcc-wrapper-15.2.0/bin/c++ -std=c++23 -Wall -Wextra -O2 -Iinclude -DRELOCATABLE_LOADER_PATH_PLACEHOLDER='"880031aabab70d51f1ff08762ad3c457bdaa2bf2687f4e864a33f63889a5ed1b571bebc01e6d248e9e4ac63c86b696712f07a701983375bd95910df9afa9a636"' -DLIBDIR='"/nix/store/62vdqgk3ymzip854d6wr3319iy1ps14z-wrap-buddy-1.0.1/lib/wrap-buddy"' -DDEFAULT_INTERP='"/nix/store/p1f881g5hgakqag26rlbzbxhzw9gmjnx-glibc-2.42-61/lib/ld-linux.so.2"' -DDEFAULT_LIBC_LIB='"/nix/store/p1f881g5hgakqag26rlbzbxhzw9gmjnx-glibc-2.42-61/lib"' -Isrc/patcher -o wrap-buddy src/patcher/main.cc25wrap-buddy-1.0.1> /nix/store/kyan9443h0f7l22zmdk3gj2lm4pwyr5a-binutils-2.46/bin/ld.bfd: warning: loader.elf has a LOAD segment with RWX permissions26wrap-buddy-1.0.1> objcopy -O binary --only-section=.all loader.elf loader.bin27wrap-buddy-1.0.1> Running phase: installPhase28wrap-buddy-1.0.1> install flags: -j384 SHELL=/nix/store/ksdxvc92sa7h6yppixfl4xyj6632vf0x-bash-5.3p9/bin/bash CXX_FOR_BUILD=/nix/store/dx6cb2nbh1kh0d6f1mv27l7q4lk1jgbd-gcc-wrapper-15.2.0/bin/c++ BINDIR=\$\(out\)/bin LIBDIR=\$\(out\)/lib/wrap-buddy INTERP=/nix/store/p1f881g5hgakqag26rlbzbxhzw9gmjnx-glibc-2.42-61/lib/ld-linux.so.2 LIBC_LIB=/nix/store/p1f881g5hgakqag26rlbzbxhzw9gmjnx-glibc-2.42-61/lib install29wrap-buddy-1.0.1> install -d /nix/store/62vdqgk3ymzip854d6wr3319iy1ps14z-wrap-buddy-1.0.1/bin30wrap-buddy-1.0.1> install -m 755 wrap-buddy /nix/store/62vdqgk3ymzip854d6wr3319iy1ps14z-wrap-buddy-1.0.1/bin/31wrap-buddy-1.0.1> install -d /nix/store/62vdqgk3ymzip854d6wr3319iy1ps14z-wrap-buddy-1.0.1/lib/wrap-buddy32wrap-buddy-1.0.1> install -m 644 loader.bin stub.bin stub_reloc.bin /nix/store/62vdqgk3ymzip854d6wr3319iy1ps14z-wrap-buddy-1.0.1/lib/wrap-buddy/33wrap-buddy-1.0.1> Running phase: fixupPhase34wrap-buddy-1.0.1> shrinking RPATHs of ELF executables and libraries in /nix/store/62vdqgk3ymzip854d6wr3319iy1ps14z-wrap-buddy-1.0.135wrap-buddy-1.0.1> shrinking /nix/store/62vdqgk3ymzip854d6wr3319iy1ps14z-wrap-buddy-1.0.1/bin/wrap-buddy36wrap-buddy-1.0.1> checking for references to /build/ in /nix/store/62vdqgk3ymzip854d6wr3319iy1ps14z-wrap-buddy-1.0.1...37wrap-buddy-1.0.1> patching script interpreter paths in /nix/store/62vdqgk3ymzip854d6wr3319iy1ps14z-wrap-buddy-1.0.138wrap-buddy-1.0.1> stripping (with command strip and flags -S -p) in /nix/store/62vdqgk3ymzip854d6wr3319iy1ps14z-wrap-buddy-1.0.1/lib /nix/store/62vdqgk3ymzip854d6wr3319iy1ps14z-wrap-buddy-1.0.1/bin39wrap-buddy-1.0.1> Running phase: installCheckPhase40wrap-buddy-1.0.1> installcheck flags: -j384 SHELL=/nix/store/ksdxvc92sa7h6yppixfl4xyj6632vf0x-bash-5.3p9/bin/bash CXX_FOR_BUILD=/nix/store/dx6cb2nbh1kh0d6f1mv27l7q4lk1jgbd-gcc-wrapper-15.2.0/bin/c++ BINDIR=\$\(out\)/bin LIBDIR=\$\(out\)/lib/wrap-buddy INTERP=/nix/store/p1f881g5hgakqag26rlbzbxhzw9gmjnx-glibc-2.42-61/lib/ld-linux.so.2 LIBC_LIB=/nix/store/p1f881g5hgakqag26rlbzbxhzw9gmjnx-glibc-2.42-61/lib INTERP=/nix/store/p1f881g5hgakqag26rlbzbxhzw9gmjnx-glibc-2.42-61/lib/ld-linux.so.2 LIBC_LIB=/nix/store/p1f881g5hgakqag26rlbzbxhzw9gmjnx-glibc-2.42-61/lib check41wrap-buddy-1.0.1> bash tests/test.sh --interp /nix/store/p1f881g5hgakqag26rlbzbxhzw9gmjnx-glibc-2.42-61/lib/ld-linux.so.2 --libs /nix/store/p1f881g5hgakqag26rlbzbxhzw9gmjnx-glibc-2.42-61/lib42wrap-buddy-1.0.1> === Test: basic patching ===43wrap-buddy-1.0.1> Using interpreter: /nix/store/p1f881g5hgakqag26rlbzbxhzw9gmjnx-glibc-2.42-61/lib/ld-linux.so.244wrap-buddy-1.0.1> 64-bit stub: not available45wrap-buddy-1.0.1> 32-bit stub: 439 bytes46wrap-buddy-1.0.1> Patching: /build/tmp.agKSOJZbYm/basic47wrap-buddy-1.0.1> ELF class: 32-bit48wrap-buddy-1.0.1> Original entry: 0x1170 (file offset: 0x1170)49wrap-buddy-1.0.1> Available space at entry: 4440 bytes50wrap-buddy-1.0.1> Stub size: 439 bytes (padded to 448)51wrap-buddy-1.0.1> Wrote config to /build/tmp.agKSOJZbYm/.basic.wrapbuddy52wrap-buddy-1.0.1> Overwrote 448 bytes at entry point53wrap-buddy-1.0.1> Converted PT_INTERP to PT_NULL54wrap-buddy-1.0.1> Patched: /build/tmp.agKSOJZbYm/basic55wrap-buddy-1.0.1> PASS: basic patching56wrap-buddy-1.0.1> === Test: --needed injection ===57wrap-buddy-1.0.1> Using interpreter: /nix/store/p1f881g5hgakqag26rlbzbxhzw9gmjnx-glibc-2.42-61/lib/ld-linux.so.258wrap-buddy-1.0.1> 64-bit stub: not available59wrap-buddy-1.0.1> 32-bit stub: 439 bytes60wrap-buddy-1.0.1> Patching: /build/tmp.agKSOJZbYm/check61wrap-buddy-1.0.1> ELF class: 32-bit62wrap-buddy-1.0.1> Original entry: 0x1100 (file offset: 0x1100)63wrap-buddy-1.0.1> Available space at entry: 4416 bytes64wrap-buddy-1.0.1> Stub size: 439 bytes (padded to 448)65wrap-buddy-1.0.1> Wrote config to /build/tmp.agKSOJZbYm/.check.wrapbuddy66wrap-buddy-1.0.1> Overwrote 448 bytes at entry point67wrap-buddy-1.0.1> Converted PT_INTERP to PT_NULL68wrap-buddy-1.0.1> Patched: /build/tmp.agKSOJZbYm/check69wrap-buddy-1.0.1> PASS: --needed injection70wrap-buddy-1.0.1> === Test: --relocatable ===71wrap-buddy-1.0.1> Using interpreter: /nix/store/p1f881g5hgakqag26rlbzbxhzw9gmjnx-glibc-2.42-61/lib/ld-linux.so.272wrap-buddy-1.0.1> 64-bit stub: not available73wrap-buddy-1.0.1> 32-bit stub: 641 bytes74wrap-buddy-1.0.1> Patching: /build/tmp.agKSOJZbYm/relocatable75wrap-buddy-1.0.1> ELF class: 32-bit76wrap-buddy-1.0.1> Original entry: 0x1170 (file offset: 0x1170)77wrap-buddy-1.0.1> Available space at entry: 4440 bytes78wrap-buddy-1.0.1> Stub size: 641 bytes (padded to 656)79wrap-buddy-1.0.1> Wrote config to /build/tmp.agKSOJZbYm/.relocatable.wrapbuddy80wrap-buddy-1.0.1> Overwrote 656 bytes at entry point81wrap-buddy-1.0.1> Converted PT_INTERP to PT_NULL82wrap-buddy-1.0.1> Patched: /build/tmp.agKSOJZbYm/relocatable83wrap-buddy-1.0.1> PASS: --relocatable patching84wrap-buddy-1.0.1> === Test: --relocatable binary movement ===85wrap-buddy-1.0.1> Using interpreter: /nix/store/p1f881g5hgakqag26rlbzbxhzw9gmjnx-glibc-2.42-61/lib/ld-linux.so.286wrap-buddy-1.0.1> 64-bit stub: not available87wrap-buddy-1.0.1> 32-bit stub: 641 bytes88wrap-buddy-1.0.1> Patching: /build/tmp.agKSOJZbYm/staging/bin/movable89wrap-buddy-1.0.1> ELF class: 32-bit90wrap-buddy-1.0.1> Original entry: 0x1170 (file offset: 0x1170)91wrap-buddy-1.0.1> Available space at entry: 4440 bytes92wrap-buddy-1.0.1> Stub size: 641 bytes (padded to 656)93wrap-buddy-1.0.1> Wrote config to /build/tmp.agKSOJZbYm/staging/bin/.movable.wrapbuddy94wrap-buddy-1.0.1> Overwrote 656 bytes at entry point95wrap-buddy-1.0.1> Converted PT_INTERP to PT_NULL96wrap-buddy-1.0.1> Patched: /build/tmp.agKSOJZbYm/staging/bin/movable97wrap-buddy-1.0.1> PASS: --relocatable binary movement98wrap-buddy-1.0.1> === Test: --relocatable with target interpreter ===99wrap-buddy-1.0.1> PASS: --relocatable with target interpreter100wrap-buddy-1.0.1> === All tests passed ===101building '/nix/store/n4rcbzlh802p1xmy4bzmiahhj4nhcc6j-wrap-buddy-hook.drv' on 'ssh-ng://nix@jamie'102building '/nix/store/n4rcbzlh802p1xmy4bzmiahhj4nhcc6j-wrap-buddy-hook.drv'103104post-build step Upload coverage to codecov: ok105Skipping codecov: project=Mic92/wrap-buddy attr=x86_64-linux.test-32bit