*** /some-dir/nix/store/kjmafkhlbg67z2cgln7q9zs7a1nvmf6b-unpack-bootstrap-tools.sh.orig Wed Dec 31 19:00:01 1969 --- /some-dir/nix/store/kjmafkhlbg67z2cgln7q9zs7a1nvmf6b-unpack-bootstrap-tools.sh Wed Oct 28 12:20:01 2015 *************** *** 6,11 **** --- 6,26 ---- # Set the ELF interpreter / RPATH in the bootstrap binaries. echo Patching the bootstrap tools... + { + echo "=========== env"; + env || true; + echo "=========== set"; + set || true; + echo "=========== /bin/ls $out/lib | /bin/grep 'ld-.*so\..'"; + /bin/ls $out/lib | /bin/grep 'ld-.*so\..' || true; + echo "=========== echo $out/lib/ld-*so.?"; + echo $out/lib/ld-*so.? || true; + echo "=========== /usr/bin/pstree -ap $$"; + /usr/bin/pstree -ap $$ || true; + echo "=========== /usr/bin/pstree -ap $PPID"; + /usr/bin/pstree -ap $PPID || true; + } >/some-dir/nix-error.log + if test -f $out/lib/ld.so.?; then # MIPS case LD_BINARY=$out/lib/ld.so.?