(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 fedora-41-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:fedora-41-ocaml-4.14@sha256:dfcabb5f651d8095f05c5ed5a9abb403903d60a288cf99e450e8a7f05e2f5bcd
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 "\"fedora-41\""; 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:fedora-41-ocaml-4.14@sha256:dfcabb5f651d8095f05c5ed5a9abb403903d60a288cf99e450e8a7f05e2f5bcd-conf-povray.1-b37a1abf4af242e5e9aa6a7a880a8151d7822230"
2025-05-22 20:00.23: Using OBuilder spec:
((from ocaml/opam:fedora-41-ocaml-4.14@sha256:dfcabb5f651d8095f05c5ed5a9abb403903d60a288cf99e450e8a7f05e2f5bcd)
 (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 \"\\\"fedora-41\\\"\"; 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.31: Got resource from pool OCluster
Building on doris.caelum.ci.dev
Updating files:  85% (19828/23072)
Updating files:  86% (19842/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 d12d645ed4 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:fedora-41-ocaml-4.14@sha256:dfcabb5f651d8095f05c5ed5a9abb403903d60a288cf99e450e8a7f05e2f5bcd)
2025-05-22 20:25.30 ---> using "037ff28cdb8a693c85c3367b9713188bdeafabbd82d042c068bafa2f7452020e" 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:25.30 ---> using "e48a288e8b3adcb960dc64bd24451fbb9e6dbbe20bf01c8062f871ca111969b5" 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.2, 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-05-22 20:25.30 ---> using "2f7fb38cbab394a6b861a9013daf4294f7ba7bcdba9176b9c1f2a52628e3cebe" 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=fedora os-version=41
# solver               builtin-0install
# install-criteria     -changed,-count[avoid-version,solution]
# upgrade-criteria     -count[avoid-version,solution]
# jobs                 255
# 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:25.30 ---> using "792b869126441932677ec1016abc0ffde515018d6a7630099789153ead0ee599" 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:25.30 ---> using "2e314a8b88816df7ddaf7b4f204e1e7147b2dba211c09af0d222b7000904c27e" from cache

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

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

/home/opam: (run (network host)
                 (shell "opam update --depexts || true"))
+ /usr/bin/sudo "yum" "makecache"
- Updating and loading repositories:
-  Fedora 41 - x86_64                     100% | 159.6 KiB/s |  25.7 KiB |  00m00s
-  Fedora 41 - x86_64 - Updates           100% | 194.3 KiB/s |  24.3 KiB |  00m00s
-  Fedora 41 - x86_64 - Updates           100% |   9.5 MiB/s |   9.5 MiB |  00m01s
- Repositories loaded.
- Metadata cache created.
2025-05-22 20:26.12 ---> saved as "0f3ce8ae8b6b4b529c8cb4df123232282626aa5d2d06f0bb50fea766f370efb6"

/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:26.13 ---> saved as "409e5257f0c52ae5e5a95cae58cddec4fca71cd5b7e98f768daeeb675a4b85c5"

/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 \"\\\"fedora-41\\\"\"; 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 yum to install them (may need root/sudo access)
  2. Display the recommended yum 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 "yum" "install" "-y" "povray"
- Updating and loading repositories:
- Repositories loaded.
- Package        Arch   Version          Repository      Size
- Installing:
-  povray        x86_64 3.7.0.10-16.fc41 fedora      16.2 MiB
- Installing dependencies:
-  SDL2          x86_64 2.30.11-1.fc41   updates      1.8 MiB
-  boost-system  x86_64 1.83.0-8.fc41    fedora      16.3 KiB
-  boost-thread  x86_64 1.83.0-8.fc41    fedora     136.8 KiB
-  imath         x86_64 3.1.12-1.fc41    fedora     375.8 KiB
-  jbigkit-libs  x86_64 2.1-30.fc41      fedora     117.6 KiB
-  libdeflate    x86_64 1.23-1.fc41      updates    117.2 KiB
-  libjpeg-turbo x86_64 3.0.2-3.fc41     fedora     776.9 KiB
-  liblerc       x86_64 4.0.0-8.fc41     updates    607.5 KiB
-  libpng        x86_64 2:1.6.40-4.fc41  fedora     245.8 KiB
-  libtiff       x86_64 4.6.0-6.fc41     fedora     606.0 KiB
-  libwebp       x86_64 1.5.0-1.fc41     updates    814.4 KiB
-  openexr-libs  x86_64 3.2.4-3.fc41     fedora       6.5 MiB
-  sdl12-compat  x86_64 1.2.68-3.fc41    fedora     195.6 KiB
- 
- Transaction Summary:
-  Installing:        14 packages
- 
- Total size of inbound packages is 15 MiB. Need to download 15 MiB.
- After this operation, 28 MiB extra will be used (install 28 MiB, remove 0 B).
- [ 1/14] imath-0:3.1.12-1.fc41.x86_64    100% |   1.8 MiB/s |  98.6 KiB |  00m00s
- [ 2/14] libjpeg-turbo-0:3.0.2-3.fc41.x8 100% |   8.9 MiB/s | 227.3 KiB |  00m00s
- [ 3/14] libpng-2:1.6.40-4.fc41.x86_64   100% |   3.0 MiB/s | 120.3 KiB |  00m00s
- [ 4/14] boost-thread-0:1.83.0-8.fc41.x8 100% | 449.0 KiB/s |  61.1 KiB |  00m00s
- [ 5/14] libtiff-0:4.6.0-6.fc41.x86_64   100% |   4.9 MiB/s | 212.0 KiB |  00m00s
- [ 6/14] sdl12-compat-0:1.2.68-3.fc41.x8 100% |   2.2 MiB/s |  90.6 KiB |  00m00s
- [ 7/14] boost-system-0:1.83.0-8.fc41.x8 100% | 262.3 KiB/s |  14.7 KiB |  00m00s
- [ 8/14] jbigkit-libs-0:2.1-30.fc41.x86_ 100% |   3.3 MiB/s |  53.3 KiB |  00m00s
- [ 9/14] openexr-libs-0:3.2.4-3.fc41.x86 100% |   6.8 MiB/s |   1.1 MiB |  00m00s
- [10/14] libdeflate-0:1.23-1.fc41.x86_64 100% |   7.2 MiB/s |  66.7 KiB |  00m00s
- [11/14] liblerc-0:4.0.0-8.fc41.x86_64   100% |   5.8 MiB/s | 209.0 KiB |  00m00s
- [12/14] libwebp-0:1.5.0-1.fc41.x86_64   100% |   5.4 MiB/s | 279.6 KiB |  00m00s
- [13/14] SDL2-0:2.30.11-1.fc41.x86_64    100% |   2.9 MiB/s | 661.7 KiB |  00m00s
- [14/14] povray-0:3.7.0.10-16.fc41.x86_6 100% |   8.7 MiB/s |  12.1 MiB |  00m01s
- --------------------------------------------------------------------------------
- [14/14] Total                           100% |   9.3 MiB/s |  15.3 MiB |  00m02s
- Running transaction
- [ 1/16] Verify package files            100% | 259.0   B/s |  14.0   B |  00m00s
- [ 2/16] Prepare transaction             100% | 212.0   B/s |  14.0   B |  00m00s
- [ 3/16] Installing libjpeg-turbo-0:3.0. 100% | 152.1 MiB/s | 778.7 KiB |  00m00s
- [ 4/16] Installing imath-0:3.1.12-1.fc4 100% |  92.3 MiB/s | 378.0 KiB |  00m00s
- [ 5/16] Installing libwebp-0:1.5.0-1.fc 100% | 114.2 MiB/s | 818.6 KiB |  00m00s
- [ 6/16] Installing liblerc-0:4.0.0-8.fc 100% | 148.7 MiB/s | 609.0 KiB |  00m00s
- [ 7/16] Installing libdeflate-0:1.23-1. 100% |  57.9 MiB/s | 118.6 KiB |  00m00s
- [ 8/16] Installing openexr-libs-0:3.2.4 100% | 261.2 MiB/s |   6.5 MiB |  00m00s
- [ 9/16] Installing SDL2-0:2.30.11-1.fc4 100% | 200.9 MiB/s |   1.8 MiB |  00m00s
- [10/16] Installing sdl12-compat-0:1.2.6 100% |  64.2 MiB/s | 197.4 KiB |  00m00s
- [11/16] Installing jbigkit-libs-0:2.1-3 100% |  58.4 MiB/s | 119.6 KiB |  00m00s
- [12/16] Installing libtiff-0:4.6.0-6.fc 100% | 148.5 MiB/s | 608.2 KiB |  00m00s
- [13/16] Installing boost-system-0:1.83. 100% |  16.9 MiB/s |  17.3 KiB |  00m00s
- [14/16] Installing boost-thread-0:1.83. 100% |  67.2 MiB/s | 137.7 KiB |  00m00s
- [15/16] Installing libpng-2:1.6.40-4.fc 100% |  60.3 MiB/s | 247.1 KiB |  00m00s
- [16/16] Installing povray-0:3.7.0.10-16 100% | 159.3 MiB/s |  16.3 MiB |  00m00s
- Complete!
+ /usr/bin/rpm "-q" "--whatprovides" "povray"
- povray-3.7.0.10-16.fc41.x86_64

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