(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 opensuse-tumbleweed-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/27974/head" && git reset --hard 7e483968 git fetch origin master git merge --no-edit c037675bed027195b802bf40b1840ece3feb3b2a cat > ../Dockerfile <<'END-OF-DOCKERFILE' FROM ocaml/opam:opensuse-tumbleweed-ocaml-5.3@sha256:38ab3308c541a364b27c1a010bf6bf0857f71dac4ee7aec914f202a4ab6a7fbf 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 "\"opensuse-tumbleweed\""; 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:opensuse-tumbleweed-ocaml-5.3@sha256:38ab3308c541a364b27c1a010bf6bf0857f71dac4ee7aec914f202a4ab6a7fbf-echo.0.0.5-7e483968a51c396f77b33e9bc30973b129f4facf" 2025-06-03 03:08.11: Using OBuilder spec: ((from ocaml/opam:opensuse-tumbleweed-ocaml-5.3@sha256:38ab3308c541a364b27c1a010bf6bf0857f71dac4ee7aec914f202a4ab6a7fbf) (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 \"\\\"opensuse-tumbleweed\\\"\"; 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-c4.sw.ocaml.org All commits already cached 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:opensuse-tumbleweed-ocaml-5.3@sha256:38ab3308c541a364b27c1a010bf6bf0857f71dac4ee7aec914f202a4ab6a7fbf) Unable to find image 'ocaml/opam:opensuse-tumbleweed-ocaml-5.3@sha256:38ab3308c541a364b27c1a010bf6bf0857f71dac4ee7aec914f202a4ab6a7fbf' locally docker.io/ocaml/opam@sha256:38ab3308c541a364b27c1a010bf6bf0857f71dac4ee7aec914f202a4ab6a7fbf: Pulling from ocaml/opam ddffb88bf31a: Pulling fs layer ddffb88bf31a: Verifying Checksum ddffb88bf31a: Download complete ddffb88bf31a: Pull complete Digest: sha256:38ab3308c541a364b27c1a010bf6bf0857f71dac4ee7aec914f202a4ab6a7fbf Status: Downloaded newer image for ocaml/opam@sha256:38ab3308c541a364b27c1a010bf6bf0857f71dac4ee7aec914f202a4ab6a7fbf 2025-06-03 03:10.51 ---> saved as "339998dd9116194a554a3804520bc00bad9d13310c671e1e01d493b522184945" /: (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:10.51 ---> saved as "66ba158328224c244488db350b63464b5d263cb4f19a1fcf1d071e97c2996d84" /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.21 ---> saved as "ad8a3300de83bead519e3cb70394d3a7c659562d7b3fc8b9b9047f7c4f250a67" /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=opensuse-tumbleweed os-version=20250522 # 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 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-03 03:11.22 ---> saved as "56b4eb97cd36ea5e009df68c82f4af1f7c655c15c296197ad56a4213fa19182c" /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:11.28 ---> saved as "7f338a511d2ef4325b832407a59b2cf4789faa50c77765ba2a4887ff4938f5fe" /home/opam: (copy (src .) (dst opam-repository/)) 2025-06-03 03:11.38 ---> saved as "bea18ee981d82ba107283412a15a4138b0b6f403a6c02d4183e3a2f56a0b51bd" /home/opam: (run (shell "opam repository set-url --strict default opam-repository/")) [default] Initialised 2025-06-03 03:12.02 ---> saved as "b2906089b6b9c382956d701b6a7a0bf93a89f54c657953b03ad5fafb09acc45c" /home/opam: (run (network host) (shell "opam update --depexts || true")) + /usr/bin/sudo "zypper" "--non-interactive" "refresh" - Repository 'openSUSE-Tumbleweed-Update' is up to date. - Retrieving repository 'openSUSE-Tumbleweed-Non-Oss' metadata [........ - .done] - Building repository 'openSUSE-Tumbleweed-Non-Oss' cache [....done] - Retrieving repository 'openSUSE-Tumbleweed-Oss' metadata [.......... - .......... - ..done] - Building repository 'openSUSE-Tumbleweed-Oss' cache [.. - ..done] - All repositories have been refreshed. 2025-06-03 03:12.12 ---> saved as "0175f9a88b77f732eec779de129e07e5a8f227df34bee618374c98c8a0bcb751" /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.13 ---> saved as "abb286033b44213e8f96fdd14f006e79816c691f78f002139e1dc3d7bec939fb" /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 \"\\\"opensuse-tumbleweed\\\"\"; 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 The following actions will be performed: === install 26 packages - install alcotest 1.9.0 [required by echo] - install astring 0.8.5 [required by alcotest] - install base v0.17.2 [required by echo] - install bigarray-compat 1.1.0 [required by ctypes] - install cmdliner 1.3.0 [required by alcotest] - install conf-libffi 2.0.0 [required by ctypes-foreign] - install conf-pkg-config 4 [required by ctypes-foreign] - install csexp 1.5.2 [required by dune-configurator] - install ctypes 0.23.0 [required by echo] - install ctypes-foreign 0.23.0 [required by echo] - install dune 3.19.0 [required by echo] - install dune-configurator 3.19.0 [required by ctypes, base, ctypes-foreign] - install echo 0.0.5 (pinned) - install fmt 0.10.0 [required by echo] - install integers 0.7.0 [required by ctypes] - install ocaml-syntax-shims 1.0.0 [required by alcotest] - install ocaml_intrinsics_kernel v0.17.1 [required by base] - install ocamlbuild 0.16.1 [required by fmt, astring, uutf] - install ocamlfind 1.9.8 [required by fmt, astring, uutf] - install re 1.12.0 [required by alcotest] - install seq base [required by re] - install sexplib0 v0.17.0 [required by base] - install stdio v0.17.0 [required by echo] - install stdlib-shims 0.3.0 [required by alcotest] - install topkg 1.0.8 [required by fmt, astring, uutf] - install uutf 1.0.4 [required by alcotest] The following system packages will first need to be installed: libffi-devel <><> Handling external dependencies <><><><><><><><><><><><><><><><><><><><><><> opam believes some required external dependencies are missing. opam can: > 1. Run zypper to install them (may need root/sudo access) 2. Display the recommended zypper 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 "zypper" "--non-interactive" "install" "libffi-devel" - Loading repository data... - Reading installed packages... - Resolving package dependencies... - - The following NEW package is going to be installed: - libffi-devel - - 1 new package to install. - - Package download size: 30.1 KiB - - Package install size change: - | 32.0 KiB required by packages that will be installed - 32.0 KiB | - 0 B released by packages that will be removed - - Backend: classic_rpmtrans - Continue? [y/n/v/...? shows all options] (y): y - Retrieving: libffi-devel-3.4.7-1.1.x86_64 (openSUSE-Tumbleweed-Oss) (1/1), 30.1 KiB - Retrieving: libffi-devel-3.4.7-1.1.x86_64.rpm [.done] - - Checking for file conflicts: [..done] - (1/1) Installing: libffi-devel-3.4.7-1.1.x86_64 [..done] - Running post-transaction scripts [...done] <><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><> -> retrieved alcotest.1.9.0 (cached) -> retrieved astring.0.8.5 (cached) -> retrieved base.v0.17.2 (cached) -> retrieved bigarray-compat.1.1.0 (cached) -> retrieved cmdliner.1.3.0 (cached) -> retrieved csexp.1.5.2 (cached) -> retrieved ctypes.0.23.0, ctypes-foreign.0.23.0 (cached) -> installed conf-pkg-config.4 -> installed conf-libffi.2.0.0 -> retrieved dune.3.19.0, dune-configurator.3.19.0 (cached) -> retrieved echo.0.0.5 (https://github.com/deakodev/echo/archive/refs/tags/0.0.5.tar.gz) -> retrieved fmt.0.10.0 (cached) -> retrieved integers.0.7.0 (cached) -> retrieved ocaml-syntax-shims.1.0.0 (cached) -> retrieved ocaml_intrinsics_kernel.v0.17.1 (cached) -> retrieved ocamlbuild.0.16.1 (cached) -> retrieved ocamlfind.1.9.8 (cached) -> retrieved re.1.12.0 (cached) -> retrieved seq.base (cached) -> installed cmdliner.1.3.0 -> installed seq.base -> retrieved sexplib0.v0.17.0 (cached) -> retrieved stdio.v0.17.0 (cached) -> retrieved stdlib-shims.0.3.0 (cached) -> retrieved topkg.1.0.8 (cached) -> retrieved uutf.1.0.4 (cached) -> installed ocamlfind.1.9.8 -> installed ocamlbuild.0.16.1 -> installed topkg.1.0.8 -> installed uutf.1.0.4 -> installed fmt.0.10.0 -> installed astring.0.8.5 -> installed dune.3.19.0 -> installed csexp.1.5.2 -> installed bigarray-compat.1.1.0 -> installed ocaml-syntax-shims.1.0.0 -> installed ocaml_intrinsics_kernel.v0.17.1 -> installed re.1.12.0 -> installed sexplib0.v0.17.0 -> installed stdlib-shims.0.3.0 -> installed integers.0.7.0 -> installed alcotest.1.9.0 -> installed dune-configurator.3.19.0 -> installed ctypes.0.23.0 -> installed base.v0.17.2 -> installed stdio.v0.17.0 -> installed ctypes-foreign.0.23.0 -> installed echo.0.0.5 Done. # To update the current shell environment, run: eval $(opam env) 2025-06-03 03:13.03 ---> saved as "7ed39aa91703eeba877aa7fe7f95b977785fc5b845f893d3804a3843409b20db" Job succeeded 2025-06-03 03:13.08: Job succeeded