(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.08/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.08@sha256:62df1cb870377e76325e88c7dcb6b5f1d8b221891880bfb6aa001662d3be22de
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.08@sha256:62df1cb870377e76325e88c7dcb6b5f1d8b221891880bfb6aa001662d3be22de-frama-clang.0.0.19~beta-54f70dbf3bc6d5a86217e550916b1400ce7f19db"
2025-11-27 22:17.43: Using OBuilder spec:
((from ocaml/opam:debian-13-ocaml-4.08@sha256:62df1cb870377e76325e88c7dcb6b5f1d8b221891880bfb6aa001662d3be22de)
 (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.50: Got resource from pool OCluster
Building on laodoke.caelum.ci.dev
Updating files:  64% (12215/18902)
Updating files:  65% (12287/18902)
Updating files:  66% (12476/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 3a0b52d2cf 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.08@sha256:62df1cb870377e76325e88c7dcb6b5f1d8b221891880bfb6aa001662d3be22de)
2025-11-27 22:17.57 ---> using "c570b24eb44b62d4db482ad37c1f9b374613018c0c693cb4ff9dea8d070c0416" 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:17.57 ---> using "868d7672f5a8c44ae53a81eb7eadfa474a817e5a21ff099576742ac70c2cf6a4" 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:17.57 ---> using "94b0b3da17d46608148ac08039e058c6a7d8d6c65c1602fe9336e8b3bf06b025" 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.08
# invariant            ["ocaml-base-compiler" {= "4.08.1"}]
# compiler-packages    ocaml-base-compiler.4.08.1
# ocaml:native         true
# ocaml:native-tools   true
# ocaml:native-dynlink true
# ocaml:stubsdir       /home/opam/.opam/4.08/lib/ocaml/stublibs:/home/opam/.opam/4.08/lib/ocaml
# ocaml:preinstalled   false
# ocaml:compiler       4.08.1
2025-11-27 22:17.57 ---> using "59a758cb9d23ce311b46eaa94d823a9b4fd64af03d2dfc8303bd204a350de2c3" 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:17.57 ---> using "1ab805fd9d664cd6dc2fa9d5d5fa756f602e0a7ead411a68eb007faf128f261a" from cache

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

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

/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 (948 kB/s)
- Reading package lists...
- 
2025-11-27 22:18.50 ---> saved as "322573ac9e45b01ef4d898d3cf7e7f3db78c904460a41709b00162fdb2e5a3ba"

/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:18.53 ---> saved as "8ba371a97f7be97fef1c4a62fc40817c0eb4abe3055a963eaa8a5c4b802c7962"

/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
  * No agreement on the version of ocaml:
    - (invariant) -> ocaml-base-compiler = 4.08.1 -> ocaml = 4.08.1
    - frama-clang >= 0.0.19~beta -> frama-c >= 32.0~ -> ocaml >= 4.14.0
    You can temporarily relax the switch invariant with `--update-invariant'

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