Build:
  1. 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-4.14/ppc64le

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-4.14@sha256:b5999796cdbaf820c7a9a04000869039b342013dd9067efd7cec1036d429db27
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-4.14@sha256:b5999796cdbaf820c7a9a04000869039b342013dd9067efd7cec1036d429db27-cmarkit.0.4.0-980fdd86dd3031659f2129a0912acc3c0084f741"
2025-10-31 23:21.47: Using OBuilder spec:
((from ocaml/opam:debian-13-ocaml-4.14@sha256:b5999796cdbaf820c7a9a04000869039b342013dd9067efd7cec1036d429db27)
 (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.47: Got resource from pool OCluster
Building on orithia.caelum.ci.dev
HEAD is now at 1ad1c6b061 8 packages from savonet/ocaml-ffmpeg at 1.2.7
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-4.14@sha256:b5999796cdbaf820c7a9a04000869039b342013dd9067efd7cec1036d429db27)
Unable to find image 'ocaml/opam:debian-13-ocaml-4.14@sha256:b5999796cdbaf820c7a9a04000869039b342013dd9067efd7cec1036d429db27' locally
docker.io/ocaml/opam@sha256:b5999796cdbaf820c7a9a04000869039b342013dd9067efd7cec1036d429db27: Pulling from ocaml/opam
047d1b265d8a: Already exists
f27a8dd93663: Already exists
416b80615252: Already exists
9e1461375ffd: Already exists
d355097b85db: Already exists
11ef8094f93c: Already exists
c26401cf67c2: Already exists
ab87e7ae5bef: Already exists
666830c759fa: Already exists
a22956601402: Already exists
c838dfbc138b: Already exists
d01e78ebf755: Already exists
698471327fd7: Already exists
0fa760233f89: Already exists
b0603f507ffb: Already exists
0f3290c55d23: Already exists
5eb75060c288: Already exists
ee1e245d5ab8: Already exists
f99fb9fcb568: Already exists
de0846aa1cde: Already exists
5259a371d599: Already exists
4f4fb700ef54: Already exists
11204c96a636: Already exists
7421b8876baa: Already exists
59010fb2edeb: Already exists
78ec7ababbdc: Already exists
4f4e2ba47c95: Already exists
b716795f941a: Already exists
b8b39efb683c: Already exists
638deb682090: Already exists
4b19be030701: Already exists
4f3627b7b045: Already exists
de96a0d7d215: Already exists
7eb865b732dd: Already exists
68435574b6a9: Already exists
1f471de392e8: Already exists
69ddacfcd7fd: Already exists
2ad0e813a7d7: Already exists
23c2a647356b: Already exists
b39fe6b17d4e: Already exists
132388712020: Pulling fs layer
b9c4ddc38df9: Pulling fs layer
c180c121ab0b: Pulling fs layer
ee75c8d56fde: Pulling fs layer
ee75c8d56fde: Waiting
b9c4ddc38df9: Verifying Checksum
b9c4ddc38df9: Download complete
c180c121ab0b: Verifying Checksum
c180c121ab0b: Download complete
ee75c8d56fde: Verifying Checksum
ee75c8d56fde: Download complete
132388712020: Verifying Checksum
132388712020: Download complete
132388712020: Pull complete
b9c4ddc38df9: Pull complete
c180c121ab0b: Pull complete
ee75c8d56fde: Pull complete
Digest: sha256:b5999796cdbaf820c7a9a04000869039b342013dd9067efd7cec1036d429db27
Status: Downloaded newer image for ocaml/opam@sha256:b5999796cdbaf820c7a9a04000869039b342013dd9067efd7cec1036d429db27
2025-10-31 23:21.54 ---> using "6638518487352695065729ea0ee492314df4f618168c7be0558f42634293940a" 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-10-31 23:21.54 ---> using "b33c30f9fbcc2f11b6c6d6f182b9aaa205095aa56b5f51db17b0e9b95a6b7144" 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-10-31 23:21.54 ---> using "625867c6e3718f24fe072680f8864b02f419f683ac215118b84811bbdcc02f23" 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=ppc64 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                 175
# 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
2025-10-31 23:21.54 ---> using "bb46d0cd390aa42a57b8bf7aee5b6e8e5dd4ac5e4c32f1d3874c8ce8d98464c6" 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-10-31 23:21.54 ---> using "8d187e3489d225a3800116424bc821fea677c98a5c89b871e509aa30e45acdef" from cache

/home/opam: (copy (src .) (dst opam-repository/))
2025-10-31 23:24.06 ---> saved as "1d0ac36238f23a0f389b2aa5f8a0ffedf6d0c7d18f0f8d1feed992fa6978aa97"

/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2025-10-31 23:24.25 ---> saved as "fc10a511947120d747eff3ffe3cc22a15132fa54aebc6b69f1148ef1b4f9262a"

/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 ppc64el Packages [66.5 kB]
- Fetched 157 kB in 0s (1196 kB/s)
- Reading package lists...
2025-10-31 23:24.27 ---> saved as "26ff2e4b6ad0c8ee7bde5e3cf47340fb906998748fc6476a06de491d031e7355"

/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.28 ---> saved as "55f1d5490361435d87877892e232437698333c7f88d9763173082b172930189d"

/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  (https://erratique.ch/software/cmarkit/releases/cmarkit-0.4.0.tbz)
-> 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.45 ---> saved as "fd2830681e20bd292175d92f67c17a8a107c54da533b38fffb1c003160277978"
Job succeeded
2025-10-31 23:25.00: Job succeeded