Organisationsmiragedigestifbe4eb6 ()fedora-40-4.14_opam-2.3

fedora-40-4.14_opam-2.3

Link Copied
Code Copied

Logs

2025-04-17 09:48.12: New job: test mirage/digestif https://github.com/mirage/digestif.git#refs/heads/main (be4eb6e691062b941678b7ad3896672e1ce02274) (linux-x86_64:fedora-40-4.14_opam-2.3)
Base: ocaml/opam:fedora-40-ocaml-4.14@sha256:cc37024c0531154dc7f7147069bfb6715b0d1af169fdbfa556531a42105e4eda
Opam project build


To reproduce locally:


git clone --recursive "https://github.com/mirage/digestif.git" -b "main" && cd "digestif" && git reset --hard be4eb6e6
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:fedora-40-ocaml-4.14@sha256:cc37024c0531154dc7f7147069bfb6715b0d1af169fdbfa556531a42105e4eda
# 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 1b767795a4e028a4d45f916f1598c24ee7a7b6cb || git fetch origin master) && git reset -q --hard 1b767795a4e028a4d45f916f1598c24ee7a7b6cb && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 digestif.opam ./
RUN opam pin add -yn digestif.dev './'
RUN echo '(lang dune 3.0)' > './dune-project'
ENV DEPS="afl-persistent.1.4 alcotest.1.9.0 astring.0.8.5 base-bigarray.base base-bytes.base base-threads.base base-unix.base bos.0.2.1 cmdliner.1.3.0 cppo.1.8.0 crowbar.0.2.1 dune.3.18.0 eqaf.0.10 fmt.0.10.0 fpath.0.7.3 logs.0.8.0 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.2 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocamlbuild.0.16.1 ocamlfind.1.9.8 ocplib-endian.1.2 re.1.12.0 rresult.0.7.0 seq.base stdlib-shims.0.3.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 digestif.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-04-17 09:48.12: Using cache hint "mirage/digestif-ocaml/opam:fedora-40-ocaml-4.14@sha256:cc37024c0531154dc7f7147069bfb6715b0d1af169fdbfa556531a42105e4eda-fedora-40-4.14_opam-2.3-b422092a1e6fab0fb5029506d4204880"
2025-04-17 09:48.12: Using OBuilder spec:
((from ocaml/opam:fedora-40-ocaml-4.14@sha256:cc37024c0531154dc7f7147069bfb6715b0d1af169fdbfa556531a42105e4eda)
(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 1b767795a4e028a4d45f916f1598c24ee7a7b6cb || git fetch origin master) && git reset -q --hard 1b767795a4e028a4d45f916f1598c24ee7a7b6cb && git log --no-decorate -n1 --oneline && opam update -u"))
(copy (src digestif.opam) (dst ./))
(run (network host)
(shell "opam pin add -yn digestif.dev './'"))
(run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
(env DEPS "afl-persistent.1.4 alcotest.1.9.0 astring.0.8.5 base-bigarray.base base-bytes.base base-threads.base base-unix.base bos.0.2.1 cmdliner.1.3.0 cppo.1.8.0 crowbar.0.2.1 dune.3.18.0 eqaf.0.10 fmt.0.10.0 fpath.0.7.3 logs.0.8.0 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.2 ocaml-options-vanilla.1 ocaml-syntax-shims.1.0.0 ocamlbuild.0.16.1 ocamlfind.1.9.8 ocplib-endian.1.2 re.1.12.0 rresult.0.7.0 seq.base stdlib-shims.0.3.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 digestif.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-04-17 09:48.12: Waiting for resource in pool OCluster
2025-04-17 09:48.13: Waiting for worker…
2025-04-17 09:48.13: Got resource from pool OCluster
Building on x86-bm-c1.sw.ocaml.org
HEAD is now at 7884f23 Merge pull request #159 from mirage/prepare-v1.3.0
HEAD is now at be4eb6e Merge pull request #160 from jonahbeckford/remove-dkml


(from ocaml/opam:fedora-40-ocaml-4.14@sha256:cc37024c0531154dc7f7147069bfb6715b0d1af169fdbfa556531a42105e4eda)
2025-04-17 09:48.13 ---> using "81aeb9972ad396fe915756d37c1673be494f25bf8fcf54f21164b1846f16ebc1" from cache


/: (comment fedora-40-4.14_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"))
Fedora 40 - x86_64                              306 kB/s |  27 kB     00:00
Fedora 40 openh264 (From Cisco) - x86_64         14 kB/s | 989  B     00:00
Fedora 40 - x86_64 - Updates                    175 kB/s |  14 kB     00:00
Fedora 40 - x86_64 - Updates                    597 kB/s | 6.2 MB     00:10
Package findutils-1:4.9.0-9.fc40.x86_64 is already installed.
Dependencies resolved.
Nothing to do.
Complete!
2025-04-17 09:48.13 ---> using "4c0b4f4f44ba47830d0c2d9115d7a4e99e6d99a4f748784d521652a095b1eaab" from cache


/src: (run (shell "sudo ln -f /usr/bin/opam-2.3 /usr/bin/opam"))
2025-04-17 09:48.13 ---> using "729b2952a286ecb9eb23be38e00cdab37c74b91a4aa5b706438e94c5c6850d1b" from cache


/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 ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[ERROR] Could not update repository "opam-repository-archive": "/usr/bin/git fetch -q" exited with code 128 "fatal: unable to access 'https://github.com/ocaml/opam-repository-archive/': Could not resolve host: github.com"
[default] synchronised from file:///home/opam/opam-repository
2025-04-17 09:48.13 ---> using "fca5162a208c07f83d379ef2cdbc0b2c09827c2969019020f82faaa3094f6cf0" from cache


/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-134-generic
The OCaml toplevel, version 4.14.2
2.3.0
2025-04-17 09:48.13 ---> using "0755c661e0f6f170959fc6603a07ec1fe4ad4d14f05537a181c45a1834bc50bc" from cache


/src: (workdir /src)


/src: (run (shell "sudo chown opam /src"))
2025-04-17 09:48.13 ---> using "e334036df1ff813404f461c55e8406a73518d99330baa091d5ad0e39753cae4f" from cache


/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e 1b767795a4e028a4d45f916f1598c24ee7a7b6cb || git fetch origin master) && git reset -q --hard 1b767795a4e028a4d45f916f1598c24ee7a7b6cb && git log --no-decorate -n1 --oneline && opam update -u"))
2025-04-17 09:48.16: Cancelling: Auto-cancelling job because it is no longer needed
Job cancelled