Organisationsocurrentocaml-dockerfile2bf406 ()debian-13-4.09_opam-2.4

debian-13-4.09_opam-2.4

Link Copied
Code Copied

Logs

2025-12-05 14:29.04: New job: test ocurrent/ocaml-dockerfile https://github.com/ocurrent/ocaml-dockerfile.git#refs/heads/master (2bf4063672e3970de42e6d8792e47b592a7610c9) (linux-x86_64:debian-13-4.09_opam-2.4)
Base: ocaml/opam:debian-13-ocaml-4.09@sha256:c9713bbef7f9ec11a54f557062e604c092b8bf7d019e50c23e614c693c4e0ca5
Opam project build


To reproduce locally:


git clone --recursive "https://github.com/ocurrent/ocaml-dockerfile.git" -b "master" && cd "ocaml-dockerfile" && git reset --hard 2bf40636
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-13-ocaml-4.09@sha256:c9713bbef7f9ec11a54f557062e604c092b8bf7d019e50c23e614c693c4e0ca5
# debian-13-4.09_opam-2.4
USER 1000:1000
ENV CLICOLOR_FORCE="1"
ENV OPAMCOLOR="always"
WORKDIR /src
RUN sudo ln -f /usr/bin/opam-2.4 /usr/bin/opam
RUN opam init --reinit -ni
RUN uname -rs && opam exec -- ocaml -version && opam --version
WORKDIR /src
RUN sudo chown opam /src
RUN cd ~/opam-repository && (git cat-file -e 8a324a5b9945e0e515da441ede437f3756caa83d || git fetch origin master) && git reset -q --hard 8a324a5b9945e0e515da441ede437f3756caa83d && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 dockerfile.opam dockerfile-opam.opam dockerfile-cmd.opam ./
RUN opam pin add -yn dockerfile.dev './' && \
opam pin add -yn dockerfile-opam.dev './' && \
opam pin add -yn dockerfile-cmd.dev './'
RUN echo '(lang dune 3.0)' > './dune-project'
ENV DEPS="alcotest.1.9.1 astring.0.8.5 base.v0.14.3 base-bigarray.base base-threads.base base-unix.base bos.0.2.1 cmdliner.2.1.0 csexp.1.5.2 dune.3.20.2 dune-configurator.3.20.2 fmt.0.11.0 fpath.0.7.3 logs.0.8.0 ocaml.4.09.1 ocaml-base-compiler.4.09.1 ocaml-compiler-libs.v0.12.4 ocaml-config.1 ocaml-syntax-shims.1.0.0 ocaml-version.4.0.3 ocamlbuild.0.16.1 ocamlfind.1.9.8 ppx_derivers.1.2.1 ppx_sexp_conv.v0.14.3 ppxlib.0.25.1 re.1.11.0 rresult.0.7.0 seq.base sexplib0.v0.14.0 stdlib-shims.0.3.0 topkg.1.1.1 uutf.1.0.4"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.4 --depext-only -y dockerfile.dev dockerfile-opam.dev dockerfile-cmd.dev $DEPS
RUN opam install $DEPS
COPY --chown=1000:1000 . /src
RUN opam exec -- dune build @install @check @runtest && rm -rf _build


END-OF-DOCKERFILE
docker build .
END-REPRO-BLOCK


