- github
- ocaml
- opam-repository
- 6d39bb
- compilers,5.2,conf-mingw-w64-glade-i686.1
(not at the head of any monitored branch or PR)
2024-10-30 13:27.01: New job: build conf-mingw-w64-glade-i686.1, using opam dev
from https://github.com/ocaml/opam-repository.git#refs/pull/26812/head (6d39bb88a26efa9c44b2d01e5407d7d4cec60ccf)
on debian-12-ocaml-5.2/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/26812/head" && git reset --hard 6d39bb88
git fetch origin master
git merge --no-edit ce4637ae20e511e8dc54562b123f1407fa5b2ca8
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-12-ocaml-5.2@sha256:7583e4dd1dcf84d502c2ee3f0a60c6b4136ab93b64de197b2071c7a5fae38483
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 conf-mingw-w64-glade-i686.1 1
RUN opam reinstall conf-mingw-w64-glade-i686.1; \
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" != 'conf-mingw-w64-glade-i686.1' && 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-10-30 13:27.01: Using cache hint "ocaml/opam:debian-12-ocaml-5.2@sha256:7583e4dd1dcf84d502c2ee3f0a60c6b4136ab93b64de197b2071c7a5fae38483-conf-mingw-w64-glade-i686.1-6d39bb88a26efa9c44b2d01e5407d7d4cec60ccf"
2024-10-30 13:27.01: Using OBuilder spec:
((from ocaml/opam:debian-12-ocaml-5.2@sha256:7583e4dd1dcf84d502c2ee3f0a60c6b4136ab93b64de197b2071c7a5fae38483)
(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 conf-mingw-w64-glade-i686.1 1"))
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall conf-mingw-w64-glade-i686.1;\
\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\" != 'conf-mingw-w64-glade-i686.1' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
)
2024-10-30 13:27.01: Waiting for resource in pool OCluster
2024-10-30 13:27.02: Waiting for worker…
2024-10-30 13:27.03: Got resource from pool OCluster
Building on x86-bm-c11.sw.ocaml.org
All commits already cached
Updating files: 69% (22711/32557)
Updating files: 70% (22790/32557)
Updating files: 71% (23116/32557)
Updating files: 72% (23442/32557)
Updating files: 73% (23767/32557)
Updating files: 74% (24093/32557)
Updating files: 75% (24418/32557)
Updating files: 76% (24744/32557)
Updating files: 77% (25069/32557)
Updating files: 78% (25395/32557)
Updating files: 79% (25721/32557)
Updating files: 80% (26046/32557)
Updating files: 81% (26372/32557)
Updating files: 82% (26697/32557)
Updating files: 83% (27023/32557)
Updating files: 84% (27348/32557)
Updating files: 85% (27674/32557)
Updating files: 86% (28000/32557)
Updating files: 87% (28325/32557)
Updating files: 88% (28651/32557)
Updating files: 89% (28976/32557)
Updating files: 90% (29302/32557)
Updating files: 91% (29627/32557)
Updating files: 92% (29953/32557)
Updating files: 93% (30279/32557)
Updating files: 94% (30604/32557)
Updating files: 95% (30930/32557)
Updating files: 96% (31255/32557)
Updating files: 97% (31581/32557)
Updating files: 98% (31906/32557)
Updating files: 99% (32232/32557)
Updating files: 100% (32557/32557)
Updating files: 100% (32557/32557), done.
HEAD is now at ce4637ae20 Merge pull request #26802 from robur-coop/release-git-kv-v0.1.0
Updating ce4637ae20..6d39bb88a2
Fast-forward
packages/conf-glade/conf-glade.2/opam | 22 ++++++++++++++++++++--
.../conf-mingw-w64-glade-i686.1/opam | 20 ++++++++++++++++++++
.../conf-mingw-w64-glade-x86_64.1/opam | 20 ++++++++++++++++++++
3 files changed, 60 insertions(+), 2 deletions(-)
create mode 100644 packages/conf-mingw-w64-glade-i686/conf-mingw-w64-glade-i686.1/opam
create mode 100644 packages/conf-mingw-w64-glade-x86_64/conf-mingw-w64-glade-x86_64.1/opam
(from ocaml/opam:debian-12-ocaml-5.2@sha256:7583e4dd1dcf84d502c2ee3f0a60c6b4136ab93b64de197b2071c7a5fae38483)
Unable to find image 'ocaml/opam:debian-12-ocaml-5.2@sha256:7583e4dd1dcf84d502c2ee3f0a60c6b4136ab93b64de197b2071c7a5fae38483' locally
docker.io/ocaml/opam@sha256:7583e4dd1dcf84d502c2ee3f0a60c6b4136ab93b64de197b2071c7a5fae38483: Pulling from ocaml/opam
761a2f421eaa: Pulling fs layer
761a2f421eaa: Verifying Checksum
761a2f421eaa: Download complete
761a2f421eaa: Pull complete
Digest: sha256:7583e4dd1dcf84d502c2ee3f0a60c6b4136ab93b64de197b2071c7a5fae38483
Status: Downloaded newer image for ocaml/opam@sha256:7583e4dd1dcf84d502c2ee3f0a60c6b4136ab93b64de197b2071c7a5fae38483
2024-10-30 13:27.32 ---> using "de4ab85ca5cfc22a2a4f21bd4f6b9515f9667a22e96e3fb26f6b86d857c9f229" from cache
/: (user (uid 1000) (gid 1000))
/: (workdir /home/opam)
/home/opam: (run (shell "sudo ln -f /usr/bin/opam-dev /usr/bin/opam"))
2024-10-30 13:27.32 ---> using "ddd891e39c42278f26250f3aec6c5b2fcf3f0d001f86bad76c3acacff8fdedfe" from cache
/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-10-30 13:27.32 ---> using "51366f05edc098feeef6899b0aecb8c70e1446c4dbbce761415aa7638ae9e1fc" from cache
/home/opam: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-122-generic
The OCaml toplevel, version 5.2.0
2.4.0~alpha1~dev
2024-10-30 13:27.32 ---> using "2409ce19a2d5931cead9c4d4d7bcb73bf6e6fb93578363afdc436202cc4692e5" 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-10-30 13:27.32 ---> using "be8cbda9fea7d04cf7c3d17556dfdda14af463ed12896cb36b979fd62f655a1a" from cache
/home/opam: (copy (src .) (dst opam-repository/))
2024-10-30 13:27.44 ---> saved as "86cfe9c13d744cc9a5331f4e51bf916676be1465068bad5f007b5135959b919a"
/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2024-10-30 13:28.35 ---> saved as "5a011dd17b7bb726f877502def33082fb67b74ba34455877f2312763c9104fff"
/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 [190 kB]
- Fetched 293 kB in 0s (1156 kB/s)
- Reading package lists...
2024-10-30 13:28.36 ---> saved as "3f506df968082a331e4ce0025073aed8d960a3585700fe390582d1312828174e"
/home/opam: (run (shell "opam pin add -k version -yn conf-mingw-w64-glade-i686.1 1"))
conf-mingw-w64-glade-i686 is now pinned to version 1
2024-10-30 13:28.37 ---> saved as "66ad39db34a9903bcd64d35f6af3e62f14780341b544fe5ed4e552b87d0617f0"
/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall conf-mingw-w64-glade-i686.1;\
\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\" != 'conf-mingw-w64-glade-i686.1' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
[ERROR] conf-mingw-w64-glade-i686 = 1: unmet availability conditions: 'os = "win32"'
"/usr/bin/env" "bash" "-c" "opam reinstall conf-mingw-w64-glade-i686.1;
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" != 'conf-mingw-w64-glade-i686.1' && partial_fails="$partial_fails $pkg";
done;
test "${partial_fails}" != "" && echo "opam-repo-ci detected dependencies failing: ${partial_fails}";
exit 1" failed with exit status 5
2024-10-30 13:28.46: Job failed: Failed: Build failed
2024-10-30 13:28.46: Log analysis:
2024-10-30 13:28.46: >>>
[ERROR] conf-mingw-w64-glade-i686 = 1: unmet availability conditions: 'os = "win32"'
(score = 100)
2024-10-30 13:28.46: [SKIP] Package not available