Organisationstaridesmongoc-ocaml042080 (main)debian-13-5.3_riscv64_opam-2.4

debian-13-5.3_riscv64_opam-2.4

Link Copied
Code Copied

Logs

2025-10-01 14:13.19: New job: test tarides/mongoc-ocaml https://github.com/tarides/mongoc-ocaml.git#refs/heads/main (042080ab77ab888069120fa0910b9b4c87e6e274) (linux-riscv64:debian-13-5.3_riscv64_opam-2.4)
Base: ocaml/opam:debian-13-ocaml-5.3@sha256:9ffbd4dce8556abb04e1b15c176a05adceba49b38691bce1367f35c8af127a52
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 ocaml/opam:debian-13-ocaml-5.3@sha256:9ffbd4dce8556abb04e1b15c176a05adceba49b38691bce1367f35c8af127a52
# debian-13-5.3_riscv64_opam-2.4
USER 1000:1000
ENV CLICOLOR_FORCE="1"
ENV OPAMCOLOR="always"
WORKDIR /src
RUN sudo ln -f /usr/bin/opam-2.4 /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 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-01 14:13.19: Using cache hint "tarides/mongoc-ocaml-ocaml/opam:debian-13-ocaml-5.3@sha256:9ffbd4dce8556abb04e1b15c176a05adceba49b38691bce1367f35c8af127a52-debian-13-5.3_riscv64_opam-2.4-029a6f504d6fd41451b57ffcabaa4a38"
2025-10-01 14:13.19: Using OBuilder spec:
((from ocaml/opam:debian-13-ocaml-5.3@sha256:9ffbd4dce8556abb04e1b15c176a05adceba49b38691bce1367f35c8af127a52)
(comment debian-13-5.3_riscv64_opam-2.4)
(user (uid 1000) (gid 1000))
(env CLICOLOR_FORCE 1)
(env OPAMCOLOR always)
(workdir /src)
(run (shell "sudo ln -f /usr/bin/opam-2.4 /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 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-01 14:13.19: Waiting for resource in pool OCluster
2025-10-01 14:13.23: Waiting for worker…
2025-10-02 16:31.28: Got resource from pool OCluster
Building on riscv-bm-03.sw.ci.dev
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>
Initialized empty Git repository in /var/cache/obuilder/ocluster/git/mongoc-ocaml.git-89dd79164929fa72e2d4cd3d662074271da71c43/.git/
HEAD is now at 042080a Merge pull request #2 from tarides/ci


(from ocaml/opam:debian-13-ocaml-5.3@sha256:9ffbd4dce8556abb04e1b15c176a05adceba49b38691bce1367f35c8af127a52)
2025-10-02 16:31.30 ---> using "464544ceb3be86cede6394dc71749c8c9ab6bfb0d79ff9828158551739284e81" from cache


/: (comment debian-13-5.3_riscv64_opam-2.4)


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


/: (env CLICOLOR_FORCE 1)


/: (env OPAMCOLOR always)


/: (workdir /src)


/src: (run (shell "sudo ln -f /usr/bin/opam-2.4 /usr/bin/opam"))
2025-10-02 16:31.30 ---> using "75ffd3c83aa012bc8b093a0947a298655da91fffc49261aacbc27aca5478db37" 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 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 ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] Initialised
2025-10-02 16:31.30 ---> using "bc4eabd090c5ab50b0842a159fc8bb3e4f2e48f604dc2d650850095378bf9911" from cache


/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.10.113-scw1
The OCaml toplevel, version 5.3.0
2.4.1
2025-10-02 16:31.30 ---> using "99413c80cfa038280775c5555702646b7ce4ef7d5db78f1ce48bc162e5d0c7bc" from cache


/src: (workdir /src)


/src: (run (shell "sudo chown opam /src"))
2025-10-02 16:31.30 ---> using "e0356af4238671a0454b22b8ecc0eed962e0df3a67ab6c6f465f7818ddabe16e" 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"))
From https://github.com/ocaml/opam-repository
* branch                  master     -> FETCH_HEAD
bcac5d1731..647158776f  master     -> origin/master
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.
# To update the current shell environment, run: eval $(opam env)
2025-10-02 16:31.30 ---> using "bc8eb738eb41e15dd22c637393340203eb715710542b9f80d3d1593ba845a12b" from cache


/src: (copy (src mongoc.opam) (dst ./))
2025-10-02 16:31.31 ---> saved as "ae8e9ffd79ca22eb1641111aba14bdda9d95a1e3c293f6d43f570ec702b50943"


/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-02 16:31.39 ---> saved as "18df66eaed3be4ab463f18d373214930fd35c279eeb39fde28b01b9b225a16e2"


/src: (run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
2025-10-02 16:31.40 ---> saved as "12e1870b24c7af25582126e669335f24ddb68d8f3112b18d253179006b2114e8"


/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"))
+ /usr/bin/sudo "apt-get" "update"
- Hit:1 http://deb.debian.org/debian trixie InRelease
- Get:2 http://deb.debian.org/debian trixie-updates InRelease [47.3 kB]
- Get:3 http://deb.debian.org/debian-security trixie-security InRelease [43.4 kB]
- Get:4 http://deb.debian.org/debian-security trixie-security/main riscv64 Packages [44.1 kB]
- Fetched 135 kB in 0s (275 kB/s)
- Reading package lists...
- 


<><> 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:
libbson-dev libmongoc-dev pkg-config


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


+ /usr/bin/sudo "apt-get" "install" "-qq" "-yy" "libbson-dev" "libmongoc-dev" "pkg-config"
- (Reading database ... 
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 20731 files and directories currently installed.)
- Preparing to unpack .../openssl-provider-legacy_3.5.1-1+deb13u1_riscv64.deb ...
- Unpacking openssl-provider-legacy (3.5.1-1+deb13u1) over (3.5.1-1) ...
- Setting up openssl-provider-legacy (3.5.1-1+deb13u1) ...
- (Reading database ... 
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 20731 files and directories currently installed.)
- Preparing to unpack .../libssl3t64_3.5.1-1+deb13u1_riscv64.deb ...
- Unpacking libssl3t64:riscv64 (3.5.1-1+deb13u1) over (3.5.1-1) ...
- Setting up libssl3t64:riscv64 (3.5.1-1+deb13u1) ...
- Selecting previously unselected package libbson-1.0-0t64.
- (Reading database ... 
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 20731 files and directories currently installed.)
- Preparing to unpack .../00-libbson-1.0-0t64_1.30.4-1_riscv64.deb ...
- Unpacking libbson-1.0-0t64 (1.30.4-1) ...
- Selecting previously unselected package libbson-dev.
- Preparing to unpack .../01-libbson-dev_1.30.4-1_riscv64.deb ...
- Unpacking libbson-dev (1.30.4-1) ...
- Selecting previously unselected package libintelrdfpmath-dev:riscv64.
- Preparing to unpack .../02-libintelrdfpmath-dev_2.0u3-1_riscv64.deb ...
- Unpacking libintelrdfpmath-dev:riscv64 (2.0u3-1) ...
- Selecting previously unselected package libmongocrypt0:riscv64.
- Preparing to unpack .../03-libmongocrypt0_1.13.2-1_riscv64.deb ...
- Unpacking libmongocrypt0:riscv64 (1.13.2-1) ...
- Selecting previously unselected package libsnappy1v5:riscv64.
- Preparing to unpack .../04-libsnappy1v5_1.2.2-1_riscv64.deb ...
- Unpacking libsnappy1v5:riscv64 (1.2.2-1) ...
- Selecting previously unselected package libutf8proc3:riscv64.
- Preparing to unpack .../05-libutf8proc3_2.9.0-1+b2_riscv64.deb ...
- Unpacking libutf8proc3:riscv64 (2.9.0-1+b2) ...
- Selecting previously unselected package libmongoc-1.0-0t64.
- Preparing to unpack .../06-libmongoc-1.0-0t64_1.30.4-1_riscv64.deb ...
- Unpacking libmongoc-1.0-0t64 (1.30.4-1) ...
- Selecting previously unselected package libmongocrypt-dev:riscv64.
- Preparing to unpack .../07-libmongocrypt-dev_1.13.2-1_riscv64.deb ...
- Unpacking libmongocrypt-dev:riscv64 (1.13.2-1) ...
- Selecting previously unselected package libssl-dev:riscv64.
- Preparing to unpack .../08-libssl-dev_3.5.1-1+deb13u1_riscv64.deb ...
- Unpacking libssl-dev:riscv64 (3.5.1-1+deb13u1) ...
- Selecting previously unselected package zlib1g-dev:riscv64.
- Preparing to unpack .../09-zlib1g-dev_1%3a1.3.dfsg+really1.3.1-1+b1_riscv64.deb ...
- Unpacking zlib1g-dev:riscv64 (1:1.3.dfsg+really1.3.1-1+b1) ...
- Selecting previously unselected package libsnappy-dev:riscv64.
- Preparing to unpack .../10-libsnappy-dev_1.2.2-1_riscv64.deb ...
- Unpacking libsnappy-dev:riscv64 (1.2.2-1) ...
- Selecting previously unselected package libsasl2-dev.
- Preparing to unpack .../11-libsasl2-dev_2.1.28+dfsg1-9_riscv64.deb ...
- Unpacking libsasl2-dev (2.1.28+dfsg1-9) ...
- Selecting previously unselected package libutf8proc-dev:riscv64.
- Preparing to unpack .../12-libutf8proc-dev_2.9.0-1+b2_riscv64.deb ...
- Unpacking libutf8proc-dev:riscv64 (2.9.0-1+b2) ...
- Selecting previously unselected package libmongoc-dev.
- Preparing to unpack .../13-libmongoc-dev_1.30.4-1_riscv64.deb ...
- Unpacking libmongoc-dev (1.30.4-1) ...
- Selecting previously unselected package libpkgconf3:riscv64.
- Preparing to unpack .../14-libpkgconf3_1.8.1-4_riscv64.deb ...
- Unpacking libpkgconf3:riscv64 (1.8.1-4) ...
- Preparing to unpack .../15-openssl_3.5.1-1+deb13u1_riscv64.deb ...
- Unpacking openssl (3.5.1-1+deb13u1) over (3.5.1-1) ...
- Selecting previously unselected package pkgconf-bin.
- Preparing to unpack .../16-pkgconf-bin_1.8.1-4_riscv64.deb ...
- Unpacking pkgconf-bin (1.8.1-4) ...
- Selecting previously unselected package pkgconf:riscv64.
- Preparing to unpack .../17-pkgconf_1.8.1-4_riscv64.deb ...
- Unpacking pkgconf:riscv64 (1.8.1-4) ...
- Selecting previously unselected package pkg-config:riscv64.
- Preparing to unpack .../18-pkg-config_1.8.1-4_riscv64.deb ...
- Unpacking pkg-config:riscv64 (1.8.1-4) ...
- Setting up libutf8proc3:riscv64 (2.9.0-1+b2) ...
- Setting up libutf8proc-dev:riscv64 (2.9.0-1+b2) ...
- Setting up libsnappy1v5:riscv64 (1.2.2-1) ...
- Setting up libpkgconf3:riscv64 (1.8.1-4) ...
- Setting up libssl-dev:riscv64 (3.5.1-1+deb13u1) ...
- Setting up pkgconf-bin (1.8.1-4) ...
- Setting up zlib1g-dev:riscv64 (1:1.3.dfsg+really1.3.1-1+b1) ...
- Setting up libbson-1.0-0t64 (1.30.4-1) ...
- Setting up openssl (3.5.1-1+deb13u1) ...
- Setting up libintelrdfpmath-dev:riscv64 (2.0u3-1) ...
- Setting up libmongocrypt0:riscv64 (1.13.2-1) ...
- Setting up libbson-dev (1.30.4-1) ...
- Setting up libsnappy-dev:riscv64 (1.2.2-1) ...
- Setting up libmongocrypt-dev:riscv64 (1.13.2-1) ...
- Setting up pkgconf:riscv64 (1.8.1-4) ...
- Setting up libsasl2-dev (2.1.28+dfsg1-9) ...
- Setting up pkg-config:riscv64 (1.8.1-4) ...
- Setting up libmongoc-1.0-0t64 (1.30.4-1) ...
- Setting up libmongoc-dev (1.30.4-1) ...
- Processing triggers for libc-bin (2.41-12) ...
2025-10-02 16:32.56 ---> saved as "e01366d0d730dc1a304de50a36c5a06bda816d5f5527f3c0bab9a211975c4d04"


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


<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved bigarray-compat.1.1.0  (cached)
-> retrieved cmdliner.2.0.0  (cached)
-> retrieved csexp.1.5.2  (cached)
-> installed conf-pkg-config.4
-> retrieved ctypes.0.23.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 stdlib-shims.0.3.0
-> installed csexp.1.5.2
-> installed bigarray-compat.1.1.0
-> installed integers.0.7.0
-> installed dune-configurator.3.20.2
-> installed ctypes.0.23.0
Done.
# To update the current shell environment, run: eval $(opam env)
2025-10-02 16:38.47 ---> saved as "ef02e6d6dcae7780a3d756084b62ebccda8a48ac5bb0c53a54df972744e8cd01"


/src: (copy (src .) (dst /src))
2025-10-02 16:38.48 ---> saved as "513f7c325f88e0cd50d24f8dfcc7f54b5b21ec56e006de9b5fb27fa6c01598a5"


/src: (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
2025-10-02 16:39.05 ---> saved as "256ca22abfaceb84261d6782865854849e19f53f208a950ce6d2bfdffb72d30c"
Job succeeded
2025-10-02 16:39.05: Job succeeded