(for PR #29008)

2025-11-30 21:08.25: New job: build raylib.1.6.0, using opam dev
                              from https://github.com/ocaml/opam-repository.git#refs/pull/29008/head (ee0d916051b16f05582f35f255f3e8ff7961fed8)
                              on debian-13-ocaml-5.4/ppc64le

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:debian-13-ocaml-5.4@sha256:46df8f8356b8c0189c4e452ff5e6f8329a5f635cd912f2889e1530d50efc155e
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.1.6.0 1.6.0
RUN opam reinstall raylib.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 "\"debian-13\""; then \
    echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
    fi; \
    test "$pkg" != 'raylib.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:debian-13-ocaml-5.4@sha256:46df8f8356b8c0189c4e452ff5e6f8329a5f635cd912f2889e1530d50efc155e-raylib.1.6.0-ee0d916051b16f05582f35f255f3e8ff7961fed8"
2025-11-30 21:08.25: Using OBuilder spec:
((from ocaml/opam:debian-13-ocaml-5.4@sha256:46df8f8356b8c0189c4e452ff5e6f8329a5f635cd912f2889e1530d50efc155e)
 (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.1.6.0 1.6.0"))
 (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
      (network host)
      (shell  "opam reinstall raylib.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 \"\\\"debian-13\\\"\"; 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.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.26: Got resource from pool OCluster
Building on orithia.caelum.ci.dev
HEAD is now at 5e3d6c29a2 Remove '@runtest' from opam install commands
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:debian-13-ocaml-5.4@sha256:46df8f8356b8c0189c4e452ff5e6f8329a5f635cd912f2889e1530d50efc155e)
Unable to find image 'ocaml/opam:debian-13-ocaml-5.4@sha256:46df8f8356b8c0189c4e452ff5e6f8329a5f635cd912f2889e1530d50efc155e' locally
docker.io/ocaml/opam@sha256:46df8f8356b8c0189c4e452ff5e6f8329a5f635cd912f2889e1530d50efc155e: Pulling from ocaml/opam
3c335bb15935: Already exists
44de9d52e949: Already exists
fc95c3146cbf: Already exists
cf3462902ef7: Already exists
d8630d3f9abd: Already exists
34f623e09668: Already exists
3e53c06ff104: Already exists
7faf32784668: Already exists
678ae06c55d1: Already exists
d07d040238c4: Already exists
6a3f46afe36b: Already exists
10a718f4c600: Already exists
fa25f2c546a7: Already exists
046b9242ddb0: Already exists
22c19c2d26c0: Already exists
c8d7e47ef8c3: Already exists
1c0198e79c79: Already exists
a4aa8d620b50: Already exists
a1a7c03f02a8: Already exists
9223c49b4c3c: Already exists
0ec886274204: Already exists
4f4fb700ef54: Already exists
79709d0700ba: Already exists
bf91b3d45ae0: Already exists
9fb4c7e58543: Already exists
b75885e011f1: Already exists
0ea9c1c0325e: Already exists
f7e59fd94625: Already exists
ff59756cad74: Already exists
90d2ef79a50d: Already exists
e10c8b09ddb5: Already exists
1ae102de17a6: Already exists
c0c15e6ed693: Already exists
fe445943cd12: Already exists
997d4edeca0f: Already exists
798a132254ab: Already exists
3ce339f0ffc5: Already exists
9fdc6046b327: Already exists
f190ff32aa97: Already exists
decd9cbb00a6: Already exists
7c9adc5a0f53: Pulling fs layer
b7e7ed52fe9e: Pulling fs layer
e060848e74f4: Pulling fs layer
f9cff7610c86: Pulling fs layer
ce4d929b173e: Pulling fs layer
5117339662ef: Pulling fs layer
5e8deb86874b: Pulling fs layer
f9cff7610c86: Waiting
ce4d929b173e: Waiting
5e8deb86874b: Waiting
5117339662ef: Waiting
b7e7ed52fe9e: Verifying Checksum
b7e7ed52fe9e: Download complete
e060848e74f4: Verifying Checksum
e060848e74f4: Download complete
7c9adc5a0f53: Verifying Checksum
7c9adc5a0f53: Download complete
7c9adc5a0f53: Pull complete
b7e7ed52fe9e: Pull complete
e060848e74f4: Pull complete
ce4d929b173e: Verifying Checksum
ce4d929b173e: Download complete
5e8deb86874b: Verifying Checksum
5e8deb86874b: Download complete
5117339662ef: Retrying in 5 seconds
5117339662ef: Retrying in 4 seconds
5117339662ef: Retrying in 3 seconds
5117339662ef: Retrying in 2 seconds
5117339662ef: Retrying in 1 second
5117339662ef: Verifying Checksum
5117339662ef: Download complete
f9cff7610c86: Verifying Checksum
f9cff7610c86: Download complete
f9cff7610c86: Pull complete
ce4d929b173e: Pull complete
5117339662ef: Pull complete
5e8deb86874b: Pull complete
Digest: sha256:46df8f8356b8c0189c4e452ff5e6f8329a5f635cd912f2889e1530d50efc155e
Status: Downloaded newer image for ocaml/opam@sha256:46df8f8356b8c0189c4e452ff5e6f8329a5f635cd912f2889e1530d50efc155e
2025-11-30 21:08.30 ---> using "1643709731f1d2cc26ef98c95f92bce03d1fba63a962c6e57b07761a9968f6b7" 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:08.30 ---> using "b593f22902b6a66d7ba14bcc05ea73046e6ead83749efb3918ab0a288ac94e9c" 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:08.30 ---> using "fda55ed3c49208fe846c034eac9bfd136f675b093f4a3fc31f37dcb8e6cd5552" 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~beta1
# self-upgrade         no
# system               arch=ppc64 os=linux os-distribution=debian os-version=13
# solver               builtin-0install
# install-criteria     -changed,-count[avoid-version,solution]
# upgrade-criteria     -count[avoid-version,solution]
# jobs                 175
# 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:08.30 ---> using "5523ccc114ce7b458995bd6d0a124eae2580a77bbe8c94fabb4e9f1830c50d82" 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:08.30 ---> using "42836f36604620a5f73d6b4290872e7cdbfdc7ae919b8e2e051311f770eabae4" from cache

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

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

/home/opam: (run (network host)
                 (shell "opam update --depexts || true"))
+ /usr/bin/sudo "apt-get" "update"
- Get:1 http://deb.debian.org/debian trixie InRelease [140 kB]
- Get:2 http://deb.debian.org/debian trixie-updates InRelease [47.3 kB]
- Get:3 http://deb.debian.org/debian-security trixie-security InRelease [43.4 kB]
- Get:4 http://deb.debian.org/debian trixie/main ppc64el Packages [9508 kB]
- Get:5 http://deb.debian.org/debian-security trixie-security/main ppc64el Packages [73.5 kB]
- Fetched 9812 kB in 4s (2712 kB/s)
- Reading package lists...
- 
2025-11-30 21:09.58 ---> saved as "db342059ea2f5a222cc772d42f58a16a02337584ae476523f522b07f6a44100c"

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

/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
                 (network host)
                 (shell  "opam reinstall raylib.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 \"\\\"debian-13\\\"\"; 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.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"))
[ERROR] raylib = 1.6.0: unmet availability conditions: 'arch != "arm32" & arch != "ppc64"'
"/usr/bin/env" "bash" "-c" "opam reinstall raylib.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 "\"debian-13\""; then
            echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.";
          fi;
          test "$pkg" != 'raylib.1.6.0' && partial_fails="$partial_fails $pkg";
        done;
        test "${partial_fails}" != "" && echo "opam-repo-ci detected dependencies failing: ${partial_fails}";
        exit 1" failed with exit status 5
2025-11-30 21:10.06: Job failed: Failed: Build failed
2025-11-30 21:10.06: Log analysis:
2025-11-30 21:10.06: >>> 
[ERROR] raylib = 1.6.0: unmet availability conditions: 'arch != "arm32" & arch != "ppc64"'
 (score = 100)
2025-11-30 21:10.06: [SKIP] Package not available