Build:
- 0
2026-03-27 09:42.15: New job: build libdrm.1.1, using opam 2.0
from https://github.com/ocaml/opam-repository.git#refs/pull/29610/head (65ea8af8ed0af676b30b8cf32e135c869e49a9b6)
on debian-13-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:debian-13-ocaml-5.4@sha256:bd342cbd7766c453282fdafbc2e565ae3361320ec344722cf4372b782e4a97f6
USER 1000:1000
WORKDIR /home/opam
RUN sudo ln -f /usr/bin/opam-2.0 /usr/bin/opam
RUN opam init --reinit -ni
RUN 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 depext -u || true
RUN opam pin add -k version -yn libdrm.1.1 1.1
RUN opam depext libdrm.1.1 && 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 "\"debian-13\""; 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:debian-13-ocaml-5.4@sha256:bd342cbd7766c453282fdafbc2e565ae3361320ec344722cf4372b782e4a97f6-libdrm.1.1-65ea8af8ed0af676b30b8cf32e135c869e49a9b6"
2026-03-27 09:42.15: Using OBuilder spec:
((from ocaml/opam:debian-13-ocaml-5.4@sha256:bd342cbd7766c453282fdafbc2e565ae3361320ec344722cf4372b782e4a97f6)
(user (uid 1000) (gid 1000))
(workdir /home/opam)
(run (shell "sudo ln -f /usr/bin/opam-2.0 /usr/bin/opam"))
(run (network host)
(shell "opam init --reinit --config .opamrc-sandbox -ni"))
(run (shell "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 depext -u || 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 depext libdrm.1.1 && 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 \"\\\"debian-13\\\"\"; 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.17: Got resource from pool OCluster
Building on toxis.caelum.ci.dev
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:debian-13-ocaml-5.4@sha256:bd342cbd7766c453282fdafbc2e565ae3361320ec344722cf4372b782e4a97f6)
Unable to find image 'ocaml/opam:debian-13-ocaml-5.4@sha256:bd342cbd7766c453282fdafbc2e565ae3361320ec344722cf4372b782e4a97f6' locally
docker.io/ocaml/opam@sha256:bd342cbd7766c453282fdafbc2e565ae3361320ec344722cf4372b782e4a97f6: Pulling from ocaml/opam
Digest: sha256:bd342cbd7766c453282fdafbc2e565ae3361320ec344722cf4372b782e4a97f6
Status: Downloaded newer image for ocaml/opam@sha256:bd342cbd7766c453282fdafbc2e565ae3361320ec344722cf4372b782e4a97f6
2026-03-27 09:42.51 ---> using "41eea30e3f639c18d8cf57c309ec76919ec7b2398036f7e41744cbce59a133d3" from cache
/: (user (uid 1000) (gid 1000))
/: (workdir /home/opam)
/home/opam: (run (shell "sudo ln -f /usr/bin/opam-2.0 /usr/bin/opam"))
2026-03-27 09:42.51 ---> saved as "41b749af2f977b0d27050ddb13db47406d94530853b7be39988044ee4e817c82"
/home/opam: (run (network host)
(shell "opam init --reinit --config .opamrc-sandbox -ni"))
[NOTE] Will configure 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.
[WARNING] Recommended dependencies -- most packages rely on these:
- m4
<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] Initialised
default (at git+file:///home/opam/opam-repository):
[INFO] opam 2.1 and 2.2 include many performance and security improvements over 2.0; please consider upgrading (https://opam.ocaml.org/doc/Install.html)
2026-03-27 09:43.56 ---> saved as "a1ca45db8f90fe6efd21fd8d46b8f2a4cb5d1ef5bbb5d9aafbd920a9435d03ae"
/home/opam: (run (shell "opam config report"))
# opam config report
# opam-version 2.0.10 (adc1e1829a2bef5b240746df80341b508290fe3b)
# self-upgrade no
# system arch=x86_64 os=linux os-distribution=debian os-version=13
# solver builtin-mccs+glpk
# install-criteria -removed,-count[version-lag,request],-count[version-lag,changed],-changed
# upgrade-criteria -removed,-count[version-lag,solution],-new
# jobs 71
# repositories 1 (version-controlled)
# pinned 1 (version)
# current-switch 5.4
2026-03-27 09:43.57 ---> saved as "6c47ad3815293a4c6139e38cf4688714f95f13425af2434d0537277ff2a53c43"
/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:44.07 ---> saved as "3a172977adb40597910315b682600ca9e6438d170b899639afdd63ae01bff079"
/home/opam: (copy (src .) (dst opam-repository/))
2026-03-27 09:44.17 ---> saved as "659d9302c1186be2dd5cb576aae6f798dfb63e76fd610a6ad31383f8108badf8"
/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
default (at file:///home/opam/opam-repository):
[INFO] opam 2.1 and 2.2 include many performance and security improvements over 2.0; please consider upgrading (https://opam.ocaml.org/doc/Install.html)
2026-03-27 09:44.29 ---> saved as "592d6c9aeef165ef4f375500c030d37fca908082e51e777b038ebce6eb9502a9"
/home/opam: (run (network host)
(shell "opam depext -u || true"))
# Detecting depexts using vars: arch=x86_64, os=linux, os-distribution=debian, os-family=debian
# No extra OS packages requirements found.
# All required OS packages found.
The following command needs to be run through "sudo":
apt-get update
Get:1 http://deb.debian.org/debian trixie InRelease [140 kB]
Get:2 http://deb.debian.org/debian trixie-updates InRelease [47.3 kB]
Get:3 http://deb.debian.org/debian-security trixie-security InRelease [43.4 kB]
Get:4 http://deb.debian.org/debian trixie/main amd64 Packages [9671 kB]
Get:5 http://deb.debian.org/debian-security trixie-security/main amd64 Packages [114 kB]
Fetched 10.0 MB in 2s (6038 kB/s)
Reading package lists...
# OS package update successful
2026-03-27 09:44.32 ---> saved as "bf5afc954a3c3b4c637721da5f7eba9aac2ff6babd5deaa782bf74cfacc4deb1"
/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.32 ---> saved as "2c40926664d442976270f46b59fb0a6e924a95fe2aaf7b5ef8d80a212914b748"
/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam depext libdrm.1.1 && 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 \"\\\"debian-13\\\"\"; 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"))
# Detecting depexts using vars: arch=x86_64, os=linux, os-distribution=debian, os-family=debian
# The following system packages are needed:
libdrm-dev
libffi-dev
pkg-config
The following command needs to be run through "sudo":
apt-get install -qq -yy libdrm-dev libffi-dev pkg-config
Selecting previously unselected package libdrm-common.
(Reading database ...
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 20654 files and directories currently installed.)
Preparing to unpack .../00-libdrm-common_2.4.124-2_all.deb ...
Unpacking libdrm-common (2.4.124-2) ...
Selecting previously unselected package libdrm2:amd64.
Preparing to unpack .../01-libdrm2_2.4.124-2_amd64.deb ...
Unpacking libdrm2:amd64 (2.4.124-2) ...
Selecting previously unselected package libdrm-amdgpu1:amd64.
Preparing to unpack .../02-libdrm-amdgpu1_2.4.124-2_amd64.deb ...
Unpacking libdrm-amdgpu1:amd64 (2.4.124-2) ...
Selecting previously unselected package libpciaccess0:amd64.
Preparing to unpack .../03-libpciaccess0_0.17-3+b3_amd64.deb ...
Unpacking libpciaccess0:amd64 (0.17-3+b3) ...
Selecting previously unselected package libdrm-intel1:amd64.
Preparing to unpack .../04-libdrm-intel1_2.4.124-2_amd64.deb ...
Unpacking libdrm-intel1:amd64 (2.4.124-2) ...
Selecting previously unselected package libdrm-radeon1:amd64.
Preparing to unpack .../05-libdrm-radeon1_2.4.124-2_amd64.deb ...
Unpacking libdrm-radeon1:amd64 (2.4.124-2) ...
Selecting previously unselected package libdrm-nouveau2:amd64.
Preparing to unpack .../06-libdrm-nouveau2_2.4.124-2_amd64.deb ...
Unpacking libdrm-nouveau2:amd64 (2.4.124-2) ...
Selecting previously unselected package libpciaccess-dev:amd64.
Preparing to unpack .../07-libpciaccess-dev_0.17-3+b3_amd64.deb ...
Unpacking libpciaccess-dev:amd64 (0.17-3+b3) ...
Selecting previously unselected package libdrm-dev:amd64.
Preparing to unpack .../08-libdrm-dev_2.4.124-2_amd64.deb ...
Unpacking libdrm-dev:amd64 (2.4.124-2) ...
Selecting previously unselected package libffi-dev:amd64.
Preparing to unpack .../09-libffi-dev_3.4.8-2_amd64.deb ...
Unpacking libffi-dev:amd64 (3.4.8-2) ...
Selecting previously unselected package libpkgconf3:amd64.
Preparing to unpack .../10-libpkgconf3_1.8.1-4_amd64.deb ...
Unpacking libpkgconf3:amd64 (1.8.1-4) ...
Selecting previously unselected package pkgconf-bin.
Preparing to unpack .../11-pkgconf-bin_1.8.1-4_amd64.deb ...
Unpacking pkgconf-bin (1.8.1-4) ...
Selecting previously unselected package pkgconf:amd64.
Preparing to unpack .../12-pkgconf_1.8.1-4_amd64.deb ...
Unpacking pkgconf:amd64 (1.8.1-4) ...
Selecting previously unselected package pkg-config:amd64.
Preparing to unpack .../13-pkg-config_1.8.1-4_amd64.deb ...
Unpacking pkg-config:amd64 (1.8.1-4) ...
Setting up libpciaccess0:amd64 (0.17-3+b3) ...
Setting up libpciaccess-dev:amd64 (0.17-3+b3) ...
Setting up libffi-dev:amd64 (3.4.8-2) ...
Setting up libpkgconf3:amd64 (1.8.1-4) ...
Setting up pkgconf-bin (1.8.1-4) ...
Setting up libdrm-common (2.4.124-2) ...
Setting up pkgconf:amd64 (1.8.1-4) ...
Setting up pkg-config:amd64 (1.8.1-4) ...
Setting up libdrm2:amd64 (2.4.124-2) ...
Setting up libdrm-amdgpu1:amd64 (2.4.124-2) ...
Setting up libdrm-nouveau2:amd64 (2.4.124-2) ...
Setting up libdrm-radeon1:amd64 (2.4.124-2) ...
Setting up libdrm-intel1:amd64 (2.4.124-2) ...
Setting up libdrm-dev:amd64 (2.4.124-2) ...
Processing triggers for libc-bin (2.41-12+deb13u1) ...
# OS packages installation successful
libdrm.1.1 is not installed. Install it? [Y/n] y
The following actions will be performed:
- install dune 3.22.0 [required by libdrm]
- install ocamlbuild 0.16.1 [required by fmt]
- install conf-pkg-config 4 [required by conf-libdrm, ctypes-foreign]
- install ocamlfind 1.9.8 [required by fmt]
- install stdlib-shims 0.3.0 [required by integers]
- install csexp 1.5.2 [required by dune-configurator]
- install conf-libffi 2.0.0 [required by ctypes-foreign]
- install conf-libdrm 1 [required by libdrm]
- install topkg 1.1.1 [required by fmt]
- install integers 0.7.0 [required by ctypes]
- install dune-configurator 3.22.0 [required by ctypes, ctypes-foreign]
- install fmt 0.11.0 [required by libdrm]
- install ctypes 0.24.0 [required by libdrm]
- install ctypes-foreign 0.24.0 [required by libdrm]
- install libdrm 1.1*
===== 15 to install =====
<><> Gathering sources ><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
[csexp.1.5.2] found in cache
[ctypes.0.24.0] found in cache
[ctypes-foreign.0.24.0] found in cache
[dune.3.22.0] found in cache
[dune-configurator.3.22.0] found in cache
[fmt.0.11.0] found in cache
[integers.0.7.0] found in cache
[libdrm.1.1] found in cache
[ocamlbuild.0.16.1] found in cache
[ocamlfind.1.9.8] found in cache
[stdlib-shims.0.3.0] found in cache
[topkg.1.1.1] found in cache
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> installed conf-pkg-config.4
-> installed conf-libdrm.1
-> installed conf-libffi.2.0.0
-> 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.
# Run eval $(opam env) to update the current shell environment
2026-03-27 09:45.35 ---> saved as "e191f03bcb09908d62dec57f896cdeb6b52ae20edbbd99983f4f745b34430f8f"
Job succeeded
2026-03-27 09:45.41: Job succeeded