(for PR #27922)
2025-05-30 20:08.26: New job: build conf-libelf.1.0.0, using opam 2.3 from https://github.com/ocaml/opam-repository.git#refs/pull/27922/head (0f3f6b7730b4831be6a61e8e675ff85eb5e66b71) on fedora-41-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/27922/head" && git reset --hard 0f3f6b77 git fetch origin master git merge --no-edit 6ef11c3f3418da8dac044b83bba15d8b424f95d4 cat > ../Dockerfile <<'END-OF-DOCKERFILE' FROM ocaml/opam:fedora-41-ocaml-4.14@sha256:699967783e09f6d3a343c44965cc3a90ddbc31b1deb25d38d9ae88f78c0acaa1 USER 1000:1000 WORKDIR /home/opam RUN sudo ln -f /usr/bin/opam-2.3 /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 conf-libelf.1.0.0 1.0.0 RUN opam reinstall conf-libelf.1.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-41\""; then \ echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \ fi; \ test "$pkg" != 'conf-libelf.1.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 . 2025-05-30 20:08.26: Using cache hint "ocaml/opam:fedora-41-ocaml-4.14@sha256:699967783e09f6d3a343c44965cc3a90ddbc31b1deb25d38d9ae88f78c0acaa1-conf-libelf.1.0.0-0f3f6b7730b4831be6a61e8e675ff85eb5e66b71" 2025-05-30 20:08.26: Using OBuilder spec: ((from ocaml/opam:fedora-41-ocaml-4.14@sha256:699967783e09f6d3a343c44965cc3a90ddbc31b1deb25d38d9ae88f78c0acaa1) (user (uid 1000) (gid 1000)) (workdir /home/opam) (run (shell "sudo ln -f /usr/bin/opam-2.3 /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 conf-libelf.1.0.0 1.0.0")) (run (cache (opam-archives (target /home/opam/.opam/download-cache))) (network host) (shell "opam reinstall conf-libelf.1.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-41\\\"\"; 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-libelf.1.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")) ) 2025-05-30 20:08.26: Waiting for resource in pool OCluster 2025-05-30 20:08.27: Waiting for worker… 2025-05-30 20:08.27: Got resource from pool OCluster Building on x86-bm-c4.sw.ocaml.org All commits already cached Updating files: 72% (16794/23165) Updating files: 73% (16911/23165) Updating files: 74% (17143/23165) Updating files: 75% (17374/23165) Updating files: 76% (17606/23165) Updating files: 77% (17838/23165) Updating files: 78% (18069/23165) Updating files: 79% (18301/23165) Updating files: 80% (18532/23165) Updating files: 81% (18764/23165) Updating files: 82% (18996/23165) Updating files: 83% (19227/23165) Updating files: 84% (19459/23165) Updating files: 85% (19691/23165) Updating files: 86% (19922/23165) Updating files: 87% (20154/23165) Updating files: 88% (20386/23165) Updating files: 89% (20617/23165) Updating files: 90% (20849/23165) Updating files: 91% (21081/23165) Updating files: 92% (21312/23165) Updating files: 93% (21544/23165) Updating files: 94% (21776/23165) Updating files: 95% (22007/23165) Updating files: 96% (22239/23165) Updating files: 97% (22471/23165) Updating files: 98% (22702/23165) Updating files: 99% (22934/23165) Updating files: 100% (23165/23165) Updating files: 100% (23165/23165), done. HEAD is now at 6ef11c3f34 Merge pull request #27966 from Leonidas-from-XIV/lsp-csexp Merge made by the 'ort' strategy. packages/conf-libelf/conf-libelf.1.0.0/opam | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 packages/conf-libelf/conf-libelf.1.0.0/opam (from ocaml/opam:fedora-41-ocaml-4.14@sha256:699967783e09f6d3a343c44965cc3a90ddbc31b1deb25d38d9ae88f78c0acaa1) Unable to find image 'ocaml/opam:fedora-41-ocaml-4.14@sha256:699967783e09f6d3a343c44965cc3a90ddbc31b1deb25d38d9ae88f78c0acaa1' locally docker.io/ocaml/opam@sha256:699967783e09f6d3a343c44965cc3a90ddbc31b1deb25d38d9ae88f78c0acaa1: Pulling from ocaml/opam c8cc264729b6: Pulling fs layer c8cc264729b6: Verifying Checksum c8cc264729b6: Download complete c8cc264729b6: Pull complete Digest: sha256:699967783e09f6d3a343c44965cc3a90ddbc31b1deb25d38d9ae88f78c0acaa1 Status: Downloaded newer image for ocaml/opam@sha256:699967783e09f6d3a343c44965cc3a90ddbc31b1deb25d38d9ae88f78c0acaa1 2025-05-30 20:11.28 ---> saved as "5f520fc5cdb299b9ba61051cf3401692cb98592c5251b956cf920eca0e904769" /: (user (uid 1000) (gid 1000)) /: (workdir /home/opam) /home/opam: (run (shell "sudo ln -f /usr/bin/opam-2.3 /usr/bin/opam")) 2025-05-30 20:11.28 ---> saved as "2b062532a8fd9594dbfb69e5327d12df8db1bb44ab5ff8300ca5f578ae9cd7d6" /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 [NOTE] The 'jobs' option was reset, its value was 71 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=71 --global Format upgrade done. <><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><> [default] Initialised 2025-05-30 20:12.00 ---> saved as "1c295018cee586f16684074d02bc9544c31cd511039113ed961e3421b10f884f" /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.3.0 (35acd0c5abc5e66cdbd5be16ba77aa6c33a4c724) # self-upgrade no # system arch=x86_64 os=linux os-distribution=fedora os-version=41 # 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 4.14 # invariant ["ocaml-base-compiler" {= "4.14.2"}] # compiler-packages ocaml-base-compiler.4.14.2, ocaml-options-vanilla.1 # ocaml:native true # ocaml:native-tools true # ocaml:native-dynlink true # ocaml:stubsdir /home/opam/.opam/4.14/lib/ocaml/stublibs:/home/opam/.opam/4.14/lib/ocaml # ocaml:preinstalled false # ocaml:compiler 4.14.2 2025-05-30 20:12.00 ---> saved as "7cd54dc39b1ecfb7c2b1a952331f09ccab4b5e99081683cc62e655a0ffa8a89f" /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-05-30 20:12.07 ---> saved as "7aac8c27b852f223370d3bd825508486b0d3ec93b1cf20796294b0c48c6c1c41" /home/opam: (copy (src .) (dst opam-repository/)) 2025-05-30 20:12.17 ---> saved as "dad9fb32d50b359f351a209bad1e5d17ea32b2db09a5d861b4478bcb55b97d3b" /home/opam: (run (shell "opam repository set-url --strict default opam-repository/")) [default] Initialised 2025-05-30 20:12.40 ---> saved as "e8705fdc69953a670ac35206dddf97394a4aebc9c175341b56d608781827857e" /home/opam: (run (network host) (shell "opam update --depexts || true")) + /usr/bin/sudo "yum" "makecache" - Updating and loading repositories: - Fedora 41 - x86_64 100% | 293.5 KiB/s | 25.8 KiB | 00m00s - Fedora 41 - x86_64 - Updates 100% | 259.9 KiB/s | 23.1 KiB | 00m00s - Fedora 41 - x86_64 - Updates 100% | 6.1 MiB/s | 4.8 MiB | 00m01s - Repositories loaded. - Metadata cache created. 2025-05-30 20:12.44 ---> saved as "d77381628cb2732b6c5c874fb96cade01923722d8d52a400adaa578099136cec" /home/opam: (run (shell "opam pin add -k version -yn conf-libelf.1.0.0 1.0.0")) conf-libelf is now pinned to version 1.0.0 2025-05-30 20:12.45 ---> saved as "20d1a3933caa9607804e0642afeeb9764df94c92811f8875c074c1fc237a55e4" /home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache))) (network host) (shell "opam reinstall conf-libelf.1.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-41\\\"\"; 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-libelf.1.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-libelf.1.0.0 is not installed. Install it? [y/n] y The following actions will be performed: === install 2 packages - install conf-libelf 1.0.0 (pinned) - install conf-pkg-config 4 [required by conf-libelf] <><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><> -> installed conf-pkg-config.4 [ERROR] The compilation of conf-libelf.1.0.0 failed at "pkg-config --exists libelf". #=== ERROR while compiling conf-libelf.1.0.0 ==================================# # context 2.3.0 | linux/x86_64 | ocaml-base-compiler.4.14.2 | pinned # path ~/.opam/4.14/.opam-switch/build/conf-libelf.1.0.0 # command ~/.opam/opam-init/hooks/sandbox.sh build pkg-config --exists libelf # exit-code 1 # env-file ~/.opam/log/conf-libelf-7-0c9c7d.env # output-file ~/.opam/log/conf-libelf-7-0c9c7d.out <><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><> +- The following actions failed | - build conf-libelf 1.0.0 +- +- The following changes have been performed | - install conf-pkg-config 4 +- # To update the current shell environment, run: eval $(opam env) The former state can be restored with: /usr/bin/opam switch import "/home/opam/.opam/4.14/.opam-switch/backup/state-20250530201246.export" [WARNING] OPAMCONFIRMLEVEL was ignored because CLI 2.0 was requested and it was introduced in 2.1. [WARNING] OPAMCONFIRMLEVEL was ignored because CLI 2.0 was requested and it was introduced in 2.1. "/usr/bin/env" "bash" "-c" "opam reinstall conf-libelf.1.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-41\""; then echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; fi; test "$pkg" != 'conf-libelf.1.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 1 2025-05-30 20:12.55: Job failed: Failed: Build failed 2025-05-30 20:12.55: Log analysis: 2025-05-30 20:12.55: >>> [ERROR] The compilation of conf-libelf.1.0.0 failed at "pkg-config --exists libelf". (score = 20) 2025-05-30 20:12.55: The compilation of conf-libelf.1.0.0 failed at "pkg-config --exists libelf".