- github
- ocaml
- opam-repository
- d96087
- extras,opam-2.3-ocaml-4.14,mpp.0.1.3
(not at the head of any monitored branch or PR)
2024-11-29 20:24.19: New job: build mpp.0.1.3, using opam 2.3
from https://github.com/ocaml/opam-repository.git#refs/pull/26923/head (d9608777c483f5d710728ba45cd88b50c515d9a2)
on debian-12-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/26923/head" && git reset --hard d9608777
git fetch origin master
git merge --no-edit 03f40ffaa72302dd690b44668fc40ebe51186b2b
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-12-ocaml-4.14@sha256:3d8c0b0f03f66f82249744d1031a567caf3309d9cefdda98d07610eab53bb6ef
USER 1000:1000
WORKDIR /home/opam
RUN sudo ln -f /usr/bin/opam-2.3 /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.3 0.1.3
RUN opam reinstall mpp.0.1.3; \
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.3' && 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-29 20:24.19: Using cache hint "ocaml/opam:debian-12-ocaml-4.14@sha256:3d8c0b0f03f66f82249744d1031a567caf3309d9cefdda98d07610eab53bb6ef-mpp.0.1.3-d9608777c483f5d710728ba45cd88b50c515d9a2"
2024-11-29 20:24.19: Using OBuilder spec:
((from ocaml/opam:debian-12-ocaml-4.14@sha256:3d8c0b0f03f66f82249744d1031a567caf3309d9cefdda98d07610eab53bb6ef)
(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 "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.3 0.1.3"))
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall mpp.0.1.3;\
\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.3' && 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-29 20:24.19: Waiting for resource in pool OCluster
2024-11-29 20:24.20: Waiting for worker…
2024-11-29 20:24.51: Got resource from pool OCluster
Building on x86-bm-c2.sw.ocaml.org
Updating files: 75% (24673/32803)
Updating files: 76% (24931/32803)
Updating files: 77% (25259/32803)
Updating files: 78% (25587/32803)
Updating files: 79% (25915/32803)
Updating files: 80% (26243/32803)
Updating files: 81% (26571/32803)
Updating files: 82% (26899/32803)
Updating files: 83% (27227/32803)
Updating files: 84% (27555/32803)
Updating files: 85% (27883/32803)
Updating files: 86% (28211/32803)
Updating files: 87% (28539/32803)
Updating files: 88% (28867/32803)
Updating files: 89% (29195/32803)
Updating files: 90% (29523/32803)
Updating files: 91% (29851/32803)
Updating files: 92% (30179/32803)
Updating files: 93% (30507/32803)
Updating files: 94% (30835/32803)
Updating files: 95% (31163/32803)
Updating files: 96% (31491/32803)
Updating files: 97% (31819/32803)
Updating files: 98% (32147/32803)
Updating files: 99% (32475/32803)
Updating files: 100% (32803/32803)
Updating files: 100% (32803/32803), done.
HEAD is now at 2791697732 [new release] ocamlformat-lib, ocamlformat and ocamlformat-rpc-lib (0.27.0)
HEAD is now at 03f40ffaa7 Merge pull request #26984 from paurkedal/release-mariadb-1.2.0
Merge made by the 'ort' strategy.
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-4.14@sha256:3d8c0b0f03f66f82249744d1031a567caf3309d9cefdda98d07610eab53bb6ef)
2024-11-29 20:26.19 ---> saved as "c91705407132f13d405758e65a4dba1d21e88f189c241c012b87f03590df56b4"
/: (user (uid 1000) (gid 1000))
/: (workdir /home/opam)
/home/opam: (run (shell "sudo ln -f /usr/bin/opam-2.3 /usr/bin/opam"))
2024-11-29 20:26.19 ---> saved as "0f839378c2fcb1ecc6c0fd053c535376bdf64574b0cf6e56e5e2b5ba4a7bd631"
/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.
Continue? [y/n] y
This 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.
Format upgrade done.
<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] synchronised from file:///home/opam/opam-repository
2024-11-29 20:27.57 ---> saved as "c1959f3150cc46846f5edb5f26f7300a2ac80c33569b36863bf7fe9b6c369121"
/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.3.0
2024-11-29 20:27.57 ---> saved as "e743a42fe52db21b972680323f9ad6014119f90b46c1c5daa168e81597db7405"
/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-29 20:28.06 ---> saved as "ad4bb2ee6382469d300cefe46e64c02c649bf8e726b5a2fec6914b7d426aecf1"
/home/opam: (copy (src .) (dst opam-repository/))
2024-11-29 20:28.19 ---> saved as "44c9ce6b90049f9da4f79c0dbfcccf22576fff9243869fa9bff81c273e57b27b"
/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2024-11-29 20:29.21 ---> saved as "90b0e2042fe77a44c5f2820aa3b712342cd64aa4821e359e9825dd06c56462b8"
/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 bookworm-updates/main amd64 Packages.diff/Index [12.8 kB]
- Get:5 http://deb.debian.org/debian bookworm-updates/main amd64 Packages T-2024-11-27-1405.46-F-2024-11-27-1405.46.pdiff [435 B]
- Get:5 http://deb.debian.org/debian bookworm-updates/main amd64 Packages T-2024-11-27-1405.46-F-2024-11-27-1405.46.pdiff [435 B]
- Get:6 http://deb.debian.org/debian-security bookworm-security/main amd64 Packages [206 kB]
- Fetched 322 kB in 0s (870 kB/s)
- Reading package lists...
-
2024-11-29 20:29.23 ---> saved as "51f9159fba07662567de7aaca283a3f891770f25363ba0cdf63583f810d2323a"
/home/opam: (run (shell "opam pin add -k version -yn mpp.0.1.3 0.1.3"))
mpp is now pinned to version 0.1.3
2024-11-29 20:29.24 ---> saved as "bd2b956d9769226fce63b08bcbdbbfd2c00e78eb6babc3c4e91884bd6bfb1000"
/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall mpp.0.1.3;\
\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.3' && 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.3 is not installed. Install it? [y/n] y
* Incompatible packages:
- (invariant) -> ocaml-base-compiler = 4.14.2
- mpp = 0.1.3 -> ocaml < 4.06.0 -> ocaml-variants
You can temporarily relax the switch invariant with `--update-invariant'
* Missing dependency:
- mpp = 0.1.3 -> 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 4.14.2
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.3 -> ocaml < 4.06.0 -> ocaml-variants -> ocaml-beta
unmet availability conditions: 'enable-ocaml-beta-repository'
* Missing dependency:
- mpp = 0.1.3 -> ocaml < 4.06.0 -> ocaml-variants -> system-msvc
unmet availability conditions: 'os = "win32"'
No solution found, exiting
"/usr/bin/env" "bash" "-c" "opam reinstall mpp.0.1.3;
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.3' && 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-29 20:29.56: Job failed: Failed: Build failed
2024-11-29 20:29.56: Log analysis:
2024-11-29 20:29.56: >>>
No solution found, exiting
(score = 100)
2024-11-29 20:29.56: [SKIP] Package not available