(for PR #28849)
2025-11-10 11:01.03: New job: build mlcuddidl.3.0.8, using opam dev
from https://github.com/ocaml/opam-repository.git#refs/pull/28849/head (a71973e0b450bf4d9b7b3078e52c1a6c0c4486ac)
on archlinux-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/28849/head" && git reset --hard a71973e0
git fetch origin master
git merge --no-edit 21f97b2e6d7c617fc0a79cc8e59b2e10690960e1
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:archlinux-ocaml-5.4@sha256:f2b57883424ecac69260f2acbf993c67f0f75f9bd2f4a10437172469e28ffee5
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 mlcuddidl.3.0.8 3.0.8
RUN opam reinstall mlcuddidl.3.0.8; \
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 "\"archlinux\""; then \
echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
fi; \
test "$pkg" != 'mlcuddidl.3.0.8' && 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-10 11:01.03: Using cache hint "ocaml/opam:archlinux-ocaml-5.4@sha256:f2b57883424ecac69260f2acbf993c67f0f75f9bd2f4a10437172469e28ffee5-mlcuddidl.3.0.8-a71973e0b450bf4d9b7b3078e52c1a6c0c4486ac"
2025-11-10 11:01.03: Using OBuilder spec:
((from ocaml/opam:archlinux-ocaml-5.4@sha256:f2b57883424ecac69260f2acbf993c67f0f75f9bd2f4a10437172469e28ffee5)
(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 mlcuddidl.3.0.8 3.0.8"))
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall mlcuddidl.3.0.8;\
\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 \"\\\"archlinux\\\"\"; then\
\n echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
\n fi;\
\n test \"$pkg\" != 'mlcuddidl.3.0.8' && 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-10 11:01.03: Waiting for resource in pool OCluster
2025-11-10 11:47.50: Waiting for worker…
2025-11-10 11:51.20: Got resource from pool OCluster
Building on bremusa.ocamllabs.io
All commits already cached
HEAD is now at 21f97b2e6d Merge pull request #28836 from dbuenzli/b0-publish-bytesrw.0.3.0
Merge made by the 'ort' strategy.
.../mlcuddidl.3.0.8/files/compilation_ocaml5.diff | 98 ++++++++++++++++++++++
.../mlcuddidl.3.0.8/files/exn_init_val_unit.diff | 15 ++++
packages/mlcuddidl/mlcuddidl.3.0.8/opam | 18 +++-
3 files changed, 130 insertions(+), 1 deletion(-)
create mode 100644 packages/mlcuddidl/mlcuddidl.3.0.8/files/compilation_ocaml5.diff
create mode 100644 packages/mlcuddidl/mlcuddidl.3.0.8/files/exn_init_val_unit.diff
(from ocaml/opam:archlinux-ocaml-5.4@sha256:f2b57883424ecac69260f2acbf993c67f0f75f9bd2f4a10437172469e28ffee5)
Unable to find image 'ocaml/opam:archlinux-ocaml-5.4@sha256:f2b57883424ecac69260f2acbf993c67f0f75f9bd2f4a10437172469e28ffee5' locally
docker.io/ocaml/opam@sha256:f2b57883424ecac69260f2acbf993c67f0f75f9bd2f4a10437172469e28ffee5: Pulling from ocaml/opam
Digest: sha256:f2b57883424ecac69260f2acbf993c67f0f75f9bd2f4a10437172469e28ffee5
Status: Downloaded newer image for ocaml/opam@sha256:f2b57883424ecac69260f2acbf993c67f0f75f9bd2f4a10437172469e28ffee5
2025-11-10 11:51.30 ---> using "c5ec08e9b846f91b986ff2383fc30f6338b1567641a5ad9a2c1c32527aa4f09c" from cache
/: (user (uid 1000) (gid 1000))
/: (workdir /home/opam)
/home/opam: (run (shell "sudo ln -f /usr/bin/opam-dev /usr/bin/opam"))
2025-11-10 11:51.30 ---> using "8a9067b27012d2ba6b4516e93d0c793ee0e0592a932401de368b7e2f165df9dd" 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.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-11-10 11:51.30 ---> using "10b8b707aef33fdbd36331cf185a6fa41045dcc827c8af884a875491d600a5a5" 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.0~alpha1
# self-upgrade no
# system arch=x86_64 os=linux os-distribution=arch os-version=20251019.0.436919
# 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
2025-11-10 11:51.30 ---> using "4ac6b250fe85f17d5f68eada31b34e0dc15e2e80550508216edaadde034fc5db" 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-11-10 11:51.30 ---> using "8862006d5282ef4e8d32a6939b65b6e6b807dbcea8fb01bc93817277c0ba4bb6" from cache
/home/opam: (copy (src .) (dst opam-repository/))
2025-11-10 11:51.39 ---> saved as "9019b2f52abb216652124cc447cc8a091b2516cfc0135af6a337fc601f494d97"
/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2025-11-10 11:52.01 ---> saved as "f359cb562bb524048dd7dfd70785b56eef8496e1c70c57b3b6fde75b1772b1cc"
/home/opam: (run (network host)
(shell "opam update --depexts || true"))
+ /usr/sbin/sudo "pacman" "-Sy"
- :: Synchronizing package databases...
- core downloading...
- extra downloading...
2025-11-10 11:52.03 ---> saved as "39ca5edc3a359bc16477b6c8130afc24968230005795b532fe6704ff77a1d936"
/home/opam: (run (shell "opam pin add -k version -yn mlcuddidl.3.0.8 3.0.8"))
mlcuddidl is now pinned to version 3.0.8
2025-11-10 11:52.04 ---> saved as "9879618443628b634758dd4379fe534a31c39ef1fac1994aa2c1db157bd344bc"
/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall mlcuddidl.3.0.8;\
\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 \"\\\"archlinux\\\"\"; then\
\n echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
\n fi;\
\n test \"$pkg\" != 'mlcuddidl.3.0.8' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
mlcuddidl.3.0.8 is not installed. Install it? [Y/n] y
The following actions will be performed:
=== install 5 packages
∗ camlidl 1.13 [required by mlcuddidl]
∗ conf-m4 1 [required by mlcuddidl]
∗ mlcuddidl 3.0.8 (pinned)
∗ ocamlbuild 0.16.1 [required by mlcuddidl]
∗ ocamlfind 1.9.8 [required by mlcuddidl]
The following system packages will first need to be installed:
m4
<><> Handling external dependencies <><><><><><><><><><><><><><><><><><><><><><>
opam believes some required external dependencies are missing. opam can:
> 1. Run pacman to install them (may need root/sudo access)
2. Display the recommended pacman 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/sbin/sudo "pacman" "-Su" "--noconfirm" "m4"
- :: Starting full system upgrade...
- resolving dependencies...
- looking for conflicting packages...
-
- Package (7) Old Version New Version Net Change Download Size
-
- core/icu 76.1-1 78.1-1 1.47 MiB 11.71 MiB
- core/libxcrypt 4.5.0-1 4.5.1-1 0.00 MiB 0.09 MiB
- core/libxml2 2.15.1-1 2.15.1-3 0.00 MiB 0.75 MiB
- core/systemd 258.1-1 258.2-1 0.01 MiB 9.23 MiB
- core/systemd-libs 258.1-1 258.2-1 0.00 MiB 1.24 MiB
- core/systemd-sysvcompat 258.1-1 258.2-1 0.00 MiB 0.01 MiB
- core/m4 1.4.20-1 0.70 MiB 0.26 MiB
-
- Total Download Size: 23.28 MiB
- Total Installed Size: 85.59 MiB
- Net Upgrade Size: 2.18 MiB
-
- :: Proceed with installation? [Y/n]
- :: Retrieving packages...
- icu-78.1-1-x86_64 downloading...
- systemd-258.2-1-x86_64 downloading...
- systemd-libs-258.2-1-x86_64 downloading...
- libxml2-2.15.1-3-x86_64 downloading...
- m4-1.4.20-1-x86_64 downloading...
- libxcrypt-4.5.1-1-x86_64 downloading...
- systemd-sysvcompat-258.2-1-x86_64 downloading...
- checking keyring...
- checking package integrity...
- loading package files...
- checking for file conflicts...
- :: Processing package changes...
- installing m4...
- upgrading icu...
- upgrading libxcrypt...
- upgrading libxml2...
- upgrading systemd-libs...
- upgrading systemd...
- upgrading systemd-sysvcompat...
- :: Running post-transaction hooks...
- ( 1/11) Creating system user accounts...
- ( 2/11) Updating journal message catalog...
- ( 3/11) Reloading system manager configuration...
- Failed to check for chroot() environment: Permission denied
- Skipped: Current root is not booted.
- ( 4/11) Reloading user manager configuration...
- Failed to check for chroot() environment: Permission denied
- Skipped: Current root is not booted.
- ( 5/11) Updating udev hardware database...
- ( 6/11) Restarting marked services...
- Failed to check for chroot() environment: Permission denied
- Skipped: Current root is not booted.
- ( 7/11) Applying kernel sysctl settings...
- Failed to check for chroot() environment: Permission denied
- Skipped: Current root is not booted.
- ( 8/11) Creating temporary files...
- /usr/lib/tmpfiles.d/journal-nocow.conf:26: Failed to resolve specifier: uninitialized /etc/ detected, skipping.
- All rules containing unresolvable specifiers will be skipped.
- ( 9/11) Reloading device manager configuration...
- Failed to check for chroot() environment: Permission denied
- Skipped: Current root is not booted.
- (10/11) Arming ConditionNeedsUpdate...
- (11/11) Reloading system bus configuration...
- Failed to check for chroot() environment: Permission denied
- Skipped: Current root is not booted.
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
⬇ retrieved camlidl.1.13 (cached)
⬇ retrieved mlcuddidl.3.0.8 (cached)
∗ installed conf-m4.1
⬇ retrieved ocamlbuild.0.16.1 (cached)
⬇ retrieved ocamlfind.1.9.8 (cached)
∗ installed camlidl.1.13
∗ installed ocamlfind.1.9.8
∗ installed ocamlbuild.0.16.1
∗ installed mlcuddidl.3.0.8
Done.
<><> mlcuddidl.3.0.8 installed successfully <><><><><><><><><><><><><><><><><><>
=> For supporting ocaml 5 some modules are removed compared to the release
# To update the current shell environment, run: eval $(opam env)
2025-11-10 11:52.44 ---> saved as "851ee2932bdd1cf3d0bb1c723c23cb29e20846d0e55e25e085763553ce023b4d"
Job succeeded
2025-11-10 11:52.53: Job succeeded