Building on x86-bm-c4.sw.ocaml.org (from ocaml/opam:debian-unstable) Unable to find image 'ocaml/opam:debian-unstable' locally debian-unstable: Pulling from ocaml/opam 0edddaa103ac: Pulling fs layer 0edddaa103ac: Verifying Checksum 0edddaa103ac: Download complete 0edddaa103ac: Pull complete Digest: sha256:97e6d73dd518b0e2c0d4d9e4c6acfe110be57a8c0518b1067c0698bfc6ddc0d6 Status: Downloaded newer image for ocaml/opam:debian-unstable 2025-02-08 14:36.50 ---> using "0acd5aeaa8f7bc314514d9795d14a7f12ec72a6a5b11c5904350189734c6859b" from cache /: (user (uid 1000) (gid 1000)) /: (env OPAMPRECISETRACKING 1) /: (env OPAMUTF8 never) /: (env OPAMEXTERNALSOLVER builtin-0install) /: (env OPAMCRITERIA +removed) /: (env CI true) /: (env OPAM_HEALTH_CHECK_CI true) /: (run (shell "sudo ln -f /usr/bin/opam-dev /usr/bin/opam")) 2025-02-08 14:36.50 ---> using "40df4fa4cdfc68a5fa7a326047e82a7adc5df52b8059d4a7b745bdd50aad56e7" 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 d87296a7b656d47b7042e7e608a5fa863b3a51f9")) 2025-02-08 14:36.50 ---> using "cc1ed69ecb833da04281a4f8a25977e86e869debb3dd684deaa27a7c3be1d0d2" 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. 2025-02-08 14:36.50 ---> using "f5e09d6e59ffa701af535e5d56b82c13bc5405c8613f86e4fe31b897c2a2fd97" from cache /: (run (cache (opam-archives (target /home/opam/.opam/download-cache))) (network host) (shell "opam switch create --repositories=default '5.2' '5.2.0'")) <><> Installing new switch packages <><><><><><><><><><><><><><><><><><><><><><> Switch invariant: ["ocaml-base-compiler" {= "5.2.0"} | "ocaml-system" {= "5.2.0"}] <><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><> -> retrieved ocaml-config.3 (cached) -> installed base-bigarray.base -> installed base-threads.base -> installed base-unix.base -> installed ocaml-options-vanilla.1 -> retrieved ocaml-base-compiler.5.2.0 (cached) -> installed ocaml-base-compiler.5.2.0 -> installed ocaml-config.3 -> installed ocaml.5.2.0 -> installed base-domains.base -> installed base-nnp.base Done. # To update the current shell environment, run: eval $(opam env --switch=5.2) 2025-02-08 14:36.50 ---> using "4db4481ee0b8d125b1883947a85aa22b7993cec44a71de2e780001ff4c9f862f" from cache /: (run (network host) (shell "opam update --depexts")) + /usr/bin/sudo "apt-get" "update" - Get:1 http://deb.debian.org/debian unstable InRelease [205 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-2025-02-07-2039.17-F-2025-02-07-1431.11.pdiff [51.0 kB] - Get:3 http://deb.debian.org/debian unstable/main amd64 Packages T-2025-02-07-2039.17-F-2025-02-07-1431.11.pdiff [51.0 kB] - Fetched 320 kB in 3s (114 kB/s) - Reading package lists... - 2025-02-08 14:36.50 ---> using "d377f25847e20ef38b921b14f17a0bbfa37d7a5999c5dae923d9d66a9477f322" from cache /: (run (cache (opam-archives (target /home/opam/.opam/download-cache))) (network host) (shell "\ \nopam remove -y \"merlin.5.3-502\"\ \nopam install -vy \"merlin.5.3-502\"\ \nres=$?\ \nif [ $res = 31 ]; then\ \n if opam show -f x-ci-accept-failures: \"merlin.5.3-502\" | 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] merlin.5.3-502 is not installed. Nothing to do. The following actions will be performed: === install 9 packages - install csexp 1.5.2 [required by merlin-lib] - install dot-merlin-reader 5.3-502 [required by merlin] - install dune 3.17.2 [required by merlin] - install merlin 5.3-502 - install merlin-lib 5.3-502 [required by merlin] - install ocaml-index 1.1 - install ocamlfind 1.9.8 [required by dot-merlin-reader] - install seq base [required by yojson] - install yojson 2.2.2 [required by merlin] <><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><> Processing 1/25: [csexp.1.5.2: extract] Processing 2/25: [csexp.1.5.2: extract] [dot-merlin-reader.5.3-502 + 2 others: extract] Processing 3/25: [csexp.1.5.2: extract] [dot-merlin-reader.5.3-502 + 2 others: extract] [dune.3.17.2: extract] -> retrieved csexp.1.5.2 (cached) Processing 3/25: [dot-merlin-reader.5.3-502 + 2 others: extract] [dune.3.17.2: extract] Processing 4/25: [dot-merlin-reader.5.3-502 + 2 others: extract] [dune.3.17.2: extract] [ocaml-index.1.1: extract] -> retrieved dot-merlin-reader.5.3-502, merlin.5.3-502, merlin-lib.5.3-502 (cached) Processing 4/25: [dune.3.17.2: extract] [ocaml-index.1.1: extract] Processing 5/25: [dune.3.17.2: extract] [ocaml-index.1.1: extract] [ocamlfind.1.9.8: extract] -> retrieved dune.3.17.2 (cached) Processing 5/25: [ocaml-index.1.1: extract] [ocamlfind.1.9.8: extract] -> retrieved seq.base (cached) Processing 6/25: [ocaml-index.1.1: extract] [ocamlfind.1.9.8: extract] Processing 7/25: [ocaml-index.1.1: extract] [ocamlfind.1.9.8: extract] [yojson.2.2.2: extract] Processing 8/25: [ocaml-index.1.1: extract] [ocamlfind.1.9.8: extract] [yojson.2.2.2: extract] [dune: ocaml 31] Processing 9/25: [ocaml-index.1.1: extract] [ocamlfind.1.9.8: extract] [yojson.2.2.2: extract] [dune: ocaml 31] -> installed seq.base Processing 10/25: [ocaml-index.1.1: extract] [ocamlfind.1.9.8: extract] [yojson.2.2.2: extract] [dune: ocaml 31] -> retrieved ocaml-index.1.1 (cached) Processing 10/25: [ocamlfind.1.9.8: extract] [yojson.2.2.2: extract] [dune: ocaml 31] -> retrieved ocamlfind.1.9.8 (cached) Processing 10/25: [yojson.2.2.2: extract] [dune: ocaml 31] Processing 11/25: [yojson.2.2.2: extract] [dune: ocaml 31] [ocamlfind: ./configure] -> retrieved yojson.2.2.2 (cached) Processing 11/25: [dune: ocaml 31] [ocamlfind: ./configure] + /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "./configure" "-bindir" "/home/opam/.opam/5.2/bin" "-sitelib" "/home/opam/.opam/5.2/lib" "-mandir" "/home/opam/.opam/5.2/man" "-config" "/home/opam/.opam/5.2/lib/findlib.conf" "-no-custom" "-no-camlp4" (CWD=/home/opam/.opam/5.2/.opam-switch/build/ocamlfind.1.9.8) - Welcome to findlib version 1.9.8 - Configuring core... - Checking for #remove_directory... - Testing threading model... - systhread_supported: true - Testing DLLs... - Testing whether ppxopt can be supported... - Checking for ocamlc -opaque... - Checking for ocamlopt -g... - Configuring libraries... - unix: found (in +unix) - dynlink: found (in +dynlink) - bigarray: not present (possible since 4.08) - 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 (in +ocamldoc) - raw_spacetime: not present (normal since 4.12) - threads: found (in +threads) - str: found (in +str) - labltk: not present (normal since 4.02) - native dynlink: found - camlp4: disabled - bytes: found, installing fake library - 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/5.2/lib/ocaml - Binaries: /home/opam/.opam/5.2/bin - Manual pages: /home/opam/.opam/5.2/man - Multi-threading type: posix - The directory of site-specific packages will be - site-lib: /home/opam/.opam/5.2/lib - The configuration file is written to: - findlib config file: /home/opam/.opam/5.2/lib/findlib.conf - Software will be installed: - Libraries: in <site-lib>/findlib - Binaries: /home/opam/.opam/5.2/bin - Manual pages: /home/opam/.opam/5.2/man - topfind script: /home/opam/.opam/5.2/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 11/25: [dune: ocaml 31] [ocamlfind: make all] + /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "make" "all" (CWD=/home/opam/.opam/5.2/.opam-switch/build/ocamlfind.1.9.8) - for p in findlib; do ( cd src/$p; make all ) || exit; done - make[1]: Entering directory '/home/opam/.opam/5.2/.opam-switch/build/ocamlfind.1.9.8/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/5.2/lib/findlib.conf' | \ - ../../tools/patch '@STDLIB@' '/home/opam/.opam/5.2/lib/ocaml' | \ - ../../tools/patch '@RELATIVE_PATHS@' 'false' | \ - 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 -I +unix -I +dynlink -g -c fl_compat.ml - ocamlc -I +compiler-libs -opaque -I +unix -I +dynlink -g -c fl_split.ml - ocamlc -I +compiler-libs -opaque -I +unix -I +dynlink -g -c findlib_config.ml - ocamlc -I +compiler-libs -opaque -I +unix -I +dynlink -g -c fl_metatoken.ml - ocamlc -I +compiler-libs -opaque -I +unix -I +dynlink -g -c fl_meta.ml - ocamlc -I +compiler-libs -opaque -I +unix -I +dynlink -c fl_metascanner.mli - ocamlc -I +compiler-libs -opaque -I +unix -I +dynlink -g -c fl_metascanner.ml - ocamlc -I +compiler-libs -opaque -I +unix -I +dynlink -c fl_topo.mli - ocamlc -I +compiler-libs -opaque -I +unix -I +dynlink -g -c fl_topo.ml - ocamlc -I +compiler-libs -opaque -I +unix -I +dynlink -c fl_package_base.mli - ocamlc -I +compiler-libs -opaque -I +unix -I +dynlink -g -c fl_package_base.ml - ocamlc -I +compiler-libs -opaque -I +unix -I +dynlink -c findlib.mli - ocamlc -I +compiler-libs -opaque -I +unix -I +dynlink -g -c findlib.ml - ocamlc -I +compiler-libs -opaque -I +unix -I +dynlink -g -c fl_args.ml - ocamlc -I +compiler-libs -opaque -I +unix -I +dynlink -g -c fl_lint.ml - ocamlc -I +compiler-libs -a -o findlib.cma fl_compat.cmo fl_split.cmo findlib_config.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 -I +unix -I +dynlink -g -c ocaml_args.ml - ocamlc -I +compiler-libs -opaque -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 -opaque -I +unix -I +dynlink -c topfind.mli - ocamlc -I +compiler-libs -opaque -I +unix -I +dynlink -g -c topfind.ml - File "topfind.ml", line 128, characters 40-63: - 128 | match Hashtbl.find Toploop.directive_table "ppx" with - ^^^^^^^^^^^^^^^^^^^^^^^ - Alert deprecated: Toploop.directive_table - - File "topfind.ml", line 258, characters 4-27: - 258 | Toploop.directive_table - ^^^^^^^^^^^^^^^^^^^^^^^ - Alert deprecated: Toploop.directive_table - - File "topfind.ml", line 268, characters 4-27: - 268 | Toploop.directive_table - ^^^^^^^^^^^^^^^^^^^^^^^ - Alert deprecated: Toploop.directive_table - - File "topfind.ml", line 280, characters 4-27: - 280 | Toploop.directive_table - ^^^^^^^^^^^^^^^^^^^^^^^ - Alert deprecated: Toploop.directive_table - - File "topfind.ml", line 293, characters 4-27: - 293 | Toploop.directive_table - ^^^^^^^^^^^^^^^^^^^^^^^ - Alert deprecated: Toploop.directive_table - - File "topfind.ml", line 307, characters 4-27: - 307 | Toploop.directive_table - ^^^^^^^^^^^^^^^^^^^^^^^ - Alert deprecated: Toploop.directive_table - - File "topfind.ml", line 319, characters 4-27: - 319 | Toploop.directive_table - ^^^^^^^^^^^^^^^^^^^^^^^ - Alert deprecated: Toploop.directive_table - ocamlc -I +compiler-libs -a -o findlib_top.cma topfind.cmo - if [ "1" = "1" ]; then \ - cp topfind.in topfind.compat.in; \ - else \ - sed -e '/REMOVE_DIRECTORY_BEGIN/,/REMOVE_DIRECTORY_END/ d' topfind.in \ - > topfind.compat.in ; \ - fi - USE_CYGPATH="0"; \ - export USE_CYGPATH; \ - cat topfind.compat.in | \ - ../../tools/patch '@SITELIB@' '/home/opam/.opam/5.2/lib' | \ - ../../tools/patch '@RELATIVE_PATHS@' 'false' \ - >topfind - ocamlc -I +compiler-libs -opaque -I +unix -I +dynlink -c fl_dynload.mli - ocamlc -I +compiler-libs -opaque -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/5.2/.opam-switch/build/ocamlfind.1.9.8/src/findlib' - make all-config - make[1]: Entering directory '/home/opam/.opam/5.2/.opam-switch/build/ocamlfind.1.9.8' - if [ "false" = "true" ]; then \ - make findlib-relative; \ - else \ - make findlib-absolute; \ - fi - make[2]: Entering directory '/home/opam/.opam/5.2/.opam-switch/build/ocamlfind.1.9.8' - USE_CYGPATH="0"; \ - export USE_CYGPATH; \ - cat findlib.conf.in | \ - tools/patch '@SITELIB@' '/home/opam/.opam/5.2/lib' | \ - tools/patch '@FINDLIB_PATH@' '/home/opam/.opam/5.2/lib/ocaml:/home/opam/.opam/5.2/lib' -p >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[2]: Leaving directory '/home/opam/.opam/5.2/.opam-switch/build/ocamlfind.1.9.8' - make[1]: Leaving directory '/home/opam/.opam/5.2/.opam-switch/build/ocamlfind.1.9.8' Processing 11/25: [dune: ocaml 31] [ocamlfind: make opt] + /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "make" "opt" (CWD=/home/opam/.opam/5.2/.opam-switch/build/ocamlfind.1.9.8) - for p in findlib; do ( cd src/$p; make opt ) || exit; done - make[1]: Entering directory '/home/opam/.opam/5.2/.opam-switch/build/ocamlfind.1.9.8/src/findlib' - ocamlopt -I +compiler-libs -g -opaque -I +unix -I +dynlink -c fl_compat.ml - ocamlopt -I +compiler-libs -g -opaque -I +unix -I +dynlink -c fl_split.ml - ocamlopt -I +compiler-libs -g -opaque -I +unix -I +dynlink -c findlib_config.ml - ocamlopt -I +compiler-libs -g -opaque -I +unix -I +dynlink -c fl_metatoken.ml - ocamlopt -I +compiler-libs -g -opaque -I +unix -I +dynlink -c fl_meta.ml - ocamlopt -I +compiler-libs -g -opaque -I +unix -I +dynlink -c fl_metascanner.ml - ocamlopt -I +compiler-libs -g -opaque -I +unix -I +dynlink -c fl_topo.ml - ocamlopt -I +compiler-libs -g -opaque -I +unix -I +dynlink -c fl_package_base.ml - ocamlopt -I +compiler-libs -g -opaque -I +unix -I +dynlink -c findlib.ml - ocamlopt -I +compiler-libs -g -opaque -I +unix -I +dynlink -c fl_args.ml - ocamlopt -I +compiler-libs -g -opaque -I +unix -I +dynlink -c fl_lint.ml - ocamlopt -I +compiler-libs -g -a -o findlib.cmxa fl_compat.cmx fl_split.cmx findlib_config.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 fl_compat.cmx fl_split.cmx findlib_config.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 -I +unix -I +dynlink -c ocaml_args.ml - ocamlopt -I +compiler-libs -g -opaque -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 -opaque -I +unix -I +dynlink -c topfind.ml - File "topfind.ml", line 128, characters 40-63: - 128 | match Hashtbl.find Toploop.directive_table "ppx" with - ^^^^^^^^^^^^^^^^^^^^^^^ - Alert deprecated: Toploop.directive_table - - File "topfind.ml", line 258, characters 4-27: - 258 | Toploop.directive_table - ^^^^^^^^^^^^^^^^^^^^^^^ - Alert deprecated: Toploop.directive_table - - File "topfind.ml", line 268, characters 4-27: - 268 | Toploop.directive_table - ^^^^^^^^^^^^^^^^^^^^^^^ - Alert deprecated: Toploop.directive_table - - File "topfind.ml", line 280, characters 4-27: - 280 | Toploop.directive_table - ^^^^^^^^^^^^^^^^^^^^^^^ - Alert deprecated: Toploop.directive_table - - File "topfind.ml", line 293, characters 4-27: - 293 | Toploop.directive_table - ^^^^^^^^^^^^^^^^^^^^^^^ - Alert deprecated: Toploop.directive_table - - File "topfind.ml", line 307, characters 4-27: - 307 | Toploop.directive_table - ^^^^^^^^^^^^^^^^^^^^^^^ - Alert deprecated: Toploop.directive_table - - File "topfind.ml", line 319, characters 4-27: - 319 | Toploop.directive_table - ^^^^^^^^^^^^^^^^^^^^^^^ - Alert deprecated: Toploop.directive_table - 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 -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/5.2/.opam-switch/build/ocamlfind.1.9.8/src/findlib' -> compiled ocamlfind.1.9.8 Processing 11/25: [dune: ocaml 31] Processing 12/25: [dune: ocaml 31] [ocamlfind: make install] + /home/opam/.opam/opam-init/hooks/sandbox.sh "install" "make" "install" (CWD=/home/opam/.opam/5.2/.opam-switch/build/ocamlfind.1.9.8) - if [ "0" -eq 1 ]; then \ - for x in camlp4 dbm graphics labltk num ocamlbuild; do \ - if [ -f "/home/opam/.opam/5.2/lib/$x/META" ]; then \ - if ! grep -Fq '[distributed with Ocaml]' "//home/opam/.opam/5.2/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/5.2/bin" - install -d "/home/opam/.opam/5.2/man" - make install-config - make[1]: Entering directory '/home/opam/.opam/5.2/.opam-switch/build/ocamlfind.1.9.8' - install -d "`dirname \"/home/opam/.opam/5.2/lib/findlib.conf\"`" - test -f "/home/opam/.opam/5.2/lib/findlib.conf" || cp findlib.conf "/home/opam/.opam/5.2/lib/findlib.conf" - make[1]: Leaving directory '/home/opam/.opam/5.2/.opam-switch/build/ocamlfind.1.9.8' - for p in findlib; do ( cd src/$p; make install ); done - make[1]: Entering directory '/home/opam/.opam/5.2/.opam-switch/build/ocamlfind.1.9.8/src/findlib' - install -d "/home/opam/.opam/5.2/lib/findlib" - install -d "/home/opam/.opam/5.2/bin" - test 1 -eq 0 || install -d "/home/opam/.opam/5.2/lib/ocaml" - test 1 -eq 0 || cp topfind "/home/opam/.opam/5.2/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` && \ - cp $files "/home/opam/.opam/5.2/lib/findlib/" - f="ocamlfind"; { test -f ocamlfind_opt && f="ocamlfind_opt"; }; \ - install -c $f "/home/opam/.opam/5.2/bin/ocamlfind" - # the following "if" block is only needed for 4.00beta2 - if [ 1 -eq 0 -a -f "/home/opam/.opam/5.2/lib/ocaml/compiler-libs/topdirs.cmi" ]; then \ - cd "/home/opam/.opam/5.2/lib/ocaml/compiler-libs/"; \ - cp topdirs.cmi toploop.cmi "/home/opam/.opam/5.2/lib/findlib/"; \ - fi - make[1]: Leaving directory '/home/opam/.opam/5.2/.opam-switch/build/ocamlfind.1.9.8/src/findlib' - make install-meta - make[1]: Entering directory '/home/opam/.opam/5.2/.opam-switch/build/ocamlfind.1.9.8' - for x in bytes ; do install -d "/home/opam/.opam/5.2/lib/$x"; cp site-lib-src/$x/META "/home/opam/.opam/5.2/lib/$x/META.tmp" && mv "/home/opam/.opam/5.2/lib/$x/META.tmp" "/home/opam/.opam/5.2/lib/$x/META"; done - install -d "/home/opam/.opam/5.2/lib/findlib"; cp Makefile.packages "/home/opam/.opam/5.2/lib/findlib/Makefile.packages" - make[1]: Leaving directory '/home/opam/.opam/5.2/.opam-switch/build/ocamlfind.1.9.8' - test ! -f 'site-lib-src/num-top/META' || { cd src/findlib; make install-num-top; } - test ! -f 'site-lib-src/camlp4/META' || install -c tools/safe_camlp4 "/home/opam/.opam/5.2/bin" - make install-doc - make[1]: Entering directory '/home/opam/.opam/5.2/.opam-switch/build/ocamlfind.1.9.8' - install -d "/home/opam/.opam/5.2/man/man1" "/home/opam/.opam/5.2/man/man3" "/home/opam/.opam/5.2/man/man5" - cp doc/ref-man/ocamlfind.1 "/home/opam/.opam/5.2/man/man1" - cp: cannot stat 'doc/ref-man/ocamlfind.1': No such file or directory - make[1]: [Makefile:91: install-doc] Error 1 (ignored) - cp doc/ref-man/META.5 doc/ref-man/site-lib.5 doc/ref-man/findlib.conf.5 "/home/opam/.opam/5.2/man/man5" - cp: cannot stat 'doc/ref-man/META.5': No such file or directory - cp: cannot stat 'doc/ref-man/site-lib.5': No such file or directory - cp: cannot stat 'doc/ref-man/findlib.conf.5': No such file or directory - make[1]: [Makefile:92: install-doc] Error 1 (ignored) - make[1]: Leaving directory '/home/opam/.opam/5.2/.opam-switch/build/ocamlfind.1.9.8' -> installed ocamlfind.1.9.8 Processing 12/25: [dune: ocaml 31] + /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "ocaml" "boot/bootstrap.ml" "-j" "31" (CWD=/home/opam/.opam/5.2/.opam-switch/build/dune.3.17.2) - ocamlc -output-complete-exe -w -24 -g -o .duneboot.exe -I boot -I +unix unix.cma boot/libs.ml boot/duneboot.ml - ./.duneboot.exe -j 31 - Processing 12/25: [dune: ./_boot/dune.exe build] + /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "./_boot/dune.exe" "build" "dune.install" "--release" "--profile" "dune-bootstrap" "-j" "31" (CWD=/home/opam/.opam/5.2/.opam-switch/build/dune.3.17.2) -> compiled dune.3.17.2 -> installed dune.3.17.2 Processing 14/25: [csexp: dune build] Processing 15/25: [csexp: dune build] [yojson: dune build] + /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "build" "-p" "csexp" "-j" "31" "@install" (CWD=/home/opam/.opam/5.2/.opam-switch/build/csexp.1.5.2) - (cd _build/default && /home/opam/.opam/5.2/bin/ocamlc.opt -w -40 -g -bin-annot -bin-annot-occurrences -I src/.csexp.objs/byte -intf-suffix .ml -no-alias-deps -o src/.csexp.objs/byte/csexp.cmo -c -impl src/csexp.ml) - File "src/csexp.ml", line 236, characters 7-14: - 236 | [@@inlined always] - ^^^^^^^ - Warning 53 [misplaced-attribute]: the "inlined" attribute cannot appear in this context - (cd _build/default && /home/opam/.opam/5.2/bin/ocamlopt.opt -w -40 -g -I src/.csexp.objs/byte -I src/.csexp.objs/native -intf-suffix .ml -no-alias-deps -o src/.csexp.objs/native/csexp.cmx -c -impl src/csexp.ml) - File "src/csexp.ml", line 236, characters 7-14: - 236 | [@@inlined always] - ^^^^^^^ - Warning 53 [misplaced-attribute]: the "inlined" attribute cannot appear in this context -> compiled csexp.1.5.2 Processing 15/25: [yojson: dune build] -> installed csexp.1.5.2 Processing 16/25: [yojson: dune build] Processing 17/25: [merlin-lib: dune build] [yojson: dune build] + /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "build" "-p" "yojson" "-j" "31" "@install" (CWD=/home/opam/.opam/5.2/.opam-switch/build/yojson.2.2.2) -> compiled yojson.2.2.2 Processing 17/25: [merlin-lib: dune build] -> installed yojson.2.2.2 Processing 18/25: [merlin-lib: dune build] + /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "build" "-p" "merlin-lib" "-j" "31" (CWD=/home/opam/.opam/5.2/.opam-switch/build/merlin-lib.5.3-502) -> compiled merlin-lib.5.3-502 -> installed merlin-lib.5.3-502 Processing 20/25: [dot-merlin-reader: dune build] Processing 21/25: [dot-merlin-reader: dune build] [ocaml-index: dune build] + /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "build" "-p" "dot-merlin-reader" "-j" "31" (CWD=/home/opam/.opam/5.2/.opam-switch/build/dot-merlin-reader.5.3-502) -> compiled dot-merlin-reader.5.3-502 Processing 21/25: [ocaml-index: dune build] -> installed dot-merlin-reader.5.3-502 Processing 22/25: [ocaml-index: dune build] Processing 23/25: [merlin: dune build] [ocaml-index: dune build] + /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "build" "-p" "ocaml-index" "-j" "31" "--promote-install-files=false" "@install" (CWD=/home/opam/.opam/5.2/.opam-switch/build/ocaml-index.1.1) - (cd _build/default && /home/opam/.opam/5.2/bin/ocamlc.opt -w -40 -open Ocaml_typing -open Ocaml_parsing -open Ocaml_utils -open Merlin_utils -open Merlin_analysis -open Merlin_index_format -g -bin-annot -bin-annot-occurrences -I src/ocaml-index/lib/.lib.objs/byte -I /home/opam/.opam/5.2/lib/merlin-lib/analysis -I /home/opam/.opam/5.2/lib/merlin-lib/index_format -I /home/opam/.opam/5.2/lib/merlin-lib/ocaml_parsing -I /home/opam/.opam/5.2/lib/merlin-lib/ocaml_typing -I /home/opam/.opam/5.2/lib/merlin-lib/ocaml_utils -I /home/opam/.opam/5.2/lib/merlin-lib/utils -no-alias-deps -open Lib -o src/ocaml-index/lib/.lib.objs/byte/lib__Index.cmo -c -impl src/ocaml-index/lib/index.ml) - File "_none_", line 1: - Alert ocaml_deprecated_auto_include: - OCaml's lib directory layout changed in 5.0. The unix subdirectory has been - automatically added to the search path, but you should add -I +unix to the - command-line to silence this alert (e.g. by adding unix to the list of - libraries in your dune file, or adding use_unix to your _tags file for - ocamlbuild, or using -package unix for ocamlfind). - (cd _build/default && /home/opam/.opam/5.2/bin/ocamlopt.opt -w -40 -open Ocaml_typing -open Ocaml_parsing -open Ocaml_utils -open Merlin_utils -open Merlin_analysis -open Merlin_index_format -g -I src/ocaml-index/lib/.lib.objs/byte -I src/ocaml-index/lib/.lib.objs/native -I /home/opam/.opam/5.2/lib/merlin-lib/analysis -I /home/opam/.opam/5.2/lib/merlin-lib/index_format -I /home/opam/.opam/5.2/lib/merlin-lib/ocaml_parsing -I /home/opam/.opam/5.2/lib/merlin-lib/ocaml_typing -I /home/opam/.opam/5.2/lib/merlin-lib/ocaml_utils -I /home/opam/.opam/5.2/lib/merlin-lib/utils -intf-suffix .ml -no-alias-deps -open Lib -o src/ocaml-index/lib/.lib.objs/native/lib__Index.cmx -c -impl src/ocaml-index/lib/index.ml) - File "_none_", line 1: - Alert ocaml_deprecated_auto_include: - OCaml's lib directory layout changed in 5.0. The unix subdirectory has been - automatically added to the search path, but you should add -I +unix to the - command-line to silence this alert (e.g. by adding unix to the list of - libraries in your dune file, or adding use_unix to your _tags file for - ocamlbuild, or using -package unix for ocamlfind). Processing 23/25: [merlin: dune build] [ocaml-index: dune install] + /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "install" "-p" "ocaml-index" "--create-install-files" "ocaml-index" (CWD=/home/opam/.opam/5.2/.opam-switch/build/ocaml-index.1.1) -> compiled ocaml-index.1.1 Processing 23/25: [merlin: dune build] -> installed ocaml-index.1.1 Processing 24/25: [merlin: dune build] + /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "build" "-p" "merlin" "-j" "31" (CWD=/home/opam/.opam/5.2/.opam-switch/build/merlin.5.3-502) -> compiled merlin.5.3-502 -> installed merlin.5.3-502 Done. <><> merlin.5.3-502 installed successfully ><><><><><><><><><><><><><><><><><><> => merlin installed. Quick setup for VIM ------------------- Append this to your .vimrc to add merlin to vim's runtime-path: let g:opamshare = substitute(system('opam var share'),'\n$','','''') execute "set rtp+=" . g:opamshare . "/merlin/vim" Also run the following line in vim to index the documentation: :execute "helptags " . g:opamshare . "/merlin/vim/doc" Quick setup for EMACS ------------------- Add opam emacs directory to your load-path by appending this to your .emacs: (let ((opam-share (ignore-errors (car (process-lines "opam" "var" "share"))))) (when (and opam-share (file-directory-p opam-share)) ;; Register Merlin (add-to-list 'load-path (expand-file-name "emacs/site-lisp" opam-share)) (autoload 'merlin-mode "merlin" nil t nil) ;; Automatically start it in OCaml buffers (add-hook 'tuareg-mode-hook 'merlin-mode t) (add-hook 'caml-mode-hook 'merlin-mode t) ;; Use opam switch to lookup ocamlmerlin binary (setq merlin-command 'opam) ;; To easily change opam switches within a given Emacs session, you can ;; install the minor mode https://github.com/ProofGeneral/opam-switch-mode ;; and use one of its "OPSW" menus. )) Take a look at https://github.com/ocaml/merlin for more information Quick setup with opam-user-setup -------------------------------- Opam-user-setup support Merlin. $ opam user-setup install should take care of basic setup. See https://github.com/OCamlPro/opam-user-setup # To update the current shell environment, run: eval $(opam env) 2025-02-08 14:38.17 ---> saved as "5cdb8d477145c63e8fe28b297de4ef5e691a4f8dc24f4383b2425d7320d4f549" Job succeeded