(for PR #28843)

2025-11-27 22:17.48: New job: build frama-clang.0.0.19~beta, using opam dev
                              from https://github.com/ocaml/opam-repository.git#refs/pull/28843/head (54f70dbf3bc6d5a86217e550916b1400ce7f19db)
                              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/28843/head" && git reset --hard 54f70dbf
git fetch origin master
git merge --no-edit eb45f7ec868b0ffc828b9d59cccc72cfec100333
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 frama-clang.0.0.19~beta 0.0.19~beta
RUN opam reinstall frama-clang.0.0.19~beta; \
    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" != 'frama-clang.0.0.19~beta' && 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-27 22:17.48: Using cache hint "ocaml/opam:debian-13-ocaml-5.4@sha256:2c7669432e35038cb20777adb170e10b7b17e664e2f9dc2bb3c29c831cbb00f5-frama-clang.0.0.19~beta-54f70dbf3bc6d5a86217e550916b1400ce7f19db"
2025-11-27 22:17.48: 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 frama-clang.0.0.19~beta 0.0.19~beta"))
 (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
      (network host)
      (shell  "opam reinstall frama-clang.0.0.19~beta;\
             \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\" != 'frama-clang.0.0.19~beta' && 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-27 22:17.48: Waiting for resource in pool OCluster
2025-11-27 22:17.48: Waiting for worker…
2025-11-27 22:19.33: Got resource from pool OCluster
Building on okypous.caelum.ci.dev
Updating files:  67% (12802/18902)
Updating files:  68% (12854/18902)
Updating files:  69% (13043/18902)
Updating files:  70% (13232/18902)
Updating files:  71% (13421/18902)
Updating files:  72% (13610/18902)
Updating files:  73% (13799/18902)
Updating files:  74% (13988/18902)
Updating files:  75% (14177/18902)
Updating files:  76% (14366/18902)
Updating files:  77% (14555/18902)
Updating files:  78% (14744/18902)
Updating files:  79% (14933/18902)
Updating files:  80% (15122/18902)
Updating files:  81% (15311/18902)
Updating files:  82% (15500/18902)
Updating files:  83% (15689/18902)
Updating files:  84% (15878/18902)
Updating files:  85% (16067/18902)
Updating files:  86% (16256/18902)
Updating files:  87% (16445/18902)
Updating files:  88% (16634/18902)
Updating files:  89% (16823/18902)
Updating files:  90% (17012/18902)
Updating files:  91% (17201/18902)
Updating files:  92% (17390/18902)
Updating files:  93% (17579/18902)
Updating files:  94% (17768/18902)
Updating files:  95% (17957/18902)
Updating files:  96% (18146/18902)
Updating files:  97% (18335/18902)
Updating files:  98% (18524/18902)
Updating files:  99% (18713/18902)
Updating files: 100% (18902/18902)
Updating files: 100% (18902/18902), done.
HEAD is now at 5234ce3ebe Merge commit '06c3432fd13d736f213a10faa5937c5d5b259df2'
HEAD is now at eb45f7ec86 Merge pull request #28982 from dinosaure/release-dkim-v0.9.0
Merge made by the 'ort' strategy.
 packages/frama-clang/frama-clang.0.0.19~beta/opam | 47 +++++++++++++++++++++++
 1 file changed, 47 insertions(+)
 create mode 100644 packages/frama-clang/frama-clang.0.0.19~beta/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-27 22:19.42 ---> 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-27 22:19.42 ---> 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-27 22:19.42 ---> 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-27 22:19.42 ---> 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-27 22:19.42 ---> using "cf84daeb16b847282ba28770a93cb9c60d161674826e26f2b24515e7557791d7" from cache

/home/opam: (copy (src .) (dst opam-repository/))
2025-11-27 22:19.58 ---> saved as "56f058502275b562cc7e5ec57b3759233f15a9a060b92f5d016535a567c5f99b"

/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2025-11-27 22:20.35 ---> saved as "e2cf368edcf9fbe336fd77260490bdcb8ed77942c33217060e90cd20ceba47f8"

/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.1 kB]
- Fetched 164 kB in 1s (254 kB/s)
- Reading package lists...
- 
2025-11-27 22:20.44 ---> saved as "37647451f9c84bec563399019081388e395d8cb527f7d6cac5c93b6e206a9e1b"

/home/opam: (run (shell "opam pin add -k version -yn frama-clang.0.0.19~beta 0.0.19~beta"))
frama-clang is now pinned to version 0.0.19~beta
2025-11-27 22:20.46 ---> saved as "d6dff5294b587279d75e1a94cd88500eb4069b4bb3d1c28cb600c50fe0a999de"

/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
                 (network host)
                 (shell  "opam reinstall frama-clang.0.0.19~beta;\
                        \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\" != 'frama-clang.0.0.19~beta' && partial_fails=\"$partial_fails $pkg\";\
                        \n        done;\
                        \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
                        \n        exit 1"))
frama-clang.0.0.19~beta is not installed. Install it? [Y/n] y
  * Incompatible packages:
    - (invariant) -> ocaml-base-compiler >= 5.4.0 -> ocaml-compiler = 5.4.0 -> ocaml-option-bytecode-only
    - frama-clang >= 0.0.19~beta -> camlp5
    You can temporarily relax the switch invariant with `--update-invariant'
  * Incompatible packages:
    - (invariant) -> ocaml-base-compiler >= 5.4.0
    - frama-clang >= 0.0.19~beta -> camlp5 -> ocaml < 4.13.0 -> ocaml-variants
  * Missing dependency:
    - frama-clang >= 0.0.19~beta -> camlp5 -> ocaml < 4.13.0 -> ocaml-base-compiler (<= 3.07+1 | = 3.07+2 | = 3.08.0 | = 3.08.1 | = 3.08.2 | = 3.08.3 | = 3.08.4 | = 3.09.0) | ocaml-system (<= 3.07+1 | = 3.07+2 | >= 3.08.0) | ocaml-variants < 3.09.1~
    not available because the package is pinned to version 5.4.0
    unmet availability conditions, e.g. 'sys-ocaml-version = "5.4.0" & (os != "win32" | sys-ocaml-libc = "msvc")'
    no matching version
  * Missing dependency:
    - frama-clang >= 0.0.19~beta -> camlp5 -> ocaml < 4.13.0 -> ocaml-variants -> ocaml-beta
    unmet availability conditions: 'enable-ocaml-beta-repository'
  * Missing dependency:
    - frama-clang >= 0.0.19~beta -> camlp5 -> ocaml < 4.13.0 -> ocaml-variants -> system-msvc
    unmet availability conditions: 'os = "win32"'

No solution found, exiting
"/usr/bin/linux32" "/bin/sh" "-c" "opam reinstall frama-clang.0.0.19~beta;
        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" != 'frama-clang.0.0.19~beta' && 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-27 22:21.06: Job failed: Failed: Build failed
2025-11-27 22:21.06: Log analysis:
2025-11-27 22:21.06: >>> 
No solution found, exiting
 (score = 100)
2025-11-27 22:21.06: [SKIP] Package not available