- github
- ocaml
- opam-repository
- d96087
- compilers,5.3~beta1,mpp.0.1.5
(not at the head of any monitored branch or PR)
2024-11-21 16:12.18: New job: build mpp.0.1.5, using opam dev
from https://github.com/ocaml/opam-repository.git#refs/pull/26923/head (d9608777c483f5d710728ba45cd88b50c515d9a2)
on debian-12-ocaml-5.3-beta1/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/26923/head" && git reset --hard d9608777
git fetch origin master
git merge --no-edit 9f26a2181d2f46e23b62061679bdddb92684f204
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-12-ocaml-5.3-beta1@sha256:b794526497bc85d7add6c26a62652e92a6b1ad562fcf3e333ee0afc910995b66
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 mpp.0.1.5 0.1.5
RUN opam reinstall mpp.0.1.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 "\"debian-12\""; then \
echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
fi; \
test "$pkg" != 'mpp.0.1.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 .
2024-11-21 16:12.18: Using cache hint "ocaml/opam:debian-12-ocaml-5.3-beta1@sha256:b794526497bc85d7add6c26a62652e92a6b1ad562fcf3e333ee0afc910995b66-mpp.0.1.5-d9608777c483f5d710728ba45cd88b50c515d9a2"
2024-11-21 16:12.18: Using OBuilder spec:
((from ocaml/opam:debian-12-ocaml-5.3-beta1@sha256:b794526497bc85d7add6c26a62652e92a6b1ad562fcf3e333ee0afc910995b66)
(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 mpp.0.1.5 0.1.5"))
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall mpp.0.1.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 \"\\\"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\" != 'mpp.0.1.5' && 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-21 16:12.18: Waiting for resource in pool OCluster
2024-11-21 16:17.31: Waiting for worker…
2024-11-21 16:19.48: Got resource from pool OCluster
Building on x86-bm-c1.sw.ocaml.org
All commits already cached
Updating files: 94% (31029/32712)
Updating files: 95% (31077/32712)
Updating files: 96% (31404/32712)
Updating files: 97% (31731/32712)
Updating files: 98% (32058/32712)
Updating files: 99% (32385/32712)
Updating files: 100% (32712/32712)
Updating files: 100% (32712/32712), done.
HEAD is now at 9f26a2181d Merge pull request #26919 from hannesm/old-mpp-and-glical-unavailable
Updating 9f26a2181d..d9608777c4
Fast-forward
packages/glical/glical.0.0.1/opam | 1 -
packages/glical/glical.0.0.2/opam | 1 -
packages/glical/glical.0.0.3/opam | 1 -
packages/mpp/mpp.0.1.0/opam | 1 -
packages/mpp/mpp.0.1.1/opam | 1 -
packages/mpp/mpp.0.1.2/opam | 1 -
packages/mpp/mpp.0.1.3/opam | 1 -
packages/mpp/mpp.0.1.4/opam | 1 -
packages/mpp/mpp.0.1.5/opam | 1 -
packages/mpp/mpp.0.1.7/opam | 1 -
packages/mpp/mpp.0.1.8/opam | 1 -
packages/mpp/mpp.0.2.0/opam | 1 -
packages/mpp/mpp.0.2.1/opam | 1 -
packages/mpp/mpp.0.3.0/opam | 1 -
14 files changed, 14 deletions(-)
(from ocaml/opam:debian-12-ocaml-5.3-beta1@sha256:b794526497bc85d7add6c26a62652e92a6b1ad562fcf3e333ee0afc910995b66)
Unable to find image 'ocaml/opam:debian-12-ocaml-5.3-beta1@sha256:b794526497bc85d7add6c26a62652e92a6b1ad562fcf3e333ee0afc910995b66' locally
docker.io/ocaml/opam@sha256:b794526497bc85d7add6c26a62652e92a6b1ad562fcf3e333ee0afc910995b66: Pulling from ocaml/opam
ea3381691dd0: Pulling fs layer
ea3381691dd0: Verifying Checksum
ea3381691dd0: Download complete
ea3381691dd0: Pull complete
Digest: sha256:b794526497bc85d7add6c26a62652e92a6b1ad562fcf3e333ee0afc910995b66
Status: Downloaded newer image for ocaml/opam@sha256:b794526497bc85d7add6c26a62652e92a6b1ad562fcf3e333ee0afc910995b66
2024-11-21 16:22.28 ---> saved as "a22b9a151c34bd9e8859c3152e66bf5542bb6be122e4be5ff4819a1b4b1a9a42"
/: (user (uid 1000) (gid 1000))
/: (workdir /home/opam)
/home/opam: (run (shell "sudo ln -f /usr/bin/opam-dev /usr/bin/opam"))
2024-11-21 16:22.28 ---> saved as "36f9d7c9ce122062c5e370877e05d24180b0cc871444ae62bf72198b59a4a2c7"
/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 ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[beta] no changes from git+https://github.com/ocaml/ocaml-beta-repository
[default] synchronised from file:///home/opam/opam-repository
2024-11-21 16:23.57 ---> saved as "9c0f90d1a805f9349a4b5bea290de0de6ec1476c2c6971a6588047a4ef2f68c7"
/home/opam: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-125-generic
The OCaml toplevel, version 5.3.0~beta1
2.4.0~alpha1~dev
2024-11-21 16:23.57 ---> saved as "254f36f94efec8aa1497fbf4218a0fda119c12c396defe928732233a63ff849a"
/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-21 16:24.04 ---> saved as "c44baa59bbeb7560b9a0ac44548809feb2905ab1b6d11de6b4974c05e1a148df"
/home/opam: (copy (src .) (dst opam-repository/))
2024-11-21 16:24.23 ---> saved as "18676f5f6ef2fe2cbb5264f3fdfa005d90a40245f8b486ee6f06473633c221a3"
/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2024-11-21 16:25.23 ---> saved as "ecb77dff0de1aac48e029e71952819c334f6d569da028d4b9a44f7b5ef6d318f"
/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 [204 kB]
- Fetched 308 kB in 0s (1335 kB/s)
- Reading package lists...
2024-11-21 16:25.24 ---> saved as "755013b539c5c03df4d64af7e45cb730b3fd5f3382750e9c90882a4c013821b8"
/home/opam: (run (shell "opam pin add -k version -yn mpp.0.1.5 0.1.5"))
mpp is now pinned to version 0.1.5
2024-11-21 16:25.25 ---> saved as "58fcc7f4781b2d68b2ce83c1a42eff68dbe626d2a00c227e44d22f3da4a28ff3"
/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall mpp.0.1.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 \"\\\"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\" != 'mpp.0.1.5' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
mpp.0.1.5 is not installed. Install it? [Y/n] y
* Incompatible packages:
- (invariant) -> ocaml-base-compiler >= 5.3.0~beta1
- mpp = 0.1.5 -> ocaml < 4.06.0 -> ocaml-variants (< 4.02.3~ | >= 4.02.3)
You can temporarily relax the switch invariant with `--update-invariant'
* Missing dependency:
- mpp = 0.1.5 -> ocaml < 4.06.0 -> 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~beta1
unmet availability conditions, e.g. 'sys-ocaml-version = "5.2.1" & (os != "win32" | sys-ocaml-libc = "msvc")'
no matching version
* Missing dependency:
- mpp = 0.1.5 -> ocaml < 4.06.0 -> ocaml-variants >= 4.02.3 -> system-msvc
unmet availability conditions: 'os = "win32"'
No solution found, exiting
"/usr/bin/env" "bash" "-c" "opam reinstall mpp.0.1.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 "\"debian-12\""; then
echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.";
fi;
test "$pkg" != 'mpp.0.1.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 20
2024-11-21 16:25.59: Job failed: Failed: Build failed
2024-11-21 16:25.59: Log analysis:
2024-11-21 16:25.59: >>>
No solution found, exiting
(score = 100)
2024-11-21 16:25.59: [SKIP] Package not available