- github
- ocaml
- opam-repository
- 18a30f
- extras,s390x-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/s390x
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:8984bf21dfcbb4111de04c91085d1de6fda74e15a565cf36b3748ad720d94a44
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:8984bf21dfcbb4111de04c91085d1de6fda74e15a565cf36b3748ad720d94a44-core_unix.v0.17.0-18a30f1534ecda31357ccef7b9e06a5892ca86cf"
2025-04-10 22:57.32: Using OBuilder spec:
((from ocaml/opam:debian-12-ocaml-4.14@sha256:8984bf21dfcbb4111de04c91085d1de6fda74e15a565cf36b3748ad720d94a44)
(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 23:07.10: Got resource from pool OCluster
Building on s390x-worker-01.marist.ci.dev
All commits already cached
Updating files: 44% (10164/22850)
Updating files: 45% (10283/22850)
Updating files: 46% (10511/22850)
Updating files: 47% (10740/22850)
Updating files: 48% (10968/22850)
Updating files: 49% (11197/22850)
Updating files: 50% (11425/22850)
Updating files: 51% (11654/22850)
Updating files: 52% (11882/22850)
Updating files: 53% (12111/22850)
Updating files: 54% (12339/22850)
Updating files: 55% (12568/22850)
Updating files: 56% (12796/22850)
Updating files: 56% (12925/22850)
Updating files: 57% (13025/22850)
Updating files: 58% (13253/22850)
Updating files: 59% (13482/22850)
Updating files: 60% (13710/22850)
Updating files: 61% (13939/22850)
Updating files: 62% (14167/22850)
Updating files: 63% (14396/22850)
Updating files: 64% (14624/22850)
Updating files: 65% (14853/22850)
Updating files: 66% (15081/22850)
Updating files: 67% (15310/22850)
Updating files: 68% (15538/22850)
Updating files: 69% (15767/22850)
Updating files: 70% (15995/22850)
Updating files: 71% (16224/22850)
Updating files: 72% (16452/22850)
Updating files: 73% (16681/22850)
Updating files: 74% (16909/22850)
Updating files: 75% (17138/22850)
Updating files: 76% (17366/22850)
Updating files: 77% (17595/22850)
Updating files: 78% (17823/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: 88% (20125/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 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:8984bf21dfcbb4111de04c91085d1de6fda74e15a565cf36b3748ad720d94a44)
Unable to find image 'ocaml/opam:debian-12-ocaml-4.14@sha256:8984bf21dfcbb4111de04c91085d1de6fda74e15a565cf36b3748ad720d94a44' locally
docker.io/ocaml/opam@sha256:8984bf21dfcbb4111de04c91085d1de6fda74e15a565cf36b3748ad720d94a44: Pulling from ocaml/opam
ea48981a9fc9: Already exists
f8c8b07a8c2f: Already exists
e41fd045809c: Already exists
fe9d9ba199a8: Already exists
61b9dde9c264: Already exists
d65e1971fde7: Already exists
8adb42792b2d: Already exists
c1b7118882b6: Already exists
d6ebd4711bf0: Already exists
084cd2a0dbb9: Already exists
fecbafc1ca56: Already exists
f35e98a3eea0: Already exists
dc7483d70c4c: Already exists
dd0a1e41238f: Already exists
a7de97e7acea: Already exists
a7de97e7acea: Already exists
017f9061cc77: Already exists
52dd4b5f1254: Already exists
8b6c00582859: Already exists
ee685aa0fb43: Already exists
4f4fb700ef54: Already exists
bceba8292e84: Already exists
22b23778e0c9: Already exists
4c85ef9af49b: Already exists
13ee87119d2e: Already exists
aabe51459fe0: Already exists
749c2388e5ba: Already exists
b1400128163d: Already exists
5872043319f0: Already exists
7436ed480497: Already exists
2ed34696ea0c: Already exists
ea097d46d9dc: Already exists
7fdac3609e18: Already exists
ad027dad53ff: Already exists
d1e35c1835c2: Already exists
047a8bfe449d: Already exists
f528d99bbcdf: Already exists
0709c52266cc: Already exists
a588e958a1c9: Pulling fs layer
5e8f67dffb94: Pulling fs layer
99d410354eba: Pulling fs layer
675664bcddc2: Pulling fs layer
675664bcddc2: Waiting
5e8f67dffb94: Verifying Checksum
5e8f67dffb94: Download complete
99d410354eba: Verifying Checksum
99d410354eba: Download complete
675664bcddc2: Verifying Checksum
675664bcddc2: Download complete
a588e958a1c9: Verifying Checksum
a588e958a1c9: Download complete
a588e958a1c9: Pull complete
5e8f67dffb94: Pull complete
99d410354eba: Pull complete
675664bcddc2: Pull complete
Digest: sha256:8984bf21dfcbb4111de04c91085d1de6fda74e15a565cf36b3748ad720d94a44
Status: Downloaded newer image for ocaml/opam@sha256:8984bf21dfcbb4111de04c91085d1de6fda74e15a565cf36b3748ad720d94a44
2025-04-10 23:07.17 ---> using "cab76365397c12696fb1d54817c9ccecc738a3172583f6d583516de809b619e7" 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 23:07.18 ---> using "76921774b5c26c1fd46c67b0c0b4fe21ebbf5767a2bf8bfb7c14a578b8ad9a8e" 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 23:07.18 ---> using "666b3f89f61e119bac208c72a945c03d8f9a6df2bd66988a9a3118ce854dcbff" 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=s390x 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 3
# 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 23:07.18 ---> using "96626154c8d7dd1ce6c57fb2fc2ec97bc5d183ff834fc45b40d0f8e520f2efd5" 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 23:07.18 ---> using "7dc5db4902a9780b1ad085debcd6e96cb7b5e9b50bbebdbd3a3ae48b179e118b" from cache
/home/opam: (copy (src .) (dst opam-repository/))
2025-04-10 23:09.20 ---> saved as "6dde21ca49de520ba028e168d935ef26e16783d4180311c2082ce65cfd8731bb"
/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2025-04-10 23:11.26 ---> saved as "c4ccc9d35146d003726532bc7138c7887d4abc935cbae613f12caf684affdc8e"
/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-security bookworm-security/main s390x Packages [219 kB]
- Fetched 322 kB in 2s (208 kB/s)
- Reading package lists...
-
2025-04-10 23:11.35 ---> saved as "4c3e308efab62f6a4fcb5058891ecae1f6874089fb0846e80558108fac765318"
/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 23:11.41 ---> saved as "1ce739667341f89c98fdc2e0d029529d42bf47a2753f1d1233b8d9f57fbdb067"
/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"))
[ERROR] core_unix = v0.17.0: unmet availability conditions: '(arch = "x86_64" | arch = "arm64") & !(os = "freebsd" & os-version >= "14")'
"/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 5
2025-04-10 23:12.39: Job failed: Failed: Build failed
2025-04-10 23:12.39: Log analysis:
2025-04-10 23:12.39: >>>
[ERROR] core_unix = v0.17.0: unmet availability conditions: '(arch = "x86_64" | arch = "arm64") & !(os = "freebsd" & os-version >= "14")'
(score = 100)
2025-04-10 23:12.39: [SKIP] Package not available