- github
- ocaml
- opam-repository
- 1b214d
- distributions,alpine-3.21-ocaml-4.14,guile.1.0
(not at the head of any monitored branch or PR)
2025-06-09 08:15.48: New job: build guile.1.0, using opam dev
from https://github.com/ocaml/opam-repository.git#refs/pull/27772/head (1b214dd1185915e20dd24d04fd5fd7e7b18b7118)
on alpine-3.21-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/27772/head" && git reset --hard 1b214dd1
git fetch origin master
git merge --no-edit d6f4eb7a6c58d3239a0944191739b7c405d367af
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:alpine-3.21-ocaml-4.14@sha256:f21c55fd62420a059391d2f5dc1f4acc0f84692ea17251a9696142ef09cc1abc
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 guile.1.0 1.0
RUN opam reinstall guile.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 "\"alpine-3.21\""; then \
echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
fi; \
test "$pkg" != 'guile.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 .
2025-06-09 08:15.48: Using cache hint "ocaml/opam:alpine-3.21-ocaml-4.14@sha256:f21c55fd62420a059391d2f5dc1f4acc0f84692ea17251a9696142ef09cc1abc-guile.1.0-1b214dd1185915e20dd24d04fd5fd7e7b18b7118"
2025-06-09 08:15.48: Using OBuilder spec:
((from ocaml/opam:alpine-3.21-ocaml-4.14@sha256:f21c55fd62420a059391d2f5dc1f4acc0f84692ea17251a9696142ef09cc1abc)
(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 guile.1.0 1.0"))
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall guile.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 \"\\\"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\" != 'guile.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"))
)
2025-06-09 08:15.48: Waiting for resource in pool OCluster
2025-06-09 08:15.48: Waiting for worker…
2025-06-09 08:15.55: Got resource from pool OCluster
Building on asteria.caelum.ci.dev
All commits already cached
Updating files: 98% (22803/23213)
Updating files: 99% (22981/23213)
Updating files: 100% (23213/23213)
Updating files: 100% (23213/23213), done.
HEAD is now at d6f4eb7a6c Merge pull request #27994 from claudemarche/master
Auto-merging packages/conf-guile/conf-guile.1/opam
Merge made by the 'ort' strategy.
Auto packing the repository in background for optimum performance.
See "git help gc" for manual housekeeping.
warning: The last gc run reported the following. Please correct the root cause
and remove .git/gc.log
Automatic cleanup will not be performed until the file is removed.
warning: There are too many unreachable loose objects; run 'git prune' to remove them.
packages/conf-guile/conf-guile.1/opam | 1 +
packages/guile/guile.1.0/opam | 8 ++++++++
2 files changed, 9 insertions(+)
(from ocaml/opam:alpine-3.21-ocaml-4.14@sha256:f21c55fd62420a059391d2f5dc1f4acc0f84692ea17251a9696142ef09cc1abc)
Unable to find image 'ocaml/opam:alpine-3.21-ocaml-4.14@sha256:f21c55fd62420a059391d2f5dc1f4acc0f84692ea17251a9696142ef09cc1abc' locally
docker.io/ocaml/opam@sha256:f21c55fd62420a059391d2f5dc1f4acc0f84692ea17251a9696142ef09cc1abc: Pulling from ocaml/opam
82ddd567c1b0: Pulling fs layer
d96db50d3b95: Pulling fs layer
c99595729266: Pulling fs layer
9dcbd23aebd7: Pulling fs layer
0579650eec45: Pulling fs layer
82ddd567c1b0: Waiting
9dcbd23aebd7: Waiting
d96db50d3b95: Waiting
0579650eec45: Waiting
c99595729266: Waiting
82ddd567c1b0: Verifying Checksum
82ddd567c1b0: Download complete
d96db50d3b95: Verifying Checksum
d96db50d3b95: Download complete
c99595729266: Verifying Checksum
c99595729266: Download complete
9dcbd23aebd7: Download complete
0579650eec45: Verifying Checksum
0579650eec45: Download complete
82ddd567c1b0: Pull complete
d96db50d3b95: Pull complete
c99595729266: Pull complete
9dcbd23aebd7: Pull complete
0579650eec45: Pull complete
Digest: sha256:f21c55fd62420a059391d2f5dc1f4acc0f84692ea17251a9696142ef09cc1abc
Status: Downloaded newer image for ocaml/opam@sha256:f21c55fd62420a059391d2f5dc1f4acc0f84692ea17251a9696142ef09cc1abc
2025-06-09 08:19.51 ---> saved as "26c76ddfc70590fdd383b13dcef2243ba86d955bc36c6b1583aa0ada538fee90"
/: (user (uid 1000) (gid 1000))
/: (workdir /home/opam)
/home/opam: (run (shell "sudo ln -f /usr/bin/opam-dev /usr/bin/opam"))
2025-06-09 08:19.51 ---> saved as "778d6c61c4fe4fe4cffc13d07e37ed1efa1f5faef7d5b3bf89d003899bfa7b5b"
/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
2025-06-09 08:20.21 ---> saved as "712e77a3577308e7f1902cf072f5f54e5bbff4040a22733145d89a4b9b102185"
/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~alpha2
# 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 (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
2025-06-09 08:20.22 ---> saved as "d7e182070bb45acc8cd2aae976dba74f3eaa515474e2255e0b712ffaba036e87"
/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-06-09 08:20.31 ---> saved as "a1017d5ca95ad540a8e210cbb5bbc112c0debdc6145ac1ddf5a565ac736d2db3"
/home/opam: (copy (src .) (dst opam-repository/))
2025-06-09 08:20.38 ---> saved as "ccc5724396dce1158e5e6ee56b981cb66732944d0f568e98427ac2dc0e3e6b85"
/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2025-06-09 08:21.01 ---> saved as "2b8a78bed3972e59a78bbb14aab969662238d917469e83b096518dcdb6470321"
/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-577-gf977546c70b [https://dl-cdn.alpinelinux.org/alpine/v3.21/main]
- v3.21.3-578-g6be4feaea25 [https://dl-cdn.alpinelinux.org/alpine/v3.21/community]
- v3.22.0-549-g7f9258ef913 [https://dl-cdn.alpinelinux.org/alpine/edge/main]
- v3.22.0-568-g2e2d3bc1ade [https://dl-cdn.alpinelinux.org/alpine/edge/community]
- v3.22.0-569-gec112c6d3ee [https://dl-cdn.alpinelinux.org/alpine/edge/testing]
- OK: 58616 distinct packages available
2025-06-09 08:21.03 ---> saved as "ff698d8bec8448e4d2b7c7b62b303a824c2b87aa4b17aeba5a8366c4dea2275c"
/home/opam: (run (shell "opam pin add -k version -yn guile.1.0 1.0"))
guile is now pinned to version 1.0
2025-06-09 08:21.04 ---> saved as "9091f646b30914894faa8b11aec3438257d7a3bb804be6910ffb68d869a0b051"
/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall guile.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 \"\\\"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\" != 'guile.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"))
[ERROR] guile = 1.0: unmet availability conditions: 'os-distribution != "opensuse-tumbleweed" & os-distribution != "arch" & !(os-family = "debian" & os-version >= "13") & !(os-family = "ubuntu" & os-version >= "24.04") & !(os-distribution = "fedora" & os-version >= "40") & !(os-distribution = "alpine" & os-version >= "3.20") & !(os = "freebsd" & os-version >= "14") & !(os = "macos" & os-distribution = "homebrew")'
"/usr/bin/env" "bash" "-c" "opam reinstall guile.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 "\"alpine-3.21\""; then
echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.";
fi;
test "$pkg" != 'guile.1.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 5
2025-06-09 08:21.12: Job failed: Failed: Build failed
2025-06-09 08:21.12: Log analysis:
2025-06-09 08:21.12: >>>
[ERROR] guile = 1.0: unmet availability conditions: 'os-distribution != "opensuse-tumbleweed" & os-distribution != "arch" & !(os-family = "debian" & os-version >= "13") & !(os-family = "ubuntu" & os-version >= "24.04") & !(os-distribution = "fedora" & os-version >= "40") & !(os-distribution = "alpine" & os-version >= "3.20") & !(os = "freebsd" & os-version >= "14") & !(os = "macos" & os-distribution = "homebrew")'
(score = 100)
2025-06-09 08:21.12: [SKIP] Package not available