(for PR #29883)

2026-05-08 18:45.20: New job: build lstar-rocq.1.0, using opam dev
                              from https://github.com/ocaml/opam-repository.git#refs/pull/29883/head (e5ab047b033e89fa4026a3a78b062664a0cf8a36)
                              on centos-9-ocaml-4.14/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/29883/head" && git reset --hard e5ab047b
git fetch origin master
git merge --no-edit fc08333d1ba03c1ffbc960479a92aa94085c5f78
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:centos-9-ocaml-4.14@sha256:2a3041dead59ba91c8daf40ce4a12b161af3164fbbab0c0c127e17487bcb8997
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 lstar-rocq.1.0 1.0
RUN opam reinstall lstar-rocq.1.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 "\"centos-9\""; then \
    echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
    fi; \
    test "$pkg" != 'lstar-rocq.1.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 .

2026-05-08 18:45.20: Using cache hint "ocaml/opam:centos-9-ocaml-4.14@sha256:2a3041dead59ba91c8daf40ce4a12b161af3164fbbab0c0c127e17487bcb8997-lstar-rocq.1.0-e5ab047b033e89fa4026a3a78b062664a0cf8a36"
2026-05-08 18:45.20: Using OBuilder spec:
((from ocaml/opam:centos-9-ocaml-4.14@sha256:2a3041dead59ba91c8daf40ce4a12b161af3164fbbab0c0c127e17487bcb8997)
 (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 lstar-rocq.1.0 1.0"))
 (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
      (network host)
      (shell  "opam reinstall lstar-rocq.1.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 \"\\\"centos-9\\\"\"; then\
             \n            echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
             \n          fi;\
             \n          test \"$pkg\" != 'lstar-rocq.1.0' && partial_fails=\"$partial_fails $pkg\";\
             \n        done;\
             \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
             \n        exit 1"))
)

2026-05-08 18:45.20: Waiting for resource in pool OCluster
2026-05-08 18:45.20: Waiting for worker…
2026-05-08 18:45.24: Got resource from pool OCluster
Building on odawa.caelum.ci.dev
All commits already cached
HEAD is now at fc08333d1b Merge pull request #29875 from ocaml/mseri-patch-3
Updating fc08333d1b..e5ab047b03
Fast-forward
 packages/lstar-rocq/lstar-rocq.1.0/opam | 39 +++++++++++++++++++++++++++++++++
 packages/lstar/lstar.1.0/opam           | 38 ++++++++++++++++++++++++++++++++
 2 files changed, 77 insertions(+)
 create mode 100644 packages/lstar-rocq/lstar-rocq.1.0/opam
 create mode 100644 packages/lstar/lstar.1.0/opam

(from ocaml/opam:centos-9-ocaml-4.14@sha256:2a3041dead59ba91c8daf40ce4a12b161af3164fbbab0c0c127e17487bcb8997)
2026-05-08 18:46.50 ---> saved as "27fd50299db18ae81957577fd107fa6266aa2ba208f44e02d8edd9c543f35cfc"

/: (user (uid 1000) (gid 1000))

/: (workdir /home/opam)

/home/opam: (run (shell "sudo ln -f /usr/bin/opam-dev /usr/bin/opam"))
2026-05-08 18:46.50 ---> saved as "67e2f2849946a7e42da776124f8b06d619d0d223688e06d57a062d355f3d8ffd"

/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
2026-05-08 18:47.18 ---> saved as "bda473d5ffc0d17285c80954a2d12577b10eac0ff2f4d63a4354a9f89c8386d5"

/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.1
# self-upgrade         no
# system               arch=x86_64 os=linux os-distribution=centos os-version=9
# 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-base-compiler" {= "4.14.3"}]
# compiler-packages    ocaml-base-compiler.4.14.3, 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.3
2026-05-08 18:47.19 ---> saved as "b1dfb48110a62084f12ddeb682d66dbea52cba8555196b72767e0487e0373b76"

/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-05-08 18:47.45 ---> saved as "592952af9067bf491fc6a5b0e575b9aec01c40e2f8b5c1414ec0850019d58918"

/home/opam: (copy (src .) (dst opam-repository/))
2026-05-08 18:47.51 ---> saved as "1efec4481c40b16489ec7a74af24106d3bc85ea7690e6d8c83e81c7db00fd412"

/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2026-05-08 18:48.06 ---> saved as "014929412c16bd1043b0096e0c1b647d1eaafb3858ea581f8babb3836b68ecb0"

/home/opam: (run (network host)
                 (shell "opam update --depexts || true"))
+ /usr/bin/sudo "yum" "makecache"
- CentOS Stream 9 - BaseOS                        2.7 kB/s |  14 kB     00:05    
- CentOS Stream 9 - BaseOS                         14 MB/s | 8.9 MB     00:00    
- CentOS Stream 9 - AppStream                     107 kB/s |  14 kB     00:00    
- CentOS Stream 9 - AppStream                      13 MB/s |  27 MB     00:02    
- CentOS Stream 9 - CRB                           111 kB/s |  14 kB     00:00    
- CentOS Stream 9 - CRB                            10 MB/s | 8.0 MB     00:00    
- CentOS Stream 9 - Extras packages               129 kB/s |  16 kB     00:00    
- Metadata cache created.
2026-05-08 18:48.24 ---> saved as "2df2d7b2286da19e1c542356555aca29fae9f4467cd6429959a14569e1719d0e"

/home/opam: (run (shell "opam pin add -k version -yn lstar-rocq.1.0 1.0"))
lstar-rocq is now pinned to version 1.0
2026-05-08 18:48.25 ---> saved as "4644b89aeeb52e9ba442939efc09f3b7e731757c709e0c25babed92c5fdad05d"

/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
                 (network host)
                 (shell  "opam reinstall lstar-rocq.1.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 \"\\\"centos-9\\\"\"; then\
                        \n            echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
                        \n          fi;\
                        \n          test \"$pkg\" != 'lstar-rocq.1.0' && partial_fails=\"$partial_fails $pkg\";\
                        \n        done;\
                        \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
                        \n        exit 1"))
lstar-rocq.1.0 is not installed. Install it? [Y/n] y
The following actions will be performed:
=== install 11 packages
  - install conf-gmp            5            [required by zarith]
  - install conf-linux-libc-dev 0            [required by rocq-runtime]
  - install conf-pkg-config     4            [required by zarith]
  - install dune                3.23.0       [required by lstar-rocq]
  - install lstar-rocq          1.0 (pinned)
  - install ocamlfind           1.9.8        [required by rocq-runtime]
  - install rocq-core           9.1.1        [required by rocq-prover]
  - install rocq-prover         meta.1       [required by lstar-rocq]
  - install rocq-runtime        9.1.1        [required by rocq-core, rocq-stdlib]
  - install rocq-stdlib         9.0.0        [required by rocq-prover]
  - install zarith              1.14         [required by rocq-runtime]

The following system packages will first need to be installed:
    gmp-devel

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

opam believes some required external dependencies are missing. opam can:
> 1. Run yum to install them (may need root/sudo access)
  2. Display the recommended yum 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 "yum" "install" "-y" "gmp-devel"
- Last metadata expiration check: 0:00:04 ago on Fri May  8 18:48:23 2026.
- Dependencies resolved.
- ================================================================================
-  Package          Architecture  Version                  Repository        Size
- ================================================================================
- Installing:
-  gmp-devel        x86_64        1:6.2.0-13.el9           appstream        174 k
- Installing dependencies:
-  gmp-c++          x86_64        1:6.2.0-13.el9           appstream         19 k
- 
- Transaction Summary
- ================================================================================
- Install  2 Packages
- 
- Total download size: 193 k
- Installed size: 382 k
- Downloading Packages:
- (1/2): gmp-c++-6.2.0-13.el9.x86_64.rpm          743 kB/s |  19 kB     00:00    
- (2/2): gmp-devel-6.2.0-13.el9.x86_64.rpm        4.1 MB/s | 174 kB     00:00    
- --------------------------------------------------------------------------------
- Total                                           1.1 MB/s | 193 kB     00:00     
- Running transaction check
- Transaction check succeeded.
- Running transaction test
- Transaction test succeeded.
- Running transaction
-   Preparing        :                                                        1/1 
-   Installing       : gmp-c++-1:6.2.0-13.el9.x86_64                          1/2 
-   Installing       : gmp-devel-1:6.2.0-13.el9.x86_64                        2/2 
-   Running scriptlet: gmp-devel-1:6.2.0-13.el9.x86_64                        2/2 
-   Verifying        : gmp-c++-1:6.2.0-13.el9.x86_64                          1/2 
-   Verifying        : gmp-devel-1:6.2.0-13.el9.x86_64                        2/2 
- 
- Installed:
-   gmp-c++-1:6.2.0-13.el9.x86_64         gmp-devel-1:6.2.0-13.el9.x86_64        
- 
- Complete!
+ /usr/bin/rpm "-q" "--whatprovides" "gmp-devel"
- gmp-devel-6.2.0-13.el9.x86_64

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved conf-gmp.5  (cached)
-> installed conf-gmp.5
-> installed conf-pkg-config.4
-> installed conf-linux-libc-dev.0
-> retrieved dune.3.23.0  (cached)
-> retrieved lstar-rocq.1.0  (cached)
-> retrieved ocamlfind.1.9.8  (cached)
-> retrieved rocq-core.9.1.1, rocq-runtime.9.1.1  (https://opam.ocaml.org/cache)
-> retrieved rocq-stdlib.9.0.0  (https://opam.ocaml.org/cache)
-> retrieved zarith.1.14  (cached)
-> installed ocamlfind.1.9.8
-> installed zarith.1.14
-> installed dune.3.23.0
-> installed rocq-runtime.9.1.1
-> installed rocq-core.9.1.1
-> installed rocq-stdlib.9.0.0
-> installed rocq-prover.meta.1
-> installed lstar-rocq.1.0
Done.
# To update the current shell environment, run: eval $(opam env)
2026-05-08 18:51.14 ---> saved as "4ae56acce62b3949aaa970870178b19905c26362e126c5f98e317616260ca4ec"
Job succeeded
2026-05-08 18:51.18: Job succeeded