- github
- ocaml
- opam-repository
- fee7f3
- distributions,ubuntu-24.04-ocaml-4.14,base.v0.17.3
(not at the head of any monitored branch or PR)
2025-06-10 18:12.14: New job: build base.v0.17.3, using opam 2.3
from https://github.com/ocaml/opam-repository.git#refs/pull/28012/head (fee7f3fbdd0250a19e35720bb55a202b18069834)
on ubuntu-24.04-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/28012/head" && git reset --hard fee7f3fb
git fetch origin master
git merge --no-edit 6db96b377f993aa0c7ffb5c06737929e583f3305
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:ubuntu-24.04-ocaml-4.14@sha256:99258ec392d183c7c163d429c2b9877ab4e464a7a7bfe26fa88a7cd583e52c0b
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 base.v0.17.3 v0.17.3
RUN opam reinstall base.v0.17.3; \
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 "\"ubuntu-24.04\""; then \
echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
fi; \
test "$pkg" != 'base.v0.17.3' && 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-10 18:12.14: Using cache hint "ocaml/opam:ubuntu-24.04-ocaml-4.14@sha256:99258ec392d183c7c163d429c2b9877ab4e464a7a7bfe26fa88a7cd583e52c0b-base.v0.17.3-fee7f3fbdd0250a19e35720bb55a202b18069834"
2025-06-10 18:12.14: Using OBuilder spec:
((from ocaml/opam:ubuntu-24.04-ocaml-4.14@sha256:99258ec392d183c7c163d429c2b9877ab4e464a7a7bfe26fa88a7cd583e52c0b)
(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 base.v0.17.3 v0.17.3"))
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall base.v0.17.3;\
\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 \"\\\"ubuntu-24.04\\\"\"; then\
\n echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
\n fi;\
\n test \"$pkg\" != 'base.v0.17.3' && 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-10 18:12.14: Waiting for resource in pool OCluster
2025-06-10 18:12.14: Waiting for worker…
2025-06-10 18:15.09: Got resource from pool OCluster
Building on odawa.caelum.ci.dev
All commits already cached
Updating files: 98% (22787/23221)
Updating files: 99% (22989/23221)
Updating files: 100% (23221/23221)
Updating files: 100% (23221/23221), done.
HEAD is now at 6db96b377f Merge pull request #28003 from punchagan/opam-publish-opam-ci-check-lint.0.1
Updating 6db96b377f..fee7f3fbdd
Fast-forward
packages/base/base.v0.17.3/opam | 41 +++++++++++++++++++++++++++++++++++++++++
1 file changed, 41 insertions(+)
create mode 100644 packages/base/base.v0.17.3/opam
(from ocaml/opam:ubuntu-24.04-ocaml-4.14@sha256:99258ec392d183c7c163d429c2b9877ab4e464a7a7bfe26fa88a7cd583e52c0b)
2025-06-10 18:16.19 ---> saved as "f363617b2500245429859de55f890b00814b00e3ab8a526ced89e498258155e4"
/: (user (uid 1000) (gid 1000))
/: (workdir /home/opam)
/home/opam: (run (shell "sudo ln -f /usr/bin/opam-2.3 /usr/bin/opam"))
2025-06-10 18:16.19 ---> saved as "bb6d6b5db78d3fcf01a130f6289b4506690c8e769893ecbd6a3d8067b0078226"
/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-06-10 18:16.45 ---> saved as "5c077e17395b7c5533b2a76ac89a1c931c359fc06344bb07fa829bf277048e51"
/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=x86_64 os=linux os-distribution=ubuntu os-version=24.04
# 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-10 18:16.45 ---> saved as "1e72841cf3be9cb912c7860ea1507df0a55a7744f834482b7449d8d4557961cf"
/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-10 18:16.54 ---> saved as "3cfb899aadbedb5ee1d5cf103df350609305b4d824155356d50b680e3efe483b"
/home/opam: (copy (src .) (dst opam-repository/))
2025-06-10 18:17.00 ---> saved as "e1a4b55aae9c2bec265f09c6b4135d1a964a0729326e1c1e817a0abd70355e1a"
/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2025-06-10 18:17.21 ---> saved as "6d95e93585922c4de63ba9bc42777baf3ee94db6088adc7e115e9cfeffcfc51d"
/home/opam: (run (network host)
(shell "opam update --depexts || true"))
+ /usr/bin/sudo "apt-get" "update"
- Hit:1 http://archive.ubuntu.com/ubuntu noble InRelease
- Get:2 http://archive.ubuntu.com/ubuntu noble-updates InRelease [126 kB]
- Get:3 http://security.ubuntu.com/ubuntu noble-security InRelease [126 kB]
- Get:4 http://archive.ubuntu.com/ubuntu noble-backports InRelease [126 kB]
- Get:5 http://security.ubuntu.com/ubuntu noble-security/main amd64 Packages [1093 kB]
- Get:6 http://security.ubuntu.com/ubuntu noble-security/universe amd64 Packages [1097 kB]
- Get:7 http://archive.ubuntu.com/ubuntu noble-updates/universe amd64 Packages [1400 kB]
- Get:8 http://archive.ubuntu.com/ubuntu noble-updates/restricted amd64 Packages [1495 kB]
- Get:9 http://archive.ubuntu.com/ubuntu noble-updates/main amd64 Packages [1418 kB]
- Fetched 6882 kB in 0s (14.3 MB/s)
- Reading package lists...
-
2025-06-10 18:17.22 ---> saved as "ff7972213852526eee658cac572b9ce4e2359522f8ca91b0ee9b775b66833409"
/home/opam: (run (shell "opam pin add -k version -yn base.v0.17.3 v0.17.3"))
base is now pinned to version v0.17.3
2025-06-10 18:17.23 ---> saved as "2d50c1f119f8f020a6735fbcdff71c22ba882d0e63ed7a7f8a7fe28ec00fe135"
/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall base.v0.17.3;\
\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 \"\\\"ubuntu-24.04\\\"\"; then\
\n echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
\n fi;\
\n test \"$pkg\" != 'base.v0.17.3' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
base.v0.17.3 is not installed. Install it? [y/n] y
* Incompatible packages:
- (invariant) -> ocaml-base-compiler = 4.14.2
- base >= v0.17.3 -> ocaml >= 5.1.0 -> ocaml-variants < 5.1.2~
You can temporarily relax the switch invariant with `--update-invariant'
* Missing dependency:
- base >= v0.17.3 -> ocaml >= 5.1.0 -> ocaml-variants < 5.1.2~ -> xenbigarray
unknown package
* Missing dependency:
- base >= v0.17.3 -> ocaml >= 5.1.0 -> ocaml-variants < 5.1.2~ -> ocaml-beta
unmet availability conditions: 'enable-ocaml-beta-repository'
* Missing dependency:
- base >= v0.17.3 -> ocaml >= 5.1.0 -> ocaml-variants >= 5.1.0~ -> system-msvc
unmet availability conditions: 'os = "win32"'
No solution found, exiting
"/usr/bin/env" "bash" "-c" "opam reinstall base.v0.17.3;
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 "\"ubuntu-24.04\""; then
echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.";
fi;
test "$pkg" != 'base.v0.17.3' && 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-06-10 18:17.35: Job failed: Failed: Build failed
2025-06-10 18:17.35: Log analysis:
2025-06-10 18:17.35: >>>
No solution found, exiting
(score = 100)
2025-06-10 18:17.35: [SKIP] Package not available