wrap-buddy-1.0.0
checks.aarch64-linux.pkgs-amp
· build #10775
· raw
1elastic-arm-af922733: building lbwkvasihs0c7ypphwm1blzx8wy108xb-wrap-buddy-1.0.0.drv
unpackPhase
2unpacking source archive /nix/store/narnbxbbn9wqa7z715m2x7ycrss2gsj0-source3source root is sourceconfigurePhase
4no configure script, doing nothingbuildPhase
5build flags: -j4 SHELL=/nix/store/xl3n26zm1kv1zhj3mma2x929f4sx3dlh-bash-5.3p20/bin/bash CXX_FOR_BUILD=/nix/store/mqg95s149wr7az0xbn6d6s45m76pzz8n-gcc-wrapper-16.2.0/bin/c++ BINDIR=\$\(out\)/bin LIBDIR=\$\(out\)/lib/wrap-buddy INTERP=/nix/store/1q857rs68rs3gijls9wdnsjqnwnv5zd8-glibc-2.44-57/lib/ld-linux-aarch64.so.1 LIBC_LIB=/nix/store/1q857rs68rs3gijls9wdnsjqnwnv5zd8-glibc-2.44-57/lib6gcc -Wall -nostdlib -nostdinc -fPIC -fno-stack-protector -fno-exceptions -fno-unwind-tables -fno-asynchronous-unwind-tables -fno-builtin -Os -Iinclude -mcmodel=tiny -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 -mcmodel=tiny -Wl,-T,src/preamble.ld -Wl,-e,_start -Wl,-Ttext=0 -DLOADER_PATH='"/nix/store/81v12qmp3vrg8mxkf58cr1dsi49jpq9i-wrap-buddy-1.0.0/lib/wrap-buddy/loader.bin"' -Iinclude -o stub.elf src/stub/stub.c8/nix/store/y5hkd35ww3j3n9wckj15r7zi5zds82ld-binutils-2.46/bin/ld.bfd: warning: stub.elf has a LOAD segment with RWX permissions9objcopy -O binary --only-section=.all stub.elf stub.bin10xxd -i stub.bin > src/patcher/stub_64.h11/nix/store/mqg95s149wr7az0xbn6d6s45m76pzz8n-gcc-wrapper-16.2.0/bin/c++ -std=c++23 -Wall -Wextra -O2 -Iinclude -DDEFAULT_INTERP='"/nix/store/1q857rs68rs3gijls9wdnsjqnwnv5zd8-glibc-2.44-57/lib/ld-linux-aarch64.so.1"' -DDEFAULT_LIBC_LIB='"/nix/store/1q857rs68rs3gijls9wdnsjqnwnv5zd8-glibc-2.44-57/lib"' -Isrc/patcher -o wrap-buddy src/patcher/main.cc12/nix/store/y5hkd35ww3j3n9wckj15r7zi5zds82ld-binutils-2.46/bin/ld.bfd: warning: loader.elf has a LOAD segment with RWX permissions13objcopy -O binary --only-section=.all loader.elf loader.bininstallPhase
14install flags: -j4 SHELL=/nix/store/xl3n26zm1kv1zhj3mma2x929f4sx3dlh-bash-5.3p20/bin/bash CXX_FOR_BUILD=/nix/store/mqg95s149wr7az0xbn6d6s45m76pzz8n-gcc-wrapper-16.2.0/bin/c++ BINDIR=\$\(out\)/bin LIBDIR=\$\(out\)/lib/wrap-buddy INTERP=/nix/store/1q857rs68rs3gijls9wdnsjqnwnv5zd8-glibc-2.44-57/lib/ld-linux-aarch64.so.1 LIBC_LIB=/nix/store/1q857rs68rs3gijls9wdnsjqnwnv5zd8-glibc-2.44-57/lib install15install -d /nix/store/81v12qmp3vrg8mxkf58cr1dsi49jpq9i-wrap-buddy-1.0.0/bin16install -m 755 wrap-buddy /nix/store/81v12qmp3vrg8mxkf58cr1dsi49jpq9i-wrap-buddy-1.0.0/bin/17install -d /nix/store/81v12qmp3vrg8mxkf58cr1dsi49jpq9i-wrap-buddy-1.0.0/lib/wrap-buddy18install -m 644 loader.bin stub.bin /nix/store/81v12qmp3vrg8mxkf58cr1dsi49jpq9i-wrap-buddy-1.0.0/lib/wrap-buddy/fixupPhase
19shrinking RPATHs of ELF executables and libraries in /nix/store/81v12qmp3vrg8mxkf58cr1dsi49jpq9i-wrap-buddy-1.0.020shrinking /nix/store/81v12qmp3vrg8mxkf58cr1dsi49jpq9i-wrap-buddy-1.0.0/bin/wrap-buddy21checking for references to /build/ in /nix/store/81v12qmp3vrg8mxkf58cr1dsi49jpq9i-wrap-buddy-1.0.0...22patching script interpreter paths in /nix/store/81v12qmp3vrg8mxkf58cr1dsi49jpq9i-wrap-buddy-1.0.023stripping (with command strip and flags -S -p) in /nix/store/81v12qmp3vrg8mxkf58cr1dsi49jpq9i-wrap-buddy-1.0.0/lib /nix/store/81v12qmp3vrg8mxkf58cr1dsi49jpq9i-wrap-buddy-1.0.0/bininstallCheckPhase
24installcheck flags: -j4 SHELL=/nix/store/xl3n26zm1kv1zhj3mma2x929f4sx3dlh-bash-5.3p20/bin/bash CXX_FOR_BUILD=/nix/store/mqg95s149wr7az0xbn6d6s45m76pzz8n-gcc-wrapper-16.2.0/bin/c++ BINDIR=\$\(out\)/bin LIBDIR=\$\(out\)/lib/wrap-buddy INTERP=/nix/store/1q857rs68rs3gijls9wdnsjqnwnv5zd8-glibc-2.44-57/lib/ld-linux-aarch64.so.1 LIBC_LIB=/nix/store/1q857rs68rs3gijls9wdnsjqnwnv5zd8-glibc-2.44-57/lib check25bash tests/test.sh --interp /nix/store/1q857rs68rs3gijls9wdnsjqnwnv5zd8-glibc-2.44-57/lib/ld-linux-aarch64.so.1 --libs /nix/store/1q857rs68rs3gijls9wdnsjqnwnv5zd8-glibc-2.44-57/lib26=== Test: basic patching ===27Using interpreter: /nix/store/1q857rs68rs3gijls9wdnsjqnwnv5zd8-glibc-2.44-57/lib/ld-linux-aarch64.so.12864-bit stub: 422 bytes2932-bit stub: not available30Patching: /build/tmp.j22xoSDSR5/basic31 ELF class: 64-bit32 Original entry: 0xa00 (file offset: 0xa00)33 Available space at entry: 4820 bytes34 Stub size: 422 bytes (padded to 432)35 Wrote config to /build/tmp.j22xoSDSR5/.basic.wrapbuddy36 Overwrote 432 bytes at entry point37 Converted PT_INTERP to PT_NULL38Patched: /build/tmp.j22xoSDSR5/basic39PASS: basic patching40=== Test: --needed injection ===41Using interpreter: /nix/store/1q857rs68rs3gijls9wdnsjqnwnv5zd8-glibc-2.44-57/lib/ld-linux-aarch64.so.14264-bit stub: 422 bytes4332-bit stub: not available44Patching: /build/tmp.j22xoSDSR5/check45 ELF class: 64-bit46 Original entry: 0x840 (file offset: 0x840)47 Available space at entry: 4748 bytes48 Stub size: 422 bytes (padded to 432)49 Wrote config to /build/tmp.j22xoSDSR5/.check.wrapbuddy50 Overwrote 432 bytes at entry point51 Converted PT_INTERP to PT_NULL52Patched: /build/tmp.j22xoSDSR5/check53PASS: --needed injection54=== All tests passed ===