- github
- ocaml
- opam-repository
- de8f21
- distributions,ubuntu-20.04-ocaml-5.3,digestif.1.3.0
(not at the head of any monitored branch or PR)
2025-04-14 08:46.31: New job: build digestif.1.3.0, using opam 2.3
from https://github.com/ocaml/opam-repository.git#refs/pull/27753/head (de8f21c58dd040de2febddac311e5eb41ec4e652)
on ubuntu-20.04-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/27753/head" && git reset --hard de8f21c5
git fetch origin master
git merge --no-edit 34a3fc46c301a891122df75c17fef6b5358bd68f
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:ubuntu-20.04-ocaml-5.3@sha256:d1919d208a7581f6c022274917617de5b1cb1110cb861283093cc9b7130368a4
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 digestif.1.3.0 1.3.0
RUN opam reinstall digestif.1.3.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 "\"ubuntu-20.04\""; then \
echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
fi; \
test "$pkg" != 'digestif.1.3.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-04-14 08:46.31: Using cache hint "ocaml/opam:ubuntu-20.04-ocaml-5.3@sha256:d1919d208a7581f6c022274917617de5b1cb1110cb861283093cc9b7130368a4-digestif.1.3.0-de8f21c58dd040de2febddac311e5eb41ec4e652"
2025-04-14 08:46.31: Using OBuilder spec:
((from ocaml/opam:ubuntu-20.04-ocaml-5.3@sha256:d1919d208a7581f6c022274917617de5b1cb1110cb861283093cc9b7130368a4)
(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 digestif.1.3.0 1.3.0"))
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall digestif.1.3.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 \"\\\"ubuntu-20.04\\\"\"; then\
\n echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
\n fi;\
\n test \"$pkg\" != 'digestif.1.3.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-04-14 08:46.31: Waiting for resource in pool OCluster
2025-04-14 08:46.32: Waiting for worker…
2025-04-14 08:46.32: Got resource from pool OCluster
Building on x86-bm-c2.sw.ocaml.org
All commits already cached
HEAD is now at 34a3fc46c3 Merge pull request #27736 from Leonidas-from-XIV/core-unix-glibc
Updating 34a3fc46c3..de8f21c58d
Fast-forward
packages/digestif/digestif.1.3.0/opam | 68 +++++++++++++++++++++++++++++++++++
1 file changed, 68 insertions(+)
create mode 100644 packages/digestif/digestif.1.3.0/opam
(from ocaml/opam:ubuntu-20.04-ocaml-5.3@sha256:d1919d208a7581f6c022274917617de5b1cb1110cb861283093cc9b7130368a4)
Unable to find image 'ocaml/opam:ubuntu-20.04-ocaml-5.3@sha256:d1919d208a7581f6c022274917617de5b1cb1110cb861283093cc9b7130368a4' locally
docker.io/ocaml/opam@sha256:d1919d208a7581f6c022274917617de5b1cb1110cb861283093cc9b7130368a4: Pulling from ocaml/opam
57aad1afeeb6: Pulling fs layer
57aad1afeeb6: Verifying Checksum
57aad1afeeb6: Download complete
57aad1afeeb6: Pull complete
Digest: sha256:d1919d208a7581f6c022274917617de5b1cb1110cb861283093cc9b7130368a4
Status: Downloaded newer image for ocaml/opam@sha256:d1919d208a7581f6c022274917617de5b1cb1110cb861283093cc9b7130368a4
2025-04-14 08:48.24 ---> saved as "853635adef2bb46ed82ab0428f2bf6f3d8227c7cd6aa3b98f96d3e6528544fba"
/: (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-14 08:48.24 ---> saved as "2c1a4741c4ce6583512d689c40ea5c60d687aef9e35fad07ab8857cb5a0d93b2"
/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 31 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=31 --global
Format upgrade done.
<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] Initialised
2025-04-14 08:49.07 ---> saved as "85b296af36feed072acd7cfa44e6a5e83de8d5c15ab2f52533e3a256eb0ba777"
/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=ubuntu os-version=20.04
# solver builtin-0install
# install-criteria -changed,-count[avoid-version,solution]
# upgrade-criteria -count[avoid-version,solution]
# jobs 39
# 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-14 08:49.08 ---> saved as "aa5a08a79b9b8f1a3c060a11aaed41c68f0a261d4d591882b61a466d79c7a0a2"
/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-14 08:49.14 ---> saved as "b75c5c1f66c49c030a67f8e7d2e6c2559b29c48c7c58f450f98497b5f4c1d095"
/home/opam: (copy (src .) (dst opam-repository/))
2025-04-14 08:49.22 ---> saved as "6ca11bd3ff15fb3b6812b30bb5242fc239ee589d350c8180b664e0e7950ceff7"
/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2025-04-14 08:49.46 ---> saved as "eec5566b02da471954899325822e12362b4241a225e0dc1c0586e4ad9558ba3b"
/home/opam: (run (network host)
(shell "opam update --depexts || true"))
+ /usr/bin/sudo "apt-get" "update"
- Hit:1 http://archive.ubuntu.com/ubuntu focal InRelease
- Get:2 http://archive.ubuntu.com/ubuntu focal-updates InRelease [128 kB]
- Get:3 http://archive.ubuntu.com/ubuntu focal-backports InRelease [128 kB]
- Get:4 http://security.ubuntu.com/ubuntu focal-security InRelease [128 kB]
- Get:5 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 Packages [4807 kB]
- Get:6 http://archive.ubuntu.com/ubuntu focal-updates/universe amd64 Packages [1603 kB]
- Get:7 http://security.ubuntu.com/ubuntu focal-security/universe amd64 Packages [1306 kB]
- Get:8 http://security.ubuntu.com/ubuntu focal-security/restricted amd64 Packages [4548 kB]
- Get:9 http://security.ubuntu.com/ubuntu focal-security/main amd64 Packages [4320 kB]
- Fetched 17.0 MB in 2s (10.2 MB/s)
- Reading package lists...
-
2025-04-14 08:49.49 ---> saved as "4cf569ce2323865ada2d6d38873d918b7f7ae4958091fedaaa1bf3a00b110686"
/home/opam: (run (shell "opam pin add -k version -yn digestif.1.3.0 1.3.0"))
digestif is now pinned to version 1.3.0
2025-04-14 08:49.50 ---> saved as "9ebe33d0a63342de93f8252655935b61bc041b040be4e093ade2c23abfe66d15"
/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall digestif.1.3.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 \"\\\"ubuntu-20.04\\\"\"; then\
\n echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
\n fi;\
\n test \"$pkg\" != 'digestif.1.3.0' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
digestif.1.3.0 is not installed. Install it? [y/n] y
The following actions will be performed:
=== install 3 packages
- install digestif 1.3.0 (pinned)
- install dune 3.18.0 [required by digestif]
- install eqaf 0.10 [required by digestif]
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved digestif.1.3.0 (cached)
-> retrieved dune.3.18.0 (cached)
-> retrieved eqaf.0.10 (cached)
-> installed dune.3.18.0
-> installed eqaf.0.10
-> installed digestif.1.3.0
Done.
# To update the current shell environment, run: eval $(opam env)
2025-04-14 08:50.30 ---> saved as "9498a1a08e1b34bffc9f6b0b3f82b63b878402ce6f799c8b33938b8867010308"
Job succeeded
2025-04-14 08:50.38: Job succeeded