- github
- ocaml
- opam-repository
- df2474
- extras,ocaml-4.14-nnp,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 debian-12-ocaml-4.14-nnp/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:debian-12-ocaml-4.14-nnp@sha256:556fea128f1bfdd90209dfca413f673abad0978150fd38a3c7324071adc06634
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 "\"debian-12\""; 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:debian-12-ocaml-4.14-nnp@sha256:556fea128f1bfdd90209dfca413f673abad0978150fd38a3c7324071adc06634-ooh.0.0.2-df24748d60993bdcf442cde928bf0e6384138466"
2025-06-10 09:12.53: Using OBuilder spec:
((from ocaml/opam:debian-12-ocaml-4.14-nnp@sha256:556fea128f1bfdd90209dfca413f673abad0978150fd38a3c7324071adc06634)
(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 \"\\\"debian-12\\\"\"; 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.55: Got resource from pool OCluster
Building on bremusa.ocamllabs.io
All commits already cached
Updating files: 74% (17255/23221)
Updating files: 75% (17416/23221)
Updating files: 76% (17648/23221)
Updating files: 77% (17881/23221)
Updating files: 78% (18113/23221)
Updating files: 79% (18345/23221)
Updating files: 80% (18577/23221)
Updating files: 81% (18810/23221)
Updating files: 82% (19042/23221)
Updating files: 83% (19274/23221)
Updating files: 84% (19506/23221)
Updating files: 85% (19738/23221)
Updating files: 86% (19971/23221)
Updating files: 87% (20203/23221)
Updating files: 88% (20435/23221)
Updating files: 89% (20667/23221)
Updating files: 90% (20899/23221)
Updating files: 91% (21132/23221)
Updating files: 92% (21364/23221)
Updating files: 93% (21596/23221)
Updating files: 94% (21828/23221)
Updating files: 95% (22060/23221)
Updating files: 96% (22293/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:debian-12-ocaml-4.14-nnp@sha256:556fea128f1bfdd90209dfca413f673abad0978150fd38a3c7324071adc06634)
Unable to find image 'ocaml/opam:debian-12-ocaml-4.14-nnp@sha256:556fea128f1bfdd90209dfca413f673abad0978150fd38a3c7324071adc06634' locally
docker.io/ocaml/opam@sha256:556fea128f1bfdd90209dfca413f673abad0978150fd38a3c7324071adc06634: Pulling from ocaml/opam
2f15651b245f: Already exists
cf687589c9c8: Pulling fs layer
ef8d03c60824: Pulling fs layer
be852823e532: Pulling fs layer
9cc44030841a: Pulling fs layer
9cc44030841a: Waiting
ef8d03c60824: Verifying Checksum
ef8d03c60824: Download complete
9cc44030841a: Download complete
be852823e532: Download complete
cf687589c9c8: Verifying Checksum
cf687589c9c8: Download complete
cf687589c9c8: Pull complete
ef8d03c60824: Pull complete
be852823e532: Pull complete
9cc44030841a: Pull complete
Digest: sha256:556fea128f1bfdd90209dfca413f673abad0978150fd38a3c7324071adc06634
Status: Downloaded newer image for ocaml/opam@sha256:556fea128f1bfdd90209dfca413f673abad0978150fd38a3c7324071adc06634
2025-06-10 09:14.01 ---> using "a46915dac0e5b04b39f820bf0d1d88ecdd33c9a39b585155495294227297a2d7" 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:14.01 ---> using "c0ec8ee33b88b088019f7230a77eeb342cab79e50dcd7ed6c809b97e5706eab1" 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:14.01 ---> using "bb182ea5053ed868d39117505936d608d901aaae07ba851f68af8daf05abc72b" 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=debian os-version=12
# 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-options-only-nnp"]
# compiler-packages ocaml-option-nnp.1, ocaml-options-only-nnp.1, ocaml-variants.4.14.2+options
# 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+options+nnp
2025-06-10 09:14.01 ---> using "9bb58cde38b311217c55b1d05812985a87e798f02f051786af7009afffc45329" 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:14.01 ---> using "0b569b950d89e160354560ec6d8b541abba41348b7124d0d3f188c95ba539067" from cache
/home/opam: (copy (src .) (dst opam-repository/))
2025-06-10 09:14.16 ---> saved as "8ccfdc14a096476e5ad21f05cda5d616324b12753cd644958e3a6c2437cd6334"
/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2025-06-10 09:14.41 ---> saved as "aa4f9fb2201d57aa0b1725d83f893ab6230b4e9ae2c004dcb6d431d3ae7ea09f"
/home/opam: (run (network host)
(shell "opam update --depexts || true"))
+ /usr/bin/sudo "apt-get" "update"
- Hit:1 http://deb.debian.org/debian bookworm InRelease
- Get:2 http://deb.debian.org/debian bookworm-updates InRelease [55.4 kB]
- Get:3 http://deb.debian.org/debian-security bookworm-security InRelease [48.0 kB]
- Get:4 http://deb.debian.org/debian-security bookworm-security/main amd64 Packages [266 kB]
- Fetched 369 kB in 0s (969 kB/s)
- Reading package lists...
-
2025-06-10 09:14.43 ---> saved as "ac620b5885ee61243aa07f0f27cf3a7ac34e5a8fbe38d0aa95ed628611ac3e8f"
/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:14.44 ---> saved as "d83fdfbc19f467e80f886d878bf4bb425d33f29844f2856ae51f8d90f5c58ba2"
/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 \"\\\"debian-12\\\"\"; 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 17 packages
- install base v0.16.4 [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.12.4 [required by ppxlib]
- install ooh 0.0.2 (pinned)
- install ppx_derivers 1.2.1 [required by ppxlib]
- install ppx_optional v0.16.0 [required by ooh]
- install ppx_pipebang v0.16.0 [required by ooh]
- install ppx_typerep_conv v0.16.0 [required by ooh]
- install ppxlib 0.35.0 [required by ppx_pipebang, ppx_optional, ppx_typerep_conv]
- install re 1.12.0 [required by cinaps]
- install seq base [required by re]
- install sexplib0 v0.16.0 [required by base, ppxlib]
- install stdlib-shims 0.3.0 [required by ppxlib]
- install typerep v0.16.0 [required by ooh]
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved base.v0.16.4 (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.12.4 (cached)
-> retrieved ooh.0.0.2 (cached)
-> retrieved ppx_derivers.1.2.1 (cached)
-> retrieved ppx_optional.v0.16.0 (cached)
-> retrieved ppx_pipebang.v0.16.0 (cached)
-> retrieved ppx_typerep_conv.v0.16.0 (cached)
-> retrieved ppxlib.0.35.0 (cached)
-> retrieved re.1.12.0 (cached)
-> retrieved seq.base (cached)
-> installed seq.base
-> retrieved sexplib0.v0.16.0 (cached)
-> retrieved stdlib-shims.0.3.0 (cached)
-> retrieved typerep.v0.16.0 (cached)
-> installed dune.3.19.0
-> installed ppx_derivers.1.2.1
-> installed stdlib-shims.0.3.0
-> installed csexp.1.5.2
-> installed ocaml-compiler-libs.v0.12.4
-> installed re.1.12.0
-> installed sexplib0.v0.16.0
-> installed cinaps.v0.15.1
-> installed dune-configurator.3.19.0
-> installed base.v0.16.4
-> installed typerep.v0.16.0
-> installed ppxlib.0.35.0
-> installed ppx_typerep_conv.v0.16.0
-> installed ppx_pipebang.v0.16.0
-> installed ppx_optional.v0.16.0
-> installed ooh.0.0.2
Done.
# To update the current shell environment, run: eval $(opam env)
2025-06-10 09:15.50 ---> saved as "af0c33ae1d86f0b045fe09bc89061311cc6971d942fae0d42f3f9423fb3b5741"
Job succeeded
2025-06-10 09:15.55: Job succeeded