openvstorage/alba

[core_kernel: -- [ERROR] The compilation of core_kernel failed at "make". --

Closed this issue · 5 comments

Hi,

I am compiling on Ubuntu 64 - 16.04 using the docker container and the process breaks at thsi stage and with the following error:

-> installed oasis.0.4.6
[js-build-tools: ./configure] Command started
[js-build-tools: make] Command started
-> installed js-build-tools.114.04+57
[core_kernel: ./configure] Command started
[core_kernel: make] Command started
[ERROR] The compilation of core_kernel failed at "make".
[camltc: make src] Command started
-> installed camltc.0.9.3

#=== ERROR while installing core_kernel.114.05+21 =============================#
#=== ERROR while installing core_kernel.114.05+21 =============================#
# opam-version         1.2.2
# os                   linux
# command              make
# path                 /home/jenkins/OPAM/4.03.0/build/core_kernel.114.05+21
# compiler             4.03.0
# exit-code            2
# env-file             /home/jenkins/OPAM/4.03.0/build/core_kernel.114.05+21/core_kernel-40-07770e.env
# stdout-file          /home/jenkins/OPAM/4.03.0/build/core_kernel.114.05+21/core_kernel-40-07770e.out
# stderr-file          /home/jenkins/OPAM/4.03.0/build/core_kernel.114.05+21/core_kernel-40-07770e.err
### stdout ###
# [...]
# /home/jenkins/OPAM/4.03.0/bin/ocamlfind ocamldep -package variantslib -package typerep -package sexplib -package ppx_inline_test.runtime-lib -package ppx_hash.runtime-lib -package ppx_bench.runtime-lib -package ppx_assert.runtime-lib -package num -package fieldslib -package bin_prot -pp 'ppx-jane -dump-ast -inline-test-drop -bench-drop -inline-test-lib fake_for_drop' -predicates custom_ppx -predicates custom_ppx -modules src/caml.ml > src/caml.ml.depends
# /home/jenkins/OPAM/4.03.0/bin/ocamlfind ocamldep -package variantslib -package typerep -package sexplib -package ppx_inline_test.runtime-lib -package ppx_hash.runtime-lib -package ppx_bench.runtime-lib -package ppx_assert.runtime-lib -package num -package fieldslib -package bin_prot -pp 'ppx-jane -dump-ast -inline-test-drop -bench-drop -inline-test-lib fake_for_drop' -predicates custom_ppx -predicates custom_ppx -modules src/invariant.mli > src/invariant.mli.depends
# /home/jenkins/OPAM/4.03.0/bin/ocamlfind ocamldep -package variantslib -package typerep -package sexplib -package ppx_inline_test.runtime-lib -package ppx_hash.runtime-lib -package ppx_bench.runtime-lib -package ppx_assert.runtime-lib -package num -package fieldslib -package bin_prot -pp 'ppx-jane -dump-ast -inline-test-drop -bench-drop -inline-test-lib fake_for_drop' -predicates custom_ppx -predicates custom_ppx -modules src/invariant_intf.ml > src/invariant_intf.ml.depends
# /home/jenkins/OPAM/4.03.0/bin/ocamlfind ocamldep -package variantslib -package typerep -package sexplib -package ppx_inline_test.runtime-lib -package ppx_hash.runtime-lib -package ppx_bench.runtime-lib -package ppx_assert.runtime-lib -package num -package fieldslib -package bin_prot -pp 'ppx-jane -dump-ast -inline-test-drop -bench-drop -inline-test-lib fake_for_drop' -predicates custom_ppx -predicates custom_ppx -modules src/source_code_position0.ml > src/source_code_position0.ml.depends
# /home/jenkins/OPAM/4.03.0/bin/ocamlfind ocamlc -c -g -annot -bin-annot -no-alias-deps -thread -package variantslib -package typerep -package sexplib -package ppx_inline_test.runtime-lib -package ppx_hash.runtime-lib -package ppx_bench.runtime-lib -package ppx_assert.runtime-lib -package num -package fieldslib -package bin_prot -for-pack Core_kernel -pp 'ppx-jane -dump-ast -inline-test-drop -bench-drop -inline-test-lib fake_for_drop' -predicates custom_ppx -w -40 -I src -o src/source_code_position0.cmo src/source_code_position0.ml
# + /home/jenkins/OPAM/4.03.0/bin/ocamlfind ocamlc -c -g -annot -bin-annot -no-alias-deps -thread -package variantslib -package typerep -package sexplib -package ppx_inline_test.runtime-lib -package ppx_hash.runtime-lib -package ppx_bench.runtime-lib -package ppx_assert.runtime-lib -package num -package fieldslib -package bin_prot -for-pack Core_kernel -pp 'ppx-jane -dump-ast -inline-test-drop -bench-drop -inline-test-lib fake_for_drop' -predicates custom_ppx -w -40 -I src -o src/source_code_position0.cmo src/source_code_position0.ml
# File "src/source_code_position0.ml", line 12, characters 22-28:
# Error: Unbound value compare_string
# Command exited with code 2.
# Makefile:16: recipe for target 'build' failed
### stderr ###
# W: No replace section found in file Makefile
# W: Cannot find source file matching module 'core_kernel' in library core_kernel
# E: Failure("Command ''/home/jenkins/OPAM/4.03.0/bin/ocamlbuild' src/libcore_kernel_stubs.a src/dllcore_kernel_stubs.so src/core_kernel.cma src/core_kernel.cmxa src/core_kernel.a src/core_kernel.cmxs -use-ocamlfind -plugin-tags 'package(js-build-tools.ocamlbuild_goodies), package(ppx_driver.ocamlbuild)' -tag debug' terminated with error code 10")
# make: *** [build] Error 1
=-=- Error report -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=

Many thanks

domsj commented

Hi @rainmanh

About 15 hours ago the build using this dockerimage still succeeded on travis.
I've restarted https://travis-ci.org/openvstorage/alba/jobs/213892133 to see if we get the same problem there.
Possibly something changed in our dependency on janestreet core, despite our attempt to specifically control which version we want.
Will look further into it once travis confirms the problem.

Thanks for that @domsj .
yes, I can see you got the same issue when triggering travis.

So core.114.05+21 no longer compiles, even though we pin on a commit hash. So I moved to
core.114.35+03, but that has different API. I adapted the logger in Arakoon.
This should work, but the microseconds in log statements still look off (I'll be fixing that next).

all should be fine now. I'm just not merging the issue_669 branch in yet, as it changes the toolchain of master.

domsj commented

This has been fixed in the meantime