(for PR #29008)

2025-11-30 21:08.25: New job: build raygui.1.6.0, using opam dev
                              from https://github.com/ocaml/opam-repository.git#refs/pull/29008/head (ee0d916051b16f05582f35f255f3e8ff7961fed8)
                              on debian-13-ocaml-4.14/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-4.14@sha256:8e0fa55c5724522009328de4059d85868cbceec5e2e784cdaff16370058b1ad0
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 raygui.1.6.0 1.6.0
RUN opam reinstall raygui.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" != 'raygui.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-4.14@sha256:8e0fa55c5724522009328de4059d85868cbceec5e2e784cdaff16370058b1ad0-raygui.1.6.0-ee0d916051b16f05582f35f255f3e8ff7961fed8"
2025-11-30 21:08.25: Using OBuilder spec:
((from ocaml/opam:debian-13-ocaml-4.14@sha256:8e0fa55c5724522009328de4059d85868cbceec5e2e784cdaff16370058b1ad0)
 (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 raygui.1.6.0 1.6.0"))
 (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
      (network host)
      (shell  "opam reinstall raygui.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\" != 'raygui.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
All commits already cached
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-4.14@sha256:8e0fa55c5724522009328de4059d85868cbceec5e2e784cdaff16370058b1ad0)
2025-11-30 21:08.40 ---> using "1512bb3644b45ff254cda0409dab130b6c2c0c3354f990ada3a9bbf962836822" 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.40 ---> using "e02e1ffa10603cfda126b65ff5be9801004174acd5024fb2700094b0cd23d7ac" 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.40 ---> using "5eb729855606a379ba97a23e1f1b84e0bd5a108fff203b4a4255fad839db2790" 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       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-11-30 21:08.40 ---> using "ee8ebae6f8340d3d08c0c7214b968def1b318d515fd41dbec2c74ec04abb66a8" 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.40 ---> using "9ed3fe2a86a18c42c51adb8dd5ae76161f7bbf7740308fbfb35b55f651e75180" from cache

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

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

/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 3s (3294 kB/s)
- Reading package lists...
2025-11-30 21:10.00 ---> saved as "a8bf6927bb0be50e5b44d08d26dea3e362236e3dd9f8eef852963506a1a15c07"

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

/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
                 (network host)
                 (shell  "opam reinstall raygui.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\" != 'raygui.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] raygui = 1.6.0: unmet availability conditions: 'arch != "arm32" & arch != "ppc64"'
"/usr/bin/env" "bash" "-c" "opam reinstall raygui.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" != 'raygui.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.08: Job failed: Failed: Build failed
2025-11-30 21:10.08: Log analysis:
2025-11-30 21:10.08: >>> 
[ERROR] raygui = 1.6.0: unmet availability conditions: 'arch != "arm32" & arch != "ppc64"'
 (score = 100)
2025-11-30 21:10.08: [SKIP] Package not available