wrap-buddy-1.0.0
checks.x86_64-linux.home-manager-coder
· build #597
· raw
1tribuchet: building on jamie
unpackPhase
2unpacking source archive /nix/store/narnbxbbn9wqa7z715m2x7ycrss2gsj0-source3source root is source4setting SOURCE_DATE_EPOCH to timestamp 1787534799 of file "source/.github/workflows/automerge.yml"configurePhase
5no configure script, doing nothingbuildPhase
6build flags: -j24 SHELL=/nix/store/svx59425zxp552p2b8gm11qj5r09b56i-bash-5.3p15/bin/bash CXX_FOR_BUILD=/nix/store/z4c6k0mrlkwl3s4w9ysxc8vq1wylm3ms-gcc-wrapper-15.3.0/bin/c++ BINDIR=\$\(out\)/bin LIBDIR=\$\(out\)/lib/wrap-buddy INTERP=/nix/store/lm3pknxi0ipypy3lxh1wmm8wvvavdwrn-glibc-2.42-84/lib/ld-linux-x86-64.so.2 LIBC_LIB=/nix/store/lm3pknxi0ipypy3lxh1wmm8wvvavdwrn-glibc-2.42-84/lib BUILD_32BIT=17gcc -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.c8gcc -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 -DLOADER_PATH='"/nix/store/ywwcp3cs3cm8jvf0h393x7hza8j9xym5-wrap-buddy-1.0.0/lib/wrap-buddy/loader.bin"' -Iinclude -o stub.elf src/stub/stub.c9gcc -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.c10gcc -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/ywwcp3cs3cm8jvf0h393x7hza8j9xym5-wrap-buddy-1.0.0/lib/wrap-buddy/loader32.bin"' -o stub32.elf src/stub/stub.c11/nix/store/31gnwsgag5qa14hfblqi5hyn71pyx7py-binutils-2.46/bin/ld.bfd: warning: stub.elf has a LOAD segment with RWX permissions12objcopy -O binary --only-section=.all stub.elf stub.bin13/nix/store/31gnwsgag5qa14hfblqi5hyn71pyx7py-binutils-2.46/bin/ld.bfd: warning: stub32.elf has a LOAD segment with RWX permissions14objcopy -O binary --only-section=.all stub32.elf stub32.bin15xxd -i stub.bin > src/patcher/stub_64.h16xxd -i stub32.bin > src/patcher/stub_32.h17/nix/store/z4c6k0mrlkwl3s4w9ysxc8vq1wylm3ms-gcc-wrapper-15.3.0/bin/c++ -std=c++23 -Wall -Wextra -O2 -Iinclude -DHAVE_STUB_32 -DDEFAULT_INTERP='"/nix/store/lm3pknxi0ipypy3lxh1wmm8wvvavdwrn-glibc-2.42-84/lib/ld-linux-x86-64.so.2"' -DDEFAULT_LIBC_LIB='"/nix/store/lm3pknxi0ipypy3lxh1wmm8wvvavdwrn-glibc-2.42-84/lib"' -Isrc/patcher -o wrap-buddy src/patcher/main.cc18/nix/store/31gnwsgag5qa14hfblqi5hyn71pyx7py-binutils-2.46/bin/ld.bfd: warning: loader.elf has a LOAD segment with RWX permissions19/nix/store/31gnwsgag5qa14hfblqi5hyn71pyx7py-binutils-2.46/bin/ld.bfd: warning: loader32.elf has a LOAD segment with RWX permissions20objcopy -O binary --only-section=.all loader.elf loader.bin21objcopy -O binary --only-section=.all loader32.elf loader32.bininstallPhase
22install flags: -j24 SHELL=/nix/store/svx59425zxp552p2b8gm11qj5r09b56i-bash-5.3p15/bin/bash CXX_FOR_BUILD=/nix/store/z4c6k0mrlkwl3s4w9ysxc8vq1wylm3ms-gcc-wrapper-15.3.0/bin/c++ BINDIR=\$\(out\)/bin LIBDIR=\$\(out\)/lib/wrap-buddy INTERP=/nix/store/lm3pknxi0ipypy3lxh1wmm8wvvavdwrn-glibc-2.42-84/lib/ld-linux-x86-64.so.2 LIBC_LIB=/nix/store/lm3pknxi0ipypy3lxh1wmm8wvvavdwrn-glibc-2.42-84/lib BUILD_32BIT=1 install23install -d /nix/store/ywwcp3cs3cm8jvf0h393x7hza8j9xym5-wrap-buddy-1.0.0/bin24install -m 755 wrap-buddy /nix/store/ywwcp3cs3cm8jvf0h393x7hza8j9xym5-wrap-buddy-1.0.0/bin/25install -d /nix/store/ywwcp3cs3cm8jvf0h393x7hza8j9xym5-wrap-buddy-1.0.0/lib/wrap-buddy26install -m 644 loader.bin stub.bin loader32.bin stub32.bin /nix/store/ywwcp3cs3cm8jvf0h393x7hza8j9xym5-wrap-buddy-1.0.0/lib/wrap-buddy/fixupPhase
27shrinking RPATHs of ELF executables and libraries in /nix/store/ywwcp3cs3cm8jvf0h393x7hza8j9xym5-wrap-buddy-1.0.028shrinking /nix/store/ywwcp3cs3cm8jvf0h393x7hza8j9xym5-wrap-buddy-1.0.0/bin/wrap-buddy29checking for references to /build/ in /nix/store/ywwcp3cs3cm8jvf0h393x7hza8j9xym5-wrap-buddy-1.0.0...30patching script interpreter paths in /nix/store/ywwcp3cs3cm8jvf0h393x7hza8j9xym5-wrap-buddy-1.0.031stripping (with command strip and flags -S -p) in /nix/store/ywwcp3cs3cm8jvf0h393x7hza8j9xym5-wrap-buddy-1.0.0/lib /nix/store/ywwcp3cs3cm8jvf0h393x7hza8j9xym5-wrap-buddy-1.0.0/bininstallCheckPhase
32installcheck flags: -j24 SHELL=/nix/store/svx59425zxp552p2b8gm11qj5r09b56i-bash-5.3p15/bin/bash CXX_FOR_BUILD=/nix/store/z4c6k0mrlkwl3s4w9ysxc8vq1wylm3ms-gcc-wrapper-15.3.0/bin/c++ BINDIR=\$\(out\)/bin LIBDIR=\$\(out\)/lib/wrap-buddy INTERP=/nix/store/lm3pknxi0ipypy3lxh1wmm8wvvavdwrn-glibc-2.42-84/lib/ld-linux-x86-64.so.2 LIBC_LIB=/nix/store/lm3pknxi0ipypy3lxh1wmm8wvvavdwrn-glibc-2.42-84/lib BUILD_32BIT=1 check33bash tests/test.sh --interp /nix/store/lm3pknxi0ipypy3lxh1wmm8wvvavdwrn-glibc-2.42-84/lib/ld-linux-x86-64.so.2 --libs /nix/store/lm3pknxi0ipypy3lxh1wmm8wvvavdwrn-glibc-2.42-84/lib34=== Test: basic patching ===35Using interpreter: /nix/store/lm3pknxi0ipypy3lxh1wmm8wvvavdwrn-glibc-2.42-84/lib/ld-linux-x86-64.so.23664-bit stub: 407 bytes3732-bit stub: 441 bytes38Patching: /build/tmp.qMXCexxfaL/basic39 ELF class: 64-bit40 Original entry: 0x1150 (file offset: 0x1150)41 Available space at entry: 4345 bytes42 Stub size: 407 bytes (padded to 416)43 Wrote config to /build/tmp.qMXCexxfaL/.basic.wrapbuddy44 Overwrote 416 bytes at entry point45 Converted PT_INTERP to PT_NULL46Patched: /build/tmp.qMXCexxfaL/basic47PASS: basic patching48=== Test: --needed injection ===49Using interpreter: /nix/store/lm3pknxi0ipypy3lxh1wmm8wvvavdwrn-glibc-2.42-84/lib/ld-linux-x86-64.so.25064-bit stub: 407 bytes5132-bit stub: 441 bytes52Patching: /build/tmp.qMXCexxfaL/check53 ELF class: 64-bit54 Original entry: 0x10f0 (file offset: 0x10f0)55 Available space at entry: 4345 bytes56 Stub size: 407 bytes (padded to 416)57 Wrote config to /build/tmp.qMXCexxfaL/.check.wrapbuddy58 Overwrote 416 bytes at entry point59 Converted PT_INTERP to PT_NULL60Patched: /build/tmp.qMXCexxfaL/check61PASS: --needed injection62=== All tests passed ===