Build:
- 0
2026-03-27 09:42.15: New job: build libdrm.1.1, using opam dev
from https://github.com/ocaml/opam-repository.git#refs/pull/29610/head (65ea8af8ed0af676b30b8cf32e135c869e49a9b6)
on fedora-42-ocaml-5.4/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/29610/head" && git reset --hard 65ea8af8
git fetch origin master
git merge --no-edit 46f289cd3749314bbebddeede62fc05f9858f680
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:fedora-42-ocaml-5.4@sha256:df580347b77f86db4337404145c90d2bbdee352b0539b494ab79f12fae3745d8
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 libdrm.1.1 1.1
RUN opam reinstall libdrm.1.1; \
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-42\""; then \
echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
fi; \
test "$pkg" != 'libdrm.1.1' && 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 .
2026-03-27 09:42.15: Using cache hint "ocaml/opam:fedora-42-ocaml-5.4@sha256:df580347b77f86db4337404145c90d2bbdee352b0539b494ab79f12fae3745d8-libdrm.1.1-65ea8af8ed0af676b30b8cf32e135c869e49a9b6"
2026-03-27 09:42.15: Using OBuilder spec:
((from ocaml/opam:fedora-42-ocaml-5.4@sha256:df580347b77f86db4337404145c90d2bbdee352b0539b494ab79f12fae3745d8)
(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 libdrm.1.1 1.1"))
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall libdrm.1.1;\
\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-42\\\"\"; then\
\n echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
\n fi;\
\n test \"$pkg\" != 'libdrm.1.1' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
)
2026-03-27 09:42.15: Waiting for resource in pool OCluster
2026-03-27 09:42.16: Waiting for worker…
2026-03-27 09:42.16: Got resource from pool OCluster
Building on bremusa.ocamllabs.io
All commits already cached
HEAD is now at 46f289cd37 Merge pull request #29563 from NathanReb/release-ppxlib-0.38.0
Updating 46f289cd37..65ea8af8ed
Fast-forward
packages/libdrm/libdrm.1.1/opam | 45 +++++++++++++++++++++++++++++++++++++++++
1 file changed, 45 insertions(+)
create mode 100644 packages/libdrm/libdrm.1.1/opam
(from ocaml/opam:fedora-42-ocaml-5.4@sha256:df580347b77f86db4337404145c90d2bbdee352b0539b494ab79f12fae3745d8)
2026-03-27 09:43.17 ---> saved as "28b9adf24357aa735eaf16f1999310ed841cc66a0c106add1dba082c343aaab4"
/: (user (uid 1000) (gid 1000))
/: (workdir /home/opam)
/home/opam: (run (shell "sudo ln -f /usr/bin/opam-dev /usr/bin/opam"))
2026-03-27 09:43.17 ---> saved as "a39060104d0f905df65985f22e7f6853e83fdc16efee4c33f3b80499eb50ddff"
/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
2026-03-27 09:43.42 ---> saved as "41d12a1e801be744598175ebb958605f390004995cf46e086ebf791014ecfc9f"
/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
# self-upgrade no
# system arch=x86_64 os=linux os-distribution=fedora os-version=42
# 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.4
# invariant ["ocaml-base-compiler" {= "5.4.0"}]
# compiler-packages ocaml-base-compiler.5.4.0, ocaml-compiler.5.4.0, ocaml-options-vanilla.1
# ocaml:native true
# ocaml:native-tools true
# ocaml:native-dynlink true
# ocaml:stubsdir /home/opam/.opam/5.4/lib/ocaml/stublibs:/home/opam/.opam/5.4/lib/ocaml
# ocaml:preinstalled false
# ocaml:compiler 5.4.0
2026-03-27 09:43.43 ---> saved as "612bd760fbc77b17a98bfe88ad1caf4c0adb1af119a657b0a81d6dabc6414ee1"
/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/"))
2026-03-27 09:43.51 ---> saved as "7edb9ac59d16eb58bfd9328dde2f77f76948110f312391881be567d261346b40"
/home/opam: (copy (src .) (dst opam-repository/))
2026-03-27 09:44.05 ---> saved as "f6165a8a27997eba89c7b75df39e3d7d35e92c49f003326ec7725952ef85fbbf"
/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2026-03-27 09:44.24 ---> saved as "e8cfee00b562251f9c2a692467cffe21d2aa094d318637fd06ffc9238bad4bfb"
/home/opam: (run (network host)
(shell "opam update --depexts || true"))
+ /usr/sbin/sudo "yum" "makecache"
- Updating and loading repositories:
- Fedora 42 - x86_64 - Updates 100% | 13.1 KiB/s | 5.5 KiB | 00m00s
- Fedora 42 - x86_64 100% | 126.8 KiB/s | 22.6 KiB | 00m00s
- Repositories loaded.
- Metadata cache created.
2026-03-27 09:44.29 ---> saved as "5a4cb5e0c295761d8fd10eaff487ab1136a3e3abb6cfc039f40886741d60d116"
/home/opam: (run (shell "opam pin add -k version -yn libdrm.1.1 1.1"))
libdrm is now pinned to version 1.1
2026-03-27 09:44.30 ---> saved as "daafe221be66b1bc019ec29b2f5fbafa51b94541ccf4c4a0b55b5948a5b78886"
/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall libdrm.1.1;\
\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-42\\\"\"; then\
\n echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
\n fi;\
\n test \"$pkg\" != 'libdrm.1.1' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
libdrm.1.1 is not installed. Install it? [Y/n] y
The following actions will be performed:
=== install 15 packages
- install conf-libdrm 1 [required by libdrm]
- install conf-libffi 2.0.0 [required by ctypes-foreign]
- install conf-pkg-config 4 [required by conf-libdrm, ctypes-foreign]
- install csexp 1.5.2 [required by dune-configurator]
- install ctypes 0.24.0 [required by libdrm]
- install ctypes-foreign 0.24.0 [required by libdrm]
- install dune 3.22.0 [required by libdrm]
- install dune-configurator 3.22.0 [required by ctypes, ctypes-foreign]
- install fmt 0.11.0 [required by libdrm]
- install integers 0.7.0 [required by ctypes]
- install libdrm 1.1 (pinned)
- install ocamlbuild 0.16.1 [required by fmt]
- install ocamlfind 1.9.8 [required by fmt]
- install stdlib-shims 0.3.0 [required by integers]
- install topkg 1.1.1 [required by fmt]
The following system packages will first need to be installed:
libdrm-devel libffi-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/sbin/sudo "yum" "install" "-y" "libdrm-devel" "libffi-devel"
- Updating and loading repositories:
- Repositories loaded.
- Package Arch Version Repository Size
- Installing:
- libdrm-devel x86_64 2.4.131-1.fc42 updates 741.5 KiB
- libffi-devel x86_64 3.4.6-5.fc42 fedora 33.1 KiB
- Installing dependencies:
- hwdata noarch 0.405-1.fc42 updates 9.8 MiB
- libdrm x86_64 2.4.131-1.fc42 updates 404.7 KiB
- libpciaccess x86_64 0.16-15.fc42 fedora 44.5 KiB
- libpciaccess-devel x86_64 0.16-15.fc42 fedora 15.3 KiB
-
- Transaction Summary:
- Installing: 6 packages
-
- Total size of inbound packages is 2 MiB. Need to download 2 MiB.
- After this operation, 11 MiB extra will be used (install 11 MiB, remove 0 B).
- [1/6] libdrm-0:2.4.131-1.fc42.x86_64 100% | 802.4 KiB/s | 162.9 KiB | 00m00s
- [2/6] libdrm-devel-0:2.4.131-1.fc42.x86 100% | 804.0 KiB/s | 186.5 KiB | 00m00s
- [3/6] libffi-devel-0:3.4.6-5.fc42.x86_6 100% | 132.0 KiB/s | 28.8 KiB | 00m00s
- [4/6] libpciaccess-0:0.16-15.fc42.x86_6 100% | 59.7 KiB/s | 26.3 KiB | 00m00s
- [5/6] hwdata-0:0.405-1.fc42.noarch 100% | 10.5 MiB/s | 1.7 MiB | 00m00s
- [6/6] libpciaccess-devel-0:0.16-15.fc42 100% | 35.4 KiB/s | 12.4 KiB | 00m00s
- --------------------------------------------------------------------------------
- [6/6] Total 100% | 2.5 MiB/s | 2.1 MiB | 00m01s
- Running transaction
- [1/8] Verify package files 100% | 333.0 B/s | 6.0 B | 00m00s
- [2/8] Prepare transaction 100% | 122.0 B/s | 6.0 B | 00m00s
- [3/8] Installing hwdata-0:0.405-1.fc42. 100% | 185.5 MiB/s | 9.8 MiB | 00m00s
- [4/8] Installing libpciaccess-0:0.16-15 100% | 22.4 MiB/s | 45.9 KiB | 00m00s
- [5/8] Installing libdrm-0:2.4.131-1.fc4 100% | 79.8 MiB/s | 408.5 KiB | 00m00s
- [6/8] Installing libpciaccess-devel-0:0 100% | 15.5 MiB/s | 15.9 KiB | 00m00s
- [7/8] Installing libdrm-devel-0:2.4.131 100% | 91.6 MiB/s | 750.6 KiB | 00m00s
- [8/8] Installing libffi-devel-0:3.4.6-5 100% | 621.3 KiB/s | 34.8 KiB | 00m00s
- Complete!
+ /usr/sbin/rpm "-q" "--whatprovides" "libdrm-devel" "libffi-devel"
- libdrm-devel-2.4.131-1.fc42.x86_64
- libffi-devel-3.4.6-5.fc42.x86_64
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved csexp.1.5.2 (cached)
-> installed conf-pkg-config.4
-> retrieved ctypes.0.24.0, ctypes-foreign.0.24.0 (cached)
-> installed conf-libdrm.1
-> installed conf-libffi.2.0.0
-> retrieved dune.3.22.0, dune-configurator.3.22.0 (cached)
-> retrieved fmt.0.11.0 (cached)
-> retrieved integers.0.7.0 (cached)
-> retrieved libdrm.1.1 (https://github.com/talex5/libdrm-ocaml/releases/download/v1.1/libdrm-1.1.tbz)
-> retrieved ocamlbuild.0.16.1 (cached)
-> retrieved ocamlfind.1.9.8 (cached)
-> retrieved stdlib-shims.0.3.0 (cached)
-> retrieved topkg.1.1.1 (cached)
-> installed ocamlfind.1.9.8
-> installed ocamlbuild.0.16.1
-> installed topkg.1.1.1
-> installed fmt.0.11.0
-> installed dune.3.22.0
-> installed csexp.1.5.2
-> installed stdlib-shims.0.3.0
-> installed integers.0.7.0
-> installed dune-configurator.3.22.0
-> installed ctypes.0.24.0
-> installed ctypes-foreign.0.24.0
-> installed libdrm.1.1
Done.
# To update the current shell environment, run: eval $(opam env)
2026-03-27 09:45.23 ---> saved as "77d08f23429cfe30a9b20c17e3411d96b7db9bf846c748497ff9011254bf811b"
Job succeeded
2026-03-27 09:45.33: Job succeeded