(for PR #27974)
2025-06-03 03:08.11: New job: build echo.0.0.5, using opam dev from https://github.com/ocaml/opam-repository.git#refs/pull/27974/head (7e483968a51c396f77b33e9bc30973b129f4facf) on debian-12-ocaml-4.08/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/27974/head" && git reset --hard 7e483968 git fetch origin master git merge --no-edit c037675bed027195b802bf40b1840ece3feb3b2a cat > ../Dockerfile <<'END-OF-DOCKERFILE' FROM ocaml/opam:debian-12-ocaml-4.08@sha256:caa944a8381a192bd2413b3f0423be27d3dfc5d7430e42e478edd0fff104c75d USER 1000:1000 WORKDIR /home/opam RUN sudo ln -f /usr/bin/opam-dev /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 echo.0.0.5 0.0.5 RUN opam reinstall echo.0.0.5; \ 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" != 'echo.0.0.5' && 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-03 03:08.11: Using cache hint "ocaml/opam:debian-12-ocaml-4.08@sha256:caa944a8381a192bd2413b3f0423be27d3dfc5d7430e42e478edd0fff104c75d-echo.0.0.5-7e483968a51c396f77b33e9bc30973b129f4facf" 2025-06-03 03:08.11: Using OBuilder spec: ((from ocaml/opam:debian-12-ocaml-4.08@sha256:caa944a8381a192bd2413b3f0423be27d3dfc5d7430e42e478edd0fff104c75d) (user (uid 1000) (gid 1000)) (workdir /home/opam) (run (shell "sudo ln -f /usr/bin/opam-dev /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 echo.0.0.5 0.0.5")) (run (cache (opam-archives (target /home/opam/.opam/download-cache))) (network host) (shell "opam reinstall echo.0.0.5;\ \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\" != 'echo.0.0.5' && 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-03 03:08.11: Waiting for resource in pool OCluster 2025-06-03 03:08.12: Waiting for worker… 2025-06-03 03:08.12: Got resource from pool OCluster Building on x86-bm-c3.sw.ocaml.org Updating files: 89% (20786/23181) Updating files: 90% (20863/23181) Updating files: 91% (21095/23181) Updating files: 92% (21327/23181) Updating files: 93% (21559/23181) Updating files: 94% (21791/23181) Updating files: 95% (22022/23181) Updating files: 96% (22254/23181) Updating files: 97% (22486/23181) Updating files: 98% (22718/23181) Updating files: 99% (22950/23181) Updating files: 100% (23181/23181) Updating files: 100% (23181/23181), done. HEAD is now at 286a2acf44 Merge commit '71d5541396faace25a438dfb8680475310b97670' HEAD is now at c037675bed Merge pull request #27980 from jmid/conf-freeglut-typo Merge made by the 'ort' strategy. packages/echo/echo.0.0.5/opam | 53 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 53 insertions(+) create mode 100644 packages/echo/echo.0.0.5/opam (from ocaml/opam:debian-12-ocaml-4.08@sha256:caa944a8381a192bd2413b3f0423be27d3dfc5d7430e42e478edd0fff104c75d) Unable to find image 'ocaml/opam:debian-12-ocaml-4.08@sha256:caa944a8381a192bd2413b3f0423be27d3dfc5d7430e42e478edd0fff104c75d' locally docker.io/ocaml/opam@sha256:caa944a8381a192bd2413b3f0423be27d3dfc5d7430e42e478edd0fff104c75d: Pulling from ocaml/opam 02d1a25fc560: Pulling fs layer 02d1a25fc560: Verifying Checksum 02d1a25fc560: Download complete 02d1a25fc560: Pull complete Digest: sha256:caa944a8381a192bd2413b3f0423be27d3dfc5d7430e42e478edd0fff104c75d Status: Downloaded newer image for ocaml/opam@sha256:caa944a8381a192bd2413b3f0423be27d3dfc5d7430e42e478edd0fff104c75d 2025-06-03 03:08.17 ---> using "a5bd2a18866c939b596dfe3c84dec6f082eab800d2eafd47ffdc2db7fa3d4f6c" from cache /: (user (uid 1000) (gid 1000)) /: (workdir /home/opam) /home/opam: (run (shell "sudo ln -f /usr/bin/opam-dev /usr/bin/opam")) 2025-06-03 03:08.17 ---> using "968ae340cc796c4cb4f3ddc5c1e26fd29ea03704d48bb98864b6e3f3444283c8" 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 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-03 03:08.17 ---> using "d0d3ae462893a2a8a8b5ad45fcc2bc28928a4d0787356e6dffd216c4c42a9af3" 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.4.0~alpha2 # self-upgrade no # system arch=x86_64 os=linux os-distribution=debian os-version=12 # solver builtin-0install # install-criteria -changed,-count[avoid-version,solution] # upgrade-criteria -count[avoid-version,solution] # jobs 39 # repositories 1 (version-controlled) # pinned 1 (version) # current-switch 4.08 # invariant ["ocaml-base-compiler" {= "4.08.1"}] # compiler-packages ocaml-base-compiler.4.08.1 # ocaml:native true # ocaml:native-tools true # ocaml:native-dynlink true # ocaml:stubsdir /home/opam/.opam/4.08/lib/ocaml/stublibs:/home/opam/.opam/4.08/lib/ocaml # ocaml:preinstalled false # ocaml:compiler 4.08.1 2025-06-03 03:08.17 ---> using "9d2045908da81eb8c742b43e75fe2b04d962f7e894165b9bc8a08b164d612df1" 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-03 03:08.17 ---> using "eada3f723a8a44cb75320055f69d2f5da393bbd608e77679b6c6362f7e6ebee7" from cache /home/opam: (copy (src .) (dst opam-repository/)) 2025-06-03 03:08.24 ---> saved as "46fc8eec48ce64ebae9ec2eafb858fca685039dfe5461dbc7fb844c5f985167b" /home/opam: (run (shell "opam repository set-url --strict default opam-repository/")) [default] Initialised 2025-06-03 03:08.47 ---> saved as "50821ce6541ca61f3f91ca3ee2824062ab94cadc281745c81aedd0d279f419cc" /home/opam: (run (network host) (shell "opam update --depexts || true")) + /usr/bin/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-security bookworm-security/main amd64 Packages [265 kB] - Fetched 368 kB in 0s (1424 kB/s) - Reading package lists... - 2025-06-03 03:08.48 ---> saved as "23148674b00d4f7108204fc47cecf0471cf02c481d0e3ae1877acb1121524e80" /home/opam: (run (shell "opam pin add -k version -yn echo.0.0.5 0.0.5")) echo is now pinned to version 0.0.5 2025-06-03 03:08.49 ---> saved as "15bd1c02fa7fb19b8e6be7cf192d363befe2c44f8579da89822e9b04a2f04017" /home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache))) (network host) (shell "opam reinstall echo.0.0.5;\ \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\" != 'echo.0.0.5' && partial_fails=\"$partial_fails $pkg\";\ \n done;\ \n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\ \n exit 1")) echo.0.0.5 is not installed. Install it? [Y/n] y * Incompatible packages: - (invariant) -> ocaml-base-compiler = 4.08.1 - echo >= 0.0.5 -> ocaml >= 4.14 -> ocaml-variants < 5.1.2~ You can temporarily relax the switch invariant with `--update-invariant' * Missing dependency: - echo >= 0.0.5 -> ocaml >= 4.14 -> ocaml-variants < 4.14.1~ -> xenbigarray unknown package * Missing dependency: - echo >= 0.0.5 -> ocaml >= 4.14 -> ocaml-variants < 4.14.1~ -> ocaml-beta unmet availability conditions: 'enable-ocaml-beta-repository' * Missing dependency: - echo >= 0.0.5 -> ocaml >= 4.14 -> ocaml-variants >= 5.1.2~ -> system-msvc unmet availability conditions: 'os = "win32"' No solution found, exiting "/usr/bin/env" "bash" "-c" "opam reinstall echo.0.0.5; 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" != 'echo.0.0.5' && partial_fails="$partial_fails $pkg"; done; test "${partial_fails}" != "" && echo "opam-repo-ci detected dependencies failing: ${partial_fails}"; exit 1" failed with exit status 20 2025-06-03 03:09.07: Job failed: Failed: Build failed 2025-06-03 03:09.07: Log analysis: 2025-06-03 03:09.07: >>> No solution found, exiting (score = 100) 2025-06-03 03:09.07: [SKIP] Package not available