(for PR #19229)
2024-04-17 19:21.16: New job: build conf-llvm.5.0.0, using opam dev from https://github.com/ocaml/opam-repository.git#refs/pull/19229/head (e200798bccb6e55ca7626dbc7b08164746413023) on fedora-38-ocaml-5.1/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/19229/head" && git reset --hard e200798b git fetch origin master git merge --no-edit f089d8564db935c703bea70a4b3d8335ffa1bef3 cat > ../Dockerfile <<'END-OF-DOCKERFILE' FROM ocaml/opam:fedora-38-ocaml-5.1@sha256:3284b871ef7621931618cc2ce7feb937abf82833cf1b77c76db72d835c347446 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="500" 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 ENV OPAMCRITERIA="-removed,-count[avoid-version,changed],-count[version-lag,request],-count[version-lag,changed],-count[missing-depexts,changed],-changed" ENV OPAMFIXUPCRITERIA="-removed,-count[avoid-version,changed],-count[version-lag,request],-count[version-lag,changed],-count[missing-depexts,changed],-changed" ENV OPAMUPGRADECRITERIA="-removed,-count[avoid-version,changed],-count[version-lag,request],-count[version-lag,changed],-count[missing-depexts,changed],-changed" RUN opam pin add -k version -yn conf-llvm.5.0.0 5.0.0 RUN opam reinstall conf-llvm.5.0.0; \ 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 "\"fedora-38\""; then \ echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \ fi; \ test "$pkg" != 'conf-llvm.5.0.0' && 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-04-17 19:21.16: Using cache hint "ocaml/opam:fedora-38-ocaml-5.1@sha256:3284b871ef7621931618cc2ce7feb937abf82833cf1b77c76db72d835c347446-conf-llvm.5.0.0-e200798bccb6e55ca7626dbc7b08164746413023" 2024-04-17 19:21.16: Using OBuilder spec: ((from ocaml/opam:fedora-38-ocaml-5.1@sha256:3284b871ef7621931618cc2ce7feb937abf82833cf1b77c76db72d835c347446) (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 500) (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")) (env OPAMCRITERIA -removed,-count[avoid-version,changed],-count[version-lag,request],-count[version-lag,changed],-count[missing-depexts,changed],-changed) (env OPAMFIXUPCRITERIA -removed,-count[avoid-version,changed],-count[version-lag,request],-count[version-lag,changed],-count[missing-depexts,changed],-changed) (env OPAMUPGRADECRITERIA -removed,-count[avoid-version,changed],-count[version-lag,request],-count[version-lag,changed],-count[missing-depexts,changed],-changed) (run (shell "opam pin add -k version -yn conf-llvm.5.0.0 5.0.0")) (run (cache (opam-archives (target /home/opam/.opam/download-cache))) (network host) (shell "opam reinstall conf-llvm.5.0.0;\ \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 \"\\\"fedora-38\\\"\"; 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-llvm.5.0.0' && partial_fails=\"$partial_fails $pkg\";\ \n done;\ \n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\ \n exit 1")) ) 2024-04-17 19:21.16: Waiting for resource in pool OCluster 2024-04-17 19:29.11: Waiting for worker… 2024-04-17 19:31.21: Got resource from pool OCluster Building on x86-bm-c3.sw.ocaml.org All commits already cached Updating files: 69% (23418/33522) Updating files: 70% (23466/33522) Updating files: 71% (23801/33522) Updating files: 72% (24136/33522) Updating files: 73% (24472/33522) Updating files: 74% (24807/33522) Updating files: 75% (25142/33522) Updating files: 76% (25477/33522) Updating files: 77% (25812/33522) Updating files: 78% (26148/33522) Updating files: 79% (26483/33522) Updating files: 80% (26818/33522) Updating files: 81% (27153/33522) Updating files: 82% (27489/33522) Updating files: 83% (27824/33522) Updating files: 84% (28159/33522) Updating files: 85% (28494/33522) Updating files: 86% (28829/33522) Updating files: 87% (29165/33522) Updating files: 88% (29500/33522) Updating files: 89% (29835/33522) Updating files: 90% (30170/33522) Updating files: 91% (30506/33522) Updating files: 92% (30841/33522) Updating files: 93% (31176/33522) Updating files: 94% (31511/33522) Updating files: 95% (31846/33522) Updating files: 96% (32182/33522) Updating files: 97% (32517/33522) Updating files: 98% (32852/33522) Updating files: 99% (33187/33522) Updating files: 100% (33522/33522) Updating files: 100% (33522/33522), done. HEAD is now at f089d8564d Merge pull request #25672 from gborough/opam-publish-fred.0.1.0 Auto-merging packages/conf-llvm/conf-llvm.10.0.0/opam Auto-merging packages/conf-llvm/conf-llvm.11.0.0/opam Auto-merging packages/conf-llvm/conf-llvm.3.8/opam Auto-merging packages/conf-llvm/conf-llvm.3.9/opam Auto-merging packages/conf-llvm/conf-llvm.4.0.0/opam Auto-merging packages/conf-llvm/conf-llvm.5.0.0/opam Auto-merging packages/conf-llvm/conf-llvm.6.0.0/opam Auto-merging packages/conf-llvm/conf-llvm.7.0.0/opam Auto-merging packages/conf-llvm/conf-llvm.8.0.0/opam Auto-merging packages/conf-llvm/conf-llvm.9.0.0/opam Merge made by the 'ort' strategy. packages/conf-llvm/conf-llvm.10.0.0/files/configure.sh | 2 +- packages/conf-llvm/conf-llvm.10.0.0/opam | 2 +- packages/conf-llvm/conf-llvm.11.0.0/files/configure.sh | 2 +- packages/conf-llvm/conf-llvm.11.0.0/opam | 2 +- packages/conf-llvm/conf-llvm.3.4/files/configure | 2 +- packages/conf-llvm/conf-llvm.3.4/opam | 2 +- packages/conf-llvm/conf-llvm.3.8/files/configure.sh | 2 +- packages/conf-llvm/conf-llvm.3.8/opam | 2 +- packages/conf-llvm/conf-llvm.3.9/files/configure.sh | 2 +- packages/conf-llvm/conf-llvm.3.9/opam | 2 +- packages/conf-llvm/conf-llvm.4.0.0/files/configure.sh | 2 +- packages/conf-llvm/conf-llvm.4.0.0/opam | 2 +- packages/conf-llvm/conf-llvm.5.0.0/files/configure.sh | 2 +- packages/conf-llvm/conf-llvm.5.0.0/opam | 2 +- packages/conf-llvm/conf-llvm.6.0.0/files/configure.sh | 2 +- packages/conf-llvm/conf-llvm.6.0.0/opam | 2 +- packages/conf-llvm/conf-llvm.7.0.0/files/configure.sh | 2 +- packages/conf-llvm/conf-llvm.7.0.0/opam | 2 +- packages/conf-llvm/conf-llvm.8.0.0/files/configure.sh | 2 +- packages/conf-llvm/conf-llvm.8.0.0/opam | 2 +- packages/conf-llvm/conf-llvm.9.0.0/files/configure.sh | 2 +- packages/conf-llvm/conf-llvm.9.0.0/opam | 2 +- 22 files changed, 22 insertions(+), 22 deletions(-) (from ocaml/opam:fedora-38-ocaml-5.1@sha256:3284b871ef7621931618cc2ce7feb937abf82833cf1b77c76db72d835c347446) 2024-04-17 19:34.14 ---> using "39a80b5850302be66eb9925471b6daa48a2984736b574aa89531013aafd961e6" from cache /: (user (uid 1000) (gid 1000)) /: (workdir /home/opam) /home/opam: (run (shell "sudo ln -f /usr/bin/opam-dev /usr/bin/opam")) 2024-04-17 19:34.14 ---> using "30b7ca4115df4e4f9fa1c77bfe45ec8dd8e96433ea5adb1a5f8df2fe79720660" 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. Continue? [y/n] y This development version of opam requires an update to the layout of /home/opam/.opam from version 2.0 to version 2.2~alpha, which can't be reverted. You may want to back it up before going further. Format upgrade done. <><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><> [default] synchronised from file:///home/opam/opam-repository 2024-04-17 19:34.14 ---> using "11369c5014b04d81fee73cbf2cd28fdb3d67da0e0f02f03a964775db77d44ed6" from cache /home/opam: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version")) Linux 5.15.0-101-generic The OCaml toplevel, version 5.1.1 2.2.0~beta3~dev 2024-04-17 19:34.14 ---> using "ede62b3283a2d15a0e3ee028f0394123e06c8d94c057a802f3e7b857b9eb93c4" from cache /home/opam: (env OPAMDOWNLOADJOBS 1) /home/opam: (env OPAMERRLOGLEN 0) /home/opam: (env OPAMSOLVERTIMEOUT 500) /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-04-17 19:34.14 ---> using "762584b3a183422f35e63174cf40c91740d07de0c8cc5ed706063ad05d256853" from cache /home/opam: (copy (src .) (dst opam-repository/)) 2024-04-17 19:34.26 ---> saved as "797ad21cfd9a2a4afdd1be258153144324a67363446a1dbad8e8d90736d9d76c" /home/opam: (run (shell "opam repository set-url --strict default opam-repository/")) [default] Initialised 2024-04-17 19:35.20 ---> saved as "c19997133201897c9cd0dbcbd76808a2da4ee95ba5942c393b4e24cf2ce0db5a" /home/opam: (run (network host) (shell "opam update --depexts || true")) + /usr/bin/sudo "yum" "makecache" - Fedora 38 - x86_64 67 kB/s | 26 kB 00:00 - Fedora 38 openh264 (From Cisco) - x86_64 3.2 kB/s | 989 B 00:00 - Fedora Modular 38 - x86_64 64 kB/s | 25 kB 00:00 - Fedora 38 - x86_64 - Updates 69 kB/s | 24 kB 00:00 - Fedora 38 - x86_64 - Updates 2.6 MB/s | 5.0 MB 00:01 - Fedora Modular 38 - x86_64 - Updates 296 kB/s | 24 kB 00:00 - Metadata cache created. 2024-04-17 19:35.41 ---> saved as "7029bbc22768aa9db436b4037397593db6a540f7221cc502f2d1fbc3ec6f385d" /home/opam: (env OPAMCRITERIA -removed,-count[avoid-version,changed],-count[version-lag,request],-count[version-lag,changed],-count[missing-depexts,changed],-changed) /home/opam: (env OPAMFIXUPCRITERIA -removed,-count[avoid-version,changed],-count[version-lag,request],-count[version-lag,changed],-count[missing-depexts,changed],-changed) /home/opam: (env OPAMUPGRADECRITERIA -removed,-count[avoid-version,changed],-count[version-lag,request],-count[version-lag,changed],-count[missing-depexts,changed],-changed) /home/opam: (run (shell "opam pin add -k version -yn conf-llvm.5.0.0 5.0.0")) conf-llvm is now pinned to version 5.0.0 2024-04-17 19:35.42 ---> saved as "6990332c5bb841b20a38c1de587d7a010e32483a2d5def867175a9ea786a5a7c" /home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache))) (network host) (shell "opam reinstall conf-llvm.5.0.0;\ \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 \"\\\"fedora-38\\\"\"; 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-llvm.5.0.0' && partial_fails=\"$partial_fails $pkg\";\ \n done;\ \n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\ \n exit 1")) conf-llvm.5.0.0 is not installed. Install it? [y/n] y The following actions will be performed: === install 2 packages - install conf-bash 1 [required by conf-llvm] - install conf-llvm 5.0.0 (pinned) The following system packages will first need to be installed: llvm5.0-devel <><> Handling external dependencies <><><><><><><><><><><><><><><><><><><><><><> opam believes some required external dependencies are missing. opam can: > 1. Run yum to install them (may need root/sudo access) 2. Display the recommended yum command and wait while you run it manually (e.g. in another terminal) 3. Continue anyway, and, upon success, permanently register that this external dependency is present, but not detectable 4. Abort the installation [1/2/3/4] 1 + /usr/bin/sudo "yum" "install" "-y" "llvm5.0-devel" - Last metadata expiration check: 0:00:14 ago on Wed Apr 17 19:35:39 2024. - No match for argument: llvm5.0-devel - Error: Unable to find a match: llvm5.0-devel [ERROR] System package install failed with exit code 1 at command: sudo yum install -y llvm5.0-devel [ERROR] These packages are still missing: llvm5.0-devel [NOTE] You can retry with '--assume-depexts' to skip this check, or run 'opam option depext=false' to permanently disable handling of system packages. "/usr/bin/env" "bash" "-c" "opam reinstall conf-llvm.5.0.0; 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 "\"fedora-38\""; then echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; fi; test "$pkg" != 'conf-llvm.5.0.0' && partial_fails="$partial_fails $pkg"; done; test "${partial_fails}" != "" && echo "opam-repo-ci detected dependencies failing: ${partial_fails}"; exit 1" failed with exit status 10 2024-04-17 19:36.01: Job failed: Failed: Build failed 2024-04-17 19:36.01: Log analysis: 2024-04-17 19:36.01: >>> [ERROR] System package install failed with exit code 1 at command: (score = 20) 2024-04-17 19:36.01: >>> [ERROR] These packages are still missing: llvm5.0-devel (score = 20) 2024-04-17 19:36.01: System package install failed with exit code 1 at command: