2025-10-03 17:38.28: New job: test merlin.5.6-503, using opam dev
from https://github.com/ocaml/opam-repository.git#refs/pull/28649/head (0990a35124963fee68ba403bdd0f9bc146ab5b3e)
on ubuntu-24.04-ocaml-5.3/riscv64
To reproduce locally:
cd $(mktemp -d)
git clone --recursive "https://github.com/ocaml/opam-repository.git" && cd "opam-repository" && git fetch origin "refs/pull/28649/head" && git reset --hard 0990a351
git fetch origin master
git merge --no-edit 9793b870c40d53dc540f068528e57a2f1b8f1515
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:ubuntu-24.04-ocaml-5.3@sha256:8b083ccc5cbcb4af3b3128a8d74e3c549dcaf18d5a8f2d2d6a41ce2d407000a6
USER 1000:1000
WORKDIR /home/opam
RUN sudo ln -f /usr/bin/opam-dev /usr/bin/opam
RUN opam init --reinit -ni
RUN opam option solver=builtin-0install && opam config report
ENV OPAMDOWNLOADJOBS="1"
ENV OPAMERRLOGLEN="0"
ENV OPAMPRECISETRACKING="1"
ENV CI="true"
ENV OPAM_REPO_CI="true"
RUN rm -rf opam-repository/
COPY --chown=1000:1000 . opam-repository/
RUN opam repository set-url --strict default opam-repository/
RUN opam update --depexts || true
RUN opam pin add -k version -yn merlin.5.6-503 5.6-503
RUN opam reinstall merlin.5.6-503; \
res=$?; \
test "$res" != 31 && exit "$res"; \
export OPAMCLI=2.0; \
build_dir=$(opam var prefix)/.opam-switch/build; \
failed=$(ls "$build_dir"); \
partial_fails=""; \
for pkg in $failed; do \
if opam show -f x-ci-accept-failures: "$pkg" | grep -qF "\"ubuntu-24.04\""; then \
echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
fi; \
test "$pkg" != 'merlin.5.6-503' && partial_fails="$partial_fails $pkg"; \
done; \
test "${partial_fails}" != "" && echo "opam-repo-ci detected dependencies failing: ${partial_fails}"; \
exit 1
RUN (opam reinstall --with-test merlin.5.6-503) || true
RUN opam reinstall --with-test --verbose merlin.5.6-503; \
res=$?; \
test "$res" != 31 && exit "$res"; \
export OPAMCLI=2.0; \
build_dir=$(opam var prefix)/.opam-switch/build; \
failed=$(ls "$build_dir"); \
partial_fails=""; \
for pkg in $failed; do \
if opam show -f x-ci-accept-failures: "$pkg" | grep -qF "\"ubuntu-24.04\""; then \
echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
fi; \
test "$pkg" != 'merlin.5.6-503' && partial_fails="$partial_fails $pkg"; \
done; \
test "${partial_fails}" != "" && echo "opam-repo-ci detected dependencies failing: ${partial_fails}"; \
exit 1
END-OF-DOCKERFILE
docker build -f ../Dockerfile .
2025-10-03 17:38.28: Using cache hint "ocaml/opam:ubuntu-24.04-ocaml-5.3@sha256:8b083ccc5cbcb4af3b3128a8d74e3c549dcaf18d5a8f2d2d6a41ce2d407000a6-merlin.5.6-503-0990a35124963fee68ba403bdd0f9bc146ab5b3e"
2025-10-03 17:38.28: Using OBuilder spec:
((from ocaml/opam:ubuntu-24.04-ocaml-5.3@sha256:8b083ccc5cbcb4af3b3128a8d74e3c549dcaf18d5a8f2d2d6a41ce2d407000a6)
(user (uid 1000) (gid 1000))
(workdir /home/opam)
(run (shell "sudo ln -f /usr/bin/opam-dev /usr/bin/opam"))
(run (network host)
(shell "opam init --reinit --config .opamrc-sandbox -ni"))
(run (shell "opam option solver=builtin-0install && opam config report"))
(env OPAMDOWNLOADJOBS 1)
(env OPAMERRLOGLEN 0)
(env OPAMPRECISETRACKING 1)
(env CI true)
(env OPAM_REPO_CI true)
(run (shell "rm -rf opam-repository/"))
(copy (src .) (dst opam-repository/))
(run (shell "opam repository set-url --strict default opam-repository/"))
(run (network host)
(shell "opam update --depexts || true"))
(run (shell "opam pin add -k version -yn merlin.5.6-503 5.6-503"))
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall merlin.5.6-503;\
\n res=$?;\
\n test \"$res\" != 31 && exit \"$res\";\
\n export OPAMCLI=2.0;\
\n build_dir=$(opam var prefix)/.opam-switch/build;\
\n failed=$(ls \"$build_dir\");\
\n partial_fails=\"\";\
\n for pkg in $failed; do\
\n if opam show -f x-ci-accept-failures: \"$pkg\" | grep -qF \"\\\"ubuntu-24.04\\\"\"; then\
\n echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
\n fi;\
\n test \"$pkg\" != 'merlin.5.6-503' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
(run (network host)
(shell "(opam reinstall --with-test merlin.5.6-503) || true"))
(run (shell "opam reinstall --with-test --verbose merlin.5.6-503;\
\n res=$?;\
\n test \"$res\" != 31 && exit \"$res\";\
\n export OPAMCLI=2.0;\
\n build_dir=$(opam var prefix)/.opam-switch/build;\
\n failed=$(ls \"$build_dir\");\
\n partial_fails=\"\";\
\n for pkg in $failed; do\
\n if opam show -f x-ci-accept-failures: \"$pkg\" | grep -qF \"\\\"ubuntu-24.04\\\"\"; then\
\n echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
\n fi;\
\n test \"$pkg\" != 'merlin.5.6-503' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
)
2025-10-03 17:38.28: Waiting for resource in pool OCluster
2025-10-03 17:38.34: Waiting for worker…
2025-10-03 18:09.08: Got resource from pool OCluster
Building on riscv-bm-01.sw.ci.dev
All commits already cached
Updating files: 14% (2740/18420)
Updating files: 15% (2763/18420)
Updating files: 16% (2948/18420)
Updating files: 17% (3132/18420)
Updating files: 18% (3316/18420)
Updating files: 19% (3500/18420)
Updating files: 20% (3684/18420)
Updating files: 21% (3869/18420)
Updating files: 22% (4053/18420)
Updating files: 23% (4237/18420)
Updating files: 24% (4421/18420)
Updating files: 25% (4605/18420)
Updating files: 26% (4790/18420)
Updating files: 27% (4974/18420)
Updating files: 28% (5158/18420)
Updating files: 28% (5292/18420)
Updating files: 29% (5342/18420)
Updating files: 30% (5526/18420)
Updating files: 31% (5711/18420)
Updating files: 32% (5895/18420)
Updating files: 33% (6079/18420)
Updating files: 34% (6263/18420)
Updating files: 35% (6447/18420)
Updating files: 36% (6632/18420)
Updating files: 37% (6816/18420)
Updating files: 38% (7000/18420)
Updating files: 39% (7184/18420)
Updating files: 40% (7368/18420)
Updating files: 41% (7553/18420)
Updating files: 42% (7737/18420)
Updating files: 42% (7864/18420)
Updating files: 43% (7921/18420)
Updating files: 44% (8105/18420)
Updating files: 45% (8289/18420)
Updating files: 46% (8474/18420)
Updating files: 47% (8658/18420)
Updating files: 48% (8842/18420)
Updating files: 49% (9026/18420)
Updating files: 50% (9210/18420)
Updating files: 51% (9395/18420)
Updating files: 52% (9579/18420)
Updating files: 53% (9763/18420)
Updating files: 54% (9947/18420)
Updating files: 55% (10131/18420)
Updating files: 55% (10138/18420)
Updating files: 56% (10316/18420)
Updating files: 57% (10500/18420)
Updating files: 58% (10684/18420)
Updating files: 59% (10868/18420)
Updating files: 60% (11052/18420)
Updating files: 61% (11237/18420)
Updating files: 62% (11421/18420)
Updating files: 63% (11605/18420)
Updating files: 64% (11789/18420)
Updating files: 65% (11973/18420)
Updating files: 66% (12158/18420)
Updating files: 67% (12342/18420)
Updating files: 67% (12489/18420)
Updating files: 68% (12526/18420)
Updating files: 69% (12710/18420)
Updating files: 70% (12894/18420)
Updating files: 71% (13079/18420)
Updating files: 72% (13263/18420)
Updating files: 73% (13447/18420)
Updating files: 74% (13631/18420)
Updating files: 75% (13815/18420)
Updating files: 76% (14000/18420)
Updating files: 77% (14184/18420)
Updating files: 78% (14368/18420)
Updating files: 79% (14552/18420)
Updating files: 80% (14736/18420)
Updating files: 80% (14892/18420)
Updating files: 81% (14921/18420)
Updating files: 82% (15105/18420)
Updating files: 83% (15289/18420)
Updating files: 84% (15473/18420)
Updating files: 85% (15657/18420)
Updating files: 86% (15842/18420)
Updating files: 87% (16026/18420)
Updating files: 88% (16210/18420)
Updating files: 89% (16394/18420)
Updating files: 90% (16578/18420)
Updating files: 91% (16763/18420)
Updating files: 92% (16947/18420)
Updating files: 93% (17131/18420)
Updating files: 94% (17315/18420)
Updating files: 94% (17379/18420)
Updating files: 95% (17499/18420)
Updating files: 96% (17684/18420)
Updating files: 97% (17868/18420)
Updating files: 98% (18052/18420)
Updating files: 99% (18236/18420)
Updating files: 100% (18420/18420)
Updating files: 100% (18420/18420), done.
HEAD is now at 9793b870c4 Merge pull request #28604 from avsm/release-uring-v2.7.0
Updating 9793b870c4..0990a35124
Fast-forward
.../dot-merlin-reader.5.6-503/opam | 31 +++++++++
packages/jsonrpc/jsonrpc.1.23.1/opam | 50 +++++++++++++
packages/lsp/lsp.1.23.1/opam | 60 ++++++++++++++++
packages/merlin-lib/merlin-lib.5.6-503/opam | 36 ++++++++++
packages/merlin/merlin.5.6-503/opam | 81 ++++++++++++++++++++++
packages/ocaml-index/ocaml-index.5.6-503/opam | 42 +++++++++++
.../ocaml-lsp-server/ocaml-lsp-server.1.23.1/opam | 75 ++++++++++++++++++++
7 files changed, 375 insertions(+)
create mode 100644 packages/dot-merlin-reader/dot-merlin-reader.5.6-503/opam
create mode 100644 packages/jsonrpc/jsonrpc.1.23.1/opam
create mode 100644 packages/lsp/lsp.1.23.1/opam
create mode 100644 packages/merlin-lib/merlin-lib.5.6-503/opam
create mode 100644 packages/merlin/merlin.5.6-503/opam
create mode 100644 packages/ocaml-index/ocaml-index.5.6-503/opam
create mode 100644 packages/ocaml-lsp-server/ocaml-lsp-server.1.23.1/opam
(from ocaml/opam:ubuntu-24.04-ocaml-5.3@sha256:8b083ccc5cbcb4af3b3128a8d74e3c549dcaf18d5a8f2d2d6a41ce2d407000a6)
2025-10-03 18:09.17 ---> using "c758d785d7201ada002cea7d7f9a720d49841910fadbe874bd1cab99d97c52de" from cache
/: (user (uid 1000) (gid 1000))
/: (workdir /home/opam)
/home/opam: (run (shell "sudo ln -f /usr/bin/opam-dev /usr/bin/opam"))
2025-10-03 18:09.17 ---> using "6e274199b7cfaff91fee802ef69a1868ae9e79598c2fa482f3b2ca1ae339aadb" from cache
/home/opam: (run (network host)
(shell "opam init --reinit --config .opamrc-sandbox -ni"))
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.
This version of opam requires an update to the layout of /home/opam/.opam from version 2.0 to version 2.2, which can't be reverted.
You may want to back it up before going further.
Continue? [Y/n] y
Format upgrade done.
<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] Initialised
2025-10-03 18:09.17 ---> using "237da1b8468d361a6d4c4efb2a7b24c8a4df3876a6ce4d32881d95790610c07c" from cache
/home/opam: (run (shell "opam option solver=builtin-0install && opam config report"))
Set to 'builtin-0install' the field solver in global configuration
# opam config report
# opam-version 2.4.1
# self-upgrade no
# system arch=riscv64 os=linux os-distribution=ubuntu os-version=24.04
# solver builtin-0install
# install-criteria -changed,-count[avoid-version,solution]
# upgrade-criteria -count[avoid-version,solution]
# jobs 3
# repositories 1 (version-controlled)
# pinned 1 (version)
# current-switch 5.3
# invariant ["ocaml-base-compiler" {= "5.3.0"}]
# compiler-packages ocaml-base-compiler.5.3.0, ocaml-compiler.5.3.0, ocaml-options-vanilla.1
# ocaml:native true
# ocaml:native-tools true
# ocaml:native-dynlink true
# ocaml:stubsdir /home/opam/.opam/5.3/lib/ocaml/stublibs:/home/opam/.opam/5.3/lib/ocaml
# ocaml:preinstalled false
# ocaml:compiler 5.3.0
2025-10-03 18:09.17 ---> using "14c583e958f912e12fcd7d646c8a036eeca417dd2b51e45deefd263bfab5e7f6" from cache
/home/opam: (env OPAMDOWNLOADJOBS 1)
/home/opam: (env OPAMERRLOGLEN 0)
/home/opam: (env OPAMPRECISETRACKING 1)
/home/opam: (env CI true)
/home/opam: (env OPAM_REPO_CI true)
/home/opam: (run (shell "rm -rf opam-repository/"))
2025-10-03 18:09.17 ---> using "1204ae0f894b34e2f5f030807797fa637503d46325e084c5e3cab4e77ba143b4" from cache
/home/opam: (copy (src .) (dst opam-repository/))
2025-10-03 18:09.22 ---> using "53f74184b02c9a9afdaf08b4966a208f981d228d22f2737093258e55fee808fa" from cache
/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2025-10-03 18:09.22 ---> using "4f0e407a4871d141162706751bf4d8bcf601017ee69bb5e3005227176288377b" from cache
/home/opam: (run (network host)
(shell "opam update --depexts || true"))
+ /usr/bin/sudo "apt-get" "update"
- Hit:1 http://ports.ubuntu.com/ubuntu-ports noble InRelease
- Get:2 http://ports.ubuntu.com/ubuntu-ports noble-updates InRelease [126 kB]
- Get:3 http://ports.ubuntu.com/ubuntu-ports noble-backports InRelease [126 kB]
- Get:4 http://ports.ubuntu.com/ubuntu-ports noble-security InRelease [126 kB]
- Get:5 http://ports.ubuntu.com/ubuntu-ports noble-updates/universe riscv64 Packages [1443 kB]
- Get:6 http://ports.ubuntu.com/ubuntu-ports noble-updates/multiverse riscv64 Packages [4174 B]
- Get:7 http://ports.ubuntu.com/ubuntu-ports noble-updates/restricted riscv64 Packages [8176 B]
- Get:8 http://ports.ubuntu.com/ubuntu-ports noble-updates/main riscv64 Packages [847 kB]
- Get:9 http://ports.ubuntu.com/ubuntu-ports noble-backports/main riscv64 Packages [49.3 kB]
- Get:10 http://ports.ubuntu.com/ubuntu-ports noble-backports/universe riscv64 Packages [28.5 kB]
- Get:11 http://ports.ubuntu.com/ubuntu-ports noble-security/multiverse riscv64 Packages [2794 B]
- Get:12 http://ports.ubuntu.com/ubuntu-ports noble-security/restricted riscv64 Packages [5934 B]
- Get:13 http://ports.ubuntu.com/ubuntu-ports noble-security/main riscv64 Packages [520 kB]
- Get:14 http://ports.ubuntu.com/ubuntu-ports noble-security/universe riscv64 Packages [877 kB]
- Fetched 4165 kB in 2s (1726 kB/s)
- Reading package lists...
-
2025-10-03 18:09.22 ---> using "0b776e9c7b4b0f8e4627dc9a5ab4c63aca0cba0a09bf84b4e24fea4acd5c0a4e" from cache
/home/opam: (run (shell "opam pin add -k version -yn merlin.5.6-503 5.6-503"))
merlin is now pinned to version 5.6-503
2025-10-03 18:09.22 ---> using "99be04f98d94a97e957771ddaefe4066c92c353b466166499d0d2628dcaa5a70" from cache
/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall merlin.5.6-503;\
\n res=$?;\
\n test \"$res\" != 31 && exit \"$res\";\
\n export OPAMCLI=2.0;\
\n build_dir=$(opam var prefix)/.opam-switch/build;\
\n failed=$(ls \"$build_dir\");\
\n partial_fails=\"\";\
\n for pkg in $failed; do\
\n if opam show -f x-ci-accept-failures: \"$pkg\" | grep -qF \"\\\"ubuntu-24.04\\\"\"; then\
\n echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
\n fi;\
\n test \"$pkg\" != 'merlin.5.6-503' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
merlin.5.6-503 is not installed. Install it? [Y/n] y
The following actions will be performed:
=== install 8 packages
- install csexp 1.5.2 [required by merlin-lib]
- install dot-merlin-reader 5.6-503 [required by merlin]
- install dune 3.20.2 [required by merlin]
- install merlin 5.6-503 (pinned)
- install merlin-lib 5.6-503 [required by merlin]
- install ocaml-index 5.6-503
- install ocamlfind 1.9.8 [required by dot-merlin-reader]
- install yojson 3.0.0 [required by merlin]
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved csexp.1.5.2 (cached)
-> retrieved dot-merlin-reader.5.6-503, merlin.5.6-503, merlin-lib.5.6-503, ocaml-index.5.6-503 (https://github.com/ocaml/merlin/releases/download/v5.6-503/merlin-5.6-503.tbz)
-> retrieved dune.3.20.2 (cached)
-> retrieved ocamlfind.1.9.8 (cached)
-> retrieved yojson.3.0.0 (cached)
-> installed ocamlfind.1.9.8
-> installed dune.3.20.2
-> installed csexp.1.5.2
-> installed yojson.3.0.0
-> installed merlin-lib.5.6-503
-> installed dot-merlin-reader.5.6-503
-> installed ocaml-index.5.6-503
-> installed merlin.5.6-503
Done.
<><> merlin.5.6-503 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-10-03 18:09.22 ---> using "5cc9f327cc8d0b8f8895e13193514c3bc05f1785be89e7e35136f2ec854bf042" from cache
/home/opam: (run (network host)
(shell "(opam reinstall --with-test merlin.5.6-503) || true"))
The following actions will be performed:
=== recompile 1 package
- recompile merlin 5.6-503 (pinned)
=== install 6 packages
- install conf-jq 1 [required by merlin]
- install ocaml-compiler-libs v0.17.0 [required by ppxlib]
- install ppx_derivers 1.2.1 [required by ppxlib]
- install ppxlib 0.36.2 [required by merlin]
- install sexplib0 v0.17.0 [required by ppxlib]
- install stdlib-shims 0.3.0 [required by ppxlib]
The following system packages will first need to be installed:
jq
<><> Handling external dependencies <><><><><><><><><><><><><><><><><><><><><><>
opam believes some required external dependencies are missing. opam can:
> 1. Run apt-get to install them (may need root/sudo access)
2. Display the recommended apt-get command and wait while you run it manually (e.g. in another terminal)
3. Continue anyway, and, upon success, permanently register that this external dependency is present, but not detectable
4. Abort the installation
[1/2/3/4] 1
+ /usr/bin/sudo "apt-get" "install" "-qq" "-yy" "jq"
- debconf: delaying package configuration, since apt-utils is not installed
- Selecting previously unselected package libonig5:riscv64.
- (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 ... 16279 files and directories currently installed.)
- Preparing to unpack .../libonig5_6.9.9-1build1_riscv64.deb ...
- Unpacking libonig5:riscv64 (6.9.9-1build1) ...
- Selecting previously unselected package libjq1:riscv64.
- Preparing to unpack .../libjq1_1.7.1-3ubuntu0.24.04.1_riscv64.deb ...
- Unpacking libjq1:riscv64 (1.7.1-3ubuntu0.24.04.1) ...
- Selecting previously unselected package jq.
- Preparing to unpack .../jq_1.7.1-3ubuntu0.24.04.1_riscv64.deb ...
- Unpacking jq (1.7.1-3ubuntu0.24.04.1) ...
- Setting up libonig5:riscv64 (6.9.9-1build1) ...
- Setting up libjq1:riscv64 (1.7.1-3ubuntu0.24.04.1) ...
- Setting up jq (1.7.1-3ubuntu0.24.04.1) ...
- Processing triggers for libc-bin (2.39-0ubuntu8.5) ...
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> installed conf-jq.1
-> retrieved ocaml-compiler-libs.v0.17.0 (https://opam.ocaml.org/cache)
-> retrieved ppx_derivers.1.2.1 (https://opam.ocaml.org/cache)
-> retrieved ppxlib.0.36.2 (https://opam.ocaml.org/cache)
-> installed ppx_derivers.1.2.1
-> retrieved sexplib0.v0.17.0 (https://opam.ocaml.org/cache)
-> retrieved stdlib-shims.0.3.0 (https://opam.ocaml.org/cache)
-> installed stdlib-shims.0.3.0
-> installed sexplib0.v0.17.0
-> removed merlin.5.6-503
-> installed ocaml-compiler-libs.v0.17.0
-> installed ppxlib.0.36.2
-> installed merlin.5.6-503
Done.
<><> merlin.5.6-503 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-10-03 18:14.31 ---> saved as "82f40372d902f1e22d8665d0832ca9358ae3e29d3ae49b854d85023c55729314"
/home/opam: (run (shell "opam reinstall --with-test --verbose merlin.5.6-503;\
\n res=$?;\
\n test \"$res\" != 31 && exit \"$res\";\
\n export OPAMCLI=2.0;\
\n build_dir=$(opam var prefix)/.opam-switch/build;\
\n failed=$(ls \"$build_dir\");\
\n partial_fails=\"\";\
\n for pkg in $failed; do\
\n if opam show -f x-ci-accept-failures: \"$pkg\" | grep -qF \"\\\"ubuntu-24.04\\\"\"; then\
\n echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
\n fi;\
\n test \"$pkg\" != 'merlin.5.6-503' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
The following actions will be performed:
=== recompile 1 package
- recompile merlin 5.6-503 (pinned)
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
Processing 2/4: [merlin: dune build]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "build" "-p" "merlin" "-j" "3" (CWD=/home/opam/.opam/5.3/.opam-switch/build/merlin.5.6-503)
Processing 2/4: [merlin: dune runtest]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "runtest" "-p" "merlin" "-j" "3" (CWD=/home/opam/.opam/5.3/.opam-switch/build/merlin.5.6-503)
-> compiled merlin.5.6-503
-> removed merlin.5.6-503
-> installed merlin.5.6-503
Done.
<><> merlin.5.6-503 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-10-03 18:16.39 ---> saved as "44546d6d3123b84b50f1e05d4775eefaa0c908f443e8b87cca2a37dd48a525ad"
Job succeeded
2025-10-03 18:17.12: Job succeeded