(for PR #26626)

2025-02-10 18:18.10: New job: test alt-ergo-plugin-ab-why3.2.5.2 with conf-gmp.4, using opam dev
                              from https://github.com/ocaml/opam-repository.git#refs/pull/26626/head (f0506c7525c71122bbde4b8548e98795d0ded492)
                              on debian-12-ocaml-5.3/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/26626/head" && git reset --hard f0506c75
git fetch origin master
git merge --no-edit 36f4d2d5ceb882a79fd7d7f956b490201da67226
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-12-ocaml-5.3@sha256:2ebf84c1b80d45bd693320d055f608b32529285fcbeeb35803f2ce50d3048683
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-gmp.4 4
RUN opam reinstall conf-gmp.4; \
    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-12\""; then \
    echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
    fi; \
    test "$pkg" != 'conf-gmp.4' && partial_fails="$partial_fails $pkg"; \
    done; \
    test "${partial_fails}" != "" && echo "opam-repo-ci detected dependencies failing: ${partial_fails}"; \
    exit 1
RUN opam reinstall alt-ergo-plugin-ab-why3.2.5.2; \
    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-12\""; then \
    echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
    fi; \
    test "$pkg" != 'alt-ergo-plugin-ab-why3.2.5.2' && partial_fails="$partial_fails $pkg"; \
    done; \
    test "${partial_fails}" != "" && echo "opam-repo-ci detected dependencies failing: ${partial_fails}"; \
    exit 1
RUN (opam reinstall --with-test alt-ergo-plugin-ab-why3.2.5.2) || true
RUN opam reinstall --with-test --verbose alt-ergo-plugin-ab-why3.2.5.2; \
    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-12\""; then \
    echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
    fi; \
    test "$pkg" != 'alt-ergo-plugin-ab-why3.2.5.2' && 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-02-10 18:18.10: Using cache hint "ocaml/opam:debian-12-ocaml-5.3@sha256:2ebf84c1b80d45bd693320d055f608b32529285fcbeeb35803f2ce50d3048683-conf-gmp.4-alt-ergo-plugin-ab-why3.2.5.2-f0506c7525c71122bbde4b8548e98795d0ded492"
2025-02-10 18:18.10: Using OBuilder spec:
((from ocaml/opam:debian-12-ocaml-5.3@sha256:2ebf84c1b80d45bd693320d055f608b32529285fcbeeb35803f2ce50d3048683)
 (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-gmp.4 4"))
 (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
      (network host)
      (shell  "opam reinstall conf-gmp.4;\
             \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-12\\\"\"; 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-gmp.4' && partial_fails=\"$partial_fails $pkg\";\
             \n        done;\
             \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
             \n        exit 1"))
 (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
      (network host)
      (shell  "opam reinstall alt-ergo-plugin-ab-why3.2.5.2;\
             \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-12\\\"\"; then\
             \n            echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
             \n          fi;\
             \n          test \"$pkg\" != 'alt-ergo-plugin-ab-why3.2.5.2' && partial_fails=\"$partial_fails $pkg\";\
             \n        done;\
             \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
             \n        exit 1"))
 (run (network host)
      (shell "(opam reinstall --with-test alt-ergo-plugin-ab-why3.2.5.2) || true"))
 (run (shell  "opam reinstall --with-test --verbose alt-ergo-plugin-ab-why3.2.5.2;\
             \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-12\\\"\"; then\
             \n            echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
             \n          fi;\
             \n          test \"$pkg\" != 'alt-ergo-plugin-ab-why3.2.5.2' && partial_fails=\"$partial_fails $pkg\";\
             \n        done;\
             \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
             \n        exit 1"))
)

2025-02-10 18:18.10: Waiting for resource in pool OCluster
2025-02-12 01:55.42: Waiting for worker…
2025-02-12 01:58.52: Got resource from pool OCluster
Building on x86-bm-c8.sw.ocaml.org
All commits already cached
Updating files:  56% (13112/23303)
Updating files:  57% (13283/23303)
Updating files:  58% (13516/23303)
Updating files:  59% (13749/23303)
Updating files:  60% (13982/23303)
Updating files:  61% (14215/23303)
Updating files:  62% (14448/23303)
Updating files:  63% (14681/23303)
Updating files:  64% (14914/23303)
Updating files:  65% (15147/23303)
Updating files:  66% (15380/23303)
Updating files:  67% (15614/23303)
Updating files:  68% (15847/23303)
Updating files:  69% (16080/23303)
Updating files:  70% (16313/23303)
Updating files:  71% (16546/23303)
Updating files:  72% (16779/23303)
Updating files:  73% (17012/23303)
Updating files:  74% (17245/23303)
Updating files:  75% (17478/23303)
Updating files:  76% (17711/23303)
Updating files:  77% (17944/23303)
Updating files:  78% (18177/23303)
Updating files:  79% (18410/23303)
Updating files:  80% (18643/23303)
Updating files:  81% (18876/23303)
Updating files:  82% (19109/23303)
Updating files:  83% (19342/23303)
Updating files:  84% (19575/23303)
Updating files:  85% (19808/23303)
Updating files:  86% (20041/23303)
Updating files:  87% (20274/23303)
Updating files:  88% (20507/23303)
Updating files:  89% (20740/23303)
Updating files:  90% (20973/23303)
Updating files:  91% (21206/23303)
Updating files:  92% (21439/23303)
Updating files:  93% (21672/23303)
Updating files:  94% (21905/23303)
Updating files:  95% (22138/23303)
Updating files:  96% (22371/23303)
Updating files:  97% (22604/23303)
Updating files:  98% (22837/23303)
Updating files:  99% (23070/23303)
Updating files: 100% (23303/23303)
Updating files: 100% (23303/23303), done.
HEAD is now at 36f4d2d5ce Merge pull request #27169 from Frigory33/release-allegro5-0.1
Merge made by the 'ort' strategy.
 packages/conf-gmp/conf-gmp.4/opam | 2 ++
 1 file changed, 2 insertions(+)

(from ocaml/opam:debian-12-ocaml-5.3@sha256:2ebf84c1b80d45bd693320d055f608b32529285fcbeeb35803f2ce50d3048683)
Unable to find image 'ocaml/opam:debian-12-ocaml-5.3@sha256:2ebf84c1b80d45bd693320d055f608b32529285fcbeeb35803f2ce50d3048683' locally
docker.io/ocaml/opam@sha256:2ebf84c1b80d45bd693320d055f608b32529285fcbeeb35803f2ce50d3048683: Pulling from ocaml/opam
a7d4498d29fd: Pulling fs layer
a7d4498d29fd: Download complete
a7d4498d29fd: Pull complete
Digest: sha256:2ebf84c1b80d45bd693320d055f608b32529285fcbeeb35803f2ce50d3048683
Status: Downloaded newer image for ocaml/opam@sha256:2ebf84c1b80d45bd693320d055f608b32529285fcbeeb35803f2ce50d3048683
2025-02-12 01:58.56 ---> using "2eea5bde28725c99a87e1f2a5b147a024a046c2a06cd3ab003a93e0be5a0f139" 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-02-12 01:58.56 ---> using "88186dbc3508db9ea08ddebc1085e9bfd977ff51a8aa06e73caed7f922db43fc" 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 development 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 39 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=39 --global
Format upgrade done.

<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[opam-repository-archive] no changes from git+https://github.com/ocaml/opam-repository-archive
[default] synchronised from file:///home/opam/opam-repository
2025-02-12 01:58.56 ---> using "d156e62450e17e03814e3980a64c0012ea73d3eb21216bc40a494f13df757607" 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.0~alpha1~dev (747e73667ad9d054b0f736be205c0013e1bec087)
# self-upgrade         no
# system               arch=x86_64 os=linux os-distribution=debian os-version=12
# solver               builtin-0install
# install-criteria     -changed,-count[avoid-version,solution]
# upgrade-criteria     -count[avoid-version,solution]
# jobs                 31
# repositories         1 (local), 1 (version-controlled)
# pinned               1 (version)
# current-switch       5.3
# invariant            ["ocaml-base-compiler" {>= "5.3.0"}]
# compiler-packages    ocaml-base-compiler.5.3.0, ocaml-compiler.5.3.0, ocaml-options-vanilla.1
# ocaml:native         true
# ocaml:native-tools   true
# ocaml:native-dynlink true
# ocaml:stubsdir       /home/opam/.opam/5.3/lib/ocaml/stublibs:/home/opam/.opam/5.3/lib/ocaml
# ocaml:preinstalled   false
# ocaml:compiler       5.3.0
2025-02-12 01:58.56 ---> using "e4d817dc9e39278825c22b99161bb0e397890509ba9b4e4dd0ac5ffc302bedfd" 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-02-12 01:58.56 ---> using "5062cfb9d7669b5e1598a0907630fe7ef6fc4e76142fbea3736fa476d97f9b73" from cache

/home/opam: (copy (src .) (dst opam-repository/))
2025-02-12 01:58.58 ---> using "bc8af134384d9758a64c4a52fe3cd7e2281798e108ccc0b999923e2b11741a5f" from cache

/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2025-02-12 01:58.58 ---> using "e1f0db7254f24a6c78ef8026c4a94eaca62a2faed823856dd437f212eb2db0e0" from cache

/home/opam: (run (network host)
                 (shell "opam update --depexts || true"))
+ /usr/bin/sudo "apt-get" "update"
- Hit:1 http://deb.debian.org/debian bookworm InRelease
- Get:2 http://deb.debian.org/debian bookworm-updates InRelease [55.4 kB]
- Get:3 http://deb.debian.org/debian-security bookworm-security InRelease [48.0 kB]
- Get:4 http://deb.debian.org/debian-security bookworm-security/main amd64 Packages [245 kB]
- Fetched 348 kB in 0s (1217 kB/s)
- Reading package lists...
- 
2025-02-12 01:58.58 ---> using "4b225d785a2d5b579f0c17b3fd9ff4cd979ed273b6eb8e25657c81e15b66bff8" from cache

/home/opam: (run (shell "opam pin add -k version -yn conf-gmp.4 4"))
conf-gmp is now pinned to version 4
2025-02-12 01:58.58 ---> using "d80d6a9e08e4cafdfc4361b9a288ddb6ec1bbbf60c921a5fbe0827a904084c00" from cache

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

The following system packages will first need to be installed:
    libgmp-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" "libgmp-dev"
- debconf: delaying package configuration, since apt-utils is not installed
- Selecting previously unselected package libgmpxx4ldbl: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 ... 18776 files and directories currently installed.)
- Preparing to unpack .../libgmpxx4ldbl_2%3a6.2.1+dfsg1-1.1_amd64.deb ...
- Unpacking libgmpxx4ldbl:amd64 (2:6.2.1+dfsg1-1.1) ...
- Selecting previously unselected package libgmp-dev:amd64.
- Preparing to unpack .../libgmp-dev_2%3a6.2.1+dfsg1-1.1_amd64.deb ...
- Unpacking libgmp-dev:amd64 (2:6.2.1+dfsg1-1.1) ...
- Setting up libgmpxx4ldbl:amd64 (2:6.2.1+dfsg1-1.1) ...
- Setting up libgmp-dev:amd64 (2:6.2.1+dfsg1-1.1) ...
- Processing triggers for libc-bin (2.36-9+deb12u9) ...

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved conf-gmp.4  (cached)
-> installed conf-gmp.4
Done.
# To update the current shell environment, run: eval $(opam env)
2025-02-12 01:58.58 ---> using "2211eec06d2a9650704c50726a61e63d031cfe7ec451d59fd139bee7ac146d48" from cache

/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
                 (network host)
                 (shell  "opam reinstall alt-ergo-plugin-ab-why3.2.5.2;\
                        \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-12\\\"\"; then\
                        \n            echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
                        \n          fi;\
                        \n          test \"$pkg\" != 'alt-ergo-plugin-ab-why3.2.5.2' && partial_fails=\"$partial_fails $pkg\";\
                        \n        done;\
                        \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
                        \n        exit 1"))
alt-ergo-plugin-ab-why3.2.5.2 is not installed. Install it? [Y/n] y
The following actions will be performed:
=== install 43 packages
  - install alt-ergo                2.5.2    [required by alt-ergo-plugin-ab-why3]
  - install alt-ergo-lib            2.5.2    [required by alt-ergo-plugin-ab-why3]
  - install alt-ergo-parsers        2.5.2    [required by alt-ergo-plugin-ab-why3]
  - install alt-ergo-plugin-ab-why3 2.5.2
  - install camlzip                 1.13     [required by alt-ergo-lib]
  - install cmdliner                1.3.0    [required by alt-ergo]
  - install conf-pkg-config         4        [required by zarith]
  - install conf-zlib               1        [required by camlzip]
  - install csexp                   1.5.2    [required by dune-private-libs]
  - install dolmen                  0.9      [required by alt-ergo-lib]
  - install dolmen_loop             0.9      [required by alt-ergo-lib]
  - install dolmen_type             0.9      [required by alt-ergo-lib]
  - install dune                    3.17.2   [required by alt-ergo-plugin-ab-why3]
  - install dune-build-info         3.17.2   [required by alt-ergo-lib]
  - install dune-private-libs       3.17.2   [required by dune-site]
  - install dune-site               3.17.2   [required by alt-ergo]
  - install dyn                     3.17.2   [required by dune-private-libs]
  - install fmt                     0.9.0    [required by alt-ergo-lib]
  - install gen                     1.1      [required by dolmen_loop]
  - install logs                    0.7.0    [required by ocplib-simplex]
  - install menhir                  20240715 [required by alt-ergo]
  - install menhirCST               20240715 [required by menhir]
  - install menhirLib               20240715 [required by menhir]
  - install menhirSdk               20240715 [required by menhir]
  - install ocaml-compiler-libs     v0.17.0  [required by ppxlib]
  - install ocamlbuild              0.15.0   [required by fmt, logs]
  - install ocamlfind               1.9.8    [required by ocplib-simplex, camlzip, zarith]
  - install ocplib-simplex          0.5.1    [required by alt-ergo-lib]
  - install ordering                3.17.2   [required by dyn, stdune]
  - install pp                      2.0.0    [required by dune-private-libs]
  - install pp_loc                  2.1.0    [required by dolmen_loop]
  - install ppx_blob                0.9.0    [required by alt-ergo-lib]
  - install ppx_derivers            1.2.1    [required by ppxlib]
  - install ppxlib                  0.35.0   [required by ppx_blob]
  - install psmt2-frontend          0.4.0    [required by alt-ergo-parsers]
  - install seq                     base     [required by alt-ergo-lib]
  - install sexplib0                v0.17.0  [required by ppxlib]
  - install spelll                  0.4      [required by dolmen_type]
  - install stdlib-shims            0.3.0    [required by alt-ergo-lib, alt-ergo-parsers]
  - install stdune                  3.17.2   [required by dune-private-libs]
  - install topkg                   1.0.7    [required by fmt, logs]
  - install uutf                    1.0.3    [required by dolmen_type]
  - install zarith                  1.14     [required by alt-ergo-lib]

The following system packages will first need to be installed:
    pkg-config zlib1g-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" "pkg-config" "zlib1g-dev"
- debconf: delaying package configuration, since apt-utils is not installed
- Selecting previously unselected package libpkgconf3: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 ... 18798 files and directories currently installed.)
- Preparing to unpack .../libpkgconf3_1.8.1-1_amd64.deb ...
- Unpacking libpkgconf3:amd64 (1.8.1-1) ...
- Selecting previously unselected package pkgconf-bin.
- Preparing to unpack .../pkgconf-bin_1.8.1-1_amd64.deb ...
- Unpacking pkgconf-bin (1.8.1-1) ...
- Selecting previously unselected package pkgconf:amd64.
- Preparing to unpack .../pkgconf_1.8.1-1_amd64.deb ...
- Unpacking pkgconf:amd64 (1.8.1-1) ...
- Selecting previously unselected package pkg-config:amd64.
- Preparing to unpack .../pkg-config_1.8.1-1_amd64.deb ...
- Unpacking pkg-config:amd64 (1.8.1-1) ...
- Selecting previously unselected package zlib1g-dev:amd64.
- Preparing to unpack .../zlib1g-dev_1%3a1.2.13.dfsg-1_amd64.deb ...
- Unpacking zlib1g-dev:amd64 (1:1.2.13.dfsg-1) ...
- Setting up libpkgconf3:amd64 (1.8.1-1) ...
- Setting up pkgconf-bin (1.8.1-1) ...
- Setting up zlib1g-dev:amd64 (1:1.2.13.dfsg-1) ...
- Setting up pkgconf:amd64 (1.8.1-1) ...
- Setting up pkg-config:amd64 (1.8.1-1) ...
- Processing triggers for libc-bin (2.36-9+deb12u9) ...

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved alt-ergo.2.5.2, alt-ergo-lib.2.5.2, alt-ergo-parsers.2.5.2, alt-ergo-plugin-ab-why3.2.5.2  (cached)
-> retrieved camlzip.1.13  (cached)
-> retrieved cmdliner.1.3.0  (cached)
-> retrieved csexp.1.5.2  (cached)
-> installed conf-pkg-config.4
-> installed conf-zlib.1
-> retrieved dolmen.0.9, dolmen_loop.0.9, dolmen_type.0.9  (cached)
-> retrieved dune.3.17.2, dune-build-info.3.17.2, dune-private-libs.3.17.2, dune-site.3.17.2, dyn.3.17.2, ordering.3.17.2, stdune.3.17.2  (cached)
-> retrieved fmt.0.9.0  (cached)
-> retrieved gen.1.1  (cached)
-> retrieved logs.0.7.0  (cached)
-> retrieved menhir.20240715, menhirCST.20240715, menhirLib.20240715, menhirSdk.20240715  (cached)
-> installed cmdliner.1.3.0
-> retrieved ocaml-compiler-libs.v0.17.0  (cached)
-> retrieved ocamlbuild.0.15.0  (cached)
-> retrieved ocamlfind.1.9.8  (cached)
-> retrieved ocplib-simplex.0.5.1  (cached)
-> retrieved pp.2.0.0  (cached)
-> retrieved pp_loc.2.1.0  (cached)
-> retrieved ppx_blob.0.9.0  (cached)
-> retrieved ppx_derivers.1.2.1  (cached)
-> retrieved ppxlib.0.35.0  (cached)
-> retrieved psmt2-frontend.0.4.0  (cached)
-> retrieved seq.base  (cached)
-> installed seq.base
-> retrieved sexplib0.v0.17.0  (cached)
-> retrieved spelll.0.4  (cached)
-> retrieved stdlib-shims.0.3.0  (cached)
-> retrieved topkg.1.0.7  (cached)
-> retrieved uutf.1.0.3  (cached)
-> retrieved zarith.1.14  (cached)
-> installed ocamlfind.1.9.8
-> installed camlzip.1.13
-> installed ocamlbuild.0.15.0
-> installed zarith.1.14
-> installed topkg.1.0.7
-> installed uutf.1.0.3
-> installed fmt.0.9.0
-> installed logs.0.7.0
-> installed dune.3.17.2
-> installed csexp.1.5.2
-> installed gen.1.1
-> installed menhirCST.20240715
-> installed menhirLib.20240715
-> installed menhirSdk.20240715
-> installed ocaml-compiler-libs.v0.17.0
-> installed ocplib-simplex.0.5.1
-> installed ppx_derivers.1.2.1
-> installed pp.2.0.0
-> installed stdlib-shims.0.3.0
-> installed pp_loc.2.1.0
-> installed spelll.0.4
-> installed sexplib0.v0.17.0
-> installed dune-build-info.3.17.2
-> installed ordering.3.17.2
-> installed dyn.3.17.2
-> installed stdune.3.17.2
-> installed dune-private-libs.3.17.2
-> installed dune-site.3.17.2
-> installed menhir.20240715
-> installed ppxlib.0.35.0
-> installed psmt2-frontend.0.4.0
-> installed ppx_blob.0.9.0
-> installed dolmen.0.9
-> installed dolmen_type.0.9
-> installed dolmen_loop.0.9
-> installed alt-ergo-lib.2.5.2
-> installed alt-ergo-parsers.2.5.2
-> installed alt-ergo.2.5.2
-> installed alt-ergo-plugin-ab-why3.2.5.2
Done.
# To update the current shell environment, run: eval $(opam env)
2025-02-12 02:02.35 ---> saved as "c339045a6d9a655625b93c1379ce6438fcfa7d6ff927eeea52446db64cc4a19a"

/home/opam: (run (network host)
                 (shell "(opam reinstall --with-test alt-ergo-plugin-ab-why3.2.5.2) || true"))
The following actions will be performed:
=== recompile 1 package
  - recompile alt-ergo-plugin-ab-why3 2.5.2

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved alt-ergo-plugin-ab-why3.2.5.2  (https://github.com/OCamlPro/alt-ergo/releases/download/v2.5.2/alt-ergo-2.5.2.tbz)
-> removed   alt-ergo-plugin-ab-why3.2.5.2
-> installed alt-ergo-plugin-ab-why3.2.5.2
Done.
# To update the current shell environment, run: eval $(opam env)
2025-02-12 02:02.52 ---> saved as "48bb214421459e1e50ba5bc6a333351e8e06c89a55c8c032ff497108ffa5ef5e"

/home/opam: (run (shell  "opam reinstall --with-test --verbose alt-ergo-plugin-ab-why3.2.5.2;\
                        \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-12\\\"\"; then\
                        \n            echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
                        \n          fi;\
                        \n          test \"$pkg\" != 'alt-ergo-plugin-ab-why3.2.5.2' && partial_fails=\"$partial_fails $pkg\";\
                        \n        done;\
                        \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
                        \n        exit 1"))
The following actions will be performed:
=== recompile 1 package
  - recompile alt-ergo-plugin-ab-why3 2.5.2

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
Processing  1/4: [alt-ergo-plugin-ab-why3.2.5.2: extract]
-> retrieved alt-ergo-plugin-ab-why3.2.5.2  (cached)
Processing  2/4: [alt-ergo-plugin-ab-why3: dune build]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "build" "-p" "alt-ergo-plugin-ab-why3" "-j" "31" "--promote-install-files=false" "@install" "@runtest" (CWD=/home/opam/.opam/5.3/.opam-switch/build/alt-ergo-plugin-ab-why3.2.5.2)
Processing  2/4: [alt-ergo-plugin-ab-why3: dune install]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "install" "-p" "alt-ergo-plugin-ab-why3" "--create-install-files" "alt-ergo-plugin-ab-why3" (CWD=/home/opam/.opam/5.3/.opam-switch/build/alt-ergo-plugin-ab-why3.2.5.2)
-> compiled  alt-ergo-plugin-ab-why3.2.5.2
-> removed   alt-ergo-plugin-ab-why3.2.5.2
-> installed alt-ergo-plugin-ab-why3.2.5.2
Done.
# To update the current shell environment, run: eval $(opam env)
2025-02-12 02:03.15 ---> saved as "92774571410bcf827b5e27639fcff660aa580b91c57c853f4d3fefdd143cb55d"
Job succeeded
2025-02-12 02:03.23: Job succeeded