(for PR #28262)
2025-11-10 11:03.00: New job: build conf-bpftool.0.1.0, using opam dev
from https://github.com/ocaml/opam-repository.git#refs/pull/28262/head (27b93b8d254212c1249540d74f600850023faef7)
on fedora-43-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/28262/head" && git reset --hard 27b93b8d
git fetch origin master
git merge --no-edit 21f97b2e6d7c617fc0a79cc8e59b2e10690960e1
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:fedora-43-ocaml-4.14@sha256:860defeea187ce48264ac16fac7365e8d887ca66e1eb4922a5d996566a59f43d
USER 1000:1000
WORKDIR /home/opam
RUN sudo ln -f /usr/bin/opam-dev /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-bpftool.0.1.0 0.1.0
RUN opam reinstall conf-bpftool.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-43\""; then \
echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
fi; \
test "$pkg" != 'conf-bpftool.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-11-10 11:03.00: Using cache hint "ocaml/opam:fedora-43-ocaml-4.14@sha256:860defeea187ce48264ac16fac7365e8d887ca66e1eb4922a5d996566a59f43d-conf-bpftool.0.1.0-27b93b8d254212c1249540d74f600850023faef7"
2025-11-10 11:03.00: Using OBuilder spec:
((from ocaml/opam:fedora-43-ocaml-4.14@sha256:860defeea187ce48264ac16fac7365e8d887ca66e1eb4922a5d996566a59f43d)
(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 "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-bpftool.0.1.0 0.1.0"))
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall conf-bpftool.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-43\\\"\"; 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-bpftool.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-11-10 11:03.00: Waiting for resource in pool OCluster
2025-11-10 14:12.12: Waiting for worker…
2025-11-10 14:14.11: Got resource from pool OCluster
Building on laodoke.caelum.ci.dev
All commits already cached
HEAD is now at 21f97b2e6d Merge pull request #28836 from dbuenzli/b0-publish-bytesrw.0.3.0
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-43-ocaml-4.14@sha256:860defeea187ce48264ac16fac7365e8d887ca66e1eb4922a5d996566a59f43d)
Unable to find image 'ocaml/opam:fedora-43-ocaml-4.14@sha256:860defeea187ce48264ac16fac7365e8d887ca66e1eb4922a5d996566a59f43d' locally
docker.io/ocaml/opam@sha256:860defeea187ce48264ac16fac7365e8d887ca66e1eb4922a5d996566a59f43d: Pulling from ocaml/opam
3a6ccf50917d: Already exists
698b8d1610af: Already exists
7e5b745a56a4: Already exists
e8859609bfb8: Already exists
51242d36b3fd: Already exists
61958fadfb74: Already exists
04578677ff3f: Already exists
01b19b859bd1: Already exists
47b008c442e7: Already exists
434ff16e8a1b: Already exists
e2e8d2ec1110: Already exists
bb8f1dbb2acd: Already exists
c914fb01d9b0: Already exists
acbc7d112060: Already exists
7b0ca93f3f54: Already exists
5a223856338a: Already exists
ace6a731f305: Already exists
a6230b7fafa0: Already exists
917f9b8155b5: Already exists
8f7a3b7d908f: Already exists
4f4fb700ef54: Already exists
7af8a72dec52: Already exists
9565a36b4e3a: Already exists
a1ba7d9452a1: Already exists
24a9095bda75: Already exists
16c026bd2ca7: Already exists
6b821f07d597: Already exists
afd0175f27f4: Already exists
88ab18f654c7: Already exists
be69a91a3ef7: Already exists
ce8a4e53f5e3: Already exists
3e2bdc6df5e4: Already exists
ff986d64677f: Already exists
ce1f69fb599b: Pulling fs layer
59a77ea6a510: Pulling fs layer
ce1f69fb599b: Waiting
4147e4bd49ec: Pulling fs layer
59a77ea6a510: Waiting
9f926286552b: Pulling fs layer
4147e4bd49ec: Waiting
780a6a37e1ca: Pulling fs layer
9f926286552b: Waiting
59749b976bf7: Pulling fs layer
780a6a37e1ca: Waiting
f41d7b64ff67: Pulling fs layer
59749b976bf7: Waiting
52a602df2df7: Pulling fs layer
ab9bbd19d5b0: Pulling fs layer
52a602df2df7: Waiting
4c336379fd6a: Pulling fs layer
ab9bbd19d5b0: Waiting
ce1f69fb599b: Verifying Checksum
ce1f69fb599b: Download complete
59a77ea6a510: Verifying Checksum
59a77ea6a510: Download complete
4147e4bd49ec: Verifying Checksum
4147e4bd49ec: Download complete
9f926286552b: Verifying Checksum
9f926286552b: Download complete
780a6a37e1ca: Verifying Checksum
780a6a37e1ca: Download complete
59749b976bf7: Verifying Checksum
59749b976bf7: Download complete
ce1f69fb599b: Pull complete
59a77ea6a510: Pull complete
4147e4bd49ec: Pull complete
9f926286552b: Pull complete
780a6a37e1ca: Pull complete
59749b976bf7: Pull complete
f41d7b64ff67: Verifying Checksum
f41d7b64ff67: Download complete
52a602df2df7: Verifying Checksum
52a602df2df7: Download complete
ab9bbd19d5b0: Verifying Checksum
ab9bbd19d5b0: Download complete
4c336379fd6a: Verifying Checksum
4c336379fd6a: Download complete
f41d7b64ff67: Pull complete
52a602df2df7: Pull complete
ab9bbd19d5b0: Pull complete
4c336379fd6a: Pull complete
Digest: sha256:860defeea187ce48264ac16fac7365e8d887ca66e1eb4922a5d996566a59f43d
Status: Downloaded newer image for ocaml/opam@sha256:860defeea187ce48264ac16fac7365e8d887ca66e1eb4922a5d996566a59f43d
2025-11-10 14:14.39 ---> using "9e77896d9fe078c34d344bdea926ec4977d8cc82cf3431e1db6d6f872f24af74" from cache
/: (user (uid 1000) (gid 1000))
/: (workdir /home/opam)
/home/opam: (run (shell "sudo ln -f /usr/bin/opam-dev /usr/bin/opam"))
2025-11-10 14:14.39 ---> using "aaa991ad89b398eefaf43e6ce581f35930c9f32c57e9bde9fc032d1fd587f3e4" 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 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-11-10 14:14.39 ---> using "3c596d85372d3d922e389134a1acb6eee4d41bb98299038914e94c84db852fe4" 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.5.0~alpha1
# self-upgrade no
# system arch=x86_64 os=linux os-distribution=fedora os-version=43
# 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 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-11-10 14:14.39 ---> using "d0819976c6e7b9f5b58c02cb370d433c7853fb648bb57d8a795d208769222044" 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-11-10 14:14.40 ---> using "19d0ea1cb48e322fac5261e96eb10f819a44981c815f6056d28065e30337c361" from cache
/home/opam: (copy (src .) (dst opam-repository/))
2025-11-10 14:14.50 ---> saved as "b898a6cfdb6e89ff912f916519b3d822fd4449d03a3d133f403da2296acb3b1c"
/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2025-11-10 14:15.15 ---> saved as "ea173eecb5086e9ec622441f6809003c18057e8caced28921871fd3ab82f666b"
/home/opam: (run (network host)
(shell "opam update --depexts || true"))
+ /usr/sbin/sudo "yum" "makecache"
- Updating and loading repositories:
- Fedora 43 - x86_64 - Updates 100% | 17.9 KiB/s | 8.7 KiB | 00m00s
- Fedora 43 - x86_64 100% | 81.6 KiB/s | 18.4 KiB | 00m00s
- Fedora 43 openh264 (From Cisco) - x86_ 100% | 9.7 KiB/s | 986.0 B | 00m00s
- Repositories loaded.
- Metadata cache created.
2025-11-10 14:15.28 ---> saved as "3fe629967f4258246cfc0cc344d26b2649d8c74eb64846c9a70fde8c24b55071"
/home/opam: (run (shell "opam pin add -k version -yn conf-bpftool.0.1.0 0.1.0"))
conf-bpftool is now pinned to version 0.1.0
2025-11-10 14:15.29 ---> saved as "7566015b8024733cb2f36af0f39a3553c3207303026b52efd8302aed6b49f90f"
/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall conf-bpftool.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-43\\\"\"; 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-bpftool.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"))
conf-bpftool.0.1.0 is not installed. Install it? [Y/n] y
The following actions will be performed:
=== install 1 package
- install conf-bpftool 0.1.0 (pinned)
The following system packages will first need to be installed:
bpftool
<><> 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/sbin/sudo "yum" "install" "-y" "bpftool"
- Updating and loading repositories:
- Repositories loaded.
- Package Arch Version Repository Size
- Installing:
- bpftool x86_64 7.6.0-1.fc43 fedora 731.4 KiB
- Installing dependencies:
- llvm20-filesystem x86_64 20.1.8-2.fc43 fedora 0.0 B
- llvm20-libs x86_64 20.1.8-2.fc43 fedora 139.7 MiB
-
- Transaction Summary:
- Installing: 3 packages
-
- Total size of inbound packages is 35 MiB. Need to download 35 MiB.
- After this operation, 140 MiB extra will be used (install 140 MiB, remove 0 B).
- [1/3] llvm20-filesystem-0:20.1.8-2.fc43 100% | 440.5 KiB/s | 14.5 KiB | 00m00s
- [2/3] bpftool-0:7.6.0-1.fc43.x86_64 100% | 5.1 MiB/s | 325.2 KiB | 00m00s
- [3/3] llvm20-libs-0:20.1.8-2.fc43.x86_6 100% | 14.4 MiB/s | 34.3 MiB | 00m02s
- --------------------------------------------------------------------------------
- [3/3] Total 100% | 10.3 MiB/s | 34.7 MiB | 00m03s
- Running transaction
- [1/5] Verify package files 100% | 5.0 B/s | 3.0 B | 00m01s
- [2/5] Prepare transaction 100% | 65.0 B/s | 3.0 B | 00m00s
- [3/5] Installing llvm20-filesystem-0:20 100% | 531.2 KiB/s | 1.1 KiB | 00m00s
- [4/5] Installing llvm20-libs-0:20.1.8-2 100% | 90.3 MiB/s | 139.7 MiB | 00m02s
- [5/5] Installing bpftool-0:7.6.0-1.fc43 100% | 6.6 MiB/s | 734.0 KiB | 00m00s
- Complete!
+ /usr/sbin/rpm "-q" "--whatprovides" "bpftool"
- bpftool-7.6.0-1.fc43.x86_64
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> installed conf-bpftool.0.1.0
Done.
# To update the current shell environment, run: eval $(opam env)
2025-11-10 14:15.44 ---> saved as "e01bc3bc56d1c9f1e29e466c1546b1974a90cbff3b2aeb87d6589304a9fa922d"
Job succeeded
2025-11-10 14:16.04: Job succeeded