(for PR #28031)

2025-06-16 07:58.05: New job: test graphics.5.2.0, using opam 2.0
                              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.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 graphics.5.2.0 5.2.0
RUN opam depext graphics.5.2.0 && 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 depext --with-test graphics.5.2.0 && opam reinstall --with-test graphics.5.2.0) || true
RUN opam depext --with-test graphics.5.2.0 && 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.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 graphics.5.2.0 5.2.0"))
 (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
      (network host)
      (shell  "opam depext graphics.5.2.0 && 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 depext --with-test graphics.5.2.0 && opam reinstall --with-test graphics.5.2.0) || true"))
 (run (shell  "opam depext --with-test graphics.5.2.0 && 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 clete.caelum.ci.dev
All commits already cached
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.02 ---> using "96697d8e79983291d560edbf731c893ea129e422e8dda14986eae24c3f7015ce" 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"))
2025-06-16 07:59.02 ---> using "211a1dd5d47969fe3b77188208e600d76b6fc8ebcd774102509f87bbd5668a5a" from cache

/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)

2025-06-16 07:59.02 ---> using "b2d691b01ca271d86992e4253f92b74d327897d3a786a6255c0961e8f1b9772a" from cache

/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=12
# 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.3
2025-06-16 07:59.02 ---> using "26aee6e3c6ed9844bcc408592d2dc35d3661b0fd1b513adc0e9aa7173f4a62b2" 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.02 ---> using "2246f931314f7786e34f784a3fc41f89c74313a1957b0536c972e4826fcb508f" from cache

/home/opam: (copy (src .) (dst opam-repository/))
2025-06-16 07:59.09 ---> saved as "1e004370ce25021fbd4b983c2f8e36d0ea600d887e0098ab8289aec57970c2f8"

/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)

2025-06-16 07:59.26 ---> saved as "9fd3f494e519338cc5ad5066f75b11e01e071a5ff18c5353b7d8e8dc47442246"

/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
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 (794 kB/s)
Reading package lists...
# OS package update successful
2025-06-16 07:59.28 ---> saved as "bddeff236e04409bed1b75fa8bad6521f1500edacfd408890a0e60f4008de705"

/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.29 ---> saved as "c75e72b7fbcd8185f2db4dd4f75b5eb202b14dc8dadcd5c34bef949d997fb9f6"

/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
                 (network host)
                 (shell  "opam depext graphics.5.2.0 && 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"))
# Detecting depexts using vars: arch=x86_64, os=linux, os-distribution=debian, os-family=debian
libx11-dev
libxft-dev
pkg-config
# The following system packages are needed:
The following command needs to be run through "sudo":
    apt-get install -qq -yy libx11-dev 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) ...
# OS packages installation successful
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 dune-configurator 2.7.0  [required by graphics]
  - install conf-libX11       1      [required by graphics]
  - install conf-libXft       1      [required by graphics]
  - install graphics          5.2.0*
===== 6 to install =====

<><> Gathering sources ><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
[dune.3.19.1] found in cache
[dune-configurator.2.7.0] found in cache
[graphics.5.2.0] found in cache

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

/home/opam: (run (network host)
                 (shell "(opam depext --with-test graphics.5.2.0 && opam reinstall --with-test graphics.5.2.0) || true"))
# Detecting depexts using vars: arch=x86_64, os=linux, os-distribution=debian, os-family=debian
libx11-dev
libxft-dev
pkg-config
# The following system packages are needed:
# All required OS packages found.
The following actions will be performed:
  - recompile graphics 5.2.0*
[graphics.5.2.0] downloaded from https://github.com/ocaml/graphics/archive/refs/tags/5.2.0.tar.gz

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> 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.37 ---> saved as "d868179a969c6caee017ffb99ce7831f7c71a1be3f0e89e742d3bd973464de85"

/home/opam: (run (shell  "opam depext --with-test graphics.5.2.0 && 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"))
# Detecting depexts using vars: arch=x86_64, os=linux, os-distribution=debian, os-family=debian
libx11-dev
libxft-dev
pkg-config
# The following system packages are needed:
# All required OS packages found.
The following actions will be performed:
  - recompile graphics 5.2.0*
[graphics.5.2.0] found in cache
Processing  1/1:

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
Processing  1/3: [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:00.50 ---> saved as "3c03b42d92ce7b43b860e6d2d262460e1cedb54d41e90826fc8f3e84bf33cafb"
Job succeeded
2025-06-16 08:01.00: Job succeeded