Organisationsmiragebloomf084961 (master)openbsd-76-amd64-4.14_opam-2.3

openbsd-76-amd64-4.14_opam-2.3

Logs

Show full logs
2025-07-04 15:12.35: New job: test mirage/bloomf https://github.com/mirage/bloomf.git#refs/heads/master (084961d207cec4c3b041baa8a62bce12a3290a55) (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/bloomf.git" -b "master" && cd "bloomf" && git reset --hard 084961d2
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 382e02b4c17b5b59d503254784ac3a5d78916d5a || git fetch origin master) && git reset -q --hard 382e02b4c17b5b59d503254784ac3a5d78916d5a && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 bloomf.opam bloomf-bench.opam /home/opam/src/./
RUN opam pin add -yn bloomf.dev '/home/opam/src/./' && \
    opam pin add -yn bloomf-bench.dev '/home/opam/src/./'
RUN echo '(lang dune 3.0)' > '/home/opam/src/./dune-project'
ENV DEPS="alcotest.1.9.0 astring.0.8.5 base-bigarray.base base-threads.base base-unix.base bechamel.0.5.0 bechamel-notty.0.5.0 bitv.2.0 cmdliner.1.3.0 cppo.1.8.0 dune.3.19.1 fmt.0.10.0 notty.0.2.3 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 re.1.13.2 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 bloomf.dev bloomf-bench.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

2025-07-04 15:12.35: Using cache hint "mirage/bloomf-openbsd-76-amd64-ocaml-4.14-openbsd-76-amd64-4.14_opam-2.3-dc164044b6fc30e2aa9a29e95cece61e"
2025-07-04 15:12.35: 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 382e02b4c17b5b59d503254784ac3a5d78916d5a || git fetch origin master) && git reset -q --hard 382e02b4c17b5b59d503254784ac3a5d78916d5a && git log --no-decorate -n1 --oneline && opam update -u"))
 (copy (src bloomf.opam bloomf-bench.opam) (dst /home/opam/src/./))
 (run (network host)
      (shell  "opam pin add -yn bloomf.dev '/home/opam/src/./' && \
             \nopam pin add -yn bloomf-bench.dev '/home/opam/src/./'"))
 (run (network host)
      (shell "echo '(lang dune 3.0)' > '/home/opam/src/./dune-project'"))
 (env DEPS "alcotest.1.9.0 astring.0.8.5 base-bigarray.base base-threads.base base-unix.base bechamel.0.5.0 bechamel-notty.0.5.0 bitv.2.0 cmdliner.1.3.0 cppo.1.8.0 dune.3.19.1 fmt.0.10.0 notty.0.2.3 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 re.1.13.2 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 bloomf.dev bloomf-bench.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"))
)

2025-07-04 15:12.35: Waiting for resource in pool OCluster
2025-07-04 19:16.07: Waiting for worker…
2025-07-05 01:17.55: Got resource from pool OCluster
Building on oregano
All commits already cached
HEAD is now at 084961d Merge pull request #9 from bobot/add_copy_function

(from openbsd-76-amd64-ocaml-4.14)
2025-07-05 01:17.55 ---> 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"))
2025-07-05 01:17.55 ---> 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
2025-07-05 01:17.55 ---> 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
2025-07-05 01:17.55 ---> using "136946daf17d74755f97e0e0d17c355664b0b582f53f270159dfd90ff2a9858b" from cache

/: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
        (network host)
        (shell "cd ~/opam-repository && (git cat-file -e 382e02b4c17b5b59d503254784ac3a5d78916d5a || git fetch origin master) && git reset -q --hard 382e02b4c17b5b59d503254784ac3a5d78916d5a && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
 * branch                  master     -> FETCH_HEAD
   727427c1e7..ee56c84f60  master     -> origin/master
382e02b4c1 Merge pull request #28124 from kit-ty-kate/opam-publish-re.1.13.2

<><> 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)
2025-07-05 01:17.55 ---> using "3388e73058bd43334cc387815d8304b5181b028014bfba6787c6a9b7fec960a8" from cache

/: (copy (src bloomf.opam bloomf-bench.opam) (dst /home/opam/src/./))
2025-07-05 01:18.52 ---> saved as "7e1398d1737e7609dd25d25ea3040d9f2f880081f5cb2f0402fa0ff72fa030f5"

/: (run (network host)
        (shell  "opam pin add -yn bloomf.dev '/home/opam/src/./' && \
               \nopam pin add -yn bloomf-bench.dev '/home/opam/src/./'"))
