(for PR #29830)
2026-04-30 12:44.50: New job: build rocq-stdlib.9.1.0, using opam dev
from https://github.com/ocaml/opam-repository.git#refs/pull/29830/head (7a15accc2f9050d2c7e012666e2f93808daf13c0)
on archlinux-ocaml-5.4/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/29830/head" && git reset --hard 7a15accc
git fetch origin master
git merge --no-edit d1c56642b8ca7e1166c90bfe0c74f38007bbad58
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:archlinux-ocaml-5.4@sha256:b927b50007739db8eda5c5cccba46bdd510181b1bf2664a3a189d906aa19f893
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-stdlib.9.1.0 9.1.0
RUN opam reinstall rocq-stdlib.9.1.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" != 'rocq-stdlib.9.1.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 .
2026-04-30 12:44.50: Using cache hint "ocaml/opam:archlinux-ocaml-5.4@sha256:b927b50007739db8eda5c5cccba46bdd510181b1bf2664a3a189d906aa19f893-rocq-stdlib.9.1.0-7a15accc2f9050d2c7e012666e2f93808daf13c0"
2026-04-30 12:44.50: Using OBuilder spec:
((from ocaml/opam:archlinux-ocaml-5.4@sha256:b927b50007739db8eda5c5cccba46bdd510181b1bf2664a3a189d906aa19f893)
(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-stdlib.9.1.0 9.1.0"))
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall rocq-stdlib.9.1.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\" != 'rocq-stdlib.9.1.0' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
)
2026-04-30 12:44.50: Waiting for resource in pool OCluster
2026-04-30 14:24.37: Waiting for worker…
2026-04-30 14:26.57: Got resource from pool OCluster
Building on phoebe.caelum.ci.dev
All commits already cached
HEAD is now at d1c56642b8 Merge pull request #29820 from jmid/core-0.17.1-bound
Updating d1c56642b8..7a15accc2f
Fast-forward
packages/rocq-stdlib/rocq-stdlib.9.1.0/opam | 39 +++++++++++++++++++++++++++++
1 file changed, 39 insertions(+)
create mode 100644 packages/rocq-stdlib/rocq-stdlib.9.1.0/opam
(from ocaml/opam:archlinux-ocaml-5.4@sha256:b927b50007739db8eda5c5cccba46bdd510181b1bf2664a3a189d906aa19f893)
Unable to find image 'ocaml/opam:archlinux-ocaml-5.4@sha256:b927b50007739db8eda5c5cccba46bdd510181b1bf2664a3a189d906aa19f893' locally
docker.io/ocaml/opam@sha256:b927b50007739db8eda5c5cccba46bdd510181b1bf2664a3a189d906aa19f893: Pulling from ocaml/opam
1dd624a5d250: Already exists
ab6ef42a20b3: Already exists
8335b2da987f: Already exists
07053c5e0684: Already exists
1a77621a839a: Already exists
34e0639e9c9b: Already exists
cbb65aec2778: Already exists
f15678b0d94e: Already exists
2859404e1f79: Already exists
e1251a8ee6a9: Already exists
9e240a85c667: Already exists
f7f232c44105: Already exists
3cf2da3f0427: Already exists
6ae550de2c94: Already exists
6ae550de2c94: Already exists
4f4fb700ef54: Already exists
10691a79ad56: Already exists
fc6bf6e518a8: Already exists
2c2332ebfc4e: Already exists
2244f80174da: Already exists
8b8a8da2fcc9: Already exists
45a4d5a95293: Already exists
6ad4a54fd688: Already exists
6945723d26db: Already exists
58d384831e2f: Already exists
cfa289cf0dae: Already exists
9269dbf7d853: Already exists
f53312768181: Already exists
054a65f3adcf: Already exists
3895fdaa1f8e: Already exists
7ea80ad38e3f: Already exists
40f3bd58c539: Already exists
7af57c27a2d4: Already exists
a97d03ec00ee: Already exists
022362d21123: Pulling fs layer
8e24e063b421: Pulling fs layer
7b15253282cf: Pulling fs layer
371227402c81: Pulling fs layer
ba8c522c148a: Pulling fs layer
371227402c81: Waiting
ba8c522c148a: Waiting
022362d21123: Verifying Checksum
022362d21123: Download complete
022362d21123: Pull complete
7b15253282cf: Verifying Checksum
7b15253282cf: Download complete
371227402c81: Download complete
ba8c522c148a: Verifying Checksum
ba8c522c148a: Download complete
8e24e063b421: Verifying Checksum
8e24e063b421: Download complete
8e24e063b421: Pull complete
7b15253282cf: Pull complete
371227402c81: Pull complete
ba8c522c148a: Pull complete
Digest: sha256:b927b50007739db8eda5c5cccba46bdd510181b1bf2664a3a189d906aa19f893
Status: Downloaded newer image for ocaml/opam@sha256:b927b50007739db8eda5c5cccba46bdd510181b1bf2664a3a189d906aa19f893
2026-04-30 14:27.34 ---> using "d40348773b17440ff840a2b30b47919a05fdb0d7c083a60530cb3eee7955d1aa" from cache
/: (user (uid 1000) (gid 1000))
/: (workdir /home/opam)
/home/opam: (run (shell "sudo ln -f /usr/bin/opam-dev /usr/bin/opam"))
2026-04-30 14:27.34 ---> using "f714c7ea31eff5fe70e5bff68afbb5437b140f303f0d263034217e3c0e20ce20" 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 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] Initialised
2026-04-30 14:27.34 ---> using "9c196e2df3271964d98282b68d84f85e632a65cadcd6e783aa1db582b8d62d8e" 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.5.1
# self-upgrade no
# system arch=x86_64 os=linux os-distribution=arch os-version=20260419.0.517065
# solver builtin-0install
# install-criteria -changed,-count[avoid-version,solution]
# upgrade-criteria -count[avoid-version,solution]
# jobs 71
# repositories 1 (version-controlled)
# pinned 1 (version)
# current-switch 5.4
# invariant ["ocaml-base-compiler" {= "5.4.1"}]
# compiler-packages ocaml-base-compiler.5.4.1, ocaml-compiler.5.4.1, ocaml-options-vanilla.1
# ocaml:native true
# ocaml:native-tools true
# ocaml:native-dynlink true
# ocaml:stubsdir /home/opam/.opam/5.4/lib/ocaml/stublibs:/home/opam/.opam/5.4/lib/ocaml
# ocaml:preinstalled false
# ocaml:compiler 5.4.1
2026-04-30 14:27.34 ---> using "3e876a6a74796398020f31ad02f020524f1fd26fb6a856c07d918ecad04aa4ba" 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/"))
2026-04-30 14:27.34 ---> using "66ec6e3a600561eb070a318d159958cbc992fd337599a479b297b84acad6d74e" from cache
/home/opam: (copy (src .) (dst opam-repository/))
2026-04-30 14:28.47 ---> saved as "08dd71026a3e50de5ee2a3c7cfca15232955acd96abddbe300219dcf4c06225c"
/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2026-04-30 14:29.10 ---> saved as "b55a95f94854a1dd8a8199d0484747bc1c8f2d1ecc368bc06145e1eba2f59126"
/home/opam: (run (network host)
(shell "opam update --depexts || true"))
+ /usr/sbin/sudo "pacman" "-Sy"
- :: Synchronizing package databases...
- core downloading...
- extra downloading...
2026-04-30 14:29.17 ---> saved as "605738be8fc1df3f6f345f78e1ca7f9c5579ae516b82c66bf379cff40c951d99"
/home/opam: (run (shell "opam pin add -k version -yn rocq-stdlib.9.1.0 9.1.0"))
rocq-stdlib is now pinned to version 9.1.0
2026-04-30 14:29.22 ---> saved as "7dd1089bdd4342165630cae62fbd004f034138741c1e741c181b00b11747d87d"
/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall rocq-stdlib.9.1.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\" != 'rocq-stdlib.9.1.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-stdlib.9.1.0 is not installed. Install it? [Y/n] y
The following actions will be performed:
=== install 9 packages
∗ conf-gmp 5 [required by zarith]
∗ conf-linux-libc-dev 0 [required by rocq-runtime]
∗ conf-pkg-config 4 [required by zarith]
∗ dune 3.22.2 [required by rocq-core]
∗ ocamlfind 1.9.8 [required by rocq-runtime]
∗ rocq-core 9.2.0 [required by rocq-stdlib]
∗ rocq-runtime 9.2.0 [required by rocq-stdlib]
∗ rocq-stdlib 9.1.0 (pinned)
∗ 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 (9) Old Version New Version Net Change Download Size
-
- extra/bubblewrap 0.11.1-1 0.11.2-1 0.00 MiB 0.04 MiB
- core/device-mapper 2.03.39-1 2.03.40-1 0.02 MiB 0.29 MiB
- core/expat 2.7.5-1 2.8.0-1 0.01 MiB 0.12 MiB
- core/iana-etc 20260409-1 20260425-1 0.00 MiB 0.39 MiB
- core/libbpf 1.6.2-1 1.7.0-1 0.02 MiB 0.26 MiB
- core/libgpg-error 1.59-1 1.60-1 0.01 MiB 0.27 MiB
- extra/rsync 3.4.1-2 3.4.2-1 0.00 MiB 0.36 MiB
- core/sed 4.9-3 4.10-1 0.08 MiB 0.24 MiB
- core/pkgconf 2.5.1-1 0.20 MiB 0.07 MiB
-
- Total Download Size: 2.04 MiB
- Total Installed Size: 9.00 MiB
- Net Upgrade Size: 0.33 MiB
-
- :: Proceed with installation? [Y/n]
- :: Retrieving packages...
- iana-etc-20260425-1-any downloading...
- rsync-3.4.2-1-x86_64 downloading...
- device-mapper-2.03.40-1-x86_64 downloading...
- libgpg-error-1.60-1-x86_64 downloading...
- libbpf-1.7.0-1-x86_64 downloading...
- sed-4.10-1-x86_64 downloading...
- expat-2.8.0-1-x86_64 downloading...
- pkgconf-2.5.1-1-x86_64 downloading...
- bubblewrap-0.11.2-1-x86_64 downloading...
- checking keyring...
- checking package integrity...
- loading package files...
- checking for file conflicts...
- :: Processing package changes...
- upgrading iana-etc...
- installing pkgconf...
- upgrading libgpg-error...
- upgrading bubblewrap...
- upgrading device-mapper...
- upgrading expat...
- upgrading libbpf...
- upgrading rsync...
- upgrading sed...
- :: Running post-transaction hooks...
- (1/4) Reloading system manager configuration...
- Failed to check for chroot() environment: Permission denied
- Skipped: Current root is not booted.
- (2/4) Enqueuing marked services...
- Failed to check for chroot() environment: Permission denied
- Skipped: Current root is not booted.
- (3/4) Reloading device manager configuration...
- Failed to check for chroot() environment: Permission denied
- Skipped: Current root is not booted.
- (4/4) Arming ConditionNeedsUpdate...
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
⬇ retrieved conf-gmp.5 (cached)
∗ installed conf-gmp.5
∗ installed conf-pkg-config.4
∗ installed conf-linux-libc-dev.0
⬇ retrieved dune.3.22.2 (cached)
⬇ retrieved ocamlfind.1.9.8 (cached)
⬇ retrieved rocq-core.9.2.0, rocq-runtime.9.2.0 (cached)
⬇ retrieved rocq-stdlib.9.1.0 (https://github.com/coq/stdlib/releases/download/V9.1.0/stdlib-9.1.0.tar.gz)
⬇ retrieved zarith.1.14 (cached)
∗ installed ocamlfind.1.9.8
∗ installed zarith.1.14
∗ installed dune.3.22.2
∗ installed rocq-runtime.9.2.0
∗ installed rocq-core.9.2.0
∗ installed rocq-stdlib.9.1.0
Done.
# To update the current shell environment, run: eval $(opam env)
2026-04-30 14:35.30 ---> saved as "2c449a4d6b23c1617dbdd1d1492de93711f27091ce963cf12369afdd420c9dd7"
Job succeeded
2026-04-30 14:35.36: Job succeeded