Closed yminsky closed 9 years ago
I tried to do an install on a clean .opam on my mac, and all of a sudden, I'm getting weird behavior I think due to misinterpretation of spaces.
The full log is below, but you'll notice some lines like this:
# /bin/sh: /Volumes/Macintosh: No such file or directory
where the real path is /Volumes/Macintosh\ HD\ 2
Yarons-iMac:~ yminsky$ opam install async core core_extended async_parallel merlin utop patdiff The following actions will be performed: - install conf-libpcre.1 [required by patdiff] - install ocamlfind.1.5.1 [required by async_parallel, merlin, patdiff, utop] - install camlp4.4.01.0 [required by async_parallel, patdiff, utop] - install cppo.0.9.4 [required by merlin] - install easy-format.1.0.2 [required by merlin] - install menhir.20130912 [required by merlin] - install ounit.2.0.0 [required by async_parallel, patdiff] - install pcre-ocaml.7.1.1 [required by patdiff] - install react.1.1.0 [required by utop] - install camomile.0.8.5 [required by utop] - install herelib.109.35.02 [required by async_parallel, patdiff] - install pipebang.110.01.00 [required by async_parallel, patdiff] - install type_conv.111.13.00 [required by async_parallel, patdiff] - install biniou.1.0.9 [required by merlin] - install lwt.2.4.5 [required by utop] - install zed.1.3 [required by utop] - install bin_prot.111.03.00 [required by async_parallel, patdiff] - install comparelib.109.60.00 [required by async_parallel, patdiff] - install enumerate.111.08.00 [required by async_parallel, patdiff] - install fieldslib.109.20.03 [required by async_parallel, patdiff] - install pa_ounit.109.53.02 [required by async_parallel, patdiff] - install sexplib.111.17.00 [required by async_parallel, patdiff] - install variantslib.109.15.03 [required by async_parallel, patdiff] - install yojson.1.1.8 [required by merlin] - install lambda-term.1.6 [required by utop] - install pa_bench.109.55.02 [required by async_parallel, patdiff] - install custom_printf.111.03.00 [required by async_parallel, patdiff] - install pa_test.111.08.00 [required by async_parallel, patdiff] - install typerep.111.17.00 [required by async_parallel, patdiff] - install merlin.1.6 - install utop.1.14 - install core_kernel.111.17.00 [required by async_parallel, patdiff] - install core.111.17.00 [required by async_parallel, patdiff] - install patience_diff.111.17.00 [required by patdiff] - install async_kernel.111.17.00 [required by async_parallel] - install re2.111.08.00 [required by patdiff] - install textutils.111.06.00 [required by patdiff] - install async_unix.111.17.00 [required by async_parallel] - install core_extended.111.17.00 [required by patdiff] - install async_extra.111.17.00 [required by async_parallel] - install patdiff.111.17.00 - install async.111.17.00 [required by async_parallel] - install async_parallel.111.17.00 43 to install | 0 to reinstall | 0 to upgrade | 0 to downgrade | 0 to remove Do you want to continue ? [Y/n] =-=-= Installing camlp4.4.01.0 =-=-= Installing camlp4.4.01.0. =-=-= Installing conf-libpcre.1 =-=-= Building conf-libpcre.1: pkg-config libpcre Installing conf-libpcre.1. =-=-= Installing ocamlfind.1.5.1 =-=-= default Downloading https://opam.ocaml.org/archives/ocamlfind.1.5.1+opam.tar.gz Downloading https://opam.ocaml.org/archives/ocamlfind.1.5.1+opam.tar.gz Building ocamlfind.1.5.1: ./configure -bindir /Volumes/Macintosh HD 2/Users/yminsky/.opam/system/bin -sitelib /Volumes/Macintosh HD 2/Users/yminsky/.opam/system/lib -mandir /Volumes/Macintosh HD 2/Users/yminsky/.opam/system/man -config /Volumes/Macintosh HD 2/Users/yminsky/.opam/system/lib/findlib.conf -no-topfind make all make opt make install Installing ocamlfind.1.5.1. =-=-= Installing camomile.0.8.5 =-=-= default Downloading https://opam.ocaml.org/archives/camomile.0.8.5+opam.tar.gz Downloading https://opam.ocaml.org/archives/camomile.0.8.5+opam.tar.gz Building camomile.0.8.5: ./configure --prefix /Volumes/Macintosh HD 2/Users/yminsky/.opam/system make make install Installing camomile.0.8.5. =-=-= Installing cppo.0.9.4 =-=-= default Downloading https://opam.ocaml.org/archives/cppo.0.9.4+opam.tar.gz Downloading https://opam.ocaml.org/archives/cppo.0.9.4+opam.tar.gz Building cppo.0.9.4: make make install-lib Installing cppo.0.9.4. =-=-= Installing easy-format.1.0.2 =-=-= default Downloading https://opam.ocaml.org/archives/easy-format.1.0.2+opam.tar.gz Downloading https://opam.ocaml.org/archives/easy-format.1.0.2+opam.tar.gz Building easy-format.1.0.2: make make install Installing easy-format.1.0.2. =-=-= Installing herelib.109.35.02 =-=-= default Downloading https://opam.ocaml.org/archives/herelib.109.35.02+opam.tar.gz Downloading https://opam.ocaml.org/archives/herelib.109.35.02+opam.tar.gz Building herelib.109.35.02: make make install Installing herelib.109.35.02. =-=-= Installing menhir.20130912 =-=-= default Downloading https://opam.ocaml.org/archives/menhir.20130912+opam.tar.gz Downloading https://opam.ocaml.org/archives/menhir.20130912+opam.tar.gz Building menhir.20130912: make install PREFIX=/Volumes/Macintosh HD 2/Users/yminsky/.opam/system docdir=/Volumes/Macintosh HD 2/Users/yminsky/.opam/system/doc/menhir libdir=/Volumes/Macintosh HD 2/Users/yminsky/.opam/system/lib/menhir mandir=/Volumes/Macintosh HD 2/Users/yminsky/.opam/system/man/man1 [ERROR] The compilation of menhir.20130912 failed. Removing menhir.20130912. ocamlfind remove menhirLib =-=-= Installing ounit.2.0.0 =-=-= default Downloading https://opam.ocaml.org/archives/ounit.2.0.0+opam.tar.gz Downloading https://opam.ocaml.org/archives/ounit.2.0.0+opam.tar.gz Building ounit.2.0.0: make build make install Installing ounit.2.0.0. =-=-= Installing pcre-ocaml.7.1.1 =-=-= default Downloading https://opam.ocaml.org/archives/pcre-ocaml.7.1.1+opam.tar.gz Downloading https://opam.ocaml.org/archives/pcre-ocaml.7.1.1+opam.tar.gz Building pcre-ocaml.7.1.1: make make install [ERROR] The compilation of pcre-ocaml.7.1.1 failed. Removing pcre-ocaml.7.1.1. ocamlfind remove pcre =-=-= Installing pipebang.110.01.00 =-=-= default Downloading https://opam.ocaml.org/archives/pipebang.110.01.00+opam.tar.gz Downloading https://opam.ocaml.org/archives/pipebang.110.01.00+opam.tar.gz Building pipebang.110.01.00: make make install Installing pipebang.110.01.00. =-=-= Installing react.1.1.0 =-=-= default Downloading https://opam.ocaml.org/archives/react.1.1.0+opam.tar.gz Downloading https://opam.ocaml.org/archives/react.1.1.0+opam.tar.gz Building react.1.1.0: ocaml pkg/git.ml ocaml pkg/build.ml native=true native-dynlink=true Installing react.1.1.0. =-=-= Installing type_conv.111.13.00 =-=-= default Downloading https://opam.ocaml.org/archives/type_conv.111.13.00+opam.tar.gz Downloading https://opam.ocaml.org/archives/type_conv.111.13.00+opam.tar.gz Building type_conv.111.13.00: make make install Installing type_conv.111.13.00. =-=-= Installing bin_prot.111.03.00 =-=-= default Downloading https://opam.ocaml.org/archives/bin_prot.111.03.00+opam.tar.gz Downloading https://opam.ocaml.org/archives/bin_prot.111.03.00+opam.tar.gz Building bin_prot.111.03.00: make make install [ERROR] The compilation of bin_prot.111.03.00 failed. Removing bin_prot.111.03.00. ocamlfind remove bin_prot =-=-= Installing biniou.1.0.9 =-=-= default Downloading https://opam.ocaml.org/archives/biniou.1.0.9+opam.tar.gz Downloading https://opam.ocaml.org/archives/biniou.1.0.9+opam.tar.gz Building biniou.1.0.9: make make install [ERROR] The compilation of biniou.1.0.9 failed. Removing biniou.1.0.9. ocamlfind remove biniou =-=-= Installing comparelib.109.60.00 =-=-= default Downloading https://opam.ocaml.org/archives/comparelib.109.60.00+opam.tar.gz Downloading https://opam.ocaml.org/archives/comparelib.109.60.00+opam.tar.gz Building comparelib.109.60.00: make make install Installing comparelib.109.60.00. =-=-= Installing enumerate.111.08.00 =-=-= default Downloading https://opam.ocaml.org/archives/enumerate.111.08.00+opam.tar.gz Downloading https://opam.ocaml.org/archives/enumerate.111.08.00+opam.tar.gz Building enumerate.111.08.00: ocaml setup.ml -configure --prefix /Volumes/Macintosh HD 2/Users/yminsky/.opam/system make make install Installing enumerate.111.08.00. =-=-= Installing fieldslib.109.20.03 =-=-= default Downloading https://opam.ocaml.org/archives/fieldslib.109.20.03+opam.tar.gz Downloading https://opam.ocaml.org/archives/fieldslib.109.20.03+opam.tar.gz Building fieldslib.109.20.03: make make install Installing fieldslib.109.20.03. =-=-= Installing lwt.2.4.5 =-=-= default Downloading https://opam.ocaml.org/archives/lwt.2.4.5+opam.tar.gz Downloading https://opam.ocaml.org/archives/lwt.2.4.5+opam.tar.gz Building lwt.2.4.5: ./configure --disable-libev --enable-react --disable-ssl --enable-unix --enable-extra --enable-preemptive --disable-glib --disable-text make build make install [ERROR] The compilation of lwt.2.4.5 failed. Removing lwt.2.4.5. ocamlfind remove lwt =-=-= Installing pa_ounit.109.53.02 =-=-= default Downloading https://opam.ocaml.org/archives/pa_ounit.109.53.02+opam.tar.gz Downloading https://opam.ocaml.org/archives/pa_ounit.109.53.02+opam.tar.gz Building pa_ounit.109.53.02: make make install Installing pa_ounit.109.53.02. =-=-= Installing sexplib.111.17.00 =-=-= default Downloading https://opam.ocaml.org/archives/sexplib.111.17.00+opam.tar.gz Downloading https://opam.ocaml.org/archives/sexplib.111.17.00+opam.tar.gz Building sexplib.111.17.00: ./configure --enable-syntax make make install [ERROR] The compilation of sexplib.111.17.00 failed. Removing sexplib.111.17.00. ocamlfind remove sexplib ocamlfind remove sexplib_num ocamlfind remove sexplib_unix =-=-= Installing variantslib.109.15.03 =-=-= default Downloading https://opam.ocaml.org/archives/variantslib.109.15.03+opam.tar.gz Downloading https://opam.ocaml.org/archives/variantslib.109.15.03+opam.tar.gz Building variantslib.109.15.03: make make install Installing variantslib.109.15.03. =-=-= Installing zed.1.3 =-=-= default Downloading https://opam.ocaml.org/archives/zed.1.3+opam.tar.gz Downloading https://opam.ocaml.org/archives/zed.1.3+opam.tar.gz Building zed.1.3: ocaml setup.ml -configure --prefix /Volumes/Macintosh HD 2/Users/yminsky/.opam/system ocaml setup.ml -build ocaml setup.ml -install [ERROR] The compilation of zed.1.3 failed. Removing zed.1.3. ocamlfind remove zed =-=-= Installing pa_bench.109.55.02 =-=-= default Downloading https://opam.ocaml.org/archives/pa_bench.109.55.02+opam.tar.gz Downloading https://opam.ocaml.org/archives/pa_bench.109.55.02+opam.tar.gz Building pa_bench.109.55.02: make make install Installing pa_bench.109.55.02. [ERROR] Due to some errors while processing { bin_prot.111.03.00, biniou.1.0.9, lwt.2.4.5, menhir.20130912, pcre-ocaml.7.1.1, sexplib.111.17.00, zed.1.3 }, the following actions will NOT proceed: - install core_extended.111.17.00 - install lambda-term.1.6 - install pa_test.111.08.00 - install patdiff.111.17.00 - install core.111.17.00 - install async_unix.111.17.00 - install core_kernel.111.17.00 - install async_parallel.111.17.00 - install custom_printf.111.03.00 - install textutils.111.06.00 - install utop.1.14 - install async.111.17.00 - install async_extra.111.17.00 - install re2.111.08.00 - install typerep.111.17.00 - install yojson.1.1.8 - install patience_diff.111.17.00 - install merlin.1.6 - install async_kernel.111.17.00 ===== ERROR while installing bin_prot.111.03.00 ===== # opam-version 1.1.1 # os darwin # command make # path /Volumes/Macintosh HD 2/Users/yminsky/.opam/system/build/bin_prot.111.03.00 # compiler system (4.01.0) # exit-code 2 # env-file /Volumes/Macintosh HD 2/Users/yminsky/.opam/system/build/bin_prot.111.03.00/bin_prot-7555-d474c2.env # stdout-file /Volumes/Macintosh HD 2/Users/yminsky/.opam/system/build/bin_prot.111.03.00/bin_prot-7555-d474c2.out # stderr-file /Volumes/Macintosh HD 2/Users/yminsky/.opam/system/build/bin_prot.111.03.00/bin_prot-7555-d474c2.err ### stdout ### # ...[truncated] # pkg_type_conv: ....................................... /Volumes/Macintosh HD 2/Users/yminsky/.opam/system/lib/type_conv # # ./setup.exe -build # ocamlfind ocamlopt unix.cmxa -I /usr/local/lib/ocaml/ocamlbuild /usr/local/lib/ocaml/ocamlbuild/ocamlbuildlib.cmxa -linkpkg myocamlbuild.ml /usr/local/lib/ocaml/ocamlbuild/ocamlbuild.cmx -o myocamlbuild # ocamlfind ocamlc -ccopt -DOS_DARWIN -c lib/blit_stubs.c # mv blit_stubs.o lib/blit_stubs.o # /Volumes/Macintosh HD 2/Users/yminsky/.opam/system/bin/ocamlfind ocamlmklib -o lib/bin_prot_stubs lib/blit_stubs.o # + /Volumes/Macintosh HD 2/Users/yminsky/.opam/system/bin/ocamlfind ocamlmklib -o lib/bin_prot_stubs lib/blit_stubs.o # /bin/sh: /Volumes/Macintosh: No such file or directory # Command exited with code 127. ### stderr ### # W: Cannot find source file matching module 'bin_prot' in library bin_prot # E: Failure("Command ''/usr/local/bin/ocamlbuild' lib/libbin_prot_stubs.a lib/dllbin_prot_stubs.so lib/bin_prot.cma lib/bin_prot.cmxa lib/bin_prot.a lib/bin_prot.cmxs syntax/pa_bin_prot.cma syntax/pa_bin_prot.cmxa syntax/pa_bin_prot.a syntax/pa_bin_prot.cmxs -use-ocamlfind -tag debug' terminated with error code 10") # make: *** [build] Error 1 ===== ERROR while installing biniou.1.0.9 ===== # opam-version 1.1.1 # os darwin # command make install # path /Volumes/Macintosh HD 2/Users/yminsky/.opam/system/build/biniou.1.0.9 # compiler system (4.01.0) # exit-code 2 # env-file /Volumes/Macintosh HD 2/Users/yminsky/.opam/system/build/biniou.1.0.9/biniou-7668-dc6e87.env # stdout-file /Volumes/Macintosh HD 2/Users/yminsky/.opam/system/build/biniou.1.0.9/biniou-7668-dc6e87.out # stderr-file /Volumes/Macintosh HD 2/Users/yminsky/.opam/system/build/biniou.1.0.9/biniou-7668-dc6e87.err ### stdout ### # ...[truncated] # -o biniou.cmxa -package "easy-format" bi_util.mli bi_util.ml bi_share.mli bi_share.ml bi_outbuf.mli bi_outbuf.ml bi_inbuf.mli bi_inbuf.ml bi_vint.mli bi_vint.ml bi_io.mli bi_io.ml bi_dump.ml bi_stream.mli bi_stream.ml # ocamlopt -shared -linkall -I . -o biniou.cmxs biniou.cmxa # ocamlfind ocamlopt -o bdump -dtypes -g \ # -package easy-format -linkpkg \ # biniou.cmxa bdump.ml # ocamlfind ocamlopt -o test_biniou -dtypes -g \ # -package "easy-format unix" -linkpkg \ # biniou.cmxa test_biniou.ml # sed -e 's:@@VERSION@@:1.0.9:' META.in > META # test ! -f bdump || cp bdump /bin/ ### stderr ### # ...[truncated] # usage: dirname path # usage: dirname path # usage: dirname path # usage: dirname path # usage: dirname path # usage: dirname path # usage: dirname path # usage: dirname path # cp: /bin/bdump: Permission denied # make: *** [install] Error 1 ===== ERROR while installing lwt.2.4.5 ===== # opam-version 1.1.1 # os darwin # command make build # path /Volumes/Macintosh HD 2/Users/yminsky/.opam/system/build/lwt.2.4.5 # compiler system (4.01.0) # exit-code 2 # env-file /Volumes/Macintosh HD 2/Users/yminsky/.opam/system/build/lwt.2.4.5/lwt-8308-03b1a4.env # stdout-file /Volumes/Macintosh HD 2/Users/yminsky/.opam/system/build/lwt.2.4.5/lwt-8308-03b1a4.out # stderr-file /Volumes/Macintosh HD 2/Users/yminsky/.opam/system/build/lwt.2.4.5/lwt-8308-03b1a4.err ### stdout ### # ...[truncated] # pkg_threads: ......................................... /usr/local/lib/ocaml # pkg_camlp4_extend: ................................... /usr/local/lib/ocaml/camlp4 # ocamldoc: ............................................ /usr/local/bin/ocamldoc # # ./setup.exe -build # /usr/local/bin/ocamlopt.opt unix.cmxa -I /usr/local/lib/ocaml/ocamlbuild /usr/local/lib/ocaml/ocamlbuild/ocamlbuildlib.cmxa myocamlbuild.ml /usr/local/lib/ocaml/ocamlbuild/ocamlbuild.cmx -o myocamlbuild # /Volumes/Macintosh HD 2/Users/yminsky/.opam/system/bin/ocamlfind ocamldep -package camlp4 -syntax camlp4o -package camlp4.extend -syntax camlp4o -package camlp4.quotations.o -syntax camlp4o -modules syntax/pa_optcomp.ml > syntax/pa_optcomp.ml.depends # + /Volumes/Macintosh HD 2/Users/yminsky/.opam/system/bin/ocamlfind ocamldep -package camlp4 -syntax camlp4o -package camlp4.extend -syntax camlp4o -package camlp4.quotations.o -syntax camlp4o -modules syntax/pa_optcomp.ml > syntax/pa_optcomp.ml.depends # /bin/sh: /Volumes/Macintosh: No such file or directory # Command exited with code 127. ### stderr ### # ocamlfind: Package `wikidoc' not found # E: Failure("Command ''/usr/local/bin/ocamlbuild' syntax/optcomp.cma syntax/optcomp.cmxa syntax/optcomp.a syntax/optcomp.cmxs src/core/lwt.cma src/core/lwt.cmxa src/core/lwt.a src/core/lwt.cmxs src/logger/lwt-log.cma src/logger/lwt-log.cmxa src/logger/lwt-log.a src/logger/lwt-log.cmxs src/unix/liblwt-unix_stubs.a src/unix/dlllwt-unix_stubs.so src/unix/lwt-unix.cma src/unix/lwt-unix.cmxa src/unix/lw...[truncated] # make: *** [build] Error 1 ===== ERROR while installing menhir.20130912 ===== # opam-version 1.1.1 # os darwin # command make install PREFIX=/Volumes/Macintosh HD 2/Users/yminsky/.opam/system docdir=/Volumes/Macintosh HD 2/Users/yminsky/.opam/system/doc/menhir libdir=/Volumes/Macintosh HD 2/Users/yminsky/.opam/system/lib/menhir mandir=/Volumes/Macintosh HD 2/Users/yminsky/.opam/system/man/man1 # path /Volumes/Macintosh HD 2/Users/yminsky/.opam/system/build/menhir.20130912 # compiler system (4.01.0) # exit-code 2 # env-file /Volumes/Macintosh HD 2/Users/yminsky/.opam/system/build/menhir.20130912/menhir-5165-60459a.env # stdout-file /Volumes/Macintosh HD 2/Users/yminsky/.opam/system/build/menhir.20130912/menhir-5165-60459a.out # stderr-file /Volumes/Macintosh HD 2/Users/yminsky/.opam/system/build/menhir.20130912/menhir-5165-60459a.err ### stdout ### # ...[truncated] # ocamlfind ocamldep -modules preFront.mli > preFront.mli.depends # ocamlfind ocamlc -c -o preFront.cmi preFront.mli # ocamlfind ocamldep -modules concreteSyntax.mli > concreteSyntax.mli.depends # /usr/local/bin/ocamllex.opt -q lexer.mll # ocamlfind ocamldep -modules lexer.ml > lexer.ml.depends # cp fancy-parser.mly parser.mly # /Volumes/Macintosh HD 2/Users/yminsky/.opam/system/build/menhir.20130912/src/_stage1/menhir.native -v -lg 1 -la 1 -lc 1 --comment --infer --error-recovery --stdlib . --strict --fixed-exception --raw-depend --ocamldep 'ocamlfind ocamldep -modules' parser.mly > parser.mly.depends # + /Volumes/Macintosh HD 2/Users/yminsky/.opam/system/build/menhir.20130912/src/_stage1/menhir.native -v -lg 1 -la 1 -lc 1 --comment --infer --error-recovery --stdlib . --strict --fixed-exception --raw-depend --ocamldep 'ocamlfind ocamldep -modules' parser.mly > parser.mly.depends # /bin/sh: /Volumes/Macintosh: No such file or directory # Command exited with code 127. ### stderr ### # make[1]: *** [stage2] Error 10 # make: *** [all] Error 2 ===== ERROR while installing pcre-ocaml.7.1.1 ===== # opam-version 1.1.1 # os darwin # command make # path /Volumes/Macintosh HD 2/Users/yminsky/.opam/system/build/pcre-ocaml.7.1.1 # compiler system (4.01.0) # exit-code 2 # env-file /Volumes/Macintosh HD 2/Users/yminsky/.opam/system/build/pcre-ocaml.7.1.1/pcre-ocaml-7151-2c871f.env # stdout-file /Volumes/Macintosh HD 2/Users/yminsky/.opam/system/build/pcre-ocaml.7.1.1/pcre-ocaml-7151-2c871f.out # stderr-file /Volumes/Macintosh HD 2/Users/yminsky/.opam/system/build/pcre-ocaml.7.1.1/pcre-ocaml-7151-2c871f.err ### stdout ### # ...[truncated] # Create documentations: ............................... true # Compile tests executable and library and run them: ... false # ocamldoc: ............................................ /usr/local/bin/ocamldoc # # ocaml setup.ml -build # /usr/local/bin/ocamlopt.opt unix.cmxa -I /usr/local/lib/ocaml/ocamlbuild /usr/local/lib/ocaml/ocamlbuild/ocamlbuildlib.cmxa myocamlbuild.ml /usr/local/lib/ocaml/ocamlbuild/ocamlbuild.cmx -o myocamlbuild # /Volumes/Macintosh HD 2/Users/yminsky/.opam/system/bin/ocamlfind ocamlc -ccopt -g -ccopt -O2 -ccopt -fPIC -ccopt -DPIC -ccopt -Wall -ccopt -pedantic -ccopt -Wextra -ccopt -Wunused -ccopt -Wno-long-long -ccopt -I/usr/local/Cellar/pcre/8.35/include -c lib/pcre_stubs.c # + /Volumes/Macintosh HD 2/Users/yminsky/.opam/system/bin/ocamlfind ocamlc -ccopt -g -ccopt -O2 -ccopt -fPIC -ccopt -DPIC -ccopt -Wall -ccopt -pedantic -ccopt -Wextra -ccopt -Wunused -ccopt -Wno-long-long -ccopt -I/usr/local/Cellar/pcre/8.35/include -c lib/pcre_stubs.c # /bin/sh: /Volumes/Macintosh: No such file or directory # Command exited with code 127. ### stderr ### # E: Failure("Command ''/usr/local/bin/ocamlbuild' lib/libpcre_stubs.a lib/dllpcre_stubs.so lib/pcre.cma lib/pcre.cmxa lib/pcre.a lib/pcre.cmxs examples/cloc/cloc.native examples/count_hash/count_hash.native examples/pcregrep/pcregrep.native examples/subst/subst.native -tag debug' terminated with error code 10") # make: *** [build] Error 1 ===== ERROR while installing sexplib.111.17.00 ===== # opam-version 1.1.1 # os darwin # command make # path /Volumes/Macintosh HD 2/Users/yminsky/.opam/system/build/sexplib.111.17.00 # compiler system (4.01.0) # exit-code 2 # env-file /Volumes/Macintosh HD 2/Users/yminsky/.opam/system/build/sexplib.111.17.00/sexplib-8751-6aa130.env # stdout-file /Volumes/Macintosh HD 2/Users/yminsky/.opam/system/build/sexplib.111.17.00/sexplib-8751-6aa130.out # stderr-file /Volumes/Macintosh HD 2/Users/yminsky/.opam/system/build/sexplib.111.17.00/sexplib-8751-6aa130.err ### stdout ### # ...[truncated] # pkg_camlp4_quotations: ............................... /usr/local/lib/ocaml/camlp4 # pkg_camlp4_extend: ................................... /usr/local/lib/ocaml/camlp4 # pkg_type_conv: ....................................... /Volumes/Macintosh HD 2/Users/yminsky/.opam/system/lib/type_conv # # ./setup.exe -build # ocamlfind ocamlopt unix.cmxa -I /usr/local/lib/ocaml/ocamlbuild /usr/local/lib/ocaml/ocamlbuild/ocamlbuildlib.cmxa -linkpkg myocamlbuild.ml /usr/local/lib/ocaml/ocamlbuild/ocamlbuild.cmx -o myocamlbuild # /Volumes/Macintosh HD 2/Users/yminsky/.opam/system/bin/ocamlfind ocamldep -package bigarray -modules lib/conv.mli > lib/conv.mli.depends # + /Volumes/Macintosh HD 2/Users/yminsky/.opam/system/bin/ocamlfind ocamldep -package bigarray -modules lib/conv.mli > lib/conv.mli.depends # /bin/sh: /Volumes/Macintosh: No such file or directory # Command exited with code 127. ### stderr ### # W: Cannot find source file matching module 'sexplib_unix' in library sexplib_unix # W: Cannot find source file matching module 'sexplib_num' in library sexplib_num # W: Cannot find source file matching module 'sexplib' in library sexplib # E: Failure("Command ''/usr/local/bin/ocamlbuild' lib/sexplib.cma lib/sexplib.cmxa lib/sexplib.a lib/sexplib.cmxs num/lib/sexplib_num.cma num/lib/sexplib_num.cmxa num/lib/sexplib_num.a num/lib/sexplib_num.cmxs unix/lib/sexplib_unix.cma unix/lib/sexplib_unix.cmxa unix/lib/sexplib_unix.a unix/lib/sexplib_unix.cmxs syntax/pa_sexp_conv.cma syntax/pa_sexp_conv.cmxa syntax/pa_sexp_conv.a syntax/pa_sexp_c...[truncated] # make: *** [build] Error 1 ===== ERROR while installing zed.1.3 ===== # opam-version 1.1.1 # os darwin # command ocaml setup.ml -build # path /Volumes/Macintosh HD 2/Users/yminsky/.opam/system/build/zed.1.3 # compiler system (4.01.0) # exit-code 1 # env-file /Volumes/Macintosh HD 2/Users/yminsky/.opam/system/build/zed.1.3/zed-9038-b1a82b.env # stdout-file /Volumes/Macintosh HD 2/Users/yminsky/.opam/system/build/zed.1.3/zed-9038-b1a82b.out # stderr-file /Volumes/Macintosh HD 2/Users/yminsky/.opam/system/build/zed.1.3/zed-9038-b1a82b.err ### stdout ### # ...[truncated] # Compile tests executable and library and run them: ... false # pkg_react: ........................................... /Volumes/Macintosh HD 2/Users/yminsky/.opam/system/lib/react # pkg_camomile: ........................................ /Volumes/Macintosh HD 2/Users/yminsky/.opam/system/lib/camomile # ocamldoc: ............................................ /usr/local/bin/ocamldoc # # /usr/local/bin/ocamlopt.opt unix.cmxa -I /usr/local/lib/ocaml/ocamlbuild /usr/local/lib/ocaml/ocamlbuild/ocamlbuildlib.cmxa myocamlbuild.ml /usr/local/lib/ocaml/ocamlbuild/ocamlbuild.cmx -o myocamlbuild # /Volumes/Macintosh HD 2/Users/yminsky/.opam/system/bin/ocamlfind ocamldep -package camomile -package react -modules src/zed_utf8.mli > src/zed_utf8.mli.depends # + /Volumes/Macintosh HD 2/Users/yminsky/.opam/system/bin/ocamlfind ocamldep -package camomile -package react -modules src/zed_utf8.mli > src/zed_utf8.mli.depends # /bin/sh: /Volumes/Macintosh: No such file or directory # Command exited with code 127. ### stderr ### # E: Failure("Command ''/usr/local/bin/ocamlbuild' src/zed.cma src/zed.cmxa src/zed.a src/zed.cmxs -tag debug' terminated with error code 10")
This seems to be an oasis issue. Found mention of it at https://github.com/ocaml/oasis/pull/45
(not that OPAM had quoting issues but these should be fixed already in 1.1.1 (ocaml/opam#1050))
I tried to do an install on a clean .opam on my mac, and all of a sudden, I'm getting weird behavior I think due to misinterpretation of spaces.
The full log is below, but you'll notice some lines like this:
where the real path is /Volumes/Macintosh\ HD\ 2