Organisationsygrekocurl6e5f7f ()debian-12-5.2_opam-2.3

debian-12-5.2_opam-2.3

Link Copied
Code Copied

Logs

2025-03-19 18:55.35: New job: test ygrek/ocurl https://github.com/ygrek/ocurl.git#refs/heads/master (6e5f7f6395272caab6c95ba1d5423098934ef724) (linux-x86_64:debian-12-5.2_opam-2.3)
Base: ocaml/opam:debian-12-ocaml-5.2@sha256:89ec63b50b2a5b473e2ee6ac01bf5fc8513ec4fc85f485bbee7ea4ce1c250e71
Opam project build


To reproduce locally:


git clone --recursive "https://github.com/ygrek/ocurl.git" -b "master" && cd "ocurl" && git reset --hard 6e5f7f63
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-12-ocaml-5.2@sha256:89ec63b50b2a5b473e2ee6ac01bf5fc8513ec4fc85f485bbee7ea4ce1c250e71
# debian-12-5.2_opam-2.3
USER 1000:1000
ENV CLICOLOR_FORCE="1"
ENV OPAMCOLOR="always"
WORKDIR /src
RUN sudo ln -f /usr/bin/opam-2.3 /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 cb8df6db0195538a02cc2b2eb20e468f22c475a7 || git fetch origin master) && git reset -q --hard cb8df6db0195538a02cc2b2eb20e468f22c475a7 && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 ocurl.opam curl_lwt.opam curl.opam ./
RUN opam pin add -yn ocurl.dev './' && \
opam pin add -yn curl_lwt.dev './' && \
opam pin add -yn curl.dev './'
RUN echo '(lang dune 3.0)' > './dune-project'
ENV DEPS="base-bigarray.base base-bytes.base base-domains.base base-nnp.base base-threads.base base-unix.base conf-libcurl.2 cppo.1.8.0 csexp.1.5.2 dune.3.17.2 dune-configurator.3.17.2 lwt.5.9.1 ocaml.5.2.1 ocaml-base-compiler.5.2.1 ocaml-config.3 ocaml-options-vanilla.1 ocamlfind.1.9.8 ocplib-endian.1.2"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.3 --depext-only -y ocurl.dev curl_lwt.dev curl.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-03-19 18:55.35: Using cache hint "ygrek/ocurl-ocaml/opam:debian-12-ocaml-5.2@sha256:89ec63b50b2a5b473e2ee6ac01bf5fc8513ec4fc85f485bbee7ea4ce1c250e71-debian-12-5.2_opam-2.3-7c55a3bded75ba4cb75f34542e293a7b"
2025-03-19 18:55.35: Using OBuilder spec:
((from ocaml/opam:debian-12-ocaml-5.2@sha256:89ec63b50b2a5b473e2ee6ac01bf5fc8513ec4fc85f485bbee7ea4ce1c250e71)
(comment debian-12-5.2_opam-2.3)
(user (uid 1000) (gid 1000))
(env CLICOLOR_FORCE 1)
(env OPAMCOLOR always)
(workdir /src)
(run (shell "sudo ln -f /usr/bin/opam-2.3 /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 cb8df6db0195538a02cc2b2eb20e468f22c475a7 || git fetch origin master) && git reset -q --hard cb8df6db0195538a02cc2b2eb20e468f22c475a7 && git log --no-decorate -n1 --oneline && opam update -u"))
(copy (src ocurl.opam curl_lwt.opam curl.opam) (dst ./))
(run (network host)
(shell  "opam pin add -yn ocurl.dev './' && \
\nopam pin add -yn curl_lwt.dev './' && \
\nopam pin add -yn curl.dev './'"))
(run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
(env DEPS "base-bigarray.base base-bytes.base base-domains.base base-nnp.base base-threads.base base-unix.base conf-libcurl.2 cppo.1.8.0 csexp.1.5.2 dune.3.17.2 dune-configurator.3.17.2 lwt.5.9.1 ocaml.5.2.1 ocaml-base-compiler.5.2.1 ocaml-config.3 ocaml-options-vanilla.1 ocamlfind.1.9.8 ocplib-endian.1.2")
(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.3 --depext-only -y ocurl.dev curl_lwt.dev curl.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-03-19 18:55.35: Waiting for resource in pool OCluster
2025-03-19 21:07.38: Waiting for worker…
2025-03-19 21:08.09: Cancelling: Auto-cancelling job because it is no longer needed