Building on m1-a.ocamllabs.io (from ocaml/opam:debian-unstable@sha256:1f047b38773f5019b428a91bd54b182640ea3851a30b2bde75e0749da4491607) Unable to find image 'ocaml/opam:debian-unstable@sha256:1f047b38773f5019b428a91bd54b182640ea3851a30b2bde75e0749da4491607' locally docker.io/ocaml/opam@sha256:1f047b38773f5019b428a91bd54b182640ea3851a30b2bde75e0749da4491607: Pulling from ocaml/opam 2db5444d1f5b: Pulling fs layer 955a4d4491b2: Pulling fs layer f7fc0b2e0259: Pulling fs layer 2db5444d1f5b: Verifying Checksum 2db5444d1f5b: Download complete f7fc0b2e0259: Verifying Checksum f7fc0b2e0259: Download complete 2db5444d1f5b: Pull complete 955a4d4491b2: Verifying Checksum 955a4d4491b2: Download complete 955a4d4491b2: Pull complete f7fc0b2e0259: Pull complete Digest: sha256:1f047b38773f5019b428a91bd54b182640ea3851a30b2bde75e0749da4491607 Status: Downloaded newer image for ocaml/opam@sha256:1f047b38773f5019b428a91bd54b182640ea3851a30b2bde75e0749da4491607 2022-02-03 19:36.34 ---> using "046c03104b31caca4776d0f4b3c05e8c36edfcce47e502c904753c15f5c7c145" from cache /: (user (uid 1000) (gid 1000)) /: (env OPAMPRECISETRACKING 1) /: (env OPAMUTF8 never) /: (env OPAMEXTERNALSOLVER builtin-0install) /: (env OPAMCRITERIA +removed) /: (run (shell "sudo ln -f /usr/bin/opam-dev /usr/bin/opam")) 2022-02-03 19:36.34 ---> using "174def638ec7d2637b0dbcf8d157f3db3ea5f765b545d79ffe1aaf2604b82a96" from cache /: (run (network host) (shell "rm -rf ~/opam-repository && git clone -q 'https://github.com/ocaml/opam-repository' ~/opam-repository && git -C ~/opam-repository checkout -q 1741c7614a3f64debaeee6573205d847859e8de4")) 2022-02-03 19:36.34 ---> using "7cf36d2e512b30870bc55678abf5e1cb55cb4319ee557daf9c5c759dde9da99a" from cache /: (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. 2022-02-03 19:36.34 ---> using "3aa3263ea6afcd677a2f49f1557e7725598e35cb434eb2886483b43b368246e0" from cache /: (run (cache (opam-archives (target /home/opam/.opam/download-cache))) (network host) (shell "opam switch create --repositories=default '5.00' '5.00.0+trunk'")) <><> Installing new switch packages <><><><><><><><><><><><><><><><><><><><><><> Switch invariant: ["ocaml-variants" {= "5.00.0+trunk"}] <><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><> -> installed base-bigarray.base -> installed base-threads.base -> installed base-unix.base -> retrieved ocaml-variants.5.00.0+trunk (https://github.com/ocaml/ocaml/archive/trunk.tar.gz) -> installed ocaml-variants.5.00.0+trunk -> installed ocaml-config.2 -> installed ocaml.5.00.0 -> installed base-domains.base -> installed base-nnp.base Done. # Run eval $(opam env --switch=5.00) to update the current shell environment 2022-02-03 19:36.34 ---> using "6db236cc1f1725221e20e3d2b802753e98b385fa5d7a8fd438bcf87d21688267" from cache /: (run (network host) (shell "opam update --depexts")) + /usr/bin/sudo "apt-get" "update" - Get:1 http://deb.debian.org/debian unstable InRelease [165 kB] - Get:2 http://deb.debian.org/debian unstable/main amd64 Packages.diff/Index [63.6 kB] - Get:3 http://deb.debian.org/debian unstable/main amd64 Packages T-2022-02-03-0808.17-F-2022-01-30-0201.48.pdiff [272 kB] - Get:3 http://deb.debian.org/debian unstable/main amd64 Packages T-2022-02-03-0808.17-F-2022-01-30-0201.48.pdiff [272 kB] - Fetched 500 kB in 4s (134 kB/s) - Reading package lists... - 2022-02-03 19:36.34 ---> using "621f94e14925313e036e9e8edb72ef7cc5414527dd9f207f32f6eb37decb7348" from cache /: (run (cache (opam-archives (target /home/opam/.opam/download-cache))) (network host) (shell "\ \nopam remove -y \"bibtex2html.1.99-1\"\ \nopam install -vy \"bibtex2html.1.99-1\"\ \nres=$?\ \nif [ $res = 31 ]; then\ \n if opam show -f x-ci-accept-failures: \"bibtex2html.1.99-1\" | grep -q '\"debian-unstable\"'; then\ \n echo \"This package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\"\ \n exit 69\ \n fi\ \nfi\ \n\ \n\ \nexit $res\ \n")) [NOTE] bibtex2html.1.99-1 is not installed. Nothing to do. The following actions will be performed: - install ocamlbuild 0.14.0 [required by hevea] - install hevea 2.35 [required by bibtex2html] - install bibtex2html 1.99-1 ===== 3 to install ===== <><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><> Processing 1/9: Processing 2/9: Processing 3/9: -> retrieved bibtex2html.1.99-1 (cached) -> retrieved ocamlbuild.0.14.0 (cached) Processing 4/9: [ocamlbuild: make configure.make] -> retrieved hevea.2.35 (cached) + /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "make" "-f" "configure.make" "all" "OCAMLBUILD_PREFIX=/home/opam/.opam/5.00" "OCAMLBUILD_BINDIR=/home/opam/.opam/5.00/bin" "OCAMLBUILD_LIBDIR=/home/opam/.opam/5.00/lib" "OCAMLBUILD_MANDIR=/home/opam/.opam/5.00/man" "OCAML_NATIVE=true" "OCAML_NATIVE_TOOLS=true" (CWD=/home/opam/.opam/5.00/.opam-switch/build/ocamlbuild.0.14.0) - (echo "# This file was generated from configure.make"; \ - echo ;\ - echo "OCAML_PREFIX="; \ - echo "OCAML_BINDIR=/home/opam/.opam/5.00/bin"; \ - echo "OCAML_LIBDIR=/home/opam/.opam/5.00/lib/ocaml"; \ - echo "OCAML_MANDIR=/home/opam/.opam/5.00/man"; \ - echo ;\ - echo "EXT_OBJ=.o"; \ - echo "EXT_ASM=.s"; \ - echo "EXT_LIB=.a"; \ - echo "EXT_DLL=.so"; \ - echo "EXE="; \ - echo ;\ - echo "OCAML_NATIVE=true"; \ - echo "OCAML_NATIVE_TOOLS=true"; \ - echo "NATDYNLINK=true"; \ - echo "SUPPORT_SHARED_LIBRARIES=true"; \ - echo ;\ - echo "PREFIX=/home/opam/.opam/5.00"; \ - echo "BINDIR=/home/opam/.opam/5.00/bin"; \ - echo "LIBDIR=/home/opam/.opam/5.00/lib"; \ - echo "MANDIR=/home/opam/.opam/5.00/man"; \ - ) > Makefile.config - (echo "(* This file was generated from ../configure.make *)"; \ - echo ;\ - echo 'let bindir = "/home/opam/.opam/5.00/bin"'; \ - echo 'let libdir = "/home/opam/.opam/5.00/lib"'; \ - echo 'let ocaml_libdir = "/home/opam/.opam/5.00/lib/ocaml"'; \ - echo 'let libdir_abs = "/home/opam/.opam/5.00/lib"'; \ - echo 'let ocaml_native = true'; \ - echo 'let ocaml_native_tools = true'; \ - echo 'let supports_shared_libraries = true';\ - echo 'let a = "a"'; \ - echo 'let o = "o"'; \ - echo 'let so = "so"'; \ - echo 'let ext_dll = ".so"'; \ - echo 'let exe = ""'; \ - echo 'let version = "0.14.0"'; \ - ) > src/ocamlbuild_config.ml Processing 4/9: [ocamlbuild: make check-if-preinstalled] + /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "make" "check-if-preinstalled" "all" "opam-install" (CWD=/home/opam/.opam/5.00/.opam-switch/build/ocamlbuild.0.14.0) - if test -d /home/opam/.opam/5.00/lib/ocaml/ocamlbuild; then\ - >&2 echo "ERROR: Preinstalled ocamlbuild detected at"\ - "/home/opam/.opam/5.00/lib/ocaml/ocamlbuild";\ - >&2 echo "Installation aborted; if you want to bypass this"\ - "safety check, pass CHECK_IF_PREINSTALLED=false to make";\ - exit 2;\ - fi - ocamlc.opt -w L -w R -w Z -I src -I +unix -safe-string -bin-annot -strict-sequence -c src/const.ml - ocamlc.opt -w L -w R -w Z -I src -I +unix -safe-string -bin-annot -strict-sequence -c src/loc.mli - ocamlc.opt -w L -w R -w Z -I src -I +unix -safe-string -bin-annot -strict-sequence -c src/loc.ml - ocamlc.opt -w L -w R -w Z -I src -I +unix -safe-string -bin-annot -strict-sequence -c src/discard_printf.mli - ocamlc.opt -w L -w R -w Z -I src -I +unix -safe-string -bin-annot -strict-sequence -c src/discard_printf.ml - ocamlc.opt -w L -w R -w Z -I src -I +unix -safe-string -bin-annot -strict-sequence -c src/signatures.mli - ocamlc.opt -w L -w R -w Z -I src -I +unix -safe-string -bin-annot -strict-sequence -c src/my_std.mli - ocamlc.opt -w L -w R -w Z -I src -I +unix -safe-string -bin-annot -strict-sequence -c src/my_std.ml - File "src/my_std.ml", line 127, characters 20-38: - 127 | let compare = Pervasives.compare - ^^^^^^^^^^^^^^^^^^ - Error: Unbound module Pervasives - make: *** [Makefile:422: src/my_std.cmo] Error 2 [ERROR] The compilation of ocamlbuild.0.14.0 failed at "make check-if-preinstalled all opam-install". #=== ERROR while compiling ocamlbuild.0.14.0 ==================================# # context 2.2.0~alpha~dev | linux/x86_64 | ocaml-variants.5.00.0+trunk | file:///home/opam/opam-repository # path ~/.opam/5.00/.opam-switch/build/ocamlbuild.0.14.0 # command ~/.opam/opam-init/hooks/sandbox.sh build make check-if-preinstalled all opam-install # exit-code 2 # env-file ~/.opam/log/ocamlbuild-10-7db06b.env # output-file ~/.opam/log/ocamlbuild-10-7db06b.out ### output ### # if test -d /home/opam/.opam/5.00/lib/ocaml/ocamlbuild; then\ # >&2 echo "ERROR: Preinstalled ocamlbuild detected at"\ # "/home/opam/.opam/5.00/lib/ocaml/ocamlbuild";\ # >&2 echo "Installation aborted; if you want to bypass this"\ # "safety check, pass CHECK_IF_PREINSTALLED=false to make";\ # exit 2;\ # fi # ocamlc.opt -w L -w R -w Z -I src -I +unix -safe-string -bin-annot -strict-sequence -c src/const.ml # ocamlc.opt -w L -w R -w Z -I src -I +unix -safe-string -bin-annot -strict-sequence -c src/loc.mli # ocamlc.opt -w L -w R -w Z -I src -I +unix -safe-string -bin-annot -strict-sequence -c src/loc.ml # ocamlc.opt -w L -w R -w Z -I src -I +unix -safe-string -bin-annot -strict-sequence -c src/discard_printf.mli # ocamlc.opt -w L -w R -w Z -I src -I +unix -safe-string -bin-annot -strict-sequence -c src/discard_printf.ml # ocamlc.opt -w L -w R -w Z -I src -I +unix -safe-string -bin-annot -strict-sequence -c src/signatures.mli # ocamlc.opt -w L -w R -w Z -I src -I +unix -safe-string -bin-annot -strict-sequence -c src/my_std.mli # ocamlc.opt -w L -w R -w Z -I src -I +unix -safe-string -bin-annot -strict-sequence -c src/my_std.ml # File "src/my_std.ml", line 127, characters 20-38: # 127 | let compare = Pervasives.compare # ^^^^^^^^^^^^^^^^^^ # Error: Unbound module Pervasives # make: *** [Makefile:422: src/my_std.cmo] Error 2 <><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><> +- The following actions were aborted | - install bibtex2html 1.99-1 | - install hevea 2.35 +- +- The following actions failed | - build ocamlbuild 0.14.0 +- - No changes have been performed # Run eval $(opam env) to update the current shell environment 'opam install -vy bibtex2html.1.99-1' failed. "/bin/bash" "-c" " opam remove -y "bibtex2html.1.99-1" opam install -vy "bibtex2html.1.99-1" res=$? if [ $res = 31 ]; then if opam show -f x-ci-accept-failures: "bibtex2html.1.99-1" | grep -q '"debian-unstable"'; then echo "This package failed and has been disabled for CI using the 'x-ci-accept-failures' field." exit 69 fi fi exit $res " failed with exit status 31 Failed: Build failed