(for PR #28866)
2025-11-13 23:39.42: New job: build melange.6.0.0-52, using opam dev
from https://github.com/ocaml/opam-repository.git#refs/pull/28866/head (780331e30462ca6bc8d8e82d472fe1019e01770d)
on ubuntu-24.04-ocaml-5.4/amd64
To reproduce locally:
cd $(mktemp -d)
git clone --recursive "https://github.com/ocaml/opam-repository.git" && cd "opam-repository" && git fetch origin "refs/pull/28866/head" && git reset --hard 780331e3
git fetch origin master
git merge --no-edit 48c9f6e789883c3dbb4ff03be0529c4936e40316
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:ubuntu-24.04-ocaml-5.4@sha256:56682c3c5912cf2d84f3184292407e82fc235880b2922ba5661e4db967070c2e
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 melange.6.0.0-52 6.0.0-52
RUN opam reinstall melange.6.0.0-52; \
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" != 'melange.6.0.0-52' && 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-11-13 23:39.42: Using cache hint "ocaml/opam:ubuntu-24.04-ocaml-5.4@sha256:56682c3c5912cf2d84f3184292407e82fc235880b2922ba5661e4db967070c2e-melange.6.0.0-52-780331e30462ca6bc8d8e82d472fe1019e01770d"
2025-11-13 23:39.42: Using OBuilder spec:
((from ocaml/opam:ubuntu-24.04-ocaml-5.4@sha256:56682c3c5912cf2d84f3184292407e82fc235880b2922ba5661e4db967070c2e)
(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 melange.6.0.0-52 6.0.0-52"))
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall melange.6.0.0-52;\
\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\" != 'melange.6.0.0-52' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
)
2025-11-13 23:39.42: Waiting for resource in pool OCluster
2025-11-13 23:39.42: Waiting for worker…
2025-11-13 23:39.45: Got resource from pool OCluster
Building on doris.caelum.ci.dev
All commits already cached
HEAD is now at 48c9f6e789 Merge pull request #28889 from jserot/opam-publish-rfsm.2.2
Merge made by the 'ort' strategy.
packages/melange/melange.6.0.0-414/opam | 41 +++++++++++++++++++++++++++++++++
packages/melange/melange.6.0.0-51/opam | 41 +++++++++++++++++++++++++++++++++
packages/melange/melange.6.0.0-52/opam | 41 +++++++++++++++++++++++++++++++++
packages/melange/melange.6.0.0-53/opam | 41 +++++++++++++++++++++++++++++++++
packages/melange/melange.6.0.0-54/opam | 41 +++++++++++++++++++++++++++++++++
5 files changed, 205 insertions(+)
create mode 100644 packages/melange/melange.6.0.0-414/opam
create mode 100644 packages/melange/melange.6.0.0-51/opam
create mode 100644 packages/melange/melange.6.0.0-52/opam
create mode 100644 packages/melange/melange.6.0.0-53/opam
create mode 100644 packages/melange/melange.6.0.0-54/opam
(from ocaml/opam:ubuntu-24.04-ocaml-5.4@sha256:56682c3c5912cf2d84f3184292407e82fc235880b2922ba5661e4db967070c2e)
Unable to find image 'ocaml/opam:ubuntu-24.04-ocaml-5.4@sha256:56682c3c5912cf2d84f3184292407e82fc235880b2922ba5661e4db967070c2e' locally
docker.io/ocaml/opam@sha256:56682c3c5912cf2d84f3184292407e82fc235880b2922ba5661e4db967070c2e: Pulling from ocaml/opam
946c53f269af: Pulling fs layer
fd8935a79a2b: Pulling fs layer
8f2328199b75: Pulling fs layer
d22608d8fad3: Pulling fs layer
946c53f269af: Waiting
fd8935a79a2b: Waiting
605887ba4e9a: Pulling fs layer
8f2328199b75: Waiting
d22608d8fad3: Waiting
923ecc3585ca: Pulling fs layer
605887ba4e9a: Waiting
9ae994361455: Pulling fs layer
923ecc3585ca: Waiting
9192b8392654: Pulling fs layer
9ae994361455: Waiting
fd8935a79a2b: Verifying Checksum
fd8935a79a2b: Download complete
8f2328199b75: Download complete
d22608d8fad3: Download complete
923ecc3585ca: Verifying Checksum
923ecc3585ca: Download complete
9ae994361455: Verifying Checksum
9ae994361455: Download complete
9192b8392654: Download complete
605887ba4e9a: Verifying Checksum
605887ba4e9a: Download complete
946c53f269af: Download complete
946c53f269af: Pull complete
fd8935a79a2b: Pull complete
8f2328199b75: Pull complete
d22608d8fad3: Pull complete
605887ba4e9a: Pull complete
923ecc3585ca: Pull complete
9ae994361455: Pull complete
9192b8392654: Pull complete
Digest: sha256:56682c3c5912cf2d84f3184292407e82fc235880b2922ba5661e4db967070c2e
Status: Downloaded newer image for ocaml/opam@sha256:56682c3c5912cf2d84f3184292407e82fc235880b2922ba5661e4db967070c2e
2025-11-13 23:41.33 ---> using "ee6f1d6ce22ee93aca4f99ca18dac31fa4897330e669f647678dc620eb9153fe" 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-11-13 23:41.33 ---> using "3145206f25b32b28b55daff96d533e131aba04fbfe555d6d4e48b3ab82193a7d" 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-11-13 23:41.33 ---> using "12b0632391968fc23a0de54149e6f73c4618a28adba7764c78fa20bfa19fe9ae" 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.5.0~alpha1
# self-upgrade no
# system arch=x86_64 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 255
# repositories 1 (version-controlled)
# pinned 1 (version)
# current-switch 5.4
# invariant ["ocaml-base-compiler" {>= "5.4.0"}]
# compiler-packages ocaml-base-compiler.5.4.0, ocaml-compiler.5.4.0, ocaml-options-vanilla.1
# ocaml:native true
# ocaml:native-tools true
# ocaml:native-dynlink true
# ocaml:stubsdir /home/opam/.opam/5.4/lib/ocaml/stublibs:/home/opam/.opam/5.4/lib/ocaml
# ocaml:preinstalled false
# ocaml:compiler 5.4.0
2025-11-13 23:41.33 ---> using "4fcf076d92613d46c943404a34511580a0ce9afc9372faacd1e6a14e87ab96d6" 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-11-13 23:41.33 ---> using "81ddb6a28796ca835f964e9735cf56df0542a672c886c7d0a4aa8c73690fc387" from cache
/home/opam: (copy (src .) (dst opam-repository/))
2025-11-13 23:42.32 ---> saved as "8018b3640a3668bb805d024fb88aaf7d8e4b01999f2bc9bf080533abd54d34d9"
/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2025-11-13 23:42.51 ---> saved as "0a61dfc813a6a530ec1c31b38edb856074d29274ab9a8e3705d84202efed7962"
/home/opam: (run (network host)
(shell "opam update --depexts || true"))
+ /usr/bin/sudo "apt-get" "update"
- Get:1 http://security.ubuntu.com/ubuntu noble-security InRelease [126 kB]
- Hit:2 http://archive.ubuntu.com/ubuntu noble InRelease
- Get:3 http://archive.ubuntu.com/ubuntu noble-updates InRelease [126 kB]
- Get:4 http://archive.ubuntu.com/ubuntu noble-backports InRelease [126 kB]
- Get:5 http://security.ubuntu.com/ubuntu noble-security/main amd64 Packages [1648 kB]
- Get:6 http://archive.ubuntu.com/ubuntu noble-updates/universe amd64 Packages [1940 kB]
- Get:7 http://security.ubuntu.com/ubuntu noble-security/restricted amd64 Packages [2714 kB]
- Get:8 http://archive.ubuntu.com/ubuntu noble-updates/main amd64 Packages [2007 kB]
- Get:9 http://security.ubuntu.com/ubuntu noble-security/universe amd64 Packages [1172 kB]
- Fetched 9861 kB in 1s (7763 kB/s)
- Reading package lists...
-
2025-11-13 23:42.55 ---> saved as "af80d6ab0c55204f7f2554e6480634cdb27b0d9591dec3a14578a2ef2ce86d78"
/home/opam: (run (shell "opam pin add -k version -yn melange.6.0.0-52 6.0.0-52"))
melange is now pinned to version 6.0.0-52
2025-11-13 23:42.56 ---> saved as "95c0a581ae0b9234e67c0dc139f258cb5106100085002e1c355463a53eab53f6"
/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall melange.6.0.0-52;\
\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\" != 'melange.6.0.0-52' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
melange.6.0.0-52 is not installed. Install it? [Y/n] y
* Incompatible packages:
- (invariant) -> ocaml-base-compiler >= 5.4.0
- melange = 6.0.0-52 -> ocaml < 5.3 -> dkml-base-compiler
You can temporarily relax the switch invariant with `--update-invariant'
* Incompatible packages:
- (invariant) -> ocaml-base-compiler >= 5.4.0
- melange = 6.0.0-52 -> ocaml < 5.3 -> ocaml-variants
* Missing dependency:
- melange = 6.0.0-52 -> ocaml < 5.3 -> ocaml-base-compiler (<= 3.07+1 | = 3.07+2 | = 3.08.0 | = 3.08.1 | = 3.08.2 | = 3.08.3 | = 3.08.4 | = 3.09.0) | ocaml-system (<= 3.07+1 | = 3.07+2 | >= 3.08.0) | ocaml-variants < 3.09.1~
not available because the package is pinned to version 5.4.0
unmet availability conditions, e.g. 'sys-ocaml-version = "5.4.0" & (os != "win32" | sys-ocaml-libc = "msvc")'
no matching version
* Missing dependency:
- melange = 6.0.0-52 -> ocaml < 5.3 -> ocaml-variants -> ocaml-beta
unmet availability conditions: 'enable-ocaml-beta-repository'
* Missing dependency:
- melange = 6.0.0-52 -> ocaml < 5.3 -> ocaml-variants -> system-msvc
unmet availability conditions: 'os = "win32"'
No solution found, exiting
"/usr/bin/env" "bash" "-c" "opam reinstall melange.6.0.0-52;
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" != 'melange.6.0.0-52' && 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-11-13 23:43.51: Job failed: Failed: Build failed
2025-11-13 23:43.51: Log analysis:
2025-11-13 23:43.51: >>>
No solution found, exiting
(score = 100)
2025-11-13 23:43.51: [SKIP] Package not available