(for PR #27939)
2025-06-03 05:39.01: New job: build frama-clang.0.0.18~beta, using opam dev from https://github.com/ocaml/opam-repository.git#refs/pull/27939/head (92fed4945b26c41e9de254fce5536369d0f4a935) on alpine-3.21-ocaml-5.3/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:alpine-3.21-ocaml-5.3@sha256:c71ee3b109a99e639c68d8e13933fcc0e85850605d87e49928a8212309939dcd 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.18~beta 0.0.18~beta RUN opam reinstall frama-clang.0.0.18~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 "\"alpine-3.21\""; 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.18~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.01: Using cache hint "ocaml/opam:alpine-3.21-ocaml-5.3@sha256:c71ee3b109a99e639c68d8e13933fcc0e85850605d87e49928a8212309939dcd-frama-clang.0.0.18~beta-92fed4945b26c41e9de254fce5536369d0f4a935" 2025-06-03 05:39.01: Using OBuilder spec: ((from ocaml/opam:alpine-3.21-ocaml-5.3@sha256:c71ee3b109a99e639c68d8e13933fcc0e85850605d87e49928a8212309939dcd) (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.18~beta 0.0.18~beta")) (run (cache (opam-archives (target /home/opam/.opam/download-cache))) (network host) (shell "opam reinstall frama-clang.0.0.18~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 \"\\\"alpine-3.21\\\"\"; 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.18~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.01: Waiting for resource in pool OCluster 2025-06-03 05:39.01: Waiting for worker… 2025-06-03 05:39.01: Got resource from pool OCluster Building on x86-bm-c6.sw.ocaml.org All commits already cached Updating files: 96% (22343/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:alpine-3.21-ocaml-5.3@sha256:c71ee3b109a99e639c68d8e13933fcc0e85850605d87e49928a8212309939dcd) Unable to find image 'ocaml/opam:alpine-3.21-ocaml-5.3@sha256:c71ee3b109a99e639c68d8e13933fcc0e85850605d87e49928a8212309939dcd' locally docker.io/ocaml/opam@sha256:c71ee3b109a99e639c68d8e13933fcc0e85850605d87e49928a8212309939dcd: Pulling from ocaml/opam bcbb29c06df9: Pulling fs layer bcbb29c06df9: Verifying Checksum bcbb29c06df9: Download complete bcbb29c06df9: Pull complete Digest: sha256:c71ee3b109a99e639c68d8e13933fcc0e85850605d87e49928a8212309939dcd Status: Downloaded newer image for ocaml/opam@sha256:c71ee3b109a99e639c68d8e13933fcc0e85850605d87e49928a8212309939dcd 2025-06-03 05:41.06 ---> saved as "39e1a18076fbed0d00efed477a54513d0f35a9345639b59edc1949bd68ed9e2b" /: (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:41.06 ---> saved as "405b1b00a2ddabf4651484635d293d0deccbd4e0c04292208cc4fef3c7349308" /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 255 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=255 --global Format upgrade done. <><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><> [default] Initialised 2025-06-03 05:41.45 ---> saved as "aa9cfb69db3f0c20e1217347c2765fc84f34edef3eef58df58b116b9b6c5d947" /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=alpine os-version=3.21.3 # solver builtin-0install # install-criteria -changed,-count[avoid-version,solution] # upgrade-criteria -count[avoid-version,solution] # jobs 31 # repositories 1 (version-controlled) # pinned 1 (version) # current-switch 5.3 # invariant ["ocaml-base-compiler" {= "5.3.0"}] # compiler-packages ocaml-base-compiler.5.3.0, ocaml-compiler.5.3.0, ocaml-options-vanilla.1 # ocaml:native true # ocaml:native-tools true # ocaml:native-dynlink true # ocaml:stubsdir /home/opam/.opam/5.3/lib/ocaml/stublibs:/home/opam/.opam/5.3/lib/ocaml # ocaml:preinstalled false # ocaml:compiler 5.3.0 2025-06-03 05:41.45 ---> saved as "36d0fe2cf1409facd09c53b9c6069c6326f0024bff5b7bd1a2537bb8c98828ac" /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:41.58 ---> saved as "e5f67dbf5d5ba38a4717ed82c83a6901478fbc01b33190810ae0fa93ef8ec649" /home/opam: (copy (src .) (dst opam-repository/)) 2025-06-03 05:42.17 ---> saved as "8cca8ba1bf863888be88a0b8cfefc3b8766328edb4f324faf6e8ba9ed0c3f42f" /home/opam: (run (shell "opam repository set-url --strict default opam-repository/")) [default] Initialised 2025-06-03 05:42.49 ---> saved as "5714bf2dad4f631b45d31801df475f5ebcfb24dc9253b313ac33b936630e7c1a" /home/opam: (run (network host) (shell "opam update --depexts || true")) + /usr/bin/sudo "apk" "update" - fetch https://dl-cdn.alpinelinux.org/alpine/v3.21/main/x86_64/APKINDEX.tar.gz - fetch https://dl-cdn.alpinelinux.org/alpine/v3.21/community/x86_64/APKINDEX.tar.gz - fetch https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz - fetch https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz - fetch https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz - v3.21.3-574-g638d0989887 [https://dl-cdn.alpinelinux.org/alpine/v3.21/main] - v3.21.3-575-g016e410865b [https://dl-cdn.alpinelinux.org/alpine/v3.21/community] - v3.22.0-234-g8838fbea6ab [https://dl-cdn.alpinelinux.org/alpine/edge/main] - v3.22.0-234-g8838fbea6ab [https://dl-cdn.alpinelinux.org/alpine/edge/community] - v3.22.0-234-g8838fbea6ab [https://dl-cdn.alpinelinux.org/alpine/edge/testing] - OK: 58481 distinct packages available 2025-06-03 05:42.51 ---> saved as "3860896ebcb7c37a91296d43885c09c1d8eb174fb73ed795805f9d51e7d94848" /home/opam: (run (shell "opam pin add -k version -yn frama-clang.0.0.18~beta 0.0.18~beta")) frama-clang is now pinned to version 0.0.18~beta 2025-06-03 05:42.51 ---> saved as "985b164409bca1677a86283c1aab7b54660b24a69ced36a71c6487bef7eb6594" /home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache))) (network host) (shell "opam reinstall frama-clang.0.0.18~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 \"\\\"alpine-3.21\\\"\"; 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.18~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.18~beta is not installed. Install it? [Y/n] y * Missing dependency: - frama-clang >= 0.0.18~beta -> conf-libclang >= 11.0.0 depends on the unavailable system packages 'clang-dev', 'clang-static' and 'llvm-dev'. Use `--no-depexts' to attempt installation anyway, or it is possible that a depext package name in the opam file is incorrect. No solution found, exiting "/usr/bin/env" "bash" "-c" "opam reinstall frama-clang.0.0.18~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 "\"alpine-3.21\""; 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.18~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:43.08: Job failed: Failed: Build failed 2025-06-03 05:43.08: Log analysis: 2025-06-03 05:43.08: >>> No solution found, exiting (score = 100) 2025-06-03 05:43.08: [SKIP] Package not available