(for PR #29008)

2025-11-30 21:08.25: New job: build raylib-callbacks.1.6.0, using opam dev
                              from https://github.com/ocaml/opam-repository.git#refs/pull/29008/head (ee0d916051b16f05582f35f255f3e8ff7961fed8)
                              on centos-9-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/29008/head" && git reset --hard ee0d9160
git fetch origin master
git merge --no-edit 1808b67a60cee484a3c5ff1a64046c0e5f0406a5
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:centos-9-ocaml-5.4@sha256:1b03b92ec09944545508a4a8e0625c918f05e6eb26bcdbb9ba26260ebae641e6
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 raylib-callbacks.1.6.0 1.6.0
RUN opam reinstall raylib-callbacks.1.6.0; \
    res=$?; \
    test "$res" != 31 && exit "$res"; \
    export OPAMCLI=2.0; \
    build_dir=$(opam var prefix)/.opam-switch/build; \
    failed=$(ls "$build_dir"); \
    partial_fails=""; \
    for pkg in $failed; do \
    if opam show -f x-ci-accept-failures: "$pkg" | grep -qF "\"centos-9\""; then \
    echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
    fi; \
    test "$pkg" != 'raylib-callbacks.1.6.0' && partial_fails="$partial_fails $pkg"; \
    done; \
    test "${partial_fails}" != "" && echo "opam-repo-ci detected dependencies failing: ${partial_fails}"; \
    exit 1

END-OF-DOCKERFILE
docker build -f ../Dockerfile .

2025-11-30 21:08.25: Using cache hint "ocaml/opam:centos-9-ocaml-5.4@sha256:1b03b92ec09944545508a4a8e0625c918f05e6eb26bcdbb9ba26260ebae641e6-raylib-callbacks.1.6.0-ee0d916051b16f05582f35f255f3e8ff7961fed8"
2025-11-30 21:08.25: Using OBuilder spec:
((from ocaml/opam:centos-9-ocaml-5.4@sha256:1b03b92ec09944545508a4a8e0625c918f05e6eb26bcdbb9ba26260ebae641e6)
 (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 raylib-callbacks.1.6.0 1.6.0"))
 (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
      (network host)
      (shell  "opam reinstall raylib-callbacks.1.6.0;\
             \n        res=$?;\
             \n        test \"$res\" != 31 && exit \"$res\";\
             \n        export OPAMCLI=2.0;\
             \n        build_dir=$(opam var prefix)/.opam-switch/build;\
             \n        failed=$(ls \"$build_dir\");\
             \n        partial_fails=\"\";\
             \n        for pkg in $failed; do\
             \n          if opam show -f x-ci-accept-failures: \"$pkg\" | grep -qF \"\\\"centos-9\\\"\"; then\
             \n            echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
             \n          fi;\
             \n          test \"$pkg\" != 'raylib-callbacks.1.6.0' && partial_fails=\"$partial_fails $pkg\";\
             \n        done;\
             \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
             \n        exit 1"))
)

2025-11-30 21:08.25: Waiting for resource in pool OCluster
2025-11-30 21:08.26: Waiting for worker…
2025-11-30 21:08.28: Got resource from pool OCluster
Building on clete
All commits already cached
Updating files:  96% (18335/18939)
Updating files:  97% (18371/18939)
Updating files:  98% (18561/18939)
Updating files:  99% (18750/18939)
Updating files: 100% (18939/18939)
Updating files: 100% (18939/18939), done.
HEAD is now at 1808b67a60 Merge pull request #28997 from dinosaure/release-hxd-v0.3.6
Updating 1808b67a60..ee0d916051
Fast-forward
 packages/raygui/raygui.1.6.0/opam                  | 43 +++++++++++++++++
 .../raylib-callbacks/raylib-callbacks.1.6.0/opam   | 39 ++++++++++++++++
 packages/raylib/raylib.1.6.0/opam                  | 54 ++++++++++++++++++++++
 3 files changed, 136 insertions(+)
 create mode 100644 packages/raygui/raygui.1.6.0/opam
 create mode 100644 packages/raylib-callbacks/raylib-callbacks.1.6.0/opam
 create mode 100644 packages/raylib/raylib.1.6.0/opam

(from ocaml/opam:centos-9-ocaml-5.4@sha256:1b03b92ec09944545508a4a8e0625c918f05e6eb26bcdbb9ba26260ebae641e6)
2025-11-30 21:10.00 ---> using "1cf26353f752d44d75d56a6fd671ae2db4a004a1a0c5c9eb0d95e0ef656fa7f1" 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-11-30 21:10.00 ---> using "27f61a49dfc01d70e80feae37b7f145fd4e22d5f526abe2a35ffb419f2299a5e" 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-11-30 21:10.00 ---> using "f8e69aa15cbfd627bd64c1202c23b81738d6e0dd09ae11cecc20d809376b8ef1" 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.5.0~rc1
# self-upgrade         no
# system               arch=x86_64 os=linux os-distribution=centos os-version=9
# solver               builtin-0install
# install-criteria     -changed,-count[avoid-version,solution]
# upgrade-criteria     -count[avoid-version,solution]
# jobs                 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-11-30 21:10.00 ---> using "fd07a9bb31b06bc98c98aa7c420246da17563c473a512a029411a98378c84d51" 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-11-30 21:10.00 ---> using "114dca141da70d7a5e4b3d3660b8a9e58bb89d618227e93ea0a6c3111bdd438a" from cache

/home/opam: (copy (src .) (dst opam-repository/))
2025-11-30 21:10.12 ---> saved as "1bbb6cefc70c07d77c9f1e0033468455a9e20902476c144dc205c687e6817452"

/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2025-11-30 21:10.33 ---> saved as "3cbfd38708ac3b70abfc7a8bd73ad7b424e5a1cba6d130a483cebc36f1d3c598"

/home/opam: (run (network host)
                 (shell "opam update --depexts || true"))
+ /usr/bin/sudo "yum" "makecache"
- CentOS Stream 9 - BaseOS                         68 kB/s |  15 kB     00:00    
- CentOS Stream 9 - BaseOS                        2.6 MB/s | 8.8 MB     00:03    
- CentOS Stream 9 - AppStream                     8.9 kB/s |  15 kB     00:01    
- CentOS Stream 9 - AppStream                     8.1 MB/s |  25 MB     00:03    
- CentOS Stream 9 - CRB                            84 kB/s |  15 kB     00:00    
- CentOS Stream 9 - CRB                           5.8 MB/s | 7.3 MB     00:01    
- CentOS Stream 9 - Extras packages               421 kB/s |  17 kB     00:00    
- Metadata cache created.
2025-11-30 21:10.56 ---> saved as "088aa9ea04f16f81cf8e0f47064e82335281503197310aa6d92816609451832a"

/home/opam: (run (shell "opam pin add -k version -yn raylib-callbacks.1.6.0 1.6.0"))
raylib-callbacks is now pinned to version 1.6.0
2025-11-30 21:10.57 ---> saved as "a3f9ca685f6779eeeec5efbd73d0cd53de40f5fdfd31753a3dc03376974bc005"

/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
                 (network host)
                 (shell  "opam reinstall raylib-callbacks.1.6.0;\
                        \n        res=$?;\
                        \n        test \"$res\" != 31 && exit \"$res\";\
                        \n        export OPAMCLI=2.0;\
                        \n        build_dir=$(opam var prefix)/.opam-switch/build;\
                        \n        failed=$(ls \"$build_dir\");\
                        \n        partial_fails=\"\";\
                        \n        for pkg in $failed; do\
                        \n          if opam show -f x-ci-accept-failures: \"$pkg\" | grep -qF \"\\\"centos-9\\\"\"; then\
                        \n            echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
                        \n          fi;\
                        \n          test \"$pkg\" != 'raylib-callbacks.1.6.0' && partial_fails=\"$partial_fails $pkg\";\
                        \n        done;\
                        \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
                        \n        exit 1"))
raylib-callbacks.1.6.0 is not installed. Install it? [Y/n] y
The following actions will be performed:
=== install 17 packages
  - install conf-libffi       2.0.0          [required by ctypes-foreign]
  - install conf-libxcursor   1              [required by raylib]
  - install conf-libxi        1              [required by raylib]
  - install conf-libxinerama  1              [required by raylib]
  - install conf-libxrandr    1              [required by raylib]
  - install conf-mesa         1              [required by raylib]
  - install conf-pkg-config   4              [required by ctypes-foreign]
  - install csexp             1.5.2          [required by dune-configurator]
  - install ctypes            0.24.0         [required by ctypes-foreign, raylib]
  - install ctypes-foreign    0.24.0         [required by raylib-callbacks]
  - install dune              3.20.2         [required by raylib-callbacks]
  - install dune-configurator 3.20.2         [required by ctypes-foreign, raylib]
  - install integers          0.7.0          [required by raylib]
  - install patch             3.1.0          [required by raylib]
  - install raylib            1.6.0          [required by raylib-callbacks]
  - install raylib-callbacks  1.6.0 (pinned)
  - install stdlib-shims      0.3.0          [required by integers]

The following system packages will first need to be installed:
    libffi-devel libXcursor-devel libXi-devel libXinerama-devel libXrandr-devel mesa-libGL-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" "libXcursor-devel" "libXi-devel" "libXinerama-devel" "libXrandr-devel" "libffi-devel" "mesa-libGL-devel"
- Last metadata expiration check: 0:00:07 ago on Sun Nov 30 21:10:54 2025.
- Dependencies resolved.
- ================================================================================
-  Package                 Arch       Version                 Repository     Size
- ================================================================================
- Installing:
-  libXcursor-devel        x86_64     1.2.0-7.el9             appstream      26 k
-  libXi-devel             x86_64     1.7.10-8.el9            appstream     113 k
-  libXinerama-devel       x86_64     1.1.4-10.el9            appstream      14 k
-  libXrandr-devel         x86_64     1.5.2-8.el9             appstream      20 k
-  libffi-devel            x86_64     3.4.2-8.el9             appstream      29 k
-  mesa-libGL-devel        x86_64     25.0.7-2.el9            appstream      28 k
- Installing dependencies:
-  libXext-devel           x86_64     1.3.4-8.el9             appstream      87 k
-  libXfixes-devel         x86_64     5.0.3-16.el9            appstream      13 k
-  libXrender-devel        x86_64     0.9.10-16.el9           appstream      17 k
-  libdrm-devel            x86_64     2.4.123-2.el9           appstream     181 k
-  libglvnd-core-devel     x86_64     1:1.3.4-1.el9           appstream      18 k
-  libglvnd-devel          x86_64     1:1.3.4-1.el9           appstream     161 k
-  libglvnd-gles           x86_64     1:1.3.4-1.el9           appstream      33 k
-  libglvnd-opengl         x86_64     1:1.3.4-1.el9           appstream      43 k
-  libpciaccess-devel      x86_64     0.16-7.el9              appstream      13 k
- Installing weak dependencies:
-  gl-manpages             noarch     1.1-24.20190306.el9     appstream     1.2 M
- 
- Transaction Summary
- ================================================================================
- Install  16 Packages
- 
- Total download size: 2.0 M
- Installed size: 4.5 M
- Downloading Packages:
- (1/16): libXcursor-devel-1.2.0-7.el9.x86_64.rpm 307 kB/s |  26 kB     00:00    
- (2/16): libXfixes-devel-5.0.3-16.el9.x86_64.rpm 563 kB/s |  13 kB     00:00    
- (3/16): libXext-devel-1.3.4-8.el9.x86_64.rpm    667 kB/s |  87 kB     00:00    
- (4/16): libXi-devel-1.7.10-8.el9.x86_64.rpm     3.0 MB/s | 113 kB     00:00    
- (5/16): gl-manpages-1.1-24.20190306.el9.noarch. 6.6 MB/s | 1.2 MB     00:00    
- (6/16): libXinerama-devel-1.1.4-10.el9.x86_64.r 239 kB/s |  14 kB     00:00    
- (7/16): libXrandr-devel-1.5.2-8.el9.x86_64.rpm  490 kB/s |  20 kB     00:00    
- (8/16): libXrender-devel-0.9.10-16.el9.x86_64.r 230 kB/s |  17 kB     00:00    
- (9/16): libffi-devel-3.4.2-8.el9.x86_64.rpm     274 kB/s |  29 kB     00:00    
- (10/16): libglvnd-core-devel-1.3.4-1.el9.x86_64 464 kB/s |  18 kB     00:00    
- (11/16): libglvnd-devel-1.3.4-1.el9.x86_64.rpm  2.6 MB/s | 161 kB     00:00    
- (12/16): libdrm-devel-2.4.123-2.el9.x86_64.rpm  1.0 MB/s | 181 kB     00:00    
- (13/16): libglvnd-gles-1.3.4-1.el9.x86_64.rpm   282 kB/s |  33 kB     00:00    
- (14/16): libglvnd-opengl-1.3.4-1.el9.x86_64.rpm 729 kB/s |  43 kB     00:00    
- (15/16): libpciaccess-devel-0.16-7.el9.x86_64.r 138 kB/s |  13 kB     00:00    
- (16/16): mesa-libGL-devel-25.0.7-2.el9.x86_64.r 787 kB/s |  28 kB     00:00    
- --------------------------------------------------------------------------------
- Total                                           3.7 MB/s | 2.0 MB     00:00     
- Running transaction check
- Transaction check succeeded.
- Running transaction test
- Transaction test succeeded.
- Running transaction
-   Preparing        :                                                        1/1 
-   Installing       : libXext-devel-1.3.4-8.el9.x86_64                      1/16 
-   Installing       : libXrender-devel-0.9.10-16.el9.x86_64                 2/16 
-   Installing       : libXfixes-devel-5.0.3-16.el9.x86_64                   3/16 
-   Installing       : libpciaccess-devel-0.16-7.el9.x86_64                  4/16 
-   Installing       : libdrm-devel-2.4.123-2.el9.x86_64                     5/16 
-   Installing       : libglvnd-opengl-1:1.3.4-1.el9.x86_64                  6/16 
-   Installing       : libglvnd-gles-1:1.3.4-1.el9.x86_64                    7/16 
-   Installing       : libglvnd-core-devel-1:1.3.4-1.el9.x86_64              8/16 
-   Installing       : libglvnd-devel-1:1.3.4-1.el9.x86_64                   9/16 
-   Installing       : gl-manpages-1.1-24.20190306.el9.noarch               10/16 
-   Installing       : mesa-libGL-devel-25.0.7-2.el9.x86_64                 11/16 
-   Installing       : libXcursor-devel-1.2.0-7.el9.x86_64                  12/16 
-   Installing       : libXi-devel-1.7.10-8.el9.x86_64                      13/16 
-   Installing       : libXrandr-devel-1.5.2-8.el9.x86_64                   14/16 
-   Installing       : libXinerama-devel-1.1.4-10.el9.x86_64                15/16 
-   Installing       : libffi-devel-3.4.2-8.el9.x86_64                      16/16 
-   Running scriptlet: libffi-devel-3.4.2-8.el9.x86_64                      16/16 
-   Verifying        : gl-manpages-1.1-24.20190306.el9.noarch                1/16 
-   Verifying        : libXcursor-devel-1.2.0-7.el9.x86_64                   2/16 
-   Verifying        : libXext-devel-1.3.4-8.el9.x86_64                      3/16 
-   Verifying        : libXfixes-devel-5.0.3-16.el9.x86_64                   4/16 
-   Verifying        : libXi-devel-1.7.10-8.el9.x86_64                       5/16 
-   Verifying        : libXinerama-devel-1.1.4-10.el9.x86_64                 6/16 
-   Verifying        : libXrandr-devel-1.5.2-8.el9.x86_64                    7/16 
-   Verifying        : libXrender-devel-0.9.10-16.el9.x86_64                 8/16 
-   Verifying        : libdrm-devel-2.4.123-2.el9.x86_64                     9/16 
-   Verifying        : libffi-devel-3.4.2-8.el9.x86_64                      10/16 
-   Verifying        : libglvnd-core-devel-1:1.3.4-1.el9.x86_64             11/16 
-   Verifying        : libglvnd-devel-1:1.3.4-1.el9.x86_64                  12/16 
-   Verifying        : libglvnd-gles-1:1.3.4-1.el9.x86_64                   13/16 
-   Verifying        : libglvnd-opengl-1:1.3.4-1.el9.x86_64                 14/16 
-   Verifying        : libpciaccess-devel-0.16-7.el9.x86_64                 15/16 
-   Verifying        : mesa-libGL-devel-25.0.7-2.el9.x86_64                 16/16
-  
- 
- Installed:
-   gl-manpages-1.1-24.20190306.el9.noarch                                        
-   libXcursor-devel-1.2.0-7.el9.x86_64                                           
-   libXext-devel-1.3.4-8.el9.x86_64                                              
-   libXfixes-devel-5.0.3-16.el9.x86_64                                           
-   libXi-devel-1.7.10-8.el9.x86_64                                               
-   libXinerama-devel-1.1.4-10.el9.x86_64                                         
-   libXrandr-devel-1.5.2-8.el9.x86_64                                            
-   libXrender-devel-0.9.10-16.el9.x86_64                                         
-   libdrm-devel-2.4.123-2.el9.x86_64                                             
-   libffi-devel-3.4.2-8.el9.x86_64                                               
-   libglvnd-core-devel-1:1.3.4-1.el9.x86_64                                      
-   libglvnd-devel-1:1.3.4-1.el9.x86_64                                           
-   libglvnd-gles-1:1.3.4-1.el9.x86_64                                            
-   libglvnd-opengl-1:1.3.4-1.el9.x86_64                                          
-   libpciaccess-devel-0.16-7.el9.x86_64                                          
-   mesa-libGL-devel-25.0.7-2.el9.x86_64                                          
- 
- Complete!
+ /usr/bin/rpm "-q" "--whatprovides" "libffi-devel" "libXcursor-devel" "libXi-devel" "libXinerama-devel" "libXrandr-devel" "mesa-libGL-devel"
- libffi-devel-3.4.2-8.el9.x86_64
- libXcursor-devel-1.2.0-7.el9.x86_64
- libXi-devel-1.7.10-8.el9.x86_64
- libXinerama-devel-1.1.4-10.el9.x86_64
- libXrandr-devel-1.5.2-8.el9.x86_64
- mesa-libGL-devel-25.0.7-2.el9.x86_64

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved csexp.1.5.2  (cached)
-> installed conf-pkg-config.4
-> retrieved ctypes.0.24.0, ctypes-foreign.0.24.0  (cached)
-> installed conf-libffi.2.0.0
-> installed conf-libxcursor.1
-> installed conf-libxi.1
-> installed conf-libxinerama.1
-> installed conf-libxrandr.1
-> installed conf-mesa.1
-> retrieved dune.3.20.2, dune-configurator.3.20.2  (cached)
-> retrieved integers.0.7.0  (cached)
-> retrieved patch.3.1.0  (cached)
-> retrieved raylib.1.6.0, raylib-callbacks.1.6.0  (cached)
-> retrieved stdlib-shims.0.3.0  (cached)
-> installed dune.3.20.2
-> installed stdlib-shims.0.3.0
-> installed csexp.1.5.2
-> installed patch.3.1.0
-> installed integers.0.7.0
-> installed dune-configurator.3.20.2
-> installed ctypes.0.24.0
-> installed ctypes-foreign.0.24.0
-> installed raylib.1.6.0
-> installed raylib-callbacks.1.6.0
Done.
# To update the current shell environment, run: eval $(opam env)
2025-11-30 21:12.57 ---> saved as "794ea85cc8134515b78992b306789de97c26273235aa625dc90cc1cbe9348070"
Job succeeded
2025-11-30 21:13.16: Job succeeded