- github
- ocaml
- opam-repository
- d96087
- extras,opam-2.0-ocaml-4.14,mpp.0.1.8
(not at the head of any monitored branch or PR)
2024-11-21 16:12.22: New job: build mpp.0.1.8, using opam 2.0
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 9f26a2181d2f46e23b62061679bdddb92684f204
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-12-ocaml-4.14@sha256:3b83406bd3604cbe91e1a7499b0a6b18dd710d949d68282fb558bf3d301d3e97
USER 1000:1000
WORKDIR /home/opam
RUN sudo ln -f /usr/bin/opam-2.0 /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 depext -u || true
RUN opam pin add -k version -yn mpp.0.1.8 0.1.8
RUN opam depext mpp.0.1.8 && opam reinstall mpp.0.1.8; \
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.8' && 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.22: Using cache hint "ocaml/opam:debian-12-ocaml-4.14@sha256:3b83406bd3604cbe91e1a7499b0a6b18dd710d949d68282fb558bf3d301d3e97-mpp.0.1.8-d9608777c483f5d710728ba45cd88b50c515d9a2"
2024-11-21 16:12.22: Using OBuilder spec:
((from ocaml/opam:debian-12-ocaml-4.14@sha256:3b83406bd3604cbe91e1a7499b0a6b18dd710d949d68282fb558bf3d301d3e97)
(user (uid 1000) (gid 1000))
(workdir /home/opam)
(run (shell "sudo ln -f /usr/bin/opam-2.0 /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 depext -u || true"))
(run (shell "opam pin add -k version -yn mpp.0.1.8 0.1.8"))
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam depext mpp.0.1.8 && opam reinstall mpp.0.1.8;\
\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.8' && 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.22: Waiting for resource in pool OCluster
2024-11-21 16:31.21: Waiting for worker…
2024-11-21 16:36.11: Got resource from pool OCluster
Building on doris.caelum.ci.dev
All commits already cached
Updating files: 67% (22074/32712)
Updating files: 68% (22245/32712)
Updating files: 69% (22572/32712)
Updating files: 70% (22899/32712)
Updating files: 71% (23226/32712)
Updating files: 72% (23553/32712)
Updating files: 73% (23880/32712)
Updating files: 74% (24207/32712)
Updating files: 75% (24534/32712)
Updating files: 76% (24862/32712)
Updating files: 77% (25189/32712)
Updating files: 78% (25516/32712)
Updating files: 79% (25843/32712)
Updating files: 80% (26170/32712)
Updating files: 81% (26497/32712)
Updating files: 82% (26824/32712)
Updating files: 83% (27151/32712)
Updating files: 84% (27479/32712)
Updating files: 85% (27806/32712)
Updating files: 86% (28133/32712)
Updating files: 87% (28460/32712)
Updating files: 88% (28787/32712)
Updating files: 89% (29114/32712)
Updating files: 90% (29441/32712)
Updating files: 91% (29768/32712)
Updating files: 92% (30096/32712)
Updating files: 93% (30423/32712)
Updating files: 94% (30750/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-4.14@sha256:3b83406bd3604cbe91e1a7499b0a6b18dd710d949d68282fb558bf3d301d3e97)
2024-11-21 16:36.36 ---> using "16c9fc8fd763c524ae1606da9019c341fc2748b0a1d360269689e19099d4c66f" from cache
/: (user (uid 1000) (gid 1000))
/: (workdir /home/opam)
/home/opam: (run (shell "sudo ln -f /usr/bin/opam-2.0 /usr/bin/opam"))
2024-11-21 16:36.36 ---> using "c9751d6168a449c964f7d2a72bb394b7fb2b86ef5ee4c87fac375639addbbef0" from cache
/home/opam: (run (network host)
(shell "opam init --reinit --config .opamrc-sandbox -ni"))
[NOTE] Will configure 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.
[WARNING] Recommended dependencies -- most packages rely on these:
- m4
<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] synchronised from file:///home/opam/opam-repository
default (at file:///home/opam/opam-repository):
[INFO] opam 2.1 and 2.2 include many performance and security improvements over 2.0; please consider upgrading (https://opam.ocaml.org/doc/Install.html)
2024-11-21 16:36.36 ---> using "7b219d9ed35957cee6f80536e189ba75b7967b00b5978bb8bbf2a554616835f3" from cache
/home/opam: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-125-generic
The OCaml toplevel, version 4.14.2
2.0.10
2024-11-21 16:36.36 ---> using "d4cc26a99dfddbbb92e5ae3cd74e92b2378d66193fd025bb2111dc7fe8a66c42" from cache
/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:36.36 ---> using "60ce59b7d3850e46463edcfe63b7ddcf2f4a8b8c2cc9b2cea10fcef9147715bd" from cache
/home/opam: (copy (src .) (dst opam-repository/))
2024-11-21 16:36.38 ---> using "693d6d4f6b9dbc5e8977e75c46c3a3efa4a9d6dd5ef8a653e2892f9599719d71" from cache
/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
default (at file:///home/opam/opam-repository):
[INFO] opam 2.1 and 2.2 include many performance and security improvements over 2.0; please consider upgrading (https://opam.ocaml.org/doc/Install.html)
2024-11-21 16:37.01 ---> saved as "13db9e123c40eb58371b19b6fd6640feffef92b3ed16d12afb3e6dab509118fa"
/home/opam: (run (network host)
(shell "opam depext -u || true"))
# Detecting depexts using vars: arch=x86_64, os=linux, os-distribution=debian, os-family=debian
# No extra OS packages requirements found.
# All required OS packages found.
The following command needs to be run through "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 (744 kB/s)
Reading package lists...
# OS package update successful
2024-11-21 16:37.03 ---> saved as "d177256164c8ad807261e3c952eebe70ed3a03c1e5911118602c9d5eec110589"
/home/opam: (run (shell "opam pin add -k version -yn mpp.0.1.8 0.1.8"))
mpp is now pinned to version 0.1.8
2024-11-21 16:37.04 ---> saved as "f7608076b944f805442f7e61a4820c2b9de69e523b75611826f1ecae29347da8"
/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam depext mpp.0.1.8 && opam reinstall mpp.0.1.8;\
\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.8' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
# Detecting depexts using vars: arch=x86_64, os=linux, os-distribution=debian, os-family=debian
[ERROR] No solution for mpp.0.1.8: The following dependencies couldn't be met:
- mpp -> ocaml < 4.06.0
base of this switch (use `--unlock-base' to force)
Command failed: opam list --readonly --external '--resolve=mpp.0.1.8' --color=never returned 20
"/usr/bin/env" "bash" "-c" "opam depext mpp.0.1.8 && opam reinstall mpp.0.1.8;
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.8' && 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:38.59: Job failed: Failed: Build failed
2024-11-21 16:38.59: Log analysis:
2024-11-21 16:38.59: >>>
[ERROR] No solution for mpp.0.1.8: The following dependencies couldn't be met:
(score = 100)
2024-11-21 16:38.59: [SKIP] Package not available