nixbot

builds

succeeded wrap-buddy-1.0.1 x86_64-linux.test-libcxx · build #14 · raw

1tribuchet: building on jamie
unpackPhase
2unpacking source archive /nix/store/4zznh878gcxdzzfan3cbl03ky2xz5y8a-source3source root is source
configurePhase
4no configure script, doing nothing
buildPhase
5build 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/lib6clang -Wall -nostdlib -nostdinc -fPIC -fno-stack-protector -fno-exceptions -fno-unwind-tables -fno-asynchronous-unwind-tables -fno-builtin -Oz -Iinclude -Wl,-T,src/preamble.ld -Wl,-e,_start -Wl,-Ttext=0 -o loader.elf src/loader/loader.c7clang: warning: argument unused during compilation: '-nostdlibinc' [-Wunused-command-line-argument]8/nix/store/39lyf5g2iz4jd2r6q4g5whk9vw09zglj-binutils-2.46/bin/ld.bfd: warning: loader.elf has a LOAD segment with RWX permissions9objcopy -O binary --only-section=.all loader.elf loader.bin10clang -DRELOCATABLE_MODE=0 -Wall -nostdlib -nostdinc -fPIC -fno-stack-protector -fno-exceptions -fno-unwind-tables -fno-asynchronous-unwind-tables -fno-builtin -Oz -Iinclude -Wl,-T,src/preamble.ld -Wl,-e,_start -Wl,-Ttext=0 -Iinclude -DLOADER_PATH='"/nix/store/2irlgs6ckbp6yzs7m0mllv6yrd6ffhgn-wrap-buddy-1.0.1/lib/wrap-buddy/loader.bin"' -o stub.elf src/stub/stub.c11clang: warning: argument unused during compilation: '-nostdlibinc' [-Wunused-command-line-argument]12/nix/store/39lyf5g2iz4jd2r6q4g5whk9vw09zglj-binutils-2.46/bin/ld.bfd: warning: stub.elf has a LOAD segment with RWX permissions13objcopy -O binary --only-section=.all stub.elf stub.bin14clang -DRELOCATABLE_MODE=1 -Wall -nostdlib -nostdinc -fPIC -fno-stack-protector -fno-exceptions -fno-unwind-tables -fno-asynchronous-unwind-tables -fno-builtin -Oz -Iinclude -Wl,-T,src/preamble.ld -Wl,-e,_start -Wl,-Ttext=0 -Iinclude -DLOADER_PATH='"880031aabab70d51f1ff08762ad3c457bdaa2bf2687f4e864a33f63889a5ed1b571bebc01e6d248e9e4ac63c86b696712f07a701983375bd95910df9afa9a636"' -o stub_reloc.elf src/stub/stub.c15clang: warning: argument unused during compilation: '-nostdlibinc' [-Wunused-command-line-argument]16/nix/store/39lyf5g2iz4jd2r6q4g5whk9vw09zglj-binutils-2.46/bin/ld.bfd: warning: stub_reloc.elf has a LOAD segment with RWX permissions17objcopy -O binary --only-section=.all stub_reloc.elf stub_reloc.bin18clang -Wall -nostdlib -nostdinc -fPIC -fno-stack-protector -fno-exceptions -fno-unwind-tables -fno-asynchronous-unwind-tables -fno-builtin -Oz -Iinclude -m32 -Wl,-T,src/preamble.ld -Wl,-e,_start -Wl,-Ttext=0 -o loader32.elf src/loader/loader.c19clang: warning: argument unused during compilation: '-nostdlibinc' [-Wunused-command-line-argument]20/nix/store/39lyf5g2iz4jd2r6q4g5whk9vw09zglj-binutils-2.46/bin/ld.bfd: warning: loader32.elf has a LOAD segment with RWX permissions21objcopy -O binary --only-section=.all loader32.elf loader32.bin22clang -DRELOCATABLE_MODE=0 -Wall -nostdlib -nostdinc -fPIC -fno-stack-protector -fno-exceptions -fno-unwind-tables -fno-asynchronous-unwind-tables -fno-builtin -Oz -Iinclude -m32 -Wl,-T,src/preamble.ld -Wl,-e,_start -Wl,-Ttext=0 -DLOADER_PATH='"/nix/store/2irlgs6ckbp6yzs7m0mllv6yrd6ffhgn-wrap-buddy-1.0.1/lib/wrap-buddy/loader32.bin"' -o stub32.elf src/stub/stub.c23clang: warning: argument unused during compilation: '-nostdlibinc' [-Wunused-command-line-argument]24/nix/store/39lyf5g2iz4jd2r6q4g5whk9vw09zglj-binutils-2.46/bin/ld.bfd: warning: stub32.elf has a LOAD segment with RWX permissions25objcopy -O binary --only-section=.all stub32.elf stub32.bin26xxd -i stub.bin > src/patcher/stub_64.h27xxd -i stub32.bin > src/patcher/stub_32.h28xxd -i stub_reloc.bin > src/patcher/stub_64_reloc.h29clang -DRELOCATABLE_MODE=1 -Wall -nostdlib -nostdinc -fPIC -fno-stack-protector -fno-exceptions -fno-unwind-tables -fno-asynchronous-unwind-tables -fno-builtin -Oz -Iinclude -m32 -Wl,-T,src/preamble.ld -Wl,-e,_start -Wl,-Ttext=0 -DLOADER_PATH='"880031aabab70d51f1ff08762ad3c457bdaa2bf2687f4e864a33f63889a5ed1b571bebc01e6d248e9e4ac63c86b696712f07a701983375bd95910df9afa9a636"' -o stub32_reloc.elf src/stub/stub.c30clang: warning: argument unused during compilation: '-nostdlibinc' [-Wunused-command-line-argument]31/nix/store/39lyf5g2iz4jd2r6q4g5whk9vw09zglj-binutils-2.46/bin/ld.bfd: warning: stub32_reloc.elf has a LOAD segment with RWX permissions32objcopy -O binary --only-section=.all stub32_reloc.elf stub32_reloc.bin33xxd -i stub32_reloc.bin > src/patcher/stub_32_reloc.h34/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/2irlgs6ckbp6yzs7m0mllv6yrd6ffhgn-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.cc
installPhase
35install 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 install36install -d /nix/store/2irlgs6ckbp6yzs7m0mllv6yrd6ffhgn-wrap-buddy-1.0.1/bin37install -m 755 wrap-buddy /nix/store/2irlgs6ckbp6yzs7m0mllv6yrd6ffhgn-wrap-buddy-1.0.1/bin/38install -d /nix/store/2irlgs6ckbp6yzs7m0mllv6yrd6ffhgn-wrap-buddy-1.0.1/lib/wrap-buddy39install -m 644 loader.bin stub.bin stub_reloc.bin loader32.bin stub32.bin /nix/store/2irlgs6ckbp6yzs7m0mllv6yrd6ffhgn-wrap-buddy-1.0.1/lib/wrap-buddy/
fixupPhase
40shrinking RPATHs of ELF executables and libraries in /nix/store/2irlgs6ckbp6yzs7m0mllv6yrd6ffhgn-wrap-buddy-1.0.141shrinking /nix/store/2irlgs6ckbp6yzs7m0mllv6yrd6ffhgn-wrap-buddy-1.0.1/bin/wrap-buddy42checking for references to /build/ in /nix/store/2irlgs6ckbp6yzs7m0mllv6yrd6ffhgn-wrap-buddy-1.0.1...43patching script interpreter paths in /nix/store/2irlgs6ckbp6yzs7m0mllv6yrd6ffhgn-wrap-buddy-1.0.144stripping (with command strip and flags -S -p) in /nix/store/2irlgs6ckbp6yzs7m0mllv6yrd6ffhgn-wrap-buddy-1.0.1/lib /nix/store/2irlgs6ckbp6yzs7m0mllv6yrd6ffhgn-wrap-buddy-1.0.1/bin
installCheckPhase
45installcheck 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 check46bash 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/lib47=== Test: basic patching ===48Using interpreter: /nix/store/8kvxvr3pmsypxiypq4g8zy13glnfr7nx-glibc-2.42-67/lib/ld-linux-x86-64.so.24964-bit stub: 410 bytes5032-bit stub: 396 bytes51Patching: /build/tmp.bkRMp8k245/basic52 ELF class: 64-bit53 Original entry: 0x1080 (file offset: 0x1080)54 Available space at entry: 4717 bytes55 Stub size: 410 bytes (padded to 416)56 Wrote config to /build/tmp.bkRMp8k245/.basic.wrapbuddy57 Overwrote 416 bytes at entry point58 Converted PT_INTERP to PT_NULL59Patched: /build/tmp.bkRMp8k245/basic60PASS: basic patching61=== Test: --needed injection ===62Using interpreter: /nix/store/8kvxvr3pmsypxiypq4g8zy13glnfr7nx-glibc-2.42-67/lib/ld-linux-x86-64.so.26364-bit stub: 410 bytes6432-bit stub: 396 bytes65Patching: /build/tmp.bkRMp8k245/check66 ELF class: 64-bit67 Original entry: 0x1070 (file offset: 0x1070)68 Available space at entry: 4641 bytes69 Stub size: 410 bytes (padded to 416)70 Wrote config to /build/tmp.bkRMp8k245/.check.wrapbuddy71 Overwrote 416 bytes at entry point72 Converted PT_INTERP to PT_NULL73Patched: /build/tmp.bkRMp8k245/check74PASS: --needed injection75=== Test: --relocatable ===76Using interpreter: /nix/store/8kvxvr3pmsypxiypq4g8zy13glnfr7nx-glibc-2.42-67/lib/ld-linux-x86-64.so.27764-bit stub: 592 bytes7832-bit stub: 591 bytes79Patching: /build/tmp.bkRMp8k245/relocatable80 ELF class: 64-bit81 Original entry: 0x1080 (file offset: 0x1080)82 Available space at entry: 4717 bytes83 Stub size: 592 bytes (padded to 592)84 Wrote config to /build/tmp.bkRMp8k245/.relocatable.wrapbuddy85 Overwrote 592 bytes at entry point86 Converted PT_INTERP to PT_NULL87Patched: /build/tmp.bkRMp8k245/relocatable88PASS: --relocatable patching89=== Test: --relocatable binary movement ===90Using interpreter: /nix/store/8kvxvr3pmsypxiypq4g8zy13glnfr7nx-glibc-2.42-67/lib/ld-linux-x86-64.so.29164-bit stub: 592 bytes9232-bit stub: 591 bytes93Patching: /build/tmp.bkRMp8k245/staging/bin/movable94 ELF class: 64-bit95 Original entry: 0x1080 (file offset: 0x1080)96 Available space at entry: 4717 bytes97 Stub size: 592 bytes (padded to 592)98 Wrote config to /build/tmp.bkRMp8k245/staging/bin/.movable.wrapbuddy99 Overwrote 592 bytes at entry point100 Converted PT_INTERP to PT_NULL101Patched: /build/tmp.bkRMp8k245/staging/bin/movable102PASS: --relocatable binary movement103=== All tests passed ===