Organisationstaridesmongoc-ocamlcee116 ()opensuse-15.6-5.3_opam-2.3

opensuse-15.6-5.3_opam-2.3

Logs

Show full logs
2025-03-20 12:22.53: New job: test tarides/mongoc-ocaml https://github.com/tarides/mongoc-ocaml.git#refs/heads/main (cee116872386849b0b0bd8832d773c41563dea48) (linux-x86_64:opensuse-15.6-5.3_opam-2.3)
Base: ocaml/opam:opensuse-15.6-ocaml-5.3@sha256:03eed3183ced16e3bbc578545f87a5fc999109bedc4743538b9ff9563af70907
Opam project build

To reproduce locally:

git clone --recursive "https://github.com/tarides/mongoc-ocaml.git" -b "main" && cd "mongoc-ocaml" && git reset --hard cee11687
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:opensuse-15.6-ocaml-5.3@sha256:03eed3183ced16e3bbc578545f87a5fc999109bedc4743538b9ff9563af70907
# opensuse-15.6-5.3_opam-2.3
USER 1000:1000
ENV CLICOLOR_FORCE="1"
ENV OPAMCOLOR="always"
WORKDIR /src
RUN sudo ln -f /usr/bin/opam-2.3 /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 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 ./
RUN opam pin add -yn mongoc.dev './' && \
    opam pin add -yn conf-libmongoc.dev './'
RUN echo '(lang dune 3.0)' > './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 . /src
RUN opam exec -- dune build @install @check @runtest && rm -rf _build

END-OF-DOCKERFILE
docker build .
END-REPRO-BLOCK

