Organisationssanetteboguedcfa50 ()debian-12-5.2_opam-2.3

debian-12-5.2_opam-2.3

Link Copied
Code Copied

Logs

2025-02-11 15:10.26: New job: test sanette/bogue https://github.com/sanette/bogue.git#refs/heads/master (dcfa50ab6e9a9a7dd15257c07ce9a0f731c4825e) (linux-x86_64:debian-12-5.2_opam-2.3)
Base: ocaml/opam:debian-12-ocaml-5.2@sha256:b0ffe4a40474650a5f4c63df827d7d1285866ef031ae85cbbfcc0b6ed7387797
Opam project build


To reproduce locally:


git clone --recursive "https://github.com/sanette/bogue.git" -b "master" && cd "bogue" && git reset --hard dcfa50ab
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-12-ocaml-5.2@sha256:b0ffe4a40474650a5f4c63df827d7d1285866ef031ae85cbbfcc0b6ed7387797
# 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 34c3343b5f75151737387099c7515a74f860d08a || git fetch origin master) && git reset -q --hard 34c3343b5f75151737387099c7515a74f860d08a && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 bogue.opam ./
RUN opam pin add -yn bogue.dev './'
RUN echo '(lang dune 3.0)' > './dune-project'
ENV DEPS="base-bigarray.base base-domains.base base-nnp.base base-threads.base base-unix.base bigarray-compat.1.1.0 conf-libffi.2.0.0 conf-pkg-config.4 conf-sdl2.1 conf-sdl2-image.1 conf-sdl2-ttf.1 csexp.1.5.2 ctypes.0.23.0 ctypes-foreign.0.23.0 dune.3.17.2 dune-configurator.3.17.2 integers.0.7.0 ocaml.5.2.1 ocaml-base-compiler.5.2.1 ocaml-config.3 ocaml-options-vanilla.1 ocamlbuild.0.15.0 ocamlfind.1.9.8 stdlib-shims.0.3.0 topkg.1.0.7 tsdl.1.1.0 tsdl-image.0.6 tsdl-ttf.0.6 xdg.3.17.2"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.3 --depext-only -y bogue.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-11 15:10.26: Using cache hint "sanette/bogue-ocaml/opam:debian-12-ocaml-5.2@sha256:b0ffe4a40474650a5f4c63df827d7d1285866ef031ae85cbbfcc0b6ed7387797-debian-12-5.2_opam-2.3-f96e0babfcafe35dabbf9b3005475df8"
2025-02-11 15:10.26: Using OBuilder spec:
((from ocaml/opam:debian-12-ocaml-5.2@sha256:b0ffe4a40474650a5f4c63df827d7d1285866ef031ae85cbbfcc0b6ed7387797)
(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 34c3343b5f75151737387099c7515a74f860d08a || git fetch origin master) && git reset -q --hard 34c3343b5f75151737387099c7515a74f860d08a && git log --no-decorate -n1 --oneline && opam update -u"))
(copy (src bogue.opam) (dst ./))
(run (network host)
(shell "opam pin add -yn bogue.dev './'"))
(run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
(env DEPS "base-bigarray.base base-domains.base base-nnp.base base-threads.base base-unix.base bigarray-compat.1.1.0 conf-libffi.2.0.0 conf-pkg-config.4 conf-sdl2.1 conf-sdl2-image.1 conf-sdl2-ttf.1 csexp.1.5.2 ctypes.0.23.0 ctypes-foreign.0.23.0 dune.3.17.2 dune-configurator.3.17.2 integers.0.7.0 ocaml.5.2.1 ocaml-base-compiler.5.2.1 ocaml-config.3 ocaml-options-vanilla.1 ocamlbuild.0.15.0 ocamlfind.1.9.8 stdlib-shims.0.3.0 topkg.1.0.7 tsdl.1.1.0 tsdl-image.0.6 tsdl-ttf.0.6 xdg.3.17.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 bogue.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-11 15:10.26: Waiting for resource in pool OCluster
2025-02-11 15:22.36: Cancelling: Auto-cancelling job because it is no longer needed