(for PR #25889)
2024-11-05 11:32.18: New job: build conf-libclang.14, using opam dev from https://github.com/ocaml/opam-repository.git#refs/pull/25889/head (93450bab6f4ccfda0b50177b39c9218bc8e47470) on debian-12-ocaml-5.3-beta1/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/25889/head" && git reset --hard 93450bab git fetch origin master git merge --no-edit 2dff29abd6cda0706f80503db11dd4af4e7db559 cat > ../Dockerfile <<'END-OF-DOCKERFILE' FROM ocaml/opam:debian-12-ocaml-5.3-beta1@sha256:2866837121b116e72f8371aa27d15d268739ff553289f2572f8c4aa3b0d1732b USER 1000:1000 WORKDIR /home/opam RUN sudo ln -f /usr/bin/opam-dev /usr/bin/opam RUN opam init --reinit -ni RUN uname -rs && opam exec -- ocaml -version && opam --version ENV OPAMDOWNLOADJOBS="1" ENV OPAMERRLOGLEN="0" ENV OPAMSOLVERTIMEOUT="1000" 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 conf-libclang.14 14 RUN opam reinstall conf-libclang.14; \ 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" != 'conf-libclang.14' && 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 . 2024-11-05 11:32.18: Using cache hint "ocaml/opam:debian-12-ocaml-5.3-beta1@sha256:2866837121b116e72f8371aa27d15d268739ff553289f2572f8c4aa3b0d1732b-conf-libclang.14-93450bab6f4ccfda0b50177b39c9218bc8e47470" 2024-11-05 11:32.18: Using OBuilder spec: ((from ocaml/opam:debian-12-ocaml-5.3-beta1@sha256:2866837121b116e72f8371aa27d15d268739ff553289f2572f8c4aa3b0d1732b) (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 "uname -rs && opam exec -- ocaml -version && opam --version")) (env OPAMDOWNLOADJOBS 1) (env OPAMERRLOGLEN 0) (env OPAMSOLVERTIMEOUT 1000) (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 conf-libclang.14 14")) (run (cache (opam-archives (target /home/opam/.opam/download-cache))) (network host) (shell "opam reinstall conf-libclang.14;\ \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\" != 'conf-libclang.14' && partial_fails=\"$partial_fails $pkg\";\ \n done;\ \n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\ \n exit 1")) ) 2024-11-05 11:32.18: Waiting for resource in pool OCluster 2024-11-05 11:32.19: Waiting for worker… 2024-11-05 11:32.19: Got resource from pool OCluster Building on x86-bm-c14.sw.ocaml.org All commits already cached Updating files: 85% (27973/32627) Updating files: 86% (28060/32627) Updating files: 87% (28386/32627) Updating files: 88% (28712/32627) Updating files: 89% (29039/32627) Updating files: 90% (29365/32627) Updating files: 91% (29691/32627) Updating files: 92% (30017/32627) Updating files: 93% (30344/32627) Updating files: 94% (30670/32627) Updating files: 95% (30996/32627) Updating files: 96% (31322/32627) Updating files: 97% (31649/32627) Updating files: 98% (31975/32627) Updating files: 99% (32301/32627) Updating files: 100% (32627/32627) Updating files: 100% (32627/32627), done. HEAD is now at 2dff29abd6 Merge pull request #26837 from dboris/camlkit-0.3.0 Auto-merging packages/conf-libclang/conf-libclang.15/opam Merge made by the 'ort' strategy. packages/conf-libclang/conf-libclang.10/opam | 52 +++++++++++++----- packages/conf-libclang/conf-libclang.11/opam | 54 ++++++++++++++----- packages/conf-libclang/conf-libclang.12/opam | 52 ++++++++++++------ packages/conf-libclang/conf-libclang.13/opam | 60 ++++++++++++--------- packages/conf-libclang/conf-libclang.14/opam | 61 +++++++++++++-------- packages/conf-libclang/conf-libclang.15/opam | 62 +++++++++++++-------- packages/conf-libclang/conf-libclang.16/opam | 76 ++++++++++++++++++++++++++ packages/conf-libclang/conf-libclang.17/opam | 78 +++++++++++++++++++++++++++ packages/conf-libclang/conf-libclang.18/opam | 80 ++++++++++++++++++++++++++++ 9 files changed, 461 insertions(+), 114 deletions(-) create mode 100644 packages/conf-libclang/conf-libclang.16/opam create mode 100644 packages/conf-libclang/conf-libclang.17/opam create mode 100644 packages/conf-libclang/conf-libclang.18/opam (from ocaml/opam:debian-12-ocaml-5.3-beta1@sha256:2866837121b116e72f8371aa27d15d268739ff553289f2572f8c4aa3b0d1732b) Unable to find image 'ocaml/opam:debian-12-ocaml-5.3-beta1@sha256:2866837121b116e72f8371aa27d15d268739ff553289f2572f8c4aa3b0d1732b' locally docker.io/ocaml/opam@sha256:2866837121b116e72f8371aa27d15d268739ff553289f2572f8c4aa3b0d1732b: Pulling from ocaml/opam 2c23c3f0208d: Pulling fs layer 2c23c3f0208d: Verifying Checksum 2c23c3f0208d: Download complete 2c23c3f0208d: Pull complete Digest: sha256:2866837121b116e72f8371aa27d15d268739ff553289f2572f8c4aa3b0d1732b Status: Downloaded newer image for ocaml/opam@sha256:2866837121b116e72f8371aa27d15d268739ff553289f2572f8c4aa3b0d1732b 2024-11-05 11:34.04 ---> saved as "7851787cfd13ad119af2b8c1fac3ac044669b2a6dd2c53f378823e5a5974c63c" /: (user (uid 1000) (gid 1000)) /: (workdir /home/opam) /home/opam: (run (shell "sudo ln -f /usr/bin/opam-dev /usr/bin/opam")) 2024-11-05 11:34.04 ---> saved as "40fd66746d7a16fef49549b6d92f6babaa8961c7254c58d32376bfa266db0e09" /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 development 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 ><><><><><><><><><><><><><><><><><><><><><><><><><><> [beta] no changes from git+https://github.com/ocaml/ocaml-beta-repository [default] synchronised from file:///home/opam/opam-repository 2024-11-05 11:35.53 ---> saved as "29ce68977aa4b2aa5c34a22ab129a758b6eb9dba701034aee6663f02993621d6" /home/opam: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version")) Linux 5.15.0-122-generic The OCaml toplevel, version 5.3.0~beta1 2.4.0~alpha1~dev 2024-11-05 11:35.54 ---> saved as "71b549bd331ca3a801abed7ed1caeb36b83170c716c627bdc1537bf5387bb719" /home/opam: (env OPAMDOWNLOADJOBS 1) /home/opam: (env OPAMERRLOGLEN 0) /home/opam: (env OPAMSOLVERTIMEOUT 1000) /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/")) 2024-11-05 11:36.18 ---> saved as "0bf890efbf07c9a5fe18300d96b9fc0e29a63d7c0b568f5de3456587ca7e6faa" /home/opam: (copy (src .) (dst opam-repository/)) 2024-11-05 11:36.35 ---> saved as "dd44fe55202e1af4e58523c101ace3e295ba60a3b14ac59523f08843755502d1" /home/opam: (run (shell "opam repository set-url --strict default opam-repository/")) [default] Initialised 2024-11-05 11:37.40 ---> saved as "3aabcede44ac209a539c0b37474d4a5cb8fc0523c4c9c3fcd440623f86785183" /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] - Fetched 103 kB in 0s (504 kB/s) - Reading package lists... 2024-11-05 11:37.41 ---> saved as "b74e9eb0f84e260c6c4a7e7fbe4356d199574bfc3a76e444d00184fe3d8635c8" /home/opam: (run (shell "opam pin add -k version -yn conf-libclang.14 14")) conf-libclang is now pinned to version 14 2024-11-05 11:37.41 ---> saved as "1e77c2f23df62cab5623356f661132559f249d89c44d6f9b95a2cb4371b58d30" /home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache))) (network host) (shell "opam reinstall conf-libclang.14;\ \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\" != 'conf-libclang.14' && partial_fails=\"$partial_fails $pkg\";\ \n done;\ \n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\ \n exit 1")) conf-libclang.14 is not installed. Install it? [y/n] y * Incompatible packages: - (invariant) -> ocaml-base-compiler >= 5.3.0~beta1 - conf-libclang = 14 -> stdcompat >= 19 -> ocaml < 5.2 -> dkml-base-compiler You can temporarily relax the switch invariant with `--update-invariant' * Incompatible packages: - (invariant) -> ocaml-base-compiler >= 5.3.0~beta1 - conf-libclang = 14 -> stdcompat >= 19 -> ocaml < 5.2 -> ocaml-variants (< 4.00.1~ | >= 4.00.1) * Missing dependency: - conf-libclang = 14 -> stdcompat >= 19 -> ocaml < 5.2 -> 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.3.0~beta1 unmet availability conditions, e.g. 'sys-ocaml-version = "5.2.0" & (os != "win32" | sys-ocaml-libc = "msvc")' no matching version * Missing dependency: - conf-libclang = 14 -> stdcompat >= 19 -> ocaml < 5.2 -> ocaml-variants >= 4.00.1 -> system-msvc unmet availability conditions: 'os = "win32"' No solution found, exiting "/usr/bin/env" "bash" "-c" "opam reinstall conf-libclang.14; 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" != 'conf-libclang.14' && 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 2024-11-05 11:38.31: Job failed: Failed: Build failed 2024-11-05 11:38.31: Log analysis: 2024-11-05 11:38.31: >>> No solution found, exiting (score = 100) 2024-11-05 11:38.31: [SKIP] Package not available