(for PR #29933)
2026-05-24 10:56.29: New job: build z3.4.16.0, using opam dev
from https://github.com/ocaml/opam-repository.git#refs/pull/29933/head (4834f4da5c651b5c7ad2fb98572d52cd3bfab6e3)
on ubuntu-26.04-ocaml-5.4/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/29933/head" && git reset --hard 4834f4da
git fetch origin master
git merge --no-edit 856df280428c158a5bb0b3afce1bec956b10ae6f
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:ubuntu-26.04-ocaml-5.4@sha256:9c7f11384d5cf827e1135c1fcc871838c4f65b20b2a25feb3b4bcc1841a008f1
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 z3.4.16.0 4.16.0
RUN opam reinstall z3.4.16.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 "\"ubuntu-26.04\""; then \
echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
fi; \
test "$pkg" != 'z3.4.16.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-05-24 10:56.29: Using cache hint "ocaml/opam:ubuntu-26.04-ocaml-5.4@sha256:9c7f11384d5cf827e1135c1fcc871838c4f65b20b2a25feb3b4bcc1841a008f1-z3.4.16.0-4834f4da5c651b5c7ad2fb98572d52cd3bfab6e3"
2026-05-24 10:56.29: Using OBuilder spec:
((from ocaml/opam:ubuntu-26.04-ocaml-5.4@sha256:9c7f11384d5cf827e1135c1fcc871838c4f65b20b2a25feb3b4bcc1841a008f1)
(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 z3.4.16.0 4.16.0"))
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall z3.4.16.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 \"\\\"ubuntu-26.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\" != 'z3.4.16.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-05-24 10:56.29: Waiting for resource in pool OCluster
2026-05-24 10:56.29: Waiting for worker…
2026-05-24 10:56.29: Got resource from pool OCluster
Building on eumache.caelum.ci.dev
All commits already cached
Updating files: 72% (13077/17960)
Updating files: 73% (13111/17960)
Updating files: 74% (13291/17960)
Updating files: 75% (13470/17960)
Updating files: 76% (13650/17960)
Updating files: 77% (13830/17960)
Updating files: 78% (14009/17960)
Updating files: 79% (14189/17960)
Updating files: 80% (14368/17960)
Updating files: 81% (14548/17960)
Updating files: 82% (14728/17960)
Updating files: 83% (14907/17960)
Updating files: 84% (15087/17960)
Updating files: 85% (15266/17960)
Updating files: 86% (15446/17960)
Updating files: 87% (15626/17960)
Updating files: 88% (15805/17960)
Updating files: 89% (15985/17960)
Updating files: 90% (16164/17960)
Updating files: 91% (16344/17960)
Updating files: 92% (16524/17960)
Updating files: 93% (16703/17960)
Updating files: 94% (16883/17960)
Updating files: 95% (17062/17960)
Updating files: 96% (17242/17960)
Updating files: 97% (17422/17960)
Updating files: 98% (17601/17960)
Updating files: 99% (17781/17960)
Updating files: 100% (17960/17960)
Updating files: 100% (17960/17960), done.
HEAD is now at 856df28042 Merge pull request #29946 from hannesm/release-mirage-net-solo5-v0.8.1
Merge made by the 'ort' strategy.
packages/z3/z3.4.16.0/opam | 71 ++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 71 insertions(+)
create mode 100644 packages/z3/z3.4.16.0/opam
(from ocaml/opam:ubuntu-26.04-ocaml-5.4@sha256:9c7f11384d5cf827e1135c1fcc871838c4f65b20b2a25feb3b4bcc1841a008f1)
Unable to find image 'ocaml/opam:ubuntu-26.04-ocaml-5.4@sha256:9c7f11384d5cf827e1135c1fcc871838c4f65b20b2a25feb3b4bcc1841a008f1' locally
docker.io/ocaml/opam@sha256:9c7f11384d5cf827e1135c1fcc871838c4f65b20b2a25feb3b4bcc1841a008f1: Pulling from ocaml/opam
6f5c5aa4e145: Already exists
1c24335ddd46: Already exists
73c2241252ad: Already exists
00ca9f7aed7f: Already exists
533c5da5e99b: Already exists
c0005ce76316: Already exists
84ab14c2d0c8: Already exists
ab4433194f7c: Already exists
a9fb498f3112: Already exists
b68f2e8459e4: Already exists
df514e90a267: Already exists
f4cc2d461e19: Already exists
5b440812daa4: Already exists
0a5fd61caedc: Already exists
dade37641ef2: Already exists
362a60bb2595: Already exists
9c3bc4dbb0cc: Already exists
6376dcbc9546: Already exists
6376dcbc9546: Already exists
0e8712ebda32: Already exists
84c9a5c2dfc6: Already exists
fb7098a82d33: Already exists
7c2ce92ca5ad: Already exists
4f4fb700ef54: Already exists
02a760c9b11a: Already exists
d87920b35f7b: Already exists
8960c3d76078: Already exists
8904ff1b0bce: Already exists
b135cca69042: Already exists
71de0e844fb9: Already exists
d442707047b1: Already exists
8e790abbe6ed: Already exists
d9ed9ab79326: Already exists
1fb7c75c812e: Already exists
dc159397fbf1: Already exists
0fa4fc5c504a: Already exists
15720ef4483e: Already exists
14fe6aeeea8c: Already exists
1abbc73bd338: Already exists
52ebbe14b1df: Already exists
4f4fb700ef54: Already exists
b1c624dd30d4: Already exists
42096a8f505f: Pulling fs layer
eff86a76c709: Pulling fs layer
e222f0b5fce7: Pulling fs layer
fca472e4cbc1: Pulling fs layer
03bf6df8f12b: Pulling fs layer
9fee7fed6647: Pulling fs layer
9e6411f1b06d: Pulling fs layer
fca472e4cbc1: Waiting
9fee7fed6647: Waiting
03bf6df8f12b: Waiting
42096a8f505f: Verifying Checksum
42096a8f505f: Download complete
eff86a76c709: Verifying Checksum
eff86a76c709: Download complete
e222f0b5fce7: Download complete
42096a8f505f: Pull complete
eff86a76c709: Pull complete
e222f0b5fce7: Pull complete
03bf6df8f12b: Verifying Checksum
03bf6df8f12b: Download complete
9fee7fed6647: Verifying Checksum
9fee7fed6647: Download complete
9e6411f1b06d: Verifying Checksum
9e6411f1b06d: Download complete
fca472e4cbc1: Verifying Checksum
fca472e4cbc1: Download complete
fca472e4cbc1: Pull complete
03bf6df8f12b: Pull complete
9fee7fed6647: Pull complete
9e6411f1b06d: Pull complete
Digest: sha256:9c7f11384d5cf827e1135c1fcc871838c4f65b20b2a25feb3b4bcc1841a008f1
Status: Downloaded newer image for ocaml/opam@sha256:9c7f11384d5cf827e1135c1fcc871838c4f65b20b2a25feb3b4bcc1841a008f1
2026-05-24 10:56.49 ---> using "460865f2fe08474914fa416bfb5bf19d1dcc85d81dee956999ea889ed97f473a" from cache
/: (user (uid 1000) (gid 1000))
/: (workdir /home/opam)
/home/opam: (run (shell "sudo ln -f /usr/bin/opam-dev /usr/bin/opam"))
2026-05-24 10:56.49 ---> using "5a8ca7a2c11c45a6f8d3ca384f14dea3077cdff8016528a829b3e7ffb31c930d" 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 version of opam requires an update to the layout of /home/opam/.opam from version 2.1 to version 2.2, which can't be reverted.
You may want to back it up before going further.
[NOTE] The 'jobs' option was reset, its value was 1 and its new value will vary according to the current number of cores on your machine. You can restore the fixed value using:
opam option jobs=1 --global
Continue? [Y/n] y
Format upgrade done.
<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] no changes from git+file:///home/opam/opam-repository
2026-05-24 10:56.49 ---> using "222c0367c07d3dda16d40a1ce64f46abb953c9267d9b7fb9fcf9f9d5e0cbf036" 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.5.1
# self-upgrade no
# system arch=x86_64 os=linux os-distribution=ubuntu os-version=26.04
# solver builtin-0install
# install-criteria -changed,-count[avoid-version,solution]
# upgrade-criteria -count[avoid-version,solution]
# jobs 71
# repositories 1 (version-controlled)
# pinned 1 (version)
# current-switch 5.4
# invariant ["ocaml-base-compiler" {= "5.4.1"}]
# compiler-packages ocaml-base-compiler.5.4.1, ocaml-compiler.5.4.1, ocaml-options-vanilla.1
# ocaml:native true
# ocaml:native-tools true
# ocaml:native-dynlink true
# ocaml:stubsdir /home/opam/.opam/5.4/lib/ocaml/stublibs:/home/opam/.opam/5.4/lib/ocaml
# ocaml:preinstalled false
# ocaml:compiler 5.4.1
2026-05-24 10:56.49 ---> using "87214bb3e66840aad937e3385d8a0a5cfaf1d211c6f159e81a118f81f3764602" 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-05-24 10:56.49 ---> using "25b5f0988d9757a1fb2c3c610c36c0c8658231bee6da08a73c833c4c680bdfb6" from cache
/home/opam: (copy (src .) (dst opam-repository/))
2026-05-24 10:56.58 ---> saved as "3b0c324cd4fabfb43d49d1f1ba3525e65fbba76fb6bf3bc6e06c9a9d1d41e8ce"
/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2026-05-24 10:57.08 ---> saved as "bf05129619fe33723a6f9704bdd69d82a2978865f2c28745bef8686f2158ef47"
/home/opam: (run (network host)
(shell "opam update --depexts || true"))
+ /usr/bin/sudo "apt-get" "update"
- Hit:1 http://archive.ubuntu.com/ubuntu resolute InRelease
- Get:2 http://security.ubuntu.com/ubuntu resolute-security InRelease [136 kB]
- Get:3 http://security.ubuntu.com/ubuntu resolute-security/restricted amd64 Packages [216 kB]
- Get:4 http://archive.ubuntu.com/ubuntu resolute-updates InRelease [136 kB]
- Get:5 http://security.ubuntu.com/ubuntu resolute-security/universe amd64 Packages [53.9 kB]
- Get:6 http://security.ubuntu.com/ubuntu resolute-security/main amd64 Packages [102 kB]
- Hit:7 http://archive.ubuntu.com/ubuntu resolute-backports InRelease
- Get:8 http://archive.ubuntu.com/ubuntu resolute-updates/main amd64 Packages [109 kB]
- Get:9 http://archive.ubuntu.com/ubuntu resolute-updates/restricted amd64 Packages [216 kB]
- Get:10 http://archive.ubuntu.com/ubuntu resolute-updates/universe amd64 Packages [57.1 kB]
- Get:11 http://archive.ubuntu.com/ubuntu resolute-updates/multiverse amd64 Packages [3584 B]
- Fetched 1028 kB in 1s (1811 kB/s)
- Reading package lists...
-
2026-05-24 10:57.09 ---> saved as "7321d783951957d5536fa0c7d31058476a4797f3d934e949b3828eed192c4bdc"
/home/opam: (run (shell "opam pin add -k version -yn z3.4.16.0 4.16.0"))
z3 is now pinned to version 4.16.0
2026-05-24 10:57.10 ---> saved as "84865553d70ef976a11bc35531fa41f2feecbf22313ab6f209f89cbf0c48d3be"
/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall z3.4.16.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 \"\\\"ubuntu-26.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\" != 'z3.4.16.0' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
z3.4.16.0 is not installed. Install it? [Y/n] y
The following actions will be performed:
=== install 7 packages
- install conf-c++ 1.0 [required by z3]
- install conf-gmp 5 [required by zarith]
- install conf-pkg-config 4 [required by zarith]
- install conf-python-3 9.0.0 [required by z3]
- install ocamlfind 1.9.8 [required by z3]
- install z3 4.16.0 (pinned)
- install zarith 1.14 [required by z3]
The following system packages will first need to be installed:
libgmp-dev pkg-config
<><> Handling external dependencies <><><><><><><><><><><><><><><><><><><><><><>
opam believes some required external dependencies are missing. opam can:
> 1. Run apt-get to install them (may need root/sudo access)
2. Display the recommended apt-get command and wait while you run it manually (e.g. in another terminal)
3. Continue anyway, and, upon success, permanently register that this external dependency is present, but not detectable
4. Abort the installation
[1/2/3/4] 1
+ /usr/bin/sudo "apt-get" "install" "-qq" "-yy" "libgmp-dev" "pkg-config"
- Selecting previously unselected package libgmpxx4ldbl:amd64.
- (Reading database ...
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 22821 files and directories currently installed.)
- Preparing to unpack .../0-libgmpxx4ldbl_2%3a6.3.0+dfsg-5ubuntu2_amd64.deb ...
- Unpacking libgmpxx4ldbl:amd64 (2:6.3.0+dfsg-5ubuntu2) ...
- Selecting previously unselected package libgmp-dev:amd64.
- Preparing to unpack .../1-libgmp-dev_2%3a6.3.0+dfsg-5ubuntu2_amd64.deb ...
- Unpacking libgmp-dev:amd64 (2:6.3.0+dfsg-5ubuntu2) ...
- Selecting previously unselected package libpkgconf7:amd64.
- Preparing to unpack .../2-libpkgconf7_2.5.1-4_amd64.deb ...
- Unpacking libpkgconf7:amd64 (2.5.1-4) ...
- Selecting previously unselected package pkgconf-bin.
- Preparing to unpack .../3-pkgconf-bin_2.5.1-4_amd64.deb ...
- Unpacking pkgconf-bin (2.5.1-4) ...
- Selecting previously unselected package pkgconf:amd64.
- Preparing to unpack .../4-pkgconf_2.5.1-4_amd64.deb ...
- Unpacking pkgconf:amd64 (2.5.1-4) ...
- Selecting previously unselected package pkg-config:amd64.
- Preparing to unpack .../5-pkg-config_2.5.1-4_amd64.deb ...
- Unpacking pkg-config:amd64 (2.5.1-4) ...
- Setting up libpkgconf7:amd64 (2.5.1-4) ...
- Setting up libgmpxx4ldbl:amd64 (2:6.3.0+dfsg-5ubuntu2) ...
- Setting up pkgconf-bin (2.5.1-4) ...
- Setting up libgmp-dev:amd64 (2:6.3.0+dfsg-5ubuntu2) ...
- Setting up pkgconf:amd64 (2.5.1-4) ...
- Setting up pkg-config:amd64 (2.5.1-4) ...
- Processing triggers for libc-bin (2.43-2ubuntu2) ...
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved conf-gmp.5 (cached)
-> retrieved conf-python-3.9.0.0 (cached)
-> retrieved ocamlfind.1.9.8 (cached)
-> installed conf-c++.1.0
-> installed conf-gmp.5
-> installed conf-pkg-config.4
-> installed conf-python-3.9.0.0
-> retrieved z3.4.16.0 (cached)
-> retrieved zarith.1.14 (cached)
-> installed ocamlfind.1.9.8
-> installed zarith.1.14
-> installed z3.4.16.0
Done.
# To update the current shell environment, run: eval $(opam env)
2026-05-24 11:07.57 ---> saved as "50a3c3b477daf7ae80ca8c954d52aea47599e5ffdcdaaecfa66de962d37112ee"
Job succeeded
2026-05-24 11:35.56: Job succeeded