- github
- ocaml
- opam-repository
- 049abd
- distributions,alpine-3.21-ocaml-5.3,rocq-runtime.9.0.0
(not at the head of any monitored branch or PR)
2025-03-12 21:29.51: New job: build rocq-runtime.9.0.0, using opam dev
from https://github.com/ocaml/opam-repository.git#refs/pull/27614/head (049abdee9423b192d1da705f43d97ead6e3ad3ad)
on alpine-3.21-ocaml-5.3/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/27614/head" && git reset --hard 049abdee
git fetch origin master
git merge --no-edit a3d20148ad8eaad9a2009721687a788b47e04869
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:alpine-3.21-ocaml-5.3@sha256:4ae4f6e361088eb06bab0beb78c7db535e8b7a689cca4c4dd76add4242c4dab0
USER 1000:1000
WORKDIR /home/opam
RUN sudo ln -f /usr/bin/opam-dev /usr/bin/opam
RUN opam init --reinit -ni
RUN opam option solver=builtin-0install && opam config report
ENV OPAMDOWNLOADJOBS="1"
ENV OPAMERRLOGLEN="0"
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 rocq-runtime.9.0.0 9.0.0
RUN opam reinstall rocq-runtime.9.0.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 "\"alpine-3.21\""; then \
echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
fi; \
test "$pkg" != 'rocq-runtime.9.0.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 .
2025-03-12 21:29.51: Using cache hint "ocaml/opam:alpine-3.21-ocaml-5.3@sha256:4ae4f6e361088eb06bab0beb78c7db535e8b7a689cca4c4dd76add4242c4dab0-rocq-runtime.9.0.0-049abdee9423b192d1da705f43d97ead6e3ad3ad"
2025-03-12 21:29.51: Using OBuilder spec:
((from ocaml/opam:alpine-3.21-ocaml-5.3@sha256:4ae4f6e361088eb06bab0beb78c7db535e8b7a689cca4c4dd76add4242c4dab0)
(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 "opam option solver=builtin-0install && opam config report"))
(env OPAMDOWNLOADJOBS 1)
(env OPAMERRLOGLEN 0)
(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 rocq-runtime.9.0.0 9.0.0"))
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall rocq-runtime.9.0.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 \"\\\"alpine-3.21\\\"\"; then\
\n echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
\n fi;\
\n test \"$pkg\" != 'rocq-runtime.9.0.0' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
)
2025-03-12 21:29.51: Waiting for resource in pool OCluster
2025-03-12 21:52.19: Waiting for worker…
2025-03-12 21:56.13: Got resource from pool OCluster
Building on doris.caelum.ci.dev
All commits already cached
Updating files: 78% (17709/22636)
Updating files: 79% (17883/22636)
Updating files: 80% (18109/22636)
Updating files: 81% (18336/22636)
Updating files: 82% (18562/22636)
Updating files: 83% (18788/22636)
Updating files: 84% (19015/22636)
Updating files: 85% (19241/22636)
Updating files: 86% (19467/22636)
Updating files: 87% (19694/22636)
Updating files: 88% (19920/22636)
Updating files: 89% (20147/22636)
Updating files: 90% (20373/22636)
Updating files: 91% (20599/22636)
Updating files: 92% (20826/22636)
Updating files: 93% (21052/22636)
Updating files: 94% (21278/22636)
Updating files: 95% (21505/22636)
Updating files: 96% (21731/22636)
Updating files: 97% (21957/22636)
Updating files: 98% (22184/22636)
Updating files: 99% (22410/22636)
Updating files: 100% (22636/22636)
Updating files: 100% (22636/22636), done.
HEAD is now at a3d20148ad Merge pull request #27597 from esope/release-salto-analyzer-0.1
Merge made by the 'ort' strategy.
packages/coq-core/coq-core.9.0.0/opam | 51 ++++++++++++++++++
packages/coq-stdlib/coq-stdlib.9.0.0/opam | 38 +++++++++++++
packages/coq/coq.9.0.0/opam | 51 ++++++++++++++++++
packages/coqide-server/coqide-server.9.0.0/opam | 47 ++++++++++++++++
packages/rocq-core/rocq-core.9.0.0/opam | 56 +++++++++++++++++++
packages/rocq-prover/rocq-prover.9.0.0/opam | 54 +++++++++++++++++++
packages/rocq-runtime/rocq-runtime.9.0.0/opam | 72 +++++++++++++++++++++++++
packages/rocq-stdlib/rocq-stdlib.9.0.0/opam | 53 ++++++++++++++++++
packages/rocqide/rocqide.9.0.0/opam | 50 +++++++++++++++++
9 files changed, 472 insertions(+)
create mode 100644 packages/coq-core/coq-core.9.0.0/opam
create mode 100644 packages/coq-stdlib/coq-stdlib.9.0.0/opam
create mode 100644 packages/coq/coq.9.0.0/opam
create mode 100644 packages/coqide-server/coqide-server.9.0.0/opam
create mode 100644 packages/rocq-core/rocq-core.9.0.0/opam
create mode 100644 packages/rocq-prover/rocq-prover.9.0.0/opam
create mode 100644 packages/rocq-runtime/rocq-runtime.9.0.0/opam
create mode 100644 packages/rocq-stdlib/rocq-stdlib.9.0.0/opam
create mode 100644 packages/rocqide/rocqide.9.0.0/opam
(from ocaml/opam:alpine-3.21-ocaml-5.3@sha256:4ae4f6e361088eb06bab0beb78c7db535e8b7a689cca4c4dd76add4242c4dab0)
Unable to find image 'ocaml/opam:alpine-3.21-ocaml-5.3@sha256:4ae4f6e361088eb06bab0beb78c7db535e8b7a689cca4c4dd76add4242c4dab0' locally
docker.io/ocaml/opam@sha256:4ae4f6e361088eb06bab0beb78c7db535e8b7a689cca4c4dd76add4242c4dab0: Pulling from ocaml/opam
ddb7f466ad9c: Pulling fs layer
ddb7f466ad9c: Verifying Checksum
ddb7f466ad9c: Download complete
ddb7f466ad9c: Pull complete
Digest: sha256:4ae4f6e361088eb06bab0beb78c7db535e8b7a689cca4c4dd76add4242c4dab0
Status: Downloaded newer image for ocaml/opam@sha256:4ae4f6e361088eb06bab0beb78c7db535e8b7a689cca4c4dd76add4242c4dab0
2025-03-12 21:56.16 ---> using "dacbb842f0a2d29eaad3e832c76ea718382fa9cd05776a3fdb8016e465aa5e7b" from cache
/: (user (uid 1000) (gid 1000))
/: (workdir /home/opam)
/home/opam: (run (shell "sudo ln -f /usr/bin/opam-dev /usr/bin/opam"))
2025-03-12 21:56.16 ---> using "7e31950e193b25f9fef1df247376abd6b07f549cd90e4c896005ca3c5f9161d2" 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 ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[opam-repository-archive] synchronised from git+https://github.com/ocaml/opam-repository-archive
[default] synchronised from file:///home/opam/opam-repository
2025-03-12 21:56.16 ---> using "a7318b2a9d48a3c9f448117b9af8777a3971728a71f09b1a72741d9b778b5b81" from cache
/home/opam: (run (shell "opam option solver=builtin-0install && opam config report"))
Set to 'builtin-0install' the field solver in global configuration
# opam config report
# opam-version 2.4.0~alpha1~dev (f1cf50f2711981a605f81a80c68b73774d5841ff)
# self-upgrade no
# system arch=x86_64 os=linux os-distribution=alpine os-version=3.21.3
# solver builtin-0install
# install-criteria -changed,-count[avoid-version,solution]
# upgrade-criteria -count[avoid-version,solution]
# jobs 255
# repositories 1 (local), 1 (version-controlled)
# pinned 1 (version)
# current-switch 5.3
# invariant ["ocaml-base-compiler" {>= "5.3.0"}]
# compiler-packages ocaml-base-compiler.5.3.0, ocaml-compiler.5.3.0, ocaml-options-vanilla.1
# ocaml:native true
# ocaml:native-tools true
# ocaml:native-dynlink true
# ocaml:stubsdir /home/opam/.opam/5.3/lib/ocaml/stublibs:/home/opam/.opam/5.3/lib/ocaml
# ocaml:preinstalled false
# ocaml:compiler 5.3.0
2025-03-12 21:56.16 ---> using "05255d4f140987e124eb043115a43a8e29e607a9e6f980d95b3f49fe4caf75f7" from cache
/home/opam: (env OPAMDOWNLOADJOBS 1)
/home/opam: (env OPAMERRLOGLEN 0)
/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/"))
2025-03-12 21:56.16 ---> using "6eb460cfbcc58e8f427e7842cc00d9a4751a0c65931958c0676032095e115c07" from cache
/home/opam: (copy (src .) (dst opam-repository/))
2025-03-12 21:56.27 ---> saved as "4428ca2c89858b2b33930d860c774656fa3f2589655be4c6124a9f3dfab130cc"
/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2025-03-12 21:57.15 ---> saved as "05750ccd4222195fe1783317b62b18403eb29c01e4ded643e1721c404dfda47c"
/home/opam: (run (network host)
(shell "opam update --depexts || true"))
+ /usr/bin/sudo "apk" "update"
- fetch https://dl-cdn.alpinelinux.org/alpine/v3.21/main/x86_64/APKINDEX.tar.gz
- fetch https://dl-cdn.alpinelinux.org/alpine/v3.21/community/x86_64/APKINDEX.tar.gz
- fetch https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
- fetch https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
- fetch https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz
- v3.21.3-144-gc9b177afb6a [https://dl-cdn.alpinelinux.org/alpine/v3.21/main]
- v3.21.3-148-g3c6aaf25077 [https://dl-cdn.alpinelinux.org/alpine/v3.21/community]
- v20250108-3688-gbe3c0b88a1f [https://dl-cdn.alpinelinux.org/alpine/edge/main]
- v20250108-3704-g35f8acc00c3 [https://dl-cdn.alpinelinux.org/alpine/edge/community]
- v20250108-3704-g35f8acc00c3 [https://dl-cdn.alpinelinux.org/alpine/edge/testing]
- OK: 57019 distinct packages available
2025-03-12 21:57.17 ---> saved as "5fc56a294742d689dd8ad1509a6ee47520c6f035a2ff9574d7ef94fa986306c9"
/home/opam: (run (shell "opam pin add -k version -yn rocq-runtime.9.0.0 9.0.0"))
rocq-runtime is now pinned to version 9.0.0
2025-03-12 21:57.19 ---> saved as "b083cf128b9e53269413503deec2120e090b850bee0442ca7aac0a3c1899f057"
/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall rocq-runtime.9.0.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 \"\\\"alpine-3.21\\\"\"; then\
\n echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
\n fi;\
\n test \"$pkg\" != 'rocq-runtime.9.0.0' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
rocq-runtime.9.0.0 is not installed. Install it? [Y/n] y
The following actions will be performed:
=== install 7 packages
- install conf-gmp 4 [required by zarith]
- install conf-linux-libc-dev 0 [required by rocq-runtime]
- install conf-pkg-config 4 [required by zarith]
- install dune 3.13.1 [required by rocq-runtime]
- install ocamlfind 1.9.8 [required by rocq-runtime]
- install rocq-runtime 9.0.0 (pinned)
- install zarith 1.14 [required by rocq-runtime]
The following system packages will first need to be installed:
gmp-dev linux-headers
<><> Handling external dependencies <><><><><><><><><><><><><><><><><><><><><><>
opam believes some required external dependencies are missing. opam can:
> 1. Run apk to install them (may need root/sudo access)
2. Display the recommended apk command and wait while you run it manually (e.g. in another terminal)
3. Continue anyway, and, upon success, permanently register that this external dependency is present, but not detectable
4. Abort the installation
[1/2/3/4] 1
+ /usr/bin/sudo "apk" "add" "gmp-dev" "linux-headers"
- (1/3) Installing libgmpxx (6.3.0-r2)
- (2/3) Installing gmp-dev (6.3.0-r2)
- (3/3) Installing linux-headers (6.6-r1)
- OK: 316 MiB in 105 packages
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved conf-gmp.4 (cached)
-> installed conf-gmp.4
-> installed conf-pkg-config.4
-> retrieved dune.3.13.1 (cached)
-> installed conf-linux-libc-dev.0
-> retrieved ocamlfind.1.9.8 (cached)
-> retrieved rocq-runtime.9.0.0 (cached)
-> retrieved zarith.1.14 (cached)
[ERROR] The compilation of dune.3.13.1 failed at "ocaml boot/bootstrap.ml -j 255".
-> installed ocamlfind.1.9.8
-> installed zarith.1.14
#=== ERROR while compiling dune.3.13.1 ========================================#
# context 2.4.0~alpha1~dev | linux/x86_64 | ocaml-base-compiler.5.3.0 | file:///home/opam/opam-repository
# path ~/.opam/5.3/.opam-switch/build/dune.3.13.1
# command ~/.opam/opam-init/hooks/sandbox.sh build ocaml boot/bootstrap.ml -j 255
# exit-code 2
# env-file ~/.opam/log/dune-7-6a8e3b.env
# output-file ~/.opam/log/dune-7-6a8e3b.out
### output ###
# ocamlc -output-complete-exe -w -24 -g -o .duneboot.exe -I boot -I +unix unix.cma boot/libs.ml boot/duneboot.ml
# ./.duneboot.exe -j 255
# cd _boot && /home/opam/.opam/5.3/bin/ocamlopt.opt -c -g -I +unix -I +threads dune_digest_stubs.c
# In file included from /home/opam/.opam/5.3/lib/ocaml/caml/io.h:28,
# from /home/opam/.opam/5.3/lib/ocaml/caml/md5.h:24,
# from src/dune_digest/dune_digest_stubs.c:10:
# /home/opam/.opam/5.3/lib/ocaml/caml/platform.h: In function 'caml_plat_latch_is_released':
# /home/opam/.opam/5.3/lib/ocaml/caml/platform.h:222:10: error: implicit declaration of function 'atomic_load_acquire' [-Wimplicit-function-declaration]
# 222 | return atomic_load_acquire(&latch->value) == Latch_released;
# | ^~~~~~~~~~~~~~~~~~~
# /home/opam/.opam/5.3/lib/ocaml/caml/platform.h: In function 'caml_plat_latch_set':
# /home/opam/.opam/5.3/lib/ocaml/caml/platform.h:230:3: error: implicit declaration of function 'atomic_store_release'; did you mean 'atomic_store_explicit'? [-Wimplicit-function-declaration]
# 230 | atomic_store_release(&latch->value, Latch_unreleased);
# | ^~~~~~~~~~~~~~~~~~~~
# | atomic_store_explicit
#
<><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
+- The following actions failed
| - build dune 3.13.1
+-
+- The following changes have been performed (the rest was aborted)
| - install conf-gmp 4
| - install conf-linux-libc-dev 0
| - install conf-pkg-config 4
| - install ocamlfind 1.9.8
| - install zarith 1.14
+-
# To update the current shell environment, run: eval $(opam env)
The former state can be restored with:
/usr/bin/opam switch import "/home/opam/.opam/5.3/.opam-switch/backup/state-20250312215721.export"
[WARNING] OPAMCONFIRMLEVEL was ignored because CLI 2.0 was requested and it was introduced in 2.1.
[WARNING] OPAMCONFIRMLEVEL was ignored because CLI 2.0 was requested and it was introduced in 2.1.
opam-repo-ci detected dependencies failing: dune.3.13.1
"/usr/bin/env" "bash" "-c" "opam reinstall rocq-runtime.9.0.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 "\"alpine-3.21\""; then
echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.";
fi;
test "$pkg" != 'rocq-runtime.9.0.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 1
2025-03-12 21:57.55: Job failed: Failed: Build failed
2025-03-12 21:57.55: Log analysis:
2025-03-12 21:57.55: >>>
[ERROR] The compilation of dune.3.13.1 failed at "ocaml boot/bootstrap.ml -j 255".
(score = 20)
2025-03-12 21:57.55: >>>
# /home/opam/.opam/5.3/lib/ocaml/caml/platform.h:222:10: error: implicit declaration of function 'atomic_load_acquire' [-Wimplicit-function-declaration]
(score = 30)
2025-03-12 21:57.55: >>>
# /home/opam/.opam/5.3/lib/ocaml/caml/platform.h:230:3: error: implicit declaration of function 'atomic_store_release'; did you mean 'atomic_store_explicit'? [-Wimplicit-function-declaration]
(score = 30)
2025-03-12 21:57.55: >>>
opam-repo-ci detected dependencies failing: dune.3.13.1
(score = 75)
2025-03-12 21:57.55: dune.3.13.1 failed to build