(for PR #26864)
2024-11-13 13:54.21: New job: build ocamlfind.1.9.7, using opam 2.1 from https://github.com/ocaml/opam-repository.git#refs/pull/26864/head (1fe86a030d1aa680aac111c48a41dca97d43900a) on debian-12-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/26864/head" && git reset --hard 1fe86a03 git fetch origin master git merge --no-edit d4c6a480805e2a9eafb47afe89128b65244cbdac cat > ../Dockerfile <<'END-OF-DOCKERFILE' FROM ocaml/opam:debian-12-ocaml-4.14@sha256:03931233593b8433100f023bc0a49467bfcf5f4d74310a7b3f4504b32db4ddc3 USER 1000:1000 WORKDIR /home/opam RUN sudo ln -f /usr/bin/opam-2.1 /usr/bin/opam RUN opam init --reinit -ni RUN uname -rs && opam exec -- ocaml -version && opam --version ENV OPAMDOWNLOADJOBS="1" ENV OPAMERRLOGLEN="0" ENV OPAMSOLVERTIMEOUT="1000" 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 ocamlfind.1.9.7 1.9.7 RUN opam reinstall ocamlfind.1.9.7; \ 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" != 'ocamlfind.1.9.7' && 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 . 2024-11-13 13:54.21: Using cache hint "ocaml/opam:debian-12-ocaml-4.14@sha256:03931233593b8433100f023bc0a49467bfcf5f4d74310a7b3f4504b32db4ddc3-ocamlfind.1.9.7-1fe86a030d1aa680aac111c48a41dca97d43900a" 2024-11-13 13:54.21: Using OBuilder spec: ((from ocaml/opam:debian-12-ocaml-4.14@sha256:03931233593b8433100f023bc0a49467bfcf5f4d74310a7b3f4504b32db4ddc3) (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 "uname -rs && opam exec -- ocaml -version && opam --version")) (env OPAMDOWNLOADJOBS 1) (env OPAMERRLOGLEN 0) (env OPAMSOLVERTIMEOUT 1000) (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 ocamlfind.1.9.7 1.9.7")) (run (cache (opam-archives (target /home/opam/.opam/download-cache))) (network host) (shell "opam reinstall ocamlfind.1.9.7;\ \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\" != 'ocamlfind.1.9.7' && partial_fails=\"$partial_fails $pkg\";\ \n done;\ \n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\ \n exit 1")) ) 2024-11-13 13:54.21: Waiting for resource in pool OCluster 2024-11-13 13:54.22: Waiting for worker… 2024-11-13 13:54.22: Got resource from pool OCluster Building on x86-bm-c7.sw.ocaml.org All commits already cached Updating files: 49% (16107/32662) Updating files: 50% (16331/32662) Updating files: 51% (16658/32662) Updating files: 52% (16985/32662) Updating files: 53% (17311/32662) Updating files: 54% (17638/32662) Updating files: 55% (17965/32662) Updating files: 56% (18291/32662) Updating files: 57% (18618/32662) Updating files: 58% (18944/32662) Updating files: 59% (19271/32662) Updating files: 60% (19598/32662) Updating files: 61% (19924/32662) Updating files: 62% (20251/32662) Updating files: 63% (20578/32662) Updating files: 64% (20904/32662) Updating files: 65% (21231/32662) Updating files: 66% (21557/32662) Updating files: 67% (21884/32662) Updating files: 68% (22211/32662) Updating files: 69% (22537/32662) Updating files: 70% (22864/32662) Updating files: 71% (23191/32662) Updating files: 72% (23517/32662) Updating files: 73% (23844/32662) Updating files: 74% (24170/32662) Updating files: 75% (24497/32662) Updating files: 76% (24824/32662) Updating files: 77% (25150/32662) Updating files: 78% (25477/32662) Updating files: 79% (25803/32662) Updating files: 80% (26130/32662) Updating files: 81% (26457/32662) Updating files: 82% (26783/32662) Updating files: 83% (27110/32662) Updating files: 84% (27437/32662) Updating files: 85% (27763/32662) Updating files: 86% (28090/32662) Updating files: 87% (28416/32662) Updating files: 88% (28743/32662) Updating files: 89% (29070/32662) Updating files: 90% (29396/32662) Updating files: 91% (29723/32662) Updating files: 92% (30050/32662) Updating files: 93% (30376/32662) Updating files: 94% (30703/32662) Updating files: 95% (31029/32662) Updating files: 96% (31356/32662) Updating files: 97% (31683/32662) Updating files: 98% (32009/32662) Updating files: 99% (32336/32662) Updating files: 100% (32662/32662) Updating files: 100% (32662/32662), done. HEAD is now at d4c6a48080 Merge pull request #26854 from balat/opam-publish-ocsigen-toolkit.4.1.0 Merge made by the 'ort' strategy. packages/ocamlfind/ocamlfind.1.9.7/opam | 44 +++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100644 packages/ocamlfind/ocamlfind.1.9.7/opam (from ocaml/opam:debian-12-ocaml-4.14@sha256:03931233593b8433100f023bc0a49467bfcf5f4d74310a7b3f4504b32db4ddc3) Unable to find image 'ocaml/opam:debian-12-ocaml-4.14@sha256:03931233593b8433100f023bc0a49467bfcf5f4d74310a7b3f4504b32db4ddc3' locally docker.io/ocaml/opam@sha256:03931233593b8433100f023bc0a49467bfcf5f4d74310a7b3f4504b32db4ddc3: Pulling from ocaml/opam 7a69ec65e8dc: Pulling fs layer 7a69ec65e8dc: Verifying Checksum 7a69ec65e8dc: Download complete 7a69ec65e8dc: Pull complete Digest: sha256:03931233593b8433100f023bc0a49467bfcf5f4d74310a7b3f4504b32db4ddc3 Status: Downloaded newer image for ocaml/opam@sha256:03931233593b8433100f023bc0a49467bfcf5f4d74310a7b3f4504b32db4ddc3 2024-11-13 13:56.58 ---> saved as "7865c6821c42776ca70a19318cc19a6071e65fe0e7c3e659c00e7a03ce2b6d64" /: (user (uid 1000) (gid 1000)) /: (workdir /home/opam) /home/opam: (run (shell "sudo ln -f /usr/bin/opam-2.1 /usr/bin/opam")) 2024-11-13 13:56.59 ---> saved as "ee64b43033ae2df22617b8f44b90335a4daf34ee38a8c4235dc221e6353a85d9" /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] synchronised from file:///home/opam/opam-repository 2024-11-13 13:58.08 ---> saved as "a5cd07bcf26864091b3b061172f25b1896b8d23564a1f65b3a47a129ff635f85" /home/opam: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version")) Linux 5.15.0-122-generic The OCaml toplevel, version 4.14.2 2.1.6 2024-11-13 13:58.08 ---> saved as "e23e975a0c15a6b8305f031230c0eea64851a417d498fe91ebc1641ad93ba94a" /home/opam: (env OPAMDOWNLOADJOBS 1) /home/opam: (env OPAMERRLOGLEN 0) /home/opam: (env OPAMSOLVERTIMEOUT 1000) /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/")) 2024-11-13 13:58.31 ---> saved as "f7d0ca2c8cc481d17d6e5c416eccfb5bb4c490785548e10a226dd89c50e232a6" /home/opam: (copy (src .) (dst opam-repository/)) 2024-11-13 13:58.54 ---> saved as "de850d37ac7192b4077d349fa0d582044abb81477117e895dcfc408ecb153684" /home/opam: (run (shell "opam repository set-url --strict default opam-repository/")) [default] Initialised 2024-11-13 13:59.15 ---> saved as "f65b10592f0ae9bd21c76db18d41146e0052a5970611f8cd150214577d53b537" /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 [204 kB] - Fetched 307 kB in 0s (1366 kB/s) - Reading package lists... 2024-11-13 13:59.16 ---> saved as "59e0eca7f30ab352610c9d380260097fbab5717c04520b9e608d33715309472f" /home/opam: (run (shell "opam pin add -k version -yn ocamlfind.1.9.7 1.9.7")) ocamlfind is now pinned to version 1.9.7 2024-11-13 13:59.16 ---> saved as "2e9f77d583fcf477a41bd9933e634b9fe98bf7e9983748390433e3d383560c81" /home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache))) (network host) (shell "opam reinstall ocamlfind.1.9.7;\ \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\" != 'ocamlfind.1.9.7' && partial_fails=\"$partial_fails $pkg\";\ \n done;\ \n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\ \n exit 1")) ocamlfind.1.9.7 is not installed. Install it? [Y/n] y The following actions will be performed: - install ocamlfind 1.9.7* <><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><> -> retrieved ocamlfind.1.9.7 (cached) -> installed ocamlfind.1.9.7 Done. # Run eval $(opam env) to update the current shell environment 2024-11-13 13:59.36 ---> saved as "3261caab4313b2138f176e7e0d228d823eaa918b75a206681a121935a33acf0e" Job succeeded 2024-11-13 13:59.42: Job succeeded