- github
- ocaml
- opam-repository
- 18a30f
- extras,arm64-ocaml-4.14,core_unix.v0.17.0
(not at the head of any monitored branch or PR)
2025-04-10 22:57.32: New job: build core_unix.v0.17.0, using opam 2.3
from https://github.com/ocaml/opam-repository.git#refs/pull/27742/head (18a30f1534ecda31357ccef7b9e06a5892ca86cf)
on debian-12-ocaml-4.14/arm64
To reproduce locally:
cd $(mktemp -d)
git clone --recursive "https://github.com/ocaml/opam-repository.git" && cd "opam-repository" && git fetch origin "refs/pull/27742/head" && git reset --hard 18a30f15
git fetch origin master
git merge --no-edit 4592800a5b7fe3cf52f4afb459b13d9138a079d4
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-12-ocaml-4.14@sha256:08e766ebd1e6f86ce71fece601ca5146bb514d77390a96085ed3a13d0a34d084
USER 1000:1000
WORKDIR /home/opam
RUN sudo ln -f /usr/bin/opam-2.3 /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 core_unix.v0.17.0 v0.17.0
RUN opam reinstall core_unix.v0.17.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 "\"debian-12\""; then \
echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
fi; \
test "$pkg" != 'core_unix.v0.17.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-04-10 22:57.32: Using cache hint "ocaml/opam:debian-12-ocaml-4.14@sha256:08e766ebd1e6f86ce71fece601ca5146bb514d77390a96085ed3a13d0a34d084-core_unix.v0.17.0-18a30f1534ecda31357ccef7b9e06a5892ca86cf"
2025-04-10 22:57.32: Using OBuilder spec:
((from ocaml/opam:debian-12-ocaml-4.14@sha256:08e766ebd1e6f86ce71fece601ca5146bb514d77390a96085ed3a13d0a34d084)
(user (uid 1000) (gid 1000))
(workdir /home/opam)
(run (shell "sudo ln -f /usr/bin/opam-2.3 /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 core_unix.v0.17.0 v0.17.0"))
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall core_unix.v0.17.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 \"\\\"debian-12\\\"\"; then\
\n echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
\n fi;\
\n test \"$pkg\" != 'core_unix.v0.17.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-04-10 22:57.32: Waiting for resource in pool OCluster
2025-04-10 22:57.32: Waiting for worker…
2025-04-10 22:57.32: Got resource from pool OCluster
Building on kydoime.caelum.ci.dev
Updating files: 78% (17939/22850)
Updating files: 79% (18052/22850)
Updating files: 80% (18280/22850)
Updating files: 81% (18509/22850)
Updating files: 82% (18737/22850)
Updating files: 83% (18966/22850)
Updating files: 84% (19194/22850)
Updating files: 85% (19423/22850)
Updating files: 86% (19651/22850)
Updating files: 87% (19880/22850)
Updating files: 88% (20108/22850)
Updating files: 89% (20337/22850)
Updating files: 90% (20565/22850)
Updating files: 91% (20794/22850)
Updating files: 92% (21022/22850)
Updating files: 93% (21251/22850)
Updating files: 94% (21479/22850)
Updating files: 95% (21708/22850)
Updating files: 96% (21936/22850)
Updating files: 97% (22165/22850)
Updating files: 98% (22393/22850)
Updating files: 99% (22622/22850)
Updating files: 100% (22850/22850)
Updating files: 100% (22850/22850), done.
HEAD is now at df58d24589 Merge commit '35aefb4a1491082801dd76b6682777674007f33e'
HEAD is now at 4592800a5b Package mazeppa.0.5.2 (#27731)
Updating 4592800a5b..18a30f1534
Fast-forward
packages/core_unix/core_unix.v0.17.0/opam | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
(from ocaml/opam:debian-12-ocaml-4.14@sha256:08e766ebd1e6f86ce71fece601ca5146bb514d77390a96085ed3a13d0a34d084)
Unable to find image 'ocaml/opam:debian-12-ocaml-4.14@sha256:08e766ebd1e6f86ce71fece601ca5146bb514d77390a96085ed3a13d0a34d084' locally
docker.io/ocaml/opam@sha256:08e766ebd1e6f86ce71fece601ca5146bb514d77390a96085ed3a13d0a34d084: Pulling from ocaml/opam
a929a08be98f: Already exists
ea1fa6c70775: Pulling fs layer
fe7d7ac8c6d5: Pulling fs layer
c9cfdba73003: Pulling fs layer
6a0afca961b0: Pulling fs layer
6a0afca961b0: Waiting
fe7d7ac8c6d5: Verifying Checksum
fe7d7ac8c6d5: Download complete
c9cfdba73003: Verifying Checksum
c9cfdba73003: Download complete
6a0afca961b0: Verifying Checksum
6a0afca961b0: Download complete
ea1fa6c70775: Verifying Checksum
ea1fa6c70775: Download complete
ea1fa6c70775: Pull complete
fe7d7ac8c6d5: Pull complete
c9cfdba73003: Pull complete
6a0afca961b0: Pull complete
Digest: sha256:08e766ebd1e6f86ce71fece601ca5146bb514d77390a96085ed3a13d0a34d084
Status: Downloaded newer image for ocaml/opam@sha256:08e766ebd1e6f86ce71fece601ca5146bb514d77390a96085ed3a13d0a34d084
2025-04-10 22:57.37 ---> using "d3b83cfe8d450677b66621a752015c5f55098e165f96e618676cd35452d5492c" from cache
/: (user (uid 1000) (gid 1000))
/: (workdir /home/opam)
/home/opam: (run (shell "sudo ln -f /usr/bin/opam-2.3 /usr/bin/opam"))
2025-04-10 22:57.37 ---> using "68a94b674ed6252be0364e44d4130d78e138af8cce7a1f9be4ce428a9fc0e149" 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 ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] Initialised
2025-04-10 22:57.37 ---> using "492257a94657ca861a48a0c4eedc3d714b9902aaa531edd7b205cbdbd68cd44f" 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.3.0 (35acd0c5abc5e66cdbd5be16ba77aa6c33a4c724)
# self-upgrade no
# system arch=arm64 os=linux os-distribution=debian os-version=12
# solver builtin-0install
# install-criteria -changed,-count[avoid-version,solution]
# upgrade-criteria -count[avoid-version,solution]
# jobs 79
# 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-04-10 22:57.37 ---> using "397fe2021c5b5c7f4e38bd44107dc4dbce0e16ee05335a9b05b151d89cdf4838" 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-04-10 22:57.37 ---> using "e6960da62057d2f62185d34bb39ae09a1f41ea6a893d95fa958e911f0923bae1" from cache
/home/opam: (copy (src .) (dst opam-repository/))
2025-04-10 22:57.44 ---> saved as "2edd2aa6c87dcb1cc06d4cbe5c7ef8ff4102c1c09394c1a84798269f656b2caf"
/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2025-04-10 22:58.07 ---> saved as "b600da10c6985640d7dd8f069808d1d4142cfacfa4c4fa2a74ee5c639a5d24b9"
/home/opam: (run (network host)
(shell "opam update --depexts || true"))
+ /usr/bin/sudo "apt-get" "update"
- Hit:1 http://deb.debian.org/debian bookworm InRelease
- Get:2 http://deb.debian.org/debian bookworm-updates InRelease [55.4 kB]
- Get:3 http://deb.debian.org/debian-security bookworm-security InRelease [48.0 kB]
- Get:4 http://deb.debian.org/debian bookworm-updates/main arm64 Packages.diff/Index [16.2 kB]
- Get:5 http://deb.debian.org/debian bookworm-updates/main arm64 Packages T-2025-03-27-1414.15-F-2025-03-27-1414.15.pdiff [187 B]
- Get:5 http://deb.debian.org/debian bookworm-updates/main arm64 Packages T-2025-03-27-1414.15-F-2025-03-27-1414.15.pdiff [187 B]
- Get:6 http://deb.debian.org/debian-security bookworm-security/main arm64 Packages [248 kB]
- Fetched 368 kB in 0s (886 kB/s)
- Reading package lists...
-
2025-04-10 22:58.08 ---> saved as "868ad1ae18ad0160036b8a4e0f6f2eda8c4f17f51f3f7e27252bbd3906a3098a"
/home/opam: (run (shell "opam pin add -k version -yn core_unix.v0.17.0 v0.17.0"))
core_unix is now pinned to version v0.17.0
2025-04-10 22:58.09 ---> saved as "9c589ac561373876275e6f07d98a49447a426fb77c14098bc96fdc2ac4795b66"
/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall core_unix.v0.17.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 \"\\\"debian-12\\\"\"; then\
\n echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
\n fi;\
\n test \"$pkg\" != 'core_unix.v0.17.0' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
core_unix.v0.17.0 is not installed. Install it? [y/n] y
* No agreement on the version of ocaml:
- (invariant) -> ocaml-base-compiler = 4.14.2 -> ocaml = 4.14.2
- core_unix >= v0.17.0 -> ocaml >= 5.1.0
You can temporarily relax the switch invariant with `--update-invariant'
No solution found, exiting
"/usr/bin/env" "bash" "-c" "opam reinstall core_unix.v0.17.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 "\"debian-12\""; then
echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.";
fi;
test "$pkg" != 'core_unix.v0.17.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 20
2025-04-10 22:58.24: Job failed: Failed: Build failed
2025-04-10 22:58.24: Log analysis:
2025-04-10 22:58.24: >>>
No solution found, exiting
(score = 100)
2025-04-10 22:58.24: [SKIP] Package not available