- github
- ocaml
- opam-repository
- 6f0fc6
- distributions,fedora-42-ocaml-4.14,mirage.4.10.4
(not at the head of any monitored branch or PR)
2025-11-21 11:27.13: New job: build mirage.4.10.4, using opam dev
from https://github.com/ocaml/opam-repository.git#refs/pull/28942/head (6f0fc6a951253ffe47c1572d3ded0aa67df3d990)
on fedora-42-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/28942/head" && git reset --hard 6f0fc6a9
git fetch origin master
git merge --no-edit ee3428377a13c3c9716b6f791c33441cfb542498
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:fedora-42-ocaml-4.14@sha256:181d824b1275534c2a566e7c509ad41fb7f77e7d243a4f2953f6edcda0217432
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 mirage.4.10.4 4.10.4
RUN opam reinstall mirage.4.10.4; \
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 "\"fedora-42\""; then \
echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
fi; \
test "$pkg" != 'mirage.4.10.4' && 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-21 11:27.13: Using cache hint "ocaml/opam:fedora-42-ocaml-4.14@sha256:181d824b1275534c2a566e7c509ad41fb7f77e7d243a4f2953f6edcda0217432-mirage.4.10.4-6f0fc6a951253ffe47c1572d3ded0aa67df3d990"
2025-11-21 11:27.13: Using OBuilder spec:
((from ocaml/opam:fedora-42-ocaml-4.14@sha256:181d824b1275534c2a566e7c509ad41fb7f77e7d243a4f2953f6edcda0217432)
(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 mirage.4.10.4 4.10.4"))
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall mirage.4.10.4;\
\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 \"\\\"fedora-42\\\"\"; then\
\n echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
\n fi;\
\n test \"$pkg\" != 'mirage.4.10.4' && 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-21 11:27.13: Waiting for resource in pool OCluster
2025-11-21 11:27.14: Waiting for worker…
2025-11-21 11:32.53: Got resource from pool OCluster
Building on toxis.caelum.ci.dev
All commits already cached
HEAD is now at ee3428377a Merge pull request #28925 from edwintorok/rocky
Updating ee3428377a..6f0fc6a951
Fast-forward
packages/mirage-runtime/mirage-runtime.4.10.4/opam | 45 +++++++++++++++
packages/mirage/mirage.4.10.4/opam | 64 ++++++++++++++++++++++
2 files changed, 109 insertions(+)
create mode 100644 packages/mirage-runtime/mirage-runtime.4.10.4/opam
create mode 100644 packages/mirage/mirage.4.10.4/opam
(from ocaml/opam:fedora-42-ocaml-4.14@sha256:181d824b1275534c2a566e7c509ad41fb7f77e7d243a4f2953f6edcda0217432)
2025-11-21 11:33.45 ---> saved as "9ed726754034292a989d384c5e0562ef32e5e71bf08fd3d16d06fb401232a35b"
/: (user (uid 1000) (gid 1000))
/: (workdir /home/opam)
/home/opam: (run (shell "sudo ln -f /usr/bin/opam-dev /usr/bin/opam"))
2025-11-21 11:33.45 ---> saved as "5ddcea2cc026aa15b8649d174020c07351c2e6a5a71ba740f5955efdce816e9a"
/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-21 11:34.14 ---> saved as "490cc7101b0ae828d868d0ce0c06f49c536e34a76823b07c01c0ebe9a8798ff0"
/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~beta1
# self-upgrade no
# system arch=x86_64 os=linux os-distribution=fedora os-version=42
# 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 4.14
# invariant ["ocaml-base-compiler" {= "4.14.2"}]
# compiler-packages ocaml-base-compiler.4.14.2, ocaml-options-vanilla.1
# ocaml:native true
# ocaml:native-tools true
# ocaml:native-dynlink true
# ocaml:stubsdir /home/opam/.opam/4.14/lib/ocaml/stublibs:/home/opam/.opam/4.14/lib/ocaml
# ocaml:preinstalled false
# ocaml:compiler 4.14.2
2025-11-21 11:34.15 ---> saved as "b0bc7d1045f930b3ebaca9ae8df970d2d4e9019632f618c87f4ffa9da06f904e"
/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-21 11:34.23 ---> saved as "609e874fd9076ed8485bc84fd55d37c3b5223786facbef645442c57f0db599fd"
/home/opam: (copy (src .) (dst opam-repository/))
2025-11-21 11:34.37 ---> saved as "2a12f72cbcc6ea435a0a3b3102d95dae9af7a0a9585396861b7dce3234fa48c5"
/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2025-11-21 11:34.59 ---> saved as "1ab9badbdd83c5c9369492f7882f3f0bc1efde9d81e115153f4be91d2e01dc27"
/home/opam: (run (network host)
(shell "opam update --depexts || true"))
+ /usr/sbin/sudo "yum" "makecache"
- Updating and loading repositories:
- Fedora 42 - x86_64 - Updates 100% | 86.5 KiB/s | 20.8 KiB | 00m00s
- Repositories loaded.
- Metadata cache created.
2025-11-21 11:35.04 ---> saved as "48c45d8913e7aea830c9e1d67828caf2e8ba43348aa6b33514d247167527da44"
/home/opam: (run (shell "opam pin add -k version -yn mirage.4.10.4 4.10.4"))
mirage is now pinned to version 4.10.4
2025-11-21 11:35.05 ---> saved as "45495f53ef61c9629908a565913712560194fa668bb36a79c2bc1850e2674909"
/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall mirage.4.10.4;\
\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 \"\\\"fedora-42\\\"\"; then\
\n echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
\n fi;\
\n test \"$pkg\" != 'mirage.4.10.4' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
mirage.4.10.4 is not installed. Install it? [Y/n] y
The following actions will be performed:
=== install 28 packages
- install angstrom 0.16.1 [required by emile, uri]
- install astring 0.8.5 [required by mirage]
- install base64 3.5.2 [required by emile]
- install bigstringaf 0.10.0 [required by emile]
- install bos 0.2.1 [required by mirage]
- install cmdliner 2.0.0 [required by mirage]
- install conf-pkg-config 4 [required by opam-monorepo]
- install csexp 1.5.2 [required by dune-configurator]
- install domain-name 0.5.0 [required by ipaddr]
- install dune 3.20.2 [required by mirage]
- install dune-configurator 3.20.2 [required by bigstringaf]
- install emile 1.1 [required by mirage]
- install fmt 0.11.0 [required by mirage]
- install fpath 0.7.3 [required by mirage]
- install ipaddr 5.6.1 [required by mirage]
- install logs 0.10.0 [required by mirage]
- install macaddr 5.6.1 [required by ipaddr]
- install mirage 4.10.4 (pinned)
- install ocaml-syntax-shims 1.0.0 [required by angstrom]
- install ocamlbuild 0.16.1 [required by astring, bos]
- install ocamlfind 1.9.8 [required by astring, bos]
- install opam-monorepo 0.4.3 [required by mirage]
- install pecu 0.7 [required by emile]
- install rresult 0.7.0 [required by mirage]
- install stringext 1.6.0 [required by uri]
- install topkg 1.1.1 [required by astring, bos]
- install uri 4.4.0 [required by mirage]
- install uutf 1.0.4 [required by emile]
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved angstrom.0.16.1 (cached)
-> retrieved astring.0.8.5 (cached)
-> retrieved base64.3.5.2 (cached)
-> retrieved bigstringaf.0.10.0 (cached)
-> retrieved bos.0.2.1 (cached)
-> retrieved cmdliner.2.0.0 (cached)
-> retrieved csexp.1.5.2 (cached)
-> retrieved domain-name.0.5.0 (cached)
-> installed conf-pkg-config.4
-> retrieved dune.3.20.2, dune-configurator.3.20.2 (cached)
-> retrieved emile.1.1 (cached)
-> retrieved fmt.0.11.0 (cached)
-> retrieved fpath.0.7.3 (cached)
-> retrieved ipaddr.5.6.1, macaddr.5.6.1 (cached)
-> retrieved logs.0.10.0 (cached)
-> retrieved mirage.4.10.4 (cached)
-> retrieved ocaml-syntax-shims.1.0.0 (cached)
-> installed cmdliner.2.0.0
-> retrieved ocamlbuild.0.16.1 (cached)
-> retrieved ocamlfind.1.9.8 (cached)
-> retrieved opam-monorepo.0.4.3 (cached)
-> retrieved pecu.0.7 (cached)
-> retrieved rresult.0.7.0 (cached)
-> retrieved stringext.1.6.0 (cached)
-> retrieved topkg.1.1.1 (cached)
-> retrieved uri.4.4.0 (cached)
-> retrieved uutf.1.0.4 (cached)
-> installed ocamlfind.1.9.8
-> installed ocamlbuild.0.16.1
-> installed topkg.1.1.1
-> installed rresult.0.7.0
-> installed uutf.1.0.4
-> installed fmt.0.11.0
-> installed astring.0.8.5
-> installed logs.0.10.0
-> installed fpath.0.7.3
-> installed bos.0.2.1
-> installed dune.3.20.2
-> installed base64.3.5.2
-> installed csexp.1.5.2
-> installed domain-name.0.5.0
-> installed macaddr.5.6.1
-> installed ocaml-syntax-shims.1.0.0
-> installed pecu.0.7
-> installed stringext.1.6.0
-> installed ipaddr.5.6.1
-> installed dune-configurator.3.20.2
-> installed bigstringaf.0.10.0
-> installed angstrom.0.16.1
-> installed emile.1.1
-> installed uri.4.4.0
-> installed opam-monorepo.0.4.3
-> installed mirage.4.10.4
Done.
# To update the current shell environment, run: eval $(opam env)
2025-11-21 11:35.58 ---> saved as "4074adac187fbf8c7053950131e60f05360b0b166840cedaf06c3ff5d586f89a"
Job succeeded
2025-11-21 11:36.14: Job succeeded