(for PR #29259)

2026-01-21 14:06.27: New job: build codex.1.0~rc4, using opam dev
                              from https://github.com/ocaml/opam-repository.git#refs/pull/29259/head (6e8e829f522606bcc768caf41c97751270c5398f)
                              on debian-13-ocaml-4.14/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/29259/head" && git reset --hard 6e8e829f
git fetch origin master
git merge --no-edit 10a02a697b08f6d78a6c4c2cb9a76136afc7776d
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-13-ocaml-4.14@sha256:eb9388516aa9ee39c5d9d8b3aa5163725a8f704e7e746fe91b941299e6f6ce28
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 codex.1.0~rc4 1.0~rc4
RUN opam reinstall codex.1.0~rc4; \
    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" != 'codex.1.0~rc4' && 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 .

2026-01-21 14:06.27: Using cache hint "ocaml/opam:debian-13-ocaml-4.14@sha256:eb9388516aa9ee39c5d9d8b3aa5163725a8f704e7e746fe91b941299e6f6ce28-codex.1.0~rc4-6e8e829f522606bcc768caf41c97751270c5398f"
2026-01-21 14:06.27: Using OBuilder spec:
((from ocaml/opam:debian-13-ocaml-4.14@sha256:eb9388516aa9ee39c5d9d8b3aa5163725a8f704e7e746fe91b941299e6f6ce28)
 (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 codex.1.0~rc4 1.0~rc4"))
 (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
      (network host)
      (shell  "opam reinstall codex.1.0~rc4;\
             \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\" != 'codex.1.0~rc4' && partial_fails=\"$partial_fails $pkg\";\
             \n        done;\
             \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
             \n        exit 1"))
)

2026-01-21 14:06.27: Waiting for resource in pool OCluster
2026-01-21 14:06.28: Waiting for worker…
2026-01-21 14:47.16: Got resource from pool OCluster
Building on ainia.caelum.ci.dev
All commits already cached
Updating files:  76% (14789/19236)
Updating files:  77% (14812/19236)
Updating files:  78% (15005/19236)
Updating files:  79% (15197/19236)
Updating files:  80% (15389/19236)
Updating files:  81% (15582/19236)
Updating files:  82% (15774/19236)
Updating files:  83% (15966/19236)
Updating files:  84% (16159/19236)
Updating files:  85% (16351/19236)
Updating files:  86% (16543/19236)
Updating files:  87% (16736/19236)
Updating files:  88% (16928/19236)
Updating files:  89% (17121/19236)
Updating files:  90% (17313/19236)
Updating files:  91% (17505/19236)
Updating files:  92% (17698/19236)
Updating files:  93% (17890/19236)
Updating files:  94% (18082/19236)
Updating files:  95% (18275/19236)
Updating files:  96% (18467/19236)
Updating files:  97% (18659/19236)
Updating files:  98% (18852/19236)
Updating files:  99% (19044/19236)
Updating files: 100% (19236/19236)
Updating files: 100% (19236/19236), done.
HEAD is now at 10a02a697b Merge pull request #29249 from panglesd/release-slipshow-v0.8.0
Updating 10a02a697b..6e8e829f52
Fast-forward
 packages/binsec_codex/binsec_codex.1.0-rc4/opam   | 54 +++++++++++++
 packages/codex/codex.1.0~rc4/opam                 | 92 +++++++++++++++++++++++
 packages/frama_c_codex/frama_c_codex.1.0-rc4/opam | 55 ++++++++++++++
 3 files changed, 201 insertions(+)
 create mode 100644 packages/binsec_codex/binsec_codex.1.0-rc4/opam
 create mode 100644 packages/codex/codex.1.0~rc4/opam
 create mode 100644 packages/frama_c_codex/frama_c_codex.1.0-rc4/opam

(from ocaml/opam:debian-13-ocaml-4.14@sha256:eb9388516aa9ee39c5d9d8b3aa5163725a8f704e7e746fe91b941299e6f6ce28)
Unable to find image 'ocaml/opam:debian-13-ocaml-4.14@sha256:eb9388516aa9ee39c5d9d8b3aa5163725a8f704e7e746fe91b941299e6f6ce28' locally
docker.io/ocaml/opam@sha256:eb9388516aa9ee39c5d9d8b3aa5163725a8f704e7e746fe91b941299e6f6ce28: Pulling from ocaml/opam
11c42a85d7bc: Pulling fs layer
11c42a85d7bc: Verifying Checksum
11c42a85d7bc: Download complete
11c42a85d7bc: Pull complete
Digest: sha256:eb9388516aa9ee39c5d9d8b3aa5163725a8f704e7e746fe91b941299e6f6ce28
Status: Downloaded newer image for ocaml/opam@sha256:eb9388516aa9ee39c5d9d8b3aa5163725a8f704e7e746fe91b941299e6f6ce28
2026-01-21 14:47.18 ---> using "f93190b1bd3420d0691c4747bc4982474ba9fd2940d67a3c601dbb26b29112f1" 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"))
2026-01-21 14:47.18 ---> using "291361e95fb5d8c42b3334390f4fafc2b4a12039d6aeb6397587e696a53567cd" 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
2026-01-21 14:47.18 ---> using "eca8a9c1cae54ead1743b15a02d588ededa9bd283259ce4bbcbafb93143eb0a9" 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
# 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       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
2026-01-21 14:47.18 ---> using "60e7af4a8956c44788aee08560c1f61ed2a03f10870357f3557fb03eda90f869" 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/"))
2026-01-21 14:47.18 ---> using "ab689220024a8543bbd8248212fa5cf3a2ff19360077009bdc9d861035b4b59f" from cache

/home/opam: (copy (src .) (dst opam-repository/))
2026-01-21 14:47.19 ---> using "ee468ae92846e6c3a963f9afbba1ffb35f159658dec8c685ae757c40c55560e1" from cache

/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2026-01-21 14:47.19 ---> using "057e6ebe01a3a38b38fd1271ebeea838d01303823335b60a76fe6fa18729668b" from cache

/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 armhf Packages [9238 kB]
- Get:5 http://deb.debian.org/debian-security trixie-security/main armhf Packages [90.6 kB]
- Fetched 9560 kB in 1s (7028 kB/s)
- Reading package lists...
- 
2026-01-21 14:47.19 ---> using "b2a69848b2a5ad807ea83983fcb4e023172b63a0d07ef3f7df2e58b9dc3bb60c" from cache

/home/opam: (run (shell "opam pin add -k version -yn codex.1.0~rc4 1.0~rc4"))
codex is now pinned to version 1.0~rc4
2026-01-21 14:47.20 ---> saved as "93c7fb6687f6958f779233834fea283ed7ce77bc7d0e96283688ed2c045755b2"

/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
                 (network host)
                 (shell  "opam reinstall codex.1.0~rc4;\
                        \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\" != 'codex.1.0~rc4' && partial_fails=\"$partial_fails $pkg\";\
                        \n        done;\
                        \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
                        \n        exit 1"))
codex.1.0~rc4 is not installed. Install it? [Y/n] y
  * Missing dependency:
    - codex -> ocaml-embed-file >= v0.16.0 -> async >= v0.16 -> async_unix >= v0.16 -> core_unix >= v0.16 -> ocaml_intrinsics >= v0.16
    unmet availability conditions, e.g. 'arch = "x86_64" & os != "win32"'

No solution found, exiting
"/usr/bin/linux32" "/bin/sh" "-c" "opam reinstall codex.1.0~rc4;
        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" != 'codex.1.0~rc4' && 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
2026-01-21 14:47.35: Job failed: Failed: Build failed
2026-01-21 14:47.35: Log analysis:
2026-01-21 14:47.35: >>> 
No solution found, exiting
 (score = 100)
2026-01-21 14:47.35: [SKIP] Package not available