Build:
- 0
2026-02-20 10:14.18: New job: build mhttp.0.0.1, using opam 2.4
from https://github.com/ocaml/opam-repository.git#refs/pull/29441/head (03a32901138b2da17acfb262503ab5e0755499b8)
on debian-13-ocaml-4.14/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/29441/head" && git reset --hard 03a32901
git fetch origin master
git merge --no-edit d18d14011e4188f5c398421e2e99b297dd8150fb
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-13-ocaml-4.14@sha256:04864ce35c9a53a8f91e1b6ddfe19ff405f2881ec1201cdca698239b3b811633
USER 1000:1000
WORKDIR /home/opam
RUN sudo ln -f /usr/bin/opam-2.4 /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 mhttp.0.0.1 0.0.1
RUN opam reinstall mhttp.0.0.1; \
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-13\""; then \
echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
fi; \
test "$pkg" != 'mhttp.0.0.1' && 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 .
2026-02-20 10:14.18: Using cache hint "ocaml/opam:debian-13-ocaml-4.14@sha256:04864ce35c9a53a8f91e1b6ddfe19ff405f2881ec1201cdca698239b3b811633-mhttp.0.0.1-03a32901138b2da17acfb262503ab5e0755499b8"
2026-02-20 10:14.18: Using OBuilder spec:
((from ocaml/opam:debian-13-ocaml-4.14@sha256:04864ce35c9a53a8f91e1b6ddfe19ff405f2881ec1201cdca698239b3b811633)
(user (uid 1000) (gid 1000))
(workdir /home/opam)
(run (shell "sudo ln -f /usr/bin/opam-2.4 /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 mhttp.0.0.1 0.0.1"))
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall mhttp.0.0.1;\
\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-13\\\"\"; then\
\n echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
\n fi;\
\n test \"$pkg\" != 'mhttp.0.0.1' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
)
2026-02-20 10:14.18: Waiting for resource in pool OCluster
2026-02-20 10:17.34: Waiting for worker…
2026-02-20 10:24.29: Got resource from pool OCluster
Building on toxis.caelum.ci.dev
All commits already cached
Updating files: 85% (15677/18292)
Updating files: 86% (15732/18292)
Updating files: 87% (15915/18292)
Updating files: 88% (16097/18292)
Updating files: 89% (16280/18292)
Updating files: 90% (16463/18292)
Updating files: 91% (16646/18292)
Updating files: 92% (16829/18292)
Updating files: 93% (17012/18292)
Updating files: 94% (17195/18292)
Updating files: 95% (17378/18292)
Updating files: 96% (17561/18292)
Updating files: 97% (17744/18292)
Updating files: 98% (17927/18292)
Updating files: 99% (18110/18292)
Updating files: 100% (18292/18292)
Updating files: 100% (18292/18292), done.
HEAD is now at d18d14011e Merge pull request #29430 from hannesm/release-ipaddr-v5.6.2
Merge made by the 'ort' strategy.
packages/mhttp-client/mhttp-client.0.0.1/opam | 30 +++++++++++++++++++++++++
packages/mhttp-server/mhttp-server.0.0.1/opam | 30 +++++++++++++++++++++++++
packages/mhttp/mhttp.0.0.1/opam | 32 +++++++++++++++++++++++++++
3 files changed, 92 insertions(+)
create mode 100644 packages/mhttp-client/mhttp-client.0.0.1/opam
create mode 100644 packages/mhttp-server/mhttp-server.0.0.1/opam
create mode 100644 packages/mhttp/mhttp.0.0.1/opam
(from ocaml/opam:debian-13-ocaml-4.14@sha256:04864ce35c9a53a8f91e1b6ddfe19ff405f2881ec1201cdca698239b3b811633)
Unable to find image 'ocaml/opam:debian-13-ocaml-4.14@sha256:04864ce35c9a53a8f91e1b6ddfe19ff405f2881ec1201cdca698239b3b811633' locally
docker.io/ocaml/opam@sha256:04864ce35c9a53a8f91e1b6ddfe19ff405f2881ec1201cdca698239b3b811633: Pulling from ocaml/opam
ef235bf1a09a: Already exists
58b06b604a42: Already exists
b55f23c32d5a: Already exists
aa415425edb7: Already exists
c4f39ed7469c: Already exists
ca248a2fdd5e: Already exists
74109c509b2f: Already exists
18c2fa2271cb: Already exists
37d4d41661a2: Already exists
0b2f35f78814: Already exists
e65f29522a9a: Already exists
603a51b67573: Already exists
89b2faa02f16: Already exists
e5f11471afd4: Already exists
d7b0e5daa224: Already exists
7bec4d50f3b2: Already exists
d3a70ed71f1c: Already exists
90de03d9b27a: Already exists
a28f685cf2db: Already exists
5bb5e02041c7: Already exists
74f9af816199: Already exists
74c2f6cb4138: Already exists
4f4fb700ef54: Already exists
5ce9bdcb2952: Already exists
bf18c14e9b34: Already exists
bb4b67501479: Already exists
89e7ed0468f5: Already exists
640077527026: Already exists
363b481ff012: Already exists
437bd8bc3ce9: Already exists
2bcf3429833a: Already exists
3e5fe21454e9: Already exists
f3afb11ae499: Already exists
c3a5b88f5e5f: Already exists
124a1dc355b1: Already exists
0a9982d37abd: Already exists
9b8b724665ed: Already exists
f81507befe71: Already exists
7984e4546bf9: Already exists
3579b890ab6e: Already exists
e83772930ba8: Already exists
01bb609bb248: Pulling fs layer
7597cc56d4df: Pulling fs layer
9dbeadd31c61: Pulling fs layer
f436be41184a: Pulling fs layer
f436be41184a: Waiting
9dbeadd31c61: Verifying Checksum
9dbeadd31c61: Download complete
7597cc56d4df: Verifying Checksum
7597cc56d4df: Download complete
f436be41184a: Download complete
01bb609bb248: Verifying Checksum
01bb609bb248: Download complete
01bb609bb248: Pull complete
7597cc56d4df: Pull complete
9dbeadd31c61: Pull complete
f436be41184a: Pull complete
Digest: sha256:04864ce35c9a53a8f91e1b6ddfe19ff405f2881ec1201cdca698239b3b811633
Status: Downloaded newer image for ocaml/opam@sha256:04864ce35c9a53a8f91e1b6ddfe19ff405f2881ec1201cdca698239b3b811633
2026-02-20 10:24.52 ---> using "d6079ab6cce1b58b34ac9b5ed11aa86b7980ab728c75f5a6ba9271e98dc1ac1c" from cache
/: (user (uid 1000) (gid 1000))
/: (workdir /home/opam)
/home/opam: (run (shell "sudo ln -f /usr/bin/opam-2.4 /usr/bin/opam"))
2026-02-20 10:24.52 ---> using "f0293294dc70afd5276317902ac0c2e539864e21d790af718808622c293a18a1" 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
2026-02-20 10:24.52 ---> using "36c949637287a52c87729fd3d41d8c27355e4c5d513a28a95b4249408dc662e5" 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=x86_64 os=linux os-distribution=debian os-version=13
# 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 4.14
# invariant ["ocaml-base-compiler" {= "4.14.2"}]
# compiler-packages ocaml-base-compiler.4.14.2, ocaml-options-vanilla.1
# ocaml:native true
# ocaml:native-tools true
# ocaml:native-dynlink true
# ocaml:stubsdir /home/opam/.opam/4.14/lib/ocaml/stublibs:/home/opam/.opam/4.14/lib/ocaml
# ocaml:preinstalled false
# ocaml:compiler 4.14.2
2026-02-20 10:24.52 ---> using "b1f281fa48a5e965080f8a6c8db30244b54d93349f361759ad0c9c4bb636c617" 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/"))
2026-02-20 10:24.52 ---> using "71e82ad91b830de25f6f7954583adf6cbeca9a18507594e7d5611e05941a823d" from cache
/home/opam: (copy (src .) (dst opam-repository/))
2026-02-20 10:25.09 ---> saved as "ab1cf88655beb83bf8ea960c6f52041fcd9c49ab330d680edfa70cf7002a1b27"
/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2026-02-20 10:25.37 ---> saved as "5f1608af6536d91e965609d574e026fa84ea0dfb3482fee920d9a3d5c6494a54"
/home/opam: (run (network host)
(shell "opam update --depexts || true"))
+ /usr/bin/sudo "apt-get" "update"
- Hit:1 http://deb.debian.org/debian trixie InRelease
- Get:2 http://deb.debian.org/debian trixie-updates InRelease [47.3 kB]
- Get:3 http://deb.debian.org/debian-security trixie-security InRelease [43.4 kB]
- Get:4 http://deb.debian.org/debian-security trixie-security/main amd64 Packages [112 kB]
- Fetched 203 kB in 0s (1452 kB/s)
- Reading package lists...
-
2026-02-20 10:25.39 ---> saved as "e952be951345e57c60f7dcc71ad804522e9a5239a64c943de92e359340f1b076"
/home/opam: (run (shell "opam pin add -k version -yn mhttp.0.0.1 0.0.1"))
mhttp is now pinned to version 0.0.1
2026-02-20 10:25.40 ---> saved as "cf9da008d75c8226e712c29471f34c3326aedaff67ba3dbe9cb605652ca9a869"
/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall mhttp.0.0.1;\
\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-13\\\"\"; then\
\n echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
\n fi;\
\n test \"$pkg\" != 'mhttp.0.0.1' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
mhttp.0.0.1 is not installed. Install it? [Y/n] y
* No agreement on the version of ocaml:
- (invariant) -> ocaml-base-compiler = 4.14.2 -> ocaml = 4.14.2
- mhttp -> ocaml >= 5.0.0
You can temporarily relax the switch invariant with `--update-invariant'
No solution found, exiting
"/usr/bin/env" "bash" "-c" "opam reinstall mhttp.0.0.1;
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-13\""; then
echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.";
fi;
test "$pkg" != 'mhttp.0.0.1' && 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
2026-02-20 10:26.18: Job failed: Failed: Build failed
2026-02-20 10:26.18: Log analysis:
2026-02-20 10:26.18: >>>
No solution found, exiting
(score = 100)
2026-02-20 10:26.18: [SKIP] Package not available