(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 debian-13-ocaml-5.4/arm32v7

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:2c7669432e35038cb20777adb170e10b7b17e664e2f9dc2bb3c29c831cbb00f5
SHELL [ "/usr/bin/linux32", "/bin/sh", "-c" ]
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 "\"debian-13\""; 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:debian-13-ocaml-5.4@sha256:2c7669432e35038cb20777adb170e10b7b17e664e2f9dc2bb3c29c831cbb00f5-raylib-callbacks.1.6.0-ee0d916051b16f05582f35f255f3e8ff7961fed8"
2025-11-30 21:08.25: Using OBuilder spec:
((from ocaml/opam:debian-13-ocaml-5.4@sha256:2c7669432e35038cb20777adb170e10b7b17e664e2f9dc2bb3c29c831cbb00f5)
 (shell /usr/bin/linux32 /bin/sh -c)
 (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 \"\\\"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-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.26: Got resource from pool OCluster
Building on okypous.caelum.ci.dev
All commits already cached
Updating files:  85% (16110/18939)
Updating files:  86% (16288/18939)
Updating files:  87% (16477/18939)
Updating files:  88% (16667/18939)
Updating files:  89% (16856/18939)
Updating files:  90% (17046/18939)
Updating files:  91% (17235/18939)
Updating files:  92% (17424/18939)
Updating files:  93% (17614/18939)
Updating files:  94% (17803/18939)
Updating files:  95% (17993/18939)
Updating files:  96% (18182/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:debian-13-ocaml-5.4@sha256:2c7669432e35038cb20777adb170e10b7b17e664e2f9dc2bb3c29c831cbb00f5)
Unable to find image 'ocaml/opam:debian-13-ocaml-5.4@sha256:2c7669432e35038cb20777adb170e10b7b17e664e2f9dc2bb3c29c831cbb00f5' locally
docker.io/ocaml/opam@sha256:2c7669432e35038cb20777adb170e10b7b17e664e2f9dc2bb3c29c831cbb00f5: Pulling from ocaml/opam
1b661670a96f: Pulling fs layer
1b661670a96f: Verifying Checksum
1b661670a96f: Download complete
1b661670a96f: Pull complete
Digest: sha256:2c7669432e35038cb20777adb170e10b7b17e664e2f9dc2bb3c29c831cbb00f5
Status: Downloaded newer image for ocaml/opam@sha256:2c7669432e35038cb20777adb170e10b7b17e664e2f9dc2bb3c29c831cbb00f5
2025-11-30 21:08.36 ---> using "b641790398a11fe72a233862cefa16f4ff8b5f7bb8fa1fa8c0907e9731652d75" from cache

/: (shell /usr/bin/linux32 /bin/sh -c)

/: (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.36 ---> using "32eae8ae614cf2471cfd9154c9a856abd46233b056d691d6a36bf3d5f8214cf7" 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.

Continue? [Y/n] y
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.

Format upgrade done.

<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] Initialised
2025-11-30 21:08.36 ---> using "f7abbb41016ea9aed738626f035143c3d9704226263887e2f7f4213311a37b79" 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=arm32 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                 79
# 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-option-bytecode-only.1, ocaml-options-vanilla.1
# ocaml:native         false
# ocaml:native-tools   false
# ocaml:native-dynlink false
# 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+bytecode-only
2025-11-30 21:08.36 ---> using "127d6003a08593080f688a7b41c1de4ea2a1cf9b05aacd0f8e470fcdb5243479" 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.36 ---> using "cf84daeb16b847282ba28770a93cb9c60d161674826e26f2b24515e7557791d7" from cache

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

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

/home/opam: (run (network host)
                 (shell "opam update --depexts || true"))
+ /usr/bin/sudo "apt-get" "update"
- Hit:1 http://deb.debian.org/debian trixie InRelease
- 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-security trixie-security/main armhf Packages [73.5 kB]
- Fetched 164 kB in 0s (694 kB/s)
- Reading package lists...
- 
2025-11-30 21:09.20 ---> saved as "41a8314d2d377797ef132d6ca3c800172ce6d8be029b259f1d88fb9781ad7ca5"

/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:09.21 ---> saved as "9c5940911520c7a51b9368b546ca9cd342f8c27ddca726e5695dac74070ded64"

/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 \"\\\"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-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
  * Missing dependency:
    - raylib-callbacks -> raylib >= 1.6.0
    unmet availability conditions: 'arch != "arm32" & arch != "ppc64"'

No solution found, exiting
"/usr/bin/linux32" "/bin/sh" "-c" "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 "\"debian-13\""; 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" failed with exit status 20
2025-11-30 21:09.36: Job failed: Failed: Build failed
2025-11-30 21:09.36: Log analysis:
2025-11-30 21:09.36: >>> 
No solution found, exiting
 (score = 100)
2025-11-30 21:09.36: [SKIP] Package not available