Created
April 20, 2020 18:19
-
-
Save travisbrady/a2b5449010941a4509a4c64feec96a40 to your computer and use it in GitHub Desktop.
An error I received while trying to run dune build
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
``` | |
dune build --verbose examples/simple.exe Mon Apr 20 13:18:08 2020 | |
Workspace root: /Users/tbrady/code/hub/ocaml-vw | |
Running[0]: /usr/bin/getconf _NPROCESSORS_ONLN > /var/folders/n1/fsscqfrd5fg8mybxkv2hl5t0m5v75k/T/dune7efecb.output 2> /dev/null | |
Auto-detected concurrency: 8 | |
disable binary cache | |
Running[1]: /Users/tbrady/.opam/4.09.0/bin/ocamlc.opt -config > /var/folders/n1/fsscqfrd5fg8mybxkv2hl5t0m5v75k/T/dunebd0d41.output | |
Dune context: | |
{ name = "default" | |
; kind = "default" | |
; profile = Dyn | |
; merlin = true | |
; for_host = None | |
; fdo_target_exe = None | |
; build_dir = "default" | |
; toplevel_path = Some External "/Users/tbrady/.opam/4.09.0/lib/toplevel" | |
; ocaml_bin = External "/Users/tbrady/.opam/4.09.0/bin" | |
; ocaml = Ok External "/Users/tbrady/.opam/4.09.0/bin/ocaml" | |
; ocamlc = External "/Users/tbrady/.opam/4.09.0/bin/ocamlc.opt" | |
; ocamlopt = Ok External "/Users/tbrady/.opam/4.09.0/bin/ocamlopt.opt" | |
; ocamldep = Ok External "/Users/tbrady/.opam/4.09.0/bin/ocamldep.opt" | |
; ocamlmklib = Ok External "/Users/tbrady/.opam/4.09.0/bin/ocamlmklib.opt" | |
; env = | |
map | |
{ "INSIDE_DUNE" : "/Users/tbrady/code/hub/ocaml-vw/_build/default" | |
; "MANPATH" : | |
"/Users/tbrady/code/hub/ocaml-vw/_build/install/default/bin" | |
; "OCAMLFIND_IGNORE_DUPS_IN" : | |
"/Users/tbrady/code/hub/ocaml-vw/_build/install/default/lib" | |
; "OCAMLPATH" : | |
"/Users/tbrady/code/hub/ocaml-vw/_build/install/default/lib" | |
; "OCAMLTOP_INCLUDE_PATH" : | |
"/Users/tbrady/code/hub/ocaml-vw/_build/install/default/lib/toplevel" | |
; "OCAML_COLOR" : "always" | |
; "OPAMCOLOR" : "always" | |
} | |
; findlib_path = [ External "/Users/tbrady/.opam/4.09.0/lib" ] | |
; arch_sixtyfour = true | |
; natdynlink_supported = true | |
; supports_shared_libraries = true | |
; ocaml_config = | |
{ version = "4.09.0" | |
; standard_library_default = "/Users/tbrady/.opam/4.09.0/lib/ocaml" | |
; standard_library = "/Users/tbrady/.opam/4.09.0/lib/ocaml" | |
; standard_runtime = "the_standard_runtime_variable_was_deleted" | |
; ccomp_type = "cc" | |
; c_compiler = "cc" | |
; ocamlc_cflags = [ "-O2"; "-fno-strict-aliasing"; "-fwrapv" ] | |
; ocamlopt_cflags = [ "-O2"; "-fno-strict-aliasing"; "-fwrapv" ] | |
; bytecomp_c_compiler = | |
[ "cc" | |
; "-O2" | |
; "-fno-strict-aliasing" | |
; "-fwrapv" | |
; "-D_FILE_OFFSET_BITS=64" | |
; "-D_REENTRANT" | |
] | |
; bytecomp_c_libraries = [ "-lm"; "-lpthread" ] | |
; native_c_compiler = | |
[ "cc" | |
; "-O2" | |
; "-fno-strict-aliasing" | |
; "-fwrapv" | |
; "-D_FILE_OFFSET_BITS=64" | |
; "-D_REENTRANT" | |
] | |
; native_c_libraries = [ "-lm" ] | |
; cc_profile = [] | |
; architecture = "amd64" | |
; model = "default" | |
; int_size = 63 | |
; word_size = 64 | |
; system = "macosx" | |
; asm = [ "clang"; "-arch"; "x86_64"; "-Wno-trigraphs"; "-c" ] | |
; asm_cfi_supported = true | |
; with_frame_pointers = false | |
; ext_exe = "" | |
; ext_obj = ".o" | |
; ext_asm = ".s" | |
; ext_lib = ".a" | |
; ext_dll = ".so" | |
; os_type = "Unix" | |
; default_executable_name = "a.out" | |
; systhread_supported = true | |
; host = "x86_64-apple-darwin16.7.0" | |
; target = "x86_64-apple-darwin16.7.0" | |
; profiling = false | |
; flambda = false | |
; spacetime = false | |
; safe_string = false | |
; exec_magic_number = "Caml1999X026" | |
; cmi_magic_number = "Caml1999I026" | |
; cmo_magic_number = "Caml1999O026" | |
; cma_magic_number = "Caml1999A026" | |
; cmx_magic_number = "Caml1999Y026" | |
; cmxa_magic_number = "Caml1999Z026" | |
; ast_impl_magic_number = "Caml1999M026" | |
; ast_intf_magic_number = "Caml1999N026" | |
; cmxs_magic_number = "Caml1999D026" | |
; cmt_magic_number = "Caml1999T026" | |
; natdynlink_supported = true | |
; supports_shared_libraries = true | |
; windows_unicode = false | |
} | |
} | |
Actual targets: | |
- _build/default/examples/simple.exe | |
Running[2]: (cd _build/default/lib && config/discover.exe -ocamlc /Users/tbrady/.opam/4.09.0/bin/ocamlc.opt) | |
Command [2] exited with code 2: | |
$ (cd _build/default/lib && config/discover.exe -ocamlc /Users/tbrady/.opam/4.09.0/bin/ocamlc.opt) | |
config/discover.exe: unknown option '-ocamlc'. | |
discover.exe [OPTIONS] | |
-verbose be verbose | |
-dest-dir DIR save temporary files to this directory | |
-help Display this list of options | |
--help Display this list of options | |
``` |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment