wrap-buddy-1.0.0
default.checks.x86_64-linux.home-manager-coder
· build #370
· raw
1tribuchet: building on jamie
unpackPhase
2unpacking source archive /nix/store/narnbxbbn9wqa7z715m2x7ycrss2gsj0-source3source root is sourceconfigurePhase
4no configure script, doing nothingbuildPhase
5build flags: -j24 SHELL=/nix/store/7ik8057hajl6vq9j40h3jracxjn0bb5x-bash-5.3p15/bin/bash CXX_FOR_BUILD=/nix/store/l5qkpzsr4gxvksh45b3nhxbkyr5cviar-gcc-wrapper-15.3.0/bin/c++ BINDIR=\$\(out\)/bin LIBDIR=\$\(out\)/lib/wrap-buddy INTERP=/nix/store/qqiqd3ah10x8hzsif4j1y4xc1miw23nx-glibc-2.42-67/lib/ld-linux-x86-64.so.2 LIBC_LIB=/nix/store/qqiqd3ah10x8hzsif4j1y4xc1miw23nx-glibc-2.42-67/lib BUILD_32BIT=16gcc -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.c7gcc -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/x27i5nkavv4kjbf7gmmgvrkm1h0g402r-wrap-buddy-1.0.0/lib/wrap-buddy/loader.bin"' -Iinclude -o stub.elf src/stub/stub.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 -o loader32.elf src/loader/loader.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 -DLOADER_PATH='"/nix/store/x27i5nkavv4kjbf7gmmgvrkm1h0g402r-wrap-buddy-1.0.0/lib/wrap-buddy/loader32.bin"' -o stub32.elf src/stub/stub.c10/nix/store/advlbxfc5cg0jswl7zv40h2lzlxiksr6-binutils-2.46/bin/ld.bfd: warning: stub.elf has a LOAD segment with RWX permissions11objcopy -O binary --only-section=.all stub.elf stub.bin12/nix/store/advlbxfc5cg0jswl7zv40h2lzlxiksr6-binutils-2.46/bin/ld.bfd: warning: stub32.elf has a LOAD segment with RWX permissions13objcopy -O binary --only-section=.all stub32.elf stub32.bin14xxd -i stub.bin > src/patcher/stub_64.h15xxd -i stub32.bin > src/patcher/stub_32.h16/nix/store/l5qkpzsr4gxvksh45b3nhxbkyr5cviar-gcc-wrapper-15.3.0/bin/c++ -std=c++23 -Wall -Wextra -O2 -Iinclude -DHAVE_STUB_32 -DDEFAULT_INTERP='"/nix/store/qqiqd3ah10x8hzsif4j1y4xc1miw23nx-glibc-2.42-67/lib/ld-linux-x86-64.so.2"' -DDEFAULT_LIBC_LIB='"/nix/store/qqiqd3ah10x8hzsif4j1y4xc1miw23nx-glibc-2.42-67/lib"' -Isrc/patcher -o wrap-buddy src/patcher/main.cc17/nix/store/advlbxfc5cg0jswl7zv40h2lzlxiksr6-binutils-2.46/bin/ld.bfd: warning: loader32.elf has a LOAD segment with RWX permissions18/nix/store/advlbxfc5cg0jswl7zv40h2lzlxiksr6-binutils-2.46/bin/ld.bfd: warning: loader.elf has a LOAD segment with RWX permissions19objcopy -O binary --only-section=.all loader32.elf loader32.bin20objcopy -O binary --only-section=.all loader.elf loader.bininstallPhase
21install flags: -j24 SHELL=/nix/store/7ik8057hajl6vq9j40h3jracxjn0bb5x-bash-5.3p15/bin/bash CXX_FOR_BUILD=/nix/store/l5qkpzsr4gxvksh45b3nhxbkyr5cviar-gcc-wrapper-15.3.0/bin/c++ BINDIR=\$\(out\)/bin LIBDIR=\$\(out\)/lib/wrap-buddy INTERP=/nix/store/qqiqd3ah10x8hzsif4j1y4xc1miw23nx-glibc-2.42-67/lib/ld-linux-x86-64.so.2 LIBC_LIB=/nix/store/qqiqd3ah10x8hzsif4j1y4xc1miw23nx-glibc-2.42-67/lib BUILD_32BIT=1 install22install -d /nix/store/x27i5nkavv4kjbf7gmmgvrkm1h0g402r-wrap-buddy-1.0.0/bin23install -m 755 wrap-buddy /nix/store/x27i5nkavv4kjbf7gmmgvrkm1h0g402r-wrap-buddy-1.0.0/bin/24install -d /nix/store/x27i5nkavv4kjbf7gmmgvrkm1h0g402r-wrap-buddy-1.0.0/lib/wrap-buddy25install -m 644 loader.bin stub.bin loader32.bin stub32.bin /nix/store/x27i5nkavv4kjbf7gmmgvrkm1h0g402r-wrap-buddy-1.0.0/lib/wrap-buddy/fixupPhase
26shrinking RPATHs of ELF executables and libraries in /nix/store/x27i5nkavv4kjbf7gmmgvrkm1h0g402r-wrap-buddy-1.0.027shrinking /nix/store/x27i5nkavv4kjbf7gmmgvrkm1h0g402r-wrap-buddy-1.0.0/bin/wrap-buddy28checking for references to /build/ in /nix/store/x27i5nkavv4kjbf7gmmgvrkm1h0g402r-wrap-buddy-1.0.0...29patching script interpreter paths in /nix/store/x27i5nkavv4kjbf7gmmgvrkm1h0g402r-wrap-buddy-1.0.030stripping (with command strip and flags -S -p) in /nix/store/x27i5nkavv4kjbf7gmmgvrkm1h0g402r-wrap-buddy-1.0.0/lib /nix/store/x27i5nkavv4kjbf7gmmgvrkm1h0g402r-wrap-buddy-1.0.0/bininstallCheckPhase
31installcheck flags: -j24 SHELL=/nix/store/7ik8057hajl6vq9j40h3jracxjn0bb5x-bash-5.3p15/bin/bash CXX_FOR_BUILD=/nix/store/l5qkpzsr4gxvksh45b3nhxbkyr5cviar-gcc-wrapper-15.3.0/bin/c++ BINDIR=\$\(out\)/bin LIBDIR=\$\(out\)/lib/wrap-buddy INTERP=/nix/store/qqiqd3ah10x8hzsif4j1y4xc1miw23nx-glibc-2.42-67/lib/ld-linux-x86-64.so.2 LIBC_LIB=/nix/store/qqiqd3ah10x8hzsif4j1y4xc1miw23nx-glibc-2.42-67/lib BUILD_32BIT=1 check32bash tests/test.sh --interp /nix/store/qqiqd3ah10x8hzsif4j1y4xc1miw23nx-glibc-2.42-67/lib/ld-linux-x86-64.so.2 --libs /nix/store/qqiqd3ah10x8hzsif4j1y4xc1miw23nx-glibc-2.42-67/lib33=== Test: basic patching ===34Using interpreter: /nix/store/qqiqd3ah10x8hzsif4j1y4xc1miw23nx-glibc-2.42-67/lib/ld-linux-x86-64.so.23564-bit stub: 407 bytes3632-bit stub: 441 bytes37Patching: /build/tmp.Qaj9ke89iw/basic38 ELF class: 64-bit39 Original entry: 0x1150 (file offset: 0x1150)40 Available space at entry: 4345 bytes41 Stub size: 407 bytes (padded to 416)42 Wrote config to /build/tmp.Qaj9ke89iw/.basic.wrapbuddy43 Overwrote 416 bytes at entry point44 Converted PT_INTERP to PT_NULL45Patched: /build/tmp.Qaj9ke89iw/basic46PASS: basic patching47=== Test: --needed injection ===48Using interpreter: /nix/store/qqiqd3ah10x8hzsif4j1y4xc1miw23nx-glibc-2.42-67/lib/ld-linux-x86-64.so.24964-bit stub: 407 bytes5032-bit stub: 441 bytes51Patching: /build/tmp.Qaj9ke89iw/check52 ELF class: 64-bit53 Original entry: 0x10f0 (file offset: 0x10f0)54 Available space at entry: 4345 bytes55 Stub size: 407 bytes (padded to 416)56 Wrote config to /build/tmp.Qaj9ke89iw/.check.wrapbuddy57 Overwrote 416 bytes at entry point58 Converted PT_INTERP to PT_NULL59Patched: /build/tmp.Qaj9ke89iw/check60PASS: --needed injection61=== All tests passed ===