- github
- ocaml
- opam-repository
- 387e2f
- distributions,ubuntu-22.04-ocaml-5.4,ppxlib-tools.0.38.0
(not at the head of any monitored branch or PR)
2026-03-19 09:38.24: New job: build ppxlib-tools.0.38.0, using opam dev
from https://github.com/ocaml/opam-repository.git#refs/pull/29563/head (387e2f5b0d8ca5a51f4ba81536f829fd909dafd1)
on ubuntu-22.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/29563/head" && git reset --hard 387e2f5b
git fetch origin master
git merge --no-edit 9f189ca4f94fbb5f0045820bf3c4ffafb21145ef
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:ubuntu-22.04-ocaml-5.4@sha256:e4dfcae6e38f838fabf685c7211c2fe7c093177ca2950941eee47cbecc201af9
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 ppxlib-tools.0.38.0 0.38.0
RUN opam reinstall ppxlib-tools.0.38.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-22.04\""; then \
echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
fi; \
test "$pkg" != 'ppxlib-tools.0.38.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-03-19 09:38.24: Using cache hint "ocaml/opam:ubuntu-22.04-ocaml-5.4@sha256:e4dfcae6e38f838fabf685c7211c2fe7c093177ca2950941eee47cbecc201af9-ppxlib-tools.0.38.0-387e2f5b0d8ca5a51f4ba81536f829fd909dafd1"
2026-03-19 09:38.24: Using OBuilder spec:
((from ocaml/opam:ubuntu-22.04-ocaml-5.4@sha256:e4dfcae6e38f838fabf685c7211c2fe7c093177ca2950941eee47cbecc201af9)
(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 ppxlib-tools.0.38.0 0.38.0"))
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall ppxlib-tools.0.38.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-22.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\" != 'ppxlib-tools.0.38.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-03-19 09:38.24: Waiting for resource in pool OCluster
2026-03-19 09:38.25: Waiting for worker…
2026-03-19 09:39.47: Got resource from pool OCluster
Building on clete
All commits already cached
Updating files: 64% (11928/18507)
Updating files: 65% (12030/18507)
Updating files: 66% (12215/18507)
Updating files: 67% (12400/18507)
Updating files: 68% (12585/18507)
Updating files: 69% (12770/18507)
Updating files: 70% (12955/18507)
Updating files: 71% (13140/18507)
Updating files: 72% (13326/18507)
Updating files: 73% (13511/18507)
Updating files: 74% (13696/18507)
Updating files: 75% (13881/18507)
Updating files: 76% (14066/18507)
Updating files: 77% (14251/18507)
Updating files: 78% (14436/18507)
Updating files: 79% (14621/18507)
Updating files: 80% (14806/18507)
Updating files: 81% (14991/18507)
Updating files: 82% (15176/18507)
Updating files: 83% (15361/18507)
Updating files: 84% (15546/18507)
Updating files: 85% (15731/18507)
Updating files: 86% (15917/18507)
Updating files: 87% (16102/18507)
Updating files: 88% (16287/18507)
Updating files: 89% (16472/18507)
Updating files: 90% (16657/18507)
Updating files: 91% (16842/18507)
Updating files: 92% (17027/18507)
Updating files: 93% (17212/18507)
Updating files: 94% (17397/18507)
Updating files: 95% (17582/18507)
Updating files: 96% (17767/18507)
Updating files: 97% (17952/18507)
Updating files: 98% (18137/18507)
Updating files: 99% (18322/18507)
Updating files: 100% (18507/18507)
Updating files: 100% (18507/18507), done.
HEAD is now at 9f189ca4f9 Merge pull request #29562 from shonfeder/release-dune-3.22.0
Updating 9f189ca4f9..387e2f5b0d
Fast-forward
packages/ppxlib-tools/ppxlib-tools.0.38.0/opam | 46 +++++++++++++++++++
packages/ppxlib/ppxlib.0.38.0/opam | 63 ++++++++++++++++++++++++++
2 files changed, 109 insertions(+)
create mode 100644 packages/ppxlib-tools/ppxlib-tools.0.38.0/opam
create mode 100644 packages/ppxlib/ppxlib.0.38.0/opam
(from ocaml/opam:ubuntu-22.04-ocaml-5.4@sha256:e4dfcae6e38f838fabf685c7211c2fe7c093177ca2950941eee47cbecc201af9)
2026-03-19 09:39.50 ---> using "a494baecbb94e7af4729d4c2ae860efde3ac6b3dc163dcb8423239dae5deadc4" 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-03-19 09:39.51 ---> saved as "6f2639a5564351e69f4f40c6c894e606e177ccae6e98ecabff0cad933b576055"
/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.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
2026-03-19 09:40.36 ---> saved as "43265c4572944c82427162f15ebbccd25ab722131f4adf4abfdfd12224670816"
/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.0
# self-upgrade no
# system arch=x86_64 os=linux os-distribution=ubuntu os-version=22.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.0"}]
# compiler-packages ocaml-base-compiler.5.4.0, ocaml-compiler.5.4.0, 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.0
2026-03-19 09:40.38 ---> saved as "48e6eff73b2ea30793b4fb9be93fb662b27dfe06de97dc8dbac91023200c9e4e"
/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-03-19 09:40.46 ---> saved as "3025014d1a6a5c6d705fcf0d6762d698b02dee2a4e77830e395f8c4720c05ac5"
/home/opam: (copy (src .) (dst opam-repository/))
2026-03-19 09:40.55 ---> saved as "f1aab6a19d2de4ebb26df6e82861487b6bc0e17988655afa989aeea5daa665ad"
/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2026-03-19 09:41.15 ---> saved as "c695312442214c7aaeec72eb800d8fd2e83e33b3f6091589616dfd48ae9c9b7f"
/home/opam: (run (network host)
(shell "opam update --depexts || true"))
+ /usr/bin/sudo "apt-get" "update"
- Hit:1 http://archive.ubuntu.com/ubuntu jammy InRelease
- Get:2 http://security.ubuntu.com/ubuntu jammy-security InRelease [129 kB]
- Get:3 http://archive.ubuntu.com/ubuntu jammy-updates InRelease [128 kB]
- Get:4 http://archive.ubuntu.com/ubuntu jammy-backports InRelease [127 kB]
- Get:5 http://security.ubuntu.com/ubuntu jammy-security/universe amd64 Packages [1303 kB]
- Get:6 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 Packages [4166 kB]
- Get:7 http://security.ubuntu.com/ubuntu jammy-security/restricted amd64 Packages [6794 kB]
- Get:8 http://security.ubuntu.com/ubuntu jammy-security/main amd64 Packages [3833 kB]
- Get:9 http://archive.ubuntu.com/ubuntu jammy-updates/universe amd64 Packages [1615 kB]
- Get:10 http://archive.ubuntu.com/ubuntu jammy-updates/restricted amd64 Packages [7002 kB]
- Get:11 http://archive.ubuntu.com/ubuntu jammy-backports/universe amd64 Packages [35.6 kB]
- Get:12 http://archive.ubuntu.com/ubuntu jammy-backports/main amd64 Packages [84.0 kB]
- Fetched 25.2 MB in 3s (10.0 MB/s)
- Reading package lists...
-
2026-03-19 09:41.20 ---> saved as "601c958c3a6e1b7783b8e1f989647d3b45fa9bc84c628793688007c4b063de96"
/home/opam: (run (shell "opam pin add -k version -yn ppxlib-tools.0.38.0 0.38.0"))
ppxlib-tools is now pinned to version 0.38.0
2026-03-19 09:41.21 ---> saved as "40bd81a9641afce53bae70b1c31ff20af54707a37fc20ff7b47b416a9bf4085c"
/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall ppxlib-tools.0.38.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-22.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\" != 'ppxlib-tools.0.38.0' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
ppxlib-tools.0.38.0 is not installed. Install it? [Y/n] y
The following actions will be performed:
=== install 9 packages
- install cmdliner 2.1.0 [required by ppxlib-tools]
- install dune 3.22.0 [required by ppxlib-tools]
- install ocaml-compiler-libs v0.17.0 [required by ppxlib]
- install ppx_derivers 1.2.1 [required by ppxlib]
- install ppxlib 0.38.0 [required by ppxlib-tools]
- install ppxlib-tools 0.38.0 (pinned)
- install sexplib0 v0.17.0 [required by ppxlib]
- install stdlib-shims 0.3.0 [required by ppxlib]
- install yojson 3.0.0 [required by ppxlib-tools]
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved cmdliner.2.1.0 (cached)
-> retrieved dune.3.22.0 (cached)
-> retrieved ocaml-compiler-libs.v0.17.0 (cached)
-> retrieved ppx_derivers.1.2.1 (cached)
-> retrieved ppxlib.0.38.0, ppxlib-tools.0.38.0 (https://github.com/ocaml-ppx/ppxlib/archive/f7ffcd60a04f22ba85caefbde7f1eb4af6dba4ea.tar.gz)
-> retrieved sexplib0.v0.17.0 (cached)
-> retrieved stdlib-shims.0.3.0 (cached)
-> retrieved yojson.3.0.0 (cached)
-> installed cmdliner.2.1.0
-> installed dune.3.22.0
-> installed ppx_derivers.1.2.1
-> installed stdlib-shims.0.3.0
-> installed sexplib0.v0.17.0
-> installed ocaml-compiler-libs.v0.17.0
-> installed yojson.3.0.0
-> installed ppxlib.0.38.0
-> installed ppxlib-tools.0.38.0
Done.
# To update the current shell environment, run: eval $(opam env)
2026-03-19 09:42.27 ---> saved as "d893f4f8b04fe16ca9eaf4e9e6354c1e3df8c3ade0568bd3e36072802ce0c866"
Job succeeded
2026-03-19 09:42.39: Job succeeded