- github
- ocaml
- opam-repository
- 5b6ebf
- distributions,alpine-3.21-ocaml-5.3,srt.0.3.3
(not at the head of any monitored branch or PR)
2025-04-23 15:17.16: New job: build srt.0.3.3, using opam 2.3
from https://github.com/ocaml/opam-repository.git#refs/pull/27800/head (5b6ebfd029cf12f26c671d54d7e22ba99f04b085)
on alpine-3.21-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/27800/head" && git reset --hard 5b6ebfd0
git fetch origin master
git merge --no-edit 8106bcf57fc33218275bbf0d02e725f4e9fcd0f6
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:alpine-3.21-ocaml-5.3@sha256:87ba7e466cdd0681761cd2de151792ea6c957b7db80b9869e0213f8d7d502a2b
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 srt.0.3.3 0.3.3
RUN opam reinstall srt.0.3.3; \
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" != 'srt.0.3.3' && 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-04-23 15:17.16: Using cache hint "ocaml/opam:alpine-3.21-ocaml-5.3@sha256:87ba7e466cdd0681761cd2de151792ea6c957b7db80b9869e0213f8d7d502a2b-srt.0.3.3-5b6ebfd029cf12f26c671d54d7e22ba99f04b085"
2025-04-23 15:17.16: Using OBuilder spec:
((from ocaml/opam:alpine-3.21-ocaml-5.3@sha256:87ba7e466cdd0681761cd2de151792ea6c957b7db80b9869e0213f8d7d502a2b)
(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 srt.0.3.3 0.3.3"))
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall srt.0.3.3;\
\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\" != 'srt.0.3.3' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
)
2025-04-23 15:17.16: Waiting for resource in pool OCluster
2025-04-23 15:25.33: Waiting for worker…
2025-04-23 15:28.21: Got resource from pool OCluster
Building on toxis.caelum.ci.dev
All commits already cached
Updating files: 99% (22844/22942)
Updating files: 100% (22942/22942)
Updating files: 100% (22942/22942), done.
HEAD is now at 8106bcf57f Merge pull request #27808 from Octachron/Ocaml_5.4.0_branching
Merge made by the 'ort' strategy.
.../liquidsoap-core/liquidsoap-core.2.3.0/opam | 2 +-
packages/liquidsoap/liquidsoap.2.3.1/opam | 2 +-
packages/liquidsoap/liquidsoap.2.3.2/opam | 2 +-
packages/posix-bindings/posix-bindings.3/opam | 44 ++++++++++++++++++++++
.../posix-socket-unix/posix-socket-unix.3.0.0/opam | 44 ++++++++++++++++++++++
packages/posix-socket/posix-socket.3.0.0/opam | 43 +++++++++++++++++++++
packages/srt/srt.0.2.0/opam | 9 +++--
packages/srt/srt.0.2.1/opam | 9 +++--
packages/srt/srt.0.2.2/opam | 10 +++--
packages/srt/srt.0.3.0/opam | 10 +++--
packages/srt/srt.0.3.1/opam | 4 +-
packages/srt/srt.0.3.2/opam | 4 +-
packages/srt/srt.0.3.3/opam | 3 +-
13 files changed, 166 insertions(+), 20 deletions(-)
create mode 100644 packages/posix-bindings/posix-bindings.3/opam
create mode 100644 packages/posix-socket-unix/posix-socket-unix.3.0.0/opam
create mode 100644 packages/posix-socket/posix-socket.3.0.0/opam
(from ocaml/opam:alpine-3.21-ocaml-5.3@sha256:87ba7e466cdd0681761cd2de151792ea6c957b7db80b9869e0213f8d7d502a2b)
2025-04-23 15:28.54 ---> saved as "3a0750868e37f39d75850e1034b2aeedb01dc6ad885de5649223ccd84aefa220"
/: (user (uid 1000) (gid 1000))
/: (workdir /home/opam)
/home/opam: (run (shell "sudo ln -f /usr/bin/opam-2.3 /usr/bin/opam"))
2025-04-23 15:28.54 ---> saved as "23e3e0b49a544f8227a1ad6cb23668366668c1ee14cbc2988b4f8cca2498559d"
/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
[NOTE] The 'jobs' option was reset, its value was 255 and its new value will vary according to the current number of cores on your machine. You can restore the fixed value using:
opam option jobs=255 --global
Format upgrade done.
<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] Initialised
2025-04-23 15:29.30 ---> saved as "cfcf83049a9a5817d058e03d5878845fb512bd65ae3f09d81375007d7242d374"
/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 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-04-23 15:29.31 ---> saved as "25215cc31c7b8afcf4d5844c2a387718e4cde51df07438b9a25c70e518286255"
/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-04-23 15:29.38 ---> saved as "c0202cb7b5382c656e727093134d0d3682452f22b6f8ddd998f4ed30d2ad80dc"
/home/opam: (copy (src .) (dst opam-repository/))
2025-04-23 15:29.48 ---> saved as "f535424e30ad01480a4ce932f79b23d1163ebe6a9ba261e02fa9021eba2922eb"
/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2025-04-23 15:30.19 ---> saved as "1285a0c36d069aebce7ac0a64e1593e93826681f769f76c731b4d2f475ffa414"
/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-360-gc62b91e1455 [https://dl-cdn.alpinelinux.org/alpine/v3.21/main]
- v3.21.3-363-gc596ff6fae6 [https://dl-cdn.alpinelinux.org/alpine/v3.21/community]
- v20250108-6368-g847e4685088 [https://dl-cdn.alpinelinux.org/alpine/edge/main]
- v20250108-6371-gc4ca51ee438 [https://dl-cdn.alpinelinux.org/alpine/edge/community]
- v20250108-6356-ga19b508bc95 [https://dl-cdn.alpinelinux.org/alpine/edge/testing]
- OK: 57905 distinct packages available
2025-04-23 15:30.21 ---> saved as "6af03d14dfd1dd04b7c8aafbd16331048546afeda8d9265c3b221b6ab2ca70a9"
/home/opam: (run (shell "opam pin add -k version -yn srt.0.3.3 0.3.3"))
srt is now pinned to version 0.3.3
2025-04-23 15:30.22 ---> saved as "50b4b810e9365ec487eeeba2131d0ef2d509fbfa41facc39fb09ec89a72ce219"
/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall srt.0.3.3;\
\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\" != 'srt.0.3.3' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
srt.0.3.3 is not installed. Install it? [y/n] y
The following actions will be performed:
=== install 15 packages
- install bigarray-compat 1.1.0 [required by ctypes]
- install conf-libffi 2.0.0 [required by ctypes-foreign]
- install conf-pkg-config 4 [required by srt]
- install conf-srt 2 [required by srt]
- install csexp 1.5.2 [required by dune-configurator]
- install ctypes 0.23.0 [required by srt]
- install ctypes-foreign 0.23.0 [required by srt]
- install dune 3.18.1 [required by srt]
- install dune-configurator 3.18.1 [required by srt]
- install integers 0.7.0 [required by srt]
- install ocamlfind 1.9.8 [required by srt]
- install posix-base 2.2.0 [required by posix-socket]
- install posix-socket 2.2.0 [required by srt]
- install srt 0.3.3 (pinned)
- install stdlib-shims 0.3.0 [required by integers]
The following system packages will first need to be installed:
libffi-dev libsrt-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" "libffi-dev" "libsrt-dev"
- (1/5) Installing linux-headers (6.6-r1)
- (2/5) Installing libffi-dev (3.4.7-r0)
- (3/5) Installing libsrt (1.5.3-r0)
- (4/5) Installing openssl-dev (3.3.3-r0)
- (5/5) Installing libsrt-dev (1.5.3-r0)
- OK: 314 MiB in 107 packages
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved bigarray-compat.1.1.0 (cached)
-> retrieved csexp.1.5.2 (cached)
-> installed conf-pkg-config.4
-> retrieved ctypes.0.23.0, ctypes-foreign.0.23.0 (cached)
-> installed conf-libffi.2.0.0
-> installed conf-srt.2
-> retrieved dune.3.18.1, dune-configurator.3.18.1 (cached)
-> retrieved integers.0.7.0 (cached)
-> retrieved ocamlfind.1.9.8 (cached)
-> retrieved posix-base.2.2.0, posix-socket.2.2.0 (cached)
-> retrieved srt.0.3.3 (cached)
-> retrieved stdlib-shims.0.3.0 (cached)
-> installed ocamlfind.1.9.8
-> installed dune.3.18.1
-> installed csexp.1.5.2
-> installed bigarray-compat.1.1.0
-> installed stdlib-shims.0.3.0
-> installed integers.0.7.0
-> installed dune-configurator.3.18.1
-> installed ctypes.0.23.0
-> installed posix-base.2.2.0
-> installed ctypes-foreign.0.23.0
-> installed posix-socket.2.2.0
-> installed srt.0.3.3
Done.
# To update the current shell environment, run: eval $(opam env)
2025-04-23 15:31.19 ---> saved as "b822a4084874c8e3d6aa02075a45fddb7c31d17002548a0dc85e30910cc33675"
Job succeeded
2025-04-23 15:31.24: Job succeeded