(for PR #26912)

2025-04-03 11:17.29: New job: build mlgmpidl.1.2.15-1, using opam 2.3
                              from https://github.com/ocaml/opam-repository.git#refs/pull/26912/head (8f78ac65ee262835b31990fcdf159b4ccdca7c5f)
                              on macos-homebrew-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/26912/head" && git reset --hard 8f78ac65
git fetch origin master
git merge --no-edit 020115166033f8d18e08028df022bfc4916eac6e
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM macos-homebrew-ocaml-5.3
USER 1000:1000
RUN ln -f ~/local/bin/opam-2.3 ~/local/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 -k local --strict default opam-repository/
RUN opam update --depexts || true
RUN opam pin add -k version -yn mlgmpidl.1.2.15-1 1.2.15-1
RUN opam reinstall mlgmpidl.1.2.15-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 "\"macos-homebrew\""; then \
    echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
    fi; \
    test "$pkg" != 'mlgmpidl.1.2.15-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-04-03 11:17.29: Using cache hint "macos-homebrew-ocaml-5.3-mlgmpidl.1.2.15-1-8f78ac65ee262835b31990fcdf159b4ccdca7c5f"
2025-04-03 11:17.29: Using OBuilder spec:
((from macos-homebrew-ocaml-5.3)
 (user (uid 1000) (gid 1000))
 (run (shell "ln -f ~/local/bin/opam-2.3 ~/local/bin/opam"))
 (run (network host)
      (shell "opam init --reinit -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 -k local --strict default opam-repository/"))
 (run (network host)
      (shell "opam update --depexts || true"))
 (run (shell "opam pin add -k version -yn mlgmpidl.1.2.15-1 1.2.15-1"))
 (run (cache (opam-archives (target /Users/mac1000/.opam/download-cache)) (homebrew (target /Users/mac1000/Library/Caches/Homebrew)))
      (network host)
      (shell  "opam reinstall mlgmpidl.1.2.15-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 \"\\\"macos-homebrew\\\"\"; then\
             \n            echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
             \n          fi;\
             \n          test \"$pkg\" != 'mlgmpidl.1.2.15-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-04-03 11:17.29: Waiting for resource in pool OCluster
2025-04-03 11:17.30: Waiting for worker…
2025-04-03 11:17.30: Got resource from pool OCluster
Building on i7-worker-04
Updating files:  21% (4844/22793)
Updating files:  22% (5015/22793)
Updating files:  23% (5243/22793)
Updating files:  24% (5471/22793)
Updating files:  25% (5699/22793)
Updating files:  26% (5927/22793)
Updating files:  27% (6155/22793)
Updating files:  28% (6383/22793)
Updating files:  29% (6610/22793)
Updating files:  30% (6838/22793)
Updating files:  31% (7066/22793)
Updating files:  32% (7294/22793)
Updating files:  33% (7522/22793)
Updating files:  34% (7750/22793)
Updating files:  35% (7978/22793)
Updating files:  36% (8206/22793)
Updating files:  37% (8434/22793)
Updating files:  38% (8662/22793)
Updating files:  38% (8830/22793)
Updating files:  39% (8890/22793)
Updating files:  40% (9118/22793)
Updating files:  41% (9346/22793)
Updating files:  42% (9574/22793)
Updating files:  43% (9801/22793)
Updating files:  44% (10029/22793)
Updating files:  45% (10257/22793)
Updating files:  46% (10485/22793)
Updating files:  47% (10713/22793)
Updating files:  48% (10941/22793)
Updating files:  49% (11169/22793)
Updating files:  50% (11397/22793)
Updating files:  51% (11625/22793)
Updating files:  52% (11853/22793)
Updating files:  53% (12081/22793)
Updating files:  54% (12309/22793)
Updating files:  55% (12537/22793)
Updating files:  56% (12765/22793)
Updating files:  57% (12993/22793)
Updating files:  58% (13220/22793)
Updating files:  59% (13448/22793)
Updating files:  60% (13676/22793)
Updating files:  61% (13904/22793)
Updating files:  62% (14132/22793)
Updating files:  63% (14360/22793)
Updating files:  63% (14522/22793)
Updating files:  64% (14588/22793)
Updating files:  65% (14816/22793)
Updating files:  66% (15044/22793)
Updating files:  67% (15272/22793)
Updating files:  68% (15500/22793)
Updating files:  69% (15728/22793)
Updating files:  70% (15956/22793)
Updating files:  71% (16184/22793)
Updating files:  72% (16411/22793)
Updating files:  73% (16639/22793)
Updating files:  74% (16867/22793)
Updating files:  75% (17095/22793)
Updating files:  76% (17323/22793)
Updating files:  77% (17551/22793)
Updating files:  78% (17779/22793)
Updating files:  79% (18007/22793)
Updating files:  80% (18235/22793)
Updating files:  81% (18463/22793)
Updating files:  82% (18691/22793)
Updating files:  83% (18919/22793)
Updating files:  84% (19147/22793)
Updating files:  85% (19375/22793)
Updating files:  86% (19602/22793)
Updating files:  87% (19830/22793)
Updating files:  87% (19976/22793)
Updating files:  88% (20058/22793)
Updating files:  89% (20286/22793)
Updating files:  90% (20514/22793)
Updating files:  91% (20742/22793)
Updating files:  92% (20970/22793)
Updating files:  93% (21198/22793)
Updating files:  94% (21426/22793)
Updating files:  95% (21654/22793)
Updating files:  96% (21882/22793)
Updating files:  97% (22110/22793)
Updating files:  98% (22338/22793)
Updating files:  99% (22566/22793)
Updating files: 100% (22793/22793)
Updating files: 100% (22793/22793), done.
HEAD is now at 5945fade66 Package smtml.0.6.2
HEAD is now at 0201151660 Merge pull request #27703 from codinuum/diffast-20250403a
Merge made by the 'ort' strategy.
 packages/mlgmpidl/mlgmpidl.1.2.15-1/opam | 41 ++++++++++++++++++++++++++++++++
 1 file changed, 41 insertions(+)
 create mode 100644 packages/mlgmpidl/mlgmpidl.1.2.15-1/opam

(from macos-homebrew-ocaml-5.3)
2025-04-03 11:17.44 ---> using "6ee950b55569b1a3f8a7953dc679318bf303d3a70ac7d49901c0ac2ca3805d7c" from cache

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

/: (run (shell "ln -f ~/local/bin/opam-2.3 ~/local/bin/opam"))
2025-04-03 11:17.45 ---> using "92705670bd1f6c37fa31d9a6dfa42537267d9f8e4fd7c2ec00237f6a7d22e661" from cache

/: (run (network host)
        (shell "opam init --reinit -ni"))
No configuration file found, using 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 /Users/mac1000/.opam from version 2.1 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 1 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=1 --global
Format upgrade done.

<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] no changes from git+file:///Users/mac1000/opam-repository
2025-04-03 11:17.45 ---> using "8bd5d340faa8ad1722e010203f7a4caea560522985969db275c7542dbb56b072" from cache

/: (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.3.0
# self-upgrade         no
# system               arch=x86_64 os=macos os-distribution=homebrew os-version=14.4.1
# solver               builtin-0install
# install-criteria     -changed,-count[avoid-version,solution]
# upgrade-criteria     -count[avoid-version,solution]
# jobs                 11
# repositories         1 (version-controlled)
# pinned               0
# current-switch       5.3.0
# invariant            ["ocaml-base-compiler" {= "5.3.0"} | "ocaml-system" {= "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       /Users/mac1000/.opam/5.3.0/lib/ocaml/stublibs:/Users/mac1000/.opam/5.3.0/lib/ocaml
# ocaml:preinstalled   false
# ocaml:compiler       5.3.0
2025-04-03 11:17.45 ---> using "401f61792e35006b8b67fb65b6928feb197e69b5582a54739bb4533b10bc0056" from cache

/: (env OPAMDOWNLOADJOBS 1)

/: (env OPAMERRLOGLEN 0)

/: (env OPAMPRECISETRACKING 1)

/: (env CI true)

/: (env OPAM_REPO_CI true)

/: (run (shell "rm -rf opam-repository/"))
2025-04-03 11:17.46 ---> using "30332a7c2ac1a8ef60b47b6542aab2c86d16592008aab0760c9c2da8824ae6fb" from cache

/: (copy (src .) (dst opam-repository/))
2025-04-03 11:18.01 ---> saved as "2de62e30a83c18ce8938ce780b1a3a2c313e62b11ce2a45e6c29c370edb50fab"

/: (run (shell "opam repository set-url -k local --strict default opam-repository/"))
[default] Initialised
2025-04-03 11:18.29 ---> saved as "45ff41c353b142f922851964eda58c43e90a535397e442c0c17dffe0f25636f9"

/: (run (network host)
        (shell "opam update --depexts || true"))
+ /usr/local/bin/brew "update"
- ==> Updating Homebrew...
- ==> Downloading https://ghcr.io/v2/homebrew/portable-ruby/portable-ruby/blobs/sha256:4ffc8607e08e9bd536f1df71643b2ecb4cea1a15be9226f297008bc34d0bc8e2
- #=#=#                                                                         

                                                                           0.6%
#                                                                          1.6%
#                                                                          2.4%
##                                                                         3.4%
###                                                                        4.3%
###                                                                        5.2%
####                                                                       6.0%
- 
#####                                                                      7.0%
#####                                                                      7.9%
######                                                                     8.9%
#######                                                                    9.7%
#######                                                                   10.6%
########                                                                  11.5%
########                                                                  12.5%
#########                                                                 13.3%
##########                                                                14.2%
##########                                                                15.2%
###########                                                               16.1%
- 
############                                                              16.9%
############                                                              17.9%
#############                                                             18.8%
##############                                                            19.8%
##############                                                            20.7%
###############                                                           21.5%
################                                                          22.4%
################                                                          23.3%
#################                                                         24.3%
##################                                                        25.3%
- 
##################                                                        26.1%
###################                                                       27.1%
####################                                                      28.2%
####################                                                      29.0%
#####################                                                     30.0%
######################                                                    30.9%
######################                                                    31.9%
#######################                                                   32.7%
########################                                                  33.6%
########################                                                  34.6%
#########################                                                 35.4%
- 
##########################                                                36.5%
##########################                                                37.4%
###########################                                               38.2%
############################                                              39.2%
############################                                              40.3%
#############################                                             41.1%
##############################                                            42.1%
##############################                                            43.0%
###############################                                           43.8%
################################                                          44.8%
################################                                          45.7%
- 
#################################                                         46.7%
##################################                                        47.6%
##################################                                        48.4%
###################################                                       49.4%
####################################                                      50.3%
####################################                                      51.2%
#####################################                                     52.0%
######################################                                    53.0%
######################################                                    54.0%
#######################################                                   54.9%
- 
########################################                                  55.9%
########################################                                  56.8%
#########################################                                 57.6%
##########################################                                58.5%
##########################################                                59.5%
###########################################                               60.3%
############################################                              61.2%
############################################                              62.2%
#############################################                             63.1%
##############################################                            64.0%
##############################################                            64.9%
- 
###############################################                           65.8%
###############################################                           66.7%
################################################                          67.5%
#################################################                         68.5%
#################################################                         69.4%
##################################################                        70.4%
###################################################                       71.2%
###################################################                       72.1%
####################################################                      73.0%
#####################################################                     74.0%
#####################################################                     74.9%
- 
######################################################                    75.7%
#######################################################                   76.7%
#######################################################                   77.6%
########################################################                  78.4%
#########################################################                 79.4%
#########################################################                 80.3%
##########################################################                81.2%
###########################################################               82.1%
###########################################################               83.0%
############################################################              83.9%
#############################################################             84.9%
#############################################################             85.8%
- 
##############################################################            86.6%
###############################################################           87.6%
###############################################################           88.5%
################################################################          89.3%
#################################################################         90.4%
#################################################################         91.2%
##################################################################        92.1%
###################################################################       93.1%
###################################################################       93.9%
####################################################################      94.8%
####################################################################      95.7%
- 
#####################################################################     96.7%
######################################################################    97.6%
######################################################################    98.4%
#######################################################################   99.5%
######################################################################## 100.0%
- ==> Pouring portable-ruby-3.3.7.el_capitan.bottle.tar.gz
- ==> Homebrew collects anonymous analytics.
- Read the analytics documentation (and how to opt-out) here:
-   https://docs.brew.sh/Analytics
- No analytics have been recorded yet (nor will be during this `brew` run).
- 
- ==> Homebrew is run entirely by unpaid volunteers. Please consider donating:
-   https://github.com/Homebrew/brew#donations
- 
- Already up-to-date.
2025-04-03 11:19.02 ---> saved as "401a4372784af1c6f0e73bc9c126b08958608deb3564349867e10f6a6cd22510"

/: (run (shell "opam pin add -k version -yn mlgmpidl.1.2.15-1 1.2.15-1"))
mlgmpidl is now pinned to version 1.2.15-1
2025-04-03 11:19.05 ---> saved as "aec5ed473963585ade6d6c7016e34c17c51bbccc8d8ec7b75eaa0373c7aaf015"

/: (run (cache (opam-archives (target /Users/mac1000/.opam/download-cache)) (homebrew (target /Users/mac1000/Library/Caches/Homebrew)))
        (network host)
        (shell  "opam reinstall mlgmpidl.1.2.15-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 \"\\\"macos-homebrew\\\"\"; then\
               \n            echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
               \n          fi;\
               \n          test \"$pkg\" != 'mlgmpidl.1.2.15-1' && partial_fails=\"$partial_fails $pkg\";\
               \n        done;\
               \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
               \n        exit 1"))
mlgmpidl.1.2.15-1 is not installed. Install it? [y/n] y
The following actions will be performed:
=== install 9 packages
  - install bigarray-compat 1.1.0             [required by mlgmpidl]
  - install camlidl         1.12              [required by mlgmpidl]
  - install conf-gmp        4                 [required by mlgmpidl]
  - install conf-mpfr       3                 [required by mlgmpidl]
  - install conf-perl       2                 [required by mlgmpidl]
  - install conf-pkg-config 4                 [required by conf-mpfr]
  - install dune            3.17.2            [required by bigarray-compat]
  - install mlgmpidl        1.2.15-1 (pinned)
  - install ocamlfind       1.9.8             [required by mlgmpidl]

The following system packages will first need to be installed:
    gmp mpfr pkgconf

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

opam believes some required external dependencies are missing. opam can:
> 1. Run brew to install them (may need root/sudo access)
  2. Display the recommended brew 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/local/bin/brew "install" "gmp" "mpfr" "pkgconf"
- ==> Downloading https://ghcr.io/v2/homebrew/core/gmp/manifests/6.3.0
- Already downloaded: /Users/mac1000/Library/Caches/Homebrew/downloads/70a72a71216843d66a953c06ff6337445ce9bc94fae9f0e301e2f59005274a8e--gmp-6.3.0.bottle_manifest.json
- ==> Fetching gmp
- ==> Downloading https://ghcr.io/v2/homebrew/core/gmp/blobs/sha256:e8410d92339535174e9f4a5eccc403301b70c7287f2f9a87f064a9aa2e21b54b
- Already downloaded: /Users/mac1000/Library/Caches/Homebrew/downloads/8d39e3597db85ea2b4532e0057381937ab6ed92a64a1728c68e57bc6b3aeef95--gmp--6.3.0.sonoma.bottle.tar.gz
- ==> Downloading https://ghcr.io/v2/homebrew/core/mpfr/manifests/4.2.2
- Already downloaded: /Users/mac1000/Library/Caches/Homebrew/downloads/991b389ea6f1daa5dc48fd5250bcc5b85e827eb18b8ad4acd89419f2ace47d88--mpfr-4.2.2.bottle_manifest.json
- ==> Fetching mpfr
- ==> Downloading https://ghcr.io/v2/homebrew/core/mpfr/blobs/sha256:d0d63cabde366839e9140f92451c7e53f7a89d1986d1903bc9851f6122916213
- Already downloaded: /Users/mac1000/Library/Caches/Homebrew/downloads/89ad910a2814281d769da887bb8658a2f05905cbdd19817377fb8e1ae74a633c--mpfr--4.2.2.sonoma.bottle.tar.gz
- ==> Downloading https://ghcr.io/v2/homebrew/core/pkgconf/manifests/2.4.3-1
- Already downloaded: /Users/mac1000/Library/Caches/Homebrew/downloads/f938254e85413ef0d18283c9c932823434b88c0c790e04e7534e2a3e923d0588--pkgconf-2.4.3-1.bottle_manifest.json
- ==> Fetching pkgconf
- ==> Downloading https://ghcr.io/v2/homebrew/core/pkgconf/blobs/sha256:9f5e12ea8ab25db6afc5c09543d6840d72f6556b894d167ac79007e8f187feb0
- Already downloaded: /Users/mac1000/Library/Caches/Homebrew/downloads/579526238d04ef568632db944c33c6149c2e05766a0384acc59429a4bdf99eba--pkgconf--2.4.3.sonoma.bottle.tar.gz
- ==> Pouring gmp--6.3.0.sonoma.bottle.tar.gz
- 🍺  /usr/local/Cellar/gmp/6.3.0: 22 files, 3.3MB
- ==> Running `brew cleanup gmp`...
- Disable this behaviour by setting HOMEBREW_NO_INSTALL_CLEANUP.
- Hide these hints with HOMEBREW_NO_ENV_HINTS (see `man brew`).
- ==> Pouring mpfr--4.2.2.sonoma.bottle.tar.gz
- 🍺  /usr/local/Cellar/mpfr/4.2.2: 31 files, 3.1MB
- ==> Running `brew cleanup mpfr`...
- Removing: /Users/mac1000/Library/Caches/Homebrew/mpfr_bottle_manifest--4.2.1-p1... (7.8KB)
- Removing: /Users/mac1000/Library/Caches/Homebrew/mpfr--4.2.1-p1... (1MB)
- ==> Pouring pkgconf--2.4.3.sonoma.bottle.tar.gz
- 🍺  /usr/local/Cellar/pkgconf/2.4.3: 27 files, 339.8KB
- ==> Running `brew cleanup pkgconf`...

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved bigarray-compat.1.1.0  (cached)
-> retrieved camlidl.1.12  (cached)
-> retrieved conf-gmp.4  (cached)
-> retrieved conf-mpfr.3  (cached)
-> installed conf-pkg-config.4
-> installed conf-perl.2
-> installed conf-gmp.4
-> installed conf-mpfr.3
-> retrieved dune.3.17.2  (cached)
-> installed camlidl.1.12
-> retrieved mlgmpidl.1.2.15-1  (https://github.com/nberth/mlgmpidl/archive/1.2.15.tar.gz)
-> retrieved ocamlfind.1.9.8  (cached)
-> installed ocamlfind.1.9.8
-> installed dune.3.17.2
-> installed bigarray-compat.1.1.0
-> installed mlgmpidl.1.2.15-1
Done.
# To update the current shell environment, run: eval $(opam env)
2025-04-03 11:20.10 ---> saved as "0b0f4c71718cb9c05232bc41888e84809ab1ae245e426e680c4d92f5c34338e5"
Job succeeded
2025-04-03 11:20.26: Job succeeded