(for PR #27939)
2025-06-03 05:39.00: New job: build frama-c-metacsl.0.9~beta, using opam dev from https://github.com/ocaml/opam-repository.git#refs/pull/27939/head (92fed4945b26c41e9de254fce5536369d0f4a935) on debian-12-ocaml-5.4-alpha1/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/27939/head" && git reset --hard 92fed494 git fetch origin master git merge --no-edit c037675bed027195b802bf40b1840ece3feb3b2a cat > ../Dockerfile <<'END-OF-DOCKERFILE' FROM ocaml/opam:debian-12-ocaml-5.4-alpha1@sha256:3a2e801c3d969d9101cb818f01462924b5cb3510a91297023cf1a1d481607b5e 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-c-metacsl.0.9~beta 0.9~beta RUN opam reinstall frama-c-metacsl.0.9~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-12\""; then \ echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \ fi; \ test "$pkg" != 'frama-c-metacsl.0.9~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-06-03 05:39.00: Using cache hint "ocaml/opam:debian-12-ocaml-5.4-alpha1@sha256:3a2e801c3d969d9101cb818f01462924b5cb3510a91297023cf1a1d481607b5e-frama-c-metacsl.0.9~beta-92fed4945b26c41e9de254fce5536369d0f4a935" 2025-06-03 05:39.00: Using OBuilder spec: ((from ocaml/opam:debian-12-ocaml-5.4-alpha1@sha256:3a2e801c3d969d9101cb818f01462924b5cb3510a91297023cf1a1d481607b5e) (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-c-metacsl.0.9~beta 0.9~beta")) (run (cache (opam-archives (target /home/opam/.opam/download-cache))) (network host) (shell "opam reinstall frama-c-metacsl.0.9~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-12\\\"\"; 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-c-metacsl.0.9~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-06-03 05:39.00: Waiting for resource in pool OCluster 2025-06-03 05:39.00: Waiting for worker… 2025-06-03 05:39.00: Got resource from pool OCluster Building on doris.caelum.ci.dev All commits already cached Updating files: 94% (21900/23183) Updating files: 95% (22024/23183) Updating files: 96% (22256/23183) Updating files: 97% (22488/23183) Updating files: 98% (22720/23183) Updating files: 99% (22952/23183) Updating files: 100% (23183/23183) Updating files: 100% (23183/23183), done. HEAD is now at c037675bed Merge pull request #27980 from jmid/conf-freeglut-typo Merge made by the 'ort' strategy. .../frama-c-metacsl/frama-c-metacsl.0.9~beta/opam | 59 ++++++ packages/frama-c/frama-c.31.0~beta/opam | 199 +++++++++++++++++++++ packages/frama-clang/frama-clang.0.0.18~beta/opam | 48 +++++ 3 files changed, 306 insertions(+) create mode 100644 packages/frama-c-metacsl/frama-c-metacsl.0.9~beta/opam create mode 100644 packages/frama-c/frama-c.31.0~beta/opam create mode 100644 packages/frama-clang/frama-clang.0.0.18~beta/opam (from ocaml/opam:debian-12-ocaml-5.4-alpha1@sha256:3a2e801c3d969d9101cb818f01462924b5cb3510a91297023cf1a1d481607b5e) 2025-06-03 05:39.15 ---> using "be9dd8e70b83a069cd61858d21c005f4182dfb97d2c05e351237a1b4b82e5a95" 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-06-03 05:39.15 ---> using "31afe8bef0254e2d4b72b8e7b3cef8d72100e7e2532dcee6eef864a352c3c418" 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 [NOTE] The 'jobs' option was reset, its value was 39 and its new value will vary according to the current number of cores on your machine. You can restore the fixed value using: opam option jobs=39 --global Format upgrade done. <><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><> [beta] no changes from git+https://github.com/ocaml/ocaml-beta-repository [default] Initialised 2025-06-03 05:39.15 ---> using "33ed9a1b93faf0f310b59b7a5723772ad533a976342a537e86dd801954bc825d" 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.4.0~alpha2 # self-upgrade no # system arch=x86_64 os=linux os-distribution=debian os-version=12 # solver builtin-0install # install-criteria -changed,-count[avoid-version,solution] # upgrade-criteria -count[avoid-version,solution] # jobs 255 # repositories 2 (version-controlled) # pinned 1 (version) # current-switch 5.4~alpha1 # invariant ["ocaml-base-compiler" {>= "5.4.0~alpha1"}] # compiler-packages ocaml-base-compiler.5.4.0~alpha1, ocaml-compiler.5.4.0~alpha1, ocaml-options-vanilla.1 # ocaml:native true # ocaml:native-tools true # ocaml:native-dynlink true # ocaml:stubsdir /home/opam/.opam/5.4~alpha1/lib/ocaml/stublibs:/home/opam/.opam/5.4~alpha1/lib/ocaml # ocaml:preinstalled false # ocaml:compiler 5.4.0~alpha1 2025-06-03 05:39.15 ---> using "52b95343761f1eeaa628aedb469794e35aeefb726f4575676e0a8e63e1e5c1c5" 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-06-03 05:39.15 ---> using "cf06ccc291ef6e67997b41384c2ee323a0aaf224a416df2ac25720094b8235e7" from cache /home/opam: (copy (src .) (dst opam-repository/)) 2025-06-03 05:39.23 ---> saved as "58938e81afdab299263611cc9783bfca916eff170503692adce5965cf670e8b9" /home/opam: (run (shell "opam repository set-url --strict default opam-repository/")) [default] Initialised 2025-06-03 05:39.45 ---> saved as "0c8e22d0a9415ce5ae6e3b4a53305dc0f4ffa56ecf1caed15c1d1c4afa73d4df" /home/opam: (run (network host) (shell "opam update --depexts || true")) + /usr/bin/sudo "apt-get" "update" - Hit:1 http://deb.debian.org/debian bookworm InRelease - Get:2 http://deb.debian.org/debian bookworm-updates InRelease [55.4 kB] - Get:3 http://deb.debian.org/debian-security bookworm-security InRelease [48.0 kB] - Get:4 http://deb.debian.org/debian-security bookworm-security/main amd64 Packages [265 kB] - Fetched 368 kB in 3s (142 kB/s) - Reading package lists... - 2025-06-03 05:39.49 ---> saved as "880cea0b33a03cba4d6f9ceaba18a9a8d5ce88cdbf9d887b7386ca99ae81dc61" /home/opam: (run (shell "opam pin add -k version -yn frama-c-metacsl.0.9~beta 0.9~beta")) frama-c-metacsl is now pinned to version 0.9~beta 2025-06-03 05:39.50 ---> saved as "cb6b948f7d5e3f35a88480a8fdb4f2d94b20fdd7d893ea6d77f062daa1d6f02a" /home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache))) (network host) (shell "opam reinstall frama-c-metacsl.0.9~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-12\\\"\"; 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-c-metacsl.0.9~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-c-metacsl.0.9~beta is not installed. Install it? [Y/n] y * Incompatible packages: - (invariant) -> ocaml-base-compiler >= 5.4.0~alpha1 - frama-c-metacsl >= 0.9~beta -> frama-c >= 31.0~ -> ppx_deriving_yaml >= 0.2.0 -> ppxlib < 0.36.0 -> ocaml < 4.10 -> ocaml-variants (< 4.02.3~ | >= 4.02.3) You can temporarily relax the switch invariant with `--update-invariant' * Incompatible packages: - (invariant) -> ocaml-base-compiler >= 5.4.0~alpha1 - frama-c-metacsl >= 0.9~beta -> frama-c >= 31.0~ -> ppx_deriving_yaml >= 0.2.0 -> ppxlib < 0.36.0 -> ocaml-migrate-parsetree >= 1.3.1 -> ocaml < 4.13 -> dkml-base-compiler * Missing dependency: - frama-c-metacsl >= 0.9~beta -> frama-c >= 31.0~ -> ppx_deriving_yaml >= 0.2.0 -> ppxlib < 0.36.0 -> ocaml-migrate-parsetree >= 1.3.1 -> ocaml < 4.09.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~alpha1 unmet availability conditions, e.g. 'sys-ocaml-version = "5.3.0" & (os != "win32" | sys-ocaml-libc = "msvc")' no matching version * Missing dependency: - frama-c-metacsl >= 0.9~beta -> frama-c >= 31.0~ -> ppx_deriving_yaml >= 0.2.0 -> ppxlib < 0.36.0 -> ocaml < 4.10 -> ocaml-variants < 4.00.2~ -> xenbigarray unknown package * Missing dependency: - frama-c-metacsl >= 0.9~beta -> frama-c >= 31.0~ -> ppx_deriving_yaml >= 0.2.0 -> ppxlib < 0.36.0 -> ocaml < 4.10 -> ocaml-variants >= 4.02.3 -> system-msvc unmet availability conditions: 'os = "win32"' No solution found, exiting "/usr/bin/env" "bash" "-c" "opam reinstall frama-c-metacsl.0.9~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-12\""; then echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; fi; test "$pkg" != 'frama-c-metacsl.0.9~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-06-03 05:40.13: Job failed: Failed: Build failed 2025-06-03 05:40.13: Log analysis: 2025-06-03 05:40.13: >>> No solution found, exiting (score = 100) 2025-06-03 05:40.13: [SKIP] Package not available