1this derivation will be built:2 /nix/store/f7wnh1h1fr9pra7jayrxqwvimq4mgshg-wrap-buddy-1.0.1.drv3these 5 paths will be fetched (2.9 MiB download, 18.8 MiB unpacked):4 /nix/store/4bjgyzyppcdm5k246z62hl7n8yymvvhk-clang-wrapper-21.1.85 /nix/store/sk8lfmwp91ncwqk43lf1yyd053ydz1xb-libcxx-21.1.86 /nix/store/17ni304lybbq86dzxp0lrlvrp0bq7m0r-libcxx-21.1.8-dev7 /nix/store/0yyl462wmliql5pw5xwardnas2wjk6ij-stdenv-linux8 /nix/store/r9i3w4dxggsxb1fmib89xakrp0gx14zv-xxd-tinyxxd-1.3.159building '/nix/store/f7wnh1h1fr9pra7jayrxqwvimq4mgshg-wrap-buddy-1.0.1.drv' on 'ssh-ng://nix@jamie'10building '/nix/store/f7wnh1h1fr9pra7jayrxqwvimq4mgshg-wrap-buddy-1.0.1.drv'11wrap-buddy-1.0.1> Running phase: unpackPhase12wrap-buddy-1.0.1> unpacking source archive /nix/store/jsx71pwk7vjpmbjhwmvwdc3qlqw1053p-source13wrap-buddy-1.0.1> source root is source14wrap-buddy-1.0.1> Running phase: patchPhase15wrap-buddy-1.0.1> Running phase: updateAutotoolsGnuConfigScriptsPhase16wrap-buddy-1.0.1> Running phase: configurePhase17wrap-buddy-1.0.1> no configure script, doing nothing18wrap-buddy-1.0.1> Running phase: buildPhase19wrap-buddy-1.0.1> build flags: SHELL=/nix/store/zh1ijdhb6gng1509b1zrilb6xlzx60j6-bash-5.3p9/bin/bash CXX_FOR_BUILD=/nix/store/4bjgyzyppcdm5k246z62hl7n8yymvvhk-clang-wrapper-21.1.8/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/lib20wrap-buddy-1.0.1> clang -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.c21wrap-buddy-1.0.1> clang: warning: argument unused during compilation: '-nostdlibinc' [-Wunused-command-line-argument]22wrap-buddy-1.0.1> /nix/store/39lyf5g2iz4jd2r6q4g5whk9vw09zglj-binutils-2.46/bin/ld.bfd: warning: loader.elf has a LOAD segment with RWX permissions23wrap-buddy-1.0.1> objcopy -O binary --only-section=.all loader.elf loader.bin24wrap-buddy-1.0.1> clang -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/5k1ysiwdij2waz580xal7158lbrib89q-wrap-buddy-1.0.1/lib/wrap-buddy/loader.bin"' -o stub.elf src/stub/stub.c25wrap-buddy-1.0.1> clang: warning: argument unused during compilation: '-nostdlibinc' [-Wunused-command-line-argument]26wrap-buddy-1.0.1> /nix/store/39lyf5g2iz4jd2r6q4g5whk9vw09zglj-binutils-2.46/bin/ld.bfd: warning: stub.elf has a LOAD segment with RWX permissions27wrap-buddy-1.0.1> objcopy -O binary --only-section=.all stub.elf stub.bin28wrap-buddy-1.0.1> clang -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.c29wrap-buddy-1.0.1> clang: warning: argument unused during compilation: '-nostdlibinc' [-Wunused-command-line-argument]30wrap-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> clang -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.c33wrap-buddy-1.0.1> clang: warning: argument unused during compilation: '-nostdlibinc' [-Wunused-command-line-argument]34wrap-buddy-1.0.1> /nix/store/39lyf5g2iz4jd2r6q4g5whk9vw09zglj-binutils-2.46/bin/ld.bfd: warning: loader32.elf has a LOAD segment with RWX permissions35wrap-buddy-1.0.1> objcopy -O binary --only-section=.all loader32.elf loader32.bin36wrap-buddy-1.0.1> clang -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/5k1ysiwdij2waz580xal7158lbrib89q-wrap-buddy-1.0.1/lib/wrap-buddy/loader32.bin"' -o stub32.elf src/stub/stub.c37wrap-buddy-1.0.1> clang: warning: argument unused during compilation: '-nostdlibinc' [-Wunused-command-line-argument]38wrap-buddy-1.0.1> /nix/store/39lyf5g2iz4jd2r6q4g5whk9vw09zglj-binutils-2.46/bin/ld.bfd: warning: stub32.elf has a LOAD segment with RWX permissions39wrap-buddy-1.0.1> objcopy -O binary --only-section=.all stub32.elf stub32.bin40wrap-buddy-1.0.1> xxd -i stub.bin > src/patcher/stub_64.h41wrap-buddy-1.0.1> xxd -i stub32.bin > src/patcher/stub_32.h42wrap-buddy-1.0.1> xxd -i stub_reloc.bin > src/patcher/stub_64_reloc.h43wrap-buddy-1.0.1> clang -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.c44wrap-buddy-1.0.1> clang: warning: argument unused during compilation: '-nostdlibinc' [-Wunused-command-line-argument]45wrap-buddy-1.0.1> /nix/store/39lyf5g2iz4jd2r6q4g5whk9vw09zglj-binutils-2.46/bin/ld.bfd: warning: stub32_reloc.elf has a LOAD segment with RWX permissions46wrap-buddy-1.0.1> objcopy -O binary --only-section=.all stub32_reloc.elf stub32_reloc.bin47wrap-buddy-1.0.1> xxd -i stub32_reloc.bin > src/patcher/stub_32_reloc.h48wrap-buddy-1.0.1> /nix/store/4bjgyzyppcdm5k246z62hl7n8yymvvhk-clang-wrapper-21.1.8/bin/c++ -std=c++23 -Wall -Wextra -O2 -Iinclude -DRELOCATABLE_LOADER_PATH_PLACEHOLDER='"880031aabab70d51f1ff08762ad3c457bdaa2bf2687f4e864a33f63889a5ed1b571bebc01e6d248e9e4ac63c86b696712f07a701983375bd95910df9afa9a636"' -DLIBDIR='"/nix/store/5k1ysiwdij2waz580xal7158lbrib89q-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.cc49wrap-buddy-1.0.1> Running phase: installPhase50wrap-buddy-1.0.1> install flags: SHELL=/nix/store/zh1ijdhb6gng1509b1zrilb6xlzx60j6-bash-5.3p9/bin/bash CXX_FOR_BUILD=/nix/store/4bjgyzyppcdm5k246z62hl7n8yymvvhk-clang-wrapper-21.1.8/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 install51wrap-buddy-1.0.1> install -d /nix/store/5k1ysiwdij2waz580xal7158lbrib89q-wrap-buddy-1.0.1/bin52wrap-buddy-1.0.1> install -m 755 wrap-buddy /nix/store/5k1ysiwdij2waz580xal7158lbrib89q-wrap-buddy-1.0.1/bin/53wrap-buddy-1.0.1> install -d /nix/store/5k1ysiwdij2waz580xal7158lbrib89q-wrap-buddy-1.0.1/lib/wrap-buddy54wrap-buddy-1.0.1> install -m 644 loader.bin stub.bin stub_reloc.bin loader32.bin stub32.bin /nix/store/5k1ysiwdij2waz580xal7158lbrib89q-wrap-buddy-1.0.1/lib/wrap-buddy/55wrap-buddy-1.0.1> Running phase: fixupPhase56wrap-buddy-1.0.1> shrinking RPATHs of ELF executables and libraries in /nix/store/5k1ysiwdij2waz580xal7158lbrib89q-wrap-buddy-1.0.157wrap-buddy-1.0.1> shrinking /nix/store/5k1ysiwdij2waz580xal7158lbrib89q-wrap-buddy-1.0.1/bin/wrap-buddy58wrap-buddy-1.0.1> checking for references to /build/ in /nix/store/5k1ysiwdij2waz580xal7158lbrib89q-wrap-buddy-1.0.1...59wrap-buddy-1.0.1> patching script interpreter paths in /nix/store/5k1ysiwdij2waz580xal7158lbrib89q-wrap-buddy-1.0.160wrap-buddy-1.0.1> stripping (with command strip and flags -S -p) in /nix/store/5k1ysiwdij2waz580xal7158lbrib89q-wrap-buddy-1.0.1/lib /nix/store/5k1ysiwdij2waz580xal7158lbrib89q-wrap-buddy-1.0.1/bin61wrap-buddy-1.0.1> Running phase: installCheckPhase62wrap-buddy-1.0.1> installcheck flags: SHELL=/nix/store/zh1ijdhb6gng1509b1zrilb6xlzx60j6-bash-5.3p9/bin/bash CXX_FOR_BUILD=/nix/store/4bjgyzyppcdm5k246z62hl7n8yymvvhk-clang-wrapper-21.1.8/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 check63wrap-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/lib64wrap-buddy-1.0.1> === Test: basic patching ===65wrap-buddy-1.0.1> Using interpreter: /nix/store/8kvxvr3pmsypxiypq4g8zy13glnfr7nx-glibc-2.42-67/lib/ld-linux-x86-64.so.266wrap-buddy-1.0.1> 64-bit stub: 410 bytes67wrap-buddy-1.0.1> 32-bit stub: 413 bytes68wrap-buddy-1.0.1> Patching: /build/tmp.MyKhp4rxIT/basic69wrap-buddy-1.0.1> ELF class: 64-bit70wrap-buddy-1.0.1> Original entry: 0x1080 (file offset: 0x1080)71wrap-buddy-1.0.1> Available space at entry: 4717 bytes72wrap-buddy-1.0.1> Stub size: 410 bytes (padded to 416)73wrap-buddy-1.0.1> Wrote config to /build/tmp.MyKhp4rxIT/.basic.wrapbuddy74wrap-buddy-1.0.1> Overwrote 416 bytes at entry point75wrap-buddy-1.0.1> Converted PT_INTERP to PT_NULL76wrap-buddy-1.0.1> Patched: /build/tmp.MyKhp4rxIT/basic77wrap-buddy-1.0.1> PASS: basic patching78wrap-buddy-1.0.1> === Test: --needed injection ===79wrap-buddy-1.0.1> Using interpreter: /nix/store/8kvxvr3pmsypxiypq4g8zy13glnfr7nx-glibc-2.42-67/lib/ld-linux-x86-64.so.280wrap-buddy-1.0.1> 64-bit stub: 410 bytes81wrap-buddy-1.0.1> 32-bit stub: 413 bytes82wrap-buddy-1.0.1> Patching: /build/tmp.MyKhp4rxIT/check83wrap-buddy-1.0.1> ELF class: 64-bit84wrap-buddy-1.0.1> Original entry: 0x1070 (file offset: 0x1070)85wrap-buddy-1.0.1> Available space at entry: 4641 bytes86wrap-buddy-1.0.1> Stub size: 410 bytes (padded to 416)87wrap-buddy-1.0.1> Wrote config to /build/tmp.MyKhp4rxIT/.check.wrapbuddy88wrap-buddy-1.0.1> Overwrote 416 bytes at entry point89wrap-buddy-1.0.1> Converted PT_INTERP to PT_NULL90wrap-buddy-1.0.1> Patched: /build/tmp.MyKhp4rxIT/check91wrap-buddy-1.0.1> PASS: --needed injection92wrap-buddy-1.0.1> === Test: --relocatable ===93wrap-buddy-1.0.1> Using interpreter: /nix/store/8kvxvr3pmsypxiypq4g8zy13glnfr7nx-glibc-2.42-67/lib/ld-linux-x86-64.so.294wrap-buddy-1.0.1> 64-bit stub: 608 bytes95wrap-buddy-1.0.1> 32-bit stub: 612 bytes96wrap-buddy-1.0.1> Patching: /build/tmp.MyKhp4rxIT/relocatable97wrap-buddy-1.0.1> ELF class: 64-bit98wrap-buddy-1.0.1> Original entry: 0x1080 (file offset: 0x1080)99wrap-buddy-1.0.1> Available space at entry: 4717 bytes100wrap-buddy-1.0.1> Stub size: 608 bytes (padded to 608)101wrap-buddy-1.0.1> Wrote config to /build/tmp.MyKhp4rxIT/.relocatable.wrapbuddy102wrap-buddy-1.0.1> Overwrote 608 bytes at entry point103wrap-buddy-1.0.1> Converted PT_INTERP to PT_NULL104wrap-buddy-1.0.1> Patched: /build/tmp.MyKhp4rxIT/relocatable105wrap-buddy-1.0.1> PASS: --relocatable patching106wrap-buddy-1.0.1> === Test: --relocatable binary movement ===107wrap-buddy-1.0.1> Using interpreter: /nix/store/8kvxvr3pmsypxiypq4g8zy13glnfr7nx-glibc-2.42-67/lib/ld-linux-x86-64.so.2108wrap-buddy-1.0.1> 64-bit stub: 608 bytes109wrap-buddy-1.0.1> 32-bit stub: 612 bytes110wrap-buddy-1.0.1> Patching: /build/tmp.MyKhp4rxIT/staging/bin/movable111wrap-buddy-1.0.1> ELF class: 64-bit112wrap-buddy-1.0.1> Original entry: 0x1080 (file offset: 0x1080)113wrap-buddy-1.0.1> Available space at entry: 4717 bytes114wrap-buddy-1.0.1> Stub size: 608 bytes (padded to 608)115wrap-buddy-1.0.1> Wrote config to /build/tmp.MyKhp4rxIT/staging/bin/.movable.wrapbuddy116wrap-buddy-1.0.1> Overwrote 608 bytes at entry point117wrap-buddy-1.0.1> Converted PT_INTERP to PT_NULL118wrap-buddy-1.0.1> Patched: /build/tmp.MyKhp4rxIT/staging/bin/movable119wrap-buddy-1.0.1> PASS: --relocatable binary movement120wrap-buddy-1.0.1> === All tests passed ===121122post-build step Upload coverage to codecov: ok123Skipping codecov: project=Mic92/wrap-buddy attr=x86_64-linux.test-libcxx