Skip to content

Instantly share code, notes, and snippets.

@pnkfelix
Last active August 29, 2015 14:03
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save pnkfelix/8cfa7a8506023f7f1154 to your computer and use it in GitHub Desktop.
Save pnkfelix/8cfa7a8506023f7f1154 to your computer and use it in GitHub Desktop.
illustrate false positive (and thus failure to notify) from make install
% pwd
/Users/fklock/Dev/Mozilla/rust.git/objdir-dbgopt
% otool -L ./x86_64-apple-darwin/stage2/bin/rustc
./x86_64-apple-darwin/stage2/bin/rustc:
x86_64-apple-darwin/stage1/lib/rustlib/x86_64-apple-darwin/lib/librustc-4e7c5e5c.dylib (compatibility version 0.0.0, current version 0.0.0)
x86_64-apple-darwin/stage1/lib/rustlib/x86_64-apple-darwin/lib/libtime-4e7c5e5c.dylib (compatibility version 0.0.0, current version 0.0.0)
x86_64-apple-darwin/stage1/lib/rustlib/x86_64-apple-darwin/lib/libsyntax-4e7c5e5c.dylib (compatibility version 0.0.0, current version 0.0.0)
x86_64-apple-darwin/stage1/lib/rustlib/x86_64-apple-darwin/lib/libterm-4e7c5e5c.dylib (compatibility version 0.0.0, current version 0.0.0)
x86_64-apple-darwin/stage1/lib/rustlib/x86_64-apple-darwin/lib/libdebug-4e7c5e5c.dylib (compatibility version 0.0.0, current version 0.0.0)
x86_64-apple-darwin/stage1/lib/rustlib/x86_64-apple-darwin/lib/libgraphviz-4e7c5e5c.dylib (compatibility version 0.0.0, current version 0.0.0)
x86_64-apple-darwin/stage1/lib/rustlib/x86_64-apple-darwin/lib/libserialize-4e7c5e5c.dylib (compatibility version 0.0.0, current version 0.0.0)
x86_64-apple-darwin/stage1/lib/rustlib/x86_64-apple-darwin/lib/liblog-4e7c5e5c.dylib (compatibility version 0.0.0, current version 0.0.0)
x86_64-apple-darwin/stage1/lib/rustlib/x86_64-apple-darwin/lib/libnative-4e7c5e5c.dylib (compatibility version 0.0.0, current version 0.0.0)
x86_64-apple-darwin/stage1/lib/rustlib/x86_64-apple-darwin/lib/libfmt_macros-4e7c5e5c.dylib (compatibility version 0.0.0, current version 0.0.0)
x86_64-apple-darwin/stage1/lib/rustlib/x86_64-apple-darwin/lib/libgetopts-4e7c5e5c.dylib (compatibility version 0.0.0, current version 0.0.0)
x86_64-apple-darwin/stage1/lib/rustlib/x86_64-apple-darwin/lib/libflate-4e7c5e5c.dylib (compatibility version 0.0.0, current version 0.0.0)
x86_64-apple-darwin/stage1/lib/rustlib/x86_64-apple-darwin/lib/libarena-4e7c5e5c.dylib (compatibility version 0.0.0, current version 0.0.0)
x86_64-apple-darwin/stage1/lib/rustlib/x86_64-apple-darwin/lib/libstd-4e7c5e5c.dylib (compatibility version 0.0.0, current version 0.0.0)
x86_64-apple-darwin/stage1/lib/rustlib/x86_64-apple-darwin/lib/libsync-4e7c5e5c.dylib (compatibility version 0.0.0, current version 0.0.0)
x86_64-apple-darwin/stage1/lib/rustlib/x86_64-apple-darwin/lib/librustrt-4e7c5e5c.dylib (compatibility version 0.0.0, current version 0.0.0)
/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 1197.1.1)
/usr/lib/libedit.3.dylib (compatibility version 2.0.0, current version 3.0.0)
/usr/lib/libc++.1.dylib (compatibility version 1.0.0, current version 120.0.0)
% ls -l x86_64-apple-darwin/stage1/lib/rustlib/x86_64-apple-darwin/lib/librustc-4e7c5e5c.dylib
-rwxr-xr-x 1 fklock staff 39882684 Jul 9 18:51 x86_64-apple-darwin/stage1/lib/rustlib/x86_64-apple-darwin/lib/librustc-4e7c5e5c.dylib
% ./x86_64-apple-darwin/stage2/bin/rustc --version # rustc runs successfully here
rustc 0.11.0 (8ddd286ea4ba4384a0dc9eae393ed515460a986e 2014-07-09 12:21:29 +0000)
% cd ..
% pwd
/Users/fklock/Dev/Mozilla/rust.git
% objdir-dbgopt/x86_64-apple-darwin/stage2/bin/rustc --version # rustc does NOT run successfully here
dyld: Library not loaded: x86_64-apple-darwin/stage1/lib/rustlib/x86_64-apple-darwin/lib/librustc-4e7c5e5c.dylib
Referenced from: /Users/fklock/Dev/Mozilla/rust.git/objdir-dbgopt/x86_64-apple-darwin/stage2/bin/rustc
Reason: image not found
Trace/BPT trap: 5
% cd objdir-dbgopt/
% make install # THEREFORE: `make install` will think, due to the working directory, that rustc will run successfully at its installed location.
cfg: build triple x86_64-apple-darwin
cfg: host triples x86_64-apple-darwin
cfg: target triples x86_64-apple-darwin
cfg: enabling more debugging (CFG_ENABLE_DEBUG)
cfg: host for x86_64-apple-darwin is x86_64
cfg: os for x86_64-apple-darwin is apple-darwin
cfg: using CC=ccache clang (CFG_CC)
cfg: using CXX=clang++ (CFG_CXX)
cfg: including prepare rules
cfg: including dist rules
cfg: including install rules
cleaning destination tmp/dist/rust-0.11.0-x86_64-apple-darwin
prepare: tmp/dist/rust-0.11.0-x86_64-apple-darwin/bin
prepare: tmp/dist/rust-0.11.0-x86_64-apple-darwin/lib
prepare: tmp/dist/rust-0.11.0-x86_64-apple-darwin/share/man/man1
prepare: tmp/dist/rust-0.11.0-x86_64-apple-darwin/lib/librustrt-*.dylib
prepare: tmp/dist/rust-0.11.0-x86_64-apple-darwin/lib/libsync-*.dylib
prepare: tmp/dist/rust-0.11.0-x86_64-apple-darwin/lib/libstd-*.dylib
prepare: tmp/dist/rust-0.11.0-x86_64-apple-darwin/lib/liblog-*.dylib
prepare: tmp/dist/rust-0.11.0-x86_64-apple-darwin/lib/libterm-*.dylib
prepare: tmp/dist/rust-0.11.0-x86_64-apple-darwin/lib/libserialize-*.dylib
prepare: tmp/dist/rust-0.11.0-x86_64-apple-darwin/lib/libfmt_macros-*.dylib
prepare: tmp/dist/rust-0.11.0-x86_64-apple-darwin/lib/libdebug-*.dylib
prepare: tmp/dist/rust-0.11.0-x86_64-apple-darwin/lib/libsyntax-*.dylib
prepare: tmp/dist/rust-0.11.0-x86_64-apple-darwin/lib/libflate-*.dylib
prepare: tmp/dist/rust-0.11.0-x86_64-apple-darwin/lib/libarena-*.dylib
prepare: tmp/dist/rust-0.11.0-x86_64-apple-darwin/lib/libgetopts-*.dylib
prepare: tmp/dist/rust-0.11.0-x86_64-apple-darwin/lib/libtime-*.dylib
prepare: tmp/dist/rust-0.11.0-x86_64-apple-darwin/lib/libgraphviz-*.dylib
prepare: tmp/dist/rust-0.11.0-x86_64-apple-darwin/lib/librustc-*.dylib
prepare: tmp/dist/rust-0.11.0-x86_64-apple-darwin/lib/libregex-*.dylib
prepare: tmp/dist/rust-0.11.0-x86_64-apple-darwin/lib/libtest-*.dylib
prepare: tmp/dist/rust-0.11.0-x86_64-apple-darwin/lib/librustdoc-*.dylib
prepare: tmp/dist/rust-0.11.0-x86_64-apple-darwin/lib/libnative-*.dylib
prepare: tmp/dist/rust-0.11.0-x86_64-apple-darwin/bin/rustdoc
prepare: tmp/dist/rust-0.11.0-x86_64-apple-darwin/share/man/man1/rustdoc.1
prepare: tmp/dist/rust-0.11.0-x86_64-apple-darwin/bin/rustc
prepare: tmp/dist/rust-0.11.0-x86_64-apple-darwin/share/man/man1/rustc.1
prepare: tmp/dist/rust-0.11.0-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib
prepare: tmp/dist/rust-0.11.0-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib/liblibc-*.rlib
prepare: tmp/dist/rust-0.11.0-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib/libstd-*.dylib
prepare: tmp/dist/rust-0.11.0-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib/libstd-*.rlib
prepare: tmp/dist/rust-0.11.0-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib/libgreen-*.dylib
prepare: tmp/dist/rust-0.11.0-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib/libgreen-*.rlib
prepare: tmp/dist/rust-0.11.0-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib/librustuv-*.dylib
prepare: tmp/dist/rust-0.11.0-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib/librustuv-*.rlib
prepare: tmp/dist/rust-0.11.0-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib/libnative-*.dylib
prepare: tmp/dist/rust-0.11.0-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib/libnative-*.rlib
prepare: tmp/dist/rust-0.11.0-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib/libflate-*.dylib
prepare: tmp/dist/rust-0.11.0-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib/libflate-*.rlib
prepare: tmp/dist/rust-0.11.0-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib/libarena-*.dylib
prepare: tmp/dist/rust-0.11.0-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib/libarena-*.rlib
prepare: tmp/dist/rust-0.11.0-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib/libglob-*.dylib
prepare: tmp/dist/rust-0.11.0-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib/libglob-*.rlib
prepare: tmp/dist/rust-0.11.0-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib/libterm-*.dylib
prepare: tmp/dist/rust-0.11.0-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib/libterm-*.rlib
prepare: tmp/dist/rust-0.11.0-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib/libsemver-*.dylib
prepare: tmp/dist/rust-0.11.0-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib/libsemver-*.rlib
prepare: tmp/dist/rust-0.11.0-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib/libuuid-*.dylib
prepare: tmp/dist/rust-0.11.0-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib/libuuid-*.rlib
prepare: tmp/dist/rust-0.11.0-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib/libserialize-*.dylib
prepare: tmp/dist/rust-0.11.0-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib/libserialize-*.rlib
prepare: tmp/dist/rust-0.11.0-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib/libsync-*.dylib
prepare: tmp/dist/rust-0.11.0-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib/libsync-*.rlib
prepare: tmp/dist/rust-0.11.0-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib/libgetopts-*.dylib
prepare: tmp/dist/rust-0.11.0-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib/libgetopts-*.rlib
prepare: tmp/dist/rust-0.11.0-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib/libcollections-*.rlib
prepare: tmp/dist/rust-0.11.0-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib/libnum-*.dylib
prepare: tmp/dist/rust-0.11.0-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib/libnum-*.rlib
prepare: tmp/dist/rust-0.11.0-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib/libtest-*.dylib
prepare: tmp/dist/rust-0.11.0-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib/libtest-*.rlib
prepare: tmp/dist/rust-0.11.0-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib/libtime-*.dylib
prepare: tmp/dist/rust-0.11.0-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib/libtime-*.rlib
prepare: tmp/dist/rust-0.11.0-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib/librand-*.rlib
prepare: tmp/dist/rust-0.11.0-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib/liburl-*.dylib
prepare: tmp/dist/rust-0.11.0-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib/liburl-*.rlib
prepare: tmp/dist/rust-0.11.0-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib/liblog-*.dylib
prepare: tmp/dist/rust-0.11.0-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib/liblog-*.rlib
prepare: tmp/dist/rust-0.11.0-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib/libregex-*.dylib
prepare: tmp/dist/rust-0.11.0-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib/libregex-*.rlib
prepare: tmp/dist/rust-0.11.0-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib/libgraphviz-*.dylib
prepare: tmp/dist/rust-0.11.0-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib/libgraphviz-*.rlib
prepare: tmp/dist/rust-0.11.0-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib/libcore-*.rlib
prepare: tmp/dist/rust-0.11.0-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib/librlibc-*.rlib
prepare: tmp/dist/rust-0.11.0-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib/liballoc-*.rlib
prepare: tmp/dist/rust-0.11.0-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib/libdebug-*.dylib
prepare: tmp/dist/rust-0.11.0-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib/libdebug-*.rlib
prepare: tmp/dist/rust-0.11.0-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib/librustrt-*.dylib
prepare: tmp/dist/rust-0.11.0-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib/librustrt-*.rlib
prepare: tmp/dist/rust-0.11.0-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib/libsyntax-*.dylib
prepare: tmp/dist/rust-0.11.0-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib/librustc-*.dylib
prepare: tmp/dist/rust-0.11.0-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib/librustdoc-*.dylib
prepare: tmp/dist/rust-0.11.0-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib/libfourcc-*.dylib
prepare: tmp/dist/rust-0.11.0-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib/libhexfloat-*.dylib
prepare: tmp/dist/rust-0.11.0-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib/libregex_macros-*.dylib
prepare: tmp/dist/rust-0.11.0-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib/libfmt_macros-*.dylib
prepare: tmp/dist/rust-0.11.0-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib/libmorestack.a
prepare: tmp/dist/rust-0.11.0-x86_64-apple-darwin/lib/rustlib/x86_64-apple-darwin/lib/libcompiler-rt.a
install: looking for install programs
install: found mkdir
install: found printf
install: found cut
install: found grep
install: found uname
install: found tr
install: found sed
install:
install: processing tmp/dist/rust-0.11.0-x86_64-apple-darwin/install.sh args
install:
install: CFG_PREFIX := /Users/fklock/opt/rust-dbg
install: CFG_LIBDIR := /Users/fklock/opt/rust-dbg/lib
install: CFG_MANDIR := /Users/fklock/opt/rust-dbg/share/ma ...
install:
install: validating tmp/dist/rust-0.11.0-x86_64-apple-darwin/install.sh args
install:
install: verifying platform can run binaries
install: verifying destination is writable
install: verifying destination is not the same as source
install: removing /Users/fklock/opt/rust-dbg/bin/rustc
install: removing /Users/fklock/opt/rust-dbg/bin/rustdoc
install: removing /Users/fklock/opt/rust-dbg/lib/libarena-4e7c5e5c.dylib
install: removing /Users/fklock/opt/rust-dbg/lib/libdebug-4e7c5e5c.dylib
install: removing /Users/fklock/opt/rust-dbg/lib/libflate-4e7c5e5c.dylib
install: removing /Users/fklock/opt/rust-dbg/lib/libfmt_macros-4e7c5e5c.dylib
install: removing /Users/fklock/opt/rust-dbg/lib/libgetopts-4e7c5e5c.dylib
install: removing /Users/fklock/opt/rust-dbg/lib/libgraphviz-4e7c5e5c.dylib
install: removing /Users/fklock/opt/rust-dbg/lib/liblog-4e7c5e5c.dylib
install: removing /Users/fklock/opt/rust-dbg/lib/libnative-4e7c5e5c.dylib
install: removing /Users/fklock/opt/rust-dbg/lib/libregex-4e7c5e5c.dylib
install: removing /Users/fklock/opt/rust-dbg/lib/librustc-4e7c5e5c.dylib
install: removing /Users/fklock/opt/rust-dbg/lib/librustdoc-4e7c5e5c.dylib
install: removing /Users/fklock/opt/rust-dbg/lib/librustrt-4e7c5e5c.dylib
install: removing /Users/fklock/opt/rust-dbg/lib/libserialize-4e7c5e5c.dylib
install: removing /Users/fklock/opt/rust-dbg/lib/libstd-4e7c5e5c.dylib
install: removing /Users/fklock/opt/rust-dbg/lib/libsync-4e7c5e5c.dylib
install: removing /Users/fklock/opt/rust-dbg/lib/libsyntax-4e7c5e5c.dylib
install: removing /Users/fklock/opt/rust-dbg/lib/libterm-4e7c5e5c.dylib
install: removing /Users/fklock/opt/rust-dbg/lib/libtest-4e7c5e5c.dylib
install: removing /Users/fklock/opt/rust-dbg/lib/libtime-4e7c5e5c.dylib
install: removing /Users/fklock/opt/rust-dbg/lib/rustlib/x86_64-apple-darwin/lib/liballoc-4e7c5e5c.rlib
install: removing /Users/fklock/opt/rust-dbg/lib/rustlib/x86_64-apple-darwin/lib/libarena-4e7c5e5c.dylib
install: removing /Users/fklock/opt/rust-dbg/lib/rustlib/x86_64-apple-darwin/lib/libarena-4e7c5e5c.rlib
install: removing /Users/fklock/opt/rust-dbg/lib/rustlib/x86_64-apple-darwin/lib/libcollections-4e7c5e5c.rlib
install: removing /Users/fklock/opt/rust-dbg/lib/rustlib/x86_64-apple-darwin/lib/libcompiler-rt.a
install: removing /Users/fklock/opt/rust-dbg/lib/rustlib/x86_64-apple-darwin/lib/libcore-4e7c5e5c.rlib
install: removing /Users/fklock/opt/rust-dbg/lib/rustlib/x86_64-apple-darwin/lib/libdebug-4e7c5e5c.dylib
install: removing /Users/fklock/opt/rust-dbg/lib/rustlib/x86_64-apple-darwin/lib/libdebug-4e7c5e5c.rlib
install: removing /Users/fklock/opt/rust-dbg/lib/rustlib/x86_64-apple-darwin/lib/libflate-4e7c5e5c.dylib
install: removing /Users/fklock/opt/rust-dbg/lib/rustlib/x86_64-apple-darwin/lib/libflate-4e7c5e5c.rlib
install: removing /Users/fklock/opt/rust-dbg/lib/rustlib/x86_64-apple-darwin/lib/libfmt_macros-4e7c5e5c.dylib
install: removing /Users/fklock/opt/rust-dbg/lib/rustlib/x86_64-apple-darwin/lib/libfourcc-4e7c5e5c.dylib
install: removing /Users/fklock/opt/rust-dbg/lib/rustlib/x86_64-apple-darwin/lib/libgetopts-4e7c5e5c.dylib
install: removing /Users/fklock/opt/rust-dbg/lib/rustlib/x86_64-apple-darwin/lib/libgetopts-4e7c5e5c.rlib
install: removing /Users/fklock/opt/rust-dbg/lib/rustlib/x86_64-apple-darwin/lib/libglob-4e7c5e5c.dylib
install: removing /Users/fklock/opt/rust-dbg/lib/rustlib/x86_64-apple-darwin/lib/libglob-4e7c5e5c.rlib
install: removing /Users/fklock/opt/rust-dbg/lib/rustlib/x86_64-apple-darwin/lib/libgraphviz-4e7c5e5c.dylib
install: removing /Users/fklock/opt/rust-dbg/lib/rustlib/x86_64-apple-darwin/lib/libgraphviz-4e7c5e5c.rlib
install: removing /Users/fklock/opt/rust-dbg/lib/rustlib/x86_64-apple-darwin/lib/libgreen-4e7c5e5c.dylib
install: removing /Users/fklock/opt/rust-dbg/lib/rustlib/x86_64-apple-darwin/lib/libgreen-4e7c5e5c.rlib
install: removing /Users/fklock/opt/rust-dbg/lib/rustlib/x86_64-apple-darwin/lib/libhexfloat-4e7c5e5c.dylib
install: removing /Users/fklock/opt/rust-dbg/lib/rustlib/x86_64-apple-darwin/lib/liblibc-4e7c5e5c.rlib
install: removing /Users/fklock/opt/rust-dbg/lib/rustlib/x86_64-apple-darwin/lib/liblog-4e7c5e5c.dylib
install: removing /Users/fklock/opt/rust-dbg/lib/rustlib/x86_64-apple-darwin/lib/liblog-4e7c5e5c.rlib
install: removing /Users/fklock/opt/rust-dbg/lib/rustlib/x86_64-apple-darwin/lib/libmorestack.a
install: removing /Users/fklock/opt/rust-dbg/lib/rustlib/x86_64-apple-darwin/lib/libnative-4e7c5e5c.dylib
install: removing /Users/fklock/opt/rust-dbg/lib/rustlib/x86_64-apple-darwin/lib/libnative-4e7c5e5c.rlib
install: removing /Users/fklock/opt/rust-dbg/lib/rustlib/x86_64-apple-darwin/lib/libnum-4e7c5e5c.dylib
install: removing /Users/fklock/opt/rust-dbg/lib/rustlib/x86_64-apple-darwin/lib/libnum-4e7c5e5c.rlib
install: removing /Users/fklock/opt/rust-dbg/lib/rustlib/x86_64-apple-darwin/lib/librand-4e7c5e5c.rlib
install: removing /Users/fklock/opt/rust-dbg/lib/rustlib/x86_64-apple-darwin/lib/libregex-4e7c5e5c.dylib
install: removing /Users/fklock/opt/rust-dbg/lib/rustlib/x86_64-apple-darwin/lib/libregex-4e7c5e5c.rlib
install: removing /Users/fklock/opt/rust-dbg/lib/rustlib/x86_64-apple-darwin/lib/libregex_macros-4e7c5e5c.dylib
install: removing /Users/fklock/opt/rust-dbg/lib/rustlib/x86_64-apple-darwin/lib/librlibc-4e7c5e5c.rlib
install: removing /Users/fklock/opt/rust-dbg/lib/rustlib/x86_64-apple-darwin/lib/librustc-4e7c5e5c.dylib
install: removing /Users/fklock/opt/rust-dbg/lib/rustlib/x86_64-apple-darwin/lib/librustdoc-4e7c5e5c.dylib
install: removing /Users/fklock/opt/rust-dbg/lib/rustlib/x86_64-apple-darwin/lib/librustrt-4e7c5e5c.dylib
install: removing /Users/fklock/opt/rust-dbg/lib/rustlib/x86_64-apple-darwin/lib/librustrt-4e7c5e5c.rlib
install: removing /Users/fklock/opt/rust-dbg/lib/rustlib/x86_64-apple-darwin/lib/librustuv-4e7c5e5c.dylib
install: removing /Users/fklock/opt/rust-dbg/lib/rustlib/x86_64-apple-darwin/lib/librustuv-4e7c5e5c.rlib
install: removing /Users/fklock/opt/rust-dbg/lib/rustlib/x86_64-apple-darwin/lib/libsemver-4e7c5e5c.dylib
install: removing /Users/fklock/opt/rust-dbg/lib/rustlib/x86_64-apple-darwin/lib/libsemver-4e7c5e5c.rlib
install: removing /Users/fklock/opt/rust-dbg/lib/rustlib/x86_64-apple-darwin/lib/libserialize-4e7c5e5c.dylib
install: removing /Users/fklock/opt/rust-dbg/lib/rustlib/x86_64-apple-darwin/lib/libserialize-4e7c5e5c.rlib
install: removing /Users/fklock/opt/rust-dbg/lib/rustlib/x86_64-apple-darwin/lib/libstd-4e7c5e5c.dylib
install: removing /Users/fklock/opt/rust-dbg/lib/rustlib/x86_64-apple-darwin/lib/libstd-4e7c5e5c.rlib
install: removing /Users/fklock/opt/rust-dbg/lib/rustlib/x86_64-apple-darwin/lib/libsync-4e7c5e5c.dylib
install: removing /Users/fklock/opt/rust-dbg/lib/rustlib/x86_64-apple-darwin/lib/libsync-4e7c5e5c.rlib
install: removing /Users/fklock/opt/rust-dbg/lib/rustlib/x86_64-apple-darwin/lib/libsyntax-4e7c5e5c.dylib
install: removing /Users/fklock/opt/rust-dbg/lib/rustlib/x86_64-apple-darwin/lib/libterm-4e7c5e5c.dylib
install: removing /Users/fklock/opt/rust-dbg/lib/rustlib/x86_64-apple-darwin/lib/libterm-4e7c5e5c.rlib
install: removing /Users/fklock/opt/rust-dbg/lib/rustlib/x86_64-apple-darwin/lib/libtest-4e7c5e5c.dylib
install: removing /Users/fklock/opt/rust-dbg/lib/rustlib/x86_64-apple-darwin/lib/libtest-4e7c5e5c.rlib
install: removing /Users/fklock/opt/rust-dbg/lib/rustlib/x86_64-apple-darwin/lib/libtime-4e7c5e5c.dylib
install: removing /Users/fklock/opt/rust-dbg/lib/rustlib/x86_64-apple-darwin/lib/libtime-4e7c5e5c.rlib
install: removing /Users/fklock/opt/rust-dbg/lib/rustlib/x86_64-apple-darwin/lib/liburl-4e7c5e5c.dylib
install: removing /Users/fklock/opt/rust-dbg/lib/rustlib/x86_64-apple-darwin/lib/liburl-4e7c5e5c.rlib
install: removing /Users/fklock/opt/rust-dbg/lib/rustlib/x86_64-apple-darwin/lib/libuuid-4e7c5e5c.dylib
install: removing /Users/fklock/opt/rust-dbg/lib/rustlib/x86_64-apple-darwin/lib/libuuid-4e7c5e5c.rlib
install: removing /Users/fklock/opt/rust-dbg/share/man/man1/rustc.1
install: removing /Users/fklock/opt/rust-dbg/share/man/man1/rustdoc.1
install: removing /Users/fklock/opt/rust-dbg/lib/rustlib/manifest
install: removing /Users/fklock/opt/rust-dbg/lib/rustlib
install: /Users/fklock/opt/rust-dbg/bin/rustc
install: /Users/fklock/opt/rust-dbg/bin/rustdoc
install: /Users/fklock/opt/rust-dbg/lib/libarena-4e7c5e5c.dylib
install: /Users/fklock/opt/rust-dbg/lib/libdebug-4e7c5e5c.dylib
install: /Users/fklock/opt/rust-dbg/lib/libflate-4e7c5e5c.dylib
install: /Users/fklock/opt/rust-dbg/lib/libfmt_macros-4e7c5e5c.dylib
install: /Users/fklock/opt/rust-dbg/lib/libgetopts-4e7c5e5c.dylib
install: /Users/fklock/opt/rust-dbg/lib/libgraphviz-4e7c5e5c.dylib
install: /Users/fklock/opt/rust-dbg/lib/liblog-4e7c5e5c.dylib
install: /Users/fklock/opt/rust-dbg/lib/libnative-4e7c5e5c.dylib
install: /Users/fklock/opt/rust-dbg/lib/libregex-4e7c5e5c.dylib
install: /Users/fklock/opt/rust-dbg/lib/librustc-4e7c5e5c.dylib
install: /Users/fklock/opt/rust-dbg/lib/librustdoc-4e7c5e5c.dylib
install: /Users/fklock/opt/rust-dbg/lib/librustrt-4e7c5e5c.dylib
install: /Users/fklock/opt/rust-dbg/lib/libserialize-4e7c5e5c.dylib
install: /Users/fklock/opt/rust-dbg/lib/libstd-4e7c5e5c.dylib
install: /Users/fklock/opt/rust-dbg/lib/libsync-4e7c5e5c.dylib
install: /Users/fklock/opt/rust-dbg/lib/libsyntax-4e7c5e5c.dylib
install: /Users/fklock/opt/rust-dbg/lib/libterm-4e7c5e5c.dylib
install: /Users/fklock/opt/rust-dbg/lib/libtest-4e7c5e5c.dylib
install: /Users/fklock/opt/rust-dbg/lib/libtime-4e7c5e5c.dylib
install: /Users/fklock/opt/rust-dbg/lib/rustlib/x86_64-apple-darwin/lib/liballoc-4e7c5e5c.rlib
install: /Users/fklock/opt/rust-dbg/lib/rustlib/x86_64-apple-darwin/lib/libarena-4e7c5e5c.dylib
install: /Users/fklock/opt/rust-dbg/lib/rustlib/x86_64-apple-darwin/lib/libarena-4e7c5e5c.rlib
install: /Users/fklock/opt/rust-dbg/lib/rustlib/x86_64-apple-darwin/lib/libcollections-4e7c5e5c.rlib
install: /Users/fklock/opt/rust-dbg/lib/rustlib/x86_64-apple-darwin/lib/libcompiler-rt.a
install: /Users/fklock/opt/rust-dbg/lib/rustlib/x86_64-apple-darwin/lib/libcore-4e7c5e5c.rlib
install: /Users/fklock/opt/rust-dbg/lib/rustlib/x86_64-apple-darwin/lib/libdebug-4e7c5e5c.dylib
install: /Users/fklock/opt/rust-dbg/lib/rustlib/x86_64-apple-darwin/lib/libdebug-4e7c5e5c.rlib
install: /Users/fklock/opt/rust-dbg/lib/rustlib/x86_64-apple-darwin/lib/libflate-4e7c5e5c.dylib
install: /Users/fklock/opt/rust-dbg/lib/rustlib/x86_64-apple-darwin/lib/libflate-4e7c5e5c.rlib
install: /Users/fklock/opt/rust-dbg/lib/rustlib/x86_64-apple-darwin/lib/libfmt_macros-4e7c5e5c.dylib
install: /Users/fklock/opt/rust-dbg/lib/rustlib/x86_64-apple-darwin/lib/libfourcc-4e7c5e5c.dylib
install: /Users/fklock/opt/rust-dbg/lib/rustlib/x86_64-apple-darwin/lib/libgetopts-4e7c5e5c.dylib
install: /Users/fklock/opt/rust-dbg/lib/rustlib/x86_64-apple-darwin/lib/libgetopts-4e7c5e5c.rlib
install: /Users/fklock/opt/rust-dbg/lib/rustlib/x86_64-apple-darwin/lib/libglob-4e7c5e5c.dylib
install: /Users/fklock/opt/rust-dbg/lib/rustlib/x86_64-apple-darwin/lib/libglob-4e7c5e5c.rlib
install: /Users/fklock/opt/rust-dbg/lib/rustlib/x86_64-apple-darwin/lib/libgraphviz-4e7c5e5c.dylib
install: /Users/fklock/opt/rust-dbg/lib/rustlib/x86_64-apple-darwin/lib/libgraphviz-4e7c5e5c.rlib
install: /Users/fklock/opt/rust-dbg/lib/rustlib/x86_64-apple-darwin/lib/libgreen-4e7c5e5c.dylib
install: /Users/fklock/opt/rust-dbg/lib/rustlib/x86_64-apple-darwin/lib/libgreen-4e7c5e5c.rlib
install: /Users/fklock/opt/rust-dbg/lib/rustlib/x86_64-apple-darwin/lib/libhexfloat-4e7c5e5c.dylib
install: /Users/fklock/opt/rust-dbg/lib/rustlib/x86_64-apple-darwin/lib/liblibc-4e7c5e5c.rlib
install: /Users/fklock/opt/rust-dbg/lib/rustlib/x86_64-apple-darwin/lib/liblog-4e7c5e5c.dylib
install: /Users/fklock/opt/rust-dbg/lib/rustlib/x86_64-apple-darwin/lib/liblog-4e7c5e5c.rlib
install: /Users/fklock/opt/rust-dbg/lib/rustlib/x86_64-apple-darwin/lib/libmorestack.a
install: /Users/fklock/opt/rust-dbg/lib/rustlib/x86_64-apple-darwin/lib/libnative-4e7c5e5c.dylib
install: /Users/fklock/opt/rust-dbg/lib/rustlib/x86_64-apple-darwin/lib/libnative-4e7c5e5c.rlib
install: /Users/fklock/opt/rust-dbg/lib/rustlib/x86_64-apple-darwin/lib/libnum-4e7c5e5c.dylib
install: /Users/fklock/opt/rust-dbg/lib/rustlib/x86_64-apple-darwin/lib/libnum-4e7c5e5c.rlib
install: /Users/fklock/opt/rust-dbg/lib/rustlib/x86_64-apple-darwin/lib/librand-4e7c5e5c.rlib
install: /Users/fklock/opt/rust-dbg/lib/rustlib/x86_64-apple-darwin/lib/libregex-4e7c5e5c.dylib
install: /Users/fklock/opt/rust-dbg/lib/rustlib/x86_64-apple-darwin/lib/libregex-4e7c5e5c.rlib
install: /Users/fklock/opt/rust-dbg/lib/rustlib/x86_64-apple-darwin/lib/libregex_macros-4e7c5e5c.dylib
install: /Users/fklock/opt/rust-dbg/lib/rustlib/x86_64-apple-darwin/lib/librlibc-4e7c5e5c.rlib
install: /Users/fklock/opt/rust-dbg/lib/rustlib/x86_64-apple-darwin/lib/librustc-4e7c5e5c.dylib
install: /Users/fklock/opt/rust-dbg/lib/rustlib/x86_64-apple-darwin/lib/librustdoc-4e7c5e5c.dylib
install: /Users/fklock/opt/rust-dbg/lib/rustlib/x86_64-apple-darwin/lib/librustrt-4e7c5e5c.dylib
install: /Users/fklock/opt/rust-dbg/lib/rustlib/x86_64-apple-darwin/lib/librustrt-4e7c5e5c.rlib
install: /Users/fklock/opt/rust-dbg/lib/rustlib/x86_64-apple-darwin/lib/librustuv-4e7c5e5c.dylib
install: /Users/fklock/opt/rust-dbg/lib/rustlib/x86_64-apple-darwin/lib/librustuv-4e7c5e5c.rlib
install: /Users/fklock/opt/rust-dbg/lib/rustlib/x86_64-apple-darwin/lib/libsemver-4e7c5e5c.dylib
install: /Users/fklock/opt/rust-dbg/lib/rustlib/x86_64-apple-darwin/lib/libsemver-4e7c5e5c.rlib
install: /Users/fklock/opt/rust-dbg/lib/rustlib/x86_64-apple-darwin/lib/libserialize-4e7c5e5c.dylib
install: /Users/fklock/opt/rust-dbg/lib/rustlib/x86_64-apple-darwin/lib/libserialize-4e7c5e5c.rlib
install: /Users/fklock/opt/rust-dbg/lib/rustlib/x86_64-apple-darwin/lib/libstd-4e7c5e5c.dylib
install: /Users/fklock/opt/rust-dbg/lib/rustlib/x86_64-apple-darwin/lib/libstd-4e7c5e5c.rlib
install: /Users/fklock/opt/rust-dbg/lib/rustlib/x86_64-apple-darwin/lib/libsync-4e7c5e5c.dylib
install: /Users/fklock/opt/rust-dbg/lib/rustlib/x86_64-apple-darwin/lib/libsync-4e7c5e5c.rlib
install: /Users/fklock/opt/rust-dbg/lib/rustlib/x86_64-apple-darwin/lib/libsyntax-4e7c5e5c.dylib
install: /Users/fklock/opt/rust-dbg/lib/rustlib/x86_64-apple-darwin/lib/libterm-4e7c5e5c.dylib
install: /Users/fklock/opt/rust-dbg/lib/rustlib/x86_64-apple-darwin/lib/libterm-4e7c5e5c.rlib
install: /Users/fklock/opt/rust-dbg/lib/rustlib/x86_64-apple-darwin/lib/libtest-4e7c5e5c.dylib
install: /Users/fklock/opt/rust-dbg/lib/rustlib/x86_64-apple-darwin/lib/libtest-4e7c5e5c.rlib
install: /Users/fklock/opt/rust-dbg/lib/rustlib/x86_64-apple-darwin/lib/libtime-4e7c5e5c.dylib
install: /Users/fklock/opt/rust-dbg/lib/rustlib/x86_64-apple-darwin/lib/libtime-4e7c5e5c.rlib
install: /Users/fklock/opt/rust-dbg/lib/rustlib/x86_64-apple-darwin/lib/liburl-4e7c5e5c.dylib
install: /Users/fklock/opt/rust-dbg/lib/rustlib/x86_64-apple-darwin/lib/liburl-4e7c5e5c.rlib
install: /Users/fklock/opt/rust-dbg/lib/rustlib/x86_64-apple-darwin/lib/libuuid-4e7c5e5c.dylib
install: /Users/fklock/opt/rust-dbg/lib/rustlib/x86_64-apple-darwin/lib/libuuid-4e7c5e5c.rlib
install: /Users/fklock/opt/rust-dbg/share/man/man1/rustc.1
install: /Users/fklock/opt/rust-dbg/share/man/man1/rustdoc.1
install: verifying installed binaries are executable
Rust is ready to roll.
% git log -1
commit c460d38363e315a3e993649215aa6846ac2b70e3
Author: Alex Crichton <alex@alexcrichton.com>
Date: Wed Jul 9 07:44:49 2014 -0700
etc: Fix install script for rpath removal
This adds detection of the relevant LD_LIBRARY_PATH-like environment variable
and appropriately sets it when testing whether binaries can run or not.
Additionally, the installation prints a recommended value if one is necessary.
% cd ..
% pwd
/Users/fklock/Dev/Mozilla/rust.git
% /Users/fklock/opt/rust-dbg/bin/rustc
dyld: Library not loaded: x86_64-apple-darwin/stage1/lib/rustlib/x86_64-apple-darwin/lib/librustc-4e7c5e5c.dylib
Referenced from: /Users/fklock/opt/rust-dbg/bin/rustc
Reason: image not found
Trace/BPT trap: 5
% echo $DYLD_LIBRARY_PATH
% echo $LD_LIBRARY_PATH
%
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment