- github
- ocaml
- opam-repository
- ed800b
- compilers,4.02,ordering.3.16.1
(not at the head of any monitored branch or PR)
2024-10-30 17:09.02: New job: build ordering.3.16.1, using opam dev
from https://github.com/ocaml/opam-repository.git#refs/pull/26816/head (ed800ba87cfbe293bcb59dfb40db5252bc65f6f5)
on debian-12-ocaml-4.02/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/26816/head" && git reset --hard ed800ba8
git fetch origin master
git merge --no-edit ce4637ae20e511e8dc54562b123f1407fa5b2ca8
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-12-ocaml-4.02@sha256:151370afbe481d9b982c57e60e04c90579877f9bbbedcce494204bb8cbdad47d
USER 1000:1000
WORKDIR /home/opam
RUN sudo ln -f /usr/bin/opam-dev /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 ordering.3.16.1 3.16.1
RUN opam reinstall ordering.3.16.1; \
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" != 'ordering.3.16.1' && 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-10-30 17:09.02: Using cache hint "ocaml/opam:debian-12-ocaml-4.02@sha256:151370afbe481d9b982c57e60e04c90579877f9bbbedcce494204bb8cbdad47d-ordering.3.16.1-ed800ba87cfbe293bcb59dfb40db5252bc65f6f5"
2024-10-30 17:09.02: Using OBuilder spec:
((from ocaml/opam:debian-12-ocaml-4.02@sha256:151370afbe481d9b982c57e60e04c90579877f9bbbedcce494204bb8cbdad47d)
(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 "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 ordering.3.16.1 3.16.1"))
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall ordering.3.16.1;\
\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\" != 'ordering.3.16.1' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
)
2024-10-30 17:09.02: Waiting for resource in pool OCluster
2024-10-30 17:09.08: Waiting for worker…
2024-10-30 17:09.08: Got resource from pool OCluster
Building on x86-bm-c12.sw.ocaml.org
Updating files: 64% (21141/32557)
Updating files: 65% (21163/32557)
Updating files: 66% (21488/32557)
Updating files: 67% (21814/32557)
Updating files: 68% (22139/32557)
Updating files: 69% (22465/32557)
Updating files: 70% (22790/32557)
Updating files: 71% (23116/32557)
Updating files: 72% (23442/32557)
Updating files: 73% (23767/32557)
Updating files: 74% (24093/32557)
Updating files: 75% (24418/32557)
Updating files: 76% (24744/32557)
Updating files: 77% (25069/32557)
Updating files: 78% (25395/32557)
Updating files: 79% (25721/32557)
Updating files: 80% (26046/32557)
Updating files: 81% (26372/32557)
Updating files: 82% (26697/32557)
Updating files: 83% (27023/32557)
Updating files: 84% (27348/32557)
Updating files: 85% (27674/32557)
Updating files: 86% (28000/32557)
Updating files: 87% (28325/32557)
Updating files: 88% (28651/32557)
Updating files: 89% (28976/32557)
Updating files: 90% (29302/32557)
Updating files: 91% (29627/32557)
Updating files: 92% (29953/32557)
Updating files: 93% (30279/32557)
Updating files: 94% (30604/32557)
Updating files: 95% (30930/32557)
Updating files: 96% (31255/32557)
Updating files: 97% (31581/32557)
Updating files: 98% (31906/32557)
Updating files: 99% (32232/32557)
Updating files: 100% (32557/32557)
Updating files: 100% (32557/32557), done.
HEAD is now at b6ce862aa1 Add Mingw support for conf-libpcre
HEAD is now at ce4637ae20 Merge pull request #26802 from robur-coop/release-git-kv-v0.1.0
Updating ce4637ae20..ed800ba87c
Fast-forward
packages/chrome-trace/chrome-trace.3.16.1/opam | 40 +++++++++++++++
.../dune-action-plugin.3.16.1/opam | 53 ++++++++++++++++++++
.../dune-build-info/dune-build-info.3.16.1/opam | 46 +++++++++++++++++
.../dune-configurator.3.16.1/opam | 50 +++++++++++++++++++
packages/dune-glob/dune-glob.3.16.1/opam | 43 ++++++++++++++++
.../dune-private-libs.3.16.1/opam | 51 +++++++++++++++++++
packages/dune-rpc-lwt/dune-rpc-lwt.3.16.1/opam | 42 ++++++++++++++++
packages/dune-rpc/dune-rpc.3.16.1/opam | 44 +++++++++++++++++
packages/dune-site/dune-site.3.16.1/opam | 38 +++++++++++++++
packages/dune/dune.3.16.1/opam | 57 ++++++++++++++++++++++
packages/dyn/dyn.3.16.1/opam | 41 ++++++++++++++++
packages/ocamlc-loc/ocamlc-loc.3.16.1/opam | 44 +++++++++++++++++
packages/ordering/ordering.3.16.1/opam | 39 +++++++++++++++
packages/stdune/stdune.3.16.1/opam | 45 +++++++++++++++++
packages/xdg/xdg.3.16.1/opam | 40 +++++++++++++++
15 files changed, 673 insertions(+)
create mode 100644 packages/chrome-trace/chrome-trace.3.16.1/opam
create mode 100644 packages/dune-action-plugin/dune-action-plugin.3.16.1/opam
create mode 100644 packages/dune-build-info/dune-build-info.3.16.1/opam
create mode 100644 packages/dune-configurator/dune-configurator.3.16.1/opam
create mode 100644 packages/dune-glob/dune-glob.3.16.1/opam
create mode 100644 packages/dune-private-libs/dune-private-libs.3.16.1/opam
create mode 100644 packages/dune-rpc-lwt/dune-rpc-lwt.3.16.1/opam
create mode 100644 packages/dune-rpc/dune-rpc.3.16.1/opam
create mode 100644 packages/dune-site/dune-site.3.16.1/opam
create mode 100644 packages/dune/dune.3.16.1/opam
create mode 100644 packages/dyn/dyn.3.16.1/opam
create mode 100644 packages/ocamlc-loc/ocamlc-loc.3.16.1/opam
create mode 100644 packages/ordering/ordering.3.16.1/opam
create mode 100644 packages/stdune/stdune.3.16.1/opam
create mode 100644 packages/xdg/xdg.3.16.1/opam
(from ocaml/opam:debian-12-ocaml-4.02@sha256:151370afbe481d9b982c57e60e04c90579877f9bbbedcce494204bb8cbdad47d)
Unable to find image 'ocaml/opam:debian-12-ocaml-4.02@sha256:151370afbe481d9b982c57e60e04c90579877f9bbbedcce494204bb8cbdad47d' locally
docker.io/ocaml/opam@sha256:151370afbe481d9b982c57e60e04c90579877f9bbbedcce494204bb8cbdad47d: Pulling from ocaml/opam
9b92f8ca7c58: Pulling fs layer
9b92f8ca7c58: Verifying Checksum
9b92f8ca7c58: Download complete
9b92f8ca7c58: Pull complete
Digest: sha256:151370afbe481d9b982c57e60e04c90579877f9bbbedcce494204bb8cbdad47d
Status: Downloaded newer image for ocaml/opam@sha256:151370afbe481d9b982c57e60e04c90579877f9bbbedcce494204bb8cbdad47d
2024-10-30 17:11.16 ---> saved as "ef2b70e0d7407490fd05fa60743da6bbf1bd917e255732c42eae5d0c6460b4b4"
/: (user (uid 1000) (gid 1000))
/: (workdir /home/opam)
/home/opam: (run (shell "sudo ln -f /usr/bin/opam-dev /usr/bin/opam"))
2024-10-30 17:11.16 ---> saved as "cb9a745c706069d46e8ce7a38d4d726261e1b959ccc1796ed7bc7facc61e634f"
/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
Format upgrade done.
<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] synchronised from file:///home/opam/opam-repository
2024-10-30 17:12.32 ---> saved as "9b562d7700d0249301e546995e05ba6ebac69929282280b46f8fa3f86e26e7bb"
/home/opam: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-122-generic
The OCaml toplevel, version 4.02.3
2.4.0~alpha1~dev
2024-10-30 17:12.32 ---> saved as "eb66b3ae3544fbbf469d4f8f62b2bf6585fb5b2918be00a4ad9e4613b68df6ad"
/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-10-30 17:12.39 ---> saved as "1584d825bbbca3fe0bdeb93114ebb727c95fa2d0579d52db1403edc3a8f17bb8"
/home/opam: (copy (src .) (dst opam-repository/))
2024-10-30 17:12.50 ---> saved as "3f977e8925760ffccba99481cfe4bafe9045c4ca4e7c94c4a7fffd7dc39e18cc"
/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2024-10-30 17:13.38 ---> saved as "1a8a7614627444e610a2ff6179db954d97accccfc2f31b9ec96238b9c1b3d632"
/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 [190 kB]
- Fetched 293 kB in 0s (1177 kB/s)
- Reading package lists...
2024-10-30 17:13.39 ---> saved as "5b0a1a6be5410591f9a709c353c9c265be410091a8bc0a8a7e66517531a3d13b"
/home/opam: (run (shell "opam pin add -k version -yn ordering.3.16.1 3.16.1"))
ordering is now pinned to version 3.16.1
2024-10-30 17:13.40 ---> saved as "d314be293bab607d4db53738f1e6178bed5ea8ccc0a5a650bcbfdc91422183b4"
/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall ordering.3.16.1;\
\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\" != 'ordering.3.16.1' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
ordering.3.16.1 is not installed. Install it? [y/n] y
* No agreement on the version of ocaml:
- (invariant) -> ocaml-base-compiler = 4.02.3 -> ocaml = 4.02.3
- ordering >= 3.16.1 -> ocaml >= 4.08.0
You can temporarily relax the switch invariant with `--update-invariant'
No solution found, exiting
"/usr/bin/env" "bash" "-c" "opam reinstall ordering.3.16.1;
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" != 'ordering.3.16.1' && 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
2024-10-30 17:13.56: Job failed: Failed: Build failed
2024-10-30 17:13.56: Log analysis:
2024-10-30 17:13.56: >>>
No solution found, exiting
(score = 100)
2024-10-30 17:13.56: [SKIP] Package not available