Build:
  1. 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 debian-13-ocaml-5.4-flambda/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-flambda@sha256:c936b0542e7502097a30778b1575ee1d523dc9f44e9e6b2f13c6456b822f8c70
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 "\"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-flambda@sha256:c936b0542e7502097a30778b1575ee1d523dc9f44e9e6b2f13c6456b822f8c70-libdrm.1.1-65ea8af8ed0af676b30b8cf32e135c869e49a9b6"
2026-03-27 09:42.15: Using OBuilder spec:
((from ocaml/opam:debian-13-ocaml-5.4-flambda@sha256:c936b0542e7502097a30778b1575ee1d523dc9f44e9e6b2f13c6456b822f8c70)
 (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 \"\\\"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 bremusa.ocamllabs.io
All commits already cached
Updating files:  97% (18009/18543)
Updating files:  98% (18173/18543)
Updating files:  99% (18358/18543)
Updating files: 100% (18543/18543)
Updating files: 100% (18543/18543), done.
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-flambda@sha256:c936b0542e7502097a30778b1575ee1d523dc9f44e9e6b2f13c6456b822f8c70)
2026-03-27 09:43.37 ---> saved as "b39691698e667645cc1429b71ea08ac23f4ab643284f8750ebb67580efb18067"

/: (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.37 ---> saved as "e79bfabf3c099a56cff786a501310b0597db22754d4690eefc7ed3a274673fd3"

/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:44.02 ---> saved as "04fa29f5c5fd7c4f3352bcdd8d2f4449e25f24bc0b8ef0cc9cb4fdc9dbbc7ad2"

/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=debian os-version=13
# 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-variants" {= "5.4.0+options"}]
# compiler-packages    ocaml-compiler.5.4.0, ocaml-option-flambda.1, ocaml-options-only-flambda.1, ocaml-variants.5.4.0+options
# 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+options+flambda
2026-03-27 09:44.02 ---> saved as "66f19a516e81703be72903d8e4f89cf3d02b7c42b2d751c290d0ef565a47f76b"

/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.10 ---> saved as "293fa4c4684183a3f494243dcdd450791ca85937e05e4040dda91a5c9c311a56"

/home/opam: (copy (src .) (dst opam-repository/))
2026-03-27 09:44.17 ---> saved as "09105725ee10dbc390262c6e1864702429c3143482fe90051a4bd65b575d0ec1"

/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2026-03-27 09:44.35 ---> saved as "ca083e095695f88101cc4a8a86d9512187b59de6cba5bb37f0eb75630e94649d"

/home/opam: (run (network host)
                 (shell "opam update --depexts || true"))
+ /usr/bin/sudo "apt-get" "update"
- Hit:1 http://deb.debian.org/debian trixie InRelease
- 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-security trixie-security/main amd64 Packages [114 kB]
- Fetched 205 kB in 0s (1965 kB/s)
- Reading package lists...
2026-03-27 09:44.36 ---> saved as "5fb1481c4affde6bb89c3d84c726ff8844275820ad1ef5c7b0e6baad6e002f86"

/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.36 ---> saved as "83372646846613ceebaeaf32edd342ba2b260b9f040d3779d2719ae220de08c9"

/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 \"\\\"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"))
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-dev libffi-dev pkg-config

<><> Handling external dependencies <><><><><><><><><><><><><><><><><><><><><><>

opam believes some required external dependencies are missing. opam can:
> 1. Run apt-get to install them (may need root/sudo access)
  2. Display the recommended apt-get 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 "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+deb13u2) ...

<><> 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  (cached)
-> 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 stdlib-shims.0.3.0
-> installed csexp.1.5.2
-> 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.44 ---> saved as "f6a53ee51edf8f1f7bf11b92fae6a6c09d219b634cc97bde1cb06d3bcbe757e8"
Job succeeded
2026-03-27 09:45.51: Job succeeded