[bloomf.dev] synchronised (file:///home/opam/src)
bloomf is now pinned to file:///home/opam/src (version dev)
Package bloomf-bench does not exist, create as a NEW package? [y/n] y
[bloomf-bench.dev] synchronised (file:///home/opam/src)
bloomf-bench is now pinned to file:///home/opam/src (version dev)
2025-07-05 01:19.50 ---> saved as "b34fffc110d7b2044b95519383899cbb96dabf44a7da6003aafebad38435acef"

/: (run (network host)
        (shell "echo '(lang dune 3.0)' > '/home/opam/src/./dune-project'"))
2025-07-05 01:20.46 ---> saved as "3a0352061e7d39aa36fe51b4aed5a07440ec68b48ee63566ae9b5a6e76ed2afe"

/: (env DEPS "alcotest.1.9.0 astring.0.8.5 base-bigarray.base base-threads.base base-unix.base bechamel.0.5.0 bechamel-notty.0.5.0 bitv.2.0 cmdliner.1.3.0 cppo.1.8.0 dune.3.19.1 fmt.0.10.0 notty.0.2.3 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 re.1.13.2 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 bloomf.dev bloomf-bench.dev $DEPS"))
[WARNING] Unknown update command for bsd, skipping system update

<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[bloomf.dev] synchronised (file:///home/opam/src)
[bloomf-bench.dev] synchronised (file:///home/opam/src)

[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 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).
2025-07-05 01:21.54 ---> saved as "4a68429b9d9351a1a2c89d23178ffab207f05f9935859af5f4496d0db2d9dff8"

/: (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 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 18 packages
  - install alcotest           1.9.0
  - install astring            0.8.5
  - install bechamel           0.5.0
  - install bechamel-notty     0.5.0
  - install bitv               2.0
  - install cmdliner           1.3.0
  - install cppo               1.8.0
  - install dune               3.19.1
  - install fmt                0.10.0
  - install notty              0.2.3
  - install ocaml-syntax-shims 1.0.0
  - install ocamlbuild         0.16.1
  - install ocamlfind          1.9.8
  - install re                 1.13.2
  - install seq                base
  - install stdlib-shims       0.3.0
  - install topkg              1.0.8
  - install uutf               1.0.4

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved astring.0.8.5  (cached)
-> retrieved bechamel.0.5.0, bechamel-notty.0.5.0  (cached)
-> retrieved bitv.2.0  (cached)
-> retrieved alcotest.1.9.0  (cached)
-> retrieved cppo.1.8.0  (cached)
-> retrieved cmdliner.1.3.0  (cached)
-> retrieved notty.0.2.3  (cached)
-> retrieved fmt.0.10.0  (cached)
-> retrieved ocaml-syntax-shims.1.0.0  (cached)
-> retrieved ocamlfind.1.9.8  (cached)
-> retrieved ocamlbuild.0.16.1  (cached)
-> retrieved seq.base  (cached)
-> retrieved re.1.13.2  (cached)
-> retrieved stdlib-shims.0.3.0  (cached)
-> retrieved uutf.1.0.4  (cached)
-> retrieved topkg.1.0.8  (cached)
-> retrieved dune.3.19.1  (cached)
-> installed cmdliner.1.3.0
-> installed dune.3.19.1
-> installed ocamlbuild.0.16.1
-> installed bitv.2.0
-> installed cppo.1.8.0
-> installed ocaml-syntax-shims.1.0.0
-> installed ocamlfind.1.9.8
-> installed seq.base
-> installed stdlib-shims.0.3.0
-> installed re.1.13.2
-> installed topkg.1.0.8
-> installed astring.0.8.5
-> installed fmt.0.10.0
-> installed uutf.1.0.4
[ERROR] The compilation of bechamel.0.5.0 failed at "dune build -p bechamel -j 1".
-> installed alcotest.1.9.0
-> installed notty.0.2.3

#=== ERROR while compiling bechamel.0.5.0 =====================================#
# context     2.3.0 | openbsd/x86_64 | ocaml-base-compiler.4.14.2 | file:///home/opam/opam-repository
# path        ~/.opam/4.14.2/.opam-switch/build/bechamel.0.5.0
# command     ~/.opam/4.14.2/bin/dune build -p bechamel -j 1
# exit-code   1
# env-file    ~/.opam/log/bechamel-28117-662187.env
# output-file ~/.opam/log/bechamel-28117-662187.out
### output ###
# File "lib/monotonic_clock/dune", lines 1-12, characters 0-325:
#  1 | (rule
#  2 |  (targets monotonic_clock.ml monotonic_clock_stubs.c monotonic_clock.sexp)
#  3 |  (deps
# ....
# 10 |   clock_mach_stubs.c)
# 11 |  (action
# 12 |   (run %{ocaml} %{select} --system %{ocaml-config:system} -o monotonic_clock)))
# (cd _build/default/lib/monotonic_clock && /home/opam/.opam/4.14.2/bin/ocaml select/select.ml --system openbsd -o monotonic_clock)
# Exception: Invalid_argument "Unsupported system: openbsd".



<><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
+- The following actions failed
| - build bechamel 0.5.0
+- 
+- The following changes have been performed (the rest was aborted)
| - install alcotest           1.9.0
| - install astring            0.8.5
| - install bitv               2.0
| - install cmdliner           1.3.0
| - install cppo               1.8.0
| - install dune               3.19.1
| - install fmt                0.10.0
| - install notty              0.2.3
| - install ocaml-syntax-shims 1.0.0
| - install ocamlbuild         0.16.1
| - install ocamlfind          1.9.8
| - install re                 1.13.2
| - install seq                base
| - install stdlib-shims       0.3.0
| - install topkg              1.0.8
| - install uutf               1.0.4
+- 
# 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-20250705012221.export"
"opam install $DEPS" failed with exit status 31
2025-07-05 01:29.14: Job failed: Failed: Build failed