- github
- ocaml
- opam-repository
- df2474
- distributions,fedora-42-ocaml-5.3,ooh.0.0.2
(not at the head of any monitored branch or PR)
2025-06-10 09:12.53: New job: build ooh.0.0.2, using opam 2.3
from https://github.com/ocaml/opam-repository.git#refs/pull/28006/head (df24748d60993bdcf442cde928bf0e6384138466)
on fedora-42-ocaml-5.3/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/28006/head" && git reset --hard df24748d
git fetch origin master
git merge --no-edit 6db96b377f993aa0c7ffb5c06737929e583f3305
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:fedora-42-ocaml-5.3@sha256:ca935fbf20f8d83e78dff4d973011a91d32565d7d98af772da42600dd103623c
USER 1000:1000
WORKDIR /home/opam
RUN sudo ln -f /usr/bin/opam-2.3 /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 ooh.0.0.2 0.0.2
RUN opam reinstall ooh.0.0.2; \
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" != 'ooh.0.0.2' && 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-06-10 09:12.53: Using cache hint "ocaml/opam:fedora-42-ocaml-5.3@sha256:ca935fbf20f8d83e78dff4d973011a91d32565d7d98af772da42600dd103623c-ooh.0.0.2-df24748d60993bdcf442cde928bf0e6384138466"
2025-06-10 09:12.53: Using OBuilder spec:
((from ocaml/opam:fedora-42-ocaml-5.3@sha256:ca935fbf20f8d83e78dff4d973011a91d32565d7d98af772da42600dd103623c)
(user (uid 1000) (gid 1000))
(workdir /home/opam)
(run (shell "sudo ln -f /usr/bin/opam-2.3 /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 ooh.0.0.2 0.0.2"))
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall ooh.0.0.2;\
\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\" != 'ooh.0.0.2' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
)
2025-06-10 09:12.53: Waiting for resource in pool OCluster
2025-06-10 09:12.53: Waiting for worker…
2025-06-10 09:12.54: Got resource from pool OCluster
Building on phoebe.caelum.ci.dev
All commits already cached
Updating files: 96% (22373/23221)
Updating files: 97% (22525/23221)
Updating files: 98% (22757/23221)
Updating files: 99% (22989/23221)
Updating files: 100% (23221/23221)
Updating files: 100% (23221/23221), done.
HEAD is now at 6db96b377f Merge pull request #28003 from punchagan/opam-publish-opam-ci-check-lint.0.1
Updating 6db96b377f..df24748d60
Fast-forward
packages/ooh/ooh.0.0.2/opam | 45 +++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 45 insertions(+)
create mode 100644 packages/ooh/ooh.0.0.2/opam
(from ocaml/opam:fedora-42-ocaml-5.3@sha256:ca935fbf20f8d83e78dff4d973011a91d32565d7d98af772da42600dd103623c)
2025-06-10 09:13.11 ---> using "6219cec5618da56ab7f2d1a249180f4afe319ecdd103db509824f628c646fc56" from cache
/: (user (uid 1000) (gid 1000))
/: (workdir /home/opam)
/home/opam: (run (shell "sudo ln -f /usr/bin/opam-2.3 /usr/bin/opam"))
2025-06-10 09:13.11 ---> using "34915457b2f2b03505d090e2239a5ea0f64f8248cade3810655d8a04a53948e4" 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 development 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-06-10 09:13.11 ---> using "fe1a419678bcfb43ec8f0c8d8ddcb3b2ffc106bc5377e3d161926a06721a1a94" 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.3.0 (35acd0c5abc5e66cdbd5be16ba77aa6c33a4c724)
# 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 5.3
# invariant ["ocaml-base-compiler" {= "5.3.0"}]
# compiler-packages ocaml-base-compiler.5.3.0, ocaml-compiler.5.3.0, ocaml-options-vanilla.1
# ocaml:native true
# ocaml:native-tools true
# ocaml:native-dynlink true
# ocaml:stubsdir /home/opam/.opam/5.3/lib/ocaml/stublibs:/home/opam/.opam/5.3/lib/ocaml
# ocaml:preinstalled false
# ocaml:compiler 5.3.0
2025-06-10 09:13.11 ---> using "5131754fa6b37e593c83d44d0afe24504a38273253aca9f6ba1eb35a0b64f54b" 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-06-10 09:13.11 ---> using "d3e2441fdc9181c24bb0e613cbdec8373f697fb020c2393aa850df6753ff9bbe" from cache
/home/opam: (copy (src .) (dst opam-repository/))
2025-06-10 09:13.23 ---> saved as "8d295cb2fe831767a475d338bc59a69f1b6b67724f5c72a2d0b0ef34eeead7f0"
/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2025-06-10 09:13.47 ---> saved as "9be8c2f546b4c20859b39ffe39f38d631f41baf49883d4553dca94482cb65c39"
/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% | 78.7 KiB/s | 24.6 KiB | 00m00s
- Fedora 42 - x86_64 - Updates 100% | 2.8 MiB/s | 2.1 MiB | 00m01s
- Repositories loaded.
- Metadata cache created.
2025-06-10 09:13.51 ---> saved as "1c691ff16e75de3eab4bffa69156466b8d63262b5b27d5b8c3aba751f8bd85ea"
/home/opam: (run (shell "opam pin add -k version -yn ooh.0.0.2 0.0.2"))
ooh is now pinned to version 0.0.2
2025-06-10 09:13.52 ---> saved as "24111477c0466e15dce2418bc2e54e92847273aebc536850d1ba9acd6de64c81"
/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall ooh.0.0.2;\
\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\" != 'ooh.0.0.2' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
ooh.0.0.2 is not installed. Install it? [y/n] y
The following actions will be performed:
=== install 19 packages
- install base v0.17.2 [required by ppx_optional, ppx_typerep_conv]
- install cinaps v0.15.1 [required by ooh]
- install csexp 1.5.2 [required by dune-configurator]
- install dune 3.19.0 [required by ooh]
- install dune-configurator 3.19.0 [required by base]
- install ocaml-compiler-libs v0.17.0 [required by ppxlib]
- install ocaml_intrinsics_kernel v0.17.1 [required by base]
- install ooh 0.0.2 (pinned)
- install ppx_derivers 1.2.1 [required by ppxlib]
- install ppx_optional v0.17.0 [required by ooh]
- install ppx_pipebang v0.17.0 [required by ooh]
- install ppx_typerep_conv v0.17.0 [required by ooh]
- install ppxlib 0.35.0 [required by ppx_pipebang, ppx_optional, ppx_typerep_conv]
- install ppxlib_jane v0.17.2 [required by ppx_optional]
- install re 1.12.0 [required by cinaps]
- install seq base [required by re]
- install sexplib0 v0.17.0 [required by base, ppxlib]
- install stdlib-shims 0.3.0 [required by ppxlib]
- install typerep v0.17.1 [required by ooh]
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved base.v0.17.2 (cached)
-> retrieved cinaps.v0.15.1 (cached)
-> retrieved csexp.1.5.2 (cached)
-> retrieved dune.3.19.0, dune-configurator.3.19.0 (cached)
-> retrieved ocaml-compiler-libs.v0.17.0 (cached)
-> retrieved ocaml_intrinsics_kernel.v0.17.1 (cached)
-> retrieved ooh.0.0.2 (https://github.com/engineeredabstraction/ooh/releases/download/0.0.2/ooh-0.0.2.tbz)
-> retrieved ppx_derivers.1.2.1 (cached)
-> retrieved ppx_optional.v0.17.0 (cached)
-> retrieved ppx_pipebang.v0.17.0 (cached)
-> retrieved ppx_typerep_conv.v0.17.0 (cached)
-> retrieved ppxlib.0.35.0 (cached)
-> retrieved ppxlib_jane.v0.17.2 (cached)
-> retrieved re.1.12.0 (cached)
-> retrieved seq.base (cached)
-> installed seq.base
-> retrieved sexplib0.v0.17.0 (cached)
-> retrieved stdlib-shims.0.3.0 (cached)
-> retrieved typerep.v0.17.1 (cached)
-> installed dune.3.19.0
-> installed ppx_derivers.1.2.1
-> installed csexp.1.5.2
-> installed ocaml_intrinsics_kernel.v0.17.1
-> installed re.1.12.0
-> installed ocaml-compiler-libs.v0.17.0
-> installed sexplib0.v0.17.0
-> installed stdlib-shims.0.3.0
-> installed cinaps.v0.15.1
-> installed dune-configurator.3.19.0
-> installed base.v0.17.2
-> installed typerep.v0.17.1
-> installed ppxlib.0.35.0
-> installed ppxlib_jane.v0.17.2
-> installed ppx_typerep_conv.v0.17.0
-> installed ppx_pipebang.v0.17.0
-> installed ppx_optional.v0.17.0
-> installed ooh.0.0.2
Done.
# To update the current shell environment, run: eval $(opam env)
2025-06-10 09:14.57 ---> saved as "88e033825f69ab7be3f7ca5b91767315a0845428d004294307bb6cb112806271"
Job succeeded
2025-06-10 09:15.05: Job succeeded