(for PR #27890)

2025-05-22 20:00.23: New job: build conf-povray.1, using opam 2.3
                              from https://github.com/ocaml/opam-repository.git#refs/pull/27890/head (b37a1abf4af242e5e9aa6a7a880a8151d7822230)
                              on debian-11-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/27890/head" && git reset --hard b37a1abf
git fetch origin master
git merge --no-edit 2df846cb67d6f96ae4fced111519ff4ae27d19ae
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-11-ocaml-5.3@sha256:4cc73733132a10fde377b032a7640d87e745b49fa0b22e632b6d02babbacb4e5
USER 1000:1000
WORKDIR /home/opam
RUN sudo ln -f /usr/bin/opam-2.3 /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 conf-povray.1 1
RUN opam reinstall conf-povray.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-11\""; then \
    echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
    fi; \
    test "$pkg" != 'conf-povray.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 .

2025-05-22 20:00.23: Using cache hint "ocaml/opam:debian-11-ocaml-5.3@sha256:4cc73733132a10fde377b032a7640d87e745b49fa0b22e632b6d02babbacb4e5-conf-povray.1-b37a1abf4af242e5e9aa6a7a880a8151d7822230"
2025-05-22 20:00.23: Using OBuilder spec:
((from ocaml/opam:debian-11-ocaml-5.3@sha256:4cc73733132a10fde377b032a7640d87e745b49fa0b22e632b6d02babbacb4e5)
 (user (uid 1000) (gid 1000))
 (workdir /home/opam)
 (run (shell "sudo ln -f /usr/bin/opam-2.3 /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 conf-povray.1 1"))
 (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
      (network host)
      (shell  "opam reinstall conf-povray.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-11\\\"\"; then\
             \n            echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
             \n          fi;\
             \n          test \"$pkg\" != 'conf-povray.1' && partial_fails=\"$partial_fails $pkg\";\
             \n        done;\
             \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
             \n        exit 1"))
)

2025-05-22 20:00.23: Waiting for resource in pool OCluster
2025-05-22 20:00.23: Waiting for worker…
2025-05-22 20:00.24: Got resource from pool OCluster
Building on x86-bm-c6.sw.ocaml.org
All commits already cached
Updating files:  96% (22318/23087)
Updating files:  97% (22395/23087)
Updating files:  98% (22626/23087)
Updating files:  99% (22857/23087)
Updating files: 100% (23087/23087)
Updating files: 100% (23087/23087), done.
HEAD is now at 2df846cb67 Merge pull request #27910 from maiste/release-dune-3.19.0
Merge made by the 'ort' strategy.
 packages/conf-povray/conf-povray.1/opam | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)
 create mode 100644 packages/conf-povray/conf-povray.1/opam

(from ocaml/opam:debian-11-ocaml-5.3@sha256:4cc73733132a10fde377b032a7640d87e745b49fa0b22e632b6d02babbacb4e5)
Unable to find image 'ocaml/opam:debian-11-ocaml-5.3@sha256:4cc73733132a10fde377b032a7640d87e745b49fa0b22e632b6d02babbacb4e5' locally
docker.io/ocaml/opam@sha256:4cc73733132a10fde377b032a7640d87e745b49fa0b22e632b6d02babbacb4e5: Pulling from ocaml/opam
84bcd26624bc: Pulling fs layer
84bcd26624bc: Verifying Checksum
84bcd26624bc: Download complete
84bcd26624bc: Pull complete
Digest: sha256:4cc73733132a10fde377b032a7640d87e745b49fa0b22e632b6d02babbacb4e5
Status: Downloaded newer image for ocaml/opam@sha256:4cc73733132a10fde377b032a7640d87e745b49fa0b22e632b6d02babbacb4e5
2025-05-22 20:00.33 ---> using "0b6c931bc0402ded3746b9d2fffeac892785d6d90d08e69b2272ed674b842d02" from cache

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

/: (workdir /home/opam)

/home/opam: (run (shell "sudo ln -f /usr/bin/opam-2.3 /usr/bin/opam"))
2025-05-22 20:00.33 ---> using "3c1fdecf3ff05f3e6b9d0b52ca282fb63940b1e7d12d62e2016cc9dbc96d0177" 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.

Continue? [y/n] y
This development 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.

[NOTE] The 'jobs' option was reset, its value was 255 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=255 --global
Format upgrade done.

<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] Initialised
2025-05-22 20:00.33 ---> using "7ab4ba9ab852babe1b0c1ed43d2718b1a2e568894a2d98eda76948757f7bbe47" 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.3.0 (35acd0c5abc5e66cdbd5be16ba77aa6c33a4c724)
# self-upgrade         no
# system               arch=x86_64 os=linux os-distribution=debian os-version=11
# solver               builtin-0install
# install-criteria     -changed,-count[avoid-version,solution]
# upgrade-criteria     -count[avoid-version,solution]
# jobs                 31
# repositories         1 (version-controlled)
# pinned               1 (version)
# current-switch       5.3
# invariant            ["ocaml-base-compiler" {>= "5.3.0"}]
# compiler-packages    ocaml-base-compiler.5.3.0, ocaml-compiler.5.3.0, ocaml-options-vanilla.1
# 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-05-22 20:00.33 ---> using "c46f7e18b3fd05a29b00e34310bdf069045c4298185124db23eb8ec310f2f3ff" 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-05-22 20:00.33 ---> using "7e3271473ec0be18e4766d536842ca1794653e09c093e13459dc0e3a2b73e9d1" from cache

/home/opam: (copy (src .) (dst opam-repository/))
2025-05-22 20:00.40 ---> saved as "9972a20f6eecd340f25be118aedc9c37ffe582b6db6f1997b6b3e4ee7403e071"

/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2025-05-22 20:01.05 ---> saved as "daf82788f81091f6a0328118c679110753a2447ab9661634df9a7aa73db0a935"

/home/opam: (run (network host)
                 (shell "opam update --depexts || true"))
+ /usr/bin/sudo "apt-get" "update"
- Hit:1 http://deb.debian.org/debian bullseye InRelease
- Get:2 http://deb.debian.org/debian-security bullseye-security InRelease [27.2 kB]
- Get:3 http://deb.debian.org/debian bullseye-updates InRelease [44.1 kB]
- Get:4 http://deb.debian.org/debian-security bullseye-security/main amd64 Packages [369 kB]
- Fetched 441 kB in 1s (508 kB/s)
- Reading package lists...
- 
2025-05-22 20:01.08 ---> saved as "6868c95db0346d42ca0d0faff0e99a28ec4dbf9ef0f4d3c51aac375758591f7c"

/home/opam: (run (shell "opam pin add -k version -yn conf-povray.1 1"))
conf-povray is now pinned to version 1
2025-05-22 20:01.09 ---> saved as "cdae9adb9c5264ac9a83d553089403c6a7d656bd15dc25f31e80c47c64aa6d6c"

/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
                 (network host)
                 (shell  "opam reinstall conf-povray.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-11\\\"\"; then\
                        \n            echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
                        \n          fi;\
                        \n          test \"$pkg\" != 'conf-povray.1' && partial_fails=\"$partial_fails $pkg\";\
                        \n        done;\
                        \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
                        \n        exit 1"))
conf-povray.1 is not installed. Install it? [y/n] y
The following actions will be performed:
=== install 1 package
  - install conf-povray 1 (pinned)

The following system packages will first need to be installed:
    povray

<><> 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" "povray"
- debconf: delaying package configuration, since apt-utils is not installed
- Selecting previously unselected package libapparmor1: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 ... 18367 files and directories currently installed.)
- Preparing to unpack .../00-libapparmor1_2.13.6-10_amd64.deb ...
- Unpacking libapparmor1:amd64 (2.13.6-10) ...
- Selecting previously unselected package libdbus-1-3:amd64.
- Preparing to unpack .../01-libdbus-1-3_1.12.28-0+deb11u1_amd64.deb ...
- Unpacking libdbus-1-3:amd64 (1.12.28-0+deb11u1) ...
- Selecting previously unselected package dbus.
- Preparing to unpack .../02-dbus_1.12.28-0+deb11u1_amd64.deb ...
- Unpacking dbus (1.12.28-0+deb11u1) ...
- Selecting previously unselected package alsa-topology-conf.
- Preparing to unpack .../03-alsa-topology-conf_1.2.4-1_all.deb ...
- Unpacking alsa-topology-conf (1.2.4-1) ...
- Selecting previously unselected package libasound2-data.
- Preparing to unpack .../04-libasound2-data_1.2.4-1.1_all.deb ...
- Unpacking libasound2-data (1.2.4-1.1) ...
- Selecting previously unselected package libasound2:amd64.
- Preparing to unpack .../05-libasound2_1.2.4-1.1_amd64.deb ...
- Unpacking libasound2:amd64 (1.2.4-1.1) ...
- Selecting previously unselected package alsa-ucm-conf.
- Preparing to unpack .../06-alsa-ucm-conf_1.2.4-2_all.deb ...
- Unpacking alsa-ucm-conf (1.2.4-2) ...
- Selecting previously unselected package fonts-povray.
- Preparing to unpack .../07-fonts-povray_1%3a3.7.0.8-5_all.deb ...
- Unpacking fonts-povray (1:3.7.0.8-5) ...
- Selecting previously unselected package libasyncns0:amd64.
- Preparing to unpack .../08-libasyncns0_0.8-6+b2_amd64.deb ...
- Unpacking libasyncns0:amd64 (0.8-6+b2) ...
- Selecting previously unselected package libboost-thread1.74.0:amd64.
- Preparing to unpack .../09-libboost-thread1.74.0_1.74.0-9_amd64.deb ...
- Unpacking libboost-thread1.74.0:amd64 (1.74.0-9) ...
- Selecting previously unselected package libslang2:amd64.
- Preparing to unpack .../10-libslang2_2.3.2-5_amd64.deb ...
- Unpacking libslang2:amd64 (2.3.2-5) ...
- Selecting previously unselected package libcaca0:amd64.
- Preparing to unpack .../11-libcaca0_0.99.beta19-2.2_amd64.deb ...
- Unpacking libcaca0:amd64 (0.99.beta19-2.2) ...
- Selecting previously unselected package libogg0:amd64.
- Preparing to unpack .../12-libogg0_1.3.4-0.1_amd64.deb ...
- Unpacking libogg0:amd64 (1.3.4-0.1) ...
- Selecting previously unselected package libflac8:amd64.
- Preparing to unpack .../13-libflac8_1.3.3-2+deb11u2_amd64.deb ...
- Unpacking libflac8:amd64 (1.3.3-2+deb11u2) ...
- Selecting previously unselected package libilmbase25:amd64.
- Preparing to unpack .../14-libilmbase25_2.5.4-1_amd64.deb ...
- Unpacking libilmbase25:amd64 (2.5.4-1) ...
- Selecting previously unselected package libopenexr25:amd64.
- Preparing to unpack .../15-libopenexr25_2.5.4-2+deb11u1_amd64.deb ...
- Unpacking libopenexr25:amd64 (2.5.4-2+deb11u1) ...
- Selecting previously unselected package libopus0:amd64.
- Preparing to unpack .../16-libopus0_1.3.1-0.1_amd64.deb ...
- Unpacking libopus0:amd64 (1.3.1-0.1) ...
- Selecting previously unselected package libvorbis0a:amd64.
- Preparing to unpack .../17-libvorbis0a_1.3.7-1_amd64.deb ...
- Unpacking libvorbis0a:amd64 (1.3.7-1) ...
- Selecting previously unselected package libvorbisenc2:amd64.
- Preparing to unpack .../18-libvorbisenc2_1.3.7-1_amd64.deb ...
- Unpacking libvorbisenc2:amd64 (1.3.7-1) ...
- Selecting previously unselected package libsndfile1:amd64.
- Preparing to unpack .../19-libsndfile1_1.0.31-2_amd64.deb ...
- Unpacking libsndfile1:amd64 (1.0.31-2) ...
- Selecting previously unselected package libwrap0:amd64.
- Preparing to unpack .../20-libwrap0_7.6.q-31_amd64.deb ...
- Unpacking libwrap0:amd64 (7.6.q-31) ...
- Selecting previously unselected package libpulse0:amd64.
- Preparing to unpack .../21-libpulse0_14.2-2_amd64.deb ...
- Unpacking libpulse0:amd64 (14.2-2) ...
- Selecting previously unselected package libsdl1.2debian:amd64.
- Preparing to unpack .../22-libsdl1.2debian_1.2.15+dfsg2-6_amd64.deb ...
- Unpacking libsdl1.2debian:amd64 (1.2.15+dfsg2-6) ...
- Selecting previously unselected package povray.
- Preparing to unpack .../23-povray_1%3a3.7.0.8-5_amd64.deb ...
- Unpacking povray (1:3.7.0.8-5) ...
- Selecting previously unselected package povray-includes.
- Preparing to unpack .../24-povray-includes_1%3a3.7.0.8-5_all.deb ...
- Unpacking povray-includes (1:3.7.0.8-5) ...
- Setting up libapparmor1:amd64 (2.13.6-10) ...
- Setting up libogg0:amd64 (1.3.4-0.1) ...
- Setting up libilmbase25:amd64 (2.5.4-1) ...
- Setting up libflac8:amd64 (1.3.3-2+deb11u2) ...
- Setting up libopenexr25:amd64 (2.5.4-2+deb11u1) ...
- Setting up libasound2-data (1.2.4-1.1) ...
- Setting up libslang2:amd64 (2.3.2-5) ...
- Setting up libwrap0:amd64 (7.6.q-31) ...
- Setting up libdbus-1-3:amd64 (1.12.28-0+deb11u1) ...
- Setting up dbus (1.12.28-0+deb11u1) ...
- invoke-rc.d: could not determine current runlevel
- invoke-rc.d: policy-rc.d denied execution of start.
- Setting up libopus0:amd64 (1.3.1-0.1) ...
- Setting up libvorbis0a:amd64 (1.3.7-1) ...
- Setting up alsa-topology-conf (1.2.4-1) ...
- Setting up libasyncns0:amd64 (0.8-6+b2) ...
- Setting up libasound2:amd64 (1.2.4-1.1) ...
- Setting up fonts-povray (1:3.7.0.8-5) ...
- Setting up libvorbisenc2:amd64 (1.3.7-1) ...
- Setting up libboost-thread1.74.0:amd64 (1.74.0-9) ...
- Setting up libcaca0:amd64 (0.99.beta19-2.2) ...
- Setting up alsa-ucm-conf (1.2.4-2) ...
- Setting up libsndfile1:amd64 (1.0.31-2) ...
- Setting up libpulse0:amd64 (14.2-2) ...
- Setting up libsdl1.2debian:amd64 (1.2.15+dfsg2-6) ...
- Setting up povray (1:3.7.0.8-5) ...
- Setting up povray-includes (1:3.7.0.8-5) ...
- Processing triggers for libc-bin (2.31-13+deb11u12) ...

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> installed conf-povray.1
Done.
# To update the current shell environment, run: eval $(opam env)
2025-05-22 20:01.21 ---> saved as "d7375c20a86c9c2100217df635dbcc0fffbde47acdcde09082f2e5f96dec3b95"
Job succeeded
2025-05-22 20:01.26: Job succeeded