(for PR #27974)
2025-06-03 03:08.11: New job: build echo.0.0.5, using opam 2.1 from https://github.com/ocaml/opam-repository.git#refs/pull/27974/head (7e483968a51c396f77b33e9bc30973b129f4facf) on debian-12-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:debian-12-ocaml-5.3@sha256:0cdf63dc41dff0c0494301e36537dc505c8709574e9f469e1007cdcda10d9885 USER 1000:1000 WORKDIR /home/opam RUN sudo ln -f /usr/bin/opam-2.1 /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-5.3@sha256:0cdf63dc41dff0c0494301e36537dc505c8709574e9f469e1007cdcda10d9885-echo.0.0.5-7e483968a51c396f77b33e9bc30973b129f4facf" 2025-06-03 03:08.11: Using OBuilder spec: ((from ocaml/opam:debian-12-ocaml-5.3@sha256:0cdf63dc41dff0c0494301e36537dc505c8709574e9f469e1007cdcda10d9885) (user (uid 1000) (gid 1000)) (workdir /home/opam) (run (shell "sudo ln -f /usr/bin/opam-2.1 /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 phoebe.caelum.ci.dev 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:debian-12-ocaml-5.3@sha256:0cdf63dc41dff0c0494301e36537dc505c8709574e9f469e1007cdcda10d9885) 2025-06-03 03:08.48 ---> saved as "0d6009597d4cd5c6e2fc2f171b02a7d6489a864d448f83a5732d0b3910a8b64d" /: (user (uid 1000) (gid 1000)) /: (workdir /home/opam) /home/opam: (run (shell "sudo ln -f /usr/bin/opam-2.1 /usr/bin/opam")) 2025-06-03 03:08.48 ---> saved as "9de9b47f48deb42d881ec4c680ebfa2392cb930eb9c65bed639b817c8eaaa2eb" /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.1, 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:10.14 ---> saved as "1e1211a2bc2642b7eebf7a906ee9434526b7c3144bd861b0481af4e9b91d9ed7" /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.1.6 (263921263e1f745613e2882745114b7b08f3608b) # self-upgrade no # system arch=x86_64 os=linux os-distribution=debian os-version=12 # solver builtin-0install # install-criteria # upgrade-criteria # jobs 39 # repositories 1 (version-controlled) # pinned 1 (version) # current-switch 5.3 # 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:10.16 ---> saved as "4bc0ff65dec2a2556427aa6a65985196937c961798cf7d3872b8046e88252391" /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:10.23 ---> saved as "509d7a6135db7e4d029f206859b4e42358b86f69605f75cfb10a4589bd3245f6" /home/opam: (copy (src .) (dst opam-repository/)) 2025-06-03 03:10.33 ---> saved as "e3369a2f63c8e6d3f530c02603ac35b86e89c4509ae2ac399b042b3c062ed857" /home/opam: (run (shell "opam repository set-url --strict default opam-repository/")) [default] Initialised 2025-06-03 03:10.48 ---> saved as "bf8a38359ea69057fc72ffcf4b0547614188389c31e6c6375bc5ac5c5296d2c2" /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 (866 kB/s) - Reading package lists... - 2025-06-03 03:10.50 ---> saved as "011fe08c29531e486fd3efb2681406fec497689badf06f499b3f5bbdce03c036" /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:10.51 ---> saved as "d99b310bad2f8e8c2a09347174fb9b853a4856d0942611b9c37172504349099b" /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 The following actions will be performed: - install cmdliner 1.3.0 [required by alcotest] - install ocamlbuild 0.16.1 [required by fmt, astring, uutf] - install dune 3.19.0 [required by echo] - install seq base [required by re] - install conf-pkg-config 4 [required by ctypes-foreign] - install ocamlfind 1.9.8 [required by fmt, astring, uutf] - install stdlib-shims 0.3.0 [required by alcotest] - install sexplib0 v0.17.0 [required by base] - install ocaml-syntax-shims 1.0.0 [required by alcotest] - install ocaml_intrinsics_kernel v0.17.1 [required by base] - install csexp 1.5.2 [required by dune-configurator] - install bigarray-compat 1.1.0 [required by ctypes] - install re 1.12.0 [required by alcotest] - install conf-libffi 2.0.0 [required by ctypes-foreign] - install topkg 1.0.8 [required by fmt, astring, uutf] - install integers 0.7.0 [required by ctypes] - install dune-configurator 3.19.0 [required by ctypes, base, ctypes-foreign] - install uutf 1.0.4 [required by alcotest] - install fmt 0.10.0 [required by echo] - install astring 0.8.5 [required by alcotest] - install ctypes 0.23.0 [required by echo] - install base v0.17.2 [required by echo] - install alcotest 1.9.0 [required by echo] - install ctypes-foreign 0.23.0 [required by echo] - install stdio v0.17.0 [required by echo] - install echo 0.0.5* ===== 26 to install ===== The following system packages will first need to be installed: libffi-dev pkg-config <><> Handling external dependencies <><><><><><><><><><><><><><><><><><><><><><> Let opam run your package manager to install the required system packages? (answer 'n' for other options) [Y/n] y + /usr/bin/sudo "apt-get" "install" "-qq" "-yy" "libffi-dev" "pkg-config" - debconf: delaying package configuration, since apt-utils is not installed - Selecting previously unselected package libffi-dev:amd64. - (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 18776 files and directories currently installed.) - Preparing to unpack .../libffi-dev_3.4.4-1_amd64.deb ... - Unpacking libffi-dev:amd64 (3.4.4-1) ... - Selecting previously unselected package libpkgconf3:amd64. - Preparing to unpack .../libpkgconf3_1.8.1-1_amd64.deb ... - Unpacking libpkgconf3:amd64 (1.8.1-1) ... - Selecting previously unselected package pkgconf-bin. - Preparing to unpack .../pkgconf-bin_1.8.1-1_amd64.deb ... - Unpacking pkgconf-bin (1.8.1-1) ... - Selecting previously unselected package pkgconf:amd64. - Preparing to unpack .../pkgconf_1.8.1-1_amd64.deb ... - Unpacking pkgconf:amd64 (1.8.1-1) ... - Selecting previously unselected package pkg-config:amd64. - Preparing to unpack .../pkg-config_1.8.1-1_amd64.deb ... - Unpacking pkg-config:amd64 (1.8.1-1) ... - Setting up libffi-dev:amd64 (3.4.4-1) ... - Setting up libpkgconf3:amd64 (1.8.1-1) ... - Setting up pkgconf-bin (1.8.1-1) ... - Setting up pkgconf:amd64 (1.8.1-1) ... - Setting up pkg-config:amd64 (1.8.1-1) ... - Processing triggers for libc-bin (2.36-9+deb12u10) ... <><> 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 (cached) -> installed conf-pkg-config.4 -> retrieved ctypes-foreign.0.23.0 (cached) -> installed conf-libffi.2.0.0 -> retrieved dune.3.19.0 (cached) -> retrieved dune-configurator.3.19.0 (cached) -> retrieved echo.0.0.5 (cached) -> 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 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 cmdliner.1.3.0 -> 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_intrinsics_kernel.v0.17.1 -> installed sexplib0.v0.17.0 -> installed stdlib-shims.0.3.0 -> installed ocaml-syntax-shims.1.0.0 -> installed re.1.12.0 -> installed integers.0.7.0 -> installed dune-configurator.3.19.0 -> installed alcotest.1.9.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. # Run eval $(opam env) to update the current shell environment 2025-06-03 03:11.49 ---> saved as "e27a3445774553602857753e38dadc986392c4cc6d07e85da60eef289ccde270" Job succeeded 2025-06-03 03:11.56: Job succeeded