(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.10/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.10@sha256:0b635065eda3a935c3bfdbdd9c0ccc472fa35181deb52cb51f30374cb198cae1 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.10@sha256:0b635065eda3a935c3bfdbdd9c0ccc472fa35181deb52cb51f30374cb198cae1-echo.0.0.5-7e483968a51c396f77b33e9bc30973b129f4facf" 2025-06-03 03:08.11: Using OBuilder spec: ((from ocaml/opam:debian-12-ocaml-4.10@sha256:0b635065eda3a935c3bfdbdd9c0ccc472fa35181deb52cb51f30374cb198cae1) (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-c2.sw.ocaml.org HEAD is now at 5eea9016e6 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.10@sha256:0b635065eda3a935c3bfdbdd9c0ccc472fa35181deb52cb51f30374cb198cae1) Unable to find image 'ocaml/opam:debian-12-ocaml-4.10@sha256:0b635065eda3a935c3bfdbdd9c0ccc472fa35181deb52cb51f30374cb198cae1' locally docker.io/ocaml/opam@sha256:0b635065eda3a935c3bfdbdd9c0ccc472fa35181deb52cb51f30374cb198cae1: Pulling from ocaml/opam a0a0ab3c3bf0: Pulling fs layer a0a0ab3c3bf0: Verifying Checksum a0a0ab3c3bf0: Download complete a0a0ab3c3bf0: Pull complete Digest: sha256:0b635065eda3a935c3bfdbdd9c0ccc472fa35181deb52cb51f30374cb198cae1 Status: Downloaded newer image for ocaml/opam@sha256:0b635065eda3a935c3bfdbdd9c0ccc472fa35181deb52cb51f30374cb198cae1 2025-06-03 03:11.16 ---> saved as "4755fbbeb53331e6804ebc8317ce6ceaad5c70e669c4213f4e663b54af0c8b08" /: (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:11.16 ---> saved as "022a40a9d4843c72782bc00f0df689eaea3177a1a6dc8fc3e7389cc11c646a0e" /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:11.54 ---> saved as "37ea1e83b22b87173d1cc053588c0b855114eaf5a74d84b817afd7704129d5c6" /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.10 # invariant ["ocaml-base-compiler" {= "4.10.2"}] # compiler-packages ocaml-base-compiler.4.10.2 # ocaml:native true # ocaml:native-tools true # ocaml:native-dynlink true # ocaml:stubsdir /home/opam/.opam/4.10/lib/ocaml/stublibs:/home/opam/.opam/4.10/lib/ocaml # ocaml:preinstalled false # ocaml:compiler 4.10.2 2025-06-03 03:11.55 ---> saved as "9ded8ef6c1368257c91e9d2ab68a0e94b077fd6a242bf0337764389e47f92591" /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:12.03 ---> saved as "a5bf5ad675479de48ad734a4f13a8a2380a95406879c1119ad4e4b2f6c859b90" /home/opam: (copy (src .) (dst opam-repository/)) 2025-06-03 03:12.15 ---> saved as "f730b2ab40c4bc5ca39841d4a363481c2ef565d746b458e45047c75515e34107" /home/opam: (run (shell "opam repository set-url --strict default opam-repository/")) [default] Initialised 2025-06-03 03:12.42 ---> saved as "02305f6b83c25869e0d2746e2811d6dce54c33c8c4f264b571721167af4dff2a" /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 (843 kB/s) - Reading package lists... - 2025-06-03 03:12.44 ---> saved as "b441a4d4aca86fe3f32efdbc8c721945d6c15b5e81223221424661e62ca5b00b" /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:12.45 ---> saved as "92bb9b18b62bf684980987a81c2d174ddaf8b862476f29a9fb43fe688d0928b4" /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.10.2 - 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:13.11: Job failed: Failed: Build failed 2025-06-03 03:13.11: Log analysis: 2025-06-03 03:13.11: >>> No solution found, exiting (score = 100) 2025-06-03 03:13.11: [SKIP] Package not available