- github
- ocaml
- opam-repository
- ae7904
- compilers,4.06,acp4.1.1.0
(not at the head of any monitored branch or PR)
2024-11-26 20:21.08: New job: build acp4.1.1.0, using opam dev
from https://github.com/ocaml/opam-repository.git#refs/pull/26809/head (ae7904f09ddc568094c79125171faa8c08f0ecd5)
on debian-12-ocaml-4.06/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/26809/head" && git reset --hard ae7904f0
git fetch origin master
git merge --no-edit 99bc90ff813af4d02cb0627f6b3e5a8c84e2e04a
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-12-ocaml-4.06@sha256:524773735d24f446038a53708102467501e4020536734fa6db6b5518ec4f5473
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 acp4.1.1.0 1.1.0
RUN opam reinstall acp4.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 "\"debian-12\""; then \
echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
fi; \
test "$pkg" != 'acp4.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 .
2024-11-26 20:21.08: Using cache hint "ocaml/opam:debian-12-ocaml-4.06@sha256:524773735d24f446038a53708102467501e4020536734fa6db6b5518ec4f5473-acp4.1.1.0-ae7904f09ddc568094c79125171faa8c08f0ecd5"
2024-11-26 20:21.08: Using OBuilder spec:
((from ocaml/opam:debian-12-ocaml-4.06@sha256:524773735d24f446038a53708102467501e4020536734fa6db6b5518ec4f5473)
(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 acp4.1.1.0 1.1.0"))
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall acp4.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 \"\\\"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\" != 'acp4.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"))
)
2024-11-26 20:21.08: Waiting for resource in pool OCluster
2024-11-26 22:01.27: Waiting for worker…
2024-11-26 22:06.37: Got resource from pool OCluster
Building on x86-bm-c2.sw.ocaml.org
Updating files: 63% (20921/32731)
Updating files: 64% (20948/32731)
Updating files: 65% (21276/32731)
Updating files: 66% (21603/32731)
Updating files: 67% (21930/32731)
Updating files: 68% (22258/32731)
Updating files: 69% (22585/32731)
Updating files: 70% (22912/32731)
Updating files: 71% (23240/32731)
Updating files: 72% (23567/32731)
Updating files: 73% (23894/32731)
Updating files: 74% (24221/32731)
Updating files: 75% (24549/32731)
Updating files: 76% (24876/32731)
Updating files: 77% (25203/32731)
Updating files: 78% (25531/32731)
Updating files: 79% (25858/32731)
Updating files: 80% (26185/32731)
Updating files: 81% (26513/32731)
Updating files: 82% (26840/32731)
Updating files: 83% (27167/32731)
Updating files: 84% (27495/32731)
Updating files: 85% (27822/32731)
Updating files: 86% (28149/32731)
Updating files: 87% (28476/32731)
Updating files: 88% (28804/32731)
Updating files: 89% (29131/32731)
Updating files: 90% (29458/32731)
Updating files: 91% (29786/32731)
Updating files: 92% (30113/32731)
Updating files: 93% (30440/32731)
Updating files: 94% (30768/32731)
Updating files: 95% (31095/32731)
Updating files: 96% (31422/32731)
Updating files: 97% (31750/32731)
Updating files: 98% (32077/32731)
Updating files: 99% (32404/32731)
Updating files: 100% (32731/32731)
Updating files: 100% (32731/32731), done.
HEAD is now at b8373410bd Merge commit '0d4a9b07a6656ba2bac8a785be12c9efb0a0a28d'
HEAD is now at 99bc90ff81 Merge pull request #26955 from eponier/jasmin.2024.07.2
Merge made by the 'ort' strategy.
packages/acp4/acp4.1.1.0/opam | 36 ++++++++++++++++++++++++++++++++++++
1 file changed, 36 insertions(+)
create mode 100644 packages/acp4/acp4.1.1.0/opam
(from ocaml/opam:debian-12-ocaml-4.06@sha256:524773735d24f446038a53708102467501e4020536734fa6db6b5518ec4f5473)
2024-11-26 22:07.40 ---> saved as "c807ceeebf7ab18e24c1627de411423bfc7266d2b9b3899d6ee9df925bd1b003"
/: (user (uid 1000) (gid 1000))
/: (workdir /home/opam)
/home/opam: (run (shell "sudo ln -f /usr/bin/opam-dev /usr/bin/opam"))
2024-11-26 22:07.40 ---> saved as "8998cf3726735912473f77982a916e9a80cbb7d970aa9c09d9165dad12677a9e"
/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-11-26 22:09.06 ---> saved as "8242285dea2735b2aca70cd04d56e64f773b416b88320bc6cf15991ffe8a108d"
/home/opam: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-126-generic
The OCaml toplevel, version 4.06.1
2.4.0~alpha1~dev
2024-11-26 22:09.06 ---> saved as "9c2d607b750cc87e4cec34393a4615f9a1d245c719f32de28fbd4dc8d3695f63"
/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-11-26 22:09.16 ---> saved as "9b43ae1be059a0d73b515d29699efe5abed39b6db8dfb10facd31782be2c9c12"
/home/opam: (copy (src .) (dst opam-repository/))
2024-11-26 22:09.26 ---> saved as "71476d0886abd6266c4b6d388113e0b1bfb86d61572565180a7b8baba9968017"
/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2024-11-26 22:10.25 ---> saved as "615fcceab8b20095ccaa1a9ceb1aa8248394d98206dbfbbab58924cb876456a7"
/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 [205 kB]
- Fetched 309 kB in 0s (1234 kB/s)
- Reading package lists...
2024-11-26 22:10.26 ---> saved as "f95d6059865dc690e2b5b73eb8067c846afc270efb34b196f25cf7a956250956"
/home/opam: (run (shell "opam pin add -k version -yn acp4.1.1.0 1.1.0"))
acp4 is now pinned to version 1.1.0
2024-11-26 22:10.27 ---> saved as "66d28ac8dbf6063cc52fa45f0aa72979c4c8b8f0541250282c79ca0bc1225c2a"
/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall acp4.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 \"\\\"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\" != 'acp4.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"))
acp4.1.1.0 is not installed. Install it? [Y/n] y
* No agreement on the version of ocaml:
- (invariant) -> ocaml-base-compiler = 4.06.1 -> ocaml = 4.06.1
- acp4 >= 1.1.0 -> ocaml >= 4.08
You can temporarily relax the switch invariant with `--update-invariant'
* Incompatible packages:
- (invariant) -> ocaml-base-compiler = 4.06.1
- acp4 >= 1.1.0 -> ocaml >= 4.08 -> ocaml-variants >= 5.1.1~
* Missing dependency:
- acp4 >= 1.1.0 -> ocaml >= 4.08 -> ocaml-variants >= 5.1.1~ -> system-msvc
unmet availability conditions: 'os = "win32"'
No solution found, exiting
"/usr/bin/env" "bash" "-c" "opam reinstall acp4.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 "\"debian-12\""; then
echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.";
fi;
test "$pkg" != 'acp4.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
2024-11-26 22:11.05: Job failed: Failed: Build failed
2024-11-26 22:11.05: Log analysis:
2024-11-26 22:11.05: >>>
No solution found, exiting
(score = 100)
2024-11-26 22:11.05: [SKIP] Package not available