(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-testing-ocaml-4.14/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-testing-ocaml-4.14@sha256:493be3b7cac6c9df2b1393492a30ebb3cb952c24cf93921c68ef5c9c8df8ef1d 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-testing\""; 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-testing-ocaml-4.14@sha256:493be3b7cac6c9df2b1393492a30ebb3cb952c24cf93921c68ef5c9c8df8ef1d-echo.0.0.5-7e483968a51c396f77b33e9bc30973b129f4facf" 2025-06-03 03:08.11: Using OBuilder spec: ((from ocaml/opam:debian-testing-ocaml-4.14@sha256:493be3b7cac6c9df2b1393492a30ebb3cb952c24cf93921c68ef5c9c8df8ef1d) (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-testing\\\"\"; 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-c6.sw.ocaml.org All commits already cached Updating files: 94% (21863/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 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-testing-ocaml-4.14@sha256:493be3b7cac6c9df2b1393492a30ebb3cb952c24cf93921c68ef5c9c8df8ef1d) Unable to find image 'ocaml/opam:debian-testing-ocaml-4.14@sha256:493be3b7cac6c9df2b1393492a30ebb3cb952c24cf93921c68ef5c9c8df8ef1d' locally docker.io/ocaml/opam@sha256:493be3b7cac6c9df2b1393492a30ebb3cb952c24cf93921c68ef5c9c8df8ef1d: Pulling from ocaml/opam e0f367f1be7a: Pulling fs layer e0f367f1be7a: Verifying Checksum e0f367f1be7a: Download complete e0f367f1be7a: Pull complete Digest: sha256:493be3b7cac6c9df2b1393492a30ebb3cb952c24cf93921c68ef5c9c8df8ef1d Status: Downloaded newer image for ocaml/opam@sha256:493be3b7cac6c9df2b1393492a30ebb3cb952c24cf93921c68ef5c9c8df8ef1d 2025-06-03 03:10.33 ---> saved as "1583996d92ab4a03e8da91e53ff208af43f8ee011f2ebb5cc06743c1ebddd59a" /: (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.33 ---> saved as "2d7b95b7c4e74269b5c256db32a3dbdffde980d32f109add3d5899e2cb361ac5" /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 [NOTE] The 'jobs' option was reset, its value was 255 and its new value will vary according to the current number of cores on your machine. You can restore the fixed value using: opam option jobs=255 --global Format upgrade done. <><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><> [default] Initialised 2025-06-03 03:11.05 ---> saved as "38cb891fc694f7c0be57c4db0541b1fbc48627690ba61fa24a0240fd9e363fbf" /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=13 # 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 4.14 # invariant ["ocaml-base-compiler" {= "4.14.2"}] # compiler-packages ocaml-base-compiler.4.14.2, ocaml-options-vanilla.1 # ocaml:native true # ocaml:native-tools true # ocaml:native-dynlink true # ocaml:stubsdir /home/opam/.opam/4.14/lib/ocaml/stublibs:/home/opam/.opam/4.14/lib/ocaml # ocaml:preinstalled false # ocaml:compiler 4.14.2 2025-06-03 03:11.06 ---> saved as "006fd4321a0e738ca554e6896c4ba9e2e0ff749cb9fa051dfdf1ce2a67051e76" /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.12 ---> saved as "35e071abac69b28b215e44b62785025c54495313f748c14bd247372d1afa27fc" /home/opam: (copy (src .) (dst opam-repository/)) 2025-06-03 03:11.18 ---> saved as "929b1846673e02585010853e134d42c268f600d37f91e39e8c3b638bad6cc35d" /home/opam: (run (shell "opam repository set-url --strict default opam-repository/")) [default] Initialised 2025-06-03 03:11.39 ---> saved as "4d05693a99a59a801fc9d02c2d41fb9f9969ec274ab5562a3f311e0981e8d257" /home/opam: (run (network host) (shell "opam update --depexts || true")) + /usr/bin/sudo "apt-get" "update" - Get:1 http://deb.debian.org/debian testing InRelease [178 kB] - Get:2 http://deb.debian.org/debian testing-updates InRelease [49.6 kB] - Get:3 http://deb.debian.org/debian-security testing-security InRelease [48.0 kB] - Get:4 http://deb.debian.org/debian testing/main amd64 Packages.diff/Index [27.9 kB] - Get:5 http://deb.debian.org/debian testing/main amd64 Packages 2025-06-01-2004.03.pdiff [8152 B] - Get:6 http://deb.debian.org/debian testing/main amd64 Packages 2025-06-02-0204.03.pdiff [8506 B] - Get:7 http://deb.debian.org/debian testing/main amd64 Packages 2025-06-02-0804.04.pdiff [33 B] - Get:8 http://deb.debian.org/debian testing/main amd64 Packages 2025-06-02-1403.59.pdiff [35 B] - Get:9 http://deb.debian.org/debian testing/main amd64 Packages 2025-06-03-0206.05.pdiff [26.6 kB] - Get:9 http://deb.debian.org/debian testing/main amd64 Packages 2025-06-03-0206.05.pdiff [26.6 kB] - Fetched 347 kB in 1s (332 kB/s) - Reading package lists... 2025-06-03 03:11.41 ---> saved as "de64d58f276c602c069f417087bedef846944db1b63c900f74a06776799f015f" /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:11.42 ---> saved as "cb50dc6f9fd5155a0d086604afe11efc7ae9206f3b657c0c1620971fa9f4a074" /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-testing\\\"\"; 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 25 packages - install alcotest 1.9.0 [required by echo] - install astring 0.8.5 [required by alcotest] - install base v0.16.4 [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 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.16.0 [required by base] - install stdio v0.16.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-dev pkg-config <><> Handling external dependencies <><><><><><><><><><><><><><><><><><><><><><> opam believes some required external dependencies are missing. opam can: > 1. Run apt-get to install them (may need root/sudo access) 2. Display the recommended apt-get 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 "apt-get" "install" "-qq" "-yy" "libffi-dev" "pkg-config" - 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 ... 20614 files and directories currently installed.) - Preparing to unpack .../libffi-dev_3.4.8-2_amd64.deb ... - Unpacking libffi-dev:amd64 (3.4.8-2) ... - Selecting previously unselected package libpkgconf3:amd64. - Preparing to unpack .../libpkgconf3_1.8.1-4_amd64.deb ... - Unpacking libpkgconf3:amd64 (1.8.1-4) ... - Selecting previously unselected package pkgconf-bin. - Preparing to unpack .../pkgconf-bin_1.8.1-4_amd64.deb ... - Unpacking pkgconf-bin (1.8.1-4) ... - Selecting previously unselected package pkgconf:amd64. - Preparing to unpack .../pkgconf_1.8.1-4_amd64.deb ... - Unpacking pkgconf:amd64 (1.8.1-4) ... - Selecting previously unselected package pkg-config:amd64. - Preparing to unpack .../pkg-config_1.8.1-4_amd64.deb ... - Unpacking pkg-config:amd64 (1.8.1-4) ... - Setting up libffi-dev:amd64 (3.4.8-2) ... - Setting up libpkgconf3:amd64 (1.8.1-4) ... - Setting up pkgconf-bin (1.8.1-4) ... - Setting up pkgconf:amd64 (1.8.1-4) ... - Setting up pkg-config:amd64 (1.8.1-4) ... - Processing triggers for libc-bin (2.41-8) ... <><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><> -> retrieved alcotest.1.9.0 (cached) -> retrieved astring.0.8.5 (cached) -> retrieved base.v0.16.4 (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 (cached) -> retrieved fmt.0.10.0 (cached) -> retrieved integers.0.7.0 (cached) -> retrieved ocaml-syntax-shims.1.0.0 (cached) -> retrieved ocamlbuild.0.16.1 (cached) -> installed cmdliner.1.3.0 -> retrieved ocamlfind.1.9.8 (cached) -> retrieved re.1.12.0 (cached) -> retrieved seq.base (cached) -> installed seq.base -> retrieved sexplib0.v0.16.0 (cached) -> retrieved stdio.v0.16.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 re.1.12.0 -> installed sexplib0.v0.16.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.16.4 -> installed stdio.v0.16.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:12.31 ---> saved as "de69601d8ca424136564a496f11e26ba3b8475c7d7feccce582221fb0c9885ab" Job succeeded 2025-06-03 03:12.36: Job succeeded