在Ubuntu 16.04上使用4.04.0 + spacetime的jbuilder 1.0安装失败

时间:2018-01-22 22:46:25

标签: ocaml ocaml-dune

我正在使用OCaml 4.05.0 + spacetime来分析我的应用程序的内存使用情况。但是,我无法使用此编译器安装jbuilder 1.0。错误消息

# opam-version 1.2.2 (aa258ecc06d3aea5a67f442a4ffd23f2a457180b)
# os           linux
# command      ocaml bootstrap.ml
# path         /home/opam/.opam/4.04.0+spacetime/build/jbuilder.1.0+beta14
# compiler     4.04.0+spacetime
# exit-code    137
# env-file     /home/opam/.opam/4.04.0+spacetime/build/jbuilder.1.0+beta14/jbuilder-23292-ffb3fd.env
# stdout-file  /home/opam/.opam/4.04.0+spacetime/build/jbuilder.1.0+beta14/jbuilder-23292-ffb3fd.out
# stderr-file  /home/opam/.opam/4.04.0+spacetime/build/jbuilder.1.0+beta14/jbuilder-23292-ffb3fd.err
### stdout ###
# /home/opam/.opam/4.04.0+spacetime/bin/ocamllex.opt -q src/sexp_lexer.mll
# /home/opam/.opam/4.04.0+spacetime/bin/ocamllex.opt -q src/meta_lexer.mll
# /home/opam/.opam/4.04.0+spacetime/bin/ocamldep.opt -modules src/action.ml src/action_intf.ml src/alias.ml src/ansi_color.ml src/arg_spec.ml src/artifacts.ml src/bin.ml src/build.ml src/build_interpret.ml src/build_system.ml src/clflags.ml src/cm_kind.ml src/config.ml src/context.ml src/file_tree.ml src/findlib.ml src/future.ml src/gen_meta.ml src/gen_rules.ml src/glob_lexer.boot.ml src/import.ml src/install.ml src/io.ml src/jbuild.ml src/jbuild_load.ml vendor/boot/jbuilder_opam_file_format.ml vendor/boot/jbuilder_re.ml src/js_of_ocaml_rules.ml src/lib.ml src/lib_db.ml src/loc.ml src/log.ml src/main.ml src/merlin.ml src/meta.ml src/meta_lexer.ml src/ml_kind.ml src/mode.ml src/module.ml src/module_compilation.ml src/ocaml_flags.ml src/ocamldep.ml src/odoc.ml src/opam_file.ml src/ordered_set_lang.ml src/package.ml src/path.ml src/sexp.ml src/sexp_lexer.ml src/string_with_vars.ml src/super_context.ml src/top_closure.ml src/utils.ml src/utop.ml src/vfile_kind.ml src/watermarks.ml src/workspace.ml > boot-depends.txt
# /home/opam/.opam/4.04.0+spacetime/bin/ocamlopt.opt -w -40 -o boot.exe unix.cmxa boot.ml
### stderr ###
# Killed

OCaml 4.05.0 + spacetime也会出现此问题。我的机器运行Ubuntu 16.04。

我已尝试过macOS X,但这个问题没有出现。所以这可能是特定于Linux的问题。

任何人都知道发生了什么事?

0 个答案:

没有答案