- github
- ocaml
- opam-repository
- 464f84
- extras,x86_32-ocaml-5.3,ocaml-lsp-server.1.22.1~5.4preview
(not at the head of any monitored branch or PR)
2025-06-10 14:55.46: New job: build ocaml-lsp-server.1.22.1~5.4preview, using opam 2.3
from https://github.com/ocaml/opam-repository.git#refs/pull/28010/head (464f8443fe27e86023cd30e6af8b9b202dc388d3)
on debian-12-ocaml-5.3/i386
To reproduce locally:
cd $(mktemp -d)
git clone --recursive "https://github.com/ocaml/opam-repository.git" && cd "opam-repository" && git fetch origin "refs/pull/28010/head" && git reset --hard 464f8443
git fetch origin master
git merge --no-edit 6db96b377f993aa0c7ffb5c06737929e583f3305
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-12-ocaml-5.3@sha256:7d5f73919df4824da18b0e4f040a24e9fcbfe1243e60ed476af13328f84b6ff0
SHELL [ "/usr/bin/linux32", "/bin/sh", "-c" ]
USER 1000:1000
WORKDIR /home/opam
RUN sudo ln -f /usr/bin/opam-2.3 /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 ocaml-lsp-server.1.22.1~5.4preview 1.22.1~5.4preview
RUN opam reinstall ocaml-lsp-server.1.22.1~5.4preview; \
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 "\"debian-12\""; then \
echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
fi; \
test "$pkg" != 'ocaml-lsp-server.1.22.1~5.4preview' && 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-06-10 14:55.46: Using cache hint "ocaml/opam:debian-12-ocaml-5.3@sha256:7d5f73919df4824da18b0e4f040a24e9fcbfe1243e60ed476af13328f84b6ff0-ocaml-lsp-server.1.22.1~5.4preview-464f8443fe27e86023cd30e6af8b9b202dc388d3"
2025-06-10 14:55.46: Using OBuilder spec:
((from ocaml/opam:debian-12-ocaml-5.3@sha256:7d5f73919df4824da18b0e4f040a24e9fcbfe1243e60ed476af13328f84b6ff0)
(shell /usr/bin/linux32 /bin/sh -c)
(user (uid 1000) (gid 1000))
(workdir /home/opam)
(run (shell "sudo ln -f /usr/bin/opam-2.3 /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 ocaml-lsp-server.1.22.1~5.4preview 1.22.1~5.4preview"))
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall ocaml-lsp-server.1.22.1~5.4preview;\
\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 \"\\\"debian-12\\\"\"; then\
\n echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
\n fi;\
\n test \"$pkg\" != 'ocaml-lsp-server.1.22.1~5.4preview' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
)
2025-06-10 14:55.46: Waiting for resource in pool OCluster
2025-06-10 14:55.46: Waiting for worker…
2025-06-10 14:55.48: Got resource from pool OCluster
Building on laodoke.caelum.ci.dev
All commits already cached
Updating files: 98% (22825/23220)
Updating files: 99% (22988/23220)
Updating files: 100% (23220/23220)
Updating files: 100% (23220/23220), done.
HEAD is now at 6db96b377f Merge pull request #28003 from punchagan/opam-publish-opam-ci-check-lint.0.1
Updating 6db96b377f..464f8443fe
Fast-forward
packages/ocaml-lsp-server/ocaml-lsp-server.1.22.1~5.4preview/opam | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
(from ocaml/opam:debian-12-ocaml-5.3@sha256:7d5f73919df4824da18b0e4f040a24e9fcbfe1243e60ed476af13328f84b6ff0)
2025-06-10 14:56.47 ---> using "9b12666d6d2a46f7ba71584c035de7dd74846fb21c74e89b901545c4a4373a80" from cache
/: (shell /usr/bin/linux32 /bin/sh -c)
/: (user (uid 1000) (gid 1000))
/: (workdir /home/opam)
/home/opam: (run (shell "sudo ln -f /usr/bin/opam-2.3 /usr/bin/opam"))
2025-06-10 14:56.47 ---> using "14c77595e03d73750365955ce7778da91f064692ae6bcb6d7ff9dbbaa0e9311f" 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 development 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-06-10 14:56.47 ---> using "2a5577cd1a27c77309ab0ef57f76b237d4fafb248db21165b38adefe8b400a5f" 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.3.0 (35acd0c5abc5e66cdbd5be16ba77aa6c33a4c724)
# self-upgrade no
# system arch=x86_32 os=linux os-distribution=debian os-version=12
# solver builtin-0install
# install-criteria -changed,-count[avoid-version,solution]
# upgrade-criteria -count[avoid-version,solution]
# jobs 71
# 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-option-bytecode-only.1, ocaml-options-vanilla.1
# ocaml:native false
# ocaml:native-tools false
# ocaml:native-dynlink false
# 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+bytecode-only
2025-06-10 14:56.47 ---> using "f08806b12fb9d7a013c86cb05a11c088348a420428dcec51141ba7058635b88e" 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-06-10 14:56.47 ---> using "74d0b9156cb4e80bcd0c8cf2b1084162cbf4fbc1a0f47da54de085f19afe7c54" from cache
/home/opam: (copy (src .) (dst opam-repository/))
2025-06-10 14:56.57 ---> saved as "b745ed5d1752e0778061884e2f793243cb32f816d0799991fbe4b6ce3472baa4"
/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2025-06-10 14:57.34 ---> saved as "82cb67f11eddbb2026e1cc179f7fb0818fc3d00c333af1444c3715639ffeff09"
/home/opam: (run (network host)
(shell "opam update --depexts || true"))
+ /usr/bin/sudo "apt-get" "update"
- Hit:1 http://deb.debian.org/debian bookworm InRelease
- Get:2 http://deb.debian.org/debian bookworm-updates InRelease [55.4 kB]
- Get:3 http://deb.debian.org/debian-security bookworm-security InRelease [48.0 kB]
- Get:4 http://deb.debian.org/debian-security bookworm-security/main i386 Packages [259 kB]
- Fetched 362 kB in 0s (817 kB/s)
- Reading package lists...
-
2025-06-10 14:57.36 ---> saved as "685b778837d7c543a22b4736ba2e5cd38f0ddebad4da1cb1b3e73a878bf07ae6"
/home/opam: (run (shell "opam pin add -k version -yn ocaml-lsp-server.1.22.1~5.4preview 1.22.1~5.4preview"))
ocaml-lsp-server is now pinned to version 1.22.1~5.4preview
2025-06-10 14:57.37 ---> saved as "0b30b9adac25ac48093dd5e0013dd90549261526e9c6e0d20e80cb9c30b3da7f"
/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall ocaml-lsp-server.1.22.1~5.4preview;\
\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 \"\\\"debian-12\\\"\"; then\
\n echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
\n fi;\
\n test \"$pkg\" != 'ocaml-lsp-server.1.22.1~5.4preview' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
ocaml-lsp-server.1.22.1~5.4preview is not installed. Install it? [y/n] y
* Incompatible packages:
- (invariant) -> ocaml-base-compiler = 5.3.0
- ocaml-lsp-server >= 1.22.1~5.4preview -> ocaml >= 5.4 -> ocaml-variants < 5.5.1~
You can temporarily relax the switch invariant with `--update-invariant'
* Missing dependency:
- ocaml-lsp-server >= 1.22.1~5.4preview -> ocaml >= 5.4 -> ocaml-variants < 5.5.1~ -> xenbigarray
unknown package
* Missing dependency:
- ocaml-lsp-server >= 1.22.1~5.4preview -> ocaml >= 5.4 -> ocaml-variants < 5.5.1~ -> ocaml-beta
unmet availability conditions: 'enable-ocaml-beta-repository'
* Missing dependency:
- ocaml-lsp-server >= 1.22.1~5.4preview -> ocaml >= 5.4 -> ocaml-variants < 5.5.1~ -> system-msvc
unmet availability conditions: 'os = "win32"'
No solution found, exiting
"/usr/bin/linux32" "/bin/sh" "-c" "opam reinstall ocaml-lsp-server.1.22.1~5.4preview;
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 "\"debian-12\""; then
echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.";
fi;
test "$pkg" != 'ocaml-lsp-server.1.22.1~5.4preview' && partial_fails="$partial_fails $pkg";
done;
test "${partial_fails}" != "" && echo "opam-repo-ci detected dependencies failing: ${partial_fails}";
exit 1" failed with exit status 20
2025-06-10 14:57.53: Job failed: Failed: Build failed
2025-06-10 14:57.53: Log analysis:
2025-06-10 14:57.53: >>>
No solution found, exiting
(score = 100)
2025-06-10 14:57.53: [SKIP] Package not available