Organisationsedwintorokdune-compiledbf04417 (main)fedora-41-5.3_opam-2.3

fedora-41-5.3_opam-2.3

Link Copied
Code Copied

Logs

2025-05-10 12:26.28: New job: test edwintorok/dune-compiledb https://github.com/edwintorok/dune-compiledb.git#refs/heads/main (f0441721de9b4d1c8418a41ff6fc3f715505e7f0) (linux-x86_64:fedora-41-5.3_opam-2.3)
Base: ocaml/opam:fedora-41-ocaml-5.3@sha256:abc80c782e7acbd09ffd49defcb056c2fc402593e57bcb537add09330e2c3992
Opam project build


To reproduce locally:


git clone --recursive "https://github.com/edwintorok/dune-compiledb.git" -b "main" && cd "dune-compiledb" && git reset --hard f0441721
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:fedora-41-ocaml-5.3@sha256:abc80c782e7acbd09ffd49defcb056c2fc402593e57bcb537add09330e2c3992
# fedora-41-5.3_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 35eb2f107a989a2d623b0bbe170696398fcb9b1e || git fetch origin master) && git reset -q --hard 35eb2f107a989a2d623b0bbe170696398fcb9b1e && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 dune-compiledb.opam ./
RUN opam pin add -yn dune-compiledb.dev './'
RUN echo '(lang dune 3.0)' > './dune-project'
ENV DEPS="astring.0.8.5 base-bigarray.base base-domains.base base-effects.base base-nnp.base base-threads.base base-unix.base cstruct.6.2.0 dune.3.18.2 ezjsonm.1.3.0 fmt.0.10.0 fpath.0.7.3 hex.1.5.0 jsonm.1.0.2 num.1.5-1 ocaml.5.3.0 ocaml-base-compiler.5.3.0 ocaml-compiler.5.3.0 ocaml-config.3 ocaml-options-vanilla.1 ocamlbuild.0.16.1 ocamlfind.1.9.8 parsexp.v0.17.0 sexplib.v0.17.0 sexplib0.v0.17.0 topkg.1.0.8 uutf.1.0.4"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.3 --depext-only -y dune-compiledb.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-05-10 12:26.28: Using cache hint "edwintorok/dune-compiledb-ocaml/opam:fedora-41-ocaml-5.3@sha256:abc80c782e7acbd09ffd49defcb056c2fc402593e57bcb537add09330e2c3992-fedora-41-5.3_opam-2.3-547e4c53daf66cab93caafb136b59fb7"
2025-05-10 12:26.28: Using OBuilder spec:
((from ocaml/opam:fedora-41-ocaml-5.3@sha256:abc80c782e7acbd09ffd49defcb056c2fc402593e57bcb537add09330e2c3992)
(comment fedora-41-5.3_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 35eb2f107a989a2d623b0bbe170696398fcb9b1e || git fetch origin master) && git reset -q --hard 35eb2f107a989a2d623b0bbe170696398fcb9b1e && git log --no-decorate -n1 --oneline && opam update -u"))
(copy (src dune-compiledb.opam) (dst ./))
(run (network host)
(shell "opam pin add -yn dune-compiledb.dev './'"))
(run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
(env DEPS "astring.0.8.5 base-bigarray.base base-domains.base base-effects.base base-nnp.base base-threads.base base-unix.base cstruct.6.2.0 dune.3.18.2 ezjsonm.1.3.0 fmt.0.10.0 fpath.0.7.3 hex.1.5.0 jsonm.1.0.2 num.1.5-1 ocaml.5.3.0 ocaml-base-compiler.5.3.0 ocaml-compiler.5.3.0 ocaml-config.3 ocaml-options-vanilla.1 ocamlbuild.0.16.1 ocamlfind.1.9.8 parsexp.v0.17.0 sexplib.v0.17.0 sexplib0.v0.17.0 topkg.1.0.8 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.3 --depext-only -y dune-compiledb.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-05-10 12:26.28: Waiting for resource in pool OCluster
2025-05-10 13:31.06: Waiting for worker…
2025-05-10 13:33.43: Got resource from pool OCluster
Building on bremusa.ocamllabs.io
All commits already cached
HEAD is now at f044172 fix typo


(from ocaml/opam:fedora-41-ocaml-5.3@sha256:abc80c782e7acbd09ffd49defcb056c2fc402593e57bcb537add09330e2c3992)
Unable to find image 'ocaml/opam:fedora-41-ocaml-5.3@sha256:abc80c782e7acbd09ffd49defcb056c2fc402593e57bcb537add09330e2c3992' locally
docker.io/ocaml/opam@sha256:abc80c782e7acbd09ffd49defcb056c2fc402593e57bcb537add09330e2c3992: Pulling from ocaml/opam
e0caea583fc1: Pulling fs layer
e0caea583fc1: Verifying Checksum
e0caea583fc1: Download complete
e0caea583fc1: Pull complete
Digest: sha256:abc80c782e7acbd09ffd49defcb056c2fc402593e57bcb537add09330e2c3992
Status: Downloaded newer image for ocaml/opam@sha256:abc80c782e7acbd09ffd49defcb056c2fc402593e57bcb537add09330e2c3992
2025-05-10 13:35.24 ---> saved as "da0437edefc3074e740b2380711421a58ad6af000252c27345a9c063faf0cc10"


/: (comment fedora-41-5.3_opam-2.3)


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


/: (env CLICOLOR_FORCE 1)


/: (env OPAMCOLOR always)


/: (workdir /src)


/src: (run (network host)
(shell "sudo dnf install -y findutils"))
sudo: PAM account management error: Authentication service cannot retrieve authentication info
sudo: a password is required
"/usr/bin/env" "bash" "-c" "sudo dnf install -y findutils" failed with exit status 1
2025-05-10 13:35.24: Job failed: Failed: Build failed