(for PR #28031)

2025-06-16 07:58.05: New job: test graphics.5.2.0, using opam 2.1
                              from https://github.com/ocaml/opam-repository.git#refs/pull/28031/head (e6e460d07eec225f9bf29a0ba5b9af37215d04b7)
                              on debian-12-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/28031/head" && git reset --hard e6e460d0
git fetch origin master
git merge --no-edit c7269f729a780d8cad2232be10de94ac8da8381e
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-12-ocaml-4.14@sha256:483ad21d779c01615f15084a5f82173baaa47820587729faca9fb7ad645f50be
USER 1000:1000
WORKDIR /home/opam
RUN sudo ln -f /usr/bin/opam-2.1 /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 graphics.5.2.0 5.2.0
RUN opam reinstall graphics.5.2.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 "\"debian-12\""; then \
    echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
    fi; \
    test "$pkg" != 'graphics.5.2.0' && partial_fails="$partial_fails $pkg"; \
    done; \
    test "${partial_fails}" != "" && echo "opam-repo-ci detected dependencies failing: ${partial_fails}"; \
    exit 1
RUN (opam reinstall --with-test graphics.5.2.0) || true
RUN opam reinstall --with-test --verbose graphics.5.2.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 "\"debian-12\""; then \
    echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
    fi; \
    test "$pkg" != 'graphics.5.2.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-06-16 07:58.05: Using cache hint "ocaml/opam:debian-12-ocaml-4.14@sha256:483ad21d779c01615f15084a5f82173baaa47820587729faca9fb7ad645f50be-graphics.5.2.0-e6e460d07eec225f9bf29a0ba5b9af37215d04b7"
2025-06-16 07:58.05: Using OBuilder spec:
((from ocaml/opam:debian-12-ocaml-4.14@sha256:483ad21d779c01615f15084a5f82173baaa47820587729faca9fb7ad645f50be)
 (user (uid 1000) (gid 1000))
 (workdir /home/opam)
 (run (shell "sudo ln -f /usr/bin/opam-2.1 /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 graphics.5.2.0 5.2.0"))
 (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
      (network host)
      (shell  "opam reinstall graphics.5.2.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 \"\\\"debian-12\\\"\"; then\
             \n            echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
             \n          fi;\
             \n          test \"$pkg\" != 'graphics.5.2.0' && partial_fails=\"$partial_fails $pkg\";\
             \n        done;\
             \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
             \n        exit 1"))
 (run (network host)
      (shell "(opam reinstall --with-test graphics.5.2.0) || true"))
 (run (shell  "opam reinstall --with-test --verbose graphics.5.2.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 \"\\\"debian-12\\\"\"; then\
             \n            echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
             \n          fi;\
             \n          test \"$pkg\" != 'graphics.5.2.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-06-16 07:58.05: Waiting for resource in pool OCluster
2025-06-16 07:58.05: Waiting for worker…
2025-06-16 07:58.08: Got resource from pool OCluster
Building on bremusa.ocamllabs.io
All commits already cached
Updating files:  79% (18443/23302)
Updating files:  80% (18642/23302)
Updating files:  81% (18875/23302)
Updating files:  82% (19108/23302)
Updating files:  83% (19341/23302)
Updating files:  84% (19574/23302)
Updating files:  85% (19807/23302)
Updating files:  86% (20040/23302)
Updating files:  87% (20273/23302)
Updating files:  88% (20506/23302)
Updating files:  89% (20739/23302)
Updating files:  90% (20972/23302)
Updating files:  91% (21205/23302)
Updating files:  92% (21438/23302)
Updating files:  93% (21671/23302)
Updating files:  94% (21904/23302)
Updating files:  95% (22137/23302)
Updating files:  96% (22370/23302)
Updating files:  97% (22603/23302)
Updating files:  98% (22836/23302)
Updating files:  99% (23069/23302)
Updating files: 100% (23302/23302)
Updating files: 100% (23302/23302), done.
HEAD is now at c7269f729a Merge pull request #28025 from xavierleroy/camlidl-1.13
Updating c7269f729a..e6e460d07e
Fast-forward
 packages/graphics/graphics.5.2.0/opam | 48 +++++++++++++++++++++++++++++++++++
 1 file changed, 48 insertions(+)
 create mode 100644 packages/graphics/graphics.5.2.0/opam

(from ocaml/opam:debian-12-ocaml-4.14@sha256:483ad21d779c01615f15084a5f82173baaa47820587729faca9fb7ad645f50be)
2025-06-16 08:00.22 ---> using "d2a5d53d37f66f6f5c7aad091614b30735c874c67d8308d229ed194879752021" from cache

/: (user (uid 1000) (gid 1000))

/: (workdir /home/opam)

/home/opam: (run (shell "sudo ln -f /usr/bin/opam-2.1 /usr/bin/opam"))
2025-06-16 08:00.22 ---> using "f705527fb8641e9165c822e689ef05845f103ae8715c0df521c4e57589719663" 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 development version of opam requires an update to the layout of /home/opam/.opam from version 2.0 to version 2.1, 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-06-16 08:00.22 ---> using "3119d3159772550ef840b745b4014e8d2747c112e50555d75b555ebd717f849d" 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.1.6 (263921263e1f745613e2882745114b7b08f3608b) 
# self-upgrade         no
# system               arch=x86_64 os=linux os-distribution=debian os-version=12
# solver               builtin-0install
# install-criteria     
# upgrade-criteria     
# jobs                 71
# repositories         1 (version-controlled)
# pinned               1 (version)
# current-switch       4.14
# 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-06-16 08:00.22 ---> using "d8885c7847bd921cef731667b8e52b15af932a8b8adace351666162824d41795" 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-06-16 08:00.22 ---> using "369ae6de739f5df20e992ebf7ee63268116b9bfe270183138a562a8b720bc1f5" from cache

/home/opam: (copy (src .) (dst opam-repository/))
2025-06-16 08:00.23 ---> using "9edc791538269a81d3246b6e0ef601f1609e9563a2c75ea7eb12df49682e143f" from cache

/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2025-06-16 08:00.27 ---> saved as "c31e1de3e2d1684403bf52c4ef9a4150498113f6a32da8d587b1d8d7fc306ff1"

/home/opam: (run (network host)
                 (shell "opam update --depexts || true"))
+ /usr/bin/sudo "apt-get" "update"
- Hit:1 http://deb.debian.org/debian bookworm InRelease
- Get:2 http://deb.debian.org/debian bookworm-updates InRelease [55.4 kB]
- Get:3 http://deb.debian.org/debian-security bookworm-security InRelease [48.0 kB]
- Get:4 http://deb.debian.org/debian bookworm-updates/main amd64 Packages.diff/Index [17.3 kB]
- Get:5 http://deb.debian.org/debian bookworm-updates/main amd64 Packages T-2025-06-13-1410.14-F-2025-06-13-1410.14.pdiff [434 B]
- Get:5 http://deb.debian.org/debian bookworm-updates/main amd64 Packages T-2025-06-13-1410.14-F-2025-06-13-1410.14.pdiff [434 B]
- Get:6 http://deb.debian.org/debian-security bookworm-security/main amd64 Packages [263 kB]
- Fetched 384 kB in 0s (853 kB/s)
- Reading package lists...
- 
2025-06-16 08:00.29 ---> saved as "8f64787c55a0b52c91d740dc371c06e44c8829cd178d89a270af787e401f81a1"

/home/opam: (run (shell "opam pin add -k version -yn graphics.5.2.0 5.2.0"))
graphics is now pinned to version 5.2.0
2025-06-16 08:00.30 ---> saved as "bab08a025bf133ea1883e9f3bfdcf73d3bcbb0ff9d15049fdc223271b61ae853"

/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
                 (network host)
                 (shell  "opam reinstall graphics.5.2.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 \"\\\"debian-12\\\"\"; then\
                        \n            echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
                        \n          fi;\
                        \n          test \"$pkg\" != 'graphics.5.2.0' && partial_fails=\"$partial_fails $pkg\";\
                        \n        done;\
                        \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
                        \n        exit 1"))
graphics.5.2.0 is not installed. Install it? [Y/n] y
The following actions will be performed:
  - install dune              3.19.1 [required by graphics]
  - install conf-pkg-config   4      [required by graphics]
  - install csexp             1.5.2  [required by dune-configurator]
  - install conf-libX11       1      [required by graphics]
  - install dune-configurator 3.19.1 [required by graphics]
  - install conf-libXft       1      [required by graphics]
  - install graphics          5.2.0*
===== 7 to install =====

The following system packages will first need to be installed:
    libxft-dev pkg-config

<><> Handling external dependencies <><><><><><><><><><><><><><><><><><><><><><>
Let opam run your package manager to install the required system packages?
(answer 'n' for other options) [Y/n] y
+ /usr/bin/sudo "apt-get" "install" "-qq" "-yy" "libxft-dev" "pkg-config"
- debconf: delaying package configuration, since apt-utils is not installed
- Selecting previously unselected package libbrotli-dev:amd64.
- (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 ... 18745 files and directories currently installed.)
- Preparing to unpack .../00-libbrotli-dev_1.0.9-2+b6_amd64.deb ...
- Unpacking libbrotli-dev:amd64 (1.0.9-2+b6) ...
- Selecting previously unselected package libexpat1-dev:amd64.
- Preparing to unpack .../01-libexpat1-dev_2.5.0-1+deb12u1_amd64.deb ...
- Unpacking libexpat1-dev:amd64 (2.5.0-1+deb12u1) ...
- Selecting previously unselected package zlib1g-dev:amd64.
- Preparing to unpack .../02-zlib1g-dev_1%3a1.2.13.dfsg-1_amd64.deb ...
- Unpacking zlib1g-dev:amd64 (1:1.2.13.dfsg-1) ...
- Selecting previously unselected package libpng-dev:amd64.
- Preparing to unpack .../03-libpng-dev_1.6.39-2_amd64.deb ...
- Unpacking libpng-dev:amd64 (1.6.39-2) ...
- Selecting previously unselected package libfreetype-dev:amd64.
- Preparing to unpack .../04-libfreetype-dev_2.12.1+dfsg-5+deb12u4_amd64.deb ...
- Unpacking libfreetype-dev:amd64 (2.12.1+dfsg-5+deb12u4) ...
- Selecting previously unselected package uuid-dev:amd64.
- Preparing to unpack .../05-uuid-dev_2.38.1-5+deb12u3_amd64.deb ...
- Unpacking uuid-dev:amd64 (2.38.1-5+deb12u3) ...
- Selecting previously unselected package libpkgconf3:amd64.
- Preparing to unpack .../06-libpkgconf3_1.8.1-1_amd64.deb ...
- Unpacking libpkgconf3:amd64 (1.8.1-1) ...
- Selecting previously unselected package pkgconf-bin.
- Preparing to unpack .../07-pkgconf-bin_1.8.1-1_amd64.deb ...
- Unpacking pkgconf-bin (1.8.1-1) ...
- Selecting previously unselected package pkgconf:amd64.
- Preparing to unpack .../08-pkgconf_1.8.1-1_amd64.deb ...
- Unpacking pkgconf:amd64 (1.8.1-1) ...
- Selecting previously unselected package pkg-config:amd64.
- Preparing to unpack .../09-pkg-config_1.8.1-1_amd64.deb ...
- Unpacking pkg-config:amd64 (1.8.1-1) ...
- Selecting previously unselected package libfontconfig-dev:amd64.
- Preparing to unpack .../10-libfontconfig-dev_2.14.1-4_amd64.deb ...
- Unpacking libfontconfig-dev:amd64 (2.14.1-4) ...
- Selecting previously unselected package libfontconfig1-dev:amd64.
- Preparing to unpack .../11-libfontconfig1-dev_2.14.1-4_amd64.deb ...
- Unpacking libfontconfig1-dev:amd64 (2.14.1-4) ...
- Selecting previously unselected package libpng-tools.
- Preparing to unpack .../12-libpng-tools_1.6.39-2_amd64.deb ...
- Unpacking libpng-tools (1.6.39-2) ...
- Selecting previously unselected package libxrender1:amd64.
- Preparing to unpack .../13-libxrender1_1%3a0.9.10-1.1_amd64.deb ...
- Unpacking libxrender1:amd64 (1:0.9.10-1.1) ...
- Selecting previously unselected package libxft2:amd64.
- Preparing to unpack .../14-libxft2_2.3.6-1_amd64.deb ...
- Unpacking libxft2:amd64 (2.3.6-1) ...
- Selecting previously unselected package libxrender-dev:amd64.
- Preparing to unpack .../15-libxrender-dev_1%3a0.9.10-1.1_amd64.deb ...
- Unpacking libxrender-dev:amd64 (1:0.9.10-1.1) ...
- Selecting previously unselected package libxft-dev:amd64.
- Preparing to unpack .../16-libxft-dev_2.3.6-1_amd64.deb ...
- Unpacking libxft-dev:amd64 (2.3.6-1) ...
- Setting up libxrender1:amd64 (1:0.9.10-1.1) ...
- Setting up libpng-tools (1.6.39-2) ...
- Setting up libpkgconf3:amd64 (1.8.1-1) ...
- Setting up libexpat1-dev:amd64 (2.5.0-1+deb12u1) ...
- Setting up uuid-dev:amd64 (2.38.1-5+deb12u3) ...
- Setting up pkgconf-bin (1.8.1-1) ...
- Setting up zlib1g-dev:amd64 (1:1.2.13.dfsg-1) ...
- Setting up libxrender-dev:amd64 (1:0.9.10-1.1) ...
- Setting up libbrotli-dev:amd64 (1.0.9-2+b6) ...
- Setting up libxft2:amd64 (2.3.6-1) ...
- Setting up libpng-dev:amd64 (1.6.39-2) ...
- Setting up pkgconf:amd64 (1.8.1-1) ...
- Setting up libfreetype-dev:amd64 (2.12.1+dfsg-5+deb12u4) ...
- Setting up pkg-config:amd64 (1.8.1-1) ...
- Setting up libfontconfig-dev:amd64 (2.14.1-4) ...
- Setting up libxft-dev:amd64 (2.3.6-1) ...
- Setting up libfontconfig1-dev:amd64 (2.14.1-4) ...
- Processing triggers for libc-bin (2.36-9+deb12u10) ...

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved csexp.1.5.2  (cached)
-> installed conf-pkg-config.4
-> installed conf-libX11.1
-> installed conf-libXft.1
-> retrieved dune.3.19.1  (cached)
-> retrieved dune-configurator.3.19.1  (cached)
-> retrieved graphics.5.2.0  (cached)
-> installed dune.3.19.1
-> installed csexp.1.5.2
-> installed dune-configurator.3.19.1
-> installed graphics.5.2.0
Done.
# Run eval $(opam env) to update the current shell environment
2025-06-16 08:01.15 ---> saved as "c96ce95cad4578463277d5b1d0d708c66c886f1868b674fcebfa5bf63286200d"

/home/opam: (run (network host)
                 (shell "(opam reinstall --with-test graphics.5.2.0) || true"))
The following actions will be performed:
  - recompile graphics 5.2.0*

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved graphics.5.2.0  (https://github.com/ocaml/graphics/archive/refs/tags/5.2.0.tar.gz)
-> removed   graphics.5.2.0
-> installed graphics.5.2.0
Done.
# Run eval $(opam env) to update the current shell environment
2025-06-16 08:01.34 ---> saved as "9662f8dafab45ef7d8af970eb976fd768219013367bd8fe5909b5a6d6d08a7a6"

/home/opam: (run (shell  "opam reinstall --with-test --verbose graphics.5.2.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 \"\\\"debian-12\\\"\"; then\
                        \n            echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
                        \n          fi;\
                        \n          test \"$pkg\" != 'graphics.5.2.0' && partial_fails=\"$partial_fails $pkg\";\
                        \n        done;\
                        \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
                        \n        exit 1"))
The following actions will be performed:
  - recompile graphics 5.2.0*

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
Processing  1/4:
-> retrieved graphics.5.2.0  (cached)
Processing  2/4: [graphics: dune build]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "build" "-p" "graphics" "-j" "71" "@install" "@runtest" (CWD=/home/opam/.opam/4.14/.opam-switch/build/graphics.5.2.0)
-> compiled  graphics.5.2.0
-> removed   graphics.5.2.0
-> installed graphics.5.2.0
Done.
# Run eval $(opam env) to update the current shell environment
2025-06-16 08:01.56 ---> saved as "c7f9ace781ded4d3aea42e98f037a3518f7f5e22d17bd4aa203c1f34ee514f35"
Job succeeded
2025-06-16 08:02.13: Job succeeded