2025-12-05 14:29.04: Using cache hint "ocurrent/ocaml-dockerfile-ocaml/opam:debian-13-ocaml-4.09@sha256:c9713bbef7f9ec11a54f557062e604c092b8bf7d019e50c23e614c693c4e0ca5-debian-13-4.09_opam-2.4-8fb04fb17794e101489e26d4a03f6062"
2025-12-05 14:29.04: Using OBuilder spec:
((from ocaml/opam:debian-13-ocaml-4.09@sha256:c9713bbef7f9ec11a54f557062e604c092b8bf7d019e50c23e614c693c4e0ca5)
(comment debian-13-4.09_opam-2.4)
(user (uid 1000) (gid 1000))
(env CLICOLOR_FORCE 1)
(env OPAMCOLOR always)
(workdir /src)
(run (shell "sudo ln -f /usr/bin/opam-2.4 /usr/bin/opam"))
(run (shell "opam init --reinit -ni"))
(run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
(workdir /src)
(run (shell "sudo chown opam /src"))
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e 8a324a5b9945e0e515da441ede437f3756caa83d || git fetch origin master) && git reset -q --hard 8a324a5b9945e0e515da441ede437f3756caa83d && git log --no-decorate -n1 --oneline && opam update -u"))
(copy (src dockerfile.opam dockerfile-opam.opam dockerfile-cmd.opam)
(dst ./))
(run (network host)
(shell  "opam pin add -yn dockerfile.dev './' && \
\nopam pin add -yn dockerfile-opam.dev './' && \
\nopam pin add -yn dockerfile-cmd.dev './'"))
(run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
(env DEPS "alcotest.1.9.1 astring.0.8.5 base.v0.14.3 base-bigarray.base base-threads.base base-unix.base bos.0.2.1 cmdliner.2.1.0 csexp.1.5.2 dune.3.20.2 dune-configurator.3.20.2 fmt.0.11.0 fpath.0.7.3 logs.0.8.0 ocaml.4.09.1 ocaml-base-compiler.4.09.1 ocaml-compiler-libs.v0.12.4 ocaml-config.1 ocaml-syntax-shims.1.0.0 ocaml-version.4.0.3 ocamlbuild.0.16.1 ocamlfind.1.9.8 ppx_derivers.1.2.1 ppx_sexp_conv.v0.14.3 ppxlib.0.25.1 re.1.11.0 rresult.0.7.0 seq.base sexplib0.v0.14.0 stdlib-shims.0.3.0 topkg.1.1.1 uutf.1.0.4")
(env CI true)
(env OCAMLCI true)
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam update --depexts && opam install --cli=2.4 --depext-only -y dockerfile.dev dockerfile-opam.dev dockerfile-cmd.dev $DEPS"))
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam install $DEPS"))
(copy (src .) (dst /src))
(run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
)


2025-12-05 14:29.04: Waiting for resource in pool OCluster
2025-12-05 14:29.05: Waiting for worker…
2025-12-05 14:29.06: Got resource from pool OCluster
Building on asteria.caelum.ci.dev
All commits already cached
HEAD is now at 2bf4063 Merge pull request #252 from ocurrent/dune-3.20


(from ocaml/opam:debian-13-ocaml-4.09@sha256:c9713bbef7f9ec11a54f557062e604c092b8bf7d019e50c23e614c693c4e0ca5)
Unable to find image 'ocaml/opam:debian-13-ocaml-4.09@sha256:c9713bbef7f9ec11a54f557062e604c092b8bf7d019e50c23e614c693c4e0ca5' locally
docker.io/ocaml/opam@sha256:c9713bbef7f9ec11a54f557062e604c092b8bf7d019e50c23e614c693c4e0ca5: Pulling from ocaml/opam
13cc39f8244a: Already exists
b27d53669817: Already exists
062c909e206e: Already exists
265baae72087: Already exists
b6b7b385247c: Already exists
bfb7bf5b7c6d: Already exists
b18c76fc18f2: Already exists
6bdbb37ee35f: Already exists
84035aa4da2d: Already exists
0c3307e14207: Already exists
30b92d637d72: Already exists
991b07583706: Already exists
e1d7a79a1495: Already exists
6b08d63c6214: Already exists
4c7236344711: Already exists
12506f41e8b0: Already exists
12506f41e8b0: Already exists
2330d596aec1: Already exists
a48299f5ec62: Already exists
04618a577568: Already exists
8c4b002d072b: Already exists
4f4fb700ef54: Already exists
ff68f05e2976: Already exists
d5543b560a3e: Already exists
4a9030bbb1ef: Already exists
c59b3bec3411: Already exists
85a7c9be9495: Already exists
dbc6bd8f2e44: Already exists
6680a5133ca2: Already exists
470c0056084c: Already exists
6b9af56b67cf: Already exists
c572cde25fb3: Already exists
033b2d405acf: Already exists
663cc5b3d424: Already exists
840bbd47fded: Already exists
fb8f644ba010: Already exists
66735543f230: Already exists
7896354b8c11: Already exists
a0063722d8c2: Already exists
7018e4a5881b: Already exists
5511230be26a: Pulling fs layer
40f67569465d: Pulling fs layer
0f008cb40208: Pulling fs layer
6b7ca41647e0: Pulling fs layer
5511230be26a: Waiting
40f67569465d: Waiting
0f008cb40208: Waiting
6b7ca41647e0: Waiting
5511230be26a: Verifying Checksum
5511230be26a: Download complete
40f67569465d: Verifying Checksum
40f67569465d: Download complete
0f008cb40208: Verifying Checksum
0f008cb40208: Download complete
6b7ca41647e0: Download complete
5511230be26a: Pull complete
40f67569465d: Pull complete
0f008cb40208: Pull complete
6b7ca41647e0: Pull complete
Digest: sha256:c9713bbef7f9ec11a54f557062e604c092b8bf7d019e50c23e614c693c4e0ca5
Status: Downloaded newer image for ocaml/opam@sha256:c9713bbef7f9ec11a54f557062e604c092b8bf7d019e50c23e614c693c4e0ca5
2025-12-05 14:30.04: Cancelling: Auto-cancelling job because it is no longer needed
2025-12-05 14:30.45 ---> saved as "fdec8556ea76014db997247791612cf485e44bed45b0b0c070f584c6a0d62e30"


/: (comment debian-13-4.09_opam-2.4)


/: (user (uid 1000) (gid 1000))


/: (env CLICOLOR_FORCE 1)


/: (env OPAMCOLOR always)


/: (workdir /src)


/src: (run (shell "sudo ln -f /usr/bin/opam-2.4 /usr/bin/opam"))
Job cancelled