Building on doris.ocamllabs.io (from ocaml/opam:debian-unstable@sha256:196f72fefcbd1cd5857a4541b7054686b672ddbe3ce300ebf954f71a772a99f1) Unable to find image 'ocaml/opam:debian-unstable@sha256:196f72fefcbd1cd5857a4541b7054686b672ddbe3ce300ebf954f71a772a99f1' locally docker.io/ocaml/opam@sha256:196f72fefcbd1cd5857a4541b7054686b672ddbe3ce300ebf954f71a772a99f1: Pulling from ocaml/opam 88273bdcc4bc: Pulling fs layer 88273bdcc4bc: Verifying Checksum 88273bdcc4bc: Download complete 88273bdcc4bc: Pull complete Digest: sha256:196f72fefcbd1cd5857a4541b7054686b672ddbe3ce300ebf954f71a772a99f1 Status: Downloaded newer image for ocaml/opam@sha256:196f72fefcbd1cd5857a4541b7054686b672ddbe3ce300ebf954f71a772a99f1 2022-10-12 20:04.34 ---> using "72789ea385c156750aa7dd96aa50ee44bc632bea844e975f245441d9aee8bfd2" 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-10-12 20:04.34 ---> using "00a95b0dc29356854a2323387bb3765564e1fe55593574ff6be6315935e9f655" 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 b1c9c96444d9fdc81f076b2f18ffaccd2f7c8f2f")) 2022-10-12 20:04.34 ---> using "78ae84c730ce1e5c34c37c027b1e573b31333de9c356d764a1de3654115799af" 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-10-12 20:04.34 ---> using "3910cf3733834024da3f31717f53c4d64ec6165d9ca48b4a2ad73da600e53b71" from cache /: (run (cache (opam-archives (target /home/opam/.opam/download-cache))) (network host) (shell "opam switch create --repositories=default '4.02' '4.02.3'")) <><> Installing new switch packages <><><><><><><><><><><><><><><><><><><><><><> Switch invariant: ["ocaml-base-compiler" {= "4.02.3"} | "ocaml-system" {= "4.02.3"}] <><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><> -> installed base-bigarray.base -> installed base-threads.base -> installed base-unix.base -> retrieved ocaml-base-compiler.4.02.3 (https://github.com/ocaml/ocaml/archive/4.02.3.tar.gz) -> installed ocaml-base-compiler.4.02.3 -> installed ocaml-config.1 -> installed ocaml.4.02.3 -> installed base-ocamlbuild.base Done. # Run eval $(opam env --switch=4.02) to update the current shell environment 2022-10-12 20:04.34 ---> using "fee83f067c5d854666864e2801d5f55151d002de84713a553f9a5c9aaa777e2c" from cache /: (run (network host) (shell "opam update --depexts")) + /usr/bin/sudo "apt-get" "update" - Get:1 http://deb.debian.org/debian unstable InRelease [161 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-10-11-2005.54-F-2022-10-10-1406.43.pdiff [117 kB] - Get:3 http://deb.debian.org/debian unstable/main amd64 Packages T-2022-10-11-2005.54-F-2022-10-10-1406.43.pdiff [117 kB] - Fetched 341 kB in 1s (234 kB/s) - Reading package lists... - 2022-10-12 20:04.34 ---> using "e0440d0fedf5fb4137a678467acb283641ddf2a4f6b6286bcf6b39e94b3796be" from cache /: (run (cache (opam-archives (target /home/opam/.opam/download-cache))) (network host) (shell "opam install -y ocaml-secondary-compiler")) The following actions will be performed: === install 1 package - install ocaml-secondary-compiler 4.08.1-1 <><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><> -> retrieved ocaml-secondary-compiler.4.08.1-1 (cached) -> installed ocaml-secondary-compiler.4.08.1-1 Done. # Run eval $(opam env) to update the current shell environment 2022-10-12 20:04.34 ---> using "b021fb9a62951784e430dafafd9820df1e7311f97a76923b87ab086348253e85" from cache /: (run (cache (opam-archives (target /home/opam/.opam/download-cache))) (network host) (shell "\ \nopam remove -y \"mm.0.2.0\"\ \nopam install -vy \"mm.0.2.0\"\ \nres=$?\ \nif [ $res = 31 ]; then\ \n if opam show -f x-ci-accept-failures: \"mm.0.2.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] mm.0.2.0 is not installed. Nothing to do. The following actions will be performed: === install 2 packages - install mm 0.2.0 - install ocamlfind 1.9.5 [required by mm] <><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><> Processing 1/6: [mm.0.2.0: http] Processing 2/6: [mm.0.2.0: http] -> retrieved ocamlfind.1.9.5 (cached) [ocamlfind: patch] applying 0001-Fix-bug-when-installing-with-a-system-compiler.patch Processing 3/6: [mm.0.2.0: http] [ocamlfind: patch] Processing 3/6: [mm.0.2.0: http] [ocamlfind: ./configure] + /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "./configure" "-bindir" "/home/opam/.opam/4.02/bin" "-sitelib" "/home/opam/.opam/4.02/lib" "-mandir" "/home/opam/.opam/4.02/man" "-config" "/home/opam/.opam/4.02/lib/findlib.conf" "-no-custom" "-no-camlp4" (CWD=/home/opam/.opam/4.02/.opam-switch/build/ocamlfind.1.9.5) - Welcome to findlib version 1.9.5 - 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 - dynlink: found - bigarray: found - compiler-libs: found - dbm: not present (normal since 4.00) - graphics: found - num: found - ocamlbuild: found (in +ocamlbuild) - ocamldoc: found (in +ocamldoc) - raw_spacetime: not present (normal since 4.12) - threads: found (in +threads) - runtime_events: not present - str: found - labltk: not present (normal since 4.02) - native dynlink: found - camlp4: disabled - bytes: found, installing fake library - Configuration for stdlib written to site-lib-src/stdlib/META - Configuration for unix written to site-lib-src/unix/META - Configuration for dynlink written to site-lib-src/dynlink/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 num written to site-lib-src/num/META - Configuration for num-top written to site-lib-src/num-top/META - Configuration for ocamlbuild written to site-lib-src/ocamlbuild/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.02/lib/ocaml - Binaries: /home/opam/.opam/4.02/bin - Manual pages: /home/opam/.opam/4.02/man - Multi-threading type: posix - The directory of site-specific packages will be - site-lib: /home/opam/.opam/4.02/lib - The configuration file is written to: - findlib config file: /home/opam/.opam/4.02/lib/findlib.conf - Software will be installed: - Libraries: in <site-lib>/findlib - Binaries: /home/opam/.opam/4.02/bin - Manual pages: /home/opam/.opam/4.02/man - topfind script: /home/opam/.opam/4.02/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: [mm.0.2.0: http] [ocamlfind: make all] Processing 3/6: [ocamlfind: make all] -> retrieved mm.0.2.0 (http://downloads.sourceforge.net/project/savonet/ocaml-mm/0.2.0/ocaml-mm-0.2.0.tar.gz) + /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "make" "all" (CWD=/home/opam/.opam/4.02/.opam-switch/build/ocamlfind.1.9.5) - for p in findlib; do ( cd src/$p; make all ) || exit; done - make[1]: Entering directory '/home/opam/.opam/4.02/.opam-switch/build/ocamlfind.1.9.5/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.02/lib/findlib.conf' | \ - ../../tools/patch '@STDLIB@' '/home/opam/.opam/4.02/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 -I +unix -I +dynlink -g -c findlib_config.ml - ocamlc -I +compiler-libs -I +unix -I +dynlink -g -c fl_split.ml - ocamlc -I +compiler-libs -I +unix -I +dynlink -g -c fl_metatoken.ml - ocamlc -I +compiler-libs -I +unix -I +dynlink -g -c fl_meta.ml - ocamlc -I +compiler-libs -I +unix -I +dynlink -c fl_metascanner.mli - ocamlc -I +compiler-libs -I +unix -I +dynlink -g -c fl_metascanner.ml - ocamlc -I +compiler-libs -I +unix -I +dynlink -c fl_topo.mli - ocamlc -I +compiler-libs -I +unix -I +dynlink -g -c fl_topo.ml - ocamlc -I +compiler-libs -I +unix -I +dynlink -c fl_package_base.mli - ocamlc -I +compiler-libs -I +unix -I +dynlink -g -c fl_package_base.ml - ocamlc -I +compiler-libs -I +unix -I +dynlink -c findlib.mli - ocamlc -I +compiler-libs -I +unix -I +dynlink -g -c findlib.ml - ocamlc -I +compiler-libs -I +unix -I +dynlink -g -c fl_args.ml - ocamlc -I +compiler-libs -I +unix -I +dynlink -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 -I +unix -I +dynlink -g -c ocaml_args.ml - ocamlc -I +compiler-libs -I +unix -I +dynlink -g -c frontend.ml - ocamlc -I +compiler-libs -o ocamlfind -g findlib.cma unix.cma \ - -I +unix -I +dynlink ocaml_args.cmo frontend.cmo - ocamlc -I +compiler-libs -I +unix -I +dynlink -c topfind.mli - ocamlc -I +compiler-libs -I +unix -I +dynlink -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.02/lib' \ - >topfind - ocamlc -I +compiler-libs -I +unix -I +dynlink -c num_top_printers.mli - ocamlc -I +compiler-libs -I +unix -I +dynlink -g -c num_top_printers.ml - ocamlc -I +compiler-libs -I +unix -I +dynlink -c num_top.mli - ocamlc -I +compiler-libs -I +unix -I +dynlink -g -c num_top.ml - ocamlc -I +compiler-libs -a -o num_top.cma num_top_printers.cmo num_top.cmo - ocamlc -I +compiler-libs -I +unix -I +dynlink -c fl_dynload.mli - ocamlc -I +compiler-libs -I +unix -I +dynlink -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.02/.opam-switch/build/ocamlfind.1.9.5/src/findlib' - make all-config - make[1]: Entering directory '/home/opam/.opam/4.02/.opam-switch/build/ocamlfind.1.9.5' - USE_CYGPATH="0"; \ - export USE_CYGPATH; \ - cat findlib.conf.in | \ - tools/patch '@SITELIB@' '/home/opam/.opam/4.02/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.02/.opam-switch/build/ocamlfind.1.9.5' Processing 3/6: [ocamlfind: make opt] + /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "make" "opt" (CWD=/home/opam/.opam/4.02/.opam-switch/build/ocamlfind.1.9.5) - for p in findlib; do ( cd src/$p; make opt ) || exit; done - make[1]: Entering directory '/home/opam/.opam/4.02/.opam-switch/build/ocamlfind.1.9.5/src/findlib' - ocamlopt -I +compiler-libs -g -I +unix -I +dynlink -c findlib_config.ml - ocamlopt -I +compiler-libs -g -I +unix -I +dynlink -c fl_split.ml - ocamlopt -I +compiler-libs -g -I +unix -I +dynlink -c fl_metatoken.ml - ocamlopt -I +compiler-libs -g -I +unix -I +dynlink -c fl_meta.ml - ocamlopt -I +compiler-libs -g -I +unix -I +dynlink -c fl_metascanner.ml - ocamlopt -I +compiler-libs -g -I +unix -I +dynlink -c fl_topo.ml - ocamlopt -I +compiler-libs -g -I +unix -I +dynlink -c fl_package_base.ml - ocamlopt -I +compiler-libs -g -I +unix -I +dynlink -c findlib.ml - ocamlopt -I +compiler-libs -g -I +unix -I +dynlink -c fl_args.ml - ocamlopt -I +compiler-libs -g -I +unix -I +dynlink -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 -I +unix -I +dynlink -c ocaml_args.ml - ocamlopt -I +compiler-libs -g -I +unix -I +dynlink -c frontend.ml - ocamlopt -I +compiler-libs -g -o ocamlfind_opt findlib.cmxa unix.cmxa \ - -I +unix -I +dynlink ocaml_args.cmx frontend.cmx - ocamlopt -I +compiler-libs -g -I +unix -I +dynlink -c topfind.ml - 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 -I +unix -I +dynlink -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.02/.opam-switch/build/ocamlfind.1.9.5/src/findlib' -> compiled ocamlfind.1.9.5 Processing 4/6: [ocamlfind: make install] + /home/opam/.opam/opam-init/hooks/sandbox.sh "install" "make" "install" (CWD=/home/opam/.opam/4.02/.opam-switch/build/ocamlfind.1.9.5) - if [ "1" -eq 1 ]; then \ - for x in camlp4 dbm graphics labltk num ocamlbuild; do \ - if [ -f "/home/opam/.opam/4.02/lib/$x/META" ]; then \ - if ! grep -Fq '[distributed with Ocaml]' "//home/opam/.opam/4.02/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 - install -d "/home/opam/.opam/4.02/bin" - install -d "/home/opam/.opam/4.02/man" - make install-config - make[1]: Entering directory '/home/opam/.opam/4.02/.opam-switch/build/ocamlfind.1.9.5' - install -d "`dirname \"/home/opam/.opam/4.02/lib/findlib.conf\"`" - test -f "/home/opam/.opam/4.02/lib/findlib.conf" || install -c findlib.conf "/home/opam/.opam/4.02/lib/findlib.conf" - make[1]: Leaving directory '/home/opam/.opam/4.02/.opam-switch/build/ocamlfind.1.9.5' - for p in findlib; do ( cd src/$p; make install ); done - make[1]: Entering directory '/home/opam/.opam/4.02/.opam-switch/build/ocamlfind.1.9.5/src/findlib' - install -d "/home/opam/.opam/4.02/lib/findlib" - install -d "/home/opam/.opam/4.02/bin" - test 1 -eq 0 || install -d "/home/opam/.opam/4.02/lib/ocaml" - test 1 -eq 0 || install -c topfind "/home/opam/.opam/4.02/lib/ocaml/" - files=` ../../tools/collect_files ../../Makefile.config \ - findlib.cmi findlib.mli findlib.cma findlib.cmxa findlib.a findlib.cmxs \ - findlib_config.cmi findlib_config.ml topfind.cmi topfind.mli \ - fl_args.cmi fl_lint.cmi fl_meta.cmi fl_split.cmi fl_topo.cmi ocaml_args.cmi \ - 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` && \ - install -c $files "/home/opam/.opam/4.02/lib/findlib/" - f="ocamlfind"; { test -f ocamlfind_opt && f="ocamlfind_opt"; }; \ - install -c $f "/home/opam/.opam/4.02/bin/ocamlfind" - # the following "if" block is only needed for 4.00beta2 - if [ 1 -eq 0 -a -f "/home/opam/.opam/4.02/lib/ocaml/compiler-libs/topdirs.cmi" ]; then \ - cd "/home/opam/.opam/4.02/lib/ocaml/compiler-libs/"; \ - install -c topdirs.cmi toploop.cmi "/home/opam/.opam/4.02/lib/findlib/"; \ - fi - make[1]: Leaving directory '/home/opam/.opam/4.02/.opam-switch/build/ocamlfind.1.9.5/src/findlib' - make install-meta - make[1]: Entering directory '/home/opam/.opam/4.02/.opam-switch/build/ocamlfind.1.9.5' - for x in bigarray bytes compiler-libs dynlink graphics num num-top ocamlbuild ocamldoc stdlib str threads unix ; do install -d "/home/opam/.opam/4.02/lib/$x"; install -c site-lib-src/$x/META "/home/opam/.opam/4.02/lib/$x/META.tmp" && mv "/home/opam/.opam/4.02/lib/$x/META.tmp" "/home/opam/.opam/4.02/lib/$x/META"; done - install -d "/home/opam/.opam/4.02/lib/findlib"; install -c Makefile.packages "/home/opam/.opam/4.02/lib/findlib/Makefile.packages" - make[1]: Leaving directory '/home/opam/.opam/4.02/.opam-switch/build/ocamlfind.1.9.5' - test ! -f 'site-lib-src/num-top/META' || { cd src/findlib; make install-num-top; } - make[1]: Entering directory '/home/opam/.opam/4.02/.opam-switch/build/ocamlfind.1.9.5/src/findlib' - install -d "/home/opam/.opam/4.02/lib/num-top" - install -c num_top.cma num_top.cmi num_top_printers.cmi \ - "/home/opam/.opam/4.02/lib/num-top/" - make[1]: Leaving directory '/home/opam/.opam/4.02/.opam-switch/build/ocamlfind.1.9.5/src/findlib' - test ! -f 'site-lib-src/camlp4/META' || install -c tools/safe_camlp4 "/home/opam/.opam/4.02/bin" - make install-doc - make[1]: Entering directory '/home/opam/.opam/4.02/.opam-switch/build/ocamlfind.1.9.5' - install -d "/home/opam/.opam/4.02/man/man1" "/home/opam/.opam/4.02/man/man3" "/home/opam/.opam/4.02/man/man5" - install -c doc/ref-man/ocamlfind.1 "/home/opam/.opam/4.02/man/man1" - install -c doc/ref-man/META.5 doc/ref-man/site-lib.5 doc/ref-man/findlib.conf.5 "/home/opam/.opam/4.02/man/man5" - make[1]: Leaving directory '/home/opam/.opam/4.02/.opam-switch/build/ocamlfind.1.9.5' -> installed ocamlfind.1.9.5 Processing 5/6: [mm: ./configure] + /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "./configure" "--prefix" "/home/opam/.opam/4.02" (CWD=/home/opam/.opam/4.02/.opam-switch/build/mm.0.2.0) - configuring ocaml-mm 0.2.0 - checking for gcc... gcc - checking whether the C compiler works... yes - checking for C compiler default output file name... a.out - checking for suffix of executables... - checking whether we are cross compiling... no - checking for suffix of object files... o - checking whether we are using the GNU C compiler... yes - checking whether gcc accepts -g... yes - checking for gcc option to accept ISO C89... none needed - checking build system type... x86_64-unknown-linux-gnu - checking host system type... x86_64-unknown-linux-gnu - checking for a BSD-compatible install... /usr/bin/install -c - checking that calling user is not root... ok - checking for gcc... (cached) gcc - checking whether we are using the GNU C compiler... (cached) yes - checking whether gcc accepts -g... (cached) yes - checking for gcc option to accept ISO C89... (cached) none needed - checking for ar... ar - checking for ocamlc... ocamlc - OCaml version is 4.02.3 - checking if ocaml compiler supports first-class modules... yes - OCaml library path is /home/opam/.opam/4.02/lib/ocaml - checking for ocamlopt... ocamlopt - checking for ocamlc.opt... ocamlc.opt - checking for ocamlopt.opt... ocamlopt.opt - checking for ocaml... ocaml - checking for ocamldep... ocamldep - checking for ocamlmktop... ocamlmktop - checking for ocamlmklib... ocamlmklib - checking for ocamldoc... ocamldoc - checking for ocamlbuild... ocamlbuild - checking for camlidl... no - checking for ocamllex... ocamllex - checking for ocamllex.opt... ocamllex.opt - checking for ocamlyacc... ocamlyacc - checking for camlp4... no - checking for camlp4boot... no - checking for camlp4o... no - checking for camlp4of... no - checking for camlp4oof... no - checking for camlp4orf... no - checking for camlp4prof... no - checking for camlp4r... no - checking for camlp4rf... no - checking for ocamlfind... ocamlfind - checking for caml/threads.h... no - checking for gcc option to produce PIC... -fPIC - checking for memalign... yes - checking how to run the C preprocessor... gcc -E - checking for grep that handles long lines and -e... /usr/bin/grep - checking for egrep... /usr/bin/grep -E - checking for ANSI C header files... yes - checking for sys/types.h... yes - checking for sys/stat.h... yes - checking for stdlib.h... yes - checking for string.h... yes - checking for memory.h... yes - checking for strings.h... yes - checking for inttypes.h... yes - checking for stdint.h... yes - checking for unistd.h... yes - checking whether byte ordering is bigendian... no - checking for OCaml library alsa... not found - checking for OCaml library ao... not found - checking for OCaml library gstreamer... not found - checking for OCaml library mad... not found - checking for OCaml library ogg... not found - checking for OCaml library sdl... not found - checking for OCaml library theora... not found - checking sys/soundcard.h usability... yes - checking sys/soundcard.h presence... yes - checking for sys/soundcard.h... yes - checking libavcodec/avcodec.h usability... no - checking libavcodec/avcodec.h presence... no - checking for libavcodec/avcodec.h... no - checking linux/videodev.h usability... no - checking linux/videodev.h presence... no - checking for linux/videodev.h... no - configure: creating ./config.status - config.status: creating Makefile - config.status: creating src/Makefile - config.status: creating external/Makefile - config.status: creating external/Makefile.defs - config.status: creating src/META - config.status: creating config.h - - - Supported external libraries: - - Alsa : no - - AO : no - - FFmpeg : no - - Gstreamer : no - - Mad : no - - ogg : no - - OSS : yes - - SDL : no - - Theora : no - - V4L : no - Processing 5/6: [mm: make] + /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "make" (CWD=/home/opam/.opam/4.02/.opam-switch/build/mm.0.2.0) - make -C src all - make[1]: Entering directory '/home/opam/.opam/4.02/.opam-switch/build/mm.0.2.0/src' - make[2]: Entering directory '/home/opam/.opam/4.02/.opam-switch/build/mm.0.2.0/src' - ocamldep synth.mli > ._bcdi/synth.di - ocamldep MIDI.mli > ._bcdi/MIDI.di - ocamldep video.mli > ._bcdi/video.di - ocamldep image.mli > ._bcdi/image.di - ocamldep audio.mli > ._bcdi/audio.di - ocamldep ringbuffer.mli > ._bcdi/ringbuffer.di - ocamldep synth.ml > ._d/synth.d - ocamldep MIDI.ml > ._d/MIDI.d - ocamldep video.ml > ._d/video.d - ocamldep image.ml > ._d/image.d - ocamldep audio.ml > ._d/audio.d - ocamldep IO.ml > ._d/IO.d - ocamldep ringbuffer.ml > ._d/ringbuffer.d - ocamlc.opt -c -cc "gcc" -ccopt "-fPIC -g -O2 -I/home/opam/.opam/4.02/include -I.. -g -Wall -O3 \ - -DPIC \ - -I.. -o audio_c.o " audio_c.c - ocamlc.opt -c -cc "gcc" -ccopt "-fPIC -g -O2 -I/home/opam/.opam/4.02/include -I.. -g -Wall -O3 \ - -DPIC \ - -I.. -o image_c.o " image_c.c - image_c.c: In function 'caml_rgb_color_to_alpha': - image_c.c:1275:10: warning: variable 'd' set but not used [-Wunused-but-set-variable] - 1275 | double d; - | ^ - image_c.c:1274:22: warning: variable 'aa' set but not used [-Wunused-but-set-variable] - 1274 | double rr, gg, bb, aa; - | ^~ - ar rcs libmm_stubs.a audio_c.o image_c.o - ocamlc.opt -c -I .. ringbuffer.mli - ocamlc.opt -c -I .. ringbuffer.ml - ocamlc.opt -c -I .. IO.ml - File "IO.ml", line 71, characters 14-27: - Warning 3: deprecated: String.create - Use Bytes.create instead. - File "IO.ml", line 129, characters 12-25: - Warning 3: deprecated: String.create - Use Bytes.create instead. - File "IO.ml", line 131, characters 6-54: - Warning 3: deprecated: String.set - Use Bytes.set instead. - File "IO.ml", line 142, characters 12-25: - Warning 3: deprecated: String.create - Use Bytes.create instead. - File "IO.ml", line 144, characters 6-64: - Warning 3: deprecated: String.set - Use Bytes.set instead. - ocamlc.opt -c -I .. audio.mli - ocamlc.opt -c -I .. audio.ml - File "audio.ml", line 949, characters 15-28: - Warning 3: deprecated: String.create - Use Bytes.create instead. - ocamlc.opt -c -I .. image.mli - ocamlc.opt -c -I .. image.ml - ocamlc.opt -c -I .. video.mli - ocamlc.opt -c -I .. video.ml - ocamlc.opt -c -I .. MIDI.mli - ocamlc.opt -c -I .. MIDI.ml - File "MIDI.ml", line 101, characters 10-23: - Warning 3: deprecated: String.create - Use Bytes.create instead. - File "MIDI.ml", line 107, characters 8-39: - Warning 3: deprecated: String.set - Use Bytes.set instead. - File "MIDI.ml", line 108, characters 8-22: - Warning 3: deprecated: String.set - Use Bytes.set instead. - File "MIDI.ml", line 109, characters 8-22: - Warning 3: deprecated: String.set - Use Bytes.set instead. - File "MIDI.ml", line 111, characters 8-39: - Warning 3: deprecated: String.set - Use Bytes.set instead. - File "MIDI.ml", line 112, characters 8-22: - Warning 3: deprecated: String.set - Use Bytes.set instead. - File "MIDI.ml", line 113, characters 8-22: - Warning 3: deprecated: String.set - Use Bytes.set instead. - File "MIDI.ml", line 153, characters 51-52: - Warning 3: deprecated: Pervasives.& - Use (&&) instead. - File "MIDI.ml", line 289, characters 15-28: - Warning 3: deprecated: String.create - Use Bytes.create instead. - File "MIDI.ml", line 292, characters 14-52: - Warning 3: deprecated: String.set - Use Bytes.set instead. - ocamlc.opt -c -I .. synth.mli - ocamlc.opt -c -I .. synth.ml - ocamlmklib -I .. \ - -o mm_stubs audio_c.o image_c.o \ - - ocamlc.opt -a -dllib dllmm_stubs.so -I .. -linkall -cclib -lmm_stubs -o mm.cma ringbuffer.cmo IO.cmo audio.cmo image.cmo video.cmo MIDI.cmo synth.cmo - make[2]: Leaving directory '/home/opam/.opam/4.02/.opam-switch/build/mm.0.2.0/src' - make[2]: Entering directory '/home/opam/.opam/4.02/.opam-switch/build/mm.0.2.0/src' - ocamldep -native synth.mli > ._ncdi/synth.di - ocamldep -native MIDI.mli > ._ncdi/MIDI.di - ocamldep -native video.mli > ._ncdi/video.di - ocamldep -native image.mli > ._ncdi/image.di - ocamldep -native audio.mli > ._ncdi/audio.di - ocamldep -native ringbuffer.mli > ._ncdi/ringbuffer.di - make[2]: 'libmm_stubs.a' is up to date. - ocamlopt.opt -c -I .. ringbuffer.ml - ocamlopt.opt -c -I .. IO.ml - File "IO.ml", line 71, characters 14-27: - Warning 3: deprecated: String.create - Use Bytes.create instead. - File "IO.ml", line 129, characters 12-25: - Warning 3: deprecated: String.create - Use Bytes.create instead. - File "IO.ml", line 131, characters 6-54: - Warning 3: deprecated: String.set - Use Bytes.set instead. - File "IO.ml", line 142, characters 12-25: - Warning 3: deprecated: String.create - Use Bytes.create instead. - File "IO.ml", line 144, characters 6-64: - Warning 3: deprecated: String.set - Use Bytes.set instead. - ocamlopt.opt -c -I .. audio.ml - File "audio.ml", line 949, characters 15-28: - Warning 3: deprecated: String.create - Use Bytes.create instead. - ocamlopt.opt -c -I .. image.ml - ocamlopt.opt -c -I .. video.ml - ocamlopt.opt -c -I .. MIDI.ml - File "MIDI.ml", line 101, characters 10-23: - Warning 3: deprecated: String.create - Use Bytes.create instead. - File "MIDI.ml", line 107, characters 8-39: - Warning 3: deprecated: String.set - Use Bytes.set instead. - File "MIDI.ml", line 108, characters 8-22: - Warning 3: deprecated: String.set - Use Bytes.set instead. - File "MIDI.ml", line 109, characters 8-22: - Warning 3: deprecated: String.set - Use Bytes.set instead. - File "MIDI.ml", line 111, characters 8-39: - Warning 3: deprecated: String.set - Use Bytes.set instead. - File "MIDI.ml", line 112, characters 8-22: - Warning 3: deprecated: String.set - Use Bytes.set instead. - File "MIDI.ml", line 113, characters 8-22: - Warning 3: deprecated: String.set - Use Bytes.set instead. - File "MIDI.ml", line 153, characters 51-52: - Warning 3: deprecated: Pervasives.& - Use (&&) instead. - File "MIDI.ml", line 289, characters 15-28: - Warning 3: deprecated: String.create - Use Bytes.create instead. - File "MIDI.ml", line 292, characters 14-52: - Warning 3: deprecated: String.set - Use Bytes.set instead. - ocamlopt.opt -c -I .. synth.ml - ocamlopt.opt -a -I .. -linkall -cclib -lmm_stubs -o mm.cmxa ringbuffer.cmx IO.cmx audio.cmx image.cmx video.cmx MIDI.cmx synth.cmx - make[2]: Leaving directory '/home/opam/.opam/4.02/.opam-switch/build/mm.0.2.0/src' - make[1]: Leaving directory '/home/opam/.opam/4.02/.opam-switch/build/mm.0.2.0/src' -> compiled mm.0.2.0 Processing 6/6: [mm: make install] + /home/opam/.opam/opam-init/hooks/sandbox.sh "install" "make" "install" (CWD=/home/opam/.opam/4.02/.opam-switch/build/mm.0.2.0) - make -C src install - make[1]: Entering directory '/home/opam/.opam/4.02/.opam-switch/build/mm.0.2.0/src' - make[2]: Entering directory '/home/opam/.opam/4.02/.opam-switch/build/mm.0.2.0/src' - make[2]: 'libmm_stubs.a' is up to date. - ocamlc.opt -a -dllib dllmm_stubs.so -I .. -linkall -cclib -lmm_stubs -o mm.cma ringbuffer.cmo IO.cmo audio.cmo image.cmo video.cmo MIDI.cmo synth.cmo - make[2]: Leaving directory '/home/opam/.opam/4.02/.opam-switch/build/mm.0.2.0/src' - make[2]: Entering directory '/home/opam/.opam/4.02/.opam-switch/build/mm.0.2.0/src' - make[2]: 'libmm_stubs.a' is up to date. - make[2]: 'mm.cmxa' is up to date. - make[2]: Leaving directory '/home/opam/.opam/4.02/.opam-switch/build/mm.0.2.0/src' - - Installing library with ocamlfind - ocamlfind install mm META *.cm* *.mli *.so *.a - Installed /home/opam/.opam/4.02/lib/mm/mm.a - Installed /home/opam/.opam/4.02/lib/mm/libmm_stubs.a - Installed /home/opam/.opam/4.02/lib/mm/video.mli - Installed /home/opam/.opam/4.02/lib/mm/synth.mli - Installed /home/opam/.opam/4.02/lib/mm/ringbuffer.mli - Installed /home/opam/.opam/4.02/lib/mm/image.mli - Installed /home/opam/.opam/4.02/lib/mm/audio.mli - Installed /home/opam/.opam/4.02/lib/mm/MIDI.mli - Installed /home/opam/.opam/4.02/lib/mm/video.cmx - Installed /home/opam/.opam/4.02/lib/mm/video.cmo - Installed /home/opam/.opam/4.02/lib/mm/video.cmi - Installed /home/opam/.opam/4.02/lib/mm/synth.cmx - Installed /home/opam/.opam/4.02/lib/mm/synth.cmo - Installed /home/opam/.opam/4.02/lib/mm/synth.cmi - Installed /home/opam/.opam/4.02/lib/mm/ringbuffer.cmx - Installed /home/opam/.opam/4.02/lib/mm/ringbuffer.cmo - Installed /home/opam/.opam/4.02/lib/mm/ringbuffer.cmi - Installed /home/opam/.opam/4.02/lib/mm/mm.cmxa - Installed /home/opam/.opam/4.02/lib/mm/mm.cma - Installed /home/opam/.opam/4.02/lib/mm/image.cmx - Installed /home/opam/.opam/4.02/lib/mm/image.cmo - Installed /home/opam/.opam/4.02/lib/mm/image.cmi - Installed /home/opam/.opam/4.02/lib/mm/audio.cmx - Installed /home/opam/.opam/4.02/lib/mm/audio.cmo - Installed /home/opam/.opam/4.02/lib/mm/audio.cmi - Installed /home/opam/.opam/4.02/lib/mm/MIDI.cmx - Installed /home/opam/.opam/4.02/lib/mm/MIDI.cmo - Installed /home/opam/.opam/4.02/lib/mm/MIDI.cmi - Installed /home/opam/.opam/4.02/lib/mm/IO.cmx - Installed /home/opam/.opam/4.02/lib/mm/IO.cmo - Installed /home/opam/.opam/4.02/lib/mm/IO.cmi - Installed /home/opam/.opam/4.02/lib/stublibs/dllmm_stubs.so - Installed /home/opam/.opam/4.02/lib/stublibs/dllmm_stubs.so.owner - ocamlfind: [WARNING] You have installed DLLs but the directory /home/opam/.opam/4.02/lib/stublibs is not mentioned in ld.conf - Installed /home/opam/.opam/4.02/lib/mm/META - - Installation successful. - make[1]: Leaving directory '/home/opam/.opam/4.02/.opam-switch/build/mm.0.2.0/src' -> installed mm.0.2.0 Done. # Run eval $(opam env) to update the current shell environment 2022-10-12 20:04.51 ---> saved as "82c318069fce59691f52cfd3211f7d7165c4f6860eec7a0e144f94c57ffc2b3c" Job succeeded