Organisationsygrekextunix0984c4 ()fedora-40-4.14_opam-2.3

fedora-40-4.14_opam-2.3

Link Copied
Code Copied

Logs

2025-03-11 15:08.40: New job: test ygrek/extunix https://github.com/ygrek/extunix.git#refs/heads/master (0984c4e262405c7f9074490d202a74ff1084c865) (linux-x86_64:fedora-40-4.14_opam-2.3)
Base: ocaml/opam:fedora-40-ocaml-4.14@sha256:77ad6f4547bb06a0f441b2695b26de34aaf2216789faa9b817d3af6b0a834286
Opam project build


To reproduce locally:


git clone --recursive "https://github.com/ygrek/extunix.git" -b "master" && cd "extunix" && git reset --hard 0984c4e2
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:fedora-40-ocaml-4.14@sha256:77ad6f4547bb06a0f441b2695b26de34aaf2216789faa9b817d3af6b0a834286
# fedora-40-4.14_opam-2.3
USER 1000:1000
ENV CLICOLOR_FORCE="1"
ENV OPAMCOLOR="always"
WORKDIR /src
RUN sudo dnf install -y findutils
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 06348888ceab6d4a0af165056f0adf0c5f2c9468 || git fetch origin master) && git reset -q --hard 06348888ceab6d4a0af165056f0adf0c5f2c9468 && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 extunix.opam ./
RUN opam pin add -yn extunix.dev './'
RUN echo '(lang dune 3.0)' > './dune-project'
ENV DEPS="base-bigarray.base base-bytes.base base-threads.base base-unix.base csexp.1.5.2 dune.3.17.2 dune-configurator.3.17.2 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-compiler-libs.v0.12.4 ocaml-config.2 ocaml-options-vanilla.1 ocamlfind.1.9.8 ounit2.2.2.7 ppx_derivers.1.2.1 ppxlib.0.36.0 seq.base sexplib0.v0.17.0 stdlib-shims.0.3.0"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.3 --depext-only -y extunix.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-11 15:08.40: Using cache hint "ygrek/extunix-ocaml/opam:fedora-40-ocaml-4.14@sha256:77ad6f4547bb06a0f441b2695b26de34aaf2216789faa9b817d3af6b0a834286-fedora-40-4.14_opam-2.3-8309ecd74f294942f3c2005400ca89b9"
2025-03-11 15:08.40: Using OBuilder spec:
((from ocaml/opam:fedora-40-ocaml-4.14@sha256:77ad6f4547bb06a0f441b2695b26de34aaf2216789faa9b817d3af6b0a834286)
(comment fedora-40-4.14_opam-2.3)
(user (uid 1000) (gid 1000))
(env CLICOLOR_FORCE 1)
(env OPAMCOLOR always)
(workdir /src)
(run (network host)
(shell "sudo dnf install -y findutils"))
(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 06348888ceab6d4a0af165056f0adf0c5f2c9468 || git fetch origin master) && git reset -q --hard 06348888ceab6d4a0af165056f0adf0c5f2c9468 && git log --no-decorate -n1 --oneline && opam update -u"))
(copy (src extunix.opam) (dst ./))
(run (network host)
(shell "opam pin add -yn extunix.dev './'"))
(run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
(env DEPS "base-bigarray.base base-bytes.base base-threads.base base-unix.base csexp.1.5.2 dune.3.17.2 dune-configurator.3.17.2 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-compiler-libs.v0.12.4 ocaml-config.2 ocaml-options-vanilla.1 ocamlfind.1.9.8 ounit2.2.2.7 ppx_derivers.1.2.1 ppxlib.0.36.0 seq.base sexplib0.v0.17.0 stdlib-shims.0.3.0")
(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 extunix.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-11 15:08.40: Waiting for resource in pool OCluster
2025-03-11 15:08.40: Waiting for worker…
2025-03-11 15:09.00: Cancelling: Auto-cancelling job because it is no longer needed