Build:
  1. 0
2025-12-03 21:27.11: New job: build dockerfile-opam.8.3.4, using opam 2.0
                              from https://github.com/ocaml/opam-repository.git#refs/pull/29021/head (7009d47a555f413e286737807f043c0069eee471)
                              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/29021/head" && git reset --hard 7009d47a
git fetch origin master
git merge --no-edit d126db7f3538437450adc43cd0d4ab31ebe228d8
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-13-ocaml-5.4@sha256:08ea1ae277f20c88280199a79d0eb38d0ce9ac4f0e6708b737375fbc9477b1b9
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 dockerfile-opam.8.3.4 8.3.4
RUN opam depext dockerfile-opam.8.3.4 && opam reinstall dockerfile-opam.8.3.4; \
    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" != 'dockerfile-opam.8.3.4' && 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-03 21:27.11: Using cache hint "ocaml/opam:debian-13-ocaml-5.4@sha256:08ea1ae277f20c88280199a79d0eb38d0ce9ac4f0e6708b737375fbc9477b1b9-dockerfile-opam.8.3.4-7009d47a555f413e286737807f043c0069eee471"
2025-12-03 21:27.11: Using OBuilder spec:
((from ocaml/opam:debian-13-ocaml-5.4@sha256:08ea1ae277f20c88280199a79d0eb38d0ce9ac4f0e6708b737375fbc9477b1b9)
 (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 dockerfile-opam.8.3.4 8.3.4"))
 (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
      (network host)
      (shell  "opam depext dockerfile-opam.8.3.4 && opam reinstall dockerfile-opam.8.3.4;\
             \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\" != 'dockerfile-opam.8.3.4' && 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-03 21:27.11: Waiting for resource in pool OCluster
2025-12-03 21:27.12: Waiting for worker…
2025-12-03 21:29.53: Got resource from pool OCluster
Building on odawa.caelum.ci.dev
All commits already cached
HEAD is now at d126db7f35 Merge pull request #29011 from hannesm/mark-old-ocaml-compilers-unmaintained
Updating d126db7f35..7009d47a55
Fast-forward
 packages/dockerfile-cmd/dockerfile-cmd.8.3.4/opam  | 73 ++++++++++++++++++++++
 .../dockerfile-opam/dockerfile-opam.8.3.4/opam     | 71 +++++++++++++++++++++
 packages/dockerfile/dockerfile.8.3.4/opam          | 67 ++++++++++++++++++++
 3 files changed, 211 insertions(+)
 create mode 100644 packages/dockerfile-cmd/dockerfile-cmd.8.3.4/opam
 create mode 100644 packages/dockerfile-opam/dockerfile-opam.8.3.4/opam
 create mode 100644 packages/dockerfile/dockerfile.8.3.4/opam

(from ocaml/opam:debian-13-ocaml-5.4@sha256:08ea1ae277f20c88280199a79d0eb38d0ce9ac4f0e6708b737375fbc9477b1b9)
2025-12-03 21:39.19 ---> using "f1efaca4efe78a0f1c0c577ac466822c09dc6f46f3a7d5f2a65ad8e72e69d5b6" 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"))
2025-12-03 21:39.19 ---> saved as "e2163f8bef1d6127ab4fb4dde6361dcd8e2ac54f06decad22a8813d7c1f71a57"

/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)

2025-12-03 21:39.58 ---> saved as "138d2f3414841c2e7513e136b0e3bdd5c6547feb7e0b4b9c2ef2cca51c88008e"

/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
2025-12-03 21:39.59 ---> saved as "2ec0dd656338d58056534159a57fe0d9fd166ef685f655c2b1314ec0f1d173a3"

/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-03 21:40.07 ---> saved as "434d4e63ada51ff9fa4a59b85e7f467e72ec22b2e065159878473b976345158a"

/home/opam: (copy (src .) (dst opam-repository/))
2025-12-03 21:40.12 ---> saved as "1b469ee74b132b151405a2a9f67528ec93f4672f2f1afe7929397ad44e4c7f0b"

/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)

2025-12-03 21:40.21 ---> saved as "f8d40a2b6b15226e8ba0e6089fe28f29a082ee444671c9addc3f9460e0250ae3"

/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 [80.9 kB]
Fetched 172 kB in 0s (1581 kB/s)
Reading package lists...
# OS package update successful
2025-12-03 21:40.22 ---> saved as "18b999ab60a3f6b06946952946c2e231101de29eadf1953baef94afb3d9b006e"

/home/opam: (run (shell "opam pin add -k version -yn dockerfile-opam.8.3.4 8.3.4"))
dockerfile-opam is now pinned to version 8.3.4
2025-12-03 21:40.23 ---> saved as "268844a50fc3d31d08945ac739befd25cdcb19660382777107e2326e6ce64f1d"

/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
                 (network host)
                 (shell  "opam depext dockerfile-opam.8.3.4 && opam reinstall dockerfile-opam.8.3.4;\
                        \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\" != 'dockerfile-opam.8.3.4' && 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.
dockerfile-opam.8.3.4 is not installed. Install it? [Y/n] y
The following actions will be performed:
  - install ocamlbuild              0.16.1  [required by fmt]
  - install ocamlfind               1.9.8   [required by fmt]
  - install dune                    3.20.2  [required by dockerfile-opam]
  - install topkg                   1.1.1   [required by fmt]
  - install stdlib-shims            0.3.0   [required by ppxlib]
  - install sexplib0                v0.17.0 [required by dockerfile-opam]
  - install ppx_derivers            1.2.1   [required by ppxlib]
  - install ocaml-version           4.0.3   [required by dockerfile-opam]
  - install ocaml-compiler-libs     v0.17.0 [required by ppxlib]
  - install ocaml_intrinsics_kernel v0.17.1 [required by base]
  - install csexp                   1.5.2   [required by dune-configurator]
  - install fmt                     0.11.0  [required by dockerfile-opam]
  - install ppxlib                  0.37.0  [required by ppx_sexp_conv]
  - install dune-configurator       3.20.2  [required by base]
  - install ppxlib_jane             v0.17.4 [required by ppx_sexp_conv]
  - install base                    v0.17.3 [required by ppx_sexp_conv]
  - install ppx_sexp_conv           v0.17.1 [required by dockerfile-opam]
  - install dockerfile              8.3.4   [required by dockerfile-opam]
  - install dockerfile-opam         8.3.4*
===== 19 to install =====

<><> Gathering sources ><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
[base.v0.17.3] found in cache
[csexp.1.5.2] found in cache
[dockerfile.8.3.4] found in cache
[dockerfile-opam.8.3.4] found in cache
[dune.3.20.2] found in cache
[dune-configurator.3.20.2] found in cache
[fmt.0.11.0] found in cache
[ocaml-compiler-libs.v0.17.0] found in cache
[ocaml-version.4.0.3] found in cache
[ocaml_intrinsics_kernel.v0.17.1] found in cache
[ocamlbuild.0.16.1] found in cache
[ocamlfind.1.9.8] found in cache
[ppx_derivers.1.2.1] found in cache
[ppx_sexp_conv.v0.17.1] found in cache
[ppxlib.0.37.0] found in cache
[ppxlib_jane.v0.17.4] found in cache
[sexplib0.v0.17.0] found in cache
[stdlib-shims.0.3.0] found in cache
[topkg.1.1.1] found in cache

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> installed ocamlfind.1.9.8
-> installed ocamlbuild.0.16.1
-> installed topkg.1.1.1
-> installed fmt.0.11.0
-> installed dune.3.20.2
-> installed ppx_derivers.1.2.1
-> installed csexp.1.5.2
-> installed ocaml-version.4.0.3
-> installed ocaml-compiler-libs.v0.17.0
-> installed ocaml_intrinsics_kernel.v0.17.1
-> installed sexplib0.v0.17.0
-> installed stdlib-shims.0.3.0
-> installed dune-configurator.3.20.2
-> installed base.v0.17.3
-> installed ppxlib.0.37.0
-> installed ppxlib_jane.v0.17.4
-> installed ppx_sexp_conv.v0.17.1
-> installed dockerfile.8.3.4
-> installed dockerfile-opam.8.3.4
Done.
# Run eval $(opam env) to update the current shell environment
2025-12-03 21:41.08 ---> saved as "5aa270ece14f88d47f9c577332fb7b573d150750804f09d9c2bfd2df5728b6ad"
Job succeeded
2025-12-03 21:41.12: Job succeeded