- github
- ocaml
- opam-repository
- 7fa959
- distributions,opensuse-tumbleweed-ocaml-5.3,opsian.0.1
(not at the head of any monitored branch or PR)
2025-03-12 08:50.11: New job: build opsian.0.1, using opam dev
from https://github.com/ocaml/opam-repository.git#refs/pull/27608/head (7fa959c0cc07e305656b52156428d058edfa3f13)
on opensuse-tumbleweed-ocaml-5.3/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/27608/head" && git reset --hard 7fa959c0
git fetch origin master
git merge --no-edit 8f63148a9025a7b775a069a6c0b0385c22ad51d3
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:opensuse-tumbleweed-ocaml-5.3@sha256:ae7f29368977c485203de9e4a4ef7d6adabd8ca21c5acb36fcf2c9de7625141f
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 opsian.0.1 0.1
RUN opam reinstall opsian.0.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 "\"opensuse-tumbleweed\""; then \
echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
fi; \
test "$pkg" != 'opsian.0.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 .
2025-03-12 08:50.11: Using cache hint "ocaml/opam:opensuse-tumbleweed-ocaml-5.3@sha256:ae7f29368977c485203de9e4a4ef7d6adabd8ca21c5acb36fcf2c9de7625141f-opsian.0.1-7fa959c0cc07e305656b52156428d058edfa3f13"
2025-03-12 08:50.11: Using OBuilder spec:
((from ocaml/opam:opensuse-tumbleweed-ocaml-5.3@sha256:ae7f29368977c485203de9e4a4ef7d6adabd8ca21c5acb36fcf2c9de7625141f)
(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 opsian.0.1 0.1"))
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall opsian.0.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 \"\\\"opensuse-tumbleweed\\\"\"; then\
\n echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
\n fi;\
\n test \"$pkg\" != 'opsian.0.1' && 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-12 08:50.11: Waiting for resource in pool OCluster
2025-03-12 08:50.12: Waiting for worker…
2025-03-12 08:50.12: Got resource from pool OCluster
Building on x86-bm-c6.sw.ocaml.org
All commits already cached
Updating files: 74% (16792/22619)
Updating files: 75% (16965/22619)
Updating files: 76% (17191/22619)
Updating files: 77% (17417/22619)
Updating files: 78% (17643/22619)
Updating files: 79% (17870/22619)
Updating files: 80% (18096/22619)
Updating files: 81% (18322/22619)
Updating files: 82% (18548/22619)
Updating files: 83% (18774/22619)
Updating files: 84% (19000/22619)
Updating files: 85% (19227/22619)
Updating files: 86% (19453/22619)
Updating files: 87% (19679/22619)
Updating files: 88% (19905/22619)
Updating files: 89% (20131/22619)
Updating files: 90% (20358/22619)
Updating files: 91% (20584/22619)
Updating files: 92% (20810/22619)
Updating files: 93% (21036/22619)
Updating files: 94% (21262/22619)
Updating files: 95% (21489/22619)
Updating files: 96% (21715/22619)
Updating files: 97% (21941/22619)
Updating files: 98% (22167/22619)
Updating files: 99% (22393/22619)
Updating files: 100% (22619/22619)
Updating files: 100% (22619/22619), done.
HEAD is now at 8f63148a90 Merge pull request #27598 from jim-portegies/opam-publish-coq-waterproof.2.2.0-8.20
Updating 8f63148a90..7fa959c0cc
Fast-forward
packages/opsian/opsian.0.1/opam | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
(from ocaml/opam:opensuse-tumbleweed-ocaml-5.3@sha256:ae7f29368977c485203de9e4a4ef7d6adabd8ca21c5acb36fcf2c9de7625141f)
Unable to find image 'ocaml/opam:opensuse-tumbleweed-ocaml-5.3@sha256:ae7f29368977c485203de9e4a4ef7d6adabd8ca21c5acb36fcf2c9de7625141f' locally
docker.io/ocaml/opam@sha256:ae7f29368977c485203de9e4a4ef7d6adabd8ca21c5acb36fcf2c9de7625141f: Pulling from ocaml/opam
ccdc8dc7de57: Pulling fs layer
ccdc8dc7de57: Verifying Checksum
ccdc8dc7de57: Download complete
ccdc8dc7de57: Pull complete
Digest: sha256:ae7f29368977c485203de9e4a4ef7d6adabd8ca21c5acb36fcf2c9de7625141f
Status: Downloaded newer image for ocaml/opam@sha256:ae7f29368977c485203de9e4a4ef7d6adabd8ca21c5acb36fcf2c9de7625141f
2025-03-12 08:52.27 ---> saved as "381d66deaa8a6084dbc46b76947062d6234c9217cf6e01cf0b57f5c4c3d61e03"
/: (user (uid 1000) (gid 1000))
/: (workdir /home/opam)
/home/opam: (run (shell "sudo ln -f /usr/bin/opam-dev /usr/bin/opam"))
2025-03-12 08:52.27 ---> saved as "c8372c42a402c5caa6831d2879716d268cf0d624807eb4424e05c00eed020f0f"
/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 ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[opam-repository-archive] synchronised from git+https://github.com/ocaml/opam-repository-archive
[default] synchronised from file:///home/opam/opam-repository
2025-03-12 08:53.31 ---> saved as "a8c9f27c927c39675f49fae906d94d138125485bc85b42646a7ae5a9814b75ea"
/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_64 os=linux os-distribution=opensuse-tumbleweed os-version=20250307
# 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-options-vanilla.1
# ocaml:native true
# ocaml:native-tools true
# ocaml:native-dynlink true
# 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
2025-03-12 08:53.32 ---> saved as "ff2808bb479b1ce39e7430feeadbe25916f91d1bea73aa2ee7ef7c2524b95a08"
/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-12 08:53.41 ---> saved as "c1311a401db844bce185393b817d8e4706bb11e69adcc9cdec36976e24a9d660"
/home/opam: (copy (src .) (dst opam-repository/))
2025-03-12 08:53.55 ---> saved as "ea23402c42f22caed04711b20bb24575d72ade010753d471593986eeaf33cd8f"
/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2025-03-12 08:54.38 ---> saved as "2ee51845a53b25d84e76b246eed4cd89c9b583e449415117675c863f394eceff"
/home/opam: (run (network host)
(shell "opam update --depexts || true"))
+ /usr/bin/sudo "zypper" "--non-interactive" "refresh"
- Repository 'openSUSE-Tumbleweed-Update' is up to date.
- Retrieving repository 'openSUSE-Tumbleweed-Non-Oss' metadata [........
- ..done]
- Building repository 'openSUSE-Tumbleweed-Non-Oss' cache [....done]
- Retrieving repository 'openSUSE-Tumbleweed-Oss' metadata [........
- .........
- ..done]
- Building repository 'openSUSE-Tumbleweed-Oss' cache [..
- ..done]
- All repositories have been refreshed.
2025-03-12 08:54.50 ---> saved as "43e247eecca803b75a0daab7ea384916837d4c3196f60f8092c3fc60b5fc0efa"
/home/opam: (run (shell "opam pin add -k version -yn opsian.0.1 0.1"))
opsian is now pinned to version 0.1
2025-03-12 08:54.51 ---> saved as "7ca1350c1ceff13d71697ba846b209d6dad0a62adccd7bb4d1eb4ee44e5e3bcf"
/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall opsian.0.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 \"\\\"opensuse-tumbleweed\\\"\"; then\
\n echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
\n fi;\
\n test \"$pkg\" != 'opsian.0.1' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
opsian.0.1 is not installed. Install it? [Y/n] y
* Incompatible packages:
- (invariant) -> ocaml-base-compiler >= 5.3.0
- opsian -> ocaml < 5.1 -> dkml-base-compiler
You can temporarily relax the switch invariant with `--update-invariant'
* Incompatible packages:
- (invariant) -> ocaml-base-compiler >= 5.3.0
- opsian -> ocaml < 5.1 -> ocaml-variants
* Missing dependency:
- opsian -> ocaml < 5.1 -> 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:
- opsian -> ocaml < 5.1 -> ocaml-variants -> ocaml-beta
unmet availability conditions: 'enable-ocaml-beta-repository'
* Missing dependency:
- opsian -> ocaml < 5.1 -> ocaml-variants -> system-msvc
unmet availability conditions: 'os = "win32"'
No solution found, exiting
"/usr/bin/env" "bash" "-c" "opam reinstall opsian.0.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 "\"opensuse-tumbleweed\""; then
echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.";
fi;
test "$pkg" != 'opsian.0.1' && 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-12 08:55.25: Job failed: Failed: Build failed
2025-03-12 08:55.25: Log analysis:
2025-03-12 08:55.25: >>>
No solution found, exiting
(score = 100)
2025-03-12 08:55.25: [SKIP] Package not available