(for PR #29159)
2026-01-21 12:32.26: New job: build ortools.9.14.0, using opam 2.0
from https://github.com/ocaml/opam-repository.git#refs/pull/29159/head (54e99e25df564b1568f413be7f61592dcad00735)
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/29159/head" && git reset --hard 54e99e25
git fetch origin master
git merge --no-edit 10a02a697b08f6d78a6c4c2cb9a76136afc7776d
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-13-ocaml-4.14@sha256:423b7147c04b7e40a2168c2d5b3c2e77064aa5b144995d90eb305e6eb6874610
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 ortools.9.14.0 9.14.0
RUN opam depext ortools.9.14.0 && opam reinstall ortools.9.14.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" != 'ortools.9.14.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 .
2026-01-21 12:32.26: Using cache hint "ocaml/opam:debian-13-ocaml-4.14@sha256:423b7147c04b7e40a2168c2d5b3c2e77064aa5b144995d90eb305e6eb6874610-ortools.9.14.0-54e99e25df564b1568f413be7f61592dcad00735"
2026-01-21 12:32.26: Using OBuilder spec:
((from ocaml/opam:debian-13-ocaml-4.14@sha256:423b7147c04b7e40a2168c2d5b3c2e77064aa5b144995d90eb305e6eb6874610)
(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 ortools.9.14.0 9.14.0"))
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam depext ortools.9.14.0 && opam reinstall ortools.9.14.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\" != 'ortools.9.14.0' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
)
2026-01-21 12:32.26: Waiting for resource in pool OCluster
2026-01-21 12:32.27: Waiting for worker…
2026-01-21 12:35.26: Got resource from pool OCluster
Building on toxis.caelum.ci.dev
All commits already cached
Updating files: 88% (17011/19235)
Updating files: 89% (17120/19235)
Updating files: 90% (17312/19235)
Updating files: 91% (17504/19235)
Updating files: 92% (17697/19235)
Updating files: 93% (17889/19235)
Updating files: 94% (18081/19235)
Updating files: 95% (18274/19235)
Updating files: 96% (18466/19235)
Updating files: 97% (18658/19235)
Updating files: 98% (18851/19235)
Updating files: 99% (19043/19235)
Updating files: 100% (19235/19235)
Updating files: 100% (19235/19235), done.
HEAD is now at 10a02a697b Merge pull request #29249 from panglesd/release-slipshow-v0.8.0
Merge made by the 'ort' strategy.
packages/ortools/ortools.9.14.0/opam | 47 +++++++++++++++
.../ortools_solvers/ortools_solvers.9.14.0/opam | 68 ++++++++++++++++++++++
2 files changed, 115 insertions(+)
create mode 100644 packages/ortools/ortools.9.14.0/opam
create mode 100644 packages/ortools_solvers/ortools_solvers.9.14.0/opam
(from ocaml/opam:debian-13-ocaml-4.14@sha256:423b7147c04b7e40a2168c2d5b3c2e77064aa5b144995d90eb305e6eb6874610)
2026-01-21 12:35.38 ---> using "af1ebcbd2c0e8a2a9bd41972ff6b1f2b27bf9dd52d9b45e003eb0eaad274be03" 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"))
2026-01-21 12:35.38 ---> using "1915fe0ebcf17e16f2849ce2902f1a7180323360514d269c12b56b364868d5ea" 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)
2026-01-21 12:35.38 ---> using "b834a09d4d003d9d54d03f8e6105734517e6e0d09259d6e48c591049cf7a1841" from cache
/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
2026-01-21 12:35.38 ---> using "0b257ea3efea6094ad4dc7022aafd1dfa6a33fd096b6fce5d5584ca3e8724594" 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/"))
2026-01-21 12:35.38 ---> using "c51601865a9b07aaf55b6c3c084a393b4a05bb439d41737576e02a73358455d8" from cache
/home/opam: (copy (src .) (dst opam-repository/))
2026-01-21 12:35.49 ---> saved as "075c36edb6d24c2d92cc16c8527f64a5419d2ee85a559a5498a9a5652ca8e495"
/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)
2026-01-21 12:36.06 ---> saved as "8c451c33905bb2e2abb6aafecf11ca3141335dfb62f3c5e1cf741f568387de16"
/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
Get:1 http://deb.debian.org/debian trixie InRelease [140 kB]
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 trixie/main amd64 Packages [9670 kB]
Get:5 http://deb.debian.org/debian-security trixie-security/main amd64 Packages [96.3 kB]
Fetched 9998 kB in 2s (6295 kB/s)
Reading package lists...
# OS package update successful
2026-01-21 12:36.09 ---> saved as "018bef1e434e4f597fa6ea929b9f9f4a184e938fe14540563702d975f7f28b06"
/home/opam: (run (shell "opam pin add -k version -yn ortools.9.14.0 9.14.0"))
ortools is now pinned to version 9.14.0
2026-01-21 12:36.10 ---> saved as "b53fe7d49a619a8cbf8b428f28d838fcfb2359c2744718cf4bd3dc353b89c2b6"
/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam depext ortools.9.14.0 && opam reinstall ortools.9.14.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\" != 'ortools.9.14.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
# No extra OS packages requirements found.
# All required OS packages found.
ortools.9.14.0 is not installed. Install it? [Y/n] y
The following actions will be performed:
- install dune 3.21.0 [required by ortools]
- install stdlib-shims 0.3.0 [required by pbrt]
- install pbrt 4.0 [required by ortools]
- install ortools 9.14.0*
===== 4 to install =====
<><> Gathering sources ><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
[dune.3.21.0] found in cache
[ortools.9.14.0] found in cache
[pbrt.4.0] found in cache
[stdlib-shims.0.3.0] found in cache
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> installed dune.3.21.0
-> installed stdlib-shims.0.3.0
-> installed pbrt.4.0
-> installed ortools.9.14.0
Done.
# Run eval $(opam env) to update the current shell environment
2026-01-21 12:36.54 ---> saved as "c45d54a8929df0ac1ca9ddc430eaae3bf129b298143c465987ea13af004b399f"
Job succeeded
2026-01-21 12:37.11: Job succeeded