(for PR #28262)
2025-08-01 10:09.37: New job: build libbpf.0.1.0, using opam 2.3 from https://github.com/ocaml/opam-repository.git#refs/pull/28262/head (27b93b8d254212c1249540d74f600850023faef7) on fedora-41-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/28262/head" && git reset --hard 27b93b8d git fetch origin master git merge --no-edit 8aad5f26860255f60c9aa23b310ac61aef78f1c8 cat > ../Dockerfile <<'END-OF-DOCKERFILE' FROM ocaml/opam:fedora-41-ocaml-5.3@sha256:809127243679d912e8436ea7f39a4b46edeebd9393e3ee63e315c3ac41ab0abb 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 libbpf.0.1.0 0.1.0 RUN opam reinstall libbpf.0.1.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" != 'libbpf.0.1.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-08-01 10:09.37: Using cache hint "ocaml/opam:fedora-41-ocaml-5.3@sha256:809127243679d912e8436ea7f39a4b46edeebd9393e3ee63e315c3ac41ab0abb-libbpf.0.1.0-27b93b8d254212c1249540d74f600850023faef7" 2025-08-01 10:09.37: Using OBuilder spec: ((from ocaml/opam:fedora-41-ocaml-5.3@sha256:809127243679d912e8436ea7f39a4b46edeebd9393e3ee63e315c3ac41ab0abb) (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 libbpf.0.1.0 0.1.0")) (run (cache (opam-archives (target /home/opam/.opam/download-cache))) (network host) (shell "opam reinstall libbpf.0.1.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\" != 'libbpf.0.1.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-08-01 10:09.37: Waiting for resource in pool OCluster 2025-08-01 13:59.29: Waiting for worker… 2025-08-01 14:00.59: Got resource from pool OCluster Building on phoebe All commits already cached HEAD is now at 8aad5f2686 Merge pull request #28272 from ocaml/mseri-patch-1 Merge made by the 'ort' strategy. packages/conf-bpftool/conf-bpftool.0.1.0/opam | 4 +++- packages/libbpf/libbpf.0.1.0/opam | 11 ++++++----- 2 files changed, 9 insertions(+), 6 deletions(-) (from ocaml/opam:fedora-41-ocaml-5.3@sha256:809127243679d912e8436ea7f39a4b46edeebd9393e3ee63e315c3ac41ab0abb) 2025-08-01 14:01.10 ---> using "a6a918f4722cefc396a26e7f4de93cf40d5591b03ec51c4bc48ebf545e06b976" from cache /: (user (uid 1000) (gid 1000)) /: (workdir /home/opam) /home/opam: (run (shell "sudo ln -f /usr/bin/opam-2.3 /usr/bin/opam")) 2025-08-01 14:01.10 ---> using "14ccec2bb760ee1fea69c49e5d8fe95440d14cbbe5e46cf8bb406473826ca6b9" 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 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 ><><><><><><><><><><><><><><><><><><><><><><><><><><> [default] Initialised 2025-08-01 14:01.10 ---> using "4f2612d1b7895ef95657381f5bbc4825df59cae1aa31e6a5fdf06ffae6d05771" 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.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 71 # 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-08-01 14:01.10 ---> using "28af0404c1031ad341ccddecfe5a9f62aa553acc8f423a52bb4c6aaf748690fe" 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-08-01 14:01.10 ---> using "e5dfa9b25acf9f2cbaee083919d83b85ea22bb11c3a858d73035fcda81a05967" from cache /home/opam: (copy (src .) (dst opam-repository/)) 2025-08-01 14:01.22 ---> saved as "fb4aec0440d56a499ff036c1c6cc3017207a9ce083eab565c81b6ec78e9ca9ae" /home/opam: (run (shell "opam repository set-url --strict default opam-repository/")) [default] Initialised 2025-08-01 14:01.54 ---> saved as "e5a71ae7116dc1948e4935e79c71751b8fb34f3e7adfe2d5cfa48977df2bafdc" /home/opam: (run (network host) (shell "opam update --depexts || true")) + /usr/bin/sudo "yum" "makecache" - Updating and loading repositories: - Fedora 41 - x86_64 - Updates 100% | 52.3 KiB/s | 22.6 KiB | 00m00s - Fedora 41 - x86_64 - Updates 100% | 4.7 MiB/s | 4.0 MiB | 00m01s - Repositories loaded. - Metadata cache created. 2025-08-01 14:02.06 ---> saved as "a5f6f2356a2758e0e6c0389fe7c4878d9ae36a95c8d8a05d435a3dfc3d5ce568" /home/opam: (run (shell "opam pin add -k version -yn libbpf.0.1.0 0.1.0")) libbpf is now pinned to version 0.1.0 2025-08-01 14:02.07 ---> saved as "084fb270f9868537460aec58bafd34cd92f2809000bd463c8dd6713066588226" /home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache))) (network host) (shell "opam reinstall libbpf.0.1.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\" != 'libbpf.0.1.0' && partial_fails=\"$partial_fails $pkg\";\ \n done;\ \n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\ \n exit 1")) libbpf.0.1.0 is not installed. Install it? [y/n] y The following actions will be performed: === install 37 packages - install base v0.17.3 [required by ppx_expect] - install bigarray-compat 1.1.0 [required by ctypes] - install conf-bpftool 0.1.0 [required by libbpf] - install conf-clang 1 [required by libbpf] - install conf-libbpf 0.1.0 [required by libbpf] - install cppo 1.8.0 [required by ppx_deriving] - install csexp 1.5.2 [required by dune-configurator] - install ctypes 0.23.0 [required by libbpf] - install dune 3.19.1 [required by libbpf] - install dune-configurator 3.19.1 [required by ctypes] - install integers 0.7.0 [required by ctypes] - install jane-street-headers v0.17.0 [required by time_now] - install jst-config v0.17.0 [required by time_now] - install libbpf 0.1.0 (pinned) - install ocaml-compiler-libs v0.17.0 [required by ppxlib] - install ocaml_intrinsics_kernel v0.17.1 [required by base] - install ocamlfind 1.9.8 [required by ppx_deriving] - install ppx_assert v0.17.0 [required by jst-config] - install ppx_base v0.17.0 [required by time_now] - install ppx_cold v0.17.0 [required by ppx_base] - install ppx_compare v0.17.0 [required by ppx_base] - install ppx_derivers 1.2.1 [required by ppx_deriving] - install ppx_deriving 6.1.1 [required by libbpf] - install ppx_enumerate v0.17.0 [required by ppx_base] - install ppx_expect v0.17.3 [required by libbpf] - install ppx_globalize v0.17.2 [required by ppx_base] - install ppx_hash v0.17.0 [required by ppx_base] - install ppx_here v0.17.0 [required by ppx_expect] - install ppx_inline_test v0.17.1 [required by ppx_expect] - install ppx_optcomp v0.17.1 [required by time_now] - install ppx_sexp_conv v0.17.1 [required by ppx_base] - install ppxlib 0.36.0 [required by ppx_deriving, ppx_expect] - install ppxlib_jane v0.17.4 [required by ppx_globalize, ppx_enumerate, ppx_hash] - install sexplib0 v0.17.0 [required by ppxlib, base] - install stdio v0.17.0 [required by ppx_expect] - install stdlib-shims 0.3.0 [required by integers, ppxlib] - install time_now v0.17.0 [required by ppx_inline_test] The following system packages will first need to be installed: bpftool clang libbpf-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" "bpftool" "clang" "libbpf-devel" - Updating and loading repositories: - Repositories loaded. - Package Arch Version Repository Size - Installing: - bpftool x86_64 7.5.0-1.fc41 updates 721.9 KiB - clang x86_64 19.1.7-4.fc41 updates 184.8 KiB - libbpf-devel x86_64 2:1.4.7-1.fc41 updates 390.3 KiB - Installing dependencies: - clang-libs x86_64 19.1.7-4.fc41 updates 125.4 MiB - clang-resource-filesystem x86_64 19.1.7-4.fc41 updates 15.3 KiB - cmake-filesystem x86_64 3.30.8-1.fc41 updates 0.0 B - elfutils-libelf-devel x86_64 0.193-2.fc41 updates 50.0 KiB - libzstd-devel x86_64 1.5.7-1.fc41 updates 208.0 KiB - zlib-ng-compat-devel x86_64 2.2.3-2.fc41 updates 107.0 KiB - Installing weak dependencies: - compiler-rt x86_64 19.1.7-4.fc41 updates 36.5 MiB - libatomic x86_64 14.3.1-1.fc41 updates 40.7 KiB - libomp x86_64 19.1.7-4.fc41 updates 1.9 MiB - libomp-devel x86_64 19.1.7-4.fc41 updates 31.2 MiB - - Transaction Summary: - Installing: 13 packages - - Total size of inbound packages is 32 MiB. Need to download 32 MiB. - After this operation, 197 MiB extra will be used (install 197 MiB, remove 0 B). - [ 1/13] bpftool-0:7.5.0-1.fc41.x86_64 100% | 4.2 MiB/s | 314.9 KiB | 00m00s - [ 2/13] clang-resource-filesystem-0:19. 100% | 2.2 MiB/s | 17.7 KiB | 00m00s - [ 3/13] clang-0:19.1.7-4.fc41.x86_64 100% | 950.5 KiB/s | 83.6 KiB | 00m00s - [ 4/13] elfutils-libelf-devel-0:0.193-2 100% | 2.9 MiB/s | 47.5 KiB | 00m00s - [ 5/13] libbpf-devel-2:1.4.7-1.fc41.x86 100% | 3.1 MiB/s | 89.2 KiB | 00m00s - [ 6/13] zlib-ng-compat-devel-0:2.2.3-2. 100% | 4.7 MiB/s | 38.3 KiB | 00m00s - [ 7/13] cmake-filesystem-0:3.30.8-1.fc4 100% | 2.1 MiB/s | 16.8 KiB | 00m00s - [ 8/13] libatomic-0:14.3.1-1.fc41.x86_6 100% | 3.7 MiB/s | 53.0 KiB | 00m00s - [ 9/13] libzstd-devel-0:1.5.7-1.fc41.x8 100% | 1.4 MiB/s | 53.1 KiB | 00m00s - [10/13] libomp-0:19.1.7-4.fc41.x86_64 100% | 5.0 MiB/s | 671.4 KiB | 00m00s - [11/13] libomp-devel-0:19.1.7-4.fc41.x8 100% | 5.2 MiB/s | 651.6 KiB | 00m00s - [12/13] compiler-rt-0:19.1.7-4.fc41.x86 100% | 8.0 MiB/s | 2.6 MiB | 00m00s - [13/13] clang-libs-0:19.1.7-4.fc41.x86_ 100% | 8.1 MiB/s | 27.7 MiB | 00m03s - -------------------------------------------------------------------------------- - [13/13] Total 100% | 9.1 MiB/s | 32.3 MiB | 00m04s - Running transaction - [ 1/15] Verify package files 100% | 35.0 B/s | 13.0 B | 00m00s - [ 2/15] Prepare transaction 100% | 203.0 B/s | 13.0 B | 00m00s - [ 3/15] Installing clang-resource-files 100% | 4.1 MiB/s | 16.7 KiB | 00m00s - [ 4/15] Installing clang-libs-0:19.1.7- 100% | 115.2 MiB/s | 125.4 MiB | 00m01s - [ 5/15] Installing libomp-0:19.1.7-4.fc 100% | 97.7 MiB/s | 1.9 MiB | 00m00s - [ 6/15] Installing cmake-filesystem-0:3 100% | 1.4 MiB/s | 7.3 KiB | 00m00s - [ 7/15] Installing zlib-ng-compat-devel 100% | 35.3 MiB/s | 108.5 KiB | 00m00s - [ 8/15] Installing libzstd-devel-0:1.5. 100% | 68.0 MiB/s | 208.8 KiB | 00m00s - [ 9/15] Installing elfutils-libelf-deve 100% | 27.1 MiB/s | 55.5 KiB | 00m00s - [10/15] Installing libbpf-devel-2:1.4.7 100% | 63.9 MiB/s | 392.7 KiB | 00m00s - [11/15] Installing libomp-devel-0:19.1. 100% | 187.7 MiB/s | 31.2 MiB | 00m00s - [12/15] Installing clang-0:19.1.7-4.fc4 100% | 5.2 MiB/s | 187.6 KiB | 00m00s - [13/15] Installing compiler-rt-0:19.1.7 100% | 134.1 MiB/s | 36.5 MiB | 00m00s - [14/15] Installing libatomic-0:14.3.1-1 100% | 20.3 MiB/s | 41.5 KiB | 00m00s - [15/15] Installing bpftool-0:7.5.0-1.fc 100% | 9.0 MiB/s | 724.5 KiB | 00m00s - Complete! + /usr/bin/rpm "-q" "--whatprovides" "bpftool" "clang" "libbpf-devel" - bpftool-7.5.0-1.fc41.x86_64 - clang-19.1.7-4.fc41.x86_64 - libbpf-devel-1.4.7-1.fc41.x86_64 <><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><> -> retrieved base.v0.17.3 (cached) -> retrieved bigarray-compat.1.1.0 (cached) -> installed conf-bpftool.0.1.0 -> installed conf-libbpf.0.1.0 -> retrieved cppo.1.8.0 (cached) -> retrieved csexp.1.5.2 (cached) -> retrieved ctypes.0.23.0 (cached) -> installed conf-clang.1 -> retrieved dune.3.19.1, dune-configurator.3.19.1 (cached) -> retrieved integers.0.7.0 (cached) -> retrieved jane-street-headers.v0.17.0 (cached) -> retrieved jst-config.v0.17.0 (cached) -> retrieved libbpf.0.1.0 (cached) -> retrieved ocaml-compiler-libs.v0.17.0 (cached) -> retrieved ocaml_intrinsics_kernel.v0.17.1 (cached) -> retrieved ocamlfind.1.9.8 (cached) -> retrieved ppx_assert.v0.17.0 (cached) -> retrieved ppx_base.v0.17.0 (cached) -> retrieved ppx_cold.v0.17.0 (cached) -> retrieved ppx_compare.v0.17.0 (cached) -> retrieved ppx_derivers.1.2.1 (cached) -> retrieved ppx_deriving.6.1.1 (cached) -> retrieved ppx_enumerate.v0.17.0 (cached) -> retrieved ppx_expect.v0.17.3 (cached) -> retrieved ppx_globalize.v0.17.2 (cached) -> retrieved ppx_hash.v0.17.0 (cached) -> retrieved ppx_here.v0.17.0 (cached) -> retrieved ppx_inline_test.v0.17.1 (cached) -> retrieved ppx_optcomp.v0.17.1 (cached) -> retrieved ppx_sexp_conv.v0.17.1 (cached) -> retrieved ppxlib.0.36.0 (cached) -> retrieved ppxlib_jane.v0.17.4 (cached) -> retrieved sexplib0.v0.17.0 (cached) -> retrieved stdio.v0.17.0 (cached) -> retrieved stdlib-shims.0.3.0 (cached) -> retrieved time_now.v0.17.0 (cached) -> installed ocamlfind.1.9.8 -> installed dune.3.19.1 -> installed jane-street-headers.v0.17.0 -> installed ppx_derivers.1.2.1 -> installed stdlib-shims.0.3.0 -> installed bigarray-compat.1.1.0 -> installed csexp.1.5.2 -> installed cppo.1.8.0 -> installed ocaml_intrinsics_kernel.v0.17.1 -> installed sexplib0.v0.17.0 -> installed integers.0.7.0 -> installed ocaml-compiler-libs.v0.17.0 -> installed dune-configurator.3.19.1 -> installed ctypes.0.23.0 -> installed base.v0.17.3 -> installed stdio.v0.17.0 -> installed ppxlib.0.36.0 -> installed ppx_optcomp.v0.17.1 -> installed ppxlib_jane.v0.17.4 -> installed ppx_cold.v0.17.0 -> installed ppx_here.v0.17.0 -> installed ppx_enumerate.v0.17.0 -> installed ppx_deriving.6.1.1 -> installed ppx_globalize.v0.17.2 -> installed ppx_compare.v0.17.0 -> installed ppx_sexp_conv.v0.17.1 -> installed ppx_hash.v0.17.0 -> installed ppx_assert.v0.17.0 -> installed ppx_base.v0.17.0 -> installed jst-config.v0.17.0 -> installed time_now.v0.17.0 -> installed ppx_inline_test.v0.17.1 -> installed ppx_expect.v0.17.3 -> installed libbpf.0.1.0 Done. # To update the current shell environment, run: eval $(opam env) 2025-08-01 14:03.51 ---> saved as "a018565ba7fef8f2b164efbccda7aef6aa20554d466fc9e975c26a58ae4726ae" Job succeeded 2025-08-01 14:04.02: Job succeeded