- github
- ocaml
- opam-repository
- 3ff349
- distributions,alpine-3.22-ocaml-4.14,stdcompat.20.1
(not at the head of any monitored branch or PR)
2026-04-08 03:59.26: New job: build stdcompat.20.1, using opam dev
from https://github.com/ocaml/opam-repository.git#refs/pull/29667/head (3ff349ae2cd8702ef7a5124f6b5cdbaaf3350d51)
on alpine-3.22-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/29667/head" && git reset --hard 3ff349ae
git fetch origin master
git merge --no-edit 67472cd54293d750a62d6d4423024d55f77268b0
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:alpine-3.22-ocaml-4.14@sha256:1c3a5ef9216cc43d14bea2bc9b42f4b1ee30cd78bf2e6993672b4c0c52909216
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 stdcompat.20.1 20.1
RUN opam reinstall stdcompat.20.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 "\"alpine-3.22\""; then \
echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
fi; \
test "$pkg" != 'stdcompat.20.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 .
2026-04-08 03:59.26: Using cache hint "ocaml/opam:alpine-3.22-ocaml-4.14@sha256:1c3a5ef9216cc43d14bea2bc9b42f4b1ee30cd78bf2e6993672b4c0c52909216-stdcompat.20.1-3ff349ae2cd8702ef7a5124f6b5cdbaaf3350d51"
2026-04-08 03:59.26: Using OBuilder spec:
((from ocaml/opam:alpine-3.22-ocaml-4.14@sha256:1c3a5ef9216cc43d14bea2bc9b42f4b1ee30cd78bf2e6993672b4c0c52909216)
(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 stdcompat.20.1 20.1"))
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall stdcompat.20.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 \"\\\"alpine-3.22\\\"\"; then\
\n echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
\n fi;\
\n test \"$pkg\" != 'stdcompat.20.1' && 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-08 03:59.26: Waiting for resource in pool OCluster
2026-04-08 04:15.50: Waiting for worker…
2026-04-08 04:17.20: Got resource from pool OCluster
Building on doris.caelum.ci.dev
All commits already cached
HEAD is now at 67472cd542 Merge pull request #29652 from RyanGibb/master
Updating 67472cd542..3ff349ae2c
Fast-forward
packages/stdcompat/stdcompat.0/opam | 2 +-
packages/stdcompat/stdcompat.1/opam | 2 +-
packages/stdcompat/stdcompat.15/opam | 2 +-
packages/stdcompat/stdcompat.16/opam | 2 +-
packages/stdcompat/stdcompat.17/opam | 2 +-
packages/stdcompat/stdcompat.18/opam | 2 +-
packages/stdcompat/stdcompat.19/opam | 2 +-
packages/stdcompat/stdcompat.20.0/opam | 2 +-
packages/stdcompat/stdcompat.20.1/opam | 2 +-
packages/stdcompat/stdcompat.21.0/opam | 2 +-
packages/stdcompat/stdcompat.21.1/opam | 2 +-
11 files changed, 11 insertions(+), 11 deletions(-)
(from ocaml/opam:alpine-3.22-ocaml-4.14@sha256:1c3a5ef9216cc43d14bea2bc9b42f4b1ee30cd78bf2e6993672b4c0c52909216)
Unable to find image 'ocaml/opam:alpine-3.22-ocaml-4.14@sha256:1c3a5ef9216cc43d14bea2bc9b42f4b1ee30cd78bf2e6993672b4c0c52909216' locally
docker.io/ocaml/opam@sha256:1c3a5ef9216cc43d14bea2bc9b42f4b1ee30cd78bf2e6993672b4c0c52909216: Pulling from ocaml/opam
2d35ebdb57d9: Pulling fs layer
adfc86c1accf: Pulling fs layer
2d35ebdb57d9: Waiting
d09377907434: Pulling fs layer
adfc86c1accf: Waiting
a699cf44908b: Pulling fs layer
d09377907434: Waiting
c088e74f1f31: Pulling fs layer
a699cf44908b: Waiting
7e99e6eaa847: Pulling fs layer
c088e74f1f31: Waiting
db4b89a22482: Pulling fs layer
7e99e6eaa847: Waiting
f1f17593da04: Pulling fs layer
db4b89a22482: Waiting
bb79fbf72548: Pulling fs layer
f1f17593da04: Waiting
cf69890848e3: Pulling fs layer
bb79fbf72548: Waiting
80e325d6146c: Pulling fs layer
66a526c41d4c: Pulling fs layer
cf69890848e3: Waiting
80e325d6146c: Waiting
347d38b311ac: Pulling fs layer
984612fde4c4: Pulling fs layer
0ac0da982daa: Pulling fs layer
347d38b311ac: Waiting
209c9bca9b0e: Pulling fs layer
984612fde4c4: Waiting
0ac0da982daa: Waiting
66a526c41d4c: Waiting
3d3356d548ff: Pulling fs layer
c072da09f122: Pulling fs layer
209c9bca9b0e: Waiting
3d3356d548ff: Waiting
4f4fb700ef54: Pulling fs layer
eff3d806a4a8: Pulling fs layer
c072da09f122: Waiting
4f4fb700ef54: Waiting
f5c413f5234b: Pulling fs layer
09ddc5430e22: Pulling fs layer
2c7c283b1afc: Pulling fs layer
eff3d806a4a8: Waiting
4af9a971b585: Pulling fs layer
f5c413f5234b: Waiting
09ddc5430e22: Waiting
2c7c283b1afc: Waiting
df8d9be3e30d: Pulling fs layer
5e55ae3325a7: Pulling fs layer
4af9a971b585: Waiting
635cb27b4304: Pulling fs layer
898fbde8ad42: Pulling fs layer
5e55ae3325a7: Waiting
635cb27b4304: Waiting
66c0ffc92413: Pulling fs layer
c8cca855638d: Pulling fs layer
898fbde8ad42: Waiting
66c0ffc92413: Waiting
45d2501a899c: Pulling fs layer
10b0fe6926c2: Pulling fs layer
c8cca855638d: Waiting
0a1d7b83a687: Pulling fs layer
2c3441915309: Pulling fs layer
10b0fe6926c2: Waiting
3d1a575b1bb0: Pulling fs layer
6e5fa830b59d: Pulling fs layer
72225f5a6449: Pulling fs layer
2c3441915309: Waiting
3d1a575b1bb0: Waiting
5a8b6a59afe3: Pulling fs layer
6e5fa830b59d: Waiting
81299dd100ce: Pulling fs layer
5a8b6a59afe3: Waiting
72225f5a6449: Waiting
ad267db4d3a7: Pulling fs layer
de32f8de692b: Pulling fs layer
ad267db4d3a7: Waiting
de32f8de692b: Waiting
2d35ebdb57d9: Verifying Checksum
2d35ebdb57d9: Download complete
adfc86c1accf: Verifying Checksum
adfc86c1accf: Download complete
2d35ebdb57d9: Pull complete
adfc86c1accf: Pull complete
d09377907434: Verifying Checksum
d09377907434: Download complete
d09377907434: Pull complete
c088e74f1f31: Verifying Checksum
c088e74f1f31: Download complete
7e99e6eaa847: Verifying Checksum
7e99e6eaa847: Download complete
db4b89a22482: Verifying Checksum
db4b89a22482: Download complete
f1f17593da04: Verifying Checksum
f1f17593da04: Download complete
bb79fbf72548: Verifying Checksum
bb79fbf72548: Download complete
cf69890848e3: Verifying Checksum
cf69890848e3: Download complete
80e325d6146c: Verifying Checksum
80e325d6146c: Download complete
66a526c41d4c: Verifying Checksum
66a526c41d4c: Download complete
a699cf44908b: Verifying Checksum
a699cf44908b: Download complete
347d38b311ac: Verifying Checksum
347d38b311ac: Download complete
984612fde4c4: Download complete
0ac0da982daa: Download complete
209c9bca9b0e: Verifying Checksum
209c9bca9b0e: Download complete
c072da09f122: Download complete
3d3356d548ff: Verifying Checksum
3d3356d548ff: Download complete
4f4fb700ef54: Verifying Checksum
4f4fb700ef54: Download complete
eff3d806a4a8: Download complete
f5c413f5234b: Download complete
09ddc5430e22: Download complete
2c7c283b1afc: Download complete
4af9a971b585: Download complete
df8d9be3e30d: Verifying Checksum
df8d9be3e30d: Download complete
5e55ae3325a7: Download complete
898fbde8ad42: Download complete
635cb27b4304: Download complete
66c0ffc92413: Download complete
45d2501a899c: Download complete
c8cca855638d: Verifying Checksum
c8cca855638d: Download complete
0a1d7b83a687: Download complete
3d1a575b1bb0: Verifying Checksum
3d1a575b1bb0: Download complete
6e5fa830b59d: Download complete
72225f5a6449: Verifying Checksum
72225f5a6449: Download complete
a699cf44908b: Pull complete
c088e74f1f31: Pull complete
7e99e6eaa847: Pull complete
db4b89a22482: Pull complete
f1f17593da04: Pull complete
bb79fbf72548: Pull complete
cf69890848e3: Pull complete
80e325d6146c: Pull complete
66a526c41d4c: Pull complete
347d38b311ac: Pull complete
984612fde4c4: Pull complete
0ac0da982daa: Pull complete
209c9bca9b0e: Pull complete
3d3356d548ff: Pull complete
c072da09f122: Pull complete
4f4fb700ef54: Pull complete
eff3d806a4a8: Pull complete
f5c413f5234b: Pull complete
09ddc5430e22: Pull complete
2c7c283b1afc: Pull complete
4af9a971b585: Pull complete
df8d9be3e30d: Pull complete
5e55ae3325a7: Pull complete
635cb27b4304: Pull complete
898fbde8ad42: Pull complete
66c0ffc92413: Pull complete
c8cca855638d: Pull complete
45d2501a899c: Pull complete
2c3441915309: Verifying Checksum
2c3441915309: Download complete
81299dd100ce: Download complete
10b0fe6926c2: Verifying Checksum
10b0fe6926c2: Download complete
de32f8de692b: Verifying Checksum
de32f8de692b: Download complete
ad267db4d3a7: Download complete
5a8b6a59afe3: Verifying Checksum
5a8b6a59afe3: Download complete
10b0fe6926c2: Pull complete
0a1d7b83a687: Pull complete
2c3441915309: Pull complete
3d1a575b1bb0: Pull complete
6e5fa830b59d: Pull complete
72225f5a6449: Pull complete
5a8b6a59afe3: Pull complete
81299dd100ce: Pull complete
ad267db4d3a7: Pull complete
de32f8de692b: Pull complete
Digest: sha256:1c3a5ef9216cc43d14bea2bc9b42f4b1ee30cd78bf2e6993672b4c0c52909216
Status: Downloaded newer image for ocaml/opam@sha256:1c3a5ef9216cc43d14bea2bc9b42f4b1ee30cd78bf2e6993672b4c0c52909216
2026-04-08 04:18.23 ---> using "d1cef22083ba59d6db4e2f107091c68dd70ebdcc64c3894ad7db7be62ad17f4a" 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-08 04:18.23 ---> using "d2cb172e755b5e8a0ee24e133445a3ea22478f4e48886729c76cbcde08270342" 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-08 04:18.23 ---> using "4b7ed401555204d1f183307388cb649d473c8a52ff80ce2f5a4e8504a88269c7" 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.0
# self-upgrade no
# system arch=x86_64 os=linux os-distribution=alpine os-version=3.22.2
# solver builtin-0install
# install-criteria -changed,-count[avoid-version,solution]
# upgrade-criteria -count[avoid-version,solution]
# jobs 255
# repositories 1 (version-controlled)
# pinned 1 (version)
# current-switch 4.14
# invariant ["ocaml-base-compiler" {= "4.14.2"}]
# compiler-packages ocaml-base-compiler.4.14.2, ocaml-options-vanilla.1
# ocaml:native true
# ocaml:native-tools true
# ocaml:native-dynlink true
# ocaml:stubsdir /home/opam/.opam/4.14/lib/ocaml/stublibs:/home/opam/.opam/4.14/lib/ocaml
# ocaml:preinstalled false
# ocaml:compiler 4.14.2
2026-04-08 04:18.23 ---> using "9b1883465557a61ecd00e6282d59de098d32d80cc71a923a8ed0faa5af1a02e7" 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-08 04:18.23 ---> using "be1c70f0be6391803fdc2f3adb75bd0fc31dd6c9a80328fabfc5d1e074dcb1ff" from cache
/home/opam: (copy (src .) (dst opam-repository/))
2026-04-08 04:19.03 ---> saved as "456614d3103b12f898216b94e0ed56e913fe434d8946cbe5eec51929433a979d"
/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2026-04-08 04:19.22 ---> saved as "9a79450f6144c724f571c336eea9ef2665ce246896950c70e370615cf8e44135"
/home/opam: (run (network host)
(shell "opam update --depexts || true"))
+ /usr/bin/sudo "apk" "update"
- fetch https://dl-cdn.alpinelinux.org/alpine/v3.22/main/x86_64/APKINDEX.tar.gz
- fetch https://dl-cdn.alpinelinux.org/alpine/v3.22/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.22.3-112-gc90fc322983 [https://dl-cdn.alpinelinux.org/alpine/v3.22/main]
- v3.22.3-112-gc90fc322983 [https://dl-cdn.alpinelinux.org/alpine/v3.22/community]
- v20260127-7142-gbd040a49f65 [https://dl-cdn.alpinelinux.org/alpine/edge/main]
- v20260127-7161-gf879d20fd0e [https://dl-cdn.alpinelinux.org/alpine/edge/community]
- v20260127-7162-g914b7cb193f [https://dl-cdn.alpinelinux.org/alpine/edge/testing]
- OK: 61244 distinct packages available
2026-04-08 04:19.24 ---> saved as "f4f4a2af1f0b5e6c680e9304d6361d149408c9f773e05c9ee323a8956e9b0af7"
/home/opam: (run (shell "opam pin add -k version -yn stdcompat.20.1 20.1"))
stdcompat is now pinned to version 20.1
2026-04-08 04:19.25 ---> saved as "2cb5511fdee6adaef382b505e59c47628ac61e9a55d0df72bbfd32db7b71bcb1"
/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall stdcompat.20.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 \"\\\"alpine-3.22\\\"\"; then\
\n echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
\n fi;\
\n test \"$pkg\" != 'stdcompat.20.1' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
stdcompat.20.1 is not installed. Install it? [Y/n] y
The following actions will be performed:
=== install 3 packages
- install conf-autoconf 0.2 [required by stdcompat]
- install dune 3.22.1 [required by stdcompat]
- install stdcompat 20.1 (pinned)
The following system packages will first need to be installed:
autoconf
<><> 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" "autoconf"
- (1/6) Installing m4 (1.4.19-r4)
- (2/6) Installing perl (5.40.4-r0)
- (3/6) Installing autoconf (2.72-r1)
- (4/6) Installing perl-error (0.17030-r0)
- (5/6) Installing perl-git (2.49.1-r0)
- (6/6) Installing git-perl (2.49.1-r0)
- Executing busybox-1.37.0-r20.trigger
- OK: 346 MiB in 108 packages
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> installed conf-autoconf.0.2
-> retrieved dune.3.22.1 (cached)
-> retrieved stdcompat.20.1 (cached)
-> installed dune.3.22.1
-> installed stdcompat.20.1
Done.
# To update the current shell environment, run: eval $(opam env)
2026-04-08 04:20.07 ---> saved as "c01ffe3d7351a902b0278b19ace88a039a2c9797ddb6f0c955ae7361303b44e7"
Job succeeded
2026-04-08 04:21.30: Job succeeded