- github
- ocaml
- opam-repository
- 066149
- distributions,ubuntu-24.04-ocaml-5.3,catala.1.0.0~alpha
(not at the head of any monitored branch or PR)
2025-07-31 08:30.44: New job: build catala.1.0.0~alpha, using opam 2.3
from https://github.com/ocaml/opam-repository.git#refs/pull/28280/head (066149a2b11088413c8f9b718a441e2cc8556beb)
on ubuntu-24.04-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/28280/head" && git reset --hard 066149a2
git fetch origin master
git merge --no-edit f6368c68f94811eb2e5f105c731f2494a6e6fe04
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:ubuntu-24.04-ocaml-5.3@sha256:cb361ff4dd1fa70eab6465dab8bb6b0de1adcbb9a013e0268ff603c617a15650
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 catala.1.0.0~alpha 1.0.0~alpha
RUN opam reinstall catala.1.0.0~alpha; \
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" != 'catala.1.0.0~alpha' && 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-07-31 08:30.44: Using cache hint "ocaml/opam:ubuntu-24.04-ocaml-5.3@sha256:cb361ff4dd1fa70eab6465dab8bb6b0de1adcbb9a013e0268ff603c617a15650-catala.1.0.0~alpha-066149a2b11088413c8f9b718a441e2cc8556beb"
2025-07-31 08:30.44: Using OBuilder spec:
((from ocaml/opam:ubuntu-24.04-ocaml-5.3@sha256:cb361ff4dd1fa70eab6465dab8bb6b0de1adcbb9a013e0268ff603c617a15650)
(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 catala.1.0.0~alpha 1.0.0~alpha"))
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall catala.1.0.0~alpha;\
\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\" != 'catala.1.0.0~alpha' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
)
2025-07-31 08:30.44: Waiting for resource in pool OCluster
2025-07-31 08:30.44: Waiting for worker…
2025-07-31 08:33.53: Got resource from pool OCluster
Building on doris.caelum.ci.dev
All commits already cached
HEAD is now at f6368c68f9 Merge pull request #28271 from jmid/qcheck-lin-ocaml-bound
Updating f6368c68f9..066149a2b1
Fast-forward
packages/catala/catala.1.0.0~alpha/opam | 84 +++++++++++++++++++++++++++++++++
1 file changed, 84 insertions(+)
create mode 100644 packages/catala/catala.1.0.0~alpha/opam
(from ocaml/opam:ubuntu-24.04-ocaml-5.3@sha256:cb361ff4dd1fa70eab6465dab8bb6b0de1adcbb9a013e0268ff603c617a15650)
2025-07-31 08:33.57 ---> using "eef66e51adef8bd26b16d9b1345295618810a15d53714365d587e2c9944674d4" 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-07-31 08:33.57 ---> using "1d7fd4b3be6cedae9eb03534849007076770a9e978654cf62049965d19df350c" 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-07-31 08:33.57 ---> using "a61750168d17b731e5098ec99b4584e013d700cbf6d282148bb25e68ab376a45" 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=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 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-07-31 08:33.57 ---> using "f666f13203e34abbf4a8f1c0c7246e7f818f53d7b0ba3602d1267e26fa367020" 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-07-31 08:33.57 ---> using "6de8d7d0e8907cee60067c3c55b24974617ba0f3aa096481c98efe1b8faeeb90" from cache
/home/opam: (copy (src .) (dst opam-repository/))
2025-07-31 08:34.04 ---> saved as "cede1943f8b76faa7a624e24fc761fa652872e95eab4c7633baf5cdc87649361"
/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2025-07-31 08:34.22 ---> saved as "7c9c75573f947956725d8831c20eaf8479b02f5904b60b66accd55e1f6941574"
/home/opam: (run (network host)
(shell "opam update --depexts || true"))
+ /usr/bin/sudo "apt-get" "update"
- Get:1 http://security.ubuntu.com/ubuntu noble-security InRelease [126 kB]
- Hit:2 http://archive.ubuntu.com/ubuntu noble InRelease
- Get:3 http://archive.ubuntu.com/ubuntu noble-updates 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 [1324 kB]
- Get:6 http://security.ubuntu.com/ubuntu noble-security/universe amd64 Packages [1135 kB]
- Get:7 http://archive.ubuntu.com/ubuntu noble-updates/universe amd64 Packages [1449 kB]
- Get:8 http://security.ubuntu.com/ubuntu noble-security/restricted amd64 Packages [1968 kB]
- Get:9 http://archive.ubuntu.com/ubuntu noble-updates/restricted amd64 Packages [2086 kB]
- Get:10 http://archive.ubuntu.com/ubuntu noble-updates/main amd64 Packages [1663 kB]
- Fetched 10.0 MB in 1s (12.1 MB/s)
- Reading package lists...
-
2025-07-31 08:34.24 ---> saved as "8dd1ca4b70ea02c0aa583fc7acbcbd470cdbc6bf416c2d7bbab8b2fbcd4c2468"
/home/opam: (run (shell "opam pin add -k version -yn catala.1.0.0~alpha 1.0.0~alpha"))
catala is now pinned to version 1.0.0~alpha
2025-07-31 08:34.24 ---> saved as "a0996da4956046ba21090987a6914b1817861982fe1369deed9c4787002b18f2"
/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall catala.1.0.0~alpha;\
\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\" != 'catala.1.0.0~alpha' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
catala.1.0.0~alpha is not installed. Install it? [y/n] y
* Incompatible packages:
- (invariant) -> ocaml-base-compiler = 5.3.0
- catala >= 1.0.0~alpha -> js_of_ocaml-ppx = 4.1.0 -> js_of_ocaml = 4.1.0 -> js_of_ocaml-compiler = 4.1.0 -> 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
- catala >= 1.0.0~alpha -> js_of_ocaml-ppx = 4.1.0 -> js_of_ocaml = 4.1.0 -> js_of_ocaml-compiler = 4.1.0 -> ocaml < 5.1 -> ocaml-variants
* Missing dependency:
- catala >= 1.0.0~alpha -> js_of_ocaml-ppx = 4.1.0 -> js_of_ocaml = 4.1.0 -> js_of_ocaml-compiler = 4.1.0 -> 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:
- catala >= 1.0.0~alpha -> js_of_ocaml-ppx = 4.1.0 -> js_of_ocaml = 4.1.0 -> js_of_ocaml-compiler = 4.1.0 -> ocaml < 5.1 -> ocaml-variants -> ocaml-beta
unmet availability conditions: 'enable-ocaml-beta-repository'
* Missing dependency:
- catala >= 1.0.0~alpha -> js_of_ocaml-ppx = 4.1.0 -> js_of_ocaml = 4.1.0 -> js_of_ocaml-compiler = 4.1.0 -> ocaml < 5.1 -> ocaml-variants -> system-msvc
unmet availability conditions: 'os = "win32"'
No solution found, exiting
"/usr/bin/env" "bash" "-c" "opam reinstall catala.1.0.0~alpha;
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" != 'catala.1.0.0~alpha' && 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-07-31 08:34.46: Job failed: Failed: Build failed
2025-07-31 08:34.46: Log analysis:
2025-07-31 08:34.46: >>>
No solution found, exiting
(score = 100)
2025-07-31 08:34.46: [SKIP] Package not available