(not at the head of any monitored branch or PR)
2025-12-09 21:30.52: New job: build flint.0.4.2, using opam dev
                              from https://github.com/ocaml/opam-repository.git#refs/pull/28935/head (52729bb8d87544615b6b51da763607debc3b5c6c)
                              on centos-10-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/28935/head" && git reset --hard 52729bb8
git fetch origin master
git merge --no-edit d684c896eb6f7e6030d6ee65338d9db22a612f01
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:centos-10-ocaml-4.14@sha256:726ec24ce3cd73a54f9945183ba18ed925ec0ed843ea90cd45634274bbf6e67c
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 flint.0.4.2 0.4.2
RUN opam reinstall flint.0.4.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 "\"centos-10\""; then \
    echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
    fi; \
    test "$pkg" != 'flint.0.4.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-12-09 21:30.52: Using cache hint "ocaml/opam:centos-10-ocaml-4.14@sha256:726ec24ce3cd73a54f9945183ba18ed925ec0ed843ea90cd45634274bbf6e67c-flint.0.4.2-52729bb8d87544615b6b51da763607debc3b5c6c"
2025-12-09 21:30.52: Using OBuilder spec:
((from ocaml/opam:centos-10-ocaml-4.14@sha256:726ec24ce3cd73a54f9945183ba18ed925ec0ed843ea90cd45634274bbf6e67c)
 (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 flint.0.4.2 0.4.2"))
 (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
      (network host)
      (shell  "opam reinstall flint.0.4.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 \"\\\"centos-10\\\"\"; then\
             \n            echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
             \n          fi;\
             \n          test \"$pkg\" != 'flint.0.4.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-12-09 21:30.52: Waiting for resource in pool OCluster
2025-12-09 23:31.44: Waiting for worker…
2025-12-09 23:35.41: Got resource from pool OCluster
Building on clete
All commits already cached
Updating files:  95% (18203/18999)
Updating files:  96% (18240/18999)
Updating files:  97% (18430/18999)
Updating files:  98% (18620/18999)
Updating files:  99% (18810/18999)
Updating files: 100% (18999/18999)
Updating files: 100% (18999/18999), done.
HEAD is now at d684c896eb Merge pull request #29052 from balat/maintenance
Merge made by the 'ort' strategy.
 packages/conf-flint/conf-flint.3.0/opam | 15 ++++++++---
 packages/flint/flint.0.4.2/opam         | 48 +++++++++++++++++++++++++++++++++
 2 files changed, 59 insertions(+), 4 deletions(-)
 create mode 100644 packages/flint/flint.0.4.2/opam

(from ocaml/opam:centos-10-ocaml-4.14@sha256:726ec24ce3cd73a54f9945183ba18ed925ec0ed843ea90cd45634274bbf6e67c)
2025-12-09 23:36.02 ---> saved as "af5df9e4834830d391d310f1ad73cb3b374fad3e2b8574f9653548b8bcf421b3"

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

/: (workdir /home/opam)

/home/opam: (run (shell "sudo ln -f /usr/bin/opam-dev /usr/bin/opam"))
2025-12-09 23:36.03 ---> saved as "c06bb258dbdfea143b8f1f88c291e105f778fdd7ce9635360f15ba04f8d14370"

/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-12-09 23:36.32 ---> saved as "7b177e897b09b43133757096f6640f71201da9f64118283fb263c95b0308b76a"

/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
# self-upgrade         no
# system               arch=x86_64 os=linux os-distribution=centos os-version=10
# 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-base-compiler" {= "4.14.2"}]
# compiler-packages    ocaml-base-compiler.4.14.2, 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.2
2025-12-09 23:36.33 ---> saved as "9bd5ee6590ac70bb6918bc24e765a280ee20c9e0ad486affc9f75c3174076ffa"

/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-12-09 23:36.41 ---> saved as "78752b6feabe2612f950b6ba117e458f4ad3718ea67ecdbb498dc43383b64ead"

/home/opam: (copy (src .) (dst opam-repository/))
2025-12-09 23:36.53 ---> saved as "7c8ff8c4eaceeaad6b494844d932c0998e654b13639abf7d5388febbac164191"

/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2025-12-09 23:37.14 ---> saved as "34bd5de4cdf69d6e889418645b4367ed9f2fdafc13a62da38f91f58b33ab1686"

/home/opam: (run (network host)
                 (shell "opam update --depexts || true"))
+ /usr/bin/sudo "yum" "makecache"
- CentOS Stream 10 - BaseOS                        71 kB/s |  15 kB     00:00    
- CentOS Stream 10 - BaseOS                       6.8 MB/s | 6.8 MB     00:01    
- CentOS Stream 10 - AppStream                     42 kB/s |  15 kB     00:00    
- CentOS Stream 10 - AppStream                    8.6 MB/s | 3.5 MB     00:00    
- CentOS Stream 10 - CRB                           35 kB/s |  14 kB     00:00    
- CentOS Stream 10 - CRB                          1.7 MB/s | 774 kB     00:00    
- CentOS Stream 10 - Extras packages              118 kB/s |  14 kB     00:00    
- CentOS Stream 10 - Extras packages               66 kB/s | 8.1 kB     00:00    
- Metadata cache created.
2025-12-09 23:37.22 ---> saved as "c640aa6a04b5553bdc63636ba1b9093198cd80859ea4ce296a9392de95ddde76"

/home/opam: (run (shell "opam pin add -k version -yn flint.0.4.2 0.4.2"))
flint is now pinned to version 0.4.2
2025-12-09 23:37.23 ---> saved as "b59d7982768b1b094106167d74ff740e83065a0eca7d8463a77dc3df7873fedf"

/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
                 (network host)
                 (shell  "opam reinstall flint.0.4.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 \"\\\"centos-10\\\"\"; then\
                        \n            echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
                        \n          fi;\
                        \n          test \"$pkg\" != 'flint.0.4.2' && partial_fails=\"$partial_fails $pkg\";\
                        \n        done;\
                        \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
                        \n        exit 1"))
flint.0.4.2 is not installed. Install it? [Y/n] y
The following actions will be performed:
=== install 13 packages
  - install conf-flint        3.0            [required by flint]
  - install conf-gmp          5              [required by conf-mpfr, zarith]
  - install conf-mpfr         3              [required by flint]
  - install conf-pkg-config   4              [required by flint]
  - install csexp             1.5.2          [required by dune-configurator]
  - install ctypes            0.24.0         [required by flint]
  - install dune              3.20.2         [required by flint]
  - install dune-configurator 3.20.2         [required by flint]
  - install flint             0.4.2 (pinned)
  - install integers          0.7.0          [required by ctypes]
  - install ocamlfind         1.9.8          [required by zarith]
  - install stdlib-shims      0.3.0          [required by integers]
  - install zarith            1.14           [required by flint]

The following system packages will first need to be installed:
    gmp-devel mpfr-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" "mpfr-devel"
- Last metadata expiration check: 0:00:07 ago on Tue Dec  9 23:37:20 2025.
- Dependencies resolved.
- ================================================================================
-  Package           Architecture  Version                 Repository        Size
- ================================================================================
- Installing:
-  gmp-devel         x86_64        1:6.2.1-12.el10         appstream        174 k
-  mpfr-devel        x86_64        4.2.1-5.el10            appstream         23 k
- Installing dependencies:
-  gmp-c++           x86_64        1:6.2.1-12.el10         appstream         20 k
- 
- Transaction Summary
- ================================================================================
- Install  3 Packages
- 
- Total download size: 217 k
- Installed size: 445 k
- Downloading Packages:
- (1/3): gmp-c++-6.2.1-12.el10.x86_64.rpm         1.3 MB/s |  20 kB     00:00    
- (2/3): mpfr-devel-4.2.1-5.el10.x86_64.rpm       1.2 MB/s |  23 kB     00:00    
- (3/3): gmp-devel-6.2.1-12.el10.x86_64.rpm       6.4 MB/s | 174 kB     00:00    
- --------------------------------------------------------------------------------
- Total                                           559 kB/s | 217 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.1-12.el10.x86_64                         1/3 
-   Installing       : gmp-devel-1:6.2.1-12.el10.x86_64                       2/3 
-   Installing       : mpfr-devel-4.2.1-5.el10.x86_64                         3/3 
-   Running scriptlet: mpfr-devel-4.2.1-5.el10.x86_64                         3/3
-  
- 
- Installed:
-   gmp-c++-1:6.2.1-12.el10.x86_64        gmp-devel-1:6.2.1-12.el10.x86_64       
-   mpfr-devel-4.2.1-5.el10.x86_64       
- 
- Complete!
+ /usr/bin/rpm "-q" "--whatprovides" "gmp-devel" "mpfr-devel"
- gmp-devel-6.2.1-12.el10.x86_64
- mpfr-devel-4.2.1-5.el10.x86_64

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved conf-gmp.5  (cached)
-> retrieved conf-mpfr.3  (cached)
-> retrieved csexp.1.5.2  (cached)
-> installed conf-gmp.5
-> installed conf-pkg-config.4
-> retrieved ctypes.0.24.0  (cached)
[ERROR] The compilation of conf-flint.3.0 failed at "sh -exc cc -c $CFLAGS -I/usr/local/include test.c".
-> installed conf-mpfr.3
-> retrieved dune.3.20.2, dune-configurator.3.20.2  (cached)
-> retrieved flint.0.4.2  (cached)
-> retrieved integers.0.7.0  (cached)
-> retrieved ocamlfind.1.9.8  (cached)
-> retrieved stdlib-shims.0.3.0  (cached)
-> retrieved zarith.1.14  (cached)
-> installed ocamlfind.1.9.8
-> installed zarith.1.14
-> installed dune.3.20.2
-> installed stdlib-shims.0.3.0
-> installed csexp.1.5.2
-> installed integers.0.7.0
-> installed dune-configurator.3.20.2
-> installed ctypes.0.24.0

#=== ERROR while compiling conf-flint.3.0 =====================================#
# context              2.5.0 | linux/x86_64 | ocaml-base-compiler.4.14.2 | file:///home/opam/opam-repository
# path                 ~/.opam/4.14/.opam-switch/build/conf-flint.3.0
# command              ~/.opam/opam-init/hooks/sandbox.sh build sh -exc cc -c $CFLAGS -I/usr/local/include test.c
# exit-code            1
# env-file             ~/.opam/log/conf-flint-7-5509ec.env
# output-file          ~/.opam/log/conf-flint-7-5509ec.out
### output ###
# + cc -c -I/usr/local/include test.c
# test.c:1:15: fatal error: flint/flint.h: No such file or directory
#     1 |     #include  <flint/flint.h>
#       |               ^~~~~~~~~~~~~~~
# compilation terminated.



<><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
+- The following actions failed
| - build conf-flint 3.0
+- 
+- The following changes have been performed (the rest was aborted)
| - install conf-gmp          5
| - install conf-mpfr         3
| - install conf-pkg-config   4
| - install csexp             1.5.2
| - install ctypes            0.24.0
| - install dune              3.20.2
| - install dune-configurator 3.20.2
| - install integers          0.7.0
| - install ocamlfind         1.9.8
| - install stdlib-shims      0.3.0
| - install zarith            1.14
+- 

<><> conf-flint.3.0 troubleshooting <><><><><><><><><><><><><><><><><><><><><><>
=> You can try to install conf-flint.1 which works with version 2 of the library
# To update the current shell environment, run: eval $(opam env)

The former state can be restored with:
    /usr/bin/opam switch import "/home/opam/.opam/4.14/.opam-switch/backup/state-20251209233724.export"
[WARNING] OPAMCONFIRMLEVEL was ignored because CLI 2.0 was requested and it was introduced in 2.1.
[WARNING] OPAMCONFIRMLEVEL was ignored because CLI 2.0 was requested and it was introduced in 2.1.
opam-repo-ci detected dependencies failing:  conf-flint.3.0
"/usr/bin/env" "bash" "-c" "opam reinstall flint.0.4.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 "\"centos-10\""; then
            echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.";
          fi;
          test "$pkg" != 'flint.0.4.2' && partial_fails="$partial_fails $pkg";
        done;
        test "${partial_fails}" != "" && echo "opam-repo-ci detected dependencies failing: ${partial_fails}";
        exit 1" failed with exit status 1
2025-12-09 23:38.30: Job failed: Failed: Build failed
2025-12-09 23:38.30: Log analysis:
2025-12-09 23:38.30: >>> 
[ERROR] The compilation of conf-flint.3.0 failed at "sh -exc cc -c $CFLAGS -I/usr/local/include test.c".
 (score = 20)
2025-12-09 23:38.30: >>> 
opam-repo-ci detected dependencies failing:  conf-flint.3.0
 (score = 75)
2025-12-09 23:38.30:  conf-flint.3.0 failed to build