(for PR #28419)

2025-10-17 13:54.20: New job: build cvc5.1.3.0-1, using opam dev
                              from https://github.com/ocaml/opam-repository.git#refs/pull/28419/head (473c4e5e91f30596dff4115afc922c6579592316)
                              on opensuse-15.6-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/28419/head" && git reset --hard 473c4e5e
git fetch origin master
git merge --no-edit 5bf570252bd9fee71938b828ca0b86573c1e3355
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:opensuse-15.6-ocaml-5.4@sha256:fe2a418a272505e34af7279195a64d61033d33f8adf79a5655694880bf3ff16e
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 cvc5.1.3.0-1 1.3.0-1
RUN opam reinstall cvc5.1.3.0-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 "\"opensuse-15.6\""; then \
    echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
    fi; \
    test "$pkg" != 'cvc5.1.3.0-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 .

2025-10-17 13:54.20: Using cache hint "ocaml/opam:opensuse-15.6-ocaml-5.4@sha256:fe2a418a272505e34af7279195a64d61033d33f8adf79a5655694880bf3ff16e-cvc5.1.3.0-1-473c4e5e91f30596dff4115afc922c6579592316"
2025-10-17 13:54.20: Using OBuilder spec:
((from ocaml/opam:opensuse-15.6-ocaml-5.4@sha256:fe2a418a272505e34af7279195a64d61033d33f8adf79a5655694880bf3ff16e)
 (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 cvc5.1.3.0-1 1.3.0-1"))
 (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
      (network host)
      (shell  "opam reinstall cvc5.1.3.0-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 \"\\\"opensuse-15.6\\\"\"; then\
             \n            echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
             \n          fi;\
             \n          test \"$pkg\" != 'cvc5.1.3.0-1' && partial_fails=\"$partial_fails $pkg\";\
             \n        done;\
             \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
             \n        exit 1"))
)

2025-10-17 13:54.20: Connecting to build cluster…
2025-10-17 13:54.20: Waiting for resource in pool OCluster
2025-10-17 14:15.36: Waiting for worker…
2025-10-17 14:23.32: Got resource from pool OCluster
Building on eumache
All commits already cached
HEAD is now at 5bf570252b Merge pull request #28700 from drjdn/opam-publish-p5scm.0.5.0
Merge made by the 'ort' strategy.
 packages/cvc5/cvc5.1.3.0-1/opam | 47 +++++++++++++++++++++++++++++++++++++++++
 1 file changed, 47 insertions(+)
 create mode 100644 packages/cvc5/cvc5.1.3.0-1/opam

(from ocaml/opam:opensuse-15.6-ocaml-5.4@sha256:fe2a418a272505e34af7279195a64d61033d33f8adf79a5655694880bf3ff16e)
Unable to find image 'ocaml/opam:opensuse-15.6-ocaml-5.4@sha256:fe2a418a272505e34af7279195a64d61033d33f8adf79a5655694880bf3ff16e' locally
docker.io/ocaml/opam@sha256:fe2a418a272505e34af7279195a64d61033d33f8adf79a5655694880bf3ff16e: Pulling from ocaml/opam
2449996ea11e: Pulling fs layer
2449996ea11e: Waiting
2449996ea11e: Verifying Checksum
2449996ea11e: Download complete
2449996ea11e: Pull complete
Digest: sha256:fe2a418a272505e34af7279195a64d61033d33f8adf79a5655694880bf3ff16e
Status: Downloaded newer image for ocaml/opam@sha256:fe2a418a272505e34af7279195a64d61033d33f8adf79a5655694880bf3ff16e
2025-10-17 14:23.34 ---> using "54642271b5fd1794804a7e8fc5562b04333800470855a2ac9039c55ae383833a" 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-10-17 14:23.34 ---> using "9e0ee0eb597e4ccd94eb3c8567cead2f66f9c8b62a0d3fc54b6e323e99c1a05e" 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-10-17 14:23.34 ---> using "3d33597061dbd5b19481d1bdbc3c85418a03a50a58809ae976919f132c701e50" 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=opensuse-leap os-version=15.6
# 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       5.4
# invariant            ["ocaml-base-compiler" {>= "5.4.0"}]
# compiler-packages    ocaml-base-compiler.5.4.0, ocaml-compiler.5.4.0, ocaml-options-vanilla.1
# ocaml:native         true
# ocaml:native-tools   true
# ocaml:native-dynlink true
# ocaml:stubsdir       /home/opam/.opam/5.4/lib/ocaml/stublibs:/home/opam/.opam/5.4/lib/ocaml
# ocaml:preinstalled   false
# ocaml:compiler       5.4.0
2025-10-17 14:23.34 ---> using "699e285d7fb9c2a697612b087231755280499f68649317dbe7af1da4e4877e1d" 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-10-17 14:23.34 ---> using "ba265e0d39dc0120497943f660c0eab8f0289d9fbec3942fc72193960f0182db" from cache

/home/opam: (copy (src .) (dst opam-repository/))
2025-10-17 14:23.35 ---> using "af9ddfa7a574601b9d515f4e441a44e733a99d299c7b39460253e3cc28d4c007" from cache

/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2025-10-17 14:23.35 ---> using "5e392d32e1bca03236d0bc286466bf693810f40ef08c5828554fbb4cc1c2b845" from cache

/home/opam: (run (network host)
                 (shell "opam update --depexts || true"))
+ /usr/bin/sudo "zypper" "--non-interactive" "refresh"
- Retrieving repository 'Update repository of openSUSE Backports' metadata [.
- ..
- Looking for gpg keys in repository Update repository of openSUSE Backports.
-   gpgkey=http://download.opensuse.org/update/leap/15.6/backports/repodata/repomd.xml.key
- ..
- ........
- .............
- ......
- ....
- ....
- ....
- ....
- ......
- .........
- ....
- ......
- ........
- .........
- .......
- .......
- ......
- ......
- ....
- .......
- ........
- ........
- .........
- .........
- ........
- .........
- ........
- ......
- ........
- .......
- .......
- .......
- .....
- .......
- ........
- ........
- ....
- ..........
- ......
- .......
- .......
- .......
- ......
- ......
- .......
- .........
- .done]
- Building repository 'Update repository of openSUSE Backports' cache [....done]
- Retrieving repository 'Update repository with updates from SUSE Linux Enterprise 15' metadata [.
- .
- Looking for gpg keys in repository Update repository with updates from SUSE Linux Enterprise 15.
-   gpgkey=http://download.opensuse.org/update/leap/15.6/sle/repodata/repomd.xml.key
- .
- .....
- ....
- ....
- ....
- ....
- .
- ......
- ........
- .....
- .......
- .........
- .........
- ........
- ........
- ........
- .........
- ........
- .........
- ..........
- ........
- ........
- ......
- .........
- ........
- .........
- ........
- .........
- ........
- ........
- .......
- ........
- .......
- .....
- .....
- ........
- ........
- .....
- .........
- .....
- ........
- .......
- .........
- ..
- .
- .......
- ........
- ....
- ...
- ........
- ......
- ....
- .
- ........
- .......
- ........
- ........
- .........
- ..
- ........
- .......
- .......
- ......
- ......
- .......
- ........
- ......
- .......
- .......
- .......
- ........
- .....
- ..
- ........
- ........
- .........
- .......
- .........
- .........
- .........
- .........
- .........
- .......
- .......
- .........
- ........
- .......
- ........
- .......
- .........
- .......
- .....
- .......
- .......
- ......
- ........
- ........
- .........
- ........
- .........
- .........
- .......
- ........
- .......
- ........
- .........
- ........
- .........
- ........
- .......
- .........
- .........
- .........
- ........
- .........
- .......
- ........
- ........
- .........
- .........
- ........
- .........
- .......
- .........
- .........
- ........
- .........
- .......
- .......
- .........
- ........
- .........
- .........
- ........
- .........
- ....
- ........
- .........
- .........
- .........
- ........
- .........
- .........
- .........
- .........
- .........
- .........
- ........
- ........
- .........
- .........
- ..........
- ........
- .........
- .....
- .......
- .........
- .......
- .........
- ........
- .........
- ........
- ..........
- ........
- ..........
- ........
- ........
- .........
- .........
- ........
- .........
- ........
- ........
- .........
- .........
- .........
- .........
- .........
- .........
- ..........
- ........
- .........
- ......
- .........
- .......
- .........
- ........
- .........
- .......
- ........
- ........
- .........
- ........
- .........
- .......
- ........
- ......
- .......
- .....
- ..
- .........
- ........
- .........
- ........
- .........
- ......
- .........
- .......
- ........
- ........
- .........
- ......
- ........
- ......
- ....
- ..
- ..
- .......
- ........
- .......
- .....
- ........
- .......
- ........
- ........
- .........
- .........
- ........
- .........
- ....
- ......
- ........
- .....
- ........
- .........
- .........
- ......
- .....
- .........
- ........
- .........
- .......
- .......
- ........
- .........
- .........
- ........
- ........
- ........
- .........
- ........
- .........
- ........
- .........
- .........
- .........
- ........
- ........
- .........
- .........
- .........
- ..
- .....
- ........
- .........
- .......
- ........
- .........
- ........
- .........
- ........
- ........
- .........
- .........
- ........
- .........
- .........
- .........
- ........
- .........
- .........
- .........
- ........
- .......
- ......
- .......
- .......
- ........
- .....
- .........
- ......
- .......
- .........
- ..........
- ........
- .........
- .........
- .........
- .........
- ........
- ........
- .........
- .........
- .........
- .........
- .........
- .........
- ........
- .........
- .........
- .........
- .........
- .........
- .........
- ........
- .........
- .........
- .........
- .........
- ........
- .........
- ........
- .........
- ...
- ...
- .........
- ........
- .........
- .........
- .........
- .........
- .........
- ........
- .........
- .........
- .........
- ........
- .........
- .........
- ........
- .........
- .........
- ..........
- .........
- ........
- .........
- .........
- .........
- .........
- .........
- .........
- .........
- .........
- ........
- .........
- .........
- .........
- .........
- ........
- ........
- .........
- ........
- .........
- ........
- ..........
- .........
- .........
- ....
- ...
- ........
- .........
- ......
- .
- ...
- .........
- ........
- .........
- .........
- .........
- .........
- ....
- done]
- Building repository 'Update repository with updates from SUSE Linux Enterprise 15' cache [..
- ..done]
- Repository 'Main Update Repository' is up to date.
- Repository 'Update Repository (Non-Oss)' is up to date.
- Repository 'Non-OSS Repository' is up to date.
- Repository 'Main Repository' is up to date.
- All repositories have been refreshed.
2025-10-17 14:28.54 ---> saved as "9fc15e312cf16f32f4925b9aedab82168d4d0b906c818a519da31c3990f667e3"

/home/opam: (run (shell "opam pin add -k version -yn cvc5.1.3.0-1 1.3.0-1"))
cvc5 is now pinned to version 1.3.0-1
2025-10-17 14:28.55 ---> saved as "953d15698537cee5c5c9e93e26cf15de7be53cdfa33120d710ae46aefdc4e954"

/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
                 (network host)
                 (shell  "opam reinstall cvc5.1.3.0-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 \"\\\"opensuse-15.6\\\"\"; then\
                        \n            echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
                        \n          fi;\
                        \n          test \"$pkg\" != 'cvc5.1.3.0-1' && partial_fails=\"$partial_fails $pkg\";\
                        \n        done;\
                        \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
                        \n        exit 1"))
cvc5.1.3.0-1 is not installed. Install it? [Y/n] y
The following actions will be performed:
=== install 10 packages
  - install conf-cmake             1                [required by cvc5]
  - install conf-g++               1.0              [required by cvc5]
  - install conf-gcc               1.0              [required by cvc5]
  - install conf-gmp               5                [required by cvc5]
  - install conf-python-3          9.0.0            [required by cvc5]
  - install conf-python-3-dev      1                [required by cvc5]
  - install conf-python3-pyparsing 1                [required by cvc5]
  - install conf-python3-tomli     1                [required by cvc5]
  - install cvc5                   1.3.0-1 (pinned)
  - install dune                   3.20.2           [required by cvc5]

The following system packages will first need to be installed:
    cmake gmp-devel python-tomli python3 python3-devel python3-pyparsing

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

opam believes some required external dependencies are missing. opam can:
> 1. Run zypper to install them (may need root/sudo access)
  2. Display the recommended zypper 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 "zypper" "--non-interactive" "install" "cmake" "gmp-devel" "python-tomli" "python3" "python3-devel" "python3-pyparsing"
- Loading repository data...
- Reading installed packages...
[ERROR] System package install failed with exit code 104 at command:
            sudo zypper --non-interactive install cmake gmp-devel python-tomli python3 python3-devel python3-pyparsing
- Package 'python-tomli' not found.
[ERROR] These packages are still missing: cmake gmp-devel python-tomli python3 python3-devel python3-pyparsing

[NOTE] You can retry with '--assume-depexts' to skip this check, or run 'opam option depext=false' to permanently disable handling of system packages.

"/usr/bin/env" "bash" "-c" "opam reinstall cvc5.1.3.0-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 "\"opensuse-15.6\""; then
            echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.";
          fi;
          test "$pkg" != 'cvc5.1.3.0-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 10
2025-10-17 14:29.09: Job failed: Failed: Build failed
2025-10-17 14:29.09: Log analysis:
2025-10-17 14:29.09: >>> 
[ERROR] System package install failed with exit code 104 at command:
 (score = 20)
2025-10-17 14:29.09: >>> 
[ERROR] These packages are still missing: cmake gmp-devel python-tomli python3 python3-devel python3-pyparsing
 (score = 20)
2025-10-17 14:29.09: System package install failed with exit code 104 at command: