Organisationsahrefsdevkitac7d14 ()fedora-42-4.14_opam-2.4

fedora-42-4.14_opam-2.4

Link Copied
Code Copied

Logs

2025-09-19 03:31.43: New job: test ahrefs/devkit https://github.com/ahrefs/devkit.git#refs/heads/master (ac7d1409942f7dd25f131cca0f8dbfdfc671f954) (linux-x86_64:fedora-42-4.14_opam-2.4)
Base: ocaml/opam:fedora-42-ocaml-4.14@sha256:6cce0d246ebc8da6c5e03254f52b00258b39625608db5ba70e275a51db9a4ef5
Opam project build


To reproduce locally:


git clone --recursive "https://github.com/ahrefs/devkit.git" -b "master" && cd "devkit" && git reset --hard ac7d1409
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:fedora-42-ocaml-4.14@sha256:6cce0d246ebc8da6c5e03254f52b00258b39625608db5ba70e275a51db9a4ef5
# fedora-42-4.14_opam-2.4
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.4 /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 6ef6813522b6ea29933f6451236a1639bdbaec61 || git fetch origin master) && git reset -q --hard 6ef6813522b6ea29933f6451236a1639bdbaec61 && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 devkit.opam ./
RUN opam pin add -yn devkit.dev './'
RUN echo '(lang dune 3.0)' > './dune-project'
ENV DEPS="base-bigarray.base base-bytes.base base-threads.base base-unix.base camlzip.1.13 conf-libcurl.2 conf-libevent.1 conf-libpcre2-8.2 conf-pkg-config.4 conf-zlib.1 cppo.1.8.0 csexp.1.5.2 curl.0.10.0 curl_lwt.0.10.0 dune.3.20.2 dune-configurator.3.20.2 extlib.1.8.0 extunix.0.4.4 libevent.0.9.0 lwt.5.9.2 lwt_ppx.5.9.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 ocplib-endian.1.2 ocurl.transition ounit2.2.2.7 pcre2.8.0.3 ppx_derivers.1.2.1 ppxlib.0.36.0 seq.base sexplib0.v0.17.0 stdlib-shims.0.3.0 trace.0.10 yojson.3.0.0"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.4 --depext-only -y devkit.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-09-19 03:31.43: Using cache hint "ahrefs/devkit-ocaml/opam:fedora-42-ocaml-4.14@sha256:6cce0d246ebc8da6c5e03254f52b00258b39625608db5ba70e275a51db9a4ef5-fedora-42-4.14_opam-2.4-7360a4eb2a8090afdc711c79e68bc89f"
2025-09-19 03:31.43: Using OBuilder spec:
((from ocaml/opam:fedora-42-ocaml-4.14@sha256:6cce0d246ebc8da6c5e03254f52b00258b39625608db5ba70e275a51db9a4ef5)
(comment fedora-42-4.14_opam-2.4)
(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.4 /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 6ef6813522b6ea29933f6451236a1639bdbaec61 || git fetch origin master) && git reset -q --hard 6ef6813522b6ea29933f6451236a1639bdbaec61 && git log --no-decorate -n1 --oneline && opam update -u"))
(copy (src devkit.opam) (dst ./))
(run (network host)
(shell "opam pin add -yn devkit.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 camlzip.1.13 conf-libcurl.2 conf-libevent.1 conf-libpcre2-8.2 conf-pkg-config.4 conf-zlib.1 cppo.1.8.0 csexp.1.5.2 curl.0.10.0 curl_lwt.0.10.0 dune.3.20.2 dune-configurator.3.20.2 extlib.1.8.0 extunix.0.4.4 libevent.0.9.0 lwt.5.9.2 lwt_ppx.5.9.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 ocplib-endian.1.2 ocurl.transition ounit2.2.2.7 pcre2.8.0.3 ppx_derivers.1.2.1 ppxlib.0.36.0 seq.base sexplib0.v0.17.0 stdlib-shims.0.3.0 trace.0.10 yojson.3.0.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.4 --depext-only -y devkit.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-09-19 03:31.43: Waiting for resource in pool OCluster
2025-09-19 03:31.43: Waiting for worker…
2025-09-19 03:31.43: Got resource from pool OCluster
Building on eumache
All commits already cached
HEAD is now at ac7d140 switch from pcre to pcre2


(from ocaml/opam:fedora-42-ocaml-4.14@sha256:6cce0d246ebc8da6c5e03254f52b00258b39625608db5ba70e275a51db9a4ef5)
2025-09-19 03:32.03 ---> saved as "41737538456847067d1d37fba8d6ad0b2b0b892b2746c6a95248cca5a2686765"


/: (comment fedora-42-4.14_opam-2.4)


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


/: (env CLICOLOR_FORCE 1)


/: (env OPAMCOLOR always)


/: (workdir /src)


/src: (run (network host)
(shell "sudo dnf install -y findutils"))
Updating and loading repositories:
Fedora 42 - x86_64                     100% |  76.9 KiB/s |  25.7 KiB |  00m00s
Fedora 42 - x86_64 - Updates           100% |  28.5 KiB/s |   6.1 KiB |  00m00s
Fedora 42 openh264 (From Cisco) - x86_ 100% |   8.2 KiB/s | 986.0   B |  00m00s
Repositories loaded.
Package "findutils-1:4.10.0-5.fc42.x86_64" is already installed.


Nothing to do.
2025-09-19 03:32.10 ---> saved as "a28b38a0e1fbe62c47fb2eda820c729805e8393ea286ee036b9011c053719220"


/src: (run (shell "sudo ln -f /usr/bin/opam-2.4 /usr/bin/opam"))
2025-09-19 03:32.11 ---> saved as "cf3ab9ba5927403959765db623053246df281767595cb3061e28156afe643252"


/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 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 ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] Initialised
2025-09-19 03:32.36 ---> saved as "e84a3b5ee7eefa40959681db3923f58d8b9f15496b44c0ceaf2d4975abee0f79"


/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-131-generic
The OCaml toplevel, version 4.14.2
2.4.1
2025-09-19 03:32.36 ---> saved as "e8694535dad70a6da944de4043ea4d62c9de7016a0c2a9c46d00b452fc864545"


/src: (workdir /src)


/src: (run (shell "sudo chown opam /src"))
2025-09-19 03:32.36 ---> saved as "110037ed78f63dff22b311fea760e755e4902a23efb8071a5ff9d2c7b47731f1"


/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e 6ef6813522b6ea29933f6451236a1639bdbaec61 || git fetch origin master) && git reset -q --hard 6ef6813522b6ea29933f6451236a1639bdbaec61 && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
* branch                  master     -> FETCH_HEAD
ee24528071..a8e705e921  master     -> origin/master
2025-09-19 03:32.43: Cancelling: Auto-cancelling job because it is no longer needed
Job cancelled