Building on x86-bm-3.ocamllabs.io
(from ocurrent/opam:debian-unstable)
WARNING: Error loading config file: .dockercfg: $HOME is not defined
2021-06-04 05:29.54 ---> using "ec5d5faa8619574bfe663422158251f52f4b465bd9d157e348e692194b4f4a2a" from cache
/: (user (uid 1000) (gid 1000))
/: (env OPAMPRECISETRACKING 1)
/: (env OPAMDEPEXTYES 1)
/: (env OPAMUTF8 never)
/: (run (network host)
(shell "\
\n set -e\
\n git clone -q git://github.com/kit-ty-kate/opam.git /tmp/opam\
\n git -C /tmp/opam checkout -q '72695bfac80dbcd1d2f10287b2626d18d4acc9f2'\
\n opam remote set-url default git://github.com/ocaml/opam-repository.git\
\n opam pin add -yn /tmp/opam > /dev/null\
\n opam install -y opam-devel opam-0install-cudf 'ocamlfind>=1.9'\
\n sudo mv \"$(opam var opam-devel:lib)/opam\" /usr/bin/opam\
\n rm -rf /tmp/opam /tmp/depext.txt ~/.opam\
\n if ! test -d ~/opam-repository; then\
\n git clone -q git://github.com/ocaml/opam-repository.git ~/opam-repository\
\n else\
\n git -C ~/opam-repository pull -q origin master\
\n fi\
\n git -C ~/opam-repository checkout -q '99b05eeea7b126460a7b3e5a92924f935e8c7c73'\
\n "))
[default] Initialised
<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[opam-devel.2.1.0~beta4] no changes from git+file:///tmp/opam#HEAD
The following actions will be performed:
- install ocamlfind 1.9.1
- install seq base [required by re]
- install cmdliner 1.0.4 [required by opam-devel]
- install dune 2.8.5 [required by opam-0install-cudf, opam-devel]
- install ocamlbuild 0.14.0 [required by cudf]
- install base-bytes base [required by extlib]
- install stdlib-shims 0.3.0 [required by ocamlgraph]
- install re 1.9.0 [required by opam-client]
- install opam-file-format 2.1.3 [required by opam-format]
- install cppo 1.6.7 [required by extlib]
- install 0install-solver 2.17 [required by opam-0install-cudf]
- install ocamlgraph 2.0.0 [required by dose3]
- install extlib 1.7.7-1 [required by cudf, opam-client]
- install opam-core 2.1.0~beta4* [required by opam-format]
- install cudf 0.9-1 [required by opam-0install-cudf]
- install opam-format 2.1.0~beta4* [required by opam-repository, opam-solver]
- install opam-0install-cudf 0.4.1
- install mccs 1.1+13 [required by opam-solver]
- install dose3 5.0.1-1 [required by opam-solver]
- install opam-repository 2.1.0~beta4* [required by opam-client]
- install opam-solver 2.1.0~beta4* [required by opam-client]
- install opam-state 2.1.0~beta4* [required by opam-client]
- install opam-client 2.1.0~beta4* [required by opam-devel]
- install opam-devel 2.1.0~beta4*
===== 24 to install =====
<><> Gathering sources ><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
[cmdliner.1.0.4] downloaded from http://erratique.ch/software/cmdliner/releases/cmdliner-1.0.4.tbz
[0install-solver.2.17] downloaded from https://github.com/0install/0install/releases/download/v2.17/0install-v2.17.tbz
[cppo.1.6.7] downloaded from https://github.com/ocaml-community/cppo/releases/download/v1.6.7/cppo-v1.6.7.tbz
[cudf.0.9-1] downloaded from https://gforge.inria.fr/frs/download.php/36602/cudf-0.9.tar.gz
[dose3.5.0.1-1] downloaded from https://gforge.inria.fr/frs/download.php/file/36063/dose3-5.0.1.tar.gz
[dune.2.8.5] downloaded from https://github.com/ocaml/dune/releases/download/2.8.5/dune-2.8.5.tbz
[extlib.1.7.7-1] downloaded from https://ygrek.org/p/release/ocaml-extlib/extlib-1.7.7.tar.gz
[mccs.1.1+13] downloaded from https://github.com/AltGr/ocaml-mccs/archive/1.1+13.tar.gz
[ocamlbuild.0.14.0] downloaded from https://github.com/ocaml/ocamlbuild/archive/0.14.0.tar.gz
[ocamlfind.1.9.1] downloaded from http://download.camlcity.org/download/findlib-1.9.1.tar.gz
[ocamlgraph.2.0.0] downloaded from https://github.com/backtracking/ocamlgraph/releases/download/2.0.0/ocamlgraph-2.0.0.tbz
[opam-0install-cudf.0.4.1] downloaded from https://github.com/ocaml-opam/opam-0install-solver/releases/download/v0.4.1/opam-0install-cudf-v0.4.1.tbz
[opam-file-format.2.1.3] downloaded from https://github.com/ocaml/opam-file-format/archive/2.1.3.tar.gz
[re.1.9.0] downloaded from https://github.com/ocaml/ocaml-re/releases/download/1.9.0/re-1.9.0.tbz
[stdlib-shims.0.3.0] downloaded from https://github.com/ocaml/stdlib-shims/releases/download/0.3.0/stdlib-shims-0.3.0.tbz
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> installed seq.base
-> installed cmdliner.1.0.4
-> installed ocamlfind.1.9.1
-> installed base-bytes.base
-> installed ocamlbuild.0.14.0
-> installed dune.2.8.5
-> installed stdlib-shims.0.3.0
-> installed 0install-solver.2.17
-> installed cppo.1.6.7
-> installed opam-file-format.2.1.3
-> installed re.1.9.0
-> installed ocamlgraph.2.0.0
-> installed extlib.1.7.7-1
-> installed opam-core.2.1.0~beta4
-> installed cudf.0.9-1
-> installed opam-0install-cudf.0.4.1
-> installed mccs.1.1+13
-> installed opam-format.2.1.0~beta4
-> installed opam-repository.2.1.0~beta4
-> installed dose3.5.0.1-1
-> installed opam-solver.2.1.0~beta4
-> installed opam-state.2.1.0~beta4
-> installed opam-client.2.1.0~beta4
-> installed opam-devel.2.1.0~beta4
Done.
<><> opam-devel.2.1.0~beta4 installed successfully ><><><><><><><><><><><><><><>
=> The development version of opam has been successfully compiled into /home/opam/.opam/4.11/lib/opam-devel. You should not run it from there, please install the binaries to your PATH, e.g. with
sudo cp /home/opam/.opam/4.11/lib/opam-devel/opam /usr/local/bin
If you just want to give it a try without altering your current installation, you could use instead:
alias opam2="OPAMROOT=~/.opam2 /home/opam/.opam/4.11/lib/opam-devel/opam"
# Run eval $(opam env) to update the current shell environment
Updating files: 27% (3103/11387)
Updating files: 28% (3189/11387)
Updating files: 29% (3303/11387)
Updating files: 30% (3417/11387)
Updating files: 31% (3530/11387)
Updating files: 32% (3644/11387)
Updating files: 33% (3758/11387)
Updating files: 34% (3872/11387)
Updating files: 35% (3986/11387)
Updating files: 36% (4100/11387)
Updating files: 37% (4214/11387)
Updating files: 38% (4328/11387)
Updating files: 39% (4441/11387)
Updating files: 40% (4555/11387)
Updating files: 41% (4669/11387)
Updating files: 42% (4783/11387)
Updating files: 43% (4897/11387)
Updating files: 44% (5011/11387)
Updating files: 45% (5125/11387)
Updating files: 46% (5239/11387)
Updating files: 47% (5352/11387)
Updating files: 48% (5466/11387)
Updating files: 49% (5580/11387)
Updating files: 50% (5694/11387)
Updating files: 51% (5808/11387)
Updating files: 52% (5922/11387)
Updating files: 53% (6036/11387)
Updating files: 54% (6149/11387)
Updating files: 55% (6263/11387)
Updating files: 55% (6337/11387)
Updating files: 56% (6377/11387)
Updating files: 57% (6491/11387)
Updating files: 58% (6605/11387)
Updating files: 59% (6719/11387)
Updating files: 60% (6833/11387)
Updating files: 61% (6947/11387)
Updating files: 62% (7060/11387)
Updating files: 63% (7174/11387)
Updating files: 64% (7288/11387)
Updating files: 65% (7402/11387)
Updating files: 66% (7516/11387)
Updating files: 67% (7630/11387)
Updating files: 67% (7633/11387)
Updating files: 68% (7744/11387)
Updating files: 69% (7858/11387)
Updating files: 70% (7971/11387)
Updating files: 71% (8085/11387)
Updating files: 72% (8199/11387)
Updating files: 73% (8313/11387)
Updating files: 74% (8427/11387)
Updating files: 75% (8541/11387)
Updating files: 76% (8655/11387)
Updating files: 77% (8768/11387)
Updating files: 78% (8882/11387)
Updating files: 79% (8996/11387)
Updating files: 80% (9110/11387)
Updating files: 81% (9224/11387)
Updating files: 82% (9338/11387)
Updating files: 82% (9405/11387)
Updating files: 83% (9452/11387)
Updating files: 84% (9566/11387)
Updating files: 85% (9679/11387)
Updating files: 86% (9793/11387)
Updating files: 87% (9907/11387)
Updating files: 88% (10021/11387)
Updating files: 89% (10135/11387)
Updating files: 90% (10249/11387)
Updating files: 91% (10363/11387)
Updating files: 92% (10477/11387)
Updating files: 93% (10590/11387)
Updating files: 94% (10704/11387)
Updating files: 95% (10818/11387)
Updating files: 96% (10932/11387)
Updating files: 97% (11046/11387)
Updating files: 98% (11160/11387)
Updating files: 99% (11274/11387)
Updating files: 100% (11387/11387)
Updating files: 100% (11387/11387), done.
2021-06-04 05:29.54 ---> using "98389ab5f1545ba647f3732db5c4b7075cfbadea3d254e2e7dfa4fe62af8dabf" from cache
/: (env OPAMEXTERNALSOLVER builtin-0install)
/: (env OPAMCRITERIA +removed)
/: (run (shell "rm -rf ~/.opam && opam init -ya --bare --config ~/.opamrc-sandbox ~/opam-repository"))
Configuring from /home/opam/.opamrc-sandbox, then /home/opam/.opamrc, and finally from built-in defaults.
Checking for available remotes: rsync and local, git.
- you won't be able to use mercurial repositories unless you install the hg command on your system.
- you won't be able to use darcs repositories unless you install the darcs command on your system.
<><> Fetching repository information ><><><><><><><><><><><><><><><><><><><><><>
[default] Initialised
User configuration:
~/.profile is already up-to-date.
[NOTE] Make sure that ~/.profile is well sourced in your ~/.bashrc.
2021-06-04 05:29.54 ---> using "5560b8e1cef4de9345640a57103672d87574e378a0b8dc006c7aaa0bf2e6084d" from cache
/: (run (network host)
(shell "git clone -q 'git://github.com/ocaml/ocaml-beta-repository.git' ~/'beta' && git -C ~/'beta' checkout -q 79aeeadd813bdae424ab53f882f08bee0a4e0b89"))
2021-06-04 05:29.54 ---> using "432082e6de60c77dbff1fd0127c5c5176c608fd7cdeba210d4605508b9cb6ab2" from cache
/: (run (shell "opam repository add --dont-select 'beta' ~/'beta'"))
[beta] Initialised
2021-06-04 05:29.54 ---> using "a398da3f9d84b492a7581d0e4dcbc87dfa5189cec179915e4a386ba2c78113ee" from cache
/: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam switch create --repositories=beta,default 4.13.0+trunk"))
<><> Installing new switch packages <><><><><><><><><><><><><><><><><><><><><><>
Switch invariant: ["ocaml-variants" {= "4.13.0+trunk"}]
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> installed base-bigarray.base
-> installed base-threads.base
-> installed base-unix.base
-> retrieved ocaml-variants.4.13.0+trunk (https://github.com/ocaml/ocaml/archive/trunk.tar.gz)
-> installed ocaml-variants.4.13.0+trunk
-> installed ocaml-config.2
[ERROR] The compilation of ocaml.4.13.0 failed at "ocaml /home/opam/.opam/4.13.0+trunk/share/ocaml-config/gen_ocaml_config.ml 4.13.0 ocaml".
#=== ERROR while compiling ocaml.4.13.0 =======================================#
# context 2.1.0~beta4 | linux/x86_64 | ocaml-variants.4.13.0+trunk | file:///home/opam/opam-repository
# path ~/.opam/4.13.0+trunk/.opam-switch/build/ocaml.4.13.0
# command ~/.opam/opam-init/hooks/sandbox.sh build ocaml /home/opam/.opam/4.13.0+trunk/share/ocaml-config/gen_ocaml_config.ml 4.13.0 ocaml
# exit-code 1
# env-file ~/.opam/log/ocaml-1-c4f88f.env
# output-file ~/.opam/log/ocaml-1-c4f88f.out
### output ###
# OCaml version mismatch: 4.14.0, expected 4.13.0
<><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
+- The following actions failed
| - build ocaml 4.13.0
+-
+- The following changes have been performed
| - install base-bigarray base
| - install base-threads base
| - install base-unix base
| - install ocaml-config 2
| - install ocaml-variants 4.13.0+trunk
+-
# Run eval $(opam env --switch=4.13.0+trunk) to update the current shell environment
Switch initialisation failed: clean up? ('n' will leave the switch partially installed) [Y/n] y
"/bin/bash" "-c"
"opam switch create --repositories=beta,default 4.13.0+trunk" failed with exit status 31
Failed: Build failed