Organisationstaridesmongoc-ocaml042080 (main)freebsd-14.3-5.3_opam-2.4

freebsd-14.3-5.3_opam-2.4

Link Copied
Code Copied

Logs

2025-10-07 16:48.52: New job: test tarides/mongoc-ocaml https://github.com/tarides/mongoc-ocaml.git#refs/heads/main (042080ab77ab888069120fa0910b9b4c87e6e274) (freebsd-x86_64:freebsd-14.3-5.3_opam-2.4)
Base: freebsd-14.3-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 042080ab
cat > Dockerfile <<'END-OF-DOCKERFILE'
FROM freebsd-14.3-ocaml-5.3
# freebsd-14.3-5.3_opam-2.4
USER 1000:1000
ENV CLICOLOR_FORCE="1"
ENV OPAMCOLOR="always"
WORKDIR /src
RUN sudo ln -f /usr/local/bin/opam-2.4 /usr/local/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 dbd126f1b3e13b70b1010ac087a896c6f0d80bc5 || git fetch origin master) && git reset -q --hard dbd126f1b3e13b70b1010ac087a896c6f0d80bc5 && git log --no-decorate -n1 --oneline && opam update -u
COPY --chown=1000:1000 mongoc.opam ./
RUN opam pin add -yn mongoc.dev './'
RUN echo '(lang dune 3.0)' > './dune-project'
ENV DEPS="base-bigarray.base base-domains.base base-effects.base base-nnp.base base-threads.base base-unix.base bigarray-compat.1.1.0 cmdliner.2.0.0 conf-pkg-config.4 csexp.1.5.2 ctypes.0.23.0 dune.3.20.2 dune-configurator.3.20.2 integers.0.7.0 ocaml.5.3.0 ocaml-base-compiler.5.3.0 ocaml-compiler.5.3.0 ocaml-config.3 ocaml-options-vanilla.1 stdlib-shims.0.3.0"
ENV CI="true"
ENV OCAMLCI="true"
RUN opam update --depexts && opam install --cli=2.4 --depext-only -y mongoc.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-10-07 16:48.52: Using cache hint "tarides/mongoc-ocaml-freebsd-14.3-ocaml-5.3-freebsd-14.3-5.3_opam-2.4-029a6f504d6fd41451b57ffcabaa4a38"
2025-10-07 16:48.52: Using OBuilder spec:
((from freebsd-14.3-ocaml-5.3)
(comment freebsd-14.3-5.3_opam-2.4)
(user (uid 1000) (gid 1000))
(env CLICOLOR_FORCE 1)
(env OPAMCOLOR always)
(workdir /src)
(run (shell "sudo ln -f /usr/local/bin/opam-2.4 /usr/local/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 dbd126f1b3e13b70b1010ac087a896c6f0d80bc5 || git fetch origin master) && git reset -q --hard dbd126f1b3e13b70b1010ac087a896c6f0d80bc5 && git log --no-decorate -n1 --oneline && opam update -u"))
(copy (src mongoc.opam) (dst ./))
(run (network host)
(shell "opam pin add -yn mongoc.dev './'"))
(run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
(env DEPS "base-bigarray.base base-domains.base base-effects.base base-nnp.base base-threads.base base-unix.base bigarray-compat.1.1.0 cmdliner.2.0.0 conf-pkg-config.4 csexp.1.5.2 ctypes.0.23.0 dune.3.20.2 dune-configurator.3.20.2 integers.0.7.0 ocaml.5.3.0 ocaml-base-compiler.5.3.0 ocaml-compiler.5.3.0 ocaml-config.3 ocaml-options-vanilla.1 stdlib-shims.0.3.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 mongoc.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-10-07 16:48.52: Waiting for resource in pool OCluster
2025-10-07 17:44.23: Waiting for worker…
2025-10-07 19:04.42: Got resource from pool OCluster
Building on rosemary
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
hint:
hint: Disable this message with "git config set advice.defaultBranchName false"
Initialized empty Git repository in /obuilder/state/git/mongoc-ocaml.git-89dd79164929fa72e2d4cd3d662074271da71c43/.git/
HEAD is now at 042080a Merge pull request #2 from tarides/ci


(from freebsd-14.3-ocaml-5.3)
2025-10-07 19:02.55 ---> using "60bac7f21805020c29d2a88a6913503683a681e01c7da46429af43006be5190e" from cache


/: (comment freebsd-14.3-5.3_opam-2.4)


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


/: (env CLICOLOR_FORCE 1)


/: (env OPAMCOLOR always)


/: (workdir /src)


/src: (run (shell "sudo ln -f /usr/local/bin/opam-2.4 /usr/local/bin/opam"))
2025-10-07 19:02.56 ---> using "4d63dfa430f870863e128ed3c471110b31bb3e53377210a2ea894afe5e37bcbb" from cache


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


This version of opam requires an update to the layout of /home/opam/.opam from version 2.1 to version 2.2, which can't be reverted.
You may want to back it up before going further.


Continue? [Y/n] y
[NOTE] The 'jobs' option was reset, its value was 1 and its new value will vary according to the current number of cores on your machine. You can restore the fixed value using:
opam option jobs=1 --global
Format upgrade done.


<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] no changes from git+file:///home/opam/opam-repository
2025-10-07 19:02.56 ---> using "08dcdc7a41451c03feaf1cde41bdf093eeb3b516304c17e950a6225d1dbc12be" from cache


/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
FreeBSD 14.3-RELEASE-p3
The OCaml toplevel, version 5.3.0
2.4.1
2025-10-07 19:02.56 ---> using "89dfe63ac7dbdaa6723d28341400dd0a5b1be839b593d33c65eaf4466d13b257" from cache


/src: (workdir /src)


/src: (run (shell "sudo chown opam /src"))
2025-10-07 19:02.56 ---> using "ec3674891376259f4044950e2c0e886ef7c9543b50a81fe66e196cb6a302a954" from cache


/src: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "cd ~/opam-repository && (git cat-file -e dbd126f1b3e13b70b1010ac087a896c6f0d80bc5 || git fetch origin master) && git reset -q --hard dbd126f1b3e13b70b1010ac087a896c6f0d80bc5 && git log --no-decorate -n1 --oneline && opam update -u"))
dbd126f1b3 Merge pull request #28599 from dbuenzli/b0-publish-cmdliner.2.0.0


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


