(for PR #28882)
2025-11-13 09:03.27: New job: build ojs_ed.0.9.0, using opam 2.0
from https://github.com/ocaml/opam-repository.git#refs/pull/28882/head (39335c8b7feed991eebd6439066118e84eaf79c3)
on debian-13-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/28882/head" && git reset --hard 39335c8b
git fetch origin master
git merge --no-edit c07dfd0c93a9e4cf6ab7f77cb01d392c9483aeec
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-13-ocaml-4.14@sha256:00ac8d2b32d98ee2c476e540a2ee462e24f50f003f31c05c8e412147e16c039e
USER 1000:1000
WORKDIR /home/opam
RUN sudo ln -f /usr/bin/opam-2.0 /usr/bin/opam
RUN opam init --reinit -ni
RUN 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 depext -u || true
RUN opam pin add -k version -yn ojs_ed.0.9.0 0.9.0
RUN opam depext ojs_ed.0.9.0 && opam reinstall ojs_ed.0.9.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-13\""; then \
echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
fi; \
test "$pkg" != 'ojs_ed.0.9.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-11-13 09:03.27: Using cache hint "ocaml/opam:debian-13-ocaml-4.14@sha256:00ac8d2b32d98ee2c476e540a2ee462e24f50f003f31c05c8e412147e16c039e-ojs_ed.0.9.0-39335c8b7feed991eebd6439066118e84eaf79c3"
2025-11-13 09:03.27: Using OBuilder spec:
((from ocaml/opam:debian-13-ocaml-4.14@sha256:00ac8d2b32d98ee2c476e540a2ee462e24f50f003f31c05c8e412147e16c039e)
(user (uid 1000) (gid 1000))
(workdir /home/opam)
(run (shell "sudo ln -f /usr/bin/opam-2.0 /usr/bin/opam"))
(run (network host)
(shell "opam init --reinit --config .opamrc-sandbox -ni"))
(run (shell "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 depext -u || true"))
(run (shell "opam pin add -k version -yn ojs_ed.0.9.0 0.9.0"))
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam depext ojs_ed.0.9.0 && opam reinstall ojs_ed.0.9.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-13\\\"\"; then\
\n echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
\n fi;\
\n test \"$pkg\" != 'ojs_ed.0.9.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-11-13 09:03.27: Waiting for resource in pool OCluster
2025-11-13 09:09.13: Waiting for worker…
2025-11-13 09:14.18: Got resource from pool OCluster
Building on bremusa.ocamllabs.io
All commits already cached
Updating files: 74% (13902/18752)
Updating files: 75% (14064/18752)
Updating files: 76% (14252/18752)
Updating files: 77% (14440/18752)
Updating files: 78% (14627/18752)
Updating files: 79% (14815/18752)
Updating files: 80% (15002/18752)
Updating files: 81% (15190/18752)
Updating files: 82% (15377/18752)
Updating files: 83% (15565/18752)
Updating files: 84% (15752/18752)
Updating files: 85% (15940/18752)
Updating files: 86% (16127/18752)
Updating files: 87% (16315/18752)
Updating files: 88% (16502/18752)
Updating files: 89% (16690/18752)
Updating files: 90% (16877/18752)
Updating files: 91% (17065/18752)
Updating files: 92% (17252/18752)
Updating files: 93% (17440/18752)
Updating files: 94% (17627/18752)
Updating files: 95% (17815/18752)
Updating files: 96% (18002/18752)
Updating files: 97% (18190/18752)
Updating files: 98% (18377/18752)
Updating files: 99% (18565/18752)
Updating files: 100% (18752/18752)
Updating files: 100% (18752/18752), done.
HEAD is now at c07dfd0c93 Merge pull request #28869 from zoggy/opam-publish-xtmpl_js.1.2.0
Merge made by the 'ort' strategy.
packages/ojs_base/ojs_base.0.9.0/opam | 49 +++++++++++++++++++++++++++
packages/ojs_base_all/ojs_base_all.0.9.0/opam | 40 ++++++++++++++++++++++
packages/ojs_base_ppx/ojs_base_ppx.0.9.0/opam | 39 +++++++++++++++++++++
packages/ojs_ed/ojs_ed.0.9.0/opam | 37 ++++++++++++++++++++
packages/ojs_filetree/ojs_filetree.0.9.0/opam | 39 +++++++++++++++++++++
packages/ojs_list/ojs_list.0.9.0/opam | 37 ++++++++++++++++++++
6 files changed, 241 insertions(+)
create mode 100644 packages/ojs_base/ojs_base.0.9.0/opam
create mode 100644 packages/ojs_base_all/ojs_base_all.0.9.0/opam
create mode 100644 packages/ojs_base_ppx/ojs_base_ppx.0.9.0/opam
create mode 100644 packages/ojs_ed/ojs_ed.0.9.0/opam
create mode 100644 packages/ojs_filetree/ojs_filetree.0.9.0/opam
create mode 100644 packages/ojs_list/ojs_list.0.9.0/opam
(from ocaml/opam:debian-13-ocaml-4.14@sha256:00ac8d2b32d98ee2c476e540a2ee462e24f50f003f31c05c8e412147e16c039e)
2025-11-13 09:14.24 ---> using "0a7782df646ba17c4c91deb7545267f63c19555df9b225a0640862ce540c1383" from cache
/: (user (uid 1000) (gid 1000))
/: (workdir /home/opam)
/home/opam: (run (shell "sudo ln -f /usr/bin/opam-2.0 /usr/bin/opam"))
2025-11-13 09:14.24 ---> using "2e915c832857d7f324dcfaf792cde43ef22a972cc3050e70760b3767913dfce6" from cache
/home/opam: (run (network host)
(shell "opam init --reinit --config .opamrc-sandbox -ni"))
[NOTE] Will configure 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.
[WARNING] Recommended dependencies -- most packages rely on these:
- m4
<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] Initialised
default (at git+file:///home/opam/opam-repository):
[INFO] opam 2.1 and 2.2 include many performance and security improvements over 2.0; please consider upgrading (https://opam.ocaml.org/doc/Install.html)
2025-11-13 09:15.06 ---> saved as "f0696e1de87acc459e6a3e79106b7841c7d391d0ed9c484837bc35e7d674eb5a"
/home/opam: (run (shell "opam config report"))
# opam config report
# opam-version 2.0.10 (adc1e1829a2bef5b240746df80341b508290fe3b)
# self-upgrade no
# system arch=x86_64 os=linux os-distribution=debian os-version=13
# solver builtin-mccs+glpk
# install-criteria -removed,-count[version-lag,request],-count[version-lag,changed],-changed
# upgrade-criteria -removed,-count[version-lag,solution],-new
# jobs 71
# repositories 1 (version-controlled)
# pinned 1 (version)
# current-switch 4.14
2025-11-13 09:15.07 ---> saved as "af4632399b84b057319b9775cf95f4849e3116eb99289d2d1b9b4d8ef421d60b"
/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-11-13 09:15.16 ---> saved as "4411c154f4e3741954b5da391bbbe83543ea8cbc91c0b31dc1ca37356d058031"
/home/opam: (copy (src .) (dst opam-repository/))
2025-11-13 09:15.28 ---> saved as "7be5bbf9fe97fd1032bc8518457ca39451f61c98e2763ae9d591727677d14b3b"
/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
default (at file:///home/opam/opam-repository):
[INFO] opam 2.1 and 2.2 include many performance and security improvements over 2.0; please consider upgrading (https://opam.ocaml.org/doc/Install.html)
2025-11-13 09:15.41 ---> saved as "6527bd908bff395d7b451ff2f8270a4e0e4fda3cdb887a3ae6619f8447ec9a41"
/home/opam: (run (network host)
(shell "opam depext -u || true"))
# Detecting depexts using vars: arch=x86_64, os=linux, os-distribution=debian, os-family=debian
# No extra OS packages requirements found.
# All required OS packages found.
The following command needs to be run through "sudo":
apt-get update
Hit:1 http://deb.debian.org/debian trixie InRelease
Get:2 http://deb.debian.org/debian trixie-updates InRelease [47.3 kB]
Get:3 http://deb.debian.org/debian-security trixie-security InRelease [43.4 kB]
Get:4 http://deb.debian.org/debian-security trixie-security/main amd64 Packages [69.7 kB]
Fetched 160 kB in 0s (1271 kB/s)
Reading package lists...
# OS package update successful
2025-11-13 09:15.44 ---> saved as "6bff3c8a4e4243c293dfd4499f7a5e1261fb07b0d858d0eb19d022d677db4bcb"
/home/opam: (run (shell "opam pin add -k version -yn ojs_ed.0.9.0 0.9.0"))
ojs_ed is now pinned to version 0.9.0
2025-11-13 09:15.44 ---> saved as "2797e373a087eee6c89ce3ac0cea35652b81046c94617de9632bb44e0aa0b474"
/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam depext ojs_ed.0.9.0 && opam reinstall ojs_ed.0.9.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-13\\\"\"; then\
\n echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
\n fi;\
\n test \"$pkg\" != 'ojs_ed.0.9.0' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
# Detecting depexts using vars: arch=x86_64, os=linux, os-distribution=debian, os-family=debian
[ERROR] No solution for ojs_ed.0.9.0: The following dependencies couldn't be met:
- ojs_ed -> ojs_base >= 0.9.0 -> ocaml >= 5.1.0
base of this switch (use `--unlock-base' to force)
Command failed: opam list --readonly --external '--resolve=ojs_ed.0.9.0' --color=never returned 20
"/usr/bin/env" "bash" "-c" "opam depext ojs_ed.0.9.0 && opam reinstall ojs_ed.0.9.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-13\""; then
echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.";
fi;
test "$pkg" != 'ojs_ed.0.9.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 20
2025-11-13 09:15.58: Job failed: Failed: Build failed
2025-11-13 09:15.58: Log analysis:
2025-11-13 09:15.58: >>>
[ERROR] No solution for ojs_ed.0.9.0: The following dependencies couldn't be met:
(score = 100)
2025-11-13 09:15.58: [SKIP] Package not available