Build:
  1. 1
  2. 0
2026-02-20 12:07.46: New job: build ocaml-solo5.1.2.1, using opam 2.0
                              from https://github.com/ocaml/opam-repository.git#refs/pull/29425/head (56393c852ecc97bd2af91ac2eb29f999c7a71fca)
                              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/29425/head" && git reset --hard 56393c85
git fetch origin master
git merge --no-edit b820e8c25e0dea7a5ce86f961c182a44938fa39a
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 ocaml-solo5.1.2.1 1.2.1
RUN opam depext ocaml-solo5.1.2.1 && opam reinstall ocaml-solo5.1.2.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" != 'ocaml-solo5.1.2.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 12:07.46: Using cache hint "ocaml/opam:debian-13-ocaml-5.4@sha256:4add1601135529e9f2e403a25c1c640231c0e871e87f88cf8feab4be5095104c-ocaml-solo5.1.2.1-56393c852ecc97bd2af91ac2eb29f999c7a71fca"
2026-02-20 12:07.46: 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 ocaml-solo5.1.2.1 1.2.1"))
 (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
      (network host)
      (shell  "opam depext ocaml-solo5.1.2.1 && opam reinstall ocaml-solo5.1.2.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\" != 'ocaml-solo5.1.2.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 12:07.46: Waiting for resource in pool OCluster
2026-02-20 12:08.46: Waiting for worker…
2026-02-20 12:13.19: Got resource from pool OCluster
Building on doris.caelum.ci.dev
All commits already cached
HEAD is now at b820e8c25e Merge pull request #29435 from dx3mod/opam-publish-serialport.0.3
Merge made by the 'ort' strategy.
 .../ocaml-solo5-cross-aarch64.1.2.1/opam           | 60 ++++++++++++++++++++++
 packages/ocaml-solo5/ocaml-solo5.1.2.1/opam        | 58 +++++++++++++++++++++
 2 files changed, 118 insertions(+)
 create mode 100644 packages/ocaml-solo5-cross-aarch64/ocaml-solo5-cross-aarch64.1.2.1/opam
 create mode 100644 packages/ocaml-solo5/ocaml-solo5.1.2.1/opam

(from ocaml/opam:debian-13-ocaml-5.4@sha256:4add1601135529e9f2e403a25c1c640231c0e871e87f88cf8feab4be5095104c)
Unable to find image 'ocaml/opam:debian-13-ocaml-5.4@sha256:4add1601135529e9f2e403a25c1c640231c0e871e87f88cf8feab4be5095104c' locally
docker.io/ocaml/opam@sha256:4add1601135529e9f2e403a25c1c640231c0e871e87f88cf8feab4be5095104c: 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
ae210f88246e: Already exists
e035ef68bd1a: Already exists
10a755270a5b: Already exists
ba9bc7232694: Pulling fs layer
d6bc4e91a30f: Pulling fs layer
a3c4c8a1f4e2: Pulling fs layer
845ad49c4ca0: Pulling fs layer
d6bc4e91a30f: Verifying Checksum
d6bc4e91a30f: Download complete
a3c4c8a1f4e2: Verifying Checksum
a3c4c8a1f4e2: Download complete
845ad49c4ca0: Verifying Checksum
845ad49c4ca0: Download complete
ba9bc7232694: Verifying Checksum
ba9bc7232694: Download complete
ba9bc7232694: Pull complete
d6bc4e91a30f: Pull complete
a3c4c8a1f4e2: Pull complete
845ad49c4ca0: Pull complete
Digest: sha256:4add1601135529e9f2e403a25c1c640231c0e871e87f88cf8feab4be5095104c
Status: Downloaded newer image for ocaml/opam@sha256:4add1601135529e9f2e403a25c1c640231c0e871e87f88cf8feab4be5095104c
2026-02-20 12:13.21 ---> 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-20 12:13.22 ---> saved as "9977b265c0c2169e3d6e1d5fd30288788cef6fa2098b216c383dbe2f2af5d3be"

/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-20 12:14.08 ---> 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-20 12:14.08 ---> 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-20 12:14.21 ---> saved as "faef83b30c7783db3d1569810b91945d51f81e1a6b9da9881987b9c3f598b75f"

/home/opam: (copy (src .) (dst opam-repository/))
2026-02-20 12:14.28 ---> saved as "2e7c8657e2e3fa89ba30a77e1c9a591da08138e92a1475b64a1f797aff484d0d"

/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-20 12:14.45 ---> saved as "a5062cec1e695108be5ffbcd33ce97c8c6faf964458b2410653999a18c337dc3"

/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 [112 kB]
Fetched 203 kB in 0s (1590 kB/s)
Reading package lists...
# OS package update successful
2026-02-20 12:14.48 ---> saved as "8f9bbd7f76ac88ac81956995d57c07dbb90b369dfde4ec6be1baaeb707aeb412"

/home/opam: (run (shell "opam pin add -k version -yn ocaml-solo5.1.2.1 1.2.1"))
ocaml-solo5 is now pinned to version 1.2.1
2026-02-20 12:14.49 ---> saved as "36e12539ffcf8706ed0b71547a7cf83e9e5175c0dbd4026b15b4560e67224dc7"

/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
                 (network host)
                 (shell  "opam depext ocaml-solo5.1.2.1 && opam reinstall ocaml-solo5.1.2.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\" != 'ocaml-solo5.1.2.1' && 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
[ERROR] No solution for ocaml-solo5.1.2.1: The following dependencies couldn't be met:
          - ocaml-solo5 -> ocaml = 5.4.1
              base of this switch (use `--unlock-base' to force)


Command failed: opam list --readonly --external '--resolve=ocaml-solo5.1.2.1' --color=never returned 20
"/usr/bin/env" "bash" "-c" "opam depext ocaml-solo5.1.2.1 && opam reinstall ocaml-solo5.1.2.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" != 'ocaml-solo5.1.2.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 12:15.07: Job failed: Failed: Build failed
2026-02-20 12:15.07: Log analysis:
2026-02-20 12:15.07: >>> 
[ERROR] No solution for ocaml-solo5.1.2.1: The following dependencies couldn't be met:
 (score = 100)
2026-02-20 12:15.07: [SKIP] Package not available