Already up-to-date.
Nothing to do.
2025-10-07 19:02.56 ---> using "1d83384ed1e6362edd9c9fa40b08deb78b19999f0ff382c4780efb1dc390f5ea" from cache


/src: (copy (src mongoc.opam) (dst ./))
2025-10-07 19:02.57 ---> saved as "14b964428115c9d2c95dc29a395da0b0cc1cd3176edecf5dee88e2e945e9b16c"


/src: (run (network host)
(shell "opam pin add -yn mongoc.dev './'"))
[NOTE] Package mongoc does not exist in opam repositories registered in the current switch.
[mongoc.dev] synchronised (file:///src)
mongoc is now pinned to file:///src (version dev)
2025-10-07 19:02.58 ---> saved as "8479b2e3e5f3e2be0f73d40b293e7602298da68d00cf04da7d52e20f7ba017e5"


/src: (run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
2025-10-07 19:02.58 ---> saved as "28823853d597e330a6f2b8199f1477afe41f0183af76a2da09947a2a3ce4255e"


/src: (env DEPS "base-bigarray.base base-domains.base base-effects.base base-nnp.base base-threads.base base-unix.base bigarray-compat.1.1.0 cmdliner.2.0.0 conf-pkg-config.4 csexp.1.5.2 ctypes.0.23.0 dune.3.20.2 dune-configurator.3.20.2 integers.0.7.0 ocaml.5.3.0 ocaml-base-compiler.5.3.0 ocaml-compiler.5.3.0 ocaml-config.3 ocaml-options-vanilla.1 stdlib-shims.0.3.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 mongoc.dev $DEPS"))
[WARNING] Unknown update command for bsd, skipping system update


<><> Synchronising pinned packages ><><><><><><><><><><><><><><><><><><><><><><>
[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).


The following system packages will first need to be installed:
mongo-c-driver


<><> Handling external dependencies <><><><><><><><><><><><><><><><><><><><><><>


+ /usr/local/bin/sudo "pkg" "install" "-y" "mongo-c-driver"
- Updating FreeBSD repository catalogue...
- FreeBSD repository is up to date.
- Updating FreeBSD-kmods repository catalogue...
- FreeBSD-kmods repository is up to date.
- All repositories are up to date.
- The following 3 package(s) will be affected (of 0 checked):
- 
- New packages to be INSTALLED:
- 	libbson: 1.30.4 [FreeBSD]
- 	mongo-c-driver: 1.30.4_1 [FreeBSD]
- 	utf8proc: 2.10.0 [FreeBSD]
- 
- Number of packages to be installed: 3
- 
- The process will require 263 MiB more space.
- 3 MiB to be downloaded.
- [rosemary] [1/3] Fetching mongo-c-driver-1.30.4_1.pkg: ...
- .....
- .. done
- [rosemary] [2/3] Fetching utf8proc-2.10.0.pkg: ...... done
- [rosemary] [3/3] Fetching libbson-1.30.4.pkg: .......... done
- Checking integrity... done (0 conflicting)
- [rosemary] [1/3] Installing libbson-1.30.4...
- [rosemary] [1/3] Extracting libbson-1.30.4: .......... done
- [rosemary] [2/3] Installing utf8proc-2.10.0...
- [rosemary] [2/3] Extracting utf8proc-2.10.0: .......... done
- [rosemary] [3/3] Installing mongo-c-driver-1.30.4_1...
- [rosemary] [3/3] Extracting mongo-c-driver-1.30.4_1: .......... done
2025-10-07 19:03.09 ---> saved as "62cc6c72b56f52c763b37948a57f3f53e5ee5e132d72e0461e016b4b31ac7c61"


/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 9 packages
 bigarray-compat   1.1.0
 cmdliner          2.0.0
 conf-pkg-config   4
 csexp             1.5.2
 ctypes            0.23.0
 dune              3.20.2
 dune-configurator 3.20.2
 integers          0.7.0
 stdlib-shims      0.3.0


<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
 installed conf-pkg-config.4
 retrieved csexp.1.5.2  (cached)
 retrieved cmdliner.2.0.0  (cached)
 retrieved ctypes.0.23.0  (cached)
 retrieved bigarray-compat.1.1.0  (cached)
 retrieved integers.0.7.0  (cached)
 retrieved stdlib-shims.0.3.0  (cached)
 retrieved dune.3.20.2, dune-configurator.3.20.2  (cached)
 installed cmdliner.2.0.0
 installed dune.3.20.2
 installed csexp.1.5.2
 installed stdlib-shims.0.3.0
 installed bigarray-compat.1.1.0
 installed integers.0.7.0
 installed dune-configurator.3.20.2
 installed ctypes.0.23.0
Done.
2025-10-07 19:04.04 ---> saved as "f4d9814da19446cc503f495cdde2e3b259e91d8f4e8fd2150fbd022d1073a4e6"


/src: (copy (src .) (dst /src))
2025-10-07 19:04.05 ---> saved as "d581367ff778624de679f7ca20e97c84ede7306c6789e1d0a098e35221a5ca89"


/src: (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
2025-10-07 19:04.10 ---> saved as "ba195f9f69c39d9562027ce22f2834baef176b29ebcb906501fa506d7f4d5265"
Job succeeded
2025-10-07 19:05.57: Job succeeded