Organisationstaridesmongoc-ocaml4fc857 ()openbsd-76-amd64-5.3_opam-2.3

openbsd-76-amd64-5.3_opam-2.3

Logs

Show full logs
2025-03-20 15:47.31: New job: test tarides/mongoc-ocaml https://github.com/tarides/mongoc-ocaml.git#refs/heads/main (4fc85749b90dcea2bc2479e18b7f6d27b4f3d3bb) (openbsd-amd64:openbsd-76-amd64-5.3_opam-2.3)
Base: openbsd-76-amd64-ocaml-5.3
Opam project build

To reproduce locally:

git clone --recursive "https://github.com/tarides/mongoc-ocaml.git" -b "main" && cd "mongoc-ocaml" && git reset --hard 4fc85749
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM openbsd-76-amd64-ocaml-5.3
# openbsd-76-amd64-5.3_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 cb8df6db0195538a02cc2b2eb20e468f22c475a7 || git fetch origin master) && git reset -q --hard cb8df6db0195538a02cc2b2eb20e468f22c475a7 && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 mongoc.opam conf-libmongoc.opam /home/opam/src/./
RUN opam pin add -yn mongoc.dev '/home/opam/src/./' && \
    opam pin add -yn conf-libmongoc.dev '/home/opam/src/./'
