(for PR #27458)
2025-02-16 23:42.34: New job: build gettext-camomile.0.5.0, using opam dev from https://github.com/ocaml/opam-repository.git#refs/pull/27458/head (e73fb24dc0ddbf5840eab7d67368c66e6f23ddb9) on debian-12-ocaml-5.2/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/27458/head" && git reset --hard e73fb24d git fetch origin master git merge --no-edit a17a63ad3c59d7e1f745e87d85b858a34e0cda25 cat > ../Dockerfile <<'END-OF-DOCKERFILE' FROM ocaml/opam:debian-12-ocaml-5.2@sha256:7efe6f4976815f9ce2b6f6c3ccbc690bcef414b8f68b6d7b88f3e5f862bd70a1 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 gettext-camomile.0.5.0 0.5.0 RUN opam reinstall gettext-camomile.0.5.0; \ 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" != 'gettext-camomile.0.5.0' && 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-02-16 23:42.34: Using cache hint "ocaml/opam:debian-12-ocaml-5.2@sha256:7efe6f4976815f9ce2b6f6c3ccbc690bcef414b8f68b6d7b88f3e5f862bd70a1-gettext-camomile.0.5.0-e73fb24dc0ddbf5840eab7d67368c66e6f23ddb9" 2025-02-16 23:42.34: Using OBuilder spec: ((from ocaml/opam:debian-12-ocaml-5.2@sha256:7efe6f4976815f9ce2b6f6c3ccbc690bcef414b8f68b6d7b88f3e5f862bd70a1) (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 gettext-camomile.0.5.0 0.5.0")) (run (cache (opam-archives (target /home/opam/.opam/download-cache))) (network host) (shell "opam reinstall gettext-camomile.0.5.0;\ \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\" != 'gettext-camomile.0.5.0' && partial_fails=\"$partial_fails $pkg\";\ \n done;\ \n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\ \n exit 1")) ) 2025-02-16 23:42.34: Waiting for resource in pool OCluster 2025-02-16 23:42.36: Waiting for worker… 2025-02-16 23:43.16: Got resource from pool OCluster Building on x86-bm-c4.sw.ocaml.org All commits already cached Updating files: 93% (21762/23371) Updating files: 94% (21969/23371) Updating files: 95% (22203/23371) Updating files: 96% (22437/23371) Updating files: 97% (22670/23371) Updating files: 98% (22904/23371) Updating files: 99% (23138/23371) Updating files: 100% (23371/23371) Updating files: 100% (23371/23371), done. HEAD is now at a17a63ad3c Merge pull request #27452 from chetmurthy/release-pcre2-ocaml-8.0.3 Updating a17a63ad3c..e73fb24dc0 Fast-forward .../gettext-camomile/gettext-camomile.0.5.0/opam | 43 +++++++++++++++++ packages/gettext-stub/gettext-stub.0.5.0/opam | 50 ++++++++++++++++++++ packages/gettext/gettext.0.5.0/opam | 54 ++++++++++++++++++++++ 3 files changed, 147 insertions(+) create mode 100644 packages/gettext-camomile/gettext-camomile.0.5.0/opam create mode 100644 packages/gettext-stub/gettext-stub.0.5.0/opam create mode 100644 packages/gettext/gettext.0.5.0/opam (from ocaml/opam:debian-12-ocaml-5.2@sha256:7efe6f4976815f9ce2b6f6c3ccbc690bcef414b8f68b6d7b88f3e5f862bd70a1) Unable to find image 'ocaml/opam:debian-12-ocaml-5.2@sha256:7efe6f4976815f9ce2b6f6c3ccbc690bcef414b8f68b6d7b88f3e5f862bd70a1' locally docker.io/ocaml/opam@sha256:7efe6f4976815f9ce2b6f6c3ccbc690bcef414b8f68b6d7b88f3e5f862bd70a1: Pulling from ocaml/opam 02ef976209cc: Pulling fs layer 02ef976209cc: Verifying Checksum 02ef976209cc: Download complete 02ef976209cc: Pull complete Digest: sha256:7efe6f4976815f9ce2b6f6c3ccbc690bcef414b8f68b6d7b88f3e5f862bd70a1 Status: Downloaded newer image for ocaml/opam@sha256:7efe6f4976815f9ce2b6f6c3ccbc690bcef414b8f68b6d7b88f3e5f862bd70a1 2025-02-16 23:43.19 ---> using "464f03d4aa45ec855c07f9f5ee75b2fe483e41b843930d3d5e23a806a834c48a" from cache /: (user (uid 1000) (gid 1000)) /: (workdir /home/opam) /home/opam: (run (shell "sudo ln -f /usr/bin/opam-dev /usr/bin/opam")) 2025-02-16 23:43.19 ---> using "55c75e46f52a7ab18c4aa42eb73eec9cbf83b9176cda821e4187e1f7dfe26aa0" from cache /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.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 39 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=39 --global Format upgrade done. <><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><> [opam-repository-archive] no changes from git+https://github.com/ocaml/opam-repository-archive [default] synchronised from file:///home/opam/opam-repository 2025-02-16 23:43.19 ---> using "4be8ef64bcad6f752055c88f4a8ab757e4b508b7bdf3d830d5217a12d87f5b1c" from cache /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~alpha1~dev (747e73667ad9d054b0f736be205c0013e1bec087) # 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 31 # repositories 1 (local), 1 (version-controlled) # pinned 1 (version) # current-switch 5.2 # invariant ["ocaml-base-compiler" {= "5.2.1"}] # compiler-packages ocaml-base-compiler.5.2.1, ocaml-options-vanilla.1 # ocaml:native true # ocaml:native-tools true # ocaml:native-dynlink true # ocaml:stubsdir /home/opam/.opam/5.2/lib/ocaml/stublibs:/home/opam/.opam/5.2/lib/ocaml # ocaml:preinstalled false # ocaml:compiler 5.2.1 2025-02-16 23:43.19 ---> using "fd70e5bc570c636fe82e949779e66ddb2058a00f47e400fccb4d21ab0e785695" from cache /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-02-16 23:43.19 ---> using "1806a2cde95812459bd162a98545cfb0c085024dbf9281a6b3329bcb7c461d8c" from cache /home/opam: (copy (src .) (dst opam-repository/)) 2025-02-16 23:43.26 ---> saved as "57481b4549c03dd45168724f76a3c2ee99bdf7ec1ed14fa18497bc5a7e67b37b" /home/opam: (run (shell "opam repository set-url --strict default opam-repository/")) [default] Initialised 2025-02-16 23:44.22 ---> saved as "14671476e7a88d2e6f7cd116edf21ccb7d09d906233395da3d60f264960828c6" /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 [245 kB] - Fetched 348 kB in 0s (904 kB/s) - Reading package lists... - 2025-02-16 23:44.24 ---> saved as "15df81212ad79e944d81831798d97df2d6cb94ad013cdf4a5940467546c5bb07" /home/opam: (run (shell "opam pin add -k version -yn gettext-camomile.0.5.0 0.5.0")) gettext-camomile is now pinned to version 0.5.0 2025-02-16 23:44.25 ---> saved as "ae4fbb3c1a02b78b300d849c2dfc1659ad181953d844c398ce2b5a46ba052784" /home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache))) (network host) (shell "opam reinstall gettext-camomile.0.5.0;\ \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\" != 'gettext-camomile.0.5.0' && partial_fails=\"$partial_fails $pkg\";\ \n done;\ \n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\ \n exit 1")) gettext-camomile.0.5.0 is not installed. Install it? [Y/n] y The following actions will be performed: === recompile 4 packages - recompile base-domains base [uses ocaml] - recompile base-nnp base [uses base-domains] - recompile ocaml 5.2.1 [upstream or system changes] - recompile opam-depext 1.2.3 [uses ocaml] === install 14 packages - install camlp-streams 5.0.1 [required by camomile] - install camomile 2.0.0 [required by gettext-camomile] - install cppo 1.8.0 [required by gettext] - install csexp 1.5.2 [required by dune-private-libs] - install dune 3.17.2 [required by gettext-camomile] - install dune-private-libs 3.17.2 [required by dune-site] - install dune-site 3.17.2 [required by camomile, gettext] - install dyn 3.17.2 [required by dune-private-libs] - install fileutils 0.6.6 [required by gettext] - install gettext 0.5.0 [required by gettext-camomile] - install gettext-camomile 0.5.0 (pinned) - install ordering 3.17.2 [required by dyn, stdune] - install pp 2.0.0 [required by dune-private-libs] - install stdune 3.17.2 [required by dune-private-libs] <><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><> -> retrieved camlp-streams.5.0.1 (cached) -> retrieved camomile.2.0.0 (cached) -> retrieved cppo.1.8.0 (cached) -> retrieved csexp.1.5.2 (cached) -> retrieved dune.3.17.2, dune-private-libs.3.17.2, dune-site.3.17.2, dyn.3.17.2, ordering.3.17.2, stdune.3.17.2 (cached) -> retrieved fileutils.0.6.6 (cached) -> retrieved gettext.0.5.0, gettext-camomile.0.5.0 (https://github.com/gildor478/ocaml-gettext/releases/download/v0.5.0/gettext-0.5.0.tbz) -> retrieved opam-depext.1.2.3 (cached) -> retrieved pp.2.0.0 (cached) -> removed base-nnp.base -> removed base-domains.base -> removed opam-depext.1.2.3 -> removed ocaml.5.2.1 -> installed ocaml.5.2.1 -> installed base-domains.base -> installed base-nnp.base -> installed opam-depext.1.2.3 -> installed dune.3.17.2 -> installed camlp-streams.5.0.1 -> installed csexp.1.5.2 -> installed cppo.1.8.0 -> installed fileutils.0.6.6 -> installed pp.2.0.0 -> installed ordering.3.17.2 -> installed dyn.3.17.2 -> installed stdune.3.17.2 -> installed dune-private-libs.3.17.2 -> installed dune-site.3.17.2 -> installed gettext.0.5.0 -> installed camomile.2.0.0 -> installed gettext-camomile.0.5.0 Done. <><> opam-depext.1.2.3 installed successfully <><><><><><><><><><><><><><><><><> => opam-depext is unnecessary when used with opam >= 2.1. Please use opam install directly instead # To update the current shell environment, run: eval $(opam env) 2025-02-16 23:46.02 ---> saved as "af49fe73e62985b15c7a031315dc8216421d718633cc5e90b61c44853499e0ee" Job succeeded 2025-02-16 23:46.08: Job succeeded