Building on x86-bm-11.ocamllabs.io (from ocaml/opam:debian-unstable) Unable to find image 'ocaml/opam:debian-unstable' locally debian-unstable: Pulling from ocaml/opam 76d3fc461301: Already exists 4ef6d20bd5d7: Already exists f5ab1124984a: Pulling fs layer f5ab1124984a: Verifying Checksum f5ab1124984a: Download complete f5ab1124984a: Pull complete Digest: sha256:8e32e0d09a8f957267511ce7ffcb86567614efb6d6bb72b6aea9be9dac1bf3e7 Status: Downloaded newer image for ocaml/opam:debian-unstable 2021-09-04 15:03.50 ---> using "0acd5aeaa8f7bc314514d9795d14a7f12ec72a6a5b11c5904350189734c6859b" 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-2.1 /usr/bin/opam")) 2021-09-04 15:03.50 ---> using "4d29eb3e0b7cd69a97ed90837671d5ca38aa41e2fb94346298af500378eca6fa" from cache /: (run (network host) (shell "rm -rf ~/opam-repository && git clone -q 'git://github.com/ocaml/opam-repository.git' ~/opam-repository && git -C ~/opam-repository checkout -q 8fc7af65ccb8f3b3709bf02b749ac492e6700b59")) 2021-09-04 15:03.50 ---> using "eb095db6df41eeadc708604343f7b0ce0892db9136dac67a38046f57271c5802" 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: [NOTE] Make sure that ~/.profile is well sourced in your ~/.bashrc. ~/.profile is already up-to-date. 2021-09-04 15:03.50 ---> using "d245c9af6f86b2b97434d338a3fbb8270425ab7dc6ad1b5451665adc9698eabf" 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-09-04 15:03.50 ---> using "20d9850dcecd0523d6eddecad814e9bbd93882334348605bfa6e15ffd8f5ced5" from cache /: (run (shell "opam repository add --dont-select 'beta' ~/'beta'")) [beta] Initialised 2021-09-04 15:03.50 ---> using "6f8879c5099d2146b69bdcec3874fd111cad6c5c42ac63d5f9aa72a228fd8ee8" from cache /: (run (cache (opam-archives (target /home/opam/.opam/download-cache))) (network host) (shell "opam switch create --repositories=beta,default 4.08.1")) <><> Installing new switch packages <><><><><><><><><><><><><><><><><><><><><><> Switch invariant: ["ocaml-base-compiler" {= "4.08.1"} | "ocaml-system" {= "4.08.1"}] <><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><> -> installed base-bigarray.base -> installed base-threads.base -> installed base-unix.base -> retrieved ocaml-base-compiler.4.08.1 (cached) -> installed ocaml-base-compiler.4.08.1 -> installed ocaml-config.1 -> installed ocaml.4.08.1 Done. # Run eval $(opam env --switch=4.08.1) to update the current shell environment 2021-09-04 15:03.50 ---> using "3b2d7887954bce1c4fe8757a8a21d87040e70622692502bb8636040e7549e639" 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] - Ign:2 http://deb.debian.org/debian unstable/main amd64 Packages.diff/Index - Get:3 http://deb.debian.org/debian unstable/main amd64 Packages [8766 kB] - Fetched 8994 kB in 2s (4210 kB/s) - Reading package lists... - 2021-09-04 15:03.50 ---> using "a1a34dd6254b0880f63d8cba275a31f058b4f59b63e4d68899d68af1ddf46b6c" from cache /: (run (cache (opam-archives (target /home/opam/.opam/download-cache))) (network host) (shell "\ \nopam remove -y \"termbox.0.1.0\"\ \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")) [NOTE] termbox.0.1.0 is not installed. Nothing to do. 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? (answer 'n' for other options) [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 ... 18039 files and directories currently installed.) - Preparing to unpack .../0-libpython2.7-minimal_2.7.18-8_amd64.deb ... - Unpacking libpython2.7-minimal:amd64 (2.7.18-8) ... - Selecting previously unselected package python2.7-minimal. - Preparing to unpack .../1-python2.7-minimal_2.7.18-8_amd64.deb ... - Unpacking python2.7-minimal (2.7.18-8) ... - Selecting previously unselected package python2-minimal. - Preparing to unpack .../2-python2-minimal_2.7.18-3_amd64.deb ... - Unpacking python2-minimal (2.7.18-3) ... - 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.70_all.deb ... - Unpacking mailcap (3.70) ... - 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-8_amd64.deb ... - Unpacking libpython2.7-stdlib:amd64 (2.7.18-8) ... - Selecting previously unselected package python2.7. - Preparing to unpack .../7-python2.7_2.7.18-8_amd64.deb ... - Unpacking python2.7 (2.7.18-8) ... - Selecting previously unselected package libpython2-stdlib:amd64. - Preparing to unpack .../8-libpython2-stdlib_2.7.18-3_amd64.deb ... - Unpacking libpython2-stdlib:amd64 (2.7.18-3) ... - Setting up libpython2.7-minimal:amd64 (2.7.18-8) ... - Setting up python2.7-minimal (2.7.18-8) ... - /usr/bin/which: this version of 'which' is deprecated and should not be used. - Linking and byte-compiling packages for runtime python2.7... - Setting up python2-minimal (2.7.18-3) ... - 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 ... 18817 files and directories currently installed.) - Preparing to unpack .../python2_2.7.18-3_amd64.deb ... - Unpacking python2 (2.7.18-3) ... - 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.70) ... - Setting up mime-support (3.66) ... - Setting up libpython2.7-stdlib:amd64 (2.7.18-8) ... - Setting up python2.7 (2.7.18-8) ... - Setting up libpython2-stdlib:amd64 (2.7.18-3) ... - Setting up python2 (2.7.18-3) ... - Setting up python-is-python2 (2.7.18-9) ... - Processing triggers for libc-bin (2.31-15) ... <><> 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.08.1/bin" "-sitelib" "/home/opam/.opam/4.08.1/lib" "-mandir" "/home/opam/.opam/4.08.1/man" "-config" "/home/opam/.opam/4.08.1/lib/findlib.conf" "-no-custom" "-no-camlp4" (CWD=/home/opam/.opam/4.08.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: found - 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 graphics written to site-lib-src/graphics/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.08.1/lib/ocaml - Binaries: /home/opam/.opam/4.08.1/bin - Manual pages: /home/opam/.opam/4.08.1/man - Multi-threading type: posix - The directory of site-specific packages will be - site-lib: /home/opam/.opam/4.08.1/lib - The configuration file is written to: - findlib config file: /home/opam/.opam/4.08.1/lib/findlib.conf - Software will be installed: - Libraries: in <site-lib>/findlib - Binaries: /home/opam/.opam/4.08.1/bin - Manual pages: /home/opam/.opam/4.08.1/man - topfind script: /home/opam/.opam/4.08.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.08.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.08.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.08.1/lib/findlib.conf' | \ - ../../tools/patch '@STDLIB@' '/home/opam/.opam/4.08.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.08.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.08.1/.opam-switch/build/ocamlfind.1.9.1/src/findlib' - make all-config - make[1]: Entering directory '/home/opam/.opam/4.08.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.08.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.08.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.08.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.08.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.08.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.08.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.08.1/lib/$x/META" ]; then \ - if ! grep -Fq '[distributed with Ocaml]' "//home/opam/.opam/4.08.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.08.1/bin" - mkdir -p "/home/opam/.opam/4.08.1/man" - make install-config - make[1]: Entering directory '/home/opam/.opam/4.08.1/.opam-switch/build/ocamlfind.1.9.1' - mkdir -p "`dirname \"/home/opam/.opam/4.08.1/lib/findlib.conf\"`" - test -f "/home/opam/.opam/4.08.1/lib/findlib.conf" || cp findlib.conf "/home/opam/.opam/4.08.1/lib/findlib.conf" - make[1]: Leaving directory '/home/opam/.opam/4.08.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.08.1/.opam-switch/build/ocamlfind.1.9.1/src/findlib' - mkdir -p "/home/opam/.opam/4.08.1/lib/findlib" - mkdir -p "/home/opam/.opam/4.08.1/bin" - test 1 -eq 0 || cp topfind "/home/opam/.opam/4.08.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.08.1/lib/findlib" - f="ocamlfind"; { test -f ocamlfind_opt && f="ocamlfind_opt"; }; \ - cp $f "/home/opam/.opam/4.08.1/bin/ocamlfind" - # the following "if" block is only needed for 4.00beta2 - if [ 1 -eq 0 -a -f "/home/opam/.opam/4.08.1/lib/ocaml/compiler-libs/topdirs.cmi" ]; then \ - cd "/home/opam/.opam/4.08.1/lib/ocaml/compiler-libs/"; \ - cp topdirs.cmi toploop.cmi "/home/opam/.opam/4.08.1/lib/findlib/"; \ - fi - make[1]: Leaving directory '/home/opam/.opam/4.08.1/.opam-switch/build/ocamlfind.1.9.1/src/findlib' - make install-meta - make[1]: Entering directory '/home/opam/.opam/4.08.1/.opam-switch/build/ocamlfind.1.9.1' - for x in bigarray bytes compiler-libs dynlink graphics ocamldoc raw_spacetime stdlib str threads unix ; do mkdir -p "/home/opam/.opam/4.08.1/lib/$x"; cp site-lib-src/$x/META "/home/opam/.opam/4.08.1/lib/$x"; done - mkdir -p "/home/opam/.opam/4.08.1/lib/findlib"; cp Makefile.packages "/home/opam/.opam/4.08.1/lib/findlib/Makefile.packages" - make[1]: Leaving directory '/home/opam/.opam/4.08.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.08.1/bin" - make install-doc - make[1]: Entering directory '/home/opam/.opam/4.08.1/.opam-switch/build/ocamlfind.1.9.1' - mkdir -p "/home/opam/.opam/4.08.1/man/man1" "/home/opam/.opam/4.08.1/man/man3" "/home/opam/.opam/4.08.1/man/man5" - cp doc/ref-man/ocamlfind.1 "/home/opam/.opam/4.08.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.08.1/man/man5" - make[1]: Leaving directory '/home/opam/.opam/4.08.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.08.1/.opam-switch/build/termbox.0.1.0) - cd termbox && ./waf configure && ./waf - Setting top to : /home/opam/.opam/4.08.1/.opam-switch/build/termbox.0.1.0/termbox - Setting out to : /home/opam/.opam/4.08.1/.opam-switch/build/termbox.0.1.0/termbox/build - Checking for 'gcc' (c compiler) : /usr/bin/gcc - 'configure' finished successfully (0.070s) - Waf: Entering directory `/home/opam/.opam/4.08.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 - [ 9/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.08.1/.opam-switch/build/termbox.0.1.0/termbox/build' - 'build' finished successfully (0.635s) - # 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.08.1/.opam-switch/build/termbox.0.1.0) - ocamlfind install termbox META *.cmi *.cma *.cmxa *.cmxs *.a *.so - Installed /home/opam/.opam/4.08.1/lib/termbox/termbox.a - Installed /home/opam/.opam/4.08.1/lib/termbox/libotermbox.a - Installed /home/opam/.opam/4.08.1/lib/termbox/termbox.cmxs - Installed /home/opam/.opam/4.08.1/lib/termbox/termbox.cmxa - Installed /home/opam/.opam/4.08.1/lib/termbox/termbox.cma - Installed /home/opam/.opam/4.08.1/lib/termbox/termbox.cmi - Installed /home/opam/.opam/4.08.1/lib/stublibs/dllotermbox.so - Installed /home/opam/.opam/4.08.1/lib/stublibs/dllotermbox.so.owner - ocamlfind: [WARNING] You have installed DLLs but the directory /home/opam/.opam/4.08.1/lib/stublibs is not mentioned in ld.conf - Installed /home/opam/.opam/4.08.1/lib/termbox/META -> installed termbox.0.1.0 Done. # Run eval $(opam env) to update the current shell environment 2021-09-04 15:04.17 ---> saved as "f44f9347725dd9b100b964793ee5a9c8327cca8a092eeef26d2dbd63e6d8c9cb" Job succeeded