(for PR #28925)

2025-11-19 10:23.30: New job: build conf-openblas.0.2.3, using opam dev
                              from https://github.com/ocaml/opam-repository.git#refs/pull/28925/head (9f711b098b3a42a7f4e18dc318705d9846d1f7cb)
                              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/28925/head" && git reset --hard 9f711b09
git fetch origin master
git merge --no-edit 24dbb725dce5c26764f028224175df3cfbe7dafd
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-13-ocaml-4.14-flambda@sha256:8c653c8a2431fa280d0fd6b93fa526841d125f391e41fb2bc0f4995348e83bd2
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 conf-openblas.0.2.3 0.2.3
RUN opam reinstall conf-openblas.0.2.3; \
    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" != 'conf-openblas.0.2.3' && 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-11-19 10:23.30: Using cache hint "ocaml/opam:debian-13-ocaml-4.14-flambda@sha256:8c653c8a2431fa280d0fd6b93fa526841d125f391e41fb2bc0f4995348e83bd2-conf-openblas.0.2.3-9f711b098b3a42a7f4e18dc318705d9846d1f7cb"
2025-11-19 10:23.30: Using OBuilder spec:
((from ocaml/opam:debian-13-ocaml-4.14-flambda@sha256:8c653c8a2431fa280d0fd6b93fa526841d125f391e41fb2bc0f4995348e83bd2)
 (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 conf-openblas.0.2.3 0.2.3"))
 (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
      (network host)
      (shell  "opam reinstall conf-openblas.0.2.3;\
             \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\" != 'conf-openblas.0.2.3' && partial_fails=\"$partial_fails $pkg\";\
             \n        done;\
             \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
             \n        exit 1"))
)

2025-11-19 10:23.30: Waiting for resource in pool OCluster
2025-11-19 10:23.30: Waiting for worker…
2025-11-19 10:23.33: Got resource from pool OCluster
Building on doris.caelum.ci.dev
All commits already cached
HEAD is now at 24dbb725dc Merge pull request #28918 from dra27/msys2-lablgtk3
Updating 24dbb725dc..9f711b098b
Fast-forward
 packages/conf-openblas/conf-openblas.0.2.3/opam | 55 +++++++++++++++++++++++++
 1 file changed, 55 insertions(+)
 create mode 100644 packages/conf-openblas/conf-openblas.0.2.3/opam

(from ocaml/opam:debian-13-ocaml-4.14-flambda@sha256:8c653c8a2431fa280d0fd6b93fa526841d125f391e41fb2bc0f4995348e83bd2)
2025-11-19 10:24.28 ---> using "76c6a1b8e35059b5ae8802287a64160afcc0bd46867c943e0bfe486ae33514a7" 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-11-19 10:24.28 ---> using "ee283bca7e3f61725561a003a981a47a2aae16940ed5c8bac0b13134b59a4db3" 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
[NOTE] The 'jobs' option was reset, its value was 71 and its new value will vary according to the current number of cores on your machine. You can restore the fixed value using:
           opam option jobs=71 --global
Format upgrade done.

<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] Initialised
2025-11-19 10:24.28 ---> using "8bf942c3709baac13bf816d86b7240b18dec78a4aa050f02d8fa5ffa579e12ba" 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~beta1
# 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                 255
# 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-11-19 10:24.28 ---> using "7675822a66ca0c7d27115eee6f807fcf00292dd49387cbd0d00fb87edff27802" 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-11-19 10:24.28 ---> using "749b1bdde5029a91e6f232e4fe19ec11b288d8572a287569bf41f326ec5d131e" from cache

/home/opam: (copy (src .) (dst opam-repository/))
2025-11-19 10:24.41 ---> saved as "94009ab65da45eef2bd640bead6482b403258d6760e9ef28e98b1b069f9d38bd"

/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2025-11-19 10:25.00 ---> saved as "6713a9548309e7455b9949fdf3aea63746cf9bf01a288e3d6c0d8d9994ea8bc1"

/home/opam: (run (network host)
                 (shell "opam update --depexts || true"))
+ /usr/bin/sudo "apt-get" "update"
- Get:1 http://deb.debian.org/debian trixie InRelease [140 kB]
- 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 trixie/main amd64 Packages [9670 kB]
- Get:5 http://deb.debian.org/debian-security trixie-security/main amd64 Packages [71.8 kB]
- Fetched 9973 kB in 1s (8485 kB/s)
- Reading package lists...
2025-11-19 10:25.02 ---> saved as "12715c1825afe721ef2bf4f47cde30d5011442148bab280ed8c501f8d8e28319"

/home/opam: (run (shell "opam pin add -k version -yn conf-openblas.0.2.3 0.2.3"))
conf-openblas is now pinned to version 0.2.3
2025-11-19 10:25.02 ---> saved as "6227ce2b6c60f8e24b232e33a4eec098c92a327cc896ce984fff8e461aee06e6"

/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
                 (network host)
                 (shell  "opam reinstall conf-openblas.0.2.3;\
                        \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\" != 'conf-openblas.0.2.3' && partial_fails=\"$partial_fails $pkg\";\
                        \n        done;\
                        \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
                        \n        exit 1"))
conf-openblas.0.2.3 is not installed. Install it? [Y/n] y
The following actions will be performed:
=== install 1 package
  - install conf-openblas 0.2.3 (pinned)

The following system packages will first need to be installed:
    liblapacke-dev libopenblas-dev

<><> Handling external dependencies <><><><><><><><><><><><><><><><><><><><><><>

opam believes some required external dependencies are missing. opam can:
> 1. Run apt-get to install them (may need root/sudo access)
  2. Display the recommended apt-get command and wait while you run it manually (e.g. in another terminal)
  3. Continue anyway, and, upon success, permanently register that this external dependency is present, but not detectable
  4. Abort the installation

[1/2/3/4] 1

+ /usr/bin/sudo "apt-get" "install" "-qq" "-yy" "liblapacke-dev" "libopenblas-dev"
- Selecting previously unselected package libblas3:amd64.
- (Reading database ... 
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 20622 files and directories currently installed.)
- Preparing to unpack .../00-libblas3_3.12.1-6_amd64.deb ...
- Unpacking libblas3:amd64 (3.12.1-6) ...
- Selecting previously unselected package libblas-dev:amd64.
- Preparing to unpack .../01-libblas-dev_3.12.1-6_amd64.deb ...
- Unpacking libblas-dev:amd64 (3.12.1-6) ...
- Selecting previously unselected package libgfortran5:amd64.
- Preparing to unpack .../02-libgfortran5_14.2.0-19_amd64.deb ...
- Unpacking libgfortran5:amd64 (14.2.0-19) ...
- Selecting previously unselected package libopenblas0-pthread:amd64.
- Preparing to unpack .../03-libopenblas0-pthread_0.3.29+ds-3_amd64.deb ...
- Unpacking libopenblas0-pthread:amd64 (0.3.29+ds-3) ...
- Selecting previously unselected package liblapack3:amd64.
- Preparing to unpack .../04-liblapack3_3.12.1-6_amd64.deb ...
- Unpacking liblapack3:amd64 (3.12.1-6) ...
- Selecting previously unselected package libopenblas-pthread-dev:amd64.
- Preparing to unpack .../05-libopenblas-pthread-dev_0.3.29+ds-3_amd64.deb ...
- Unpacking libopenblas-pthread-dev:amd64 (0.3.29+ds-3) ...
- Selecting previously unselected package liblapack-dev:amd64.
- Preparing to unpack .../06-liblapack-dev_3.12.1-6_amd64.deb ...
- Unpacking liblapack-dev:amd64 (3.12.1-6) ...
- Selecting previously unselected package libtmglib3:amd64.
- Preparing to unpack .../07-libtmglib3_3.12.1-6_amd64.deb ...
- Unpacking libtmglib3:amd64 (3.12.1-6) ...
- Selecting previously unselected package liblapacke:amd64.
- Preparing to unpack .../08-liblapacke_3.12.1-6_amd64.deb ...
- Unpacking liblapacke:amd64 (3.12.1-6) ...
- Selecting previously unselected package libtmglib-dev:amd64.
- Preparing to unpack .../09-libtmglib-dev_3.12.1-6_amd64.deb ...
- Unpacking libtmglib-dev:amd64 (3.12.1-6) ...
- Selecting previously unselected package liblapacke-dev:amd64.
- Preparing to unpack .../10-liblapacke-dev_3.12.1-6_amd64.deb ...
- Unpacking liblapacke-dev:amd64 (3.12.1-6) ...
- Selecting previously unselected package libopenblas0:amd64.
- Preparing to unpack .../11-libopenblas0_0.3.29+ds-3_amd64.deb ...
- Unpacking libopenblas0:amd64 (0.3.29+ds-3) ...
- Selecting previously unselected package libopenblas-dev:amd64.
- Preparing to unpack .../12-libopenblas-dev_0.3.29+ds-3_amd64.deb ...
- Unpacking libopenblas-dev:amd64 (0.3.29+ds-3) ...
- Setting up libblas3:amd64 (3.12.1-6) ...
- update-alternatives: using /usr/lib/x86_64-linux-gnu/blas/libblas.so.3 to provide /usr/lib/x86_64-linux-gnu/libblas.so.3 (libblas.so.3-x86_64-linux-gnu) in auto mode
- Setting up libgfortran5:amd64 (14.2.0-19) ...
- Setting up libblas-dev:amd64 (3.12.1-6) ...
- update-alternatives: using /usr/lib/x86_64-linux-gnu/blas/libblas.so to provide /usr/lib/x86_64-linux-gnu/libblas.so (libblas.so-x86_64-linux-gnu) in auto mode
- Setting up liblapack3:amd64 (3.12.1-6) ...
- update-alternatives: using /usr/lib/x86_64-linux-gnu/lapack/liblapack.so.3 to provide /usr/lib/x86_64-linux-gnu/liblapack.so.3 (liblapack.so.3-x86_64-linux-gnu) in auto mode
- Setting up libopenblas0-pthread:amd64 (0.3.29+ds-3) ...
- update-alternatives: using /usr/lib/x86_64-linux-gnu/openblas-pthread/libblas.so.3 to provide /usr/lib/x86_64-linux-gnu/libblas.so.3 (libblas.so.3-x86_64-linux-gnu) in auto mode
- update-alternatives: using /usr/lib/x86_64-linux-gnu/openblas-pthread/liblapack.so.3 to provide /usr/lib/x86_64-linux-gnu/liblapack.so.3 (liblapack.so.3-x86_64-linux-gnu) in auto mode
- update-alternatives: using /usr/lib/x86_64-linux-gnu/openblas-pthread/libopenblas.so.0 to provide /usr/lib/x86_64-linux-gnu/libopenblas.so.0 (libopenblas.so.0-x86_64-linux-gnu) in auto mode
- Setting up libtmglib3:amd64 (3.12.1-6) ...
- Setting up liblapack-dev:amd64 (3.12.1-6) ...
- update-alternatives: using /usr/lib/x86_64-linux-gnu/lapack/liblapack.so to provide /usr/lib/x86_64-linux-gnu/liblapack.so (liblapack.so-x86_64-linux-gnu) in auto mode
- Setting up libopenblas0:amd64 (0.3.29+ds-3) ...
- Setting up liblapacke:amd64 (3.12.1-6) ...
- Setting up libtmglib-dev:amd64 (3.12.1-6) ...
- Setting up libopenblas-pthread-dev:amd64 (0.3.29+ds-3) ...
- update-alternatives: using /usr/lib/x86_64-linux-gnu/openblas-pthread/libblas.so to provide /usr/lib/x86_64-linux-gnu/libblas.so (libblas.so-x86_64-linux-gnu) in auto mode
- update-alternatives: using /usr/lib/x86_64-linux-gnu/openblas-pthread/liblapack.so to provide /usr/lib/x86_64-linux-gnu/liblapack.so (liblapack.so-x86_64-linux-gnu) in auto mode
- update-alternatives: using /usr/lib/x86_64-linux-gnu/openblas-pthread/libopenblas.so to provide /usr/lib/x86_64-linux-gnu/libopenblas.so (libopenblas.so-x86_64-linux-gnu) in auto mode
- Setting up liblapacke-dev:amd64 (3.12.1-6) ...
- Setting up libopenblas-dev:amd64 (0.3.29+ds-3) ...
- Processing triggers for libc-bin (2.41-12) ...

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved conf-openblas.0.2.3  (cached)
-> installed conf-openblas.0.2.3
Done.
# To update the current shell environment, run: eval $(opam env)
2025-11-19 10:25.10 ---> saved as "4847915a0de358433cf79711e463e044b91cd3748d4b70682550aa2873fd9ee7"
Job succeeded
2025-11-19 10:25.16: Job succeeded