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 fedora-43-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-43-ocaml-5.4@sha256:e137951ccf8a292944bce4814692151f2f2797252f499346aa83899816cf5088
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-43\""; 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-43-ocaml-5.4@sha256:e137951ccf8a292944bce4814692151f2f2797252f499346aa83899816cf5088-libdrm.1.1-65ea8af8ed0af676b30b8cf32e135c869e49a9b6"
2026-03-27 09:42.15: Using OBuilder spec:
((from ocaml/opam:fedora-43-ocaml-5.4@sha256:e137951ccf8a292944bce4814692151f2f2797252f499346aa83899816cf5088)
 (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-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\" != '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 odawa.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:fedora-43-ocaml-5.4@sha256:e137951ccf8a292944bce4814692151f2f2797252f499346aa83899816cf5088)
2026-03-27 09:43.01 ---> saved as "9a721416b605ef9e70938262e74e12f40a900c4bc787dd50aba20bac09fe05dc"

/: (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.01 ---> saved as "0823789e8e2550848646d85a9e3cac427580bcdc22383e0c54779a60d9041bf6"

/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
[NOTE] The 'jobs' option was reset, its value was 71 and its new value will vary according to the current number of cores on your machine. You can restore the fixed value using:
           opam option jobs=71 --global
Format upgrade done.

<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] Initialised
2026-03-27 09:43.21 ---> saved as "514ee4c1b17858091bc5c087a1573ca7a62c92de896da6052f48910eccfaa5f8"

/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=43
# 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.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.22 ---> saved as "a78b9a01e15821e7d76462204b897c6ba306ef646393c88a8f0f4ac692099ba0"

/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.44 ---> saved as "e6a5ce7cde0f83673ea0feeb2f8b301e1a48156ce5240f0033461832a8d302e7"

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

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

/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% |  12.3 KiB/s |   5.3 KiB |  00m00s
-  Fedora 43 - x86_64                     100% | 127.9 KiB/s |  22.3 KiB |  00m00s
- Repositories loaded.
- Metadata cache created.
2026-03-27 09:44.16 ---> saved as "50fc62765c66b8ed9a84d3cb63f493aed9563abe8a55442277e0a401cfa4c744"

/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.17 ---> saved as "9c54af6ab7700d98c86f247c7450d1a8b533271f5286e27e52decba8e4fa97d9"

/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-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\" != '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.fc43 updates    741.5 KiB
-  libffi-devel       x86_64 3.5.2-1.fc43   updates     33.9 KiB
- Installing dependencies:
-  hwdata             noarch 0.405-1.fc43   updates      9.8 MiB
-  libdrm             x86_64 2.4.131-1.fc43 updates    404.7 KiB
-  libpciaccess       x86_64 0.16-16.fc43   fedora      44.5 KiB
-  libpciaccess-devel x86_64 0.16-16.fc43   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.fc43.x86_64    100% |   2.7 MiB/s | 162.9 KiB |  00m00s
- [2/6] libpciaccess-0:0.16-16.fc43.x86_6 100% | 137.8 KiB/s |  26.2 KiB |  00m00s
- [3/6] libffi-devel-0:3.5.2-1.fc43.x86_6 100% | 134.9 KiB/s |  29.7 KiB |  00m00s
- [4/6] libdrm-devel-0:2.4.131-1.fc43.x86 100% | 478.3 KiB/s | 186.5 KiB |  00m00s
- [5/6] hwdata-0:0.405-1.fc43.noarch      100% |   7.6 MiB/s |   1.7 MiB |  00m00s
- [6/6] libpciaccess-devel-0:0.16-16.fc43 100% |   6.2 KiB/s |  12.4 KiB |  00m02s
- --------------------------------------------------------------------------------
- [6/6] Total                             100% | 845.3 KiB/s |   2.1 MiB |  00m03s
- Running transaction
- [1/8] Verify package files              100% | 750.0   B/s |   6.0   B |  00m00s
- [2/8] Prepare transaction               100% | 200.0   B/s |   6.0   B |  00m00s
- [3/8] Installing hwdata-0:0.405-1.fc43. 100% | 351.1 MiB/s |   9.8 MiB |  00m00s
- [4/8] Installing libpciaccess-0:0.16-16 100% |  22.4 MiB/s |  45.9 KiB |  00m00s
- [5/8] Installing libdrm-0:2.4.131-1.fc4 100% |  99.7 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% | 104.7 MiB/s | 750.6 KiB |  00m00s
- [8/8] Installing libffi-devel-0:3.5.2-1 100% |   1.1 MiB/s |  35.6 KiB |  00m00s
- Complete!
+ /usr/sbin/rpm "-q" "--whatprovides" "libdrm-devel" "libffi-devel"
- libdrm-devel-2.4.131-1.fc43.x86_64
- libffi-devel-3.5.2-1.fc43.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  (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 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:44.58 ---> saved as "11630b8aa07e148e3c9b79a6280fabd962948133a9d9de7165176ca2a026266b"
Job succeeded
2026-03-27 09:45.03: Job succeeded