- github
- ocaml
- opam-repository
- 984c14
- extras,opam-2.0-ocaml-5.3,ppx_deriving_encoding.0.4.1
(not at the head of any monitored branch or PR)
2025-04-15 15:21.39: New job: build ppx_deriving_encoding.0.4.1, using opam 2.0
from https://github.com/ocaml/opam-repository.git#refs/pull/27760/head (984c14d0c8e958709319fe01c00d9da2abf9d5e5)
on debian-12-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/27760/head" && git reset --hard 984c14d0
git fetch origin master
git merge --no-edit 70b82be6e261da74b766f9bb1344a1ecd5b1909d
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-12-ocaml-5.3@sha256:cda55e84863b5c1f4e5bd28bdeb54129bfbff2dd578bbcc8ffdb236107584a66
USER 1000:1000
WORKDIR /home/opam
RUN sudo ln -f /usr/bin/opam-2.0 /usr/bin/opam
RUN opam init --reinit -ni
RUN 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 depext -u || true
RUN opam pin add -k version -yn ppx_deriving_encoding.0.4.1 0.4.1
RUN opam depext ppx_deriving_encoding.0.4.1 && opam reinstall ppx_deriving_encoding.0.4.1; \
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" != 'ppx_deriving_encoding.0.4.1' && 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-15 15:21.39: Using cache hint "ocaml/opam:debian-12-ocaml-5.3@sha256:cda55e84863b5c1f4e5bd28bdeb54129bfbff2dd578bbcc8ffdb236107584a66-ppx_deriving_encoding.0.4.1-984c14d0c8e958709319fe01c00d9da2abf9d5e5"
2025-04-15 15:21.39: Using OBuilder spec:
((from ocaml/opam:debian-12-ocaml-5.3@sha256:cda55e84863b5c1f4e5bd28bdeb54129bfbff2dd578bbcc8ffdb236107584a66)
(user (uid 1000) (gid 1000))
(workdir /home/opam)
(run (shell "sudo ln -f /usr/bin/opam-2.0 /usr/bin/opam"))
(run (network host)
(shell "opam init --reinit --config .opamrc-sandbox -ni"))
(run (shell "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 depext -u || true"))
(run (shell "opam pin add -k version -yn ppx_deriving_encoding.0.4.1 0.4.1"))
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam depext ppx_deriving_encoding.0.4.1 && opam reinstall ppx_deriving_encoding.0.4.1;\
\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\" != 'ppx_deriving_encoding.0.4.1' && 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-15 15:21.39: Waiting for resource in pool OCluster
2025-04-15 15:21.39: Waiting for worker…
2025-04-15 15:21.40: Got resource from pool OCluster
Building on x86-bm-c8.sw.ocaml.org
All commits already cached
Updating files: 64% (14752/22866)
Updating files: 65% (14863/22866)
Updating files: 66% (15092/22866)
Updating files: 67% (15321/22866)
Updating files: 68% (15549/22866)
Updating files: 69% (15778/22866)
Updating files: 70% (16007/22866)
Updating files: 71% (16235/22866)
Updating files: 72% (16464/22866)
Updating files: 73% (16693/22866)
Updating files: 74% (16921/22866)
Updating files: 75% (17150/22866)
Updating files: 76% (17379/22866)
Updating files: 77% (17607/22866)
Updating files: 78% (17836/22866)
Updating files: 79% (18065/22866)
Updating files: 80% (18293/22866)
Updating files: 81% (18522/22866)
Updating files: 82% (18751/22866)
Updating files: 83% (18979/22866)
Updating files: 84% (19208/22866)
Updating files: 85% (19437/22866)
Updating files: 86% (19665/22866)
Updating files: 87% (19894/22866)
Updating files: 88% (20123/22866)
Updating files: 89% (20351/22866)
Updating files: 90% (20580/22866)
Updating files: 91% (20809/22866)
Updating files: 92% (21037/22866)
Updating files: 93% (21266/22866)
Updating files: 94% (21495/22866)
Updating files: 95% (21723/22866)
Updating files: 96% (21952/22866)
Updating files: 97% (22181/22866)
Updating files: 98% (22409/22866)
Updating files: 99% (22638/22866)
Updating files: 100% (22866/22866)
Updating files: 100% (22866/22866), done.
HEAD is now at 70b82be6e2 Merge pull request #27756 from chetmurthy/release-camlp5-8.03.04
Updating 70b82be6e2..984c14d0c8
Fast-forward
.../ppx_deriving_encoding.0.4.1/opam | 38 ++++++++++++++++++++++
1 file changed, 38 insertions(+)
create mode 100644 packages/ppx_deriving_encoding/ppx_deriving_encoding.0.4.1/opam
(from ocaml/opam:debian-12-ocaml-5.3@sha256:cda55e84863b5c1f4e5bd28bdeb54129bfbff2dd578bbcc8ffdb236107584a66)
Unable to find image 'ocaml/opam:debian-12-ocaml-5.3@sha256:cda55e84863b5c1f4e5bd28bdeb54129bfbff2dd578bbcc8ffdb236107584a66' locally
docker.io/ocaml/opam@sha256:cda55e84863b5c1f4e5bd28bdeb54129bfbff2dd578bbcc8ffdb236107584a66: Pulling from ocaml/opam
6e811e1a652c: Pulling fs layer
6e811e1a652c: Verifying Checksum
6e811e1a652c: Download complete
6e811e1a652c: Pull complete
Digest: sha256:cda55e84863b5c1f4e5bd28bdeb54129bfbff2dd578bbcc8ffdb236107584a66
Status: Downloaded newer image for ocaml/opam@sha256:cda55e84863b5c1f4e5bd28bdeb54129bfbff2dd578bbcc8ffdb236107584a66
2025-04-15 15:22.05 ---> using "19877b52b990c5a970510eb0ace473d379b5f4771b9feb9f573b1d3119b07d2c" from cache
/: (user (uid 1000) (gid 1000))
/: (workdir /home/opam)
/home/opam: (run (shell "sudo ln -f /usr/bin/opam-2.0 /usr/bin/opam"))
2025-04-15 15:22.05 ---> saved as "05321615b12bcc2da5488a358ba1a19dfcafdeda0102a1ccdd5663a393b2f621"
/home/opam: (run (network host)
(shell "opam init --reinit --config .opamrc-sandbox -ni"))
[NOTE] Will configure 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.
[WARNING] Recommended dependencies -- most packages rely on these:
- m4
<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] Initialised
default (at git+file:///home/opam/opam-repository):
[INFO] opam 2.1 and 2.2 include many performance and security improvements over 2.0; please consider upgrading (https://opam.ocaml.org/doc/Install.html)
2025-04-15 15:23.21 ---> saved as "28ea40579bc318dea8adaf0e86574aea19ff5b235a39e53801ee6ffd66fceccf"
/home/opam: (run (shell "opam config report"))
# opam config report
# opam-version 2.0.10 (adc1e1829a2bef5b240746df80341b508290fe3b)
# self-upgrade no
# system arch=x86_64 os=linux os-distribution=debian os-version=12
# solver builtin-mccs+glpk
# install-criteria -removed,-count[version-lag,request],-count[version-lag,changed],-changed
# upgrade-criteria -removed,-count[version-lag,solution],-new
# jobs 39
# repositories 1 (version-controlled)
# pinned 1 (version)
# current-switch 5.3
2025-04-15 15:23.22 ---> saved as "932b3a1c5b24aa2f5cf0bf05fcf7fc50f84a7e99ddd71fcee9aff44155c03998"
/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-15 15:23.30 ---> saved as "7cb96ff63026816f2ed0f5b7361e95ddfb0b6bfd917afec5638c7aa1fcdd9103"
/home/opam: (copy (src .) (dst opam-repository/))
2025-04-15 15:23.38 ---> saved as "f15e109b74d6288eedfe5c2428ebc2328a1cc492534a21c0b119cd5b22005916"
/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
default (at file:///home/opam/opam-repository):
[INFO] opam 2.1 and 2.2 include many performance and security improvements over 2.0; please consider upgrading (https://opam.ocaml.org/doc/Install.html)
2025-04-15 15:23.54 ---> saved as "31d3a6cbe2593eb41e042564fef9546f86103b64db09d0b51835a914137e82c5"
/home/opam: (run (network host)
(shell "opam depext -u || true"))
# Detecting depexts using vars: arch=x86_64, os=linux, os-distribution=debian, os-family=debian
# No extra OS packages requirements found.
# All required OS packages found.
The following command needs to be run through "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 [254 kB]
Fetched 357 kB in 0s (753 kB/s)
Reading package lists...
# OS package update successful
2025-04-15 15:23.56 ---> saved as "fb1f78a03ce3bc3ba35181c4c11d80f8017479154e192a027f3c1f94a83d37fe"
/home/opam: (run (shell "opam pin add -k version -yn ppx_deriving_encoding.0.4.1 0.4.1"))
ppx_deriving_encoding is now pinned to version 0.4.1
2025-04-15 15:23.57 ---> saved as "0b0abbafadc8365dad7f8ba569a247e986c2e74ad7d47c297616aa28d2ebc592"
/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam depext ppx_deriving_encoding.0.4.1 && opam reinstall ppx_deriving_encoding.0.4.1;\
\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\" != 'ppx_deriving_encoding.0.4.1' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
# Detecting depexts using vars: arch=x86_64, os=linux, os-distribution=debian, os-family=debian
# No extra OS packages requirements found.
# All required OS packages found.
ppx_deriving_encoding.0.4.1 is not installed. Install it? [Y/n] y
The following actions will be performed:
- install seq base [required by re]
- install dune 3.18.0 [required by ppx_deriving_encoding]
- install stringext 1.6.0 [required by uri]
- install stdlib-shims 0.3.0 [required by ppxlib]
- install sexplib0 v0.17.0 [required by ppxlib]
- install re 1.12.0 [required by uri]
- install ppx_derivers 1.2.1 [required by ppxlib]
- install ocaml-compiler-libs v0.17.0 [required by ppxlib]
- install uri 3.1.0 [required by json-data-encoding]
- install ppxlib 0.35.0 [required by ppx_deriving_encoding]
- install json-data-encoding 0.12.1 [required by ppx_deriving_encoding]
- install ppx_deriving_encoding 0.4.1*
===== 12 to install =====
<><> Gathering sources ><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
[dune.3.18.0] found in cache
[json-data-encoding.0.12.1] found in cache
[ocaml-compiler-libs.v0.17.0] found in cache
[ppx_derivers.1.2.1] found in cache
[ppx_deriving_encoding.0.4.1] found in cache
[ppxlib.0.35.0] found in cache
[re.1.12.0] found in cache
[sexplib0.v0.17.0] found in cache
[stdlib-shims.0.3.0] found in cache
[stringext.1.6.0] found in cache
[uri.3.1.0] found in cache
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> installed seq.base
-> installed dune.3.18.0
-> installed ppx_derivers.1.2.1
-> installed stringext.1.6.0
-> installed stdlib-shims.0.3.0
-> installed sexplib0.v0.17.0
-> installed re.1.12.0
-> installed ocaml-compiler-libs.v0.17.0
-> installed uri.3.1.0
-> installed json-data-encoding.0.12.1
-> installed ppxlib.0.35.0
-> installed ppx_deriving_encoding.0.4.1
Done.
# Run eval $(opam env) to update the current shell environment
2025-04-15 15:25.03 ---> saved as "b635e9005e853b7611e852fa6d05f14e57f34df762f8e93d395a696891f4b90b"
Job succeeded
2025-04-15 15:25.09: Job succeeded