(for PR #28222)
2025-08-21 14:13.39: New job: build lwt_glib.1.1.0, using opam 2.3 from https://github.com/ocaml/opam-repository.git#refs/pull/28222/head (a14b2680809606d7e55ae7ed410b73438cb77bd0) on ubuntu-24.04-ocaml-5.3/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/28222/head" && git reset --hard a14b2680 git fetch origin master git merge --no-edit 4bae7ec4df49df4454ea492c8d7a1196aeae04e0 cat > ../Dockerfile <<'END-OF-DOCKERFILE' FROM ocaml/opam:ubuntu-24.04-ocaml-5.3@sha256:25ce45203656b4c540a7d749c4f5ecfbcb5808f08677f89884e0b0b0b48b4cb7 USER 1000:1000 WORKDIR /home/opam RUN sudo ln -f /usr/bin/opam-2.3 /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 lwt_glib.1.1.0 1.1.0 RUN opam reinstall lwt_glib.1.1.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 "\"ubuntu-24.04\""; then \ echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \ fi; \ test "$pkg" != 'lwt_glib.1.1.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-08-21 14:13.39: Using cache hint "ocaml/opam:ubuntu-24.04-ocaml-5.3@sha256:25ce45203656b4c540a7d749c4f5ecfbcb5808f08677f89884e0b0b0b48b4cb7-lwt_glib.1.1.0-a14b2680809606d7e55ae7ed410b73438cb77bd0" 2025-08-21 14:13.39: Using OBuilder spec: ((from ocaml/opam:ubuntu-24.04-ocaml-5.3@sha256:25ce45203656b4c540a7d749c4f5ecfbcb5808f08677f89884e0b0b0b48b4cb7) (user (uid 1000) (gid 1000)) (workdir /home/opam) (run (shell "sudo ln -f /usr/bin/opam-2.3 /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 lwt_glib.1.1.0 1.1.0")) (run (cache (opam-archives (target /home/opam/.opam/download-cache))) (network host) (shell "opam reinstall lwt_glib.1.1.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 \"\\\"ubuntu-24.04\\\"\"; then\ \n echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\ \n fi;\ \n test \"$pkg\" != 'lwt_glib.1.1.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-08-21 14:13.39: Waiting for resource in pool OCluster 2025-08-21 14:16.33: Waiting for worker… 2025-08-21 14:17.47: Got resource from pool OCluster Building on phoebe All commits already cached HEAD is now at 4bae7ec4df Merge pull request #28375 from jmid/opam-compiler-re-bounds Merge made by the 'ort' strategy. packages/curl_lwt/curl_lwt.0.10.0/opam | 2 +- packages/lwt/lwt.6.0.0~alpha01/opam | 69 +++++++++++++++++++++++ packages/lwt_direct/lwt_direct.6.0.0~alpha01/opam | 44 +++++++++++++++ packages/lwt_glib/lwt_glib.1.0.1/opam | 2 +- packages/lwt_glib/lwt_glib.1.1.0/opam | 2 +- packages/lwt_glib/lwt_glib.1.1.1/opam | 2 +- packages/lwt_log/lwt_log.1.1.0/opam | 2 +- packages/lwt_log/lwt_log.1.1.1/opam | 2 +- packages/lwt_log/lwt_log.1.1.2/opam | 2 +- packages/ocurl/ocurl.0.7.6/opam | 1 + packages/ocurl/ocurl.0.7.7/opam | 1 + packages/ocurl/ocurl.0.7.8/opam | 1 + packages/ocurl/ocurl.0.7.9/opam | 1 + packages/ocurl/ocurl.0.8.1/opam | 1 + packages/ocurl/ocurl.0.8.2/opam | 1 + packages/ocurl/ocurl.0.9.0/opam | 1 + packages/ocurl/ocurl.0.9.1/opam | 1 + packages/ocurl/ocurl.0.9.2/opam | 1 + 18 files changed, 129 insertions(+), 7 deletions(-) create mode 100644 packages/lwt/lwt.6.0.0~alpha01/opam create mode 100644 packages/lwt_direct/lwt_direct.6.0.0~alpha01/opam (from ocaml/opam:ubuntu-24.04-ocaml-5.3@sha256:25ce45203656b4c540a7d749c4f5ecfbcb5808f08677f89884e0b0b0b48b4cb7) Unable to find image 'ocaml/opam:ubuntu-24.04-ocaml-5.3@sha256:25ce45203656b4c540a7d749c4f5ecfbcb5808f08677f89884e0b0b0b48b4cb7' locally docker.io/ocaml/opam@sha256:25ce45203656b4c540a7d749c4f5ecfbcb5808f08677f89884e0b0b0b48b4cb7: Pulling from ocaml/opam 97b34f86a641: Already exists 028b1d0ea18a: Already exists d5b2873b3964: Already exists f97f660601f5: Already exists cd5ae75345d1: Already exists 02e80ed4608c: Already exists 366d37225f8a: Already exists b50a0f957757: Already exists Digest: sha256:25ce45203656b4c540a7d749c4f5ecfbcb5808f08677f89884e0b0b0b48b4cb7 Status: Downloaded newer image for ocaml/opam@sha256:25ce45203656b4c540a7d749c4f5ecfbcb5808f08677f89884e0b0b0b48b4cb7 2025-08-21 14:18.36 ---> using "4350ccc67ea3e0c29674e2e6c51dea7512037e85df1cda31b4d5af6235cfc513" from cache /: (user (uid 1000) (gid 1000)) /: (workdir /home/opam) /home/opam: (run (shell "sudo ln -f /usr/bin/opam-2.3 /usr/bin/opam")) 2025-08-21 14:18.36 ---> using "17319d2e1da7485d8077ecd5a20078c8d11b4dc2bdbef826cbed3e799754d743" 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 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-08-21 14:18.36 ---> using "7896bfae259e90cc120856adf57e2d85175a53161eec79eef0545e7b60518dfe" 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.3.0 (35acd0c5abc5e66cdbd5be16ba77aa6c33a4c724) # self-upgrade no # system arch=x86_64 os=linux os-distribution=ubuntu os-version=24.04 # solver builtin-0install # install-criteria -changed,-count[avoid-version,solution] # upgrade-criteria -count[avoid-version,solution] # jobs 71 # repositories 1 (version-controlled) # pinned 1 (version) # current-switch 5.3 # invariant ["ocaml-base-compiler" {= "5.3.0"}] # compiler-packages ocaml-base-compiler.5.3.0, ocaml-compiler.5.3.0, ocaml-options-vanilla.1 # ocaml:native true # ocaml:native-tools true # ocaml:native-dynlink true # ocaml:stubsdir /home/opam/.opam/5.3/lib/ocaml/stublibs:/home/opam/.opam/5.3/lib/ocaml # ocaml:preinstalled false # ocaml:compiler 5.3.0 2025-08-21 14:18.36 ---> using "d8de7a88bec88ef371a7e520e2023547f16dc0619a2224d4ec4de87ce6e19270" 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-08-21 14:18.36 ---> using "2b329cbc540ae2aeb3f86f9a449926a5a47ee12aab4ae16a978b89700b10eb25" from cache /home/opam: (copy (src .) (dst opam-repository/)) 2025-08-21 14:18.37 ---> using "481d83acb723feb368ad9c4269638135e8f79a8390da78d3420882ed23585b12" from cache /home/opam: (run (shell "opam repository set-url --strict default opam-repository/")) [default] Initialised 2025-08-21 14:18.56 ---> saved as "fcde342a4d0a2b0c6d608ce32f56a64363eba8b2fe79361bf1720376d01e5fb5" /home/opam: (run (network host) (shell "opam update --depexts || true")) + /usr/bin/sudo "apt-get" "update" - Get:1 http://security.ubuntu.com/ubuntu noble-security InRelease [126 kB] - Hit:2 http://archive.ubuntu.com/ubuntu noble InRelease - Get:3 http://security.ubuntu.com/ubuntu noble-security/main amd64 Packages [1363 kB] - Get:4 http://security.ubuntu.com/ubuntu noble-security/universe amd64 Packages [1137 kB] - Get:5 http://archive.ubuntu.com/ubuntu noble-updates InRelease [126 kB] - Get:6 http://security.ubuntu.com/ubuntu noble-security/restricted amd64 Packages [2066 kB] - Get:7 http://archive.ubuntu.com/ubuntu noble-backports InRelease [126 kB] - Get:8 http://archive.ubuntu.com/ubuntu noble-updates/restricted amd64 Packages [2183 kB] - Get:9 http://archive.ubuntu.com/ubuntu noble-updates/universe amd64 Packages [1458 kB] - Get:10 http://archive.ubuntu.com/ubuntu noble-updates/main amd64 Packages [1710 kB] - Fetched 10.3 MB in 1s (8517 kB/s) - Reading package lists... - 2025-08-21 14:19.02 ---> saved as "0c99620f62e92f77a4b6a19137778e994ee310fde8095e36de0ec1239a4a8ca2" /home/opam: (run (shell "opam pin add -k version -yn lwt_glib.1.1.0 1.1.0")) lwt_glib is now pinned to version 1.1.0 2025-08-21 14:19.03 ---> saved as "a4028e1f024855fe4c92206de8b8a3d030dfd8636f6778318c75cf9e47ec44f6" /home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache))) (network host) (shell "opam reinstall lwt_glib.1.1.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 \"\\\"ubuntu-24.04\\\"\"; then\ \n echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\ \n fi;\ \n test \"$pkg\" != 'lwt_glib.1.1.0' && partial_fails=\"$partial_fails $pkg\";\ \n done;\ \n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\ \n exit 1")) lwt_glib.1.1.0 is not installed. Install it? [y/n] y * Incompatible packages: - (invariant) -> ocaml-base-compiler = 5.3.0 - lwt_glib = 1.1.0 -> jbuilder -> ocaml < 5.0 -> dkml-base-compiler You can temporarily relax the switch invariant with `--update-invariant' * Incompatible packages: - (invariant) -> ocaml-base-compiler = 5.3.0 - lwt_glib = 1.1.0 -> jbuilder -> ocaml < 5.0 -> ocaml-variants (< 4.05.2~ | >= 4.06.0) * Missing dependency: - lwt_glib = 1.1.0 -> jbuilder -> dune < 2.0 -> ocaml < 4.12 -> ocaml-base-compiler (<= 3.07+1 | = 3.07+2 | = 3.08.0 | = 3.08.1 | = 3.08.2 | = 3.08.3 | = 3.08.4 | = 3.09.0) | ocaml-system (<= 3.07+1 | = 3.07+2 | >= 3.08.0) | ocaml-variants < 3.09.1~ not available because the package is pinned to version 5.3.0 unmet availability conditions, e.g. 'sys-ocaml-version = "5.3.0" & (os != "win32" | sys-ocaml-libc = "msvc")' no matching version * Missing dependency: - lwt_glib = 1.1.0 -> jbuilder -> ocaml < 5.0 -> ocaml-variants >= 4.06.0 -> ocaml-beta unmet availability conditions: 'enable-ocaml-beta-repository' * Missing dependency: - lwt_glib = 1.1.0 -> jbuilder -> ocaml < 5.0 -> ocaml-variants >= 4.06.0 -> system-msvc unmet availability conditions: 'os = "win32"' No solution found, exiting "/usr/bin/env" "bash" "-c" "opam reinstall lwt_glib.1.1.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 "\"ubuntu-24.04\""; then echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; fi; test "$pkg" != 'lwt_glib.1.1.0' && partial_fails="$partial_fails $pkg"; done; test "${partial_fails}" != "" && echo "opam-repo-ci detected dependencies failing: ${partial_fails}"; exit 1" failed with exit status 20 2025-08-21 14:19.27: Job failed: Failed: Build failed 2025-08-21 14:19.27: Log analysis: 2025-08-21 14:19.27: >>> No solution found, exiting (score = 100) 2025-08-21 14:19.27: [SKIP] Package not available