(for PR #27147)
2025-02-10 15:06.49: New job: build conf-mbedtls.2, using opam dev from https://github.com/ocaml/opam-repository.git#refs/pull/27147/head (926ef57021f96ff7a5ca08e83509c2efcbb5bf9b) on archlinux-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/27147/head" && git reset --hard 926ef570 git fetch origin master git merge --no-edit 36f4d2d5ceb882a79fd7d7f956b490201da67226 cat > ../Dockerfile <<'END-OF-DOCKERFILE' FROM ocaml/opam:archlinux-ocaml-4.14@sha256:53987719eecc93278ca178c522eb0110428fc4787dd013de54fc081aa3cf6b34 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 conf-mbedtls.2 2 RUN opam reinstall conf-mbedtls.2; \ 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 "\"archlinux\""; then \ echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \ fi; \ test "$pkg" != 'conf-mbedtls.2' && 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-10 15:06.49: Using cache hint "ocaml/opam:archlinux-ocaml-4.14@sha256:53987719eecc93278ca178c522eb0110428fc4787dd013de54fc081aa3cf6b34-conf-mbedtls.2-926ef57021f96ff7a5ca08e83509c2efcbb5bf9b" 2025-02-10 15:06.49: Using OBuilder spec: ((from ocaml/opam:archlinux-ocaml-4.14@sha256:53987719eecc93278ca178c522eb0110428fc4787dd013de54fc081aa3cf6b34) (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 conf-mbedtls.2 2")) (run (cache (opam-archives (target /home/opam/.opam/download-cache))) (network host) (shell "opam reinstall conf-mbedtls.2;\ \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 \"\\\"archlinux\\\"\"; then\ \n echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\ \n fi;\ \n test \"$pkg\" != 'conf-mbedtls.2' && 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-10 15:06.49: Waiting for resource in pool OCluster 2025-02-10 17:03.53: Waiting for worker… 2025-02-10 17:05.53: Got resource from pool OCluster Building on toxis.caelum.ci.dev All commits already cached Updating files: 97% (22701/23305) Updating files: 98% (22839/23305) Updating files: 99% (23072/23305) Updating files: 100% (23305/23305) Updating files: 100% (23305/23305), done. HEAD is now at 36f4d2d5ce Merge pull request #27169 from Frigory33/release-allegro5-0.1 Merge made by the 'ort' strategy. packages/conf-mbedtls/conf-mbedtls.2/opam | 43 ++++++++++++++++++++++ .../conf-mingw-w64-mbedtls-x86_64.1/opam | 21 +++++++++++ 2 files changed, 64 insertions(+) create mode 100644 packages/conf-mbedtls/conf-mbedtls.2/opam create mode 100644 packages/conf-mingw-w64-mbedtls-x86_64/conf-mingw-w64-mbedtls-x86_64.1/opam (from ocaml/opam:archlinux-ocaml-4.14@sha256:53987719eecc93278ca178c522eb0110428fc4787dd013de54fc081aa3cf6b34) Unable to find image 'ocaml/opam:archlinux-ocaml-4.14@sha256:53987719eecc93278ca178c522eb0110428fc4787dd013de54fc081aa3cf6b34' locally docker.io/ocaml/opam@sha256:53987719eecc93278ca178c522eb0110428fc4787dd013de54fc081aa3cf6b34: Pulling from ocaml/opam 2c45cdb876f4: Pulling fs layer 2c45cdb876f4: Verifying Checksum 2c45cdb876f4: Download complete 2c45cdb876f4: Pull complete Digest: sha256:53987719eecc93278ca178c522eb0110428fc4787dd013de54fc081aa3cf6b34 Status: Downloaded newer image for ocaml/opam@sha256:53987719eecc93278ca178c522eb0110428fc4787dd013de54fc081aa3cf6b34 2025-02-10 17:05.55 ---> using "f022e7fb3a726e95270a0bc9e0d8a6ececbcfe1e7dbacd514c2768bcee16319f" 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-10 17:05.55 ---> using "700d1d53817fa5bd31e9a15492d6c2cb1fcd760b34f4ac875a8f9753ae480241" 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 31 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=31 --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-10 17:05.55 ---> using "2815f5a08916240360af4c5f0d440caf4edf0e6920d8e293c16477ae893ff2f9" 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=arch os-version=20250202.0.304438 # solver builtin-0install # install-criteria -changed,-count[avoid-version,solution] # upgrade-criteria -count[avoid-version,solution] # jobs 71 # repositories 1 (local), 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-02-10 17:05.55 ---> using "1abc4e40d405878899e8c1620d7a107372b5ef633c8ef567b67a2ac6d5455749" 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-10 17:05.55 ---> using "5fa923a9eef6d75ebfdcc380387b8df101f44745defa880db28122ed5b54aebd" from cache /home/opam: (copy (src .) (dst opam-repository/)) 2025-02-10 17:06.02 ---> saved as "a93482f4526572bf5368cad5707b1aee8205eca2a490eda0bd820437bf6fc713" /home/opam: (run (shell "opam repository set-url --strict default opam-repository/")) [default] Initialised 2025-02-10 17:06.46 ---> saved as "e518295c0f4884c2df23f6aad0c159a695b8b51371549c4bd4a0f3bd77528af2" /home/opam: (run (network host) (shell "opam update --depexts || true")) + /usr/sbin/sudo "pacman" "-Sy" - :: Synchronizing package databases... - core downloading... - extra downloading... 2025-02-10 17:06.47 ---> saved as "cc8b8005ffb1a6b7dec6493840214a6e136ac98a4edc0c56f8553dda45e91252" /home/opam: (run (shell "opam pin add -k version -yn conf-mbedtls.2 2")) conf-mbedtls is now pinned to version 2 2025-02-10 17:06.48 ---> saved as "15c63ce421b4d982d36536e334fc2beeb20318629a5a6336c972579f93992030" /home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache))) (network host) (shell "opam reinstall conf-mbedtls.2;\ \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 \"\\\"archlinux\\\"\"; then\ \n echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\ \n fi;\ \n test \"$pkg\" != 'conf-mbedtls.2' && partial_fails=\"$partial_fails $pkg\";\ \n done;\ \n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\ \n exit 1")) conf-mbedtls.2 is not installed. Install it? [Y/n] y The following actions will be performed: === install 1 package ∗ conf-mbedtls 2 (pinned) The following system packages will first need to be installed: mbedtls <><> Handling external dependencies <><><><><><><><><><><><><><><><><><><><><><> opam believes some required external dependencies are missing. opam can: > 1. Run pacman to install them (may need root/sudo access) 2. Display the recommended pacman 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/sbin/sudo "pacman" "-Su" "--noconfirm" "mbedtls" - :: Starting full system upgrade... - resolving dependencies... - looking for conflicting packages... - - Package (9) Old Version New Version Net Change Download Size - - core/binutils 2.43_1+r186+g61f8adadd6db-1 2.44-1 0.47 MiB 7.71 MiB - core/gcc 14.2.1+r730+gc061ad5a36ba-1 14.2.1+r753+g1cd744a6828f-1 -0.09 MiB 51.08 MiB - core/gcc-libs 14.2.1+r730+gc061ad5a36ba-1 14.2.1+r753+g1cd744a6828f-1 0.00 MiB 35.04 MiB - core/glibc 2.41+r2+g0a7c7a3e283a-1 2.41+r6+gcf88351b685d-1 -0.03 MiB 9.98 MiB - core/libelf 0.192-3 0.192-4 0.00 MiB 0.59 MiB - extra/libsysprof-capture 47.2-2 47.2-3 0.00 MiB 0.05 MiB - core/linux-api-headers 6.10-1 6.13-1 0.17 MiB 1.27 MiB - core/mpfr 4.2.1-5 4.2.1-6 0.00 MiB 0.43 MiB - extra/mbedtls 3.6.2-1 5.92 MiB 1.05 MiB - - Total Download Size: 107.18 MiB - Total Installed Size: 451.88 MiB - Net Upgrade Size: 6.44 MiB - - :: Proceed with installation? [Y/n] - :: Retrieving packages... - gcc-14.2.1+r753+g1cd744a6828f-1-x86_64 downloading... - gcc-libs-14.2.1+r753+g1cd744a6828f-1-x86_64 downloading... - glibc-2.41+r6+gcf88351b685d-1-x86_64 downloading... - binutils-2.44-1-x86_64 downloading... - linux-api-headers-6.13-1-x86_64 downloading... - mbedtls-3.6.2-1-x86_64 downloading... - libelf-0.192-4-x86_64 downloading... - mpfr-4.2.1-6-x86_64 downloading... - libsysprof-capture-47.2-3-x86_64 downloading... - checking keyring... - checking package integrity... - loading package files... - checking for file conflicts... - :: Processing package changes... - upgrading linux-api-headers... - upgrading glibc... - Generating locales... - Generation complete. - upgrading gcc-libs... - installing mbedtls... - upgrading libelf... - upgrading binutils... - upgrading mpfr... - upgrading gcc... - upgrading libsysprof-capture... - :: Running post-transaction hooks... - (1/1) Arming ConditionNeedsUpdate... <><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><> ⬇ retrieved conf-mbedtls.2 (cached) ∗ installed conf-mbedtls.2 Done. # To update the current shell environment, run: eval $(opam env) 2025-02-10 17:07.03 ---> saved as "be94a5dcfd11f687477c211ccdfebf32e3709022ad6ebe8b489bbcb84dd16a32" Job succeeded 2025-02-10 17:07.13: Job succeeded