RUN echo '(lang dune 3.0)' > '/home/opam/src/./dune-project'
ENV DEPS="astring.0.8.5 base.v0.17.1 base-bigarray.base base-bytes.base base-domains.base base-effects.base base-nnp.base base-threads.base base-unix.base bigarray-compat.1.1.0 camlp-streams.5.0.1 cmdliner.1.3.0 conf-pkg-config.4 csexp.1.5.2 ctypes.0.23.0 dune.3.17.2 dune-build-info.3.17.2 dune-configurator.3.17.2 either.1.0.0 fix.20230505 fpath.0.7.3 integers.0.7.0 menhir.20240715 menhirCST.20240715 menhirLib.20240715 menhirSdk.20240715 ocaml.5.3.0 ocaml-base-compiler.5.3.0 ocaml-compiler.5.3.0 ocaml-config.3 ocaml-options-vanilla.1 ocaml-version.3.7.3 ocaml_intrinsics_kernel.v0.17.1 ocamlbuild.0.16.1 ocamlfind.1.9.8 ocamlformat.0.27.0 ocamlformat-lib.0.27.0 ocp-indent.1.8.1 re.1.12.0 seq.base sexplib0.v0.17.0 stdio.v0.17.0 stdlib-shims.0.3.0 topkg.1.0.8 uucp.16.0.0 uuseg.16.0.0 uutf.1.0.4"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.3 --depext-only -y mongoc.dev conf-libmongoc.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-03-20 15:47.31: Using cache hint "tarides/mongoc-ocaml-openbsd-76-amd64-ocaml-5.3-openbsd-76-amd64-5.3_opam-2.3-aac509e0f8822ea8c612a70ab14f3ad3"
2025-03-20 15:47.31: Using OBuilder spec:
((from openbsd-76-amd64-ocaml-5.3)
 (comment openbsd-76-amd64-5.3_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 cb8df6db0195538a02cc2b2eb20e468f22c475a7 || git fetch origin master) && git reset -q --hard cb8df6db0195538a02cc2b2eb20e468f22c475a7 && git log --no-decorate -n1 --oneline && opam update -u"))
 (copy (src mongoc.opam conf-libmongoc.opam) (dst /home/opam/src/./))
 (run (network host)
      (shell  "opam pin add -yn mongoc.dev '/home/opam/src/./' && \
             \nopam pin add -yn conf-libmongoc.dev '/home/opam/src/./'"))
 (run (network host)
      (shell "echo '(lang dune 3.0)' > '/home/opam/src/./dune-project'"))
 (env DEPS "astring.0.8.5 base.v0.17.1 base-bigarray.base base-bytes.base base-domains.base base-effects.base base-nnp.base base-threads.base base-unix.base bigarray-compat.1.1.0 camlp-streams.5.0.1 cmdliner.1.3.0 conf-pkg-config.4 csexp.1.5.2 ctypes.0.23.0 dune.3.17.2 dune-build-info.3.17.2 dune-configurator.3.17.2 either.1.0.0 fix.20230505 fpath.0.7.3 integers.0.7.0 menhir.20240715 menhirCST.20240715 menhirLib.20240715 menhirSdk.20240715 ocaml.5.3.0 ocaml-base-compiler.5.3.0 ocaml-compiler.5.3.0 ocaml-config.3 ocaml-options-vanilla.1 ocaml-version.3.7.3 ocaml_intrinsics_kernel.v0.17.1 ocamlbuild.0.16.1 ocamlfind.1.9.8 ocamlformat.0.27.0 ocamlformat-lib.0.27.0 ocp-indent.1.8.1 re.1.12.0 seq.base sexplib0.v0.17.0 stdio.v0.17.0 stdlib-shims.0.3.0 topkg.1.0.8 uucp.16.0.0 uuseg.16.0.0 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 mongoc.dev conf-libmongoc.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-03-20 15:47.31: Waiting for resource in pool OCluster
2025-03-20 15:47.31: Waiting for worker…
2025-03-20 15:47.31: Got resource from pool OCluster
Building on bremusa
HEAD is now at 0431600 cmdliner with-test only
HEAD is now at 4fc8574 Expose insert_many

(from openbsd-76-amd64-ocaml-5.3)
2025-03-20 15:47.32 ---> using "753f998be4709b35e38a93b7272dee818f697255d5b48fadd1c23cb92a82f244" from cache

/: (comment openbsd-76-amd64-5.3_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-03-20 15:47.32 ---> using "b8621e22ceef6e45a2b70edd0350b6ec56c4cb2588ea75f8c24bf97f9bb8e3c1" 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-03-20 15:47.32 ---> using "caa4033b0f51d691107e536d025405bc96e59134e192afef776a8bfd43aac5e1" from cache

/: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
OpenBSD 7.6
The OCaml toplevel, version 5.3.0
2.3.0
2025-03-20 15:47.32 ---> using "7116693f695a70fbcc11fcbf90bc7fd32f30a6c20aabff3b1e1c926faaad9b01" from cache

/: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
        (network host)
        (shell "cd ~/opam-repository && (git cat-file -e cb8df6db0195538a02cc2b2eb20e468f22c475a7 || git fetch origin master) && git reset -q --hard cb8df6db0195538a02cc2b2eb20e468f22c475a7 && git log --no-decorate -n1 --oneline && opam update -u"))
From https://github.com/ocaml/opam-repository
 * branch                  master     -> FETCH_HEAD
   f93eb7cb02..4f8517f5b7  master     -> origin/master
cb8df6db01 Merge pull request #27631 from dbuenzli/incompatible-cmdliner2

<><> 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-03-20 15:47.32 ---> using "096c053d5a8325e2390463ce02b0ca37a7c9e6c32c5f3f06747b9cf5512c8fca" from cache

/: (copy (src mongoc.opam conf-libmongoc.opam) (dst /home/opam/src/./))
2025-03-20 15:47.32 ---> using "55da1b4ee52a6e6846005efd95be8099f01c2ccd363153dabf1fffee6621be22" from cache

/: (run (network host)
        (shell  "opam pin add -yn mongoc.dev '/home/opam/src/./' && \
               \nopam pin add -yn conf-libmongoc.dev '/home/opam/src/./'"))
Package mongoc does not exist, create as a NEW package? [y/n] y
[mongoc.dev] synchronised (file:///home/opam/src)
mongoc is now pinned to file:///home/opam/src (version dev)
Package conf-libmongoc does not exist, create as a NEW package? [y/n] y
[conf-libmongoc.dev] synchronised (file:///home/opam/src)
conf-libmongoc is now pinned to file:///home/opam/src (version dev)
2025-03-20 15:47.32 ---> using "9e8feccb4ffa57ee913eec94619b8a626352ed25b389a3147aea32437d6fab54" from cache

/: (run (network host)
        (shell "echo '(lang dune 3.0)' > '/home/opam/src/./dune-project'"))
2025-03-20 15:47.32 ---> using "c647a23241970e247cc6b2800c2a61a6a3a6218c4e8a1b0f242f844413bf3534" from cache

/: (env DEPS "astring.0.8.5 base.v0.17.1 base-bigarray.base base-bytes.base base-domains.base base-effects.base base-nnp.base base-threads.base base-unix.base bigarray-compat.1.1.0 camlp-streams.5.0.1 cmdliner.1.3.0 conf-pkg-config.4 csexp.1.5.2 ctypes.0.23.0 dune.3.17.2 dune-build-info.3.17.2 dune-configurator.3.17.2 either.1.0.0 fix.20230505 fpath.0.7.3 integers.0.7.0 menhir.20240715 menhirCST.20240715 menhirLib.20240715 menhirSdk.20240715 ocaml.5.3.0 ocaml-base-compiler.5.3.0 ocaml-compiler.5.3.0 ocaml-config.3 ocaml-options-vanilla.1 ocaml-version.3.7.3 ocaml_intrinsics_kernel.v0.17.1 ocamlbuild.0.16.1 ocamlfind.1.9.8 ocamlformat.0.27.0 ocamlformat-lib.0.27.0 ocp-indent.1.8.1 re.1.12.0 seq.base sexplib0.v0.17.0 stdio.v0.17.0 stdlib-shims.0.3.0 topkg.1.0.8 uucp.16.0.0 uuseg.16.0.0 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 mongoc.dev conf-libmongoc.dev $DEPS"))
[WARNING] Unknown update command for bsd, skipping system update

<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[conf-libmongoc.dev] synchronised (file:///home/opam/src)
[mongoc.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 3).
[NOTE] Package ocaml-compiler is already installed (current version is 5.3.0).
[NOTE] Package ocaml-base-compiler is already installed (current version is 5.3.0).
[NOTE] Package ocaml is already installed (current version is 5.3.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).
2025-03-20 15:47.32 ---> using "83e1c11de0ccb1b5be4cc8b20c57b31e0d29c467e049ac9972e9b9ef4bcdcca5" from cache

/: (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 3).
[NOTE] Package ocaml-compiler is already installed (current version is 5.3.0).
[NOTE] Package ocaml-base-compiler is already installed (current version is 5.3.0).
[NOTE] Package ocaml is already installed (current version is 5.3.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).
The following actions will be performed:
=== install 36 packages
  - install astring                 0.8.5
  - install base                    v0.17.1
  - install base-bytes              base
  - install bigarray-compat         1.1.0
  - install camlp-streams           5.0.1
  - install cmdliner                1.3.0
  - install conf-pkg-config         4
  - install csexp                   1.5.2
  - install ctypes                  0.23.0
  - install dune                    3.17.2
  - install dune-build-info         3.17.2
  - install dune-configurator       3.17.2
  - install either                  1.0.0
  - install fix                     20230505
  - install fpath                   0.7.3
  - install integers                0.7.0
  - install menhir                  20240715
  - install menhirCST               20240715
  - install menhirLib               20240715
  - install menhirSdk               20240715
  - install ocaml-version           3.7.3
  - install ocaml_intrinsics_kernel v0.17.1
  - install ocamlbuild              0.16.1
  - install ocamlfind               1.9.8
  - install ocamlformat             0.27.0
  - install ocamlformat-lib         0.27.0
  - install ocp-indent              1.8.1
  - install re                      1.12.0
  - install seq                     base
  - install sexplib0                v0.17.0
  - install stdio                   v0.17.0
  - install stdlib-shims            0.3.0
  - install topkg                   1.0.8
  - install uucp                    16.0.0
  - install uuseg                   16.0.0
  - install uutf                    1.0.4

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved bigarray-compat.1.1.0  (cached)
-> retrieved astring.0.8.5  (cached)
-> retrieved camlp-streams.5.0.1  (cached)
-> installed conf-pkg-config.4
-> retrieved csexp.1.5.2  (cached)
-> retrieved cmdliner.1.3.0  (cached)
-> retrieved base.v0.17.1  (cached)
-> retrieved ctypes.0.23.0  (cached)
-> retrieved either.1.0.0  (cached)
-> retrieved fpath.0.7.3  (cached)
-> retrieved fix.20230505  (cached)
-> retrieved integers.0.7.0  (cached)
-> retrieved ocaml-version.3.7.3  (cached)
-> retrieved ocaml_intrinsics_kernel.v0.17.1  (cached)
-> retrieved menhir.20240715, menhirCST.20240715, menhirLib.20240715, menhirSdk.20240715  (cached)
-> retrieved ocamlbuild.0.16.1  (cached)
-> retrieved ocamlfind.1.9.8  (cached)
-> retrieved dune.3.17.2, dune-build-info.3.17.2, dune-configurator.3.17.2  (cached)
-> retrieved ocp-indent.1.8.1  (cached)
-> retrieved seq.base  (cached)
-> retrieved re.1.12.0  (cached)
-> retrieved sexplib0.v0.17.0  (cached)
-> retrieved stdio.v0.17.0  (cached)
-> retrieved stdlib-shims.0.3.0  (cached)
-> retrieved ocamlformat.0.27.0, ocamlformat-lib.0.27.0  (cached)
-> retrieved uucp.16.0.0  (cached)
-> retrieved uuseg.16.0.0  (cached)
-> retrieved uutf.1.0.4  (cached)
-> retrieved topkg.1.0.8  (cached)
-> installed cmdliner.1.3.0
-> installed dune.3.17.2
-> installed ocamlbuild.0.16.1
-> installed bigarray-compat.1.1.0
-> installed camlp-streams.5.0.1
-> installed csexp.1.5.2
-> installed dune-build-info.3.17.2
-> installed dune-configurator.3.17.2
-> installed either.1.0.0
-> installed fix.20230505
-> installed menhirCST.20240715
-> installed menhirLib.20240715
-> installed menhirSdk.20240715
-> installed ocaml-version.3.7.3
-> installed menhir.20240715
-> installed ocaml_intrinsics_kernel.v0.17.1
-> installed ocamlfind.1.9.8
-> installed seq.base
-> installed base-bytes.base
-> installed sexplib0.v0.17.0
-> installed re.1.12.0
-> installed base.v0.17.1
-> installed ocp-indent.1.8.1
-> installed stdio.v0.17.0
-> installed stdlib-shims.0.3.0
-> installed topkg.1.0.8
-> installed integers.0.7.0
-> installed astring.0.8.5
-> installed ctypes.0.23.0
-> installed fpath.0.7.3
-> installed uucp.16.0.0
-> installed uutf.1.0.4
-> installed uuseg.16.0.0
-> installed ocamlformat-lib.0.27.0
-> installed ocamlformat.0.27.0
Done.

<><> ocp-indent.1.8.1 installed successfully ><><><><><><><><><><><><><><><><><>
=> This package requires additional configuration for use in editors. Install package 'user-setup', or manually:

   * for Emacs, add these lines to ~/.emacs:
     (add-to-list 'load-path "/home/opam/.opam/5.3.0/share/emacs/site-lisp")
     (require 'ocp-indent)

   * for Vim, add this line to ~/.vimrc:
     set rtp^="/home/opam/.opam/5.3.0/share/ocp-indent/vim"
# To update the current shell environment, run: eval $(opam env)
2025-03-20 15:47.32 ---> using "e3bd817044845c81a495b45fc7d39f7fe8af5f49e8c3e6c1a982f5940a5cdbc3" from cache

/: (copy (src .) (dst /home/opam/src))
2025-03-20 15:48.29 ---> saved as "75f79a139ef43d91ddebcace79734a6d163470491db783f3f683ba9b24ea5501"

/: (run (shell "cd /home/opam/src && opam exec -- dune build @install @check @runtest && rm -rf _build"))
File "lib/bson/dune", line 2, characters 7-11:
2 |  (name bson)
           ^^^^
(cd _build/default/lib/bson && /usr/bin/pkg-config --cflags libbson-1.0) > _build/default/lib/bson/.pkg-config/libbson-1.0.cflags
Package libbson-1.0 was not found in the pkg-config search path
File "lib/dune", line 2, characters 7-13:
2 |  (name mongoc)
           ^^^^^^
(cd _build/default/lib && /usr/bin/pkg-config --libs libmongoc-1.0) > _build/default/lib/.pkg-config/libmongoc-1.0.libs
Package libmongoc-1.0 was not found in the pkg-config search path
File "lib/bson/dune", line 2, characters 7-11:
2 |  (name bson)
           ^^^^
(cd _build/default/lib/bson && /usr/bin/pkg-config --libs libbson-1.0) > _build/default/lib/bson/.pkg-config/libbson-1.0.libs
Package libbson-1.0 was not found in the pkg-config search path
File "lib/dune", line 2, characters 7-13:
2 |  (name mongoc)
           ^^^^^^
(cd _build/default/lib && /usr/bin/pkg-config --cflags libmongoc-1.0) > _build/default/lib/.pkg-config/libmongoc-1.0.cflags
Package libmongoc-1.0 was not found in the pkg-config search path
(cd _build/default && /home/opam/.opam/5.3.0/bin/ocamlopt.opt -w @1..3@5..28@31..39@43@46..47@49..57@61..62@67@69-40 -strict-sequence -strict-formats -short-paths -keep-locs -g -o lib/bson/libbson_1_0__type_gen.exe /home/opam/.opam/5.3.0/lib/stdlib-shims/stdlib_shims.cmxa /home/opam/.opam/5.3.0/lib/integers/integers.cmxa -I /home/opam/.opam/5.3.0/lib/integers /home/opam/.opam/5.3.0/lib/bigarray-compat/bigarray_compat.cmxa /home/opam/.opam/5.3.0/lib/ctypes/ctypes.cmxa -I /home/opam/.opam/5.3.0/lib/ctypes /home/opam/.opam/5.3.0/lib/ocaml/str/str.cmxa /home/opam/.opam/5.3.0/lib/ctypes/stubs/ctypes_stubs.cmxa lib/bson/.bson.objs/native/bson__.cmx lib/bson/.bson.objs/native/bson__Type_description.cmx lib/bson/.bson.objs/native/bson__Libbson_1_0__type_gen.cmx)
ld: warning: unsigned_stubs.c:324(unsigned_stubs.o:(integers_uint8_to_string) in archive /home/opam/.opam/5.3.0/lib/integers/libintegers_stubs.a): warning: sprintf() is often misused, please use snprintf()
"cd /home/opam/src && opam exec -- dune build @install @check @runtest && rm -rf _build" failed with exit status 1
2025-03-20 15:49.25: Job failed: Failed: Build failed