Organisationsahrefsdevkitaadac3 (tianyi/dot-attribute-name)debian-13-5.4_riscv64_opam-2.4

debian-13-5.4_riscv64_opam-2.4

Link Copied
Code Copied

Logs

2025-11-05 15:28.15: New job: test ahrefs/devkit https://github.com/ahrefs/devkit.git#refs/heads/tianyi/dot-attribute-name (aadac3be5044b3a299426a1ed4ca57a3537b9a57) (linux-riscv64:debian-13-5.4_riscv64_opam-2.4)
Base: ocaml/opam:debian-13-ocaml-5.4@sha256:888c774d4d58e7f324b6278c087e64732081a76af78f2e7652efdf68a8b25288
Opam project build


To reproduce locally:


git clone --recursive "https://github.com/ahrefs/devkit.git" -b "tianyi/dot-attribute-name" && cd "devkit" && git reset --hard aadac3be
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-13-ocaml-5.4@sha256:888c774d4d58e7f324b6278c087e64732081a76af78f2e7652efdf68a8b25288
# debian-13-5.4_riscv64_opam-2.4
USER 1000:1000
ENV CLICOLOR_FORCE="1"
ENV OPAMCOLOR="always"
WORKDIR /src
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 930436c8d2f221ca216e2882d78d5f0486289405 || git fetch origin master) && git reset -q --hard 930436c8d2f221ca216e2882d78d5f0486289405 && 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="astring.0.8.5 base-bigarray.base base-bytes.base base-domains.base base-effects.base base-nnp.base base-threads.base base-unix.base camlzip.1.13 conf-libcurl.2 conf-libevent.1 conf-libpcre.2 conf-pkg-config.4 conf-zlib.1 cppo.1.8.0 csexp.1.5.2 cstruct.6.2.0 curl.0.10.0 curl_lwt.0.10.0 dune.3.20.2 dune-compiledb.0.6.0 dune-configurator.3.20.2 extlib.1.8.0 extunix.0.4.4 ezjsonm.1.3.0 fmt.0.11.0 fpath.0.7.3 hex.1.5.0 jsonm.1.0.2 libevent.0.9.0 lwt.5.9.2 lwt_ppx.5.9.2 num.1.6 ocaml.5.4.0 ocaml-base-compiler.5.4.0 ocaml-compiler.5.4.0 ocaml-compiler-libs.v0.17.0 ocaml-config.3 ocaml-options-vanilla.1 ocamlbuild.0.16.1 ocamlfind.1.9.8 ocplib-endian.1.2 ocurl.transition ounit2.2.2.7 parsexp.v0.17.0 pcre.8.0.5 ppx_derivers.1.2.1 ppxlib.0.37.0 seq.base sexplib.v0.17.0 sexplib0.v0.17.0 stdlib-shims.0.3.0 topkg.1.1.1 trace.0.10 uutf.1.0.4 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-11-05 15:28.15: Using cache hint "ahrefs/devkit-ocaml/opam:debian-13-ocaml-5.4@sha256:888c774d4d58e7f324b6278c087e64732081a76af78f2e7652efdf68a8b25288-debian-13-5.4_riscv64_opam-2.4-c3eea8de7a700b7031794658c37c497e"
2025-11-05 15:28.15: Using OBuilder spec:
((from ocaml/opam:debian-13-ocaml-5.4@sha256:888c774d4d58e7f324b6278c087e64732081a76af78f2e7652efdf68a8b25288)
(comment debian-13-5.4_riscv64_opam-2.4)
(user (uid 1000) (gid 1000))
(env CLICOLOR_FORCE 1)
(env OPAMCOLOR always)
(workdir /src)
(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 930436c8d2f221ca216e2882d78d5f0486289405 || git fetch origin master) && git reset -q --hard 930436c8d2f221ca216e2882d78d5f0486289405 && 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 "astring.0.8.5 base-bigarray.base base-bytes.base base-domains.base base-effects.base base-nnp.base base-threads.base base-unix.base camlzip.1.13 conf-libcurl.2 conf-libevent.1 conf-libpcre.2 conf-pkg-config.4 conf-zlib.1 cppo.1.8.0 csexp.1.5.2 cstruct.6.2.0 curl.0.10.0 curl_lwt.0.10.0 dune.3.20.2 dune-compiledb.0.6.0 dune-configurator.3.20.2 extlib.1.8.0 extunix.0.4.4 ezjsonm.1.3.0 fmt.0.11.0 fpath.0.7.3 hex.1.5.0 jsonm.1.0.2 libevent.0.9.0 lwt.5.9.2 lwt_ppx.5.9.2 num.1.6 ocaml.5.4.0 ocaml-base-compiler.5.4.0 ocaml-compiler.5.4.0 ocaml-compiler-libs.v0.17.0 ocaml-config.3 ocaml-options-vanilla.1 ocamlbuild.0.16.1 ocamlfind.1.9.8 ocplib-endian.1.2 ocurl.transition ounit2.2.2.7 parsexp.v0.17.0 pcre.8.0.5 ppx_derivers.1.2.1 ppxlib.0.37.0 seq.base sexplib.v0.17.0 sexplib0.v0.17.0 stdlib-shims.0.3.0 topkg.1.1.1 trace.0.10 uutf.1.0.4 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-11-05 15:28.15: Waiting for resource in pool OCluster
2025-11-05 15:28.15: Waiting for worker…
2025-11-05 23:43.42: Got resource from pool OCluster
Building on riscv-bm-02.sw.ci.dev
All commits already cached
HEAD is now at aadac3b make gen_ragel


(from ocaml/opam:debian-13-ocaml-5.4@sha256:888c774d4d58e7f324b6278c087e64732081a76af78f2e7652efdf68a8b25288)
2025-11-05 23:43.43 ---> using "4fbebff2fe9ef1495e2d214609b2035574aee42978f29274f9ade35b3a9e6719" from cache


/: (comment debian-13-5.4_riscv64_opam-2.4)


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


/: (env CLICOLOR_FORCE 1)


/: (env OPAMCOLOR always)


/: (workdir /src)


/src: (run (shell "sudo ln -f /usr/bin/opam-2.4 /usr/bin/opam"))
2025-11-05 23:43.43 ---> using "527ab505f1d7efafc8447b9ab5b51e78bded47dc20193bfc1e609a4f5a8660cd" 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 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-11-05 23:43.43 ---> using "ef3971c1a78d0fadecd4a56e92a3279693226b19b1d03251b9953afe2a9d9d48" from cache


/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.10.113-scw1
The OCaml toplevel, version 5.4.0
2.4.1
2025-11-05 23:43.43 ---> using "99827ec3f74219203532dd967ad83b982b5f930c87faab8530ffa6a021da7b6c" from cache


/src: (workdir /src)


/src: (run (shell "sudo chown opam /src"))
2025-11-05 23:43.43 ---> using "1e8f4a2b1bf1e3fc977029161890dd1e7a3c35e6f17fcd0be8e8891052cfde27" from cache


/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e 930436c8d2f221ca216e2882d78d5f0486289405 || git fetch origin master) && git reset -q --hard 930436c8d2f221ca216e2882d78d5f0486289405 && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
* branch                  master     -> FETCH_HEAD
1abfcdbf14..21f97b2e6d  master     -> origin/master
930436c8d2 Merge pull request #28833 from dbuenzli/b0-publish-topkg-care.1.1.1-etc-d8693897f289e86e


