(for PR #28843)
2025-11-27 22:17.49: New job: build frama-clang.0.0.19~beta, using opam 2.0
from https://github.com/ocaml/opam-repository.git#refs/pull/28843/head (54f70dbf3bc6d5a86217e550916b1400ce7f19db)
on debian-13-ocaml-4.14/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.14@sha256:99907d462a916dc0195d51cfc4de28ffc4995497f1f069c9dde86b445ade484c
USER 1000:1000
WORKDIR /home/opam
RUN sudo ln -f /usr/bin/opam-2.0 /usr/bin/opam
RUN opam init --reinit -ni
RUN 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 depext -u || true
RUN opam pin add -k version -yn frama-clang.0.0.19~beta 0.0.19~beta
RUN opam depext frama-clang.0.0.19~beta && 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.49: Using cache hint "ocaml/opam:debian-13-ocaml-4.14@sha256:99907d462a916dc0195d51cfc4de28ffc4995497f1f069c9dde86b445ade484c-frama-clang.0.0.19~beta-54f70dbf3bc6d5a86217e550916b1400ce7f19db"
2025-11-27 22:17.49: Using OBuilder spec:
((from ocaml/opam:debian-13-ocaml-4.14@sha256:99907d462a916dc0195d51cfc4de28ffc4995497f1f069c9dde86b445ade484c)
(user (uid 1000) (gid 1000))
(workdir /home/opam)
(run (shell "sudo ln -f /usr/bin/opam-2.0 /usr/bin/opam"))
(run (network host)
(shell "opam init --reinit --config .opamrc-sandbox -ni"))
(run (shell "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 depext -u || 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 depext frama-clang.0.0.19~beta && 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.49: Waiting for resource in pool OCluster
2025-11-27 22:17.49: Waiting for worker…
2025-11-27 22:20.59: Got resource from pool OCluster
Building on bremusa.ocamllabs.io
All commits already cached
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.14@sha256:99907d462a916dc0195d51cfc4de28ffc4995497f1f069c9dde86b445ade484c)
2025-11-27 22:21.18 ---> using "e1d8c7e6beb03face60eaf04e7070eb8fe39365c831388bb928a8a0dc291c14b" from cache
/: (user (uid 1000) (gid 1000))
/: (workdir /home/opam)
/home/opam: (run (shell "sudo ln -f /usr/bin/opam-2.0 /usr/bin/opam"))
2025-11-27 22:21.18 ---> using "daa5c27b303555eb08e063616d44973741a7df82bbb32474a57820e41765a274" from cache
/home/opam: (run (network host)
(shell "opam init --reinit --config .opamrc-sandbox -ni"))
[NOTE] Will configure 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.
[WARNING] Recommended dependencies -- most packages rely on these:
- m4
<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] Initialised
default (at git+file:///home/opam/opam-repository):
[INFO] opam 2.1 and 2.2 include many performance and security improvements over 2.0; please consider upgrading (https://opam.ocaml.org/doc/Install.html)
2025-11-27 22:21.18 ---> using "d880a3938fdc72a79b019ebd2eac9edd75752d6aad6907824e0c75a8f8f24f5c" from cache
/home/opam: (run (shell "opam config report"))
# opam config report
# opam-version 2.0.10 (adc1e1829a2bef5b240746df80341b508290fe3b)
# self-upgrade no
# system arch=x86_64 os=linux os-distribution=debian os-version=13
# solver builtin-mccs+glpk
# install-criteria -removed,-count[version-lag,request],-count[version-lag,changed],-changed
# upgrade-criteria -removed,-count[version-lag,solution],-new
# jobs 71
# repositories 1 (version-controlled)
# pinned 1 (version)
# current-switch 4.14
2025-11-27 22:21.18 ---> using "b39a6518b6397510c3ec25add8199a0600b01748d56dbf62e33c446913ee4dda" 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:21.18 ---> using "89ef2ffada4c2228b8f41fd0f0f76294214777eb5c05cd80349181ba79290445" from cache
/home/opam: (copy (src .) (dst opam-repository/))
2025-11-27 22:21.31 ---> saved as "49f9839a618682bb7e17e31e5f00b7ccd8fbc36dc111d1de8a2315eb32920806"
/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
default (at file:///home/opam/opam-repository):
[INFO] opam 2.1 and 2.2 include many performance and security improvements over 2.0; please consider upgrading (https://opam.ocaml.org/doc/Install.html)
2025-11-27 22:21.44 ---> saved as "23f988dd5703d5e898e32e1483dc310cc15e9baec10b07be07c35e5f5f563dfd"
/home/opam: (run (network host)
(shell "opam depext -u || true"))
# Detecting depexts using vars: arch=x86_64, os=linux, os-distribution=debian, os-family=debian
# No extra OS packages requirements found.
# All required OS packages found.
The following command needs to be run through "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 amd64 Packages [9670 kB]
Get:5 http://deb.debian.org/debian-security trixie-security/main amd64 Packages [75.6 kB]
Fetched 9977 kB in 1s (7222 kB/s)
Reading package lists...
# OS package update successful
2025-11-27 22:21.48 ---> saved as "4e8d277faa0053ee647af4757493f1c38b08d8fccddf6d64e9b0b9e9185df5a0"
/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:21.48 ---> saved as "23c0c13f1a5bd39e5ebc395f4c309e522d64b08c49090970e8e3b6ef976dd960"
/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam depext frama-clang.0.0.19~beta && 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"))
# Detecting depexts using vars: arch=x86_64, os=linux, os-distribution=debian, os-family=debian
[ERROR] No solution for frama-clang.0.0.19~beta: The following dependencies couldn't be met:
- frama-clang -> frama-c >= 32.0~
unmet availability conditions: opam-version >= "2.1.0"
Command failed: opam list --readonly --external '--resolve=frama-clang.0.0.19~beta' --color=never returned 20
"/usr/bin/env" "bash" "-c" "opam depext frama-clang.0.0.19~beta && 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.59: Job failed: Failed: Build failed
2025-11-27 22:21.59: Log analysis:
2025-11-27 22:21.59: >>>
[ERROR] No solution for frama-clang.0.0.19~beta: The following dependencies couldn't be met:
(score = 100)
2025-11-27 22:21.59: [SKIP] Package not available