(for PR #29367)
2026-02-10 16:19.32: New job: build multipart_form.0.8.0, using opam 2.0
from https://github.com/ocaml/opam-repository.git#refs/pull/29367/head (41132ad3bb08c1323eb53af67d50a84e89be1763)
on debian-13-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/29367/head" && git reset --hard 41132ad3
git fetch origin master
git merge --no-edit 6a35634d6446e6151b438792d64cc32db88a1a2e
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-13-ocaml-5.4@sha256:4add1601135529e9f2e403a25c1c640231c0e871e87f88cf8feab4be5095104c
USER 1000:1000
WORKDIR /home/opam
RUN sudo ln -f /usr/bin/opam-2.0 /usr/bin/opam
RUN opam init --reinit -ni
RUN 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 depext -u || true
RUN opam pin add -k version -yn multipart_form.0.8.0 0.8.0
RUN opam depext multipart_form.0.8.0 && opam reinstall multipart_form.0.8.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-13\""; then \
echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
fi; \
test "$pkg" != 'multipart_form.0.8.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 .
2026-02-10 16:19.32: Using cache hint "ocaml/opam:debian-13-ocaml-5.4@sha256:4add1601135529e9f2e403a25c1c640231c0e871e87f88cf8feab4be5095104c-multipart_form.0.8.0-41132ad3bb08c1323eb53af67d50a84e89be1763"
2026-02-10 16:19.32: Using OBuilder spec:
((from ocaml/opam:debian-13-ocaml-5.4@sha256:4add1601135529e9f2e403a25c1c640231c0e871e87f88cf8feab4be5095104c)
(user (uid 1000) (gid 1000))
(workdir /home/opam)
(run (shell "sudo ln -f /usr/bin/opam-2.0 /usr/bin/opam"))
(run (network host)
(shell "opam init --reinit --config .opamrc-sandbox -ni"))
(run (shell "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 depext -u || true"))
(run (shell "opam pin add -k version -yn multipart_form.0.8.0 0.8.0"))
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam depext multipart_form.0.8.0 && opam reinstall multipart_form.0.8.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-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\" != 'multipart_form.0.8.0' && 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-10 16:19.32: Waiting for resource in pool OCluster
2026-02-10 19:13.36: Waiting for worker…
2026-02-10 19:16.41: Got resource from pool OCluster
Building on asteria.caelum.ci.dev
All commits already cached
HEAD is now at 6a35634d64 Merge pull request #29363 from hannesm/maint-none-feb-2026
Merge made by the 'ort' strategy.
.../multipart_form-cohttp-lwt.0.8.0/opam | 29 ++++++++++++++
.../multipart_form-eio.0.8.0/opam | 42 +++++++++++++++++++++
.../multipart_form-lwt.0.8.0/opam | 42 +++++++++++++++++++++
.../multipart_form-miou.0.8.0/opam | 42 +++++++++++++++++++++
packages/multipart_form/multipart_form.0.8.0/opam | 44 ++++++++++++++++++++++
5 files changed, 199 insertions(+)
create mode 100644 packages/multipart_form-cohttp-lwt/multipart_form-cohttp-lwt.0.8.0/opam
create mode 100644 packages/multipart_form-eio/multipart_form-eio.0.8.0/opam
create mode 100644 packages/multipart_form-lwt/multipart_form-lwt.0.8.0/opam
create mode 100644 packages/multipart_form-miou/multipart_form-miou.0.8.0/opam
create mode 100644 packages/multipart_form/multipart_form.0.8.0/opam
(from ocaml/opam:debian-13-ocaml-5.4@sha256:4add1601135529e9f2e403a25c1c640231c0e871e87f88cf8feab4be5095104c)
2026-02-10 19:16.50 ---> using "3c18c9e472a4f76bc128dc0a5a1e21158ba3dbd0d6773ace6ec33f0cfe6fac9b" from cache
/: (user (uid 1000) (gid 1000))
/: (workdir /home/opam)
/home/opam: (run (shell "sudo ln -f /usr/bin/opam-2.0 /usr/bin/opam"))
2026-02-10 19:16.50 ---> using "9977b265c0c2169e3d6e1d5fd30288788cef6fa2098b216c383dbe2f2af5d3be" from cache
/home/opam: (run (network host)
(shell "opam init --reinit --config .opamrc-sandbox -ni"))
[NOTE] Will configure 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.
[WARNING] Recommended dependencies -- most packages rely on these:
- m4
<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] Initialised
default (at git+file:///home/opam/opam-repository):
[INFO] opam 2.1 and 2.2 include many performance and security improvements over 2.0; please consider upgrading (https://opam.ocaml.org/doc/Install.html)
2026-02-10 19:17.37 ---> saved as "9db4ce202e63f28fbf637045209431c2712a649b3d599ee21c42ca79a8b8f601"
/home/opam: (run (shell "opam config report"))
# opam config report
# opam-version 2.0.10 (adc1e1829a2bef5b240746df80341b508290fe3b)
# self-upgrade no
# system arch=x86_64 os=linux os-distribution=debian os-version=13
# solver builtin-mccs+glpk
# install-criteria -removed,-count[version-lag,request],-count[version-lag,changed],-changed
# upgrade-criteria -removed,-count[version-lag,solution],-new
# jobs 71
# repositories 1 (version-controlled)
# pinned 1 (version)
# current-switch 5.4
2026-02-10 19:17.37 ---> saved as "9d723489c4ffa196e512eaebf98a1efe43ed5b2d8d1bbf1c8e8e385abac1d516"
/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-10 19:17.52 ---> saved as "faef83b30c7783db3d1569810b91945d51f81e1a6b9da9881987b9c3f598b75f"
/home/opam: (copy (src .) (dst opam-repository/))
2026-02-10 19:18.14 ---> saved as "cc1b5b5a781f3d9479e468ccc1366b8be8055c47e966c6673da1640502979661"
/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
default (at file:///home/opam/opam-repository):
[INFO] opam 2.1 and 2.2 include many performance and security improvements over 2.0; please consider upgrading (https://opam.ocaml.org/doc/Install.html)
2026-02-10 19:18.29 ---> saved as "cc793a7e1db9e39a3ff8cc68c8b1ede257ed5eceb95fa332d6ba8c11b0dcca93"
/home/opam: (run (network host)
(shell "opam depext -u || true"))
# Detecting depexts using vars: arch=x86_64, os=linux, os-distribution=debian, os-family=debian
# No extra OS packages requirements found.
# All required OS packages found.
The following command needs to be run through "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 [104 kB]
Fetched 195 kB in 0s (1524 kB/s)
Reading package lists...
# OS package update successful
2026-02-10 19:18.31 ---> saved as "efd47a3bb4a216b9a0cc84ba14a87390b51926d6e1abc84d7ce452227d2e4c77"
/home/opam: (run (shell "opam pin add -k version -yn multipart_form.0.8.0 0.8.0"))
multipart_form is now pinned to version 0.8.0
2026-02-10 19:18.32 ---> saved as "5558bc3ebcdb844219458efff61de76ccfc84bb863cb787656e8780a8ff4798d"
/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam depext multipart_form.0.8.0 && opam reinstall multipart_form.0.8.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-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\" != 'multipart_form.0.8.0' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
# Detecting depexts using vars: arch=x86_64, os=linux, os-distribution=debian, os-family=debian
# No extra OS packages requirements found.
# All required OS packages found.
multipart_form.0.8.0 is not installed. Install it? [Y/n] y
The following actions will be performed:
- install ocamlbuild 0.16.1 [required by fmt, logs]
- install dune 3.21.0 [required by multipart_form]
- install conf-pkg-config 4 [required by bigstringaf]
- install ocamlfind 1.9.8 [required by fmt, logs]
- install pecu 0.7 [required by multipart_form]
- install ocaml-syntax-shims 1.0.0 [required by angstrom]
- install bstr 0.0.4 [required by prettym]
- install base64 3.5.2 [required by multipart_form]
- install bigstringaf 0.9.0 [required by multipart_form]
- install topkg 1.1.1 [required by fmt, logs]
- install angstrom 0.16.1 [required by multipart_form]
- install uutf 1.0.4 [required by multipart_form]
- install fmt 0.11.0 [required by multipart_form]
- install unstrctrd 0.4 [required by multipart_form]
- install logs 0.10.0 [required by multipart_form]
- install ke 0.6 [required by multipart_form]
- install prettym 0.0.4 [required by multipart_form]
- install multipart_form 0.8.0*
===== 18 to install =====
<><> Gathering sources ><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
[angstrom.0.16.1] found in cache
[base64.3.5.2] found in cache
[bigstringaf.0.9.0] found in cache
[bstr.0.0.4] found in cache
[dune.3.21.0] found in cache
[fmt.0.11.0] found in cache
[ke.0.6] found in cache
[logs.0.10.0] found in cache
[multipart_form.0.8.0] found in cache
[ocaml-syntax-shims.1.0.0] found in cache
[ocamlbuild.0.16.1] found in cache
[ocamlfind.1.9.8] found in cache
[pecu.0.7] found in cache
[prettym.0.0.4] found in cache
[topkg.1.1.1] found in cache
[unstrctrd.0.4] found in cache
[uutf.1.0.4] found in cache
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
[ERROR] The compilation of conf-pkg-config failed at "/home/opam/.opam/opam-init/hooks/sandbox.sh build pkg-config --help".
-> installed ocamlfind.1.9.8
-> installed ocamlbuild.0.16.1
-> installed topkg.1.1.1
-> installed uutf.1.0.4
-> installed fmt.0.11.0
-> installed logs.0.10.0
-> installed dune.3.21.0
-> installed base64.3.5.2
-> installed bstr.0.0.4
-> installed ke.0.6
-> installed pecu.0.7
-> installed ocaml-syntax-shims.1.0.0
-> installed prettym.0.0.4
#=== ERROR while compiling conf-pkg-config.4 ==================================#
# context 2.0.10 | linux/x86_64 | ocaml-base-compiler.5.4.0 | file:///home/opam/opam-repository
# path ~/.opam/5.4/.opam-switch/build/conf-pkg-config.4
# command ~/.opam/opam-init/hooks/sandbox.sh build pkg-config --help
# exit-code 1
# env-file ~/.opam/log/conf-pkg-config-44-f589c9.env
# output-file ~/.opam/log/conf-pkg-config-44-f589c9.out
### output ###
# bwrap: execvp pkg-config: No such file or directory
<><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
+- The following actions failed
| - build conf-pkg-config 4
+-
+- The following changes have been performed (the rest was aborted)
| - install base64 3.5.2
| - install bstr 0.0.4
| - install dune 3.21.0
| - install fmt 0.11.0
| - install ke 0.6
| - install logs 0.10.0
| - install ocaml-syntax-shims 1.0.0
| - install ocamlbuild 0.16.1
| - install ocamlfind 1.9.8
| - install pecu 0.7
| - install prettym 0.0.4
| - install topkg 1.1.1
| - install uutf 1.0.4
+-
The packages you requested declare the following system dependencies. Please make sure they are installed before retrying:
pkg-config
# Run eval $(opam env) to update the current shell environment
The former state can be restored with:
opam switch import "/home/opam/.opam/5.4/.opam-switch/backup/state-20260210191835.export"
opam-repo-ci detected dependencies failing: conf-pkg-config.4
"/usr/bin/env" "bash" "-c" "opam depext multipart_form.0.8.0 && opam reinstall multipart_form.0.8.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-13\""; then
echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.";
fi;
test "$pkg" != 'multipart_form.0.8.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 1
2026-02-10 19:19.10: Job failed: Failed: Build failed
2026-02-10 19:19.10: Log analysis:
2026-02-10 19:19.10: >>>
[ERROR] The compilation of conf-pkg-config failed at "/home/opam/.opam/opam-init/hooks/sandbox.sh build pkg-config --help".
(score = 20)
2026-02-10 19:19.10: >>>
# bwrap: execvp pkg-config: No such file or directory
(score = 50)
2026-02-10 19:19.10: >>>
opam-repo-ci detected dependencies failing: conf-pkg-config.4
(score = 75)
2026-02-10 19:19.10: conf-pkg-config.4 failed to build