(for PR #28031)
2025-06-16 07:58.05: New job: build graphics.5.2.0, using opam 2.3 from https://github.com/ocaml/opam-repository.git#refs/pull/28031/head (e6e460d07eec225f9bf29a0ba5b9af37215d04b7) on alpine-3.21-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:alpine-3.21-ocaml-5.3@sha256:3343dcc8eef8cc135210194424c75ebe26927358b1a48d0c3c0860cfe43df613 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 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 "\"alpine-3.21\""; 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:alpine-3.21-ocaml-5.3@sha256:3343dcc8eef8cc135210194424c75ebe26927358b1a48d0c3c0860cfe43df613-graphics.5.2.0-e6e460d07eec225f9bf29a0ba5b9af37215d04b7" 2025-06-16 07:58.05: Using OBuilder spec: ((from ocaml/opam:alpine-3.21-ocaml-5.3@sha256:3343dcc8eef8cc135210194424c75ebe26927358b1a48d0c3c0860cfe43df613) (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 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 \"\\\"alpine-3.21\\\"\"; 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.07: Got resource from pool OCluster Building on odawa.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:alpine-3.21-ocaml-5.3@sha256:3343dcc8eef8cc135210194424c75ebe26927358b1a48d0c3c0860cfe43df613) 2025-06-16 07:58.58 ---> using "3141b9cf5ba038771635d2742247938bc41e269100016f85aeafaf7cfcddc947" 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-06-16 07:58.58 ---> using "6e96183cb8f85e0f66d77225cf3356e1dc5af76cf425c2855e57c22f5e91ed68" 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-06-16 07:58.58 ---> using "729c320e2b4d19b3d458c4d1349869baf4725e7717f8a19969644d8501f6ef5d" 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=alpine os-version=3.21.3 # 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 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-06-16 07:58.58 ---> using "6d521aa08aab84b5f3e2cdf7010a7f9b99a2bef373021c227acb99fba31b3f14" 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:58.58 ---> using "19b7d41d78c9c4e811a84f39c93cccb0f398d975296f425dcaea48f6eb2e991d" from cache /home/opam: (copy (src .) (dst opam-repository/)) 2025-06-16 07:59.04 ---> saved as "2540567cd81eb24b5a5924a1568744ef754e41527e24ae9d681129bf866409b7" /home/opam: (run (shell "opam repository set-url --strict default opam-repository/")) [default] Initialised 2025-06-16 07:59.25 ---> saved as "aa4a9a475718439c86e7fbd01f527a85bf1f6458b82ff6f67e2bdb38ef77825a" /home/opam: (run (network host) (shell "opam update --depexts || true")) + /usr/bin/sudo "apk" "update" - fetch https://dl-cdn.alpinelinux.org/alpine/v3.21/main/x86_64/APKINDEX.tar.gz - fetch https://dl-cdn.alpinelinux.org/alpine/v3.21/community/x86_64/APKINDEX.tar.gz - fetch https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz - fetch https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz - fetch https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz - v3.21.3-603-g364e1f9788f [https://dl-cdn.alpinelinux.org/alpine/v3.21/main] - v3.21.3-605-g3307d5c253d [https://dl-cdn.alpinelinux.org/alpine/v3.21/community] - v3.23.0_alpha20250612-250-g4a09c1c9ad7 [https://dl-cdn.alpinelinux.org/alpine/edge/main] - v3.23.0_alpha20250612-256-g58a912a6c50 [https://dl-cdn.alpinelinux.org/alpine/edge/community] - v3.23.0_alpha20250612-250-g4a09c1c9ad7 [https://dl-cdn.alpinelinux.org/alpine/edge/testing] - OK: 58741 distinct packages available 2025-06-16 07:59.27 ---> saved as "2a831f323c02093a9c14bbefc3929f698d3c2988157b9d42a06e611cdb87bcca" /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.27 ---> saved as "426fe1e32df9f6075b8ce8c30b482ca7154e0cf47d308f541fa3bb4dfe31814d" /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 \"\\\"alpine-3.21\\\"\"; 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 7 packages - install conf-libX11 1 [required by graphics] - install conf-libXft 1 [required by graphics] - install conf-pkg-config 4 [required by graphics] - install csexp 1.5.2 [required by dune-configurator] - install dune 3.19.1 [required by graphics] - install dune-configurator 3.19.1 [required by graphics] - install graphics 5.2.0 (pinned) The following system packages will first need to be installed: libxft-dev <><> Handling external dependencies <><><><><><><><><><><><><><><><><><><><><><> opam believes some required external dependencies are missing. opam can: > 1. Run apk to install them (may need root/sudo access) 2. Display the recommended apk 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 "apk" "add" "libxft-dev" - (1/16) Installing zlib-dev (1.3.1-r2) - (2/16) Installing libxrender (0.9.11-r5) - (3/16) Installing libpng (1.6.47-r0) - (4/16) Installing freetype (2.13.3-r0) - (5/16) Installing fontconfig (2.15.0-r1) - (6/16) Installing libxft (2.3.8-r3) - (7/16) Installing expat (2.7.0-r0) - (8/16) Installing expat-dev (2.7.0-r0) - (9/16) Installing bzip2-dev (1.0.8-r6) - (10/16) Installing brotli (1.1.0-r2) - (11/16) Installing brotli-dev (1.1.0-r2) - (12/16) Installing libpng-dev (1.6.47-r0) - (13/16) Installing freetype-dev (2.13.3-r0) - (14/16) Installing fontconfig-dev (2.15.0-r1) - (15/16) Installing libxrender-dev (0.9.11-r5) - (16/16) Installing libxft-dev (2.3.8-r3) - Executing busybox-1.37.0-r12.trigger - OK: 309 MiB in 118 packages <><> 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, 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. # To update the current shell environment, run: eval $(opam env) 2025-06-16 07:59.58 ---> saved as "f92d694a55982590a059c8bf32530789f37ee259e1ca3787a1940a50b0934932" Job succeeded 2025-06-16 08:00.03: Job succeeded