wrap-buddy-1.0.0
default.checks.x86_64-linux.nixos-simon-desktop
· build #530
· raw
unpackPhase
1unpacking source archive /nix/store/narnbxbbn9wqa7z715m2x7ycrss2gsj0-source2source root is sourceconfigurePhase
3no configure script, doing nothingbuildPhase
4build flags: -j32 SHELL=/nix/store/c9mv5v53f7vy3wd00ah0f77k509mzmn7-bash-5.3p15/bin/bash CXX_FOR_BUILD=/nix/store/adcz0m6qq2flmshdf0zz2xwjr5zbq1gr-gcc-wrapper-15.3.0/bin/c++ BINDIR=\$\(out\)/bin LIBDIR=\$\(out\)/lib/wrap-buddy INTERP=/nix/store/l8si8gnvvq93yzms1jsgh5aixyf9rl5x-glibc-2.42-67/lib/ld-linux-x86-64.so.2 LIBC_LIB=/nix/store/l8si8gnvvq93yzms1jsgh5aixyf9rl5x-glibc-2.42-67/lib BUILD_32BIT=15gcc -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.c6gcc -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/119880v6ccpxmqgf4yhrrzw3pp5qy6ii-wrap-buddy-1.0.0/lib/wrap-buddy/loader.bin"' -Iinclude -o stub.elf src/stub/stub.c7gcc -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.c8gcc -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/119880v6ccpxmqgf4yhrrzw3pp5qy6ii-wrap-buddy-1.0.0/lib/wrap-buddy/loader32.bin"' -o stub32.elf src/stub/stub.c9/nix/store/b01rwyg0ii5v8r50yrikcs5af64x0v0q-binutils-2.46/bin/ld.bfd: warning: stub.elf has a LOAD segment with RWX permissions10objcopy -O binary --only-section=.all stub.elf stub.bin11/nix/store/b01rwyg0ii5v8r50yrikcs5af64x0v0q-binutils-2.46/bin/ld.bfd: warning: stub32.elf has a LOAD segment with RWX permissions12objcopy -O binary --only-section=.all stub32.elf stub32.bin13xxd -i stub.bin > src/patcher/stub_64.h14xxd -i stub32.bin > src/patcher/stub_32.h15/nix/store/adcz0m6qq2flmshdf0zz2xwjr5zbq1gr-gcc-wrapper-15.3.0/bin/c++ -std=c++23 -Wall -Wextra -O2 -Iinclude -DHAVE_STUB_32 -DDEFAULT_INTERP='"/nix/store/l8si8gnvvq93yzms1jsgh5aixyf9rl5x-glibc-2.42-67/lib/ld-linux-x86-64.so.2"' -DDEFAULT_LIBC_LIB='"/nix/store/l8si8gnvvq93yzms1jsgh5aixyf9rl5x-glibc-2.42-67/lib"' -Isrc/patcher -o wrap-buddy src/patcher/main.cc16/nix/store/b01rwyg0ii5v8r50yrikcs5af64x0v0q-binutils-2.46/bin/ld.bfd: warning: loader32.elf has a LOAD segment with RWX permissions17objcopy -O binary --only-section=.all loader32.elf loader32.bin18/nix/store/b01rwyg0ii5v8r50yrikcs5af64x0v0q-binutils-2.46/bin/ld.bfd: warning: loader.elf has a LOAD segment with RWX permissions19objcopy -O binary --only-section=.all loader.elf loader.bininstallPhase
20install flags: -j32 SHELL=/nix/store/c9mv5v53f7vy3wd00ah0f77k509mzmn7-bash-5.3p15/bin/bash CXX_FOR_BUILD=/nix/store/adcz0m6qq2flmshdf0zz2xwjr5zbq1gr-gcc-wrapper-15.3.0/bin/c++ BINDIR=\$\(out\)/bin LIBDIR=\$\(out\)/lib/wrap-buddy INTERP=/nix/store/l8si8gnvvq93yzms1jsgh5aixyf9rl5x-glibc-2.42-67/lib/ld-linux-x86-64.so.2 LIBC_LIB=/nix/store/l8si8gnvvq93yzms1jsgh5aixyf9rl5x-glibc-2.42-67/lib BUILD_32BIT=1 install21install -d /nix/store/119880v6ccpxmqgf4yhrrzw3pp5qy6ii-wrap-buddy-1.0.0/bin22install -m 755 wrap-buddy /nix/store/119880v6ccpxmqgf4yhrrzw3pp5qy6ii-wrap-buddy-1.0.0/bin/23install -d /nix/store/119880v6ccpxmqgf4yhrrzw3pp5qy6ii-wrap-buddy-1.0.0/lib/wrap-buddy24install -m 644 loader.bin stub.bin loader32.bin stub32.bin /nix/store/119880v6ccpxmqgf4yhrrzw3pp5qy6ii-wrap-buddy-1.0.0/lib/wrap-buddy/fixupPhase
25shrinking RPATHs of ELF executables and libraries in /nix/store/119880v6ccpxmqgf4yhrrzw3pp5qy6ii-wrap-buddy-1.0.026shrinking /nix/store/119880v6ccpxmqgf4yhrrzw3pp5qy6ii-wrap-buddy-1.0.0/bin/wrap-buddy27checking for references to /build/ in /nix/store/119880v6ccpxmqgf4yhrrzw3pp5qy6ii-wrap-buddy-1.0.0...28patching script interpreter paths in /nix/store/119880v6ccpxmqgf4yhrrzw3pp5qy6ii-wrap-buddy-1.0.029stripping (with command strip and flags -S -p) in /nix/store/119880v6ccpxmqgf4yhrrzw3pp5qy6ii-wrap-buddy-1.0.0/lib /nix/store/119880v6ccpxmqgf4yhrrzw3pp5qy6ii-wrap-buddy-1.0.0/bininstallCheckPhase
30installcheck flags: -j32 SHELL=/nix/store/c9mv5v53f7vy3wd00ah0f77k509mzmn7-bash-5.3p15/bin/bash CXX_FOR_BUILD=/nix/store/adcz0m6qq2flmshdf0zz2xwjr5zbq1gr-gcc-wrapper-15.3.0/bin/c++ BINDIR=\$\(out\)/bin LIBDIR=\$\(out\)/lib/wrap-buddy INTERP=/nix/store/l8si8gnvvq93yzms1jsgh5aixyf9rl5x-glibc-2.42-67/lib/ld-linux-x86-64.so.2 LIBC_LIB=/nix/store/l8si8gnvvq93yzms1jsgh5aixyf9rl5x-glibc-2.42-67/lib BUILD_32BIT=1 check31bash tests/test.sh --interp /nix/store/l8si8gnvvq93yzms1jsgh5aixyf9rl5x-glibc-2.42-67/lib/ld-linux-x86-64.so.2 --libs /nix/store/l8si8gnvvq93yzms1jsgh5aixyf9rl5x-glibc-2.42-67/lib32=== Test: basic patching ===33Using interpreter: /nix/store/l8si8gnvvq93yzms1jsgh5aixyf9rl5x-glibc-2.42-67/lib/ld-linux-x86-64.so.23464-bit stub: 407 bytes3532-bit stub: 441 bytes36Patching: /build/tmp.vhZa5OP9gl/basic37 ELF class: 64-bit38 Original entry: 0x1150 (file offset: 0x1150)39 Available space at entry: 4345 bytes40 Stub size: 407 bytes (padded to 416)41 Wrote config to /build/tmp.vhZa5OP9gl/.basic.wrapbuddy42 Overwrote 416 bytes at entry point43 Converted PT_INTERP to PT_NULL44Patched: /build/tmp.vhZa5OP9gl/basic45PASS: basic patching46=== Test: --needed injection ===47Using interpreter: /nix/store/l8si8gnvvq93yzms1jsgh5aixyf9rl5x-glibc-2.42-67/lib/ld-linux-x86-64.so.24864-bit stub: 407 bytes4932-bit stub: 441 bytes50Patching: /build/tmp.vhZa5OP9gl/check51 ELF class: 64-bit52 Original entry: 0x10f0 (file offset: 0x10f0)53 Available space at entry: 4345 bytes54 Stub size: 407 bytes (padded to 416)55 Wrote config to /build/tmp.vhZa5OP9gl/.check.wrapbuddy56 Overwrote 416 bytes at entry point57 Converted PT_INTERP to PT_NULL58Patched: /build/tmp.vhZa5OP9gl/check59PASS: --needed injection60=== All tests passed ===