(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 archlinux-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/27890/head" && git reset --hard b37a1abf
git fetch origin master
git merge --no-edit 2df846cb67d6f96ae4fced111519ff4ae27d19ae
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:archlinux-ocaml-4.14@sha256:8e586ff210b115b236cbc37748bb22cb1f16ea279932a48a330e2778d4532f39
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 "\"archlinux\""; 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:archlinux-ocaml-4.14@sha256:8e586ff210b115b236cbc37748bb22cb1f16ea279932a48a330e2778d4532f39-conf-povray.1-b37a1abf4af242e5e9aa6a7a880a8151d7822230"
2025-05-22 20:00.23: Using OBuilder spec:
((from ocaml/opam:archlinux-ocaml-4.14@sha256:8e586ff210b115b236cbc37748bb22cb1f16ea279932a48a330e2778d4532f39)
 (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 \"\\\"archlinux\\\"\"; 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
Updating files:  86% (19965/23072)
Updating files:  87% (20073/23072)
Updating files:  88% (20304/23072)
Updating files:  89% (20535/23072)
Updating files:  90% (20765/23072)
Updating files:  91% (20996/23072)
Updating files:  92% (21227/23072)
Updating files:  93% (21457/23072)
Updating files:  94% (21688/23072)
Updating files:  95% (21919/23072)
Updating files:  96% (22150/23072)
Updating files:  97% (22380/23072)
Updating files:  98% (22611/23072)
Updating files:  99% (22842/23072)
Updating files: 100% (23072/23072)
Updating files: 100% (23072/23072), done.
HEAD is now at b84dabcc57 Merge commit 'b37a1abf4af242e5e9aa6a7a880a8151d7822230'
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:archlinux-ocaml-4.14@sha256:8e586ff210b115b236cbc37748bb22cb1f16ea279932a48a330e2778d4532f39)
Unable to find image 'ocaml/opam:archlinux-ocaml-4.14@sha256:8e586ff210b115b236cbc37748bb22cb1f16ea279932a48a330e2778d4532f39' locally
docker.io/ocaml/opam@sha256:8e586ff210b115b236cbc37748bb22cb1f16ea279932a48a330e2778d4532f39: Pulling from ocaml/opam
3750dd7a6c6a: Pulling fs layer
3750dd7a6c6a: Verifying Checksum
3750dd7a6c6a: Download complete
3750dd7a6c6a: Pull complete
Digest: sha256:8e586ff210b115b236cbc37748bb22cb1f16ea279932a48a330e2778d4532f39
Status: Downloaded newer image for ocaml/opam@sha256:8e586ff210b115b236cbc37748bb22cb1f16ea279932a48a330e2778d4532f39
2025-05-22 20:02.20 ---> saved as "f32432b24bb6343e773a0993f94e52b26a52f395cc167322917a5f1347314494"

/: (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:02.20 ---> saved as "b1edf70a948048f82e78fc7a6094d866325ae9d4614353e9bfb6bbd0164113b0"

/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.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 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:02.55 ---> saved as "c4880e904b145cbcc187784abb50b21c4a9310701ef2e3393460c3780c068a10"

/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=arch os-version=20250511.0.348143
# 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       4.14
# invariant            ["ocaml-base-compiler" {= "4.14.2"}]
# compiler-packages    ocaml-base-compiler.4.14.2, ocaml-options-vanilla.1
# 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-05-22 20:02.56 ---> saved as "02fd6ce506462e9ecad8c0c2ae0b00ff7c7571dc1509e2784fbfd5d58bc92daa"

/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:03.02 ---> saved as "0c3f36bc837c9f790c3f4c1b819a517b4d39fa5f9286ba59e569dac7a86fc984"

/home/opam: (copy (src .) (dst opam-repository/))
2025-05-22 20:03.09 ---> saved as "8e27705e601ab20b3819f0a2d3dd704d285b2eb759e7936c11e1b9b4427a850c"

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

/home/opam: (run (network host)
                 (shell "opam update --depexts || true"))
+ /usr/sbin/sudo "pacman" "-Sy"
- :: Synchronizing package databases...
-  core downloading...
-  extra downloading...
2025-05-22 20:03.32 ---> saved as "f6ba66d740b3b45351dbc23a313510b1dffa83d9259f64341bbdd26046325db6"

/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:03.33 ---> saved as "bb3bbae1b0946572558cf415fd2f71e2e7f2d4053520624c47f49c015284e8d5"

/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 \"\\\"archlinux\\\"\"; 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
  ∗ 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 pacman to install them (may need root/sudo access)
  2. Display the recommended pacman 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 "pacman" "-Su" "--noconfirm" "povray"
- :: Starting full system upgrade...
- resolving dependencies...
- looking for conflicting packages...
- 
- Package (15)            Old Version  New Version    Net Change  Download Size
- 
- extra/boost-libs                     1.88.0-2         8.84 MiB       2.47 MiB
- core/glib2              2.84.1-1     2.84.2-1         0.01 MiB       4.91 MiB
- core/gnupg              2.4.7-1      2.4.7-2          0.00 MiB       2.78 MiB
- core/gpgme              1.24.2-1     1.24.3-2         0.00 MiB       0.45 MiB
- extra/imath                          3.1.12-4        26.40 MiB       3.87 MiB
- extra/jbigkit                        2.1-8            0.16 MiB       0.05 MiB
- core/libarchive         3.7.9-2      3.8.0-1          0.02 MiB       0.55 MiB
- extra/libdeflate                     1.23-1           0.14 MiB       0.06 MiB
- extra/libjpeg-turbo                  3.1.0-1          2.39 MiB       0.56 MiB
- extra/libpng                         1.6.48-1         0.57 MiB       0.25 MiB
- extra/libtiff                        4.7.0-1          1.78 MiB       0.48 MiB
- core/libtirpc           1.3.6-1      1.3.6-2          0.00 MiB       0.17 MiB
- extra/openexr                        3.3.3-1          4.03 MiB       0.95 MiB
- core/pacman-mirrorlist  20250503-1   20250522-1      -0.01 MiB       0.01 MiB
- extra/povray                         2:3.7.0.10-17   30.53 MiB      21.51 MiB
- 
- Total Download Size:    39.06 MiB
- Total Installed Size:  125.04 MiB
- Net Upgrade Size:       74.87 MiB
- 
- :: Proceed with installation? [Y/n] 
- :: Retrieving packages...
-  povray-2:3.7.0.10-17-x86_64 downloading...
-  glib2-2.84.2-1-x86_64 downloading...
-  imath-3.1.12-4-x86_64 downloading...
-  gnupg-2.4.7-2-x86_64 downloading...
-  boost-libs-1.88.0-2-x86_64 downloading...
-  openexr-3.3.3-1-x86_64 downloading...
-  libjpeg-turbo-3.1.0-1-x86_64 downloading...
-  libarchive-3.8.0-1-x86_64 downloading...
-  libtiff-4.7.0-1-x86_64 downloading...
-  gpgme-1.24.3-2-x86_64 downloading...
-  libpng-1.6.48-1-x86_64 downloading...
-  libtirpc-1.3.6-2-x86_64 downloading...
-  libdeflate-1.23-1-x86_64 downloading...
-  jbigkit-2.1-8-x86_64 downloading...
-  pacman-mirrorlist-20250522-1-any downloading...
- checking keyring...
- checking package integrity...
- loading package files...
- checking for file conflicts...
- :: Processing package changes...
- installing boost-libs...
- Optional dependencies for boost-libs
-     openmpi: for mpi support
- installing imath...
- Optional dependencies for imath
-     boost-libs: python bindings [installed]
-     python: python bindings
- installing libpng...
- installing jbigkit...
- installing libjpeg-turbo...
- Optional dependencies for libjpeg-turbo
-     java-runtime>11: for TurboJPEG Java wrapper
- installing libtiff...
- Optional dependencies for libtiff
-     freeglut: for using tiffgt
- installing libdeflate...
- installing openexr...
- installing povray...
- upgrading glib2...
- upgrading libtirpc...
- upgrading gnupg...
- upgrading gpgme...
- upgrading libarchive...
- upgrading pacman-mirrorlist...
- :: Running post-transaction hooks...
- (1/4) Reloading system manager configuration...
- Failed to check for chroot() environment: Permission denied
-   Skipped: Current root is not booted.
- (2/4) Reloading user manager configuration...
- Failed to check for chroot() environment: Permission denied
-   Skipped: Current root is not booted.
- (3/4) Restarting marked services...
- Failed to check for chroot() environment: Permission denied
-   Skipped: Current root is not booted.
- (4/4) Arming ConditionNeedsUpdate...

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