1these 3 derivations will be built:2 /nix/store/0jx6rpz9skj7xghqpyqbwxn4gpg9bywy-wrap-buddy-1.0.1.drv3 /nix/store/8n6jv69fi09kkh0p7fwj2yhmsswrcxm6-wrap-buddy-hook.sh.drv4 /nix/store/y0xqpg3l777pyf38j1q519hp1xa0kiya-wrap-buddy-hook.drv5this path will be fetched (0.2 KiB download, 1.3 KiB unpacked):6 /nix/store/r9i3w4dxggsxb1fmib89xakrp0gx14zv-xxd-tinyxxd-1.3.157building '/nix/store/0jx6rpz9skj7xghqpyqbwxn4gpg9bywy-wrap-buddy-1.0.1.drv' on 'ssh-ng://nix@jamie'8building '/nix/store/0jx6rpz9skj7xghqpyqbwxn4gpg9bywy-wrap-buddy-1.0.1.drv'9wrap-buddy-1.0.1> Running phase: unpackPhase10wrap-buddy-1.0.1> unpacking source archive /nix/store/jsx71pwk7vjpmbjhwmvwdc3qlqw1053p-source11wrap-buddy-1.0.1> source root is source12wrap-buddy-1.0.1> Running phase: patchPhase13wrap-buddy-1.0.1> Running phase: updateAutotoolsGnuConfigScriptsPhase14wrap-buddy-1.0.1> Running phase: configurePhase15wrap-buddy-1.0.1> no configure script, doing nothing16wrap-buddy-1.0.1> Running phase: buildPhase17wrap-buddy-1.0.1> build flags: -j384 SHELL=/nix/store/zh1ijdhb6gng1509b1zrilb6xlzx60j6-bash-5.3p9/bin/bash CXX_FOR_BUILD=/nix/store/xcnqqnhw9hb4j5rjgds2yjryi8qki5f3-gcc-wrapper-15.2.0/bin/c++ BINDIR=\$\(out\)/bin LIBDIR=\$\(out\)/lib/wrap-buddy INTERP=/nix/store/8kvxvr3pmsypxiypq4g8zy13glnfr7nx-glibc-2.42-67/lib/ld-linux-x86-64.so.2 LIBC_LIB=/nix/store/8kvxvr3pmsypxiypq4g8zy13glnfr7nx-glibc-2.42-67/lib BUILD_32BIT=118wrap-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.c19wrap-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/m8b29sdvr1ihdacm2w0wx878svi7zbrn-wrap-buddy-1.0.1/lib/wrap-buddy/loader.bin"' -o stub.elf src/stub/stub.c20wrap-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.c21wrap-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 -m32 -Wl,-T,src/preamble.ld -Wl,-e,_start -Wl,-Ttext=0 -o loader32.elf src/loader/loader.c22wrap-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 -m32 -Wl,-T,src/preamble.ld -Wl,-e,_start -Wl,-Ttext=0 -DLOADER_PATH='"/nix/store/m8b29sdvr1ihdacm2w0wx878svi7zbrn-wrap-buddy-1.0.1/lib/wrap-buddy/loader32.bin"' -o stub32.elf src/stub/stub.c23wrap-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 -m32 -Wl,-T,src/preamble.ld -Wl,-e,_start -Wl,-Ttext=0 -DLOADER_PATH='"880031aabab70d51f1ff08762ad3c457bdaa2bf2687f4e864a33f63889a5ed1b571bebc01e6d248e9e4ac63c86b696712f07a701983375bd95910df9afa9a636"' -o stub32_reloc.elf src/stub/stub.c24wrap-buddy-1.0.1> /nix/store/39lyf5g2iz4jd2r6q4g5whk9vw09zglj-binutils-2.46/bin/ld.bfd: warning: stub.elf has a LOAD segment with RWX permissions25wrap-buddy-1.0.1> /nix/store/39lyf5g2iz4jd2r6q4g5whk9vw09zglj-binutils-2.46/bin/ld.bfd: warning: stub32.elf has a LOAD segment with RWX permissions26wrap-buddy-1.0.1> objcopy -O binary --only-section=.all stub.elf stub.bin27wrap-buddy-1.0.1> objcopy -O binary --only-section=.all stub32.elf stub32.bin28wrap-buddy-1.0.1> xxd -i stub.bin > src/patcher/stub_64.h29wrap-buddy-1.0.1> xxd -i stub32.bin > src/patcher/stub_32.h30wrap-buddy-1.0.1> /nix/store/39lyf5g2iz4jd2r6q4g5whk9vw09zglj-binutils-2.46/bin/ld.bfd: warning: stub_reloc.elf has a LOAD segment with RWX permissions31wrap-buddy-1.0.1> objcopy -O binary --only-section=.all stub_reloc.elf stub_reloc.bin32wrap-buddy-1.0.1> /nix/store/39lyf5g2iz4jd2r6q4g5whk9vw09zglj-binutils-2.46/bin/ld.bfd: warning: stub32_reloc.elf has a LOAD segment with RWX permissions33wrap-buddy-1.0.1> xxd -i stub_reloc.bin > src/patcher/stub_64_reloc.h34wrap-buddy-1.0.1> objcopy -O binary --only-section=.all stub32_reloc.elf stub32_reloc.bin35wrap-buddy-1.0.1> xxd -i stub32_reloc.bin > src/patcher/stub_32_reloc.h36wrap-buddy-1.0.1> /nix/store/xcnqqnhw9hb4j5rjgds2yjryi8qki5f3-gcc-wrapper-15.2.0/bin/c++ -std=c++23 -Wall -Wextra -O2 -Iinclude -DRELOCATABLE_LOADER_PATH_PLACEHOLDER='"880031aabab70d51f1ff08762ad3c457bdaa2bf2687f4e864a33f63889a5ed1b571bebc01e6d248e9e4ac63c86b696712f07a701983375bd95910df9afa9a636"' -DLIBDIR='"/nix/store/m8b29sdvr1ihdacm2w0wx878svi7zbrn-wrap-buddy-1.0.1/lib/wrap-buddy"' -DHAVE_STUB_32 -DDEFAULT_INTERP='"/nix/store/8kvxvr3pmsypxiypq4g8zy13glnfr7nx-glibc-2.42-67/lib/ld-linux-x86-64.so.2"' -DDEFAULT_LIBC_LIB='"/nix/store/8kvxvr3pmsypxiypq4g8zy13glnfr7nx-glibc-2.42-67/lib"' -Isrc/patcher -o wrap-buddy src/patcher/main.cc37wrap-buddy-1.0.1> /nix/store/39lyf5g2iz4jd2r6q4g5whk9vw09zglj-binutils-2.46/bin/ld.bfd: warning: loader32.elf has a LOAD segment with RWX permissions38wrap-buddy-1.0.1> /nix/store/39lyf5g2iz4jd2r6q4g5whk9vw09zglj-binutils-2.46/bin/ld.bfd: warning: loader.elf has a LOAD segment with RWX permissions39wrap-buddy-1.0.1> objcopy -O binary --only-section=.all loader32.elf loader32.bin40wrap-buddy-1.0.1> objcopy -O binary --only-section=.all loader.elf loader.bin41wrap-buddy-1.0.1> Running phase: installPhase42wrap-buddy-1.0.1> install flags: -j384 SHELL=/nix/store/zh1ijdhb6gng1509b1zrilb6xlzx60j6-bash-5.3p9/bin/bash CXX_FOR_BUILD=/nix/store/xcnqqnhw9hb4j5rjgds2yjryi8qki5f3-gcc-wrapper-15.2.0/bin/c++ BINDIR=\$\(out\)/bin LIBDIR=\$\(out\)/lib/wrap-buddy INTERP=/nix/store/8kvxvr3pmsypxiypq4g8zy13glnfr7nx-glibc-2.42-67/lib/ld-linux-x86-64.so.2 LIBC_LIB=/nix/store/8kvxvr3pmsypxiypq4g8zy13glnfr7nx-glibc-2.42-67/lib BUILD_32BIT=1 install43wrap-buddy-1.0.1> install -d /nix/store/m8b29sdvr1ihdacm2w0wx878svi7zbrn-wrap-buddy-1.0.1/bin44wrap-buddy-1.0.1> install -m 755 wrap-buddy /nix/store/m8b29sdvr1ihdacm2w0wx878svi7zbrn-wrap-buddy-1.0.1/bin/45wrap-buddy-1.0.1> install -d /nix/store/m8b29sdvr1ihdacm2w0wx878svi7zbrn-wrap-buddy-1.0.1/lib/wrap-buddy46wrap-buddy-1.0.1> install -m 644 loader.bin stub.bin stub_reloc.bin loader32.bin stub32.bin /nix/store/m8b29sdvr1ihdacm2w0wx878svi7zbrn-wrap-buddy-1.0.1/lib/wrap-buddy/47wrap-buddy-1.0.1> Running phase: fixupPhase48wrap-buddy-1.0.1> shrinking RPATHs of ELF executables and libraries in /nix/store/m8b29sdvr1ihdacm2w0wx878svi7zbrn-wrap-buddy-1.0.149wrap-buddy-1.0.1> shrinking /nix/store/m8b29sdvr1ihdacm2w0wx878svi7zbrn-wrap-buddy-1.0.1/bin/wrap-buddy50wrap-buddy-1.0.1> checking for references to /build/ in /nix/store/m8b29sdvr1ihdacm2w0wx878svi7zbrn-wrap-buddy-1.0.1...51wrap-buddy-1.0.1> patching script interpreter paths in /nix/store/m8b29sdvr1ihdacm2w0wx878svi7zbrn-wrap-buddy-1.0.152wrap-buddy-1.0.1> stripping (with command strip and flags -S -p) in /nix/store/m8b29sdvr1ihdacm2w0wx878svi7zbrn-wrap-buddy-1.0.1/lib /nix/store/m8b29sdvr1ihdacm2w0wx878svi7zbrn-wrap-buddy-1.0.1/bin53wrap-buddy-1.0.1> Running phase: installCheckPhase54wrap-buddy-1.0.1> installcheck flags: -j384 SHELL=/nix/store/zh1ijdhb6gng1509b1zrilb6xlzx60j6-bash-5.3p9/bin/bash CXX_FOR_BUILD=/nix/store/xcnqqnhw9hb4j5rjgds2yjryi8qki5f3-gcc-wrapper-15.2.0/bin/c++ BINDIR=\$\(out\)/bin LIBDIR=\$\(out\)/lib/wrap-buddy INTERP=/nix/store/8kvxvr3pmsypxiypq4g8zy13glnfr7nx-glibc-2.42-67/lib/ld-linux-x86-64.so.2 LIBC_LIB=/nix/store/8kvxvr3pmsypxiypq4g8zy13glnfr7nx-glibc-2.42-67/lib BUILD_32BIT=1 INTERP=/nix/store/8kvxvr3pmsypxiypq4g8zy13glnfr7nx-glibc-2.42-67/lib/ld-linux-x86-64.so.2 LIBC_LIB=/nix/store/8kvxvr3pmsypxiypq4g8zy13glnfr7nx-glibc-2.42-67/lib check55wrap-buddy-1.0.1> bash tests/test.sh --interp /nix/store/8kvxvr3pmsypxiypq4g8zy13glnfr7nx-glibc-2.42-67/lib/ld-linux-x86-64.so.2 --libs /nix/store/8kvxvr3pmsypxiypq4g8zy13glnfr7nx-glibc-2.42-67/lib56wrap-buddy-1.0.1> === Test: basic patching ===57wrap-buddy-1.0.1> Using interpreter: /nix/store/8kvxvr3pmsypxiypq4g8zy13glnfr7nx-glibc-2.42-67/lib/ld-linux-x86-64.so.258wrap-buddy-1.0.1> 64-bit stub: 407 bytes59wrap-buddy-1.0.1> 32-bit stub: 441 bytes60wrap-buddy-1.0.1> Patching: /build/tmp.p3Fdj5NyTl/basic61wrap-buddy-1.0.1> ELF class: 64-bit62wrap-buddy-1.0.1> Original entry: 0x1150 (file offset: 0x1150)63wrap-buddy-1.0.1> Available space at entry: 4345 bytes64wrap-buddy-1.0.1> Stub size: 407 bytes (padded to 416)65wrap-buddy-1.0.1> Wrote config to /build/tmp.p3Fdj5NyTl/.basic.wrapbuddy66wrap-buddy-1.0.1> Overwrote 416 bytes at entry point67wrap-buddy-1.0.1> Converted PT_INTERP to PT_NULL68wrap-buddy-1.0.1> Patched: /build/tmp.p3Fdj5NyTl/basic69wrap-buddy-1.0.1> PASS: basic patching70wrap-buddy-1.0.1> === Test: --needed injection ===71wrap-buddy-1.0.1> Using interpreter: /nix/store/8kvxvr3pmsypxiypq4g8zy13glnfr7nx-glibc-2.42-67/lib/ld-linux-x86-64.so.272wrap-buddy-1.0.1> 64-bit stub: 407 bytes73wrap-buddy-1.0.1> 32-bit stub: 441 bytes74wrap-buddy-1.0.1> Patching: /build/tmp.p3Fdj5NyTl/check75wrap-buddy-1.0.1> ELF class: 64-bit76wrap-buddy-1.0.1> Original entry: 0x10f0 (file offset: 0x10f0)77wrap-buddy-1.0.1> Available space at entry: 4345 bytes78wrap-buddy-1.0.1> Stub size: 407 bytes (padded to 416)79wrap-buddy-1.0.1> Wrote config to /build/tmp.p3Fdj5NyTl/.check.wrapbuddy80wrap-buddy-1.0.1> Overwrote 416 bytes at entry point81wrap-buddy-1.0.1> Converted PT_INTERP to PT_NULL82wrap-buddy-1.0.1> Patched: /build/tmp.p3Fdj5NyTl/check83wrap-buddy-1.0.1> PASS: --needed injection84wrap-buddy-1.0.1> === Test: --relocatable ===85wrap-buddy-1.0.1> Using interpreter: /nix/store/8kvxvr3pmsypxiypq4g8zy13glnfr7nx-glibc-2.42-67/lib/ld-linux-x86-64.so.286wrap-buddy-1.0.1> 64-bit stub: 577 bytes87wrap-buddy-1.0.1> 32-bit stub: 641 bytes88wrap-buddy-1.0.1> Patching: /build/tmp.p3Fdj5NyTl/relocatable89wrap-buddy-1.0.1> ELF class: 64-bit90wrap-buddy-1.0.1> Original entry: 0x1150 (file offset: 0x1150)91wrap-buddy-1.0.1> Available space at entry: 4345 bytes92wrap-buddy-1.0.1> Stub size: 577 bytes (padded to 592)93wrap-buddy-1.0.1> Wrote config to /build/tmp.p3Fdj5NyTl/.relocatable.wrapbuddy94wrap-buddy-1.0.1> Overwrote 592 bytes at entry point95wrap-buddy-1.0.1> Converted PT_INTERP to PT_NULL96wrap-buddy-1.0.1> Patched: /build/tmp.p3Fdj5NyTl/relocatable97wrap-buddy-1.0.1> PASS: --relocatable patching98wrap-buddy-1.0.1> === Test: --relocatable binary movement ===99wrap-buddy-1.0.1> Using interpreter: /nix/store/8kvxvr3pmsypxiypq4g8zy13glnfr7nx-glibc-2.42-67/lib/ld-linux-x86-64.so.2100wrap-buddy-1.0.1> 64-bit stub: 577 bytes101wrap-buddy-1.0.1> 32-bit stub: 641 bytes102wrap-buddy-1.0.1> Patching: /build/tmp.p3Fdj5NyTl/staging/bin/movable103wrap-buddy-1.0.1> ELF class: 64-bit104wrap-buddy-1.0.1> Original entry: 0x1150 (file offset: 0x1150)105wrap-buddy-1.0.1> Available space at entry: 4345 bytes106wrap-buddy-1.0.1> Stub size: 577 bytes (padded to 592)107wrap-buddy-1.0.1> Wrote config to /build/tmp.p3Fdj5NyTl/staging/bin/.movable.wrapbuddy108wrap-buddy-1.0.1> Overwrote 592 bytes at entry point109wrap-buddy-1.0.1> Converted PT_INTERP to PT_NULL110wrap-buddy-1.0.1> Patched: /build/tmp.p3Fdj5NyTl/staging/bin/movable111wrap-buddy-1.0.1> PASS: --relocatable binary movement112wrap-buddy-1.0.1> === All tests passed ===113building '/nix/store/y0xqpg3l777pyf38j1q519hp1xa0kiya-wrap-buddy-hook.drv' on 'ssh-ng://nix@jamie'114building '/nix/store/y0xqpg3l777pyf38j1q519hp1xa0kiya-wrap-buddy-hook.drv'115116post-build step Upload coverage to codecov: ok117Skipping codecov: project=Mic92/wrap-buddy attr=x86_64-linux.package-wrapBuddy