- github
- ocaml
- opam-repository
- 817e2b
- extras,x86_32-ocaml-5.3,ocamlfind.1.9.5
(not at the head of any monitored branch or PR)
2025-03-13 10:50.22: New job: build ocamlfind.1.9.5, using opam dev
from https://github.com/ocaml/opam-repository.git#refs/pull/27618/head (817e2bca6bb374fd7865253f73a8e26703930da1)
on debian-12-ocaml-5.3/i386
To reproduce locally:
cd $(mktemp -d)
git clone --recursive "https://github.com/ocaml/opam-repository.git" && cd "opam-repository" && git fetch origin "refs/pull/27618/head" && git reset --hard 817e2bca
git fetch origin master
git merge --no-edit 5ab9f3c9e8c50d4858e5b871d7544019a20f89e2
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-12-ocaml-5.3@sha256:266702128cf408ece12d092e7e803a5b868c26e59971804f4098875e4dc52a08
SHELL [ "/usr/bin/linux32", "/bin/sh", "-c" ]
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 ocamlfind.1.9.5 1.9.5
RUN opam reinstall ocamlfind.1.9.5; \
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" != 'ocamlfind.1.9.5' && 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-03-13 10:50.22: Using cache hint "ocaml/opam:debian-12-ocaml-5.3@sha256:266702128cf408ece12d092e7e803a5b868c26e59971804f4098875e4dc52a08-ocamlfind.1.9.5-817e2bca6bb374fd7865253f73a8e26703930da1"
2025-03-13 10:50.22: Using OBuilder spec:
((from ocaml/opam:debian-12-ocaml-5.3@sha256:266702128cf408ece12d092e7e803a5b868c26e59971804f4098875e4dc52a08)
(shell /usr/bin/linux32 /bin/sh -c)
(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 ocamlfind.1.9.5 1.9.5"))
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall ocamlfind.1.9.5;\
\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\" != 'ocamlfind.1.9.5' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
)
2025-03-13 10:50.22: Waiting for resource in pool OCluster
2025-03-13 11:48.45: Waiting for worker…
2025-03-13 11:49.58: Got resource from pool OCluster
Building on x86-bm-c8.sw.ocaml.org
All commits already cached
HEAD is now at 5ab9f3c9e8 Merge pull request #27610 from Alasdair/release-sail-0.19
Updating 5ab9f3c9e8..817e2bca6b
Fast-forward
packages/ocamlfind/ocamlfind.1.9.5/opam | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
(from ocaml/opam:debian-12-ocaml-5.3@sha256:266702128cf408ece12d092e7e803a5b868c26e59971804f4098875e4dc52a08)
Unable to find image 'ocaml/opam:debian-12-ocaml-5.3@sha256:266702128cf408ece12d092e7e803a5b868c26e59971804f4098875e4dc52a08' locally
docker.io/ocaml/opam@sha256:266702128cf408ece12d092e7e803a5b868c26e59971804f4098875e4dc52a08: Pulling from ocaml/opam
8ce9ac301d49: Pulling fs layer
8ce9ac301d49: Verifying Checksum
8ce9ac301d49: Download complete
8ce9ac301d49: Pull complete
Digest: sha256:266702128cf408ece12d092e7e803a5b868c26e59971804f4098875e4dc52a08
Status: Downloaded newer image for ocaml/opam@sha256:266702128cf408ece12d092e7e803a5b868c26e59971804f4098875e4dc52a08
WARNING: The requested image's platform (linux/386) does not match the detected host platform (linux/amd64) and no specific platform was requested
2025-03-13 11:52.45 ---> saved as "500cb5d7aa46192a426cc87da683903759830c9514c5bf81dc2090b2e37f5ff2"
/: (shell /usr/bin/linux32 /bin/sh -c)
/: (user (uid 1000) (gid 1000))
/: (workdir /home/opam)
/home/opam: (run (shell "sudo ln -f /usr/bin/opam-dev /usr/bin/opam"))
2025-03-13 11:52.45 ---> saved as "3afda16b94deda237bb309859ec755a5ab739201386b7600f615761bb4d4362f"
/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
[NOTE] The 'jobs' option was reset, its value was 39 and its new value will vary according to the current number of cores on your machine. You can restore the fixed value using:
opam option jobs=39 --global
Format upgrade done.
<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[opam-repository-archive] synchronised from git+https://github.com/ocaml/opam-repository-archive
[default] synchronised from file:///home/opam/opam-repository
2025-03-13 11:54.41 ---> saved as "1a40392ff3616c7c16b3377b51d1da2f29d469036fed8d5a8870a3ee3b1fecf3"
/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~alpha1~dev (f1cf50f2711981a605f81a80c68b73774d5841ff)
# self-upgrade no
# system arch=x86_32 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 31
# repositories 1 (local), 1 (version-controlled)
# pinned 1 (version)
# current-switch 5.3
# invariant ["ocaml-base-compiler" {>= "5.3.0"}]
# compiler-packages ocaml-base-compiler.5.3.0, ocaml-compiler.5.3.0, ocaml-option-bytecode-only.1, ocaml-options-vanilla.1
# ocaml:native false
# ocaml:native-tools false
# ocaml:native-dynlink false
# ocaml:stubsdir /home/opam/.opam/5.3/lib/ocaml/stublibs:/home/opam/.opam/5.3/lib/ocaml
# ocaml:preinstalled false
# ocaml:compiler 5.3.0+bytecode-only
2025-03-13 11:54.42 ---> saved as "fbd9b92c651463390d4f8635cce2c4157a55d48d48b460e710c563a9a7565ff0"
/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-03-13 11:54.48 ---> saved as "731756164ec14d168b4443eb561bdd18c2a5886cabcff988ba4a42f1e7b00def"
/home/opam: (copy (src .) (dst opam-repository/))
2025-03-13 11:54.58 ---> saved as "649a98de45c8746ccd0a114ca4d81fe353398f2918a75b027844ee9dcce586a2"
/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2025-03-13 11:56.12 ---> saved as "d73866b56a32020d6afb6c6946518e9c838ebccd214c87a68e911d16f8890a6d"
/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 i386 Packages [239 kB]
- Fetched 343 kB in 0s (963 kB/s)
- Reading package lists...
-
2025-03-13 11:56.14 ---> saved as "6cebe10821bfb1a4bfdb0570fbff19bec1340d7fef5393d3a5d8acba24fc3a4f"
/home/opam: (run (shell "opam pin add -k version -yn ocamlfind.1.9.5 1.9.5"))
ocamlfind is now pinned to version 1.9.5
2025-03-13 11:56.14 ---> saved as "741dc5d7aa00b3e6d25ea7671db9d3b94a8190ab0181ce5583830e8e6444c7a8"
/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall ocamlfind.1.9.5;\
\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\" != 'ocamlfind.1.9.5' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
ocamlfind.1.9.5 is not installed. Install it? [Y/n] y
* Incompatible packages:
- (invariant) -> ocaml-base-compiler >= 5.3.0
- ocamlfind = 1.9.5 -> ocaml < 5~ -> dkml-base-compiler
You can temporarily relax the switch invariant with `--update-invariant'
* Incompatible packages:
- (invariant) -> ocaml-base-compiler >= 5.3.0
- ocamlfind = 1.9.5 -> ocaml < 5~ -> ocaml-variants (< 4.04.4~ | >= 4.05.0)
* Missing dependency:
- ocamlfind = 1.9.5 -> ocaml < 5~ -> ocaml-base-compiler (<= 3.07+1 | = 3.07+2 | = 3.08.0 | = 3.08.1 | = 3.08.2 | = 3.08.3 | = 3.08.4 | = 3.09.0) | ocaml-system (<= 3.07+1 | = 3.07+2 | >= 3.08.0) | ocaml-variants < 3.09.1~
not available because the package is pinned to version 5.3.0
unmet availability conditions, e.g. 'sys-ocaml-version = "5.3.0" & (os != "win32" | sys-ocaml-libc = "msvc")'
no matching version
* Missing dependency:
- ocamlfind = 1.9.5 -> ocaml < 5~ -> ocaml-variants >= 4.05.0 -> ocaml-beta
unmet availability conditions: 'enable-ocaml-beta-repository'
* Missing dependency:
- ocamlfind = 1.9.5 -> ocaml < 5~ -> ocaml-variants >= 4.05.0 -> system-msvc
unmet availability conditions: 'os = "win32"'
No solution found, exiting
"/usr/bin/linux32" "/bin/sh" "-c" "opam reinstall ocamlfind.1.9.5;
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" != 'ocamlfind.1.9.5' && 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-03-13 11:56.51: Job failed: Failed: Build failed
2025-03-13 11:56.51: Log analysis:
2025-03-13 11:56.51: >>>
No solution found, exiting
(score = 100)
2025-03-13 11:56.51: [SKIP] Package not available