- github
- ocaml
- opam-repository
- 0994d4
- distributions,alpine-3.21-ocaml-4.14,hilite.0.5.0
(not at the head of any monitored branch or PR)
2025-07-14 12:49.02: New job: build hilite.0.5.0, using opam 2.3
from https://github.com/ocaml/opam-repository.git#refs/pull/28172/head (0994d48d1dbc37f4e52b2f1497044d73aab96cb5)
on alpine-3.21-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/28172/head" && git reset --hard 0994d48d
git fetch origin master
git merge --no-edit ab64da8511384eb17e33f1a279f920ed72d7d958
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:alpine-3.21-ocaml-4.14@sha256:ce7c521de2e50e6ba02ecb769afb8f518fd84aef8447affa8b443c3175d9dc33
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 hilite.0.5.0 0.5.0
RUN opam reinstall hilite.0.5.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 "\"alpine-3.21\""; then \
echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
fi; \
test "$pkg" != 'hilite.0.5.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 .
2025-07-14 12:49.02: Using cache hint "ocaml/opam:alpine-3.21-ocaml-4.14@sha256:ce7c521de2e50e6ba02ecb769afb8f518fd84aef8447affa8b443c3175d9dc33-hilite.0.5.0-0994d48d1dbc37f4e52b2f1497044d73aab96cb5"
2025-07-14 12:49.02: Using OBuilder spec:
((from ocaml/opam:alpine-3.21-ocaml-4.14@sha256:ce7c521de2e50e6ba02ecb769afb8f518fd84aef8447affa8b443c3175d9dc33)
(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 hilite.0.5.0 0.5.0"))
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall hilite.0.5.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 \"\\\"alpine-3.21\\\"\"; then\
\n echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
\n fi;\
\n test \"$pkg\" != 'hilite.0.5.0' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
)
2025-07-14 12:49.02: Waiting for resource in pool OCluster
2025-07-14 13:45.15: Waiting for worker…
2025-07-14 13:49.04: Got resource from pool OCluster
Building on odawa.caelum.ci.dev
All commits already cached
HEAD is now at ab64da8511 Merge pull request #28162 from vbmithr/release-logs-async-1.4
Updating ab64da8511..0994d48d1d
Fast-forward
packages/hilite/hilite.0.5.0/opam | 41 +++++++++++++++++++++++++++++++++++++++
1 file changed, 41 insertions(+)
create mode 100644 packages/hilite/hilite.0.5.0/opam
(from ocaml/opam:alpine-3.21-ocaml-4.14@sha256:ce7c521de2e50e6ba02ecb769afb8f518fd84aef8447affa8b443c3175d9dc33)
Unable to find image 'ocaml/opam:alpine-3.21-ocaml-4.14@sha256:ce7c521de2e50e6ba02ecb769afb8f518fd84aef8447affa8b443c3175d9dc33' locally
docker.io/ocaml/opam@sha256:ce7c521de2e50e6ba02ecb769afb8f518fd84aef8447affa8b443c3175d9dc33: Pulling from ocaml/opam
f18232174bc9: Already exists
e435b1bc6765: Already exists
504218c123c0: Already exists
3d1adc3444db: Already exists
949b4e53049e: Already exists
8f30d8d0a846: Already exists
1c2148a11545: Already exists
0688ce6bab1b: Already exists
9fff074a1f8d: Already exists
2f670f1f18e5: Already exists
4327a1eff3e9: Already exists
6416d634e0f0: Already exists
226a04ebb5cc: Already exists
524ffc10718d: Already exists
524ffc10718d: Already exists
edbef0ed17ce: Already exists
4f4fb700ef54: Already exists
f41102d57d16: Already exists
74c0a3cca53d: Already exists
20433c03b8ee: Already exists
d15cae79f6ee: Already exists
c49df74bbb30: Already exists
c7e2533797d3: Already exists
f7a7b488445e: Already exists
4100580b8204: Already exists
fbc8271f8aed: Already exists
2f3cf6786764: Already exists
eabb0eb9a599: Already exists
ed0e937dd1f9: Already exists
74233ff0361f: Already exists
e0f8996903d5: Already exists
2decd1769587: Already exists
e2fe16af1f37: Already exists
8596850f1643: Already exists
9b056d789ba8: Already exists
c1650c02722d: Pulling fs layer
5b41b547e796: Pulling fs layer
ff378e7406b2: Pulling fs layer
808871be9e84: Pulling fs layer
808871be9e84: Waiting
ff378e7406b2: Verifying Checksum
ff378e7406b2: Download complete
5b41b547e796: Verifying Checksum
5b41b547e796: Download complete
808871be9e84: Download complete
c1650c02722d: Verifying Checksum
c1650c02722d: Download complete
c1650c02722d: Pull complete
5b41b547e796: Pull complete
ff378e7406b2: Pull complete
808871be9e84: Pull complete
Digest: sha256:ce7c521de2e50e6ba02ecb769afb8f518fd84aef8447affa8b443c3175d9dc33
Status: Downloaded newer image for ocaml/opam@sha256:ce7c521de2e50e6ba02ecb769afb8f518fd84aef8447affa8b443c3175d9dc33
2025-07-14 13:49.45 ---> saved as "55d202f7fecfb1870e4e5ff40a2bf370c1ccb0b90b65ea9e954fa8fcf7fc2c95"
/: (user (uid 1000) (gid 1000))
/: (workdir /home/opam)
/home/opam: (run (shell "sudo ln -f /usr/bin/opam-2.3 /usr/bin/opam"))
2025-07-14 13:49.46 ---> saved as "8d8cac3d0df4737dbe0e427c656a5ccf6d5bfbc24e15d3860c73b305ae2261ef"
/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-07-14 13:50.06 ---> saved as "8748a488f6077ed8ab7455d5dcfbc9f8147d85abfc63189d1291a9a7f544ccd8"
/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=alpine os-version=3.21.3
# solver builtin-0install
# install-criteria -changed,-count[avoid-version,solution]
# upgrade-criteria -count[avoid-version,solution]
# jobs 255
# 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-07-14 13:50.07 ---> saved as "5715923103bd6c4d0207978564b8dcb7d141c014d854c28f019ea47065279eb3"
/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-07-14 13:50.16 ---> saved as "b2887168ecae284488513a5bb70f6e00cd8d021019e2ad941ba4ed3e28df68ef"
/home/opam: (copy (src .) (dst opam-repository/))
2025-07-14 13:50.23 ---> saved as "dcba0b45aaf746d1c25dad9289620f9da53a1b266828e53559dc4fa50e75ea49"
/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2025-07-14 13:50.39 ---> saved as "ef106769b79993ba5edfc7a3c444371daff934f3a6267a4a27b3cc9f4f22fd18"
/home/opam: (run (network host)
(shell "opam update --depexts || true"))
+ /usr/bin/sudo "apk" "update"
- fetch https://dl-cdn.alpinelinux.org/alpine/v3.21/main/x86_64/APKINDEX.tar.gz
- fetch https://dl-cdn.alpinelinux.org/alpine/v3.21/community/x86_64/APKINDEX.tar.gz
- fetch https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
- fetch https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
- fetch https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz
- v3.21.3-649-g4e81a83352a [https://dl-cdn.alpinelinux.org/alpine/v3.21/main]
- v3.21.3-649-g4e81a83352a [https://dl-cdn.alpinelinux.org/alpine/v3.21/community]
- v3.23.0_alpha20250612-2300-g9a2a9f9df72 [https://dl-cdn.alpinelinux.org/alpine/edge/main]
- v3.23.0_alpha20250612-2270-gfd663fe75c2 [https://dl-cdn.alpinelinux.org/alpine/edge/community]
- v3.23.0_alpha20250612-2278-g9a99e86d62e [https://dl-cdn.alpinelinux.org/alpine/edge/testing]
- OK: 59064 distinct packages available
2025-07-14 13:50.41 ---> saved as "85b2b6fa5841b1b1552cd858256457aeea6821b52e611a5c0b8d2acb2a346efe"
/home/opam: (run (shell "opam pin add -k version -yn hilite.0.5.0 0.5.0"))
hilite is now pinned to version 0.5.0
2025-07-14 13:50.41 ---> saved as "18d776189c07a92090c545b4bb6e51911cc551d9acd19393e9c5491c8fdecb48"
/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall hilite.0.5.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 \"\\\"alpine-3.21\\\"\"; then\
\n echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
\n fi;\
\n test \"$pkg\" != 'hilite.0.5.0' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
hilite.0.5.0 is not installed. Install it? [y/n] y
The following actions will be performed:
=== install 8 packages
- install conf-oniguruma 1 [required by oniguruma]
- install conf-pkg-config 4 [required by conf-oniguruma]
- install csexp 1.5.2 [required by dune-configurator]
- install dune 3.19.1 [required by hilite]
- install dune-configurator 3.19.1 [required by oniguruma]
- install hilite 0.5.0 (pinned)
- install oniguruma 0.1.2 [required by textmate-language]
- install textmate-language 0.4.0 [required by hilite]
The following system packages will first need to be installed:
oniguruma-dev
<><> Handling external dependencies <><><><><><><><><><><><><><><><><><><><><><>
opam believes some required external dependencies are missing. opam can:
> 1. Run apk to install them (may need root/sudo access)
2. Display the recommended apk 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/bin/sudo "apk" "add" "oniguruma-dev"
- (1/2) Installing oniguruma (6.9.9-r0)
- (2/2) Installing oniguruma-dev (6.9.9-r0)
- Executing busybox-1.37.0-r12.trigger
- OK: 307 MiB in 103 packages
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved csexp.1.5.2 (cached)
-> installed conf-pkg-config.4
-> installed conf-oniguruma.1
-> retrieved dune.3.19.1, dune-configurator.3.19.1 (cached)
-> retrieved hilite.0.5.0 (cached)
-> retrieved oniguruma.0.1.2 (cached)
-> retrieved textmate-language.0.4.0 (cached)
-> installed dune.3.19.1
-> installed csexp.1.5.2
-> installed dune-configurator.3.19.1
-> installed oniguruma.0.1.2
-> installed textmate-language.0.4.0
-> installed hilite.0.5.0
Done.
# To update the current shell environment, run: eval $(opam env)
2025-07-14 13:51.12 ---> saved as "3c45c8b15a6a8a267ff0f892ce7dde1da3e72226764d1fe1e2a67d0325f50428"
Job succeeded
2025-07-14 13:51.17: Job succeeded