<><> Updating package repositories ><><><><><><><><><><><><><><><><><><><><><><>
[default] synchronised from git+file:///home/opam/opam-repository


Already up-to-date.
Nothing to do.
# To update the current shell environment, run: eval $(opam env)
2025-11-05 23:43.43 ---> using "48fad2e26a2de2f08b84561804914e40501cba7d8a5e949b974651131040d62c" from cache


/src: (copy (src devkit.opam) (dst ./))
2025-11-05 23:43.43 ---> saved as "283c18a85532f6fe222a5248071a1ebf1010f8367c3171abd5992cc0221e2b22"


/src: (run (network host)
(shell "opam pin add -yn devkit.dev './'"))
[devkit.dev] synchronised (file:///src)
devkit is now pinned to file:///src (version dev)
2025-11-05 23:43.50 ---> saved as "1da037848d0f18cf87f8dec2028917fa5e7d316b237482b3c8e4a677bfe1632b"


/src: (run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
2025-11-05 23:43.51 ---> saved as "f574eeaf97988eaffaad8e7696799185d3b01f3f8991a4b58fd594a8c7890b69"


/src: (env DEPS "astring.0.8.5 base-bigarray.base base-bytes.base base-domains.base base-effects.base base-nnp.base base-threads.base base-unix.base camlzip.1.13 conf-libcurl.2 conf-libevent.1 conf-libpcre.2 conf-pkg-config.4 conf-zlib.1 cppo.1.8.0 csexp.1.5.2 cstruct.6.2.0 curl.0.10.0 curl_lwt.0.10.0 dune.3.20.2 dune-compiledb.0.6.0 dune-configurator.3.20.2 extlib.1.8.0 extunix.0.4.4 ezjsonm.1.3.0 fmt.0.11.0 fpath.0.7.3 hex.1.5.0 jsonm.1.0.2 libevent.0.9.0 lwt.5.9.2 lwt_ppx.5.9.2 num.1.6 ocaml.5.4.0 ocaml-base-compiler.5.4.0 ocaml-compiler.5.4.0 ocaml-compiler-libs.v0.17.0 ocaml-config.3 ocaml-options-vanilla.1 ocamlbuild.0.16.1 ocamlfind.1.9.8 ocplib-endian.1.2 ocurl.transition ounit2.2.2.7 parsexp.v0.17.0 pcre.8.0.5 ppx_derivers.1.2.1 ppxlib.0.37.0 seq.base sexplib.v0.17.0 sexplib0.v0.17.0 stdlib-shims.0.3.0 topkg.1.1.1 trace.0.10 uutf.1.0.4 yojson.3.0.0")


/src: (env CI true)


/src: (env OCAMLCI true)


/src: (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"))
+ /usr/bin/sudo "apt-get" "update"
- Hit:1 http://deb.debian.org/debian trixie InRelease
- Get:2 http://deb.debian.org/debian trixie-updates InRelease [47.3 kB]
- Get:3 http://deb.debian.org/debian-security trixie-security InRelease [43.4 kB]
- Get:4 http://deb.debian.org/debian-security trixie-security/main riscv64 Packages [64.8 kB]
- Fetched 156 kB in 0s (339 kB/s)
- Reading package lists...
- 


<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[devkit.dev] synchronised (file:///src)


[NOTE] Package ocaml-options-vanilla is already installed (current version is 1).
[NOTE] Package ocaml-config is already installed (current version is 3).
[NOTE] Package ocaml-compiler is already installed (current version is 5.4.0).
[NOTE] Package ocaml-base-compiler is already installed (current version is 5.4.0).
[NOTE] Package ocaml is already installed (current version is 5.4.0).
[NOTE] Package base-unix is already installed (current version is base).
[NOTE] Package base-threads is already installed (current version is base).
[NOTE] Package base-nnp is already installed (current version is base).
[NOTE] Package base-effects is already installed (current version is base).
[NOTE] Package base-domains is already installed (current version is base).
[NOTE] Package base-bigarray is already installed (current version is base).
[ERROR] Package conf-libpcre.2 depends on the unavailable system package 'libpcre3-dev'. You can use `--no-depexts' to attempt installation anyway.
"/usr/bin/env" "bash" "-c" "opam update --depexts && opam install --cli=2.4 --depext-only -y devkit.dev $DEPS" failed with exit status 5
2025-11-05 23:44.06: Job failed: Failed: Build failed