(for PR #27502)
2025-02-27 14:38.47: New job: test archive.3.7.2+5, using opam dev from https://github.com/ocaml/opam-repository.git#refs/pull/27502/head (e90d7362f65e9013b405e2247c943bdfccc0ac1e) on opensuse-tumbleweed-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/27502/head" && git reset --hard e90d7362 git fetch origin master git merge --no-edit d9f0c12e04db180fadfffbfec66be4d5e8b39965 cat > ../Dockerfile <<'END-OF-DOCKERFILE' FROM ocaml/opam:opensuse-tumbleweed-ocaml-4.14@sha256:1524a4d67ff4922cdd8f3c3660cff87e081586cd624c025bc6824b7ef27fc615 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 archive.3.7.2+5 3.7.2+5 RUN opam reinstall archive.3.7.2+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 "\"opensuse-tumbleweed\""; then \ echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \ fi; \ test "$pkg" != 'archive.3.7.2+5' && partial_fails="$partial_fails $pkg"; \ done; \ test "${partial_fails}" != "" && echo "opam-repo-ci detected dependencies failing: ${partial_fails}"; \ exit 1 RUN (opam reinstall --with-test archive.3.7.2+5) || true RUN opam reinstall --with-test --verbose archive.3.7.2+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 "\"opensuse-tumbleweed\""; then \ echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \ fi; \ test "$pkg" != 'archive.3.7.2+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-02-27 14:38.47: Using cache hint "ocaml/opam:opensuse-tumbleweed-ocaml-4.14@sha256:1524a4d67ff4922cdd8f3c3660cff87e081586cd624c025bc6824b7ef27fc615-archive.3.7.2+5-e90d7362f65e9013b405e2247c943bdfccc0ac1e" 2025-02-27 14:38.47: Using OBuilder spec: ((from ocaml/opam:opensuse-tumbleweed-ocaml-4.14@sha256:1524a4d67ff4922cdd8f3c3660cff87e081586cd624c025bc6824b7ef27fc615) (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 archive.3.7.2+5 3.7.2+5")) (run (cache (opam-archives (target /home/opam/.opam/download-cache))) (network host) (shell "opam reinstall archive.3.7.2+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 \"\\\"opensuse-tumbleweed\\\"\"; then\ \n echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\ \n fi;\ \n test \"$pkg\" != 'archive.3.7.2+5' && partial_fails=\"$partial_fails $pkg\";\ \n done;\ \n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\ \n exit 1")) (run (network host) (shell "(opam reinstall --with-test archive.3.7.2+5) || true")) (run (shell "opam reinstall --with-test --verbose archive.3.7.2+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 \"\\\"opensuse-tumbleweed\\\"\"; then\ \n echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\ \n fi;\ \n test \"$pkg\" != 'archive.3.7.2+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-02-27 14:38.47: Waiting for resource in pool OCluster 2025-02-27 14:38.48: Waiting for worker… 2025-02-27 14:42.29: Got resource from pool OCluster Building on phoebe.caelum.ci.dev All commits already cached Updating files: 93% (21152/22507) Updating files: 94% (21157/22507) Updating files: 95% (21382/22507) Updating files: 96% (21607/22507) Updating files: 97% (21832/22507) Updating files: 98% (22057/22507) Updating files: 99% (22282/22507) Updating files: 100% (22507/22507) Updating files: 100% (22507/22507), done. HEAD is now at d9f0c12e04 Merge pull request #27490 from gildor478/release-ocamlify-v0.1.0 Merge made by the 'ort' strategy. packages/archive-lwt/archive-lwt.3.7.2+5/opam | 52 ++++++++++++++++++++ packages/archive/archive.3.7.2+5/opam | 68 +++++++++++++++++++++++++++ 2 files changed, 120 insertions(+) create mode 100644 packages/archive-lwt/archive-lwt.3.7.2+5/opam create mode 100644 packages/archive/archive.3.7.2+5/opam (from ocaml/opam:opensuse-tumbleweed-ocaml-4.14@sha256:1524a4d67ff4922cdd8f3c3660cff87e081586cd624c025bc6824b7ef27fc615) 2025-02-27 14:43.31 ---> saved as "fc418d04c8187ad47f875407fb583e84a5da90dc4db3aabe3f0c26203e8aa1e6" /: (user (uid 1000) (gid 1000)) /: (workdir /home/opam) /home/opam: (run (shell "sudo ln -f /usr/bin/opam-dev /usr/bin/opam")) 2025-02-27 14:43.31 ---> saved as "9397fd6fef922890378615743b44316325e2a32c0a1ad53b9d1f548a27b3d036" /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-27 14:44.42 ---> saved as "a867b9a1842f4111bc5b5ae8ebc34b85abed6351bfe2d34bd302e37088f4417b" /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 (7f62f012239c88b3ce08e800578ca1d88e602f8a) # self-upgrade no # system arch=x86_64 os=linux os-distribution=opensuse-tumbleweed os-version=20250221 # 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-27 14:44.45 ---> saved as "9f16d2b26eb0cd2c5e31b4ba6c45e1bf57bcd6ff6c15994aaa4f11ec8e4b6470" /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-27 14:44.54 ---> saved as "501d33ad26a530d1d42ae64383d33e55ab6518c55458e2fb92661ab937ea1f6d" /home/opam: (copy (src .) (dst opam-repository/)) 2025-02-27 14:45.09 ---> saved as "97478abd7c05bbbe47b4a241bcd864f2d4ac8fa509ed1528e822edee4f781b60" /home/opam: (run (shell "opam repository set-url --strict default opam-repository/")) [default] Initialised 2025-02-27 14:45.53 ---> saved as "1354bcd39382c2551ebb79b9f026600f909039a1de8c58146f92edcd2cb204f2" /home/opam: (run (network host) (shell "opam update --depexts || true")) + /usr/bin/sudo "zypper" "--non-interactive" "refresh" - Repository 'openSUSE-Tumbleweed-Update' is up to date. - Retrieving repository 'openSUSE-Tumbleweed-Non-Oss' metadata [....... - ..done] - Building repository 'openSUSE-Tumbleweed-Non-Oss' cache [....done] - Retrieving repository 'openSUSE-Tumbleweed-Oss' metadata [........ - .......... - ......... - ........... - ......... - ....done] - Building repository 'openSUSE-Tumbleweed-Oss' cache [.. - ..done] - All repositories have been refreshed. 2025-02-27 14:46.08 ---> saved as "5ac4b25d6d567f477d71784a22daae791446a544f95a6986b888fe029bc366bf" /home/opam: (run (shell "opam pin add -k version -yn archive.3.7.2+5 3.7.2+5")) archive is now pinned to version 3.7.2+5 2025-02-27 14:46.09 ---> saved as "aeef6a8bb07e5fdf2f85b2d102bce3f43480e1c9f394a92ede4ed919b238c89b" /home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache))) (network host) (shell "opam reinstall archive.3.7.2+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 \"\\\"opensuse-tumbleweed\\\"\"; then\ \n echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\ \n fi;\ \n test \"$pkg\" != 'archive.3.7.2+5' && partial_fails=\"$partial_fails $pkg\";\ \n done;\ \n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\ \n exit 1")) archive.3.7.2+5 is not installed. Install it? [Y/n] y The following actions will be performed: === install 6 packages - install archive 3.7.2+5 (pinned) - install conf-pkg-config 4 [required by archive] - install csexp 1.5.2 [required by dune-configurator] - install dune 3.17.2 [required by archive] - install dune-configurator 3.17.2 [required by archive] - install fileutils 0.6.6 [required by archive] The following system packages will first need to be installed: libarchive-devel <><> Handling external dependencies <><><><><><><><><><><><><><><><><><><><><><> opam believes some required external dependencies are missing. opam can: > 1. Run zypper to install them (may need root/sudo access) 2. Display the recommended zypper 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 "zypper" "--non-interactive" "install" "libarchive-devel" - Loading repository data... - Reading installed packages... - Resolving package dependencies... - - The following 2 NEW packages are going to be installed: - libarchive-devel libarchive13 - - 2 new packages to install. - - Package download size: 509.2 KiB - - Package install size change: - | 1.0 MiB required by packages that will be installed - 1.0 MiB | - 0 B released by packages that will be removed - - Backend: classic_rpmtrans - Continue? [y/n/v/...? shows all options] (y): y - Retrieving: libarchive13-3.7.7-1.2.x86_64 (openSUSE-Tumbleweed-Oss) (1/2), 379.8 KiB - Retrieving: libarchive13-3.7.7-1.2.x86_64.rpm [...done (3.7 MiB/s)] - Retrieving: libarchive-devel-3.7.7-1.2.x86_64 (openSUSE-Tumbleweed-Oss) (2/2), 129.4 KiB - Retrieving: libarchive-devel-3.7.7-1.2.x86_64.rpm [..done] - - Checking for file conflicts: [..done] - (1/2) Installing: libarchive13-3.7.7-1.2.x86_64 [..done] - (2/2) Installing: libarchive-devel-3.7.7-1.2.x86_64 [..done] - Running post-transaction scripts [...done] <><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><> -> retrieved archive.3.7.2+5 (cached) -> retrieved csexp.1.5.2 (cached) -> installed conf-pkg-config.4 -> retrieved dune.3.17.2, dune-configurator.3.17.2 (cached) -> retrieved fileutils.0.6.6 (cached) -> installed dune.3.17.2 -> installed csexp.1.5.2 -> installed fileutils.0.6.6 -> installed dune-configurator.3.17.2 -> installed archive.3.7.2+5 Done. # To update the current shell environment, run: eval $(opam env) 2025-02-27 14:46.58 ---> saved as "269a464cc8bdb7eac74e78d5799d915a18312a7b9dc169918c9380dfc6f35c38" /home/opam: (run (network host) (shell "(opam reinstall --with-test archive.3.7.2+5) || true")) The following actions will be performed: === recompile 1 package - recompile archive 3.7.2+5 (pinned) === install 5 packages - install cppo 1.8.0 [required by extlib] - install extlib 1.8.0 [required by archive] - install ounit2 2.2.7 [required by archive] - install seq base [required by ounit2] - install stdlib-shims 0.3.0 [required by ounit2] <><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><> -> retrieved cppo.1.8.0 (https://github.com/ocaml-community/cppo/archive/v1.8.0.tar.gz) -> retrieved extlib.1.8.0 (https://github.com/ygrek/ocaml-extlib/releases/download/1.8.0/extlib-1.8.0.tar.gz) -> retrieved ounit2.2.2.7 (https://github.com/gildor478/ounit/releases/download/v2.2.7/ounit-2.2.7.tbz) -> retrieved seq.base (2 extra sources) -> retrieved seq.base (2 extra sources) -> installed seq.base -> installed cppo.1.8.0 -> retrieved stdlib-shims.0.3.0 (https://github.com/ocaml/stdlib-shims/releases/download/0.3.0/stdlib-shims-0.3.0.tbz) -> removed archive.3.7.2+5 -> installed stdlib-shims.0.3.0 -> installed extlib.1.8.0 -> installed ounit2.2.2.7 [ERROR] The compilation of archive.3.7.2+5 failed at "dune build -p archive -j 71 @install @runtest". #=== ERROR while compiling archive.3.7.2+5 ====================================# # context 2.4.0~alpha1~dev | linux/x86_64 | ocaml-base-compiler.4.14.2 | pinned(https://github.com/gildor478/ocaml-archive/releases/download/v3.7.2%2B5/archive-3.7.2.5.tbz) # path ~/.opam/4.14/.opam-switch/build/archive.3.7.2+5 # command ~/.opam/opam-init/hooks/sandbox.sh build dune build -p archive -j 71 @install @runtest # exit-code 1 # env-file ~/.opam/log/archive-7-d861b3.env # output-file ~/.opam/log/archive-7-d861b3.out ### output ### # File "test/dune", line 4, characters 20-31: # 4 | (libraries archive archive-lwt ounit2 extlib)) # ^^^^^^^^^^^ # Error: Library "archive-lwt" not found. # -> required by _build/default/test/test.exe # -> required by alias test/runtest in test/dune:2 <><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><> +- The following actions failed | - build archive 3.7.2+5 +- +- The following changes have been performed | - remove archive 3.7.2+5 | - install cppo 1.8.0 | - install extlib 1.8.0 | - install ounit2 2.2.7 | - install seq base | - install stdlib-shims 0.3.0 +- # To update the current shell environment, run: eval $(opam env) The former state can be restored with: /usr/bin/opam switch import "/home/opam/.opam/4.14/.opam-switch/backup/state-20250227144659.export" Or you can retry to install your package selection with: /usr/bin/opam install --restore 2025-02-27 14:47.13 ---> saved as "698e4e4d42ca7fb60014ee2c8055ca3f00f8163e482e82e743f859b83e072dd5" /home/opam: (run (shell "opam reinstall --with-test --verbose archive.3.7.2+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 \"\\\"opensuse-tumbleweed\\\"\"; then\ \n echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\ \n fi;\ \n test \"$pkg\" != 'archive.3.7.2+5' && partial_fails=\"$partial_fails $pkg\";\ \n done;\ \n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\ \n exit 1")) archive.3.7.2+5 is not installed. Install it? [Y/n] y The following actions will be performed: === install 1 package - install archive 3.7.2+5 (pinned) <><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><> Processing 2/3: [archive: dune build] + /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "build" "-p" "archive" "-j" "71" "@install" "@runtest" (CWD=/home/opam/.opam/4.14/.opam-switch/build/archive.3.7.2+5) - File "test/dune", line 4, characters 20-31: - 4 | (libraries archive archive-lwt ounit2 extlib)) - ^^^^^^^^^^^ - Error: Library "archive-lwt" not found. - -> required by _build/default/test/test.exe - -> required by alias test/runtest in test/dune:2 [ERROR] The compilation of archive.3.7.2+5 failed at "dune build -p archive -j 71 @install @runtest". #=== ERROR while compiling archive.3.7.2+5 ====================================# # context 2.4.0~alpha1~dev | linux/x86_64 | ocaml-base-compiler.4.14.2 | pinned(https://github.com/gildor478/ocaml-archive/releases/download/v3.7.2%2B5/archive-3.7.2.5.tbz) # path ~/.opam/4.14/.opam-switch/build/archive.3.7.2+5 # command ~/.opam/opam-init/hooks/sandbox.sh build dune build -p archive -j 71 @install @runtest # exit-code 1 # env-file ~/.opam/log/archive-7-01cc32.env # output-file ~/.opam/log/archive-7-01cc32.out ### output ### # File "test/dune", line 4, characters 20-31: # 4 | (libraries archive archive-lwt ounit2 extlib)) # ^^^^^^^^^^^ # Error: Library "archive-lwt" not found. # -> required by _build/default/test/test.exe # -> required by alias test/runtest in test/dune:2 <><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><> +- The following actions failed | - build archive 3.7.2+5 +- - No changes have been performed # To update the current shell environment, run: eval $(opam env) 'opam reinstall --with-test --verbose archive.3.7.2+5' failed. [WARNING] OPAMCONFIRMLEVEL was ignored because CLI 2.0 was requested and it was introduced in 2.1. [WARNING] OPAMCONFIRMLEVEL was ignored because CLI 2.0 was requested and it was introduced in 2.1. "/usr/bin/env" "bash" "-c" "opam reinstall --with-test --verbose archive.3.7.2+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 "\"opensuse-tumbleweed\""; then echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; fi; test "$pkg" != 'archive.3.7.2+5' && partial_fails="$partial_fails $pkg"; done; test "${partial_fails}" != "" && echo "opam-repo-ci detected dependencies failing: ${partial_fails}"; exit 1" failed with exit status 1 2025-02-27 14:47.40: Job failed: Failed: Build failed 2025-02-27 14:47.40: Log analysis: 2025-02-27 14:47.40: >>> [ERROR] The compilation of archive.3.7.2+5 failed at "dune build -p archive -j 71 @install @runtest". (score = 20) 2025-02-27 14:47.40: >>> # Error: Library "archive-lwt" not found. (score = 48) 2025-02-27 14:47.40: >>> [ERROR] The compilation of archive.3.7.2+5 failed at "dune build -p archive -j 71 @install @runtest". (score = 20) 2025-02-27 14:47.40: >>> # Error: Library "archive-lwt" not found. (score = 48) 2025-02-27 14:47.40: Library "archive-lwt" not found.