2025-03-20 12:22.53: Using cache hint "tarides/mongoc-ocaml-ocaml/opam:opensuse-15.6-ocaml-5.3@sha256:03eed3183ced16e3bbc578545f87a5fc999109bedc4743538b9ff9563af70907-opensuse-15.6-5.3_opam-2.3-aac509e0f8822ea8c612a70ab14f3ad3"
2025-03-20 12:22.53: Using OBuilder spec:
((from ocaml/opam:opensuse-15.6-ocaml-5.3@sha256:03eed3183ced16e3bbc578545f87a5fc999109bedc4743538b9ff9563af70907)
 (comment opensuse-15.6-5.3_opam-2.3)
 (user (uid 1000) (gid 1000))
 (env CLICOLOR_FORCE 1)
 (env OPAMCOLOR always)
 (workdir /src)
 (run (shell "sudo 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"))
 (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 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 ./))
 (run (network host)
      (shell  "opam pin add -yn mongoc.dev './' && \
             \nopam pin add -yn conf-libmongoc.dev './'"))
 (run (network host)
      (shell "echo '(lang dune 3.0)' > './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 /src))
 (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
)

2025-03-20 12:22.53: Waiting for resource in pool OCluster
2025-03-20 12:22.53: Waiting for worker…
2025-03-20 12:23.00: Got resource from pool OCluster
Building on toxis.caelum.ci.dev
All commits already cached
HEAD is now at cee1168 Display online doc url

(from ocaml/opam:opensuse-15.6-ocaml-5.3@sha256:03eed3183ced16e3bbc578545f87a5fc999109bedc4743538b9ff9563af70907)
2025-03-20 12:23.01 ---> using "97c0fadd2a2f6fc0d6f7c024b06fdc5e37314bdc6a75a12d7cd819ed6ccf2aa0" from cache

/: (comment opensuse-15.6-5.3_opam-2.3)

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

/: (env CLICOLOR_FORCE 1)

/: (env OPAMCOLOR always)

/: (workdir /src)

/src: (run (shell "sudo ln -f /usr/bin/opam-2.3 /usr/bin/opam"))
2025-03-20 12:23.01 ---> using "ae8deb97ac3f0d225fc1c09301f1ecf73216745312621d386a5a7c1d83af4ac0" 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 development 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 ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[ERROR] Could not update repository "opam-repository-archive": "/usr/bin/git fetch -q" exited with code 128 "fatal: unable to access 'https://github.com/ocaml/opam-repository-archive/': Could not resolve host: github.com"
[default] synchronised from file:///home/opam/opam-repository
2025-03-20 12:23.01 ---> using "b9e7493c2d0282d19720dc154beb4021e405218902724c60e81ee6d906a24ad1" from cache

/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-134-generic
The OCaml toplevel, version 5.3.0
2.3.0
2025-03-20 12:23.01 ---> using "59503f8b04c6e35ab7b00f105a136ae0ce66053ec9281c32268254d16b5cb3d4" from cache

/src: (workdir /src)

/src: (run (shell "sudo chown opam /src"))
2025-03-20 12:23.01 ---> using "3336fd0a8b7aa274901f66563ebf4bbae201df957a49f9776cc6d20c7be356cc" from cache

/src: (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
   862a7640b1..fa45b93fe6  master     -> origin/master
cb8df6db01 Merge pull request #27631 from dbuenzli/incompatible-cmdliner2

<><> Updating package repositories ><><><><><><><><><><><><><><><><><><><><><><>
[opam-repository-archive] synchronised from git+https://github.com/ocaml/opam-repository-archive
[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 12:23.01 ---> using "abbb179cff580e6d6cbcdb238d980c587ea93dea3fb1e4ab67d2c4de8e6fd1c7" from cache

/src: (copy (src mongoc.opam conf-libmongoc.opam) (dst ./))
2025-03-20 12:23.01 ---> using "5505326d5c379869c3dc32ec348b8a89c80d7ae741fcebbf158da88beeacc83d" from cache

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

/src: (run (network host)
           (shell "echo '(lang dune 3.0)' > './dune-project'"))
2025-03-20 12:23.01 ---> using "fcf598b8c282ca6c7f3789f26375524ef47cf60943e133704b5b7c40ff6af9cb" from cache

/src: (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")

/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.3 --depext-only -y mongoc.dev conf-libmongoc.dev $DEPS"))
+ /usr/bin/sudo "zypper" "--non-interactive" "refresh"
- Retrieving repository 'Update repository of openSUSE Backports' metadata [..
- ...........done]
- Building repository 'Update repository of openSUSE Backports' cache [..
- ..done]
- Retrieving repository 'Update repository with updates from SUSE Linux Enterprise 15' metadata [.....
- ...........
- .......
- ...done]
- Building repository 'Update repository with updates from SUSE Linux Enterprise 15' cache [..
- ..done]
- Repository 'Main Update Repository' is up to date.
- Repository 'Update Repository (Non-Oss)' is up to date.
- Repository 'Non-OSS Repository' is up to date.
- Repository 'Main Repository' is up to date.
- All repositories have been refreshed.

<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[conf-libmongoc.dev] synchronised (file:///src)
[mongoc.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.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 12:23.01 ---> using "4132be6a4449f2034df9112f0a920f6396fd21554e37aad1633f1ca9a3a5fa81" from cache

/src: (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)
-> retrieved base.v0.17.1  (cached)
-> retrieved cmdliner.1.3.0  (cached)
-> retrieved csexp.1.5.2  (cached)
-> installed conf-pkg-config.4
-> 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 menhir.20240715, menhirCST.20240715, menhirLib.20240715, menhirSdk.20240715  (cached)
-> retrieved ocaml_intrinsics_kernel.v0.17.1  (cached)
-> retrieved ocamlbuild.0.16.1  (cached)
-> retrieved dune.3.17.2, dune-build-info.3.17.2, dune-configurator.3.17.2  (cached)
-> retrieved ocamlfind.1.9.8  (cached)
-> retrieved ocamlformat.0.27.0, ocamlformat-lib.0.27.0  (cached)
-> retrieved seq.base  (cached)
-> retrieved ocp-indent.1.8.1  (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)
-> installed cmdliner.1.3.0
-> installed seq.base
-> retrieved topkg.1.0.8  (cached)
-> retrieved uuseg.16.0.0  (cached)
-> retrieved uutf.1.0.4  (cached)
-> retrieved uucp.16.0.0  (cached)
-> installed ocamlfind.1.9.8
-> installed base-bytes.base
-> installed ocamlbuild.0.16.1
-> installed topkg.1.0.8
-> installed uutf.1.0.4
-> installed astring.0.8.5
-> installed fpath.0.7.3
-> installed dune.3.17.2
-> installed bigarray-compat.1.1.0
-> installed camlp-streams.5.0.1
-> installed csexp.1.5.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 ocaml_intrinsics_kernel.v0.17.1
-> installed sexplib0.v0.17.0
-> installed stdlib-shims.0.3.0
-> installed re.1.12.0
-> installed ocp-indent.1.8.1
-> installed integers.0.7.0
-> installed dune-build-info.3.17.2
-> installed dune-configurator.3.17.2
-> installed ctypes.0.23.0
-> installed base.v0.17.1
-> installed stdio.v0.17.0
-> installed uucp.16.0.0
-> installed menhir.20240715
-> 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/share/emacs/site-lisp")
     (require 'ocp-indent)

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

/src: (copy (src .) (dst /src))
2025-03-20 12:23.01 ---> saved as "c00ac5446f525a35904f2faa11e3751b2a20f4b1e3656c3c3b598200695367d3"

/src: (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
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.
Perhaps you should add the directory containing `libmongoc-1.0.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libmongoc-1.0' found
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.
Perhaps you should add the directory containing `libbson-1.0.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libbson-1.0' found
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.
Perhaps you should add the directory containing `libmongoc-1.0.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libmongoc-1.0' found
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.
Perhaps you should add the directory containing `libbson-1.0.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libbson-1.0' found
"/usr/bin/env" "bash" "-c" "opam exec -- dune build @install @check @runtest && rm -rf _build" failed with exit status 1
2025-03-20 12:23.02: Job failed: Failed: Build failed