(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-5.3/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-5.3@sha256:458b49b62865f1cfc7737d31da6aa961afc961ce10c214b72f9fdd4b7985dc6e
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-5.3@sha256:458b49b62865f1cfc7737d31da6aa961afc961ce10c214b72f9fdd4b7985dc6e-graphics.5.2.0-e6e460d07eec225f9bf29a0ba5b9af37215d04b7"
2025-06-16 07:58.05: Using OBuilder spec:
((from ocaml/opam:debian-12-ocaml-5.3@sha256:458b49b62865f1cfc7737d31da6aa961afc961ce10c214b72f9fdd4b7985dc6e)
 (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.10: Got resource from pool OCluster
Building on clete.caelum.ci.dev
All commits already cached
Updating files:  99% (23174/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-5.3@sha256:458b49b62865f1cfc7737d31da6aa961afc961ce10c214b72f9fdd4b7985dc6e)
2025-06-16 07:59.43 ---> using "96697d8e79983291d560edbf731c893ea129e422e8dda14986eae24c3f7015ce" 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 07:59.43 ---> using "dfd5c3f586dfab0f2ba16ff75096b1aeeaa844782b385f4638c33eead4dcde2d" 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 07:59.43 ---> using "5eb0ebb42f249593a29bb29268c1ac7d88771a3aadb715d0ac0fc91e0eb08578" 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       5.3
# ocaml:native         true
# ocaml:native-tools   true
# ocaml:native-dynlink true
# ocaml:stubsdir       /home/opam/.opam/5.3/lib/ocaml/stublibs:/home/opam/.opam/5.3/lib/ocaml
# ocaml:preinstalled   false
# ocaml:compiler       5.3.0
2025-06-16 07:59.43 ---> using "1d021b7f6022890487c232f98c59a6506db97d0eeaf859ecd9b220adce269576" 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 07:59.43 ---> using "40096cb0a65a693784f76ec92095201691ad381467d67e696ceaf2b5369bdaba" from cache

/home/opam: (copy (src .) (dst opam-repository/))
2025-06-16 07:59.44 ---> using "fa805c6b90e77e4db979a354b256b6b8e4a43c1eaf1dc343ed2a28df29b173d7" from cache

/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2025-06-16 07:59.44 ---> using "ab15043fa58d0ba8ceafc2ebb3a81df8d9447e88ed9492bf0bf5b39e832b1fc1" from cache

/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 4s (98.4 kB/s)
- Reading package lists...
- 
2025-06-16 07:59.47 ---> saved as "82c8c1dad91a34c73955e58ad0c857424047193b6ed589c51835b72bd4d3ff11"

/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 07:59.48 ---> saved as "13c075ea0b6972ac258897746e8d0a27cc5208eab3532ca1af9b6dee390acef1"

/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 ... 18776 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:00.42 ---> saved as "5dc42c4eb4dfe1ebfb747217515a20711215ea0bf964a9f17df7411e3ba19a8d"

/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:00.56 ---> saved as "9a190c901e78a73781716cd587f9a2a4ff3c1225cea0d7c3794bd7dd3e54f9eb"

/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/5.3/.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.12 ---> saved as "b1304399c92ac5223fff8bc6689899c97a0639d5a6d884119cd866c420a4c7e8"
Job succeeded
2025-06-16 08:01.26: Job succeeded