(for PR #28843)

2025-11-27 22:17.43: 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-4.10/amd64

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-4.10@sha256:85c1b79908ea8045d82bdc69a8026b667b66d0e1a1dcdffd1c127ee1f21902bf
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.43: Using cache hint "ocaml/opam:debian-13-ocaml-4.10@sha256:85c1b79908ea8045d82bdc69a8026b667b66d0e1a1dcdffd1c127ee1f21902bf-frama-clang.0.0.19~beta-54f70dbf3bc6d5a86217e550916b1400ce7f19db"
2025-11-27 22:17.43: Using OBuilder spec:
((from ocaml/opam:debian-13-ocaml-4.10@sha256:85c1b79908ea8045d82bdc69a8026b667b66d0e1a1dcdffd1c127ee1f21902bf)
 (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.43: Waiting for resource in pool OCluster
2025-11-27 22:17.43: Waiting for worker…
2025-11-27 22:17.55: Got resource from pool OCluster
Building on toxis.caelum.ci.dev
Updating files:  66% (12522/18902)
Updating files:  67% (12665/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 bfd1014728 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-4.10@sha256:85c1b79908ea8045d82bdc69a8026b667b66d0e1a1dcdffd1c127ee1f21902bf)
Unable to find image 'ocaml/opam:debian-13-ocaml-4.10@sha256:85c1b79908ea8045d82bdc69a8026b667b66d0e1a1dcdffd1c127ee1f21902bf' locally
docker.io/ocaml/opam@sha256:85c1b79908ea8045d82bdc69a8026b667b66d0e1a1dcdffd1c127ee1f21902bf: Pulling from ocaml/opam
53c88f1dfeb7: Already exists
8612068b3880: Already exists
a9ffd2c1ff20: Already exists
e88201c20371: Already exists
007073ddd8f0: Already exists
c3126d4bb625: Already exists
8a6928e4058d: Already exists
7b04f03f1247: Already exists
a264efe1c748: Already exists
c2c2a8cee9ec: Already exists
bd02e8938cf1: Already exists
300c49c26f34: Already exists
95352878484d: Already exists
cbad28ac89b8: Already exists
00693f023493: Already exists
8abb35173d5a: Already exists
8abb35173d5a: Already exists
9df9187cdded: Already exists
212e1d5b1b0d: Already exists
9bb6cecfdbbb: Already exists
4d313913c294: Already exists
4f4fb700ef54: Already exists
6fd1158e0182: Already exists
ad3de8f9957c: Already exists
383f0711741b: Already exists
a4f473a3c4a3: Already exists
6ab8ff00e3f6: Already exists
7c9a17445e76: Already exists
6e1a5075932f: Already exists
07aaaceb2b98: Already exists
2f7f5cdc5637: Already exists
6d66fc59eb7a: Already exists
97f08ae6483f: Already exists
0c00b1c23c61: Already exists
ba5074dd1787: Already exists
c6e343575bef: Already exists
f18ef41d8131: Already exists
947fb25ede2d: Already exists
13c7aa93becb: Already exists
9b795cb594ed: Already exists
e574740295dd: Pulling fs layer
b25814b65f23: Pulling fs layer
7271f8107efd: Pulling fs layer
3eec553cda71: Pulling fs layer
3eec553cda71: Waiting
b25814b65f23: Verifying Checksum
b25814b65f23: Download complete
7271f8107efd: Verifying Checksum
7271f8107efd: Download complete
3eec553cda71: Download complete
e574740295dd: Verifying Checksum
e574740295dd: Download complete
e574740295dd: Pull complete
b25814b65f23: Pull complete
7271f8107efd: Pull complete
3eec553cda71: Pull complete
Digest: sha256:85c1b79908ea8045d82bdc69a8026b667b66d0e1a1dcdffd1c127ee1f21902bf
Status: Downloaded newer image for ocaml/opam@sha256:85c1b79908ea8045d82bdc69a8026b667b66d0e1a1dcdffd1c127ee1f21902bf
2025-11-27 22:26.16 ---> using "f9f37c01a514a0ce6c97b2a1c5cfcbfe7d07680fc2ff1e7897eeb50064ae5e98" 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-27 22:26.16 ---> using "ddb3a94fee95f1a1e11a9fd178b50d8b899a8dcebf8877922ada61211ecfc2b4" 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-27 22:26.16 ---> using "c73bc7994a61846be014c8586c77051920043ab1ec3f54a810ae05f85aefc133" 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~rc1
# self-upgrade         no
# system               arch=x86_64 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                 71
# repositories         1 (version-controlled)
# pinned               1 (version)
# current-switch       4.10
# invariant            ["ocaml-base-compiler" {= "4.10.2"}]
# compiler-packages    ocaml-base-compiler.4.10.2
# ocaml:native         true
# ocaml:native-tools   true
# ocaml:native-dynlink true
# ocaml:stubsdir       /home/opam/.opam/4.10/lib/ocaml/stublibs:/home/opam/.opam/4.10/lib/ocaml
# ocaml:preinstalled   false
# ocaml:compiler       4.10.2
2025-11-27 22:26.16 ---> using "9c08ee885338a58a43feb2139cd84b6ab0adb02f01ade0f4ca6d6f99152908db" 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:26.16 ---> using "077bb59f1db5324ec619598a17d619129d02552b6adc1986e1c4088c005d4979" from cache

/home/opam: (copy (src .) (dst opam-repository/))
2025-11-27 22:26.18 ---> using "f7cd8f63360c3e64c2961f85af3712453a5f9c363cc8527c2e805b009a90f5b5" from cache

/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2025-11-27 22:26.18 ---> using "5c87a31651e3d3546cfbc29b42b01fa7cdcb262b694ebb20c8af38fee7e353d3" from cache

/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 amd64 Packages [75.6 kB]
- Fetched 166 kB in 0s (1671 kB/s)
- Reading package lists...
- 
2025-11-27 22:26.18 ---> using "ac953eaaa098de7ceca8ff59d3b8b30f0222c8f6cebf25f4defccdcd2a608ec1" from cache

/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:26.18 ---> using "0206a36d32f891547e5129ee1cca459c128c126dfca2a6de7c7f06f848050aea" from cache

/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 = 4.10.2
    - frama-clang >= 0.0.19~beta -> frama-c >= 32.0~ -> ocaml >= 4.14.0 -> ocaml-variants < 5.5.1~
    You can temporarily relax the switch invariant with `--update-invariant'
  * Missing dependency:
    - frama-clang >= 0.0.19~beta -> frama-c >= 32.0~ -> ocaml >= 4.14.0 -> ocaml-variants < 4.14.1~ -> ocaml-beta
    unmet availability conditions: 'enable-ocaml-beta-repository'
  * Missing dependency:
    - frama-clang >= 0.0.19~beta -> frama-c >= 32.0~ -> ocaml >= 4.14.0 -> ocaml-variants < 5.2.1~ -> system-msvc
    unmet availability conditions: 'os = "win32"'

No solution found, exiting
"/usr/bin/env" "bash" "-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:26.53: Job failed: Failed: Build failed
2025-11-27 22:26.53: Log analysis:
2025-11-27 22:26.53: >>> 
No solution found, exiting
 (score = 100)
2025-11-27 22:26.53: [SKIP] Package not available