Organisationsygrekocurl48d58d ()debian-12-5.1_opam-2.3

debian-12-5.1_opam-2.3

Link Copied
Code Copied

Logs

2025-02-01 20:38.14: New job: test ygrek/ocurl https://github.com/ygrek/ocurl.git#refs/pull/88/head (48d58da17fc1510a8d7dcc3cdd8941bad2862d52) (linux-x86_64:debian-12-5.1_opam-2.3)
Base: ocaml/opam:debian-12-ocaml-5.1@sha256:78c928783037bf53f7f7c6b1883d3e40e4322a0a4b888abd3a603c6128ab2986
Opam project build


To reproduce locally:


git clone --recursive "https://github.com/ygrek/ocurl.git" && cd "ocurl" && git fetch origin "refs/pull/88/head" && git reset --hard 48d58da1
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-12-ocaml-5.1@sha256:78c928783037bf53f7f7c6b1883d3e40e4322a0a4b888abd3a603c6128ab2986
# debian-12-5.1_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 d1a3803c0ca16aaa53a3813ecbc9cd62b88ec8db || git fetch origin master) && git reset -q --hard d1a3803c0ca16aaa53a3813ecbc9cd62b88ec8db && 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.0 ocaml.5.1.1 ocaml-base-compiler.5.1.1 ocaml-config.3 ocaml-options-vanilla.1 ocamlfind.1.9.6 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-02-01 20:38.14: Using cache hint "ygrek/ocurl-ocaml/opam:debian-12-ocaml-5.1@sha256:78c928783037bf53f7f7c6b1883d3e40e4322a0a4b888abd3a603c6128ab2986-debian-12-5.1_opam-2.3-4f646d02d6f51beb1c31d134573e662f"
2025-02-01 20:38.14: Using OBuilder spec:
((from ocaml/opam:debian-12-ocaml-5.1@sha256:78c928783037bf53f7f7c6b1883d3e40e4322a0a4b888abd3a603c6128ab2986)
(comment debian-12-5.1_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 d1a3803c0ca16aaa53a3813ecbc9cd62b88ec8db || git fetch origin master) && git reset -q --hard d1a3803c0ca16aaa53a3813ecbc9cd62b88ec8db && 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.0 ocaml.5.1.1 ocaml-base-compiler.5.1.1 ocaml-config.3 ocaml-options-vanilla.1 ocamlfind.1.9.6 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-02-01 20:38.14: Waiting for resource in pool OCluster
2025-02-01 20:38.14: Waiting for worker…
2025-02-01 20:38.27: Got resource from pool OCluster
Building on x86-bm-c3.sw.ocaml.org
All commits already cached
HEAD is now at 48d58da Write callback with buffer access


(from ocaml/opam:debian-12-ocaml-5.1@sha256:78c928783037bf53f7f7c6b1883d3e40e4322a0a4b888abd3a603c6128ab2986)
2025-02-01 20:39.23 ---> saved as "8b7f21e1596c3926ac0f50f31ba34910beacd4453e4c3eefec6825867bfa5014"


/: (comment debian-12-5.1_opam-2.3)


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


/: (env CLICOLOR_FORCE 1)


/: (env OPAMCOLOR always)


/: (workdir /src)


/src: (run (shell "sudo ln -f /usr/bin/opam-2.3 /usr/bin/opam"))
2025-02-01 20:39.23 ---> saved as "ad9f76f6d50632183a2a92d5735999231dd49d044fca855a125a264b192095f1"


/src: (run (shell "opam init --reinit -ni"))
Configuring from /home/opam/.opamrc and then 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
Format upgrade done.


<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
2025-02-01 20:39.42: Cancelling: Auto-cancelling job because it is no longer needed
Job cancelled