[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[MirageOS-devel] Fail to install mirage with OCaml compiler 4.04.0+spacetime on Ubuntu 16.04


  • To: "mirageos-devel@xxxxxxxxxxxxxxxxxxxx" <mirageos-devel@xxxxxxxxxxxxxxxxxxxx>
  • From: JIM Yuan <jy378@xxxxxxxxx>
  • Date: Mon, 22 Jan 2018 22:43:42 +0000
  • Accept-language: en-GB, en-US
  • Authentication-results: spf=none (sender IP is ) smtp.mailfrom=jy378@xxxxxxxxx;
  • Delivery-date: Mon, 22 Jan 2018 22:44:10 +0000
  • List-id: Developer list for MirageOS <mirageos-devel.lists.xenproject.org>
  • Spamdiagnosticmetadata: NSPM
  • Spamdiagnosticoutput: 1:99
  • Thread-index: AQHTk9J0Zh4bzk4rtkO4TT+nD6wTPQ==
  • Thread-topic: Fail to install mirage with OCaml compiler 4.04.0+spacetime on Ubuntu 16.04

Hi all,

I use OCaml 4.04.0+spacetime compiler to profile memory usage of my mirage app. 
However, I fail to install mirage with this complier on my virtual machine. The 
installation fails when opam tries to install jbuilder 1.0. The error message 
is:

#=== ERROR while installing jbuilder.1.0+beta14 ===============================#
# 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

This problem also occurs with OCaml 4.05.0+spacetime. My machine runs Ubuntu 
16.04.

I have tried on macOS X and this problem does not come up. So this could be a 
Linux-specific problem.

Best,

Junwei



_______________________________________________
MirageOS-devel mailing list
MirageOS-devel@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/mailman/listinfo/mirageos-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.