Building on x86-bm-9.ocamllabs.io (from ocurrent/opam:debian-unstable) Unable to find image 'ocurrent/opam:debian-unstable' locally debian-unstable: Pulling from ocurrent/opam b2048aa58c5f: Pulling fs layer 412783517da1: Pulling fs layer 2143755e883d: Pulling fs layer b2048aa58c5f: Verifying Checksum b2048aa58c5f: Download complete b2048aa58c5f: Pull complete 412783517da1: Verifying Checksum 412783517da1: Download complete 2143755e883d: Verifying Checksum 2143755e883d: Download complete 412783517da1: Pull complete 2143755e883d: Pull complete Digest: sha256:d5761fd43bfa1a0782288e3fc959c461a5b030a735a1e16290ff499c79950c05 Status: Downloaded newer image for ocurrent/opam:debian-unstable 2021-05-03 07:30.55 ---> 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 '01c350d759f8d4e3202596371818e6d997fa5fe2'\ \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.2 [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.2] downloaded from https://github.com/ocaml/opam-file-format/archive/2.1.2.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 opam-file-format.2.1.2 -> installed 0install-solver.2.17 -> installed cppo.1.6.7 -> 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 2021-05-03 07:30.55 ---> using "e3e694f2e2acefbb1c736074593e4ed9519fa28bcacb04ce221113caf7c619d7" 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-05-03 07:30.55 ---> using "994210567fc74f2e4ea2666c54af8efeef1124fd1b8a409e7a42a3900b5b0e3d" 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-05-03 07:30.55 ---> using "73d057d9a75d3fb712189b77476927d054d7247f8421955cb72dfcb0294b320e" from cache /: (run (shell "opam repository add --dont-select 'beta' ~/'beta'")) [beta] Initialised 2021-05-03 07:30.55 ---> using "883cc12f2fd777afc528f51cf9b7c4e073248e757811f4b918a5f77d53bb7199" from cache /: (run (cache (opam-archives (target /home/opam/.opam/download-cache))) (network host) (shell "opam switch create --repositories=beta,default 4.09.1")) <><> Installing new switch packages <><><><><><><><><><><><><><><><><><><><><><> Switch invariant: ["ocaml-base-compiler" {= "4.09.1"} | "ocaml-system" {= "4.09.1"}] <><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><> -> installed base-bigarray.base -> installed base-threads.base -> installed base-unix.base -> retrieved ocaml-base-compiler.4.09.1 (cached) -> installed ocaml-base-compiler.4.09.1 -> installed ocaml-config.1 -> installed ocaml.4.09.1 Done. # Run eval $(opam env --switch=4.09.1) to update the current shell environment 2021-05-03 07:30.55 ---> using "12a36cf6e8f06c4f827fb8173506291b7b03364d2090afe1afb58d6932cd6afb" from cache /: (run (network host) (shell "opam update --depexts")) + /usr/bin/sudo "apt-get" "update" - Get:1 http://deb.debian.org/debian unstable InRelease [157 kB] - Get:2 http://deb.debian.org/debian unstable/main amd64 Packages.diff/Index [63.6 kB] - Ign:2 http://deb.debian.org/debian unstable/main amd64 Packages.diff/Index - Get:3 http://deb.debian.org/debian unstable/main amd64 Packages [8626 kB] - Fetched 8847 kB in 6s (1541 kB/s) - Reading package lists... - 2021-05-03 07:30.55 ---> using "7fd27e0a0e831f27d1e36df8474a4230b7b20c96d02de59c8332364176a2db5c" from cache /: (run (cache (opam-archives (target /home/opam/.opam/download-cache))) (network host) (shell "\ \nopam install -vy \"termbox.0.1.0\"\ \nres=$?\ \nif [ $res = 31 ]; then\ \n if opam show -f x-ci-accept-failures: \"termbox.0.1.0\" | 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")) The following actions will be performed: - install ocamlfind 1.9.1 [required by termbox] - install termbox 0.1.0 ===== 2 to install ===== The following system packages will first need to be installed: python <><> Handling external dependencies <><><><><><><><><><><><><><><><><><><><><><> Let opam run your package manager to install the required system packages? [Y/n] y + /usr/bin/sudo "apt-get" "install" "-qq" "-yy" "python" - debconf: delaying package configuration, since apt-utils is not installed - Selecting previously unselected package libpython2.7-minimal:amd64. - (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 17845 files and directories currently installed.) - Preparing to unpack .../0-libpython2.7-minimal_2.7.18-7_amd64.deb ... - Unpacking libpython2.7-minimal:amd64 (2.7.18-7) ... - Selecting previously unselected package python2.7-minimal. - Preparing to unpack .../1-python2.7-minimal_2.7.18-7_amd64.deb ... - Unpacking python2.7-minimal (2.7.18-7) ... - Selecting previously unselected package python2-minimal. - Preparing to unpack .../2-python2-minimal_2.7.18-2_amd64.deb ... - Unpacking python2-minimal (2.7.18-2) ... - Selecting previously unselected package media-types. - Preparing to unpack .../3-media-types_4.0.0_all.deb ... - Unpacking media-types (4.0.0) ... - Selecting previously unselected package mailcap. - Preparing to unpack .../4-mailcap_3.69_all.deb ... - Unpacking mailcap (3.69) ... - Selecting previously unselected package mime-support. - Preparing to unpack .../5-mime-support_3.66_all.deb ... - Unpacking mime-support (3.66) ... - Selecting previously unselected package libpython2.7-stdlib:amd64. - Preparing to unpack .../6-libpython2.7-stdlib_2.7.18-7_amd64.deb ... - Unpacking libpython2.7-stdlib:amd64 (2.7.18-7) ... - Selecting previously unselected package python2.7. - Preparing to unpack .../7-python2.7_2.7.18-7_amd64.deb ... - Unpacking python2.7 (2.7.18-7) ... - Selecting previously unselected package libpython2-stdlib:amd64. - Preparing to unpack .../8-libpython2-stdlib_2.7.18-2_amd64.deb ... - Unpacking libpython2-stdlib:amd64 (2.7.18-2) ... - Setting up libpython2.7-minimal:amd64 (2.7.18-7) ... - Setting up python2.7-minimal (2.7.18-7) ... - Linking and byte-compiling packages for runtime python2.7... - Setting up python2-minimal (2.7.18-2) ... - Selecting previously unselected package python2. - (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 18614 files and directories currently installed.) - Preparing to unpack .../python2_2.7.18-2_amd64.deb ... - Unpacking python2 (2.7.18-2) ... - Selecting previously unselected package libmagic-mgc. - Preparing to unpack .../libmagic-mgc_1%3a5.39-3_amd64.deb ... - Unpacking libmagic-mgc (1:5.39-3) ... - Selecting previously unselected package libmagic1:amd64. - Preparing to unpack .../libmagic1_1%3a5.39-3_amd64.deb ... - Unpacking libmagic1:amd64 (1:5.39-3) ... - Selecting previously unselected package file. - Preparing to unpack .../file_1%3a5.39-3_amd64.deb ... - Unpacking file (1:5.39-3) ... - Selecting previously unselected package python-is-python2. - Preparing to unpack .../python-is-python2_2.7.18-9_all.deb ... - Unpacking python-is-python2 (2.7.18-9) ... - Setting up media-types (4.0.0) ... - Setting up libmagic-mgc (1:5.39-3) ... - Setting up libmagic1:amd64 (1:5.39-3) ... - Setting up file (1:5.39-3) ... - Setting up mailcap (3.69) ... - Setting up mime-support (3.66) ... - Setting up libpython2.7-stdlib:amd64 (2.7.18-7) ... - Setting up python2.7 (2.7.18-7) ... - Setting up libpython2-stdlib:amd64 (2.7.18-2) ... - Setting up python2 (2.7.18-2) ... - Setting up python-is-python2 (2.7.18-9) ... - Processing triggers for libc-bin (2.31-4) ... <><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><> Processing 1/6: Processing 2/6: -> retrieved termbox.0.1.0 (cached) -> retrieved ocamlfind.1.9.1 (cached) Processing 3/6: [ocamlfind: ./configure] + /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "./configure" "-bindir" "/home/opam/.opam/4.09.1/bin" "-sitelib" "/home/opam/.opam/4.09.1/lib" "-mandir" "/home/opam/.opam/4.09.1/man" "-config" "/home/opam/.opam/4.09.1/lib/findlib.conf" "-no-custom" "-no-camlp4" (CWD=/home/opam/.opam/4.09.1/.opam-switch/build/ocamlfind.1.9.1) - Welcome to findlib version 1.9.1 - Configuring core... - Checking for #remove_directory... - Testing threading model... - systhread_supported: true - Testing DLLs... - Testing whether ppxopt can be supported... - Checking for ocamlc -opaque... - Querying installation: META list not found - make install will double-check installed META files - Configuring libraries... - unix: found - bigarray: found - compiler-libs: found - dbm: not present (normal since 4.00) - graphics: not present (normal since 4.09) - num: not present (normal since 4.06) - ocamlbuild: not present (normal since 4.03) - ocamldoc: found - raw_spacetime: found - threads: found - str: found - labltk: not present (normal since 4.02) - native dynlink: found - camlp4: disabled - bytes: found, installing fake library - Configuration for dynlink written to site-lib-src/dynlink/META - Configuration for stdlib written to site-lib-src/stdlib/META - Configuration for unix written to site-lib-src/unix/META - Configuration for bigarray written to site-lib-src/bigarray/META - Configuration for compiler-libs written to site-lib-src/compiler-libs/META - Configuration for ocamldoc written to site-lib-src/ocamldoc/META - Configuration for raw_spacetime written to site-lib-src/raw_spacetime/META - Configuration for threads written to site-lib-src/threads/META - Configuration for str written to site-lib-src/str/META - Configuration for bytes written to site-lib-src/bytes/META - Detecting compiler arguments: (extractor built) ok - - About the OCAML core installation: - Standard library: /home/opam/.opam/4.09.1/lib/ocaml - Binaries: /home/opam/.opam/4.09.1/bin - Manual pages: /home/opam/.opam/4.09.1/man - Multi-threading type: posix - The directory of site-specific packages will be - site-lib: /home/opam/.opam/4.09.1/lib - The configuration file is written to: - findlib config file: /home/opam/.opam/4.09.1/lib/findlib.conf - Software will be installed: - Libraries: in <site-lib>/findlib - Binaries: /home/opam/.opam/4.09.1/bin - Manual pages: /home/opam/.opam/4.09.1/man - topfind script: /home/opam/.opam/4.09.1/lib/ocaml - Topfind ppxopt support: yes - Toolbox: no - Link custom runtime: no - Need bytes compatibility: no - - Configuration has been written to Makefile.config - - You can now do 'make all', and optionally 'make opt', to build ocamlfind. Processing 3/6: [ocamlfind: make all] + /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "make" "all" (CWD=/home/opam/.opam/4.09.1/.opam-switch/build/ocamlfind.1.9.1) - for p in findlib; do ( cd src/$p; make all ) || exit; done - make[1]: Entering directory '/home/opam/.opam/4.09.1/.opam-switch/build/ocamlfind.1.9.1/src/findlib' - ocamllex fl_meta.mll - 22 states, 392 transitions, table size 1700 bytes - USE_CYGPATH="0"; \ - export USE_CYGPATH; \ - cat findlib_config.mlp | \ - ../../tools/patch '@CONFIGFILE@' '/home/opam/.opam/4.09.1/lib/findlib.conf' | \ - ../../tools/patch '@STDLIB@' '/home/opam/.opam/4.09.1/lib/ocaml' | \ - sed -e 's;@AUTOLINK@;true;g' \ - -e 's;@SYSTEM@;linux;g' \ - >findlib_config.ml - if [ "true" = "true" ]; then \ - cp topfind.ml.in topfind.ml; \ - else \ - sed -e '/PPXOPT_BEGIN/,/PPXOPT_END/ d' topfind.ml.in \ - > topfind.ml ; \ - fi - ocamldep *.ml *.mli >depend - ocamlc -I +compiler-libs -opaque -g -c findlib_config.ml - ocamlc -I +compiler-libs -opaque -g -c fl_split.ml - ocamlc -I +compiler-libs -opaque -g -c fl_metatoken.ml - ocamlc -I +compiler-libs -opaque -g -c fl_meta.ml - ocamlc -I +compiler-libs -opaque -c fl_metascanner.mli - ocamlc -I +compiler-libs -opaque -g -c fl_metascanner.ml - ocamlc -I +compiler-libs -opaque -c fl_topo.mli - ocamlc -I +compiler-libs -opaque -g -c fl_topo.ml - ocamlc -I +compiler-libs -opaque -c fl_package_base.mli - ocamlc -I +compiler-libs -opaque -g -c fl_package_base.ml - ocamlc -I +compiler-libs -opaque -c findlib.mli - ocamlc -I +compiler-libs -opaque -g -c findlib.ml - ocamlc -I +compiler-libs -opaque -g -c fl_args.ml - ocamlc -I +compiler-libs -opaque -g -c fl_lint.ml - ocamlc -I +compiler-libs -a -o findlib.cma findlib_config.cmo fl_split.cmo fl_metatoken.cmo fl_meta.cmo fl_metascanner.cmo fl_topo.cmo fl_package_base.cmo findlib.cmo fl_args.cmo fl_lint.cmo - ocamlc -I +compiler-libs -opaque -g -c ocaml_args.ml - ocamlc -I +compiler-libs -opaque -g -c frontend.ml - File "frontend.ml", line 1826, characters 16-29: - 1826 | let buf = String.create buflen in (* FIXME: Bytes.create *) - ^^^^^^^^^^^^^ - Alert deprecated: Stdlib.String.create - Use Bytes.create instead. - ocamlc -I +compiler-libs -o ocamlfind -g findlib.cma unix.cma \ - ocaml_args.cmo frontend.cmo - ocamlc -I +compiler-libs -opaque -c topfind.mli - ocamlc -I +compiler-libs -opaque -g -c topfind.ml - ocamlc -I +compiler-libs -a -o findlib_top.cma topfind.cmo - USE_CYGPATH="0"; \ - export USE_CYGPATH; \ - cat topfind_rd1.p | \ - ../../tools/patch '@SITELIB@' '/home/opam/.opam/4.09.1/lib' \ - >topfind - ocamlc -I +compiler-libs -opaque -c fl_dynload.mli - ocamlc -I +compiler-libs -opaque -g -c fl_dynload.ml - ocamlc -I +compiler-libs -a -o findlib_dynload.cma fl_dynload.cmo - make[1]: Leaving directory '/home/opam/.opam/4.09.1/.opam-switch/build/ocamlfind.1.9.1/src/findlib' - make all-config - make[1]: Entering directory '/home/opam/.opam/4.09.1/.opam-switch/build/ocamlfind.1.9.1' - USE_CYGPATH="0"; \ - export USE_CYGPATH; \ - cat findlib.conf.in | \ - tools/patch '@SITELIB@' '/home/opam/.opam/4.09.1/lib' >findlib.conf - if ./tools/cmd_from_same_dir ocamlc; then \ - echo 'ocamlc="ocamlc.opt"' >>findlib.conf; \ - fi - if ./tools/cmd_from_same_dir ocamlopt; then \ - echo 'ocamlopt="ocamlopt.opt"' >>findlib.conf; \ - fi - if ./tools/cmd_from_same_dir ocamldep; then \ - echo 'ocamldep="ocamldep.opt"' >>findlib.conf; \ - fi - if ./tools/cmd_from_same_dir ocamldoc; then \ - echo 'ocamldoc="ocamldoc.opt"' >>findlib.conf; \ - fi - make[1]: Leaving directory '/home/opam/.opam/4.09.1/.opam-switch/build/ocamlfind.1.9.1' Processing 3/6: [ocamlfind: make opt] + /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "make" "opt" (CWD=/home/opam/.opam/4.09.1/.opam-switch/build/ocamlfind.1.9.1) - for p in findlib; do ( cd src/$p; make opt ) || exit; done - make[1]: Entering directory '/home/opam/.opam/4.09.1/.opam-switch/build/ocamlfind.1.9.1/src/findlib' - ocamlopt -I +compiler-libs -g -opaque -c findlib_config.ml - ocamlopt -I +compiler-libs -g -opaque -c fl_split.ml - ocamlopt -I +compiler-libs -g -opaque -c fl_metatoken.ml - ocamlopt -I +compiler-libs -g -opaque -c fl_meta.ml - ocamlopt -I +compiler-libs -g -opaque -c fl_metascanner.ml - ocamlopt -I +compiler-libs -g -opaque -c fl_topo.ml - ocamlopt -I +compiler-libs -g -opaque -c fl_package_base.ml - ocamlopt -I +compiler-libs -g -opaque -c findlib.ml - ocamlopt -I +compiler-libs -g -opaque -c fl_args.ml - ocamlopt -I +compiler-libs -g -opaque -c fl_lint.ml - ocamlopt -I +compiler-libs -g -a -o findlib.cmxa findlib_config.cmx fl_split.cmx fl_metatoken.cmx fl_meta.cmx fl_metascanner.cmx fl_topo.cmx fl_package_base.cmx findlib.cmx fl_args.cmx fl_lint.cmx - if [ 1 -gt 0 ]; then \ - ocamlopt -I +compiler-libs -g -shared -o findlib.cmxs findlib_config.cmx fl_split.cmx fl_metatoken.cmx fl_meta.cmx fl_metascanner.cmx fl_topo.cmx fl_package_base.cmx findlib.cmx fl_args.cmx fl_lint.cmx; \ - fi - ocamlopt -I +compiler-libs -g -opaque -c ocaml_args.ml - ocamlopt -I +compiler-libs -g -opaque -c frontend.ml - File "frontend.ml", line 1826, characters 16-29: - 1826 | let buf = String.create buflen in (* FIXME: Bytes.create *) - ^^^^^^^^^^^^^ - Alert deprecated: Stdlib.String.create - Use Bytes.create instead. - ocamlopt -I +compiler-libs -g -o ocamlfind_opt findlib.cmxa unix.cmxa \ - ocaml_args.cmx frontend.cmx - ocamlopt -I +compiler-libs -g -opaque -c topfind.ml - File "_none_", line 1: - Warning 58: no cmx file was found in path for module Topdirs, and its interface was not compiled with -opaque - File "_none_", line 1: - Warning 58: no cmx file was found in path for module Toploop, and its interface was not compiled with -opaque - ocamlopt -I +compiler-libs -g -a -o findlib_top.cmxa topfind.cmx - if [ 1 -gt 0 ]; then \ - ocamlopt -I +compiler-libs -g -shared -o findlib_top.cmxs topfind.cmx; \ - fi - ocamlopt -I +compiler-libs -g -opaque -c fl_dynload.ml - ocamlopt -I +compiler-libs -g -a -o findlib_dynload.cmxa fl_dynload.cmx - if [ 1 -gt 0 ]; then \ - ocamlopt -I +compiler-libs -g -shared -o findlib_dynload.cmxs fl_dynload.cmx; \ - fi - make[1]: Leaving directory '/home/opam/.opam/4.09.1/.opam-switch/build/ocamlfind.1.9.1/src/findlib' -> compiled ocamlfind.1.9.1 Processing 4/6: [ocamlfind: make install] + /home/opam/.opam/opam-init/hooks/sandbox.sh "install" "make" "install" (CWD=/home/opam/.opam/4.09.1/.opam-switch/build/ocamlfind.1.9.1) - if [ "1" -eq 1 ]; then \ - for x in camlp4 dbm graphics labltk num ocamlbuild; do \ - if [ -f "/home/opam/.opam/4.09.1/lib/$x/META" ]; then \ - if ! grep -Fq '[distributed with Ocaml]' "//home/opam/.opam/4.09.1/lib/$x/META"; then \ - rm -f site-lib-src/$x/META; \ - fi \ - fi \ - done; \ - test -f "site-lib-src/num/META" || rm -f "site-lib-src/num-top/META"; \ - fi - echo 'SITELIB_META =' > Makefile.packages.in - for x in `ls site-lib-src`; do test ! -f "site-lib-src/$x/META" || echo $x >> Makefile.packages.in; done - tr '\n' ' ' < Makefile.packages.in > Makefile.packages - rm Makefile.packages.in - mkdir -p "/home/opam/.opam/4.09.1/bin" - mkdir -p "/home/opam/.opam/4.09.1/man" - make install-config - make[1]: Entering directory '/home/opam/.opam/4.09.1/.opam-switch/build/ocamlfind.1.9.1' - mkdir -p "`dirname \"/home/opam/.opam/4.09.1/lib/findlib.conf\"`" - test -f "/home/opam/.opam/4.09.1/lib/findlib.conf" || cp findlib.conf "/home/opam/.opam/4.09.1/lib/findlib.conf" - make[1]: Leaving directory '/home/opam/.opam/4.09.1/.opam-switch/build/ocamlfind.1.9.1' - for p in findlib; do ( cd src/$p; make install ); done - make[1]: Entering directory '/home/opam/.opam/4.09.1/.opam-switch/build/ocamlfind.1.9.1/src/findlib' - mkdir -p "/home/opam/.opam/4.09.1/lib/findlib" - mkdir -p "/home/opam/.opam/4.09.1/bin" - test 1 -eq 0 || cp topfind "/home/opam/.opam/4.09.1/lib/ocaml" - files=` ../../tools/collect_files ../../Makefile.config findlib.cmi findlib.mli findlib.cma findlib.cmxa findlib.a findlib.cmxs topfind.cmi topfind.mli fl_package_base.mli fl_package_base.cmi fl_metascanner.mli fl_metascanner.cmi fl_metatoken.cmi findlib_top.cma findlib_top.cmxa findlib_top.a findlib_top.cmxs findlib_dynload.cma findlib_dynload.cmxa findlib_dynload.a findlib_dynload.cmxs fl_dynload.mli fl_dynload.cmi META` && \ - cp $files "/home/opam/.opam/4.09.1/lib/findlib" - f="ocamlfind"; { test -f ocamlfind_opt && f="ocamlfind_opt"; }; \ - cp $f "/home/opam/.opam/4.09.1/bin/ocamlfind" - # the following "if" block is only needed for 4.00beta2 - if [ 1 -eq 0 -a -f "/home/opam/.opam/4.09.1/lib/ocaml/compiler-libs/topdirs.cmi" ]; then \ - cd "/home/opam/.opam/4.09.1/lib/ocaml/compiler-libs/"; \ - cp topdirs.cmi toploop.cmi "/home/opam/.opam/4.09.1/lib/findlib/"; \ - fi - make[1]: Leaving directory '/home/opam/.opam/4.09.1/.opam-switch/build/ocamlfind.1.9.1/src/findlib' - make install-meta - make[1]: Entering directory '/home/opam/.opam/4.09.1/.opam-switch/build/ocamlfind.1.9.1' - for x in bigarray bytes compiler-libs dynlink ocamldoc raw_spacetime stdlib str threads unix ; do mkdir -p "/home/opam/.opam/4.09.1/lib/$x"; cp site-lib-src/$x/META "/home/opam/.opam/4.09.1/lib/$x"; done - mkdir -p "/home/opam/.opam/4.09.1/lib/findlib"; cp Makefile.packages "/home/opam/.opam/4.09.1/lib/findlib/Makefile.packages" - make[1]: Leaving directory '/home/opam/.opam/4.09.1/.opam-switch/build/ocamlfind.1.9.1' - test ! -f 'site-lib-src/num-top/META' || { cd src/findlib; make install-num-top; } - test ! -f 'site-lib-src/camlp4/META' || cp tools/safe_camlp4 "/home/opam/.opam/4.09.1/bin" - make install-doc - make[1]: Entering directory '/home/opam/.opam/4.09.1/.opam-switch/build/ocamlfind.1.9.1' - mkdir -p "/home/opam/.opam/4.09.1/man/man1" "/home/opam/.opam/4.09.1/man/man3" "/home/opam/.opam/4.09.1/man/man5" - cp doc/ref-man/ocamlfind.1 "/home/opam/.opam/4.09.1/man/man1" - cp doc/ref-man/META.5 doc/ref-man/site-lib.5 doc/ref-man/findlib.conf.5 "/home/opam/.opam/4.09.1/man/man5" - make[1]: Leaving directory '/home/opam/.opam/4.09.1/.opam-switch/build/ocamlfind.1.9.1' -> installed ocamlfind.1.9.1 Processing 5/6: [termbox: make] + /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "make" (CWD=/home/opam/.opam/4.09.1/.opam-switch/build/termbox.0.1.0) - cd termbox && ./waf configure && ./waf - Setting top to : /home/opam/.opam/4.09.1/.opam-switch/build/termbox.0.1.0/termbox - Setting out to : /home/opam/.opam/4.09.1/.opam-switch/build/termbox.0.1.0/termbox/build - Checking for 'gcc' (c compiler) : /usr/bin/gcc - 'configure' finished successfully (0.086s) - Waf: Entering directory `/home/opam/.opam/4.09.1/.opam-switch/build/termbox.0.1.0/termbox/build' - [ 1/11] c: src/termbox.c -> build/src/termbox.c.1.o - [ 2/11] c: src/utf8.c -> build/src/utf8.c.1.o - [ 3/11] c: src/termbox.c -> build/src/termbox.c.2.o - [ 4/11] c: src/utf8.c -> build/src/utf8.c.2.o - [ 5/11] c: src/demo/keyboard.c -> build/src/demo/keyboard.c.1.o - [ 6/11] c: src/demo/output.c -> build/src/demo/output.c.2.o - In file included from ../src/termbox.c:17: - ../src/term.inl: In function 'load_terminfo': - ../src/term.inl:163:33: warning: '%c' directive output may be truncated writing 1 byte into a region of size between 0 and 4095 [-Wformat-truncation=] - 163 | snprintf(tmp, sizeof(tmp), "%s/%c/%s", path, term[0], term); - | ^~ - ../src/term.inl:163:2: note: 'snprintf' output 4 or more bytes (assuming 4099) into a destination of size 4096 - 163 | snprintf(tmp, sizeof(tmp), "%s/%c/%s", path, term[0], term); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - ../src/term.inl:171:33: warning: '%x' directive output may be truncated writing between 1 and 8 bytes into a region of size between 0 and 4095 [-Wformat-truncation=] - 171 | snprintf(tmp, sizeof(tmp), "%s/%x/%s", path, term[0], term); - | ^~ - ../src/term.inl:171:29: note: using the range [0, 4294967295] for directive argument - 171 | snprintf(tmp, sizeof(tmp), "%s/%x/%s", path, term[0], term); - | ^~~~~~~~~~ - ../src/term.inl:171:2: note: 'snprintf' output 4 or more bytes (assuming 4099) into a destination of size 4096 - 171 | snprintf(tmp, sizeof(tmp), "%s/%x/%s", path, term[0], term); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - [ 7/11] cshlib: build/src/termbox.c.1.o build/src/utf8.c.1.o -> build/src/libtermbox.so - In file included from ../src/termbox.c:17: - ../src/term.inl: In function 'load_terminfo': - ../src/term.inl:163:33: warning: '%c' directive output may be truncated writing 1 byte into a region of size between 0 and 4095 [-Wformat-truncation=] - 163 | snprintf(tmp, sizeof(tmp), "%s/%c/%s", path, term[0], term); - | ^~ - ../src/term.inl:163:2: note: 'snprintf' output 4 or more bytes (assuming 4099) into a destination of size 4096 - 163 | snprintf(tmp, sizeof(tmp), "%s/%c/%s", path, term[0], term); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - ../src/term.inl:171:33: warning: '%x' directive output may be truncated writing between 1 and 8 bytes into a region of size between 0 and 4095 [-Wformat-truncation=] - 171 | snprintf(tmp, sizeof(tmp), "%s/%x/%s", path, term[0], term); - | ^~ - ../src/term.inl:171:29: note: using the range [0, 4294967295] for directive argument - 171 | snprintf(tmp, sizeof(tmp), "%s/%x/%s", path, term[0], term); - | ^~~~~~~~~~ - ../src/term.inl:171:2: note: 'snprintf' output 4 or more bytes (assuming 4099) into a destination of size 4096 - 171 | snprintf(tmp, sizeof(tmp), "%s/%x/%s", path, term[0], term); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - [ 8/11] cstlib: build/src/termbox.c.2.o build/src/utf8.c.2.o -> build/src/libtermbox.a - [10/11] cprogram: build/src/demo/output.c.2.o -> build/src/demo/output - [10/11] cprogram: build/src/demo/keyboard.c.1.o -> build/src/demo/keyboard - [11/11] vnum: build/src/libtermbox.so -> build/src/libtermbox.so.1 build/src/libtermbox.so.1.0.0 - Waf: Leaving directory `/home/opam/.opam/4.09.1/.opam-switch/build/termbox.0.1.0/termbox/build' - 'build' finished successfully (1.046s) - # Comple just the stubs into an object file. - ocamlfind ocamlc -c termbox_stubs.c -ccopt -fPIC -ccopt -Itermbox/src -o termbox_stubs.o - # Make the dynamic and static libraries containing the stubs AND termbox objects. - ocamlfind ocamlmklib termbox_stubs.o termbox/build/src/*.2.o -o otermbox - # Make the cmi and cmo files. - ocamlfind ocamlc -c termbox.mli termbox.ml - # Make the bytecode library. - # "-dllib -lotermbox" Arrange that the stubs are loaded by the runtime system at program startup. - # "-cclib -lotermbox" Pass -lotermbox when linking in -custom runtime mode. ie. when including a runtime with the bytecode. - ocamlfind ocamlc -a -dllib -lotermbox -cclib -lotermbox termbox.cmo -o termbox.cma - # Make the cmx file. - ocamlopt -c termbox.ml - # Make the native version of the library. - ocamlopt -a -cclib -lotermbox termbox.cmx -o termbox.cmxa - # Make a version of the library that supports being loaded by Dynlink. - ocamlopt -shared termbox.cmx -o termbox.cmxs -> compiled termbox.0.1.0 Processing 6/6: [termbox: make install] + /home/opam/.opam/opam-init/hooks/sandbox.sh "install" "make" "install" (CWD=/home/opam/.opam/4.09.1/.opam-switch/build/termbox.0.1.0) - ocamlfind install termbox META *.cmi *.cma *.cmxa *.cmxs *.a *.so - Installed /home/opam/.opam/4.09.1/lib/termbox/termbox.a - Installed /home/opam/.opam/4.09.1/lib/termbox/libotermbox.a - Installed /home/opam/.opam/4.09.1/lib/termbox/termbox.cmxs - Installed /home/opam/.opam/4.09.1/lib/termbox/termbox.cmxa - Installed /home/opam/.opam/4.09.1/lib/termbox/termbox.cma - Installed /home/opam/.opam/4.09.1/lib/termbox/termbox.cmi - Installed /home/opam/.opam/4.09.1/lib/stublibs/dllotermbox.so - Installed /home/opam/.opam/4.09.1/lib/stublibs/dllotermbox.so.owner - ocamlfind: [WARNING] You have installed DLLs but the directory /home/opam/.opam/4.09.1/lib/stublibs is not mentioned in ld.conf - Installed /home/opam/.opam/4.09.1/lib/termbox/META -> installed termbox.0.1.0 Done. # Run eval $(opam env) to update the current shell environment 2021-05-03 07:31.42 ---> saved as "2f216f548b2a29977f0345f4f339a3c9a939372b6d6bbe77e3b3c81db1ca6ba6" Job succeeded