- github
- ocaml
- opam-repository
- 049abd
- distributions,archlinux-ocaml-5.3,coq-stdlib.9.0.0
(not at the head of any monitored branch or PR)
2025-03-12 21:29.51: New job: build coq-stdlib.9.0.0, using opam dev
from https://github.com/ocaml/opam-repository.git#refs/pull/27614/head (049abdee9423b192d1da705f43d97ead6e3ad3ad)
on archlinux-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:archlinux-ocaml-5.3@sha256:5e8a161d53f5bff428a9708edb6707eec9b5c48dcf456bd8cfc93e5ef5bc1b28
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 coq-stdlib.9.0.0 9.0.0
RUN opam reinstall coq-stdlib.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 "\"archlinux\""; then \
echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
fi; \
test "$pkg" != 'coq-stdlib.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:archlinux-ocaml-5.3@sha256:5e8a161d53f5bff428a9708edb6707eec9b5c48dcf456bd8cfc93e5ef5bc1b28-coq-stdlib.9.0.0-049abdee9423b192d1da705f43d97ead6e3ad3ad"
2025-03-12 21:29.51: Using OBuilder spec:
((from ocaml/opam:archlinux-ocaml-5.3@sha256:5e8a161d53f5bff428a9708edb6707eec9b5c48dcf456bd8cfc93e5ef5bc1b28)
(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 coq-stdlib.9.0.0 9.0.0"))
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall coq-stdlib.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 \"\\\"archlinux\\\"\"; then\
\n echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
\n fi;\
\n test \"$pkg\" != 'coq-stdlib.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.11: Waiting for worker…
2025-03-12 21:56.12: Got resource from pool OCluster
Building on x86-bm-c2.sw.ocaml.org
All commits already cached
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:archlinux-ocaml-5.3@sha256:5e8a161d53f5bff428a9708edb6707eec9b5c48dcf456bd8cfc93e5ef5bc1b28)
2025-03-12 21:56.14 ---> using "92b4d1934d92e9beb48836d85dff9a6685128a32510c0eeb9af970e0574e1d15" 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.14 ---> using "369930913f974a8fb7909cdee3544f11bc2c85b635f4ff6655faa1db291f6daf" 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
[NOTE] The 'jobs' option was reset, its value was 31 and its new value will vary according to the current number of cores on your machine. You can restore the fixed value using:
opam option jobs=31 --global
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.14 ---> using "f0cab1f5114553a4052d42df8567bdaf39d0dbfeeb450ca5d3c86ffab9e9198f" 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=arch os-version=20250302.0.316047
# solver builtin-0install
# install-criteria -changed,-count[avoid-version,solution]
# upgrade-criteria -count[avoid-version,solution]
# jobs 39
# 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.14 ---> using "f2c9348dbc0c6f44b8a79cd8072c5e38115c0db8aa1da29efd624b765d6fd91e" 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.14 ---> using "f8a64e2dea6d3bdd39048f3c8beffe0ad34ef7d6bc85fd14514f0834b45bfa19" from cache
/home/opam: (copy (src .) (dst opam-repository/))
2025-03-12 21:56.20 ---> saved as "c796fbdd88145fc77b9f47cc70112003ed984dff33c311f68a7ea7fbab40a74d"
/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2025-03-12 21:57.04 ---> saved as "54ab2cdd1de562474ef805ecfa600e0f8d952d91cedc851f22bc6617eaa9ba13"
/home/opam: (run (network host)
(shell "opam update --depexts || true"))
+ /usr/sbin/sudo "pacman" "-Sy"
- :: Synchronizing package databases...
- core downloading...
- extra downloading...
2025-03-12 21:57.08 ---> saved as "25f78a9962aff36d44faf868ec327f9474faad55c6c86157bea04995fe80ec5f"
/home/opam: (run (shell "opam pin add -k version -yn coq-stdlib.9.0.0 9.0.0"))
coq-stdlib is now pinned to version 9.0.0
2025-03-12 21:57.10 ---> saved as "e762162352cd01c4af302f9ba998e6c4c8a85133b303248eec93a7edaa3af631"
/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall coq-stdlib.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 \"\\\"archlinux\\\"\"; then\
\n echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
\n fi;\
\n test \"$pkg\" != 'coq-stdlib.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"))
coq-stdlib.9.0.0 is not installed. Install it? [Y/n] y
The following actions will be performed:
=== install 11 packages
∗ conf-gmp 4 [required by zarith]
∗ conf-linux-libc-dev 0 [required by rocq-runtime]
∗ conf-pkg-config 4 [required by zarith]
∗ coq-core 9.0.0 [required by coq-stdlib]
∗ coq-stdlib 9.0.0 (pinned)
∗ dune 3.13.1 [required by coq-stdlib]
∗ ocamlfind 1.9.8 [required by rocq-runtime]
∗ rocq-core 9.0.0 [required by rocq-stdlib]
∗ rocq-runtime 9.0.0 [required by coq-core, rocq-stdlib]
∗ rocq-stdlib 9.0.0 [required by coq-stdlib]
∗ zarith 1.14 [required by rocq-runtime]
The following system packages will first need to be installed:
pkgconf
<><> Handling external dependencies <><><><><><><><><><><><><><><><><><><><><><>
opam believes some required external dependencies are missing. opam can:
> 1. Run pacman to install them (may need root/sudo access)
2. Display the recommended pacman 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/sbin/sudo "pacman" "-Su" "--noconfirm" "pkgconf"
- :: Starting full system upgrade...
- resolving dependencies...
- looking for conflicting packages...
-
- Package (6) Old Version New Version Net Change Download Size
-
- core/bash 5.2.037-1 5.2.037-2 0.00 MiB 1.80 MiB
- core/libarchive 3.7.7-1 3.7.7-2 0.00 MiB 0.54 MiB
- core/libcap 2.71-1 2.75-1 0.04 MiB 0.76 MiB
- extra/libx11 1.8.11-1 1.8.12-1 0.00 MiB 2.00 MiB
- core/pacman-mirrorlist 20250101-1 20250311-1 0.00 MiB 0.01 MiB
- core/pkgconf 2.3.0-1 0.16 MiB 0.06 MiB
-
- Total Download Size: 5.17 MiB
- Total Installed Size: 22.33 MiB
- Net Upgrade Size: 0.21 MiB
-
- :: Proceed with installation? [Y/n]
- :: Retrieving packages...
- libx11-1.8.12-1-x86_64 downloading...
- bash-5.2.037-2-x86_64 downloading...
- libcap-2.75-1-x86_64 downloading...
- libarchive-3.7.7-2-x86_64 downloading...
- pkgconf-2.3.0-1-x86_64 downloading...
- pacman-mirrorlist-20250311-1-any downloading...
- checking keyring...
- checking package integrity...
- loading package files...
- checking for file conflicts...
- :: Processing package changes...
- upgrading bash...
- installing pkgconf...
- upgrading libarchive...
- upgrading libcap...
- upgrading libx11...
- upgrading pacman-mirrorlist...
- :: Running post-transaction hooks...
- (1/1) Arming ConditionNeedsUpdate...
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
⬇ retrieved conf-gmp.4 (cached)
⬇ retrieved coq-core.9.0.0, rocq-core.9.0.0, rocq-runtime.9.0.0 (cached)
∗ installed conf-gmp.4
∗ installed conf-pkg-config.4
∗ installed conf-linux-libc-dev.0
⬇ retrieved coq-stdlib.9.0.0, rocq-stdlib.9.0.0 (cached)
⬇ retrieved dune.3.13.1 (cached)
⬇ retrieved ocamlfind.1.9.8 (cached)
⬇ retrieved zarith.1.14 (cached)
[ERROR] The compilation of dune.3.13.1 failed at "ocaml boot/bootstrap.ml -j 39".
∗ 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 39
# exit-code 2
# env-file ~/.opam/log/dune-7-b6ad43.env
# output-file ~/.opam/log/dune-7-b6ad43.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 39
# 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-20250312215711.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 coq-stdlib.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 "\"archlinux\""; then
echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.";
fi;
test "$pkg" != 'coq-stdlib.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.48: Job failed: Failed: Build failed
2025-03-12 21:57.48: Log analysis:
2025-03-12 21:57.48: >>>
[ERROR] The compilation of dune.3.13.1 failed at "ocaml boot/bootstrap.ml -j 39".
(score = 20)
2025-03-12 21:57.48: >>>
# /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.48: >>>
# /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.48: >>>
opam-repo-ci detected dependencies failing: dune.3.13.1
(score = 75)
2025-03-12 21:57.48: dune.3.13.1 failed to build