(for PR #28455)

2025-09-17 10:25.34: New job: build ocaml-system.5.5.0, using opam dev
                              from https://github.com/ocaml/opam-repository.git#refs/pull/28455/head (7b1e5461573e6892e8115396f172d80b9ef38a62)
                              on debian-13-ocaml-4.14-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/28455/head" && git reset --hard 7b1e5461
git fetch origin master
git merge --no-edit 7949ff40d8af6dff67bf2361db44574e21c6d076
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-13-ocaml-4.14-flambda@sha256:d694312ddca44327402acf566730cea54c3b42eeb10553d5822f781ea35dfdb5
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 ocaml-system.5.5.0 5.5.0
RUN opam reinstall ocaml-system.5.5.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" != 'ocaml-system.5.5.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-09-17 10:25.34: Using cache hint "ocaml/opam:debian-13-ocaml-4.14-flambda@sha256:d694312ddca44327402acf566730cea54c3b42eeb10553d5822f781ea35dfdb5-ocaml-system.5.5.0-7b1e5461573e6892e8115396f172d80b9ef38a62"
2025-09-17 10:25.34: Using OBuilder spec:
((from ocaml/opam:debian-13-ocaml-4.14-flambda@sha256:d694312ddca44327402acf566730cea54c3b42eeb10553d5822f781ea35dfdb5)
 (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 ocaml-system.5.5.0 5.5.0"))
 (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
      (network host)
      (shell  "opam reinstall ocaml-system.5.5.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\" != 'ocaml-system.5.5.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-09-17 10:25.34: Waiting for resource in pool OCluster
2025-09-17 11:20.59: Waiting for worker…
2025-09-17 11:23.34: Got resource from pool OCluster
Building on toxis.caelum.ci.dev
All commits already cached
Updating files:  66% (12125/18275)
Updating files:  67% (12245/18275)
Updating files:  68% (12427/18275)
Updating files:  69% (12610/18275)
Updating files:  70% (12793/18275)
Updating files:  71% (12976/18275)
Updating files:  72% (13158/18275)
Updating files:  73% (13341/18275)
Updating files:  74% (13524/18275)
Updating files:  75% (13707/18275)
Updating files:  76% (13889/18275)
Updating files:  77% (14072/18275)
Updating files:  78% (14255/18275)
Updating files:  79% (14438/18275)
Updating files:  80% (14620/18275)
Updating files:  81% (14803/18275)
Updating files:  82% (14986/18275)
Updating files:  83% (15169/18275)
Updating files:  84% (15351/18275)
Updating files:  85% (15534/18275)
Updating files:  86% (15717/18275)
Updating files:  87% (15900/18275)
Updating files:  88% (16082/18275)
Updating files:  89% (16265/18275)
Updating files:  90% (16448/18275)
Updating files:  91% (16631/18275)
Updating files:  92% (16813/18275)
Updating files:  93% (16996/18275)
Updating files:  94% (17179/18275)
Updating files:  95% (17362/18275)
Updating files:  96% (17544/18275)
Updating files:  97% (17727/18275)
Updating files:  98% (17910/18275)
Updating files:  99% (18093/18275)
Updating files: 100% (18275/18275)
Updating files: 100% (18275/18275), done.
HEAD is now at 7949ff40d8 Merge pull request #28501 from vscoqbot/opam-publish-vsrocq-language-server.2.3.0
Merge made by the 'ort' strategy.
 packages/ocaml-system/ocaml-system.5.4.0/opam | 60 +++++++++++++++++++++++++++
 packages/ocaml-system/ocaml-system.5.5.0/opam | 60 +++++++++++++++++++++++++++
 2 files changed, 120 insertions(+)
 create mode 100644 packages/ocaml-system/ocaml-system.5.4.0/opam
 create mode 100644 packages/ocaml-system/ocaml-system.5.5.0/opam

(from ocaml/opam:debian-13-ocaml-4.14-flambda@sha256:d694312ddca44327402acf566730cea54c3b42eeb10553d5822f781ea35dfdb5)
2025-09-17 11:23.39 ---> using "00020e2226cf7f1f24c17336a00c265a631d987b89b08facdf48fd5a8a5489e8" 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-09-17 11:23.39 ---> using "8c2abdd210fc907f600db1c61d14980bf578737e03a24937e4eea202e8402ec2" 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-09-17 11:23.39 ---> using "70f733b49f8f691ea8a4c26820abde83d99d0c455001b517d909dd0b63fa8ec0" 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.4.1
# 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       4.14
# invariant            ["ocaml-options-only-flambda"]
# compiler-packages    ocaml-option-flambda.1, ocaml-options-only-flambda.1, ocaml-variants.4.14.2+options
# 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+options+flambda
2025-09-17 11:23.39 ---> using "65fedf7e32c680237c0496a2c0344d81dcd4ec879f78fc3aa956a2f31017137e" 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-09-17 11:23.39 ---> using "33e7c04af6ecaed3d3a61f0fdef13fcab9d5e2cd6bac1c6f91652b0bac2ebf33" from cache

/home/opam: (copy (src .) (dst opam-repository/))
2025-09-17 11:24.00 ---> saved as "1cdb82e982d8b1f2c0fd18901cdac8fc26447375b022c41ddfbf8329a70ef705"

/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2025-09-17 11:24.24 ---> saved as "7f7b85b2c1a70d1f987fee445cd051e4b080033a8ea35615850fcc4957f90195"

/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 [40.4 kB]
- Fetched 131 kB in 0s (1255 kB/s)
- Reading package lists...
- 
2025-09-17 11:24.26 ---> saved as "90111e48505010d4312af5326a5e06db61c0d96435941fd7a4944f4023ffe5ea"

/home/opam: (run (shell "opam pin add -k version -yn ocaml-system.5.5.0 5.5.0"))
ocaml-system is now pinned to version 5.5.0
2025-09-17 11:24.27 ---> saved as "db1c33b478700787287749790c050eecb63253ff92ae2564c51392004f769097"

/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
                 (network host)
                 (shell  "opam reinstall ocaml-system.5.5.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\" != 'ocaml-system.5.5.0' && partial_fails=\"$partial_fails $pkg\";\
                        \n        done;\
                        \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
                        \n        exit 1"))
[ERROR] ocaml-system = 5.5.0: unmet availability conditions: 'sys-ocaml-version >= "5.5.0~" & sys-ocaml-version < "5.5.1~" & (os != "win32" | sys-ocaml-libc = "msvc")'
"/usr/bin/env" "bash" "-c" "opam reinstall ocaml-system.5.5.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" != 'ocaml-system.5.5.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 5
2025-09-17 11:24.46: Job failed: Failed: Build failed
2025-09-17 11:24.46: Log analysis:
2025-09-17 11:24.46: >>> 
[ERROR] ocaml-system = 5.5.0: unmet availability conditions: 'sys-ocaml-version >= "5.5.0~" & sys-ocaml-version < "5.5.1~" & (os != "win32" | sys-ocaml-libc = "msvc")'
 (score = 100)
2025-09-17 11:24.46: [SKIP] Package not available