Organisationstaridesmongoc-ocaml042080 (main)fedora-41-4.14_opam-2.4

fedora-41-4.14_opam-2.4

Link Copied
Code Copied

Logs

2025-09-29 11:33.29: New job: test tarides/mongoc-ocaml https://github.com/tarides/mongoc-ocaml.git#refs/heads/main (042080ab77ab888069120fa0910b9b4c87e6e274) (linux-x86_64:fedora-41-4.14_opam-2.4)
Base: ocaml/opam:fedora-41-ocaml-4.14@sha256:610d0fbbfb05928fe8554712c5f1eeb82d953698ec0cb7f1c99683f8a22b0f54
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:fedora-41-ocaml-4.14@sha256:610d0fbbfb05928fe8554712c5f1eeb82d953698ec0cb7f1c99683f8a22b0f54
# fedora-41-4.14_opam-2.4
USER 1000:1000
ENV CLICOLOR_FORCE="1"
ENV OPAMCOLOR="always"
WORKDIR /src
RUN sudo dnf install -y findutils
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-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.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.2 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-09-29 11:33.29: Using cache hint "tarides/mongoc-ocaml-ocaml/opam:fedora-41-ocaml-4.14@sha256:610d0fbbfb05928fe8554712c5f1eeb82d953698ec0cb7f1c99683f8a22b0f54-fedora-41-4.14_opam-2.4-f22de459b7c810908da724c62da4805a"
2025-09-29 11:33.29: Using OBuilder spec:
((from ocaml/opam:fedora-41-ocaml-4.14@sha256:610d0fbbfb05928fe8554712c5f1eeb82d953698ec0cb7f1c99683f8a22b0f54)
(comment fedora-41-4.14_opam-2.4)
(user (uid 1000) (gid 1000))
(env CLICOLOR_FORCE 1)
(env OPAMCOLOR always)
(workdir /src)
(run (network host)
(shell "sudo dnf install -y findutils"))
(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-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.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.2 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-09-29 11:33.29: Waiting for resource in pool OCluster
2025-09-29 12:03.47: Waiting for worker…
2025-09-29 12:06.29: Got resource from pool OCluster
Building on odawa.caelum.ci.dev
All commits already cached
HEAD is now at 042080a Merge pull request #2 from tarides/ci


(from ocaml/opam:fedora-41-ocaml-4.14@sha256:610d0fbbfb05928fe8554712c5f1eeb82d953698ec0cb7f1c99683f8a22b0f54)
2025-09-29 12:06.30 ---> using "e28cd5a31c34e8fd55ab4ef81e0b0e9f7eec4abd3dc427817088e36fc4d31833" from cache


/: (comment fedora-41-4.14_opam-2.4)


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


/: (env CLICOLOR_FORCE 1)


/: (env OPAMCOLOR always)


/: (workdir /src)


/src: (run (network host)
(shell "sudo dnf install -y findutils"))
Updating and loading repositories:
Fedora 41 - x86_64 - Updates           100% |  24.5 KiB/s |   7.2 KiB |  00m00s
Fedora 41 - x86_64                     100% | 124.6 KiB/s |  27.2 KiB |  00m00s
Fedora 41 openh264 (From Cisco) - x86_ 100% |   9.3 KiB/s | 986.0   B |  00m00s
Repositories loaded.
Nothing to do.
Package "findutils-1:4.10.0-4.fc41.x86_64" is already installed.


2025-09-29 12:06.30 ---> using "d4b181d24a69951466ac40959db85a4eac9fcaa848747ed95643cf00330e3c11" from cache


/src: (run (shell "sudo ln -f /usr/bin/opam-2.4 /usr/bin/opam"))
2025-09-29 12:06.30 ---> using "2067429d6f7d4b89cd12d0692495452f7a45dce4723200b40cc824ccbe94cd5b" 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-09-29 12:06.30 ---> using "4bab63a0990a69c47c926403f6b019b7eb481bd480a92e262f1d9a49fbf5806e" from cache


/src: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 6.8.0-60-generic
The OCaml toplevel, version 4.14.2
2.4.1
2025-09-29 12:06.30 ---> using "f70684fd970ba2dc39db2bce14bc57b79fe87436d701a180e36f29d9c9ae4680" from cache


/src: (workdir /src)


/src: (run (shell "sudo chown opam /src"))
2025-09-29 12:06.30 ---> using "defb1bfd4df8470a0db43c7b0651e1d5378e532fb44432ccc90757447c7b181e" 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..5ea7156510  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


Everything as up-to-date as possible (run with --verbose to show unavailable upgrades).
However, you may "opam upgrade" these packages explicitly at these versions (e.g. "opam upgrade ocaml.5.3.0"), 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-09-29 12:06.30 ---> using "c4a7aed76cb780fa23e754b7ed41af83ba40be8e14d363ca8497649e53cd3589" from cache


/src: (copy (src mongoc.opam) (dst ./))
2025-09-29 12:06.30 ---> saved as "e35768bf903382441a2ec109d825c85e7ddd9e4de1bd1621dc694c699451b7ec"


/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-09-29 12:06.30 ---> saved as "7c1d66dc334b9e11aa6644f29cede5f431cfdfa6787d636956b03cd875814347"


/src: (run (network host)
(shell "echo '(lang dune 3.0)' > './dune-project'"))
2025-09-29 12:06.31 ---> saved as "fb36c6b90311b666b779de2497cda890427d63c4e7851e6758fd4d8bb194d865"


/src: (env DEPS "base-bigarray.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.4.14.2 ocaml-base-compiler.4.14.2 ocaml-config.2 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 "yum" "makecache"
- Updating and loading repositories:
- Repositories loaded.
- Metadata cache created.


<><> 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 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 system packages will first need to be installed:
mongo-c-driver-devel


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


+ /usr/bin/sudo "yum" "install" "-y" "mongo-c-driver-devel"
- Updating and loading repositories:
- Repositories loaded.
- Package               Arch   Version       Repository      Size
- Installing:
-  mongo-c-driver-devel x86_64 1.30.5-1.fc41 updates      1.2 MiB
- Installing dependencies:
-  cmake-filesystem     x86_64 3.30.8-1.fc41 updates      0.0   B
-  libbson              x86_64 1.30.5-1.fc41 updates    265.0 KiB
-  libbson-devel        x86_64 1.30.5-1.fc41 updates    491.8 KiB
-  libmongocrypt        x86_64 1.15.2-1.fc41 updates      3.1 MiB
-  libmongocrypt-devel  x86_64 1.15.2-1.fc41 updates      1.2 MiB
-  libzstd-devel        x86_64 1.5.7-1.fc41  updates    208.0 KiB
-  mongo-c-driver       x86_64 1.30.5-1.fc41 updates     15.7 KiB
-  mongo-c-driver-libs  x86_64 1.30.5-1.fc41 updates      1.1 MiB
-  snappy               x86_64 1.2.1-2.fc41  fedora      71.1 KiB
-  utf8proc             x86_64 2.7.0-8.fc41  fedora     362.4 KiB
- 
- Transaction Summary:
-  Installing:        11 packages
- 
- Total size of inbound packages is 4 MiB. Need to download 4 MiB.
- After this operation, 8 MiB extra will be used (install 8 MiB, remove 0 B).
- [ 1/11] mongo-c-driver-0:1.30.5-1.fc41. 100% |  49.9 KiB/s |  15.0 KiB |  00m00s
- [ 2/11] snappy-0:1.2.1-2.fc41.x86_64    100% | 694.1 KiB/s |  39.6 KiB |  00m00s
- [ 3/11] utf8proc-0:2.7.0-8.fc41.x86_64  100% |   2.1 MiB/s |  80.5 KiB |  00m00s
- [ 4/11] libbson-0:1.30.5-1.fc41.x86_64  100% | 450.2 KiB/s | 104.0 KiB |  00m00s
- [ 5/11] mongo-c-driver-libs-0:1.30.5-1. 100% | 615.9 KiB/s | 392.9 KiB |  00m01s
- [ 6/11] mongo-c-driver-devel-0:1.30.5-1 100% |   1.7 MiB/s |   1.1 MiB |  00m01s
- [ 7/11] cmake-filesystem-0:3.30.8-1.fc4 100% |   1.1 MiB/s |  16.8 KiB |  00m00s
- [ 8/11] libmongocrypt-devel-0:1.15.2-1. 100% |   9.6 MiB/s | 207.1 KiB |  00m00s
- [ 9/11] libbson-devel-0:1.30.5-1.fc41.x 100% |   7.7 MiB/s | 339.1 KiB |  00m00s
- [10/11] libzstd-devel-0:1.5.7-1.fc41.x8 100% |   1.4 MiB/s |  53.1 KiB |  00m00s
- [11/11] libmongocrypt-0:1.15.2-1.fc41.x 100% |  14.4 MiB/s |   1.4 MiB |  00m00s
- --------------------------------------------------------------------------------
- [11/11] Total                           100% |   3.9 MiB/s |   3.7 MiB |  00m01s
- Running transaction
- [ 1/13] Verify package files            100% | 846.0   B/s |  11.0   B |  00m00s
- [ 2/13] Prepare transaction             100% | 234.0   B/s |  11.0   B |  00m00s
- [ 3/13] Installing cmake-filesystem-0:3 100% |   1.8 MiB/s |   7.3 KiB |  00m00s
- [ 4/13] Installing libbson-0:1.30.5-1.f 100% | 130.0 MiB/s | 266.3 KiB |  00m00s
- [ 5/13] Installing libmongocrypt-0:1.15 100% | 342.5 MiB/s |   3.1 MiB |  00m00s
- [ 6/13] Installing libbson-devel-0:1.30 100% |  87.9 MiB/s | 540.1 KiB |  00m00s
- [ 7/13] Installing libmongocrypt-devel- 100% | 251.9 MiB/s |   1.3 MiB |  00m00s
- [ 8/13] Installing libzstd-devel-0:1.5. 100% | 203.9 MiB/s | 208.8 KiB |  00m00s
- [ 9/13] Installing utf8proc-0:2.7.0-8.f 100% | 177.6 MiB/s | 363.8 KiB |  00m00s
- [10/13] Installing snappy-0:1.2.1-2.fc4 100% |  71.1 MiB/s |  72.8 KiB |  00m00s
- [11/13] Installing mongo-c-driver-libs- 100% | 275.2 MiB/s |   1.1 MiB |  00m00s
- [12/13] Installing mongo-c-driver-0:1.3 100% |   5.3 MiB/s |  16.4 KiB |  00m00s
- [13/13] Installing mongo-c-driver-devel 100% |  27.1 MiB/s |   1.4 MiB |  00m00s
- Complete!
+ /usr/bin/rpm "-q" "--whatprovides" "mongo-c-driver-devel"
- mongo-c-driver-devel-1.30.5-1.fc41.x86_64
2025-09-29 12:06.38 ---> saved as "0bb962625e9d5ac4e82390372c34666bf7878feb470198c87d6cd27fdebc0aa9"


/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 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 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-09-29 12:07.10 ---> saved as "8fb7655d45353ebca458a1c1c2dab0cb38e42b1fd99168b20a946cb1fc042936"


/src: (copy (src .) (dst /src))
2025-09-29 12:07.10 ---> saved as "c273ef6e4806aeb2a4b47b206e54ce599fe20552680cee247c658ae0cc2fdb6b"


/src: (run (shell "opam exec -- dune build @install @check @runtest && rm -rf _build"))
2025-09-29 12:07.12 ---> saved as "1f910990394338c1f7401717fe69e824bbdfbf139e109595b7817bf46ee020a1"
Job succeeded
2025-09-29 12:07.12: Job succeeded