- github
- ocaml
- opam-repository
- ae7904
- distributions,debian-unstable-ocaml-4.14,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-unstable-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/26809/head" && git reset --hard ae7904f0
git fetch origin master
git merge --no-edit 99bc90ff813af4d02cb0627f6b3e5a8c84e2e04a
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-unstable-ocaml-4.14@sha256:f610e028de2a5d3625cb6a20dc9dd9d1714cdeea964720791b2d2cf0a3e94729
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-unstable\""; 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-unstable-ocaml-4.14@sha256:f610e028de2a5d3625cb6a20dc9dd9d1714cdeea964720791b2d2cf0a3e94729-acp4.1.1.0-ae7904f09ddc568094c79125171faa8c08f0ecd5"
2024-11-26 20:21.08: Using OBuilder spec:
((from ocaml/opam:debian-unstable-ocaml-4.14@sha256:f610e028de2a5d3625cb6a20dc9dd9d1714cdeea964720791b2d2cf0a3e94729)
(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-unstable\\\"\"; 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:04.16: Waiting for worker…
2024-11-26 22:08.42: Got resource from pool OCluster
Building on x86-bm-c5.sw.ocaml.org
All commits already cached
Updating files: 65% (21569/32732)
Updating files: 66% (21604/32732)
Updating files: 67% (21931/32732)
Updating files: 68% (22258/32732)
Updating files: 69% (22586/32732)
Updating files: 70% (22913/32732)
Updating files: 71% (23240/32732)
Updating files: 72% (23568/32732)
Updating files: 73% (23895/32732)
Updating files: 74% (24222/32732)
Updating files: 75% (24549/32732)
Updating files: 76% (24877/32732)
Updating files: 77% (25204/32732)
Updating files: 78% (25531/32732)
Updating files: 79% (25859/32732)
Updating files: 80% (26186/32732)
Updating files: 81% (26513/32732)
Updating files: 82% (26841/32732)
Updating files: 83% (27168/32732)
Updating files: 84% (27495/32732)
Updating files: 85% (27823/32732)
Updating files: 86% (28150/32732)
Updating files: 87% (28477/32732)
Updating files: 88% (28805/32732)
Updating files: 89% (29132/32732)
Updating files: 90% (29459/32732)
Updating files: 91% (29787/32732)
Updating files: 92% (30114/32732)
Updating files: 93% (30441/32732)
Updating files: 94% (30769/32732)
Updating files: 95% (31096/32732)
Updating files: 96% (31423/32732)
Updating files: 97% (31751/32732)
Updating files: 98% (32078/32732)
Updating files: 99% (32405/32732)
Updating files: 100% (32732/32732)
Updating files: 100% (32732/32732), done.
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-unstable-ocaml-4.14@sha256:f610e028de2a5d3625cb6a20dc9dd9d1714cdeea964720791b2d2cf0a3e94729)
Unable to find image 'ocaml/opam:debian-unstable-ocaml-4.14@sha256:f610e028de2a5d3625cb6a20dc9dd9d1714cdeea964720791b2d2cf0a3e94729' locally
docker.io/ocaml/opam@sha256:f610e028de2a5d3625cb6a20dc9dd9d1714cdeea964720791b2d2cf0a3e94729: Pulling from ocaml/opam
ab0e4744654d: Pulling fs layer
ab0e4744654d: Verifying Checksum
ab0e4744654d: Download complete
ab0e4744654d: Pull complete
Digest: sha256:f610e028de2a5d3625cb6a20dc9dd9d1714cdeea964720791b2d2cf0a3e94729
Status: Downloaded newer image for ocaml/opam@sha256:f610e028de2a5d3625cb6a20dc9dd9d1714cdeea964720791b2d2cf0a3e94729
2024-11-26 22:10.19 ---> saved as "3f35e306bc956c5563428ff212107f3757831bb844a7b2a112680d4451fe340c"
/: (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:10.19 ---> saved as "2123adf1123d475fdbf0bde763d5e9d6d0caee3ddd575203d39b272d0549ab1a"
/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:11.40 ---> saved as "6962eb8453c4d1cc8c7627e5871b73fb6d60134973bf62f602561334ca587807"
/home/opam: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-126-generic
The OCaml toplevel, version 4.14.2
2.4.0~alpha1~dev
2024-11-26 22:11.40 ---> saved as "8dbcb844750831245070425b33748af4efe59c2ba9f44bc769b31d6963ddbf51"
/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:11.49 ---> saved as "47321b84da0ad4ed71179dac0b767fccf1d616199af920c761370b2238cea7eb"
/home/opam: (copy (src .) (dst opam-repository/))
2024-11-26 22:12.04 ---> saved as "d0cc20fc3f6432b546a64561b1595b0f1033c030059b10d57497512b0c41a3ad"
/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2024-11-26 22:12.57 ---> saved as "a71d4c9125fe6c9945010bd83af4854aab8d462cbcb5ee9340b0e8bf3e10d828"
/home/opam: (run (network host)
(shell "opam update --depexts || true"))
+ /usr/bin/sudo "apt-get" "update"
- Get:1 http://deb.debian.org/debian unstable InRelease [202 kB]
- Get:2 http://deb.debian.org/debian unstable/main amd64 Packages.diff/Index [63.6 kB]
- Get:3 http://deb.debian.org/debian unstable/main amd64 Packages T-2024-11-26-2011.21-F-2024-11-19-1405.22.pdiff [439 kB]
- Get:3 http://deb.debian.org/debian unstable/main amd64 Packages T-2024-11-26-2011.21-F-2024-11-19-1405.22.pdiff [439 kB]
- Fetched 705 kB in 3s (253 kB/s)
- Reading package lists...
-
2024-11-26 22:13.01 ---> saved as "59f4d47e9739e6e90ee2796c0c93831795038399d1372ee9578b7d22616f8fb1"
/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:13.02 ---> saved as "2924363d68ef39963f4579a163afe7749aec89ba3a7f4b1c3ba518bb38d8f2a6"
/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-unstable\\\"\"; 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.14.2 -> ocaml = 4.14.2
- acp4 >= 1.1.0 -> molenc >= 16.23.0 -> ocaml >= 5.1.0
You can temporarily relax the switch invariant with `--update-invariant'
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-unstable\""; 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:13.45: Job failed: Failed: Build failed
2024-11-26 22:13.45: Log analysis:
2024-11-26 22:13.45: >>>
No solution found, exiting
(score = 100)
2024-11-26 22:13.45: [SKIP] Package not available