2024-11-11 21:04.58: New job: test mirage/ocaml-pcap https://github.com/mirage/ocaml-pcap.git#refs/heads/main (c28ea15c39bfb4189ffe9ac7975e54bda78e7dbc) (openbsd-amd64:openbsd-76-amd64-4.14_opam-2.3)
Base: openbsd-76-amd64-ocaml-4.14
Opam project build
To reproduce locally:
git clone --recursive "https://github.com/mirage/ocaml-pcap.git" -b "main" && cd "ocaml-pcap" && git reset --hard c28ea15c
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM openbsd-76-amd64-ocaml-4.14
# openbsd-76-amd64-4.14_opam-2.3
USER 1000:1000
ENV CLICOLOR_FORCE="1"
ENV OPAMCOLOR="always"
RUN doas ln -f /usr/bin/opam-2.3 /usr/bin/opam
RUN opam init --reinit -ni
RUN uname -rs && opam exec -- ocaml -version && opam --version
RUN cd ~/opam-repository && (git cat-file -e 371a52f4a8b5c88dc9de4f5a5f6375fb0963297a || git fetch origin master) && git reset -q --hard 371a52f4a8b5c88dc9de4f5a5f6375fb0963297a && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 pcap-format.opam /home/opam/src/./
RUN opam pin add -yn pcap-format.dev '/home/opam/src/./'
ENV DEPS="base-bigarray.base base-threads.base base-unix.base cstruct.6.2.0 dune.3.16.1 fmt.0.9.0 host-arch-x86_64.1 host-system-other.1 num.1.5-1 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-compiler-libs.v0.12.4 ocaml-config.2 ocaml-options-vanilla.1 ocamlbuild.0.15.0 ocamlfind.1.9.6 ounit2.2.2.7 parsexp.v0.16.0 ppx_cstruct.6.2.0 ppx_derivers.1.2.1 ppxlib.0.33.0 seq.base sexplib.v0.16.0 sexplib0.v0.16.0 stdlib-shims.0.3.0 topkg.1.0.7"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.3 --depext-only -y pcap-format.dev $DEPS
RUN opam install $DEPS
COPY --chown=1000:1000 . /home/opam/src
RUN cd /home/opam/src && opam exec -- dune build @install @check @runtest && rm -rf _build
END-OF-DOCKERFILE
docker build .
END-REPRO-BLOCK
2024-11-11 21:04.58: Using cache hint "mirage/ocaml-pcap-openbsd-76-amd64-ocaml-4.14-openbsd-76-amd64-4.14_opam-2.3-77436ae38fe65f6a9b219f68c20576a3"
2024-11-11 21:04.58: Using OBuilder spec:
((from openbsd-76-amd64-ocaml-4.14)
(comment openbsd-76-amd64-4.14_opam-2.3)
(user (uid 1000) (gid 1000))
(env CLICOLOR_FORCE 1)
(env OPAMCOLOR always)
(run (shell "doas 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"))
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e 371a52f4a8b5c88dc9de4f5a5f6375fb0963297a || git fetch origin master) && git reset -q --hard 371a52f4a8b5c88dc9de4f5a5f6375fb0963297a && git log --no-decorate -n1 --oneline && opam update -u"))
(copy (src pcap-format.opam) (dst /home/opam/src/./))
(run (network host)
(shell "opam pin add -yn pcap-format.dev '/home/opam/src/./'"))
(env DEPS "base-bigarray.base base-threads.base base-unix.base cstruct.6.2.0 dune.3.16.1 fmt.0.9.0 host-arch-x86_64.1 host-system-other.1 num.1.5-1 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-compiler-libs.v0.12.4 ocaml-config.2 ocaml-options-vanilla.1 ocamlbuild.0.15.0 ocamlfind.1.9.6 ounit2.2.2.7 parsexp.v0.16.0 ppx_cstruct.6.2.0 ppx_derivers.1.2.1 ppxlib.0.33.0 seq.base sexplib.v0.16.0 sexplib0.v0.16.0 stdlib-shims.0.3.0 topkg.1.0.7")
(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 pcap-format.dev $DEPS"))
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam install $DEPS"))
(copy (src .) (dst /home/opam/src))
(run (shell "cd /home/opam/src && opam exec -- dune build @install @check @runtest && rm -rf _build"))
)
2024-11-11 21:04.58: Waiting for resource in pool OCluster
2024-11-12 06:36.51: Waiting for worker…
2024-11-12 08:43.18: Got resource from pool OCluster
Building on bremusa
All commits already cached
HEAD is now at c28ea15 Merge pull request #37 from Alessandro-Barbieri/main
(from openbsd-76-amd64-ocaml-4.14)
2024-11-12 08:43.19 ---> using "273e81235ea8a6b452476629509f5a1e49a129b613e30bfb7515f80881f75048" from cache
/: (comment openbsd-76-amd64-4.14_opam-2.3)
/: (user (uid 1000) (gid 1000))
/: (env CLICOLOR_FORCE 1)
/: (env OPAMCOLOR always)
/: (run (shell "doas ln -f /usr/bin/opam-2.3 /usr/bin/opam"))
2024-11-12 08:43.19 ---> using "8f4c505b74dc31d91c5d30f3e3d123c2567bb97ae9c1708d719a97f14994a2cb" from cache
/: (run (shell "opam init --reinit -ni"))
No configuration file found, using 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.
<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] synchronised from file:///home/opam/opam-repository
2024-11-12 08:43.19 ---> using "b66ba35f8a9a53257673fce4c0b7f7307b571514bb7b92fa06cc7e407f80f85e" from cache
/: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
OpenBSD 7.6
The OCaml toplevel, version 4.14.2
2.3.0~rc1
2024-11-12 08:43.19 ---> using "136946daf17d74755f97e0e0d17c355664b0b582f53f270159dfd90ff2a9858b" from cache
/: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e 371a52f4a8b5c88dc9de4f5a5f6375fb0963297a || git fetch origin master) && git reset -q --hard 371a52f4a8b5c88dc9de4f5a5f6375fb0963297a && git log --no-decorate -n1 --oneline && opam update -u"))
371a52f4a8 Merge pull request #26816 from maiste/release-dune-3.16.1
<><> Updating package repositories ><><><><><><><><><><><><><><><><><><><><><><>
[default] synchronised from file:///home/opam/opam-repository
Everything as up-to-date as possible (run with --verbose to show unavailable upgrades).
However, you may "opam upgrade" these packages explicitly, which will ask permission to downgrade or uninstall the conflicting packages.
Nothing to do.
# To update the current shell environment, run: eval $(opam env)
2024-11-12 08:43.19 ---> using "9d23da78fe3a5da20c0b9eec7ff72b54b38cc49b96702f0d17008e440c13d1b8" from cache
/: (copy (src pcap-format.opam) (dst /home/opam/src/./))
2024-11-12 08:44.16 ---> saved as "43de3d18699ba22aff74ff51cd9b07ffd96968909bc8e87559e0206ad87a8e3c"
/: (run (network host)
(shell "opam pin add -yn pcap-format.dev '/home/opam/src/./'"))
[pcap-format.dev] synchronised (file:///home/opam/src)
pcap-format is now pinned to file:///home/opam/src (version dev)
2024-11-12 08:45.11 ---> saved as "46eeedcb37e4432254ed72f931d434da59789dc7067e03c1398344645340c5d2"
/: (env DEPS "base-bigarray.base base-threads.base base-unix.base cstruct.6.2.0 dune.3.16.1 fmt.0.9.0 host-arch-x86_64.1 host-system-other.1 num.1.5-1 ocaml.4.14.2 ocaml-base-compiler.4.14.2 ocaml-compiler-libs.v0.12.4 ocaml-config.2 ocaml-options-vanilla.1 ocamlbuild.0.15.0 ocamlfind.1.9.6 ounit2.2.2.7 parsexp.v0.16.0 ppx_cstruct.6.2.0 ppx_derivers.1.2.1 ppxlib.0.33.0 seq.base sexplib.v0.16.0 sexplib0.v0.16.0 stdlib-shims.0.3.0 topkg.1.0.7")
/: (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 pcap-format.dev $DEPS"))
[WARNING] Unknown update command for bsd, skipping system update
<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[pcap-format.dev] synchronised (no changes)
[NOTE] Package ocaml-options-vanilla is already installed (current version is 1).
[NOTE] Package ocaml-config is already installed (current version is 2).
[NOTE] Package ocaml-base-compiler is already installed (current version is 4.14.2).
[NOTE] Package ocaml is already installed (current version is 4.14.2).
[NOTE] Package host-system-other is already installed (current version is 1).
[NOTE] Package host-arch-x86_64 is already installed (current version is 1).
[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-bigarray is already installed (current version is base).
2024-11-12 08:46.13 ---> saved as "d166f410a69dbea5b4aaf4a12957bb16f34c3cb8b95ba8db0e59671941da6f75"
/: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam install $DEPS"))
[NOTE] Package ocaml-options-vanilla is already installed (current version is 1).
[NOTE] Package ocaml-config is already installed (current version is 2).
[NOTE] Package ocaml-base-compiler is already installed (current version is 4.14.2).
[NOTE] Package ocaml is already installed (current version is 4.14.2).
[NOTE] Package host-system-other is already installed (current version is 1).
[NOTE] Package host-arch-x86_64 is already installed (current version is 1).
[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-bigarray is already installed (current version is base).
The following actions will be performed:
=== install 17 packages
- install cstruct 6.2.0
- install dune 3.16.1
- install fmt 0.9.0
- install num 1.5-1
- install ocaml-compiler-libs v0.12.4
- install ocamlbuild 0.15.0
- install ocamlfind 1.9.6
- install ounit2 2.2.7
- install parsexp v0.16.0
- install ppx_cstruct 6.2.0
- install ppx_derivers 1.2.1
- install ppxlib 0.33.0
- install seq base
- install sexplib v0.16.0
- install sexplib0 v0.16.0
- install stdlib-shims 0.3.0
- install topkg 1.0.7
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved fmt.0.9.0 (cached)
-> retrieved cstruct.6.2.0, ppx_cstruct.6.2.0 (cached)
-> retrieved num.1.5-1 (cached)
-> retrieved ocaml-compiler-libs.v0.12.4 (cached)
-> retrieved ocamlbuild.0.15.0 (cached)
-> retrieved ocamlfind.1.9.6 (cached)
-> retrieved ounit2.2.2.7 (cached)
-> retrieved parsexp.v0.16.0 (cached)
-> retrieved ppx_derivers.1.2.1 (cached)
-> retrieved seq.base (cached)
-> retrieved sexplib.v0.16.0 (cached)
-> retrieved sexplib0.v0.16.0 (cached)
-> retrieved stdlib-shims.0.3.0 (cached)
-> retrieved ppxlib.0.33.0 (cached)
-> retrieved topkg.1.0.7 (cached)
-> retrieved dune.3.16.1 (cached)
-> installed num.1.5-1
-> installed dune.3.16.1
-> installed ocamlbuild.0.15.0
-> installed ocaml-compiler-libs.v0.12.4
-> installed ocamlfind.1.9.6
-> installed ppx_derivers.1.2.1
-> installed seq.base
-> installed sexplib0.v0.16.0
-> installed stdlib-shims.0.3.0
[ERROR] The compilation of parsexp.v0.16.0 failed at "dune build -p parsexp -j 1".
-> installed ounit2.2.2.7
-> installed ppxlib.0.33.0
-> installed topkg.1.0.7
-> installed fmt.0.9.0
-> installed cstruct.6.2.0
#=== ERROR while compiling parsexp.v0.16.0 ====================================#
# context 2.3.0~rc1 | openbsd/x86_64 | ocaml-base-compiler.4.14.2 | file:///home/opam/opam-repository
# path ~/.opam/4.14.2/.opam-switch/build/parsexp.v0.16.0
# command ~/.opam/4.14.2/bin/dune build -p parsexp -j 1
# exit-code 1
# env-file ~/.opam/log/parsexp-28773-103b36.env
# output-file ~/.opam/log/parsexp-28773-103b36.out
### output ###
# File "src/.parsexp.objs/native/_unknown_", line 1, characters 0-0:
# (cd _build/default && /home/opam/.opam/4.14.2/bin/ocamlopt.opt -w -40 -g -I src/.parsexp.objs/byte -I src/.parsexp.objs/native -I /home/opam/.opam/4.14.2/lib/sexplib0 -intf-suffix .ml -no-alias-deps -open Parsexp__ -o src/.parsexp.objs/native/parsexp__Automaton_tables.cmx -c -impl src/automaton_tables.ml)
# Fatal error: exception Stack overflow
<><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
+- The following actions failed
| - build parsexp v0.16.0
+-
+- The following changes have been performed (the rest was aborted)
| - install cstruct 6.2.0
| - install dune 3.16.1
| - install fmt 0.9.0
| - install num 1.5-1
| - install ocaml-compiler-libs v0.12.4
| - install ocamlbuild 0.15.0
| - install ocamlfind 1.9.6
| - install ounit2 2.2.7
| - install ppx_derivers 1.2.1
| - install ppxlib 0.33.0
| - install seq base
| - install sexplib0 v0.16.0
| - install stdlib-shims 0.3.0
| - install topkg 1.0.7
+-
# To update the current shell environment, run: eval $(opam env)
The former state can be restored with:
/usr/bin/opam switch import "/home/opam/.opam/4.14.2/.opam-switch/backup/state-20241112084644.export"
"opam install $DEPS" failed with exit status 31
2024-11-12 08:55.41: Job failed: Failed: Build failed