(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 ubuntu-22.04-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:ubuntu-22.04-ocaml-5.3@sha256:ca8bb46f5b50cdbe2bb2056a73fb62f51e0dbc753ec4c5304e97c9fc15160372 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 "\"ubuntu-22.04\""; 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:ubuntu-22.04-ocaml-5.3@sha256:ca8bb46f5b50cdbe2bb2056a73fb62f51e0dbc753ec4c5304e97c9fc15160372-libbpf.0.1.0-27b93b8d254212c1249540d74f600850023faef7" 2025-08-01 10:09.37: Using OBuilder spec: ((from ocaml/opam:ubuntu-22.04-ocaml-5.3@sha256:ca8bb46f5b50cdbe2bb2056a73fb62f51e0dbc753ec4c5304e97c9fc15160372) (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 \"\\\"ubuntu-22.04\\\"\"; 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.22: Waiting for worker… 2025-08-01 14:00.54: Got resource from pool OCluster Building on odawa.caelum.ci.dev 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:ubuntu-22.04-ocaml-5.3@sha256:ca8bb46f5b50cdbe2bb2056a73fb62f51e0dbc753ec4c5304e97c9fc15160372) 2025-08-01 14:02.02 ---> saved as "93918e7c9593ddc87b8da33113f9d95a36db5f194dd33ba94e1f16fa438ab185" /: (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:02.02 ---> saved as "d4d78fc29791c79c60448304818af814b31ab8b723bb467b27493e24e4037da2" /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:02.23 ---> saved as "4a0ce251abb680f03958820b5a7e8eb2cf9558271380918ad96788dae4494fca" /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=ubuntu os-version=22.04 # solver builtin-0install # install-criteria -changed,-count[avoid-version,solution] # upgrade-criteria -count[avoid-version,solution] # jobs 255 # 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:02.24 ---> saved as "dccf40dbf29cb6f8d840fcf3e5ac3968a8a9cb333884334707a76564ca157380" /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:02.33 ---> saved as "eea55e8fcaf624caa1276a1e18cd8c3cc75fdaf123788e1670f4293b724c8605" /home/opam: (copy (src .) (dst opam-repository/)) 2025-08-01 14:02.40 ---> saved as "bc0b0768d6eec86943a9044a6976860379eb80404c6237190cea0cd9733f5667" /home/opam: (run (shell "opam repository set-url --strict default opam-repository/")) [default] Initialised 2025-08-01 14:02.57 ---> saved as "4f340b50aef23cff5d3e205d915251f97ee087f05d10d37ac1e7fc9ba11adbdd" /home/opam: (run (network host) (shell "opam update --depexts || true")) + /usr/bin/sudo "apt-get" "update" - Get:1 http://security.ubuntu.com/ubuntu jammy-security InRelease [129 kB] - Get:2 http://security.ubuntu.com/ubuntu jammy-security/main amd64 Packages [3207 kB] - Hit:3 http://archive.ubuntu.com/ubuntu jammy InRelease - Get:4 http://security.ubuntu.com/ubuntu jammy-security/restricted amd64 Packages [5103 kB] - Get:5 http://archive.ubuntu.com/ubuntu jammy-updates InRelease [128 kB] - Get:6 http://security.ubuntu.com/ubuntu jammy-security/universe amd64 Packages [1270 kB] - Get:7 http://archive.ubuntu.com/ubuntu jammy-backports InRelease [127 kB] - Get:8 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 Packages [3518 kB] - Get:9 http://archive.ubuntu.com/ubuntu jammy-updates/restricted amd64 Packages [5290 kB] - Get:10 http://archive.ubuntu.com/ubuntu jammy-updates/universe amd64 Packages [1575 kB] - Fetched 20.3 MB in 2s (13.1 MB/s) - Reading package lists... - 2025-08-01 14:03.00 ---> saved as "2523ad0480f67c7befb320c82b23082ba520b2a6847f7e22aa6ecdee305645f8" /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:03.00 ---> saved as "340634fdb2cf4c8b0bf7d6c2f5d7efa16f3de1044b30fd7c9b273bd51915fdf8" /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 \"\\\"ubuntu-22.04\\\"\"; 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")) [ERROR] libbpf = 0.1.0: unmet availability conditions: 'os = "linux" & (os-distribution = "debian" & os-version >= "12" | os-distribution = "ubuntu" & os-version >= "23.04" | os-family = "fedora" & os-version >= "38" | os-distribution = "nixos" & os-version >= "23.05" | os-distribution = "alpine" & os-version >= "3.18")' "/usr/bin/env" "bash" "-c" "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 "\"ubuntu-22.04\""; 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" failed with exit status 5 2025-08-01 14:03.07: Job failed: Failed: Build failed 2025-08-01 14:03.07: Log analysis: 2025-08-01 14:03.07: >>> [ERROR] libbpf = 0.1.0: unmet availability conditions: 'os = "linux" & (os-distribution = "debian" & os-version >= "12" | os-distribution = "ubuntu" & os-version >= "23.04" | os-family = "fedora" & os-version >= "38" | os-distribution = "nixos" & os-version >= "23.05" | os-distribution = "alpine" & os-version >= "3.18")' (score = 100) 2025-08-01 14:03.07: [SKIP] Package not available