Building on x86-bm-3.ocamllabs.io (from ocaml/opam:debian-unstable) 2021-12-03 20:44.28 ---> 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-12-03 20:44.28 ---> using "4d29eb3e0b7cd69a97ed90837671d5ca38aa41e2fb94346298af500378eca6fa" 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 b1ed080260d9fb3332ffd1ed74a70b40f8d46d66")) 2021-12-03 20:44.28 ---> using "470a5139cd314c308ef6f8a7115ce3eecbef27ce3b36ad57c590d49c448a8f62" 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. 2021-12-03 20:44.28 ---> using "6ff696b0fce120bd80d73dc055775d9b6cd971171da508a2aeef8fc7d75ea210" from cache /: (run (cache (opam-archives (target /home/opam/.opam/download-cache))) (network host) (shell "opam switch create --repositories=default '4.12' '4.12.1'")) <><> Installing new switch packages <><><><><><><><><><><><><><><><><><><><><><> Switch invariant: ["ocaml-base-compiler" {= "4.12.1"} | "ocaml-system" {= "4.12.1"}] <><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><> -> installed base-bigarray.base -> installed base-threads.base -> installed base-unix.base -> installed ocaml-options-vanilla.1 -> retrieved ocaml-base-compiler.4.12.1 (cached) -> installed ocaml-base-compiler.4.12.1 -> installed ocaml-config.2 -> installed ocaml.4.12.1 Done. # Run eval $(opam env --switch=4.12) to update the current shell environment 2021-12-03 20:44.28 ---> using "ca7b6caf7a46ddb28076c5a6f691f2d0763957be051563a9718de14fdb1c5ef8" 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 [8877 kB] - Fetched 9106 kB in 2s (4610 kB/s) - Reading package lists... 2021-12-03 20:44.28 ---> using "ad5cb488dd2cd44108a641e9f4b1b432ff2c0ea292d3a55069379dafdf4023b1" 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 ... 18105 files and directories currently installed.) - Preparing to unpack .../0-libpython2.7-minimal_2.7.18-9_amd64.deb ... - Unpacking libpython2.7-minimal:amd64 (2.7.18-9) ... - Selecting previously unselected package python2.7-minimal. - Preparing to unpack .../1-python2.7-minimal_2.7.18-9_amd64.deb ... - Unpacking python2.7-minimal (2.7.18-9) ... - 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+nmu1_all.deb ... - Unpacking mailcap (3.70+nmu1) ... - 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-9_amd64.deb ... - Unpacking libpython2.7-stdlib:amd64 (2.7.18-9) ... - Selecting previously unselected package python2.7. - Preparing to unpack .../7-python2.7_2.7.18-9_amd64.deb ... - Unpacking python2.7 (2.7.18-9) ... - 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-9) ... - Setting up python2.7-minimal (2.7.18-9) ... - /usr/bin/which: this version of `which' is deprecated; use `command -v' in scripts instead. - 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 ... 18883 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.41-2_amd64.deb ... - Unpacking libmagic-mgc (1:5.41-2) ... - Selecting previously unselected package libmagic1:amd64. - Preparing to unpack .../libmagic1_1%3a5.41-2_amd64.deb ... - Unpacking libmagic1:amd64 (1:5.41-2) ... - Selecting previously unselected package file. - Preparing to unpack .../file_1%3a5.41-2_amd64.deb ... - Unpacking file (1:5.41-2) ... - 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.41-2) ... - Setting up libmagic1:amd64 (1:5.41-2) ... - Setting up file (1:5.41-2) ... - Setting up mailcap (3.70+nmu1) ... - Setting up mime-support (3.66) ... - Setting up libpython2.7-stdlib:amd64 (2.7.18-9) ... - Setting up python2.7 (2.7.18-9) ... - 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.32-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.12/bin" "-sitelib" "/home/opam/.opam/4.12/lib" "-mandir" "/home/opam/.opam/4.12/man" "-config" "/home/opam/.opam/4.12/lib/findlib.conf" "-no-custom" "-no-camlp4" (CWD=/home/opam/.opam/4.12/.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: not present (normal since 4.12) - 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 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.12/lib/ocaml - Binaries: /home/opam/.opam/4.12/bin - Manual pages: /home/opam/.opam/4.12/man - Multi-threading type: posix - The directory of site-specific packages will be - site-lib: /home/opam/.opam/4.12/lib - The configuration file is written to: - findlib config file: /home/opam/.opam/4.12/lib/findlib.conf - Software will be installed: - Libraries: in <site-lib>/findlib - Binaries: /home/opam/.opam/4.12/bin - Manual pages: /home/opam/.opam/4.12/man - topfind script: /home/opam/.opam/4.12/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.12/.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.12/.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.12/lib/findlib.conf' | \ - ../../tools/patch '@STDLIB@' '/home/opam/.opam/4.12/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/BytesLabels.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.12/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.12/.opam-switch/build/ocamlfind.1.9.1/src/findlib' - make all-config - make[1]: Entering directory '/home/opam/.opam/4.12/.opam-switch/build/ocamlfind.1.9.1' - USE_CYGPATH="0"; \ - export USE_CYGPATH; \ - cat findlib.conf.in | \ - tools/patch '@SITELIB@' '/home/opam/.opam/4.12/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.12/.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.12/.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.12/.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/BytesLabels.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]: 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]: 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.12/.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.12/.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.12/lib/$x/META" ]; then \ - if ! grep -Fq '[distributed with Ocaml]' "//home/opam/.opam/4.12/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.12/bin" - mkdir -p "/home/opam/.opam/4.12/man" - make install-config - make[1]: Entering directory '/home/opam/.opam/4.12/.opam-switch/build/ocamlfind.1.9.1' - mkdir -p "`dirname \"/home/opam/.opam/4.12/lib/findlib.conf\"`" - test -f "/home/opam/.opam/4.12/lib/findlib.conf" || cp findlib.conf "/home/opam/.opam/4.12/lib/findlib.conf" - make[1]: Leaving directory '/home/opam/.opam/4.12/.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.12/.opam-switch/build/ocamlfind.1.9.1/src/findlib' - mkdir -p "/home/opam/.opam/4.12/lib/findlib" - mkdir -p "/home/opam/.opam/4.12/bin" - test 1 -eq 0 || cp topfind "/home/opam/.opam/4.12/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.12/lib/findlib" - f="ocamlfind"; { test -f ocamlfind_opt && f="ocamlfind_opt"; }; \ - cp $f "/home/opam/.opam/4.12/bin/ocamlfind" - # the following "if" block is only needed for 4.00beta2 - if [ 1 -eq 0 -a -f "/home/opam/.opam/4.12/lib/ocaml/compiler-libs/topdirs.cmi" ]; then \ - cd "/home/opam/.opam/4.12/lib/ocaml/compiler-libs/"; \ - cp topdirs.cmi toploop.cmi "/home/opam/.opam/4.12/lib/findlib/"; \ - fi - make[1]: Leaving directory '/home/opam/.opam/4.12/.opam-switch/build/ocamlfind.1.9.1/src/findlib' - make install-meta - make[1]: Entering directory '/home/opam/.opam/4.12/.opam-switch/build/ocamlfind.1.9.1' - for x in bigarray bytes compiler-libs dynlink ocamldoc stdlib str threads unix ; do mkdir -p "/home/opam/.opam/4.12/lib/$x"; cp site-lib-src/$x/META "/home/opam/.opam/4.12/lib/$x"; done - mkdir -p "/home/opam/.opam/4.12/lib/findlib"; cp Makefile.packages "/home/opam/.opam/4.12/lib/findlib/Makefile.packages" - make[1]: Leaving directory '/home/opam/.opam/4.12/.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.12/bin" - make install-doc - make[1]: Entering directory '/home/opam/.opam/4.12/.opam-switch/build/ocamlfind.1.9.1' - mkdir -p "/home/opam/.opam/4.12/man/man1" "/home/opam/.opam/4.12/man/man3" "/home/opam/.opam/4.12/man/man5" - cp doc/ref-man/ocamlfind.1 "/home/opam/.opam/4.12/man/man1" - cp doc/ref-man/META.5 doc/ref-man/site-lib.5 doc/ref-man/findlib.conf.5 "/home/opam/.opam/4.12/man/man5" - make[1]: Leaving directory '/home/opam/.opam/4.12/.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.12/.opam-switch/build/termbox.0.1.0) - cd termbox && ./waf configure && ./waf - Setting top to : /home/opam/.opam/4.12/.opam-switch/build/termbox.0.1.0/termbox - Setting out to : /home/opam/.opam/4.12/.opam-switch/build/termbox.0.1.0/termbox/build - Checking for 'gcc' (c compiler) : /usr/bin/gcc - 'configure' finished successfully (0.114s) - Waf: Entering directory `/home/opam/.opam/4.12/.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:40: 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:9: 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:40: 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:36: 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:9: 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] cstlib: build/src/termbox.c.2.o build/src/utf8.c.2.o -> build/src/libtermbox.a - [ 8/11] cprogram: build/src/demo/output.c.2.o -> build/src/demo/output - [ 9/11] cprogram: build/src/demo/keyboard.c.1.o -> build/src/demo/keyboard - In file included from ../src/termbox.c:17: - ../src/term.inl: In function 'load_terminfo': - ../src/term.inl:163:40: 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:9: 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:40: 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:36: 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:9: 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); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - [10/11] cshlib: build/src/termbox.c.1.o build/src/utf8.c.1.o -> build/src/libtermbox.so - [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.12/.opam-switch/build/termbox.0.1.0/termbox/build' - 'build' finished successfully (1.837s) - # 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.12/.opam-switch/build/termbox.0.1.0) - ocamlfind install termbox META *.cmi *.cma *.cmxa *.cmxs *.a *.so - Installed /home/opam/.opam/4.12/lib/termbox/termbox.a - Installed /home/opam/.opam/4.12/lib/termbox/libotermbox.a - Installed /home/opam/.opam/4.12/lib/termbox/termbox.cmxs - Installed /home/opam/.opam/4.12/lib/termbox/termbox.cmxa - Installed /home/opam/.opam/4.12/lib/termbox/termbox.cma - Installed /home/opam/.opam/4.12/lib/termbox/termbox.cmi - Installed /home/opam/.opam/4.12/lib/stublibs/dllotermbox.so - Installed /home/opam/.opam/4.12/lib/stublibs/dllotermbox.so.owner - ocamlfind: [WARNING] You have installed DLLs but the directory /home/opam/.opam/4.12/lib/stublibs is not mentioned in ld.conf - Installed /home/opam/.opam/4.12/lib/termbox/META -> installed termbox.0.1.0 Done. # Run eval $(opam env) to update the current shell environment 2021-12-03 20:45.39 ---> saved as "d6524872bc11679798839be7b773366512992be2cbe64f1894e0412073509a18" Job succeeded