- github
- ocaml
- opam-repository
- f828de
- distributions,debian-unstable-ocaml-5.4,melange-webapi.0.22.0
(not at the head of any monitored branch or PR)
2025-12-07 04:45.44: New job: build melange-webapi.0.22.0, using opam dev
from https://github.com/ocaml/opam-repository.git#refs/pull/29028/head (f828de796bae00cbe533570bec03dc60720a9bd9)
on debian-unstable-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/29028/head" && git reset --hard f828de79
git fetch origin master
git merge --no-edit 2ab7464b16d46be89975bea0595240dd3fccf608
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-unstable-ocaml-5.4@sha256:d21e60b8de0221dbdfc7f3467f4b7e7cf190dbf00a875fc34e35c01f0a5aeb0f
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-webapi.0.22.0 0.22.0
RUN opam reinstall melange-webapi.0.22.0; \
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-unstable\""; then \
echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
fi; \
test "$pkg" != 'melange-webapi.0.22.0' && 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-12-07 04:45.44: Using cache hint "ocaml/opam:debian-unstable-ocaml-5.4@sha256:d21e60b8de0221dbdfc7f3467f4b7e7cf190dbf00a875fc34e35c01f0a5aeb0f-melange-webapi.0.22.0-f828de796bae00cbe533570bec03dc60720a9bd9"
2025-12-07 04:45.44: Using OBuilder spec:
((from ocaml/opam:debian-unstable-ocaml-5.4@sha256:d21e60b8de0221dbdfc7f3467f4b7e7cf190dbf00a875fc34e35c01f0a5aeb0f)
(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-webapi.0.22.0 0.22.0"))
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall melange-webapi.0.22.0;\
\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-unstable\\\"\"; 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-webapi.0.22.0' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
)
2025-12-07 04:45.44: Waiting for resource in pool OCluster
2025-12-07 04:45.45: Waiting for worker…
2025-12-07 04:45.45: Got resource from pool OCluster
Building on asteria.caelum.ci.dev
All commits already cached
HEAD is now at 2ab7464b16 Merge pull request #29022 from thatportugueseguy/release-passage-0.3.1
Updating 2ab7464b16..f828de796b
Fast-forward
packages/melange-webapi/melange-webapi.0.22.0/opam | 44 ++++++++++++++++++++++
1 file changed, 44 insertions(+)
create mode 100644 packages/melange-webapi/melange-webapi.0.22.0/opam
(from ocaml/opam:debian-unstable-ocaml-5.4@sha256:d21e60b8de0221dbdfc7f3467f4b7e7cf190dbf00a875fc34e35c01f0a5aeb0f)
2025-12-07 04:46.51 ---> saved as "339c4742f6d76ae10ce6bee63ca6ed2c016bcb785925482350778b3b453690bc"
/: (user (uid 1000) (gid 1000))
/: (workdir /home/opam)
/home/opam: (run (shell "sudo ln -f /usr/bin/opam-dev /usr/bin/opam"))
2025-12-07 04:46.51 ---> saved as "5a615c292dac836d0357bfb55b91cde7561823bd5f248ce98dc6991992446f2f"
/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-12-07 04:47.13 ---> saved as "7b139d3c9db88206ca67dde47b28274b007ba60ebacd6a7e2621343cdeb2671e"
/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
# self-upgrade no
# system arch=x86_64 os=linux os-distribution=debian os-version=unknown
# 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-12-07 04:47.14 ---> saved as "6588cd234613eb085ceb3e20ef42f594d7f842c44a3e2019568040ae10767357"
/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-12-07 04:47.29 ---> saved as "802fe900aea3b651e61baa00a4240147a1bc3781ddceb32fc690e37d3e0ac159"
/home/opam: (copy (src .) (dst opam-repository/))
2025-12-07 04:47.40 ---> saved as "00ee0fc53a1668c02fc6ab57fa9c6a71fbfcc7d9cc27ee2790c6c5c51234d73d"
/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2025-12-07 04:47.58 ---> saved as "e25367de8ef09891b3f2108349a94d34fb2ba5eac355c7c2ae73a5aeb21cfb45"
/home/opam: (run (network host)
(shell "opam update --depexts || true"))
+ /usr/bin/sudo "apt-get" "update"
- Get:1 http://deb.debian.org/debian unstable InRelease [176 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-12-07-0204.03-F-2025-11-29-0805.42.pdiff [830 kB]
- Get:3 http://deb.debian.org/debian unstable/main amd64 Packages T-2025-12-07-0204.03-F-2025-11-29-0805.42.pdiff [830 kB]
- Fetched 1070 kB in 1s (745 kB/s)
- Reading package lists...
-
2025-12-07 04:48.00 ---> saved as "aa44700958e05c6c4e8215e9f35ec4e52a94213e54ec85cd21ab0c3172784989"
/home/opam: (run (shell "opam pin add -k version -yn melange-webapi.0.22.0 0.22.0"))
melange-webapi is now pinned to version 0.22.0
2025-12-07 04:48.01 ---> saved as "bcb3c016f5d6c9d5fd7846ff21960387d6b97f38f8ee4d01d1a6e19ad2bb44bd"
/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall melange-webapi.0.22.0;\
\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-unstable\\\"\"; 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-webapi.0.22.0' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
melange-webapi.0.22.0 is not installed. Install it? [Y/n] y
* Incompatible packages:
- (invariant) -> ocaml-base-compiler >= 5.4.0
- melange-webapi >= 0.22.0 -> melange >= 5.0.0 -> ocaml < 5.2 -> dkml-base-compiler
You can temporarily relax the switch invariant with `--update-invariant'
* Incompatible packages:
- (invariant) -> ocaml-base-compiler >= 5.4.0
- melange-webapi >= 0.22.0 -> melange >= 5.0.0 -> ocaml < 5.2 -> ocaml-variants
* Missing dependency:
- melange-webapi >= 0.22.0 -> melange >= 5.0.0 -> ocaml < 5.2 -> 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-webapi >= 0.22.0 -> melange >= 5.0.0 -> ocaml < 5.2 -> ocaml-variants -> ocaml-beta
unmet availability conditions: 'enable-ocaml-beta-repository'
* Missing dependency:
- melange-webapi >= 0.22.0 -> melange >= 5.0.0 -> ocaml < 5.2 -> ocaml-variants -> system-msvc
unmet availability conditions: 'os = "win32"'
No solution found, exiting
"/usr/bin/env" "bash" "-c" "opam reinstall melange-webapi.0.22.0;
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-unstable\""; then
echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.";
fi;
test "$pkg" != 'melange-webapi.0.22.0' && 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-12-07 04:48.16: Job failed: Failed: Build failed
2025-12-07 04:48.16: Log analysis:
2025-12-07 04:48.16: >>>
No solution found, exiting
(score = 100)
2025-12-07 04:48.16: [SKIP] Package not available