Build:
- 0
2025-10-31 23:21.47: New job: build cmarkit.0.4.0, using opam dev
from https://github.com/ocaml/opam-repository.git#refs/pull/28811/head (980fdd86dd3031659f2129a0912acc3c0084f741)
on debian-13-ocaml-5.4-flambda/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/28811/head" && git reset --hard 980fdd86
git fetch origin master
git merge --no-edit 8a528d6bb48e4be260fb670a1754df39a1192147
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-13-ocaml-5.4-flambda@sha256:0ec52bf31e6094e542051bb8103648108c67d4bc76e023bf160a873038ec2bb0
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 cmarkit.0.4.0 0.4.0
RUN opam reinstall cmarkit.0.4.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" != 'cmarkit.0.4.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-10-31 23:21.47: Using cache hint "ocaml/opam:debian-13-ocaml-5.4-flambda@sha256:0ec52bf31e6094e542051bb8103648108c67d4bc76e023bf160a873038ec2bb0-cmarkit.0.4.0-980fdd86dd3031659f2129a0912acc3c0084f741"
2025-10-31 23:21.47: Using OBuilder spec:
((from ocaml/opam:debian-13-ocaml-5.4-flambda@sha256:0ec52bf31e6094e542051bb8103648108c67d4bc76e023bf160a873038ec2bb0)
(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 cmarkit.0.4.0 0.4.0"))
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall cmarkit.0.4.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\" != 'cmarkit.0.4.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-10-31 23:21.47: Waiting for resource in pool OCluster
2025-10-31 23:21.47: Waiting for worker…
2025-10-31 23:21.49: Got resource from pool OCluster
Building on bremusa.ocamllabs.io
All commits already cached
HEAD is now at 8a528d6bb4 Merge pull request #28792 from dbuenzli/odig
Updating 8a528d6bb4..980fdd86dd
Fast-forward
packages/cmarkit/cmarkit.0.4.0/opam | 69 +++++++++++++++++++++++++++++++++++++
1 file changed, 69 insertions(+)
create mode 100644 packages/cmarkit/cmarkit.0.4.0/opam
(from ocaml/opam:debian-13-ocaml-5.4-flambda@sha256:0ec52bf31e6094e542051bb8103648108c67d4bc76e023bf160a873038ec2bb0)
Unable to find image 'ocaml/opam:debian-13-ocaml-5.4-flambda@sha256:0ec52bf31e6094e542051bb8103648108c67d4bc76e023bf160a873038ec2bb0' locally
docker.io/ocaml/opam@sha256:0ec52bf31e6094e542051bb8103648108c67d4bc76e023bf160a873038ec2bb0: Pulling from ocaml/opam
Digest: sha256:0ec52bf31e6094e542051bb8103648108c67d4bc76e023bf160a873038ec2bb0
Status: Downloaded newer image for ocaml/opam@sha256:0ec52bf31e6094e542051bb8103648108c67d4bc76e023bf160a873038ec2bb0
2025-10-31 23:23.25 ---> saved as "51bdacf0b4daeea69ab72d7dc22cab8b5e4152d1743df29ac7773b7023fda5e0"
/: (user (uid 1000) (gid 1000))
/: (workdir /home/opam)
/home/opam: (run (shell "sudo ln -f /usr/bin/opam-dev /usr/bin/opam"))
2025-10-31 23:23.25 ---> saved as "e514dc6072690854d2f5db79fa4c59c76066d8caccb4ce92fdde5667749bc769"
/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.
Continue? [Y/n] y
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.
Format upgrade done.
<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] Initialised
2025-10-31 23:23.51 ---> saved as "b550c3a779abcca594940aa9b2531a595ec285109d152b52d94722ccc3f665c9"
/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=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 5.4
# invariant ["ocaml-variants" {= "5.4.0+options"}]
# compiler-packages ocaml-compiler.5.4.0, ocaml-option-flambda.1, ocaml-options-only-flambda.1, ocaml-variants.5.4.0+options
# 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+options+flambda
2025-10-31 23:23.51 ---> saved as "fb179eecf4f5837aba5e3157a9c975d24a3606e46ae07fff7a4b153088c1b574"
/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-10-31 23:23.59 ---> saved as "4fd20a4318332ffc53035d9196d0f564a0a3e8df2a53be209937eb12dbcdb1c4"
/home/opam: (copy (src .) (dst opam-repository/))
2025-10-31 23:24.07 ---> saved as "5f7a8779df332052a478db61b7b22212542b22248726bc2bb61929cab26af076"
/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2025-10-31 23:24.27 ---> saved as "a2ae0ae5d39ec61aece867150e267ac531c6e379102ebc980ca9b7c4b0afb4eb"
/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 [69.0 kB]
- Fetched 160 kB in 0s (1342 kB/s)
- Reading package lists...
2025-10-31 23:24.28 ---> saved as "dd14767c7fddcae3e5dcd7672cd530e39577b11158b21b0f1641983423b8bfe1"
/home/opam: (run (shell "opam pin add -k version -yn cmarkit.0.4.0 0.4.0"))
cmarkit is now pinned to version 0.4.0
2025-10-31 23:24.29 ---> saved as "dbfdbf364a3635dbac6b25f24149d17619dad3be5b474d334c3b2f3132427a9e"
/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall cmarkit.0.4.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\" != 'cmarkit.0.4.0' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
cmarkit.0.4.0 is not installed. Install it? [Y/n] y
The following actions will be performed:
=== install 4 packages
- install cmarkit 0.4.0 (pinned)
- install ocamlbuild 0.16.1 [required by cmarkit]
- install ocamlfind 1.9.8 [required by cmarkit]
- install topkg 1.1.0 [required by cmarkit]
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved cmarkit.0.4.0 (cached)
-> retrieved ocamlbuild.0.16.1 (cached)
-> retrieved ocamlfind.1.9.8 (cached)
-> retrieved topkg.1.1.0 (cached)
-> installed ocamlfind.1.9.8
-> installed ocamlbuild.0.16.1
-> installed topkg.1.1.0
-> installed cmarkit.0.4.0
Done.
# To update the current shell environment, run: eval $(opam env)
2025-10-31 23:24.52 ---> saved as "3df62613c4d3951ff9f25ddab9858a7f05864f857aab1f7850d74f88011f70dc"
Job succeeded
2025-10-31 23:25.02: Job succeeded