Build:
  1. 0
2025-12-11 02:48.39: New job: test lmdb.0.1 with dune.3.21.0~alpha3, using opam dev
                              from https://github.com/ocaml/opam-repository.git#refs/pull/29070/head (a95df9014bc79103fde668cf2adbe6680fd2f9cf)
                              on debian-13-ocaml-4.14/amd64

To reproduce locally:

cd $(mktemp -d)
git clone --recursive "https://github.com/ocaml/opam-repository.git" && cd "opam-repository" && git fetch origin "refs/pull/29070/head" && git reset --hard a95df901
git fetch origin master
git merge --no-edit 810e1f14b7fa6411c66a3549f4c2aff47c52fc36
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-13-ocaml-4.14@sha256:277168101f7d4ebc452a75f825628d280c76dd0be7d8bcb58c24a5e50fe3d10d
USER 1000:1000
WORKDIR /home/opam
RUN sudo ln -f /usr/bin/opam-dev /usr/bin/opam
RUN opam init --reinit -ni
RUN opam option solver=builtin-0install && opam config report
ENV OPAMDOWNLOADJOBS="1"
ENV OPAMERRLOGLEN="0"
ENV OPAMPRECISETRACKING="1"
ENV CI="true"
ENV OPAM_REPO_CI="true"
RUN rm -rf opam-repository/
COPY --chown=1000:1000 . opam-repository/
RUN opam repository set-url --strict default opam-repository/
RUN opam update --depexts || true
RUN opam pin add -k version -yn dune.3.21.0~alpha3 3.21.0~alpha3
RUN opam reinstall dune.3.21.0~alpha3; \
    res=$?; \
    test "$res" != 31 && exit "$res"; \
    export OPAMCLI=2.0; \
    build_dir=$(opam var prefix)/.opam-switch/build; \
    failed=$(ls "$build_dir"); \
    partial_fails=""; \
    for pkg in $failed; do \
    if opam show -f x-ci-accept-failures: "$pkg" | grep -qF "\"debian-13\""; then \
    echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
    fi; \
    test "$pkg" != 'dune.3.21.0~alpha3' && partial_fails="$partial_fails $pkg"; \
    done; \
    test "${partial_fails}" != "" && echo "opam-repo-ci detected dependencies failing: ${partial_fails}"; \
    exit 1
RUN opam reinstall lmdb.0.1; \
    res=$?; \
    test "$res" != 31 && exit "$res"; \
    export OPAMCLI=2.0; \
    build_dir=$(opam var prefix)/.opam-switch/build; \
    failed=$(ls "$build_dir"); \
    partial_fails=""; \
    for pkg in $failed; do \
    if opam show -f x-ci-accept-failures: "$pkg" | grep -qF "\"debian-13\""; then \
    echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
    fi; \
    test "$pkg" != 'lmdb.0.1' && partial_fails="$partial_fails $pkg"; \
    done; \
    test "${partial_fails}" != "" && echo "opam-repo-ci detected dependencies failing: ${partial_fails}"; \
    exit 1
RUN (opam reinstall --with-test lmdb.0.1) || true
RUN opam reinstall --with-test --verbose lmdb.0.1; \
    res=$?; \
    test "$res" != 31 && exit "$res"; \
    export OPAMCLI=2.0; \
    build_dir=$(opam var prefix)/.opam-switch/build; \
    failed=$(ls "$build_dir"); \
    partial_fails=""; \
    for pkg in $failed; do \
    if opam show -f x-ci-accept-failures: "$pkg" | grep -qF "\"debian-13\""; then \
    echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
    fi; \
    test "$pkg" != 'lmdb.0.1' && partial_fails="$partial_fails $pkg"; \
    done; \
    test "${partial_fails}" != "" && echo "opam-repo-ci detected dependencies failing: ${partial_fails}"; \
    exit 1

END-OF-DOCKERFILE
docker build -f ../Dockerfile .

2025-12-11 02:48.39: Using cache hint "ocaml/opam:debian-13-ocaml-4.14@sha256:277168101f7d4ebc452a75f825628d280c76dd0be7d8bcb58c24a5e50fe3d10d-dune.3.21.0~alpha3-lmdb.0.1-a95df9014bc79103fde668cf2adbe6680fd2f9cf"
2025-12-11 02:48.39: Using OBuilder spec:
((from ocaml/opam:debian-13-ocaml-4.14@sha256:277168101f7d4ebc452a75f825628d280c76dd0be7d8bcb58c24a5e50fe3d10d)
 (user (uid 1000) (gid 1000))
 (workdir /home/opam)
 (run (shell "sudo ln -f /usr/bin/opam-dev /usr/bin/opam"))
 (run (network host)
      (shell "opam init --reinit --config .opamrc-sandbox -ni"))
 (run (shell "opam option solver=builtin-0install && opam config report"))
 (env OPAMDOWNLOADJOBS 1)
 (env OPAMERRLOGLEN 0)
 (env OPAMPRECISETRACKING 1)
 (env CI true)
 (env OPAM_REPO_CI true)
 (run (shell "rm -rf opam-repository/"))
 (copy (src .) (dst opam-repository/))
 (run (shell "opam repository set-url --strict default opam-repository/"))
 (run (network host)
      (shell "opam update --depexts || true"))
 (run (shell "opam pin add -k version -yn dune.3.21.0~alpha3 3.21.0~alpha3"))
 (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
      (network host)
      (shell  "opam reinstall dune.3.21.0~alpha3;\
             \n        res=$?;\
             \n        test \"$res\" != 31 && exit \"$res\";\
             \n        export OPAMCLI=2.0;\
             \n        build_dir=$(opam var prefix)/.opam-switch/build;\
             \n        failed=$(ls \"$build_dir\");\
             \n        partial_fails=\"\";\
             \n        for pkg in $failed; do\
             \n          if opam show -f x-ci-accept-failures: \"$pkg\" | grep -qF \"\\\"debian-13\\\"\"; then\
             \n            echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
             \n          fi;\
             \n          test \"$pkg\" != 'dune.3.21.0~alpha3' && partial_fails=\"$partial_fails $pkg\";\
             \n        done;\
             \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
             \n        exit 1"))
 (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
      (network host)
      (shell  "opam reinstall lmdb.0.1;\
             \n        res=$?;\
             \n        test \"$res\" != 31 && exit \"$res\";\
             \n        export OPAMCLI=2.0;\
             \n        build_dir=$(opam var prefix)/.opam-switch/build;\
             \n        failed=$(ls \"$build_dir\");\
             \n        partial_fails=\"\";\
             \n        for pkg in $failed; do\
             \n          if opam show -f x-ci-accept-failures: \"$pkg\" | grep -qF \"\\\"debian-13\\\"\"; then\
             \n            echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
             \n          fi;\
             \n          test \"$pkg\" != 'lmdb.0.1' && partial_fails=\"$partial_fails $pkg\";\
             \n        done;\
             \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
             \n        exit 1"))
 (run (network host)
      (shell "(opam reinstall --with-test lmdb.0.1) || true"))
 (run (shell  "opam reinstall --with-test --verbose lmdb.0.1;\
             \n        res=$?;\
             \n        test \"$res\" != 31 && exit \"$res\";\
             \n        export OPAMCLI=2.0;\
             \n        build_dir=$(opam var prefix)/.opam-switch/build;\
             \n        failed=$(ls \"$build_dir\");\
             \n        partial_fails=\"\";\
             \n        for pkg in $failed; do\
             \n          if opam show -f x-ci-accept-failures: \"$pkg\" | grep -qF \"\\\"debian-13\\\"\"; then\
             \n            echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
             \n          fi;\
             \n          test \"$pkg\" != 'lmdb.0.1' && partial_fails=\"$partial_fails $pkg\";\
             \n        done;\
             \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
             \n        exit 1"))
)

2025-12-11 02:48.39: Waiting for resource in pool OCluster
2025-12-11 17:05.22: Waiting for worker…
2025-12-11 17:07.57: Got resource from pool OCluster
Building on asteria.caelum.ci.dev
All commits already cached
HEAD is now at 810e1f14b7 Merge pull request #29066 from gares/release-elpi-v3.4.4
Updating 810e1f14b7..a95df9014b
Fast-forward
 .../chrome-trace/chrome-trace.3.21.0~alpha3/opam   | 41 ++++++++++++
 .../dune-action-plugin.3.21.0~alpha3/opam          | 54 ++++++++++++++++
 .../dune-build-info.3.21.0~alpha3/opam             | 47 ++++++++++++++
 .../dune-configurator.3.21.0~alpha3/opam           | 51 +++++++++++++++
 packages/dune-glob/dune-glob.3.21.0~alpha3/opam    | 44 +++++++++++++
 .../dune-private-libs.3.21.0~alpha3/opam           | 52 +++++++++++++++
 .../dune-rpc-lwt/dune-rpc-lwt.3.21.0~alpha3/opam   | 43 +++++++++++++
 packages/dune-rpc/dune-rpc.3.21.0~alpha3/opam      | 46 +++++++++++++
 packages/dune-site/dune-site.3.21.0~alpha3/opam    | 39 +++++++++++
 packages/dune/dune.3.21.0~alpha3/opam              | 75 ++++++++++++++++++++++
 packages/dyn/dyn.3.21.0~alpha3/opam                | 42 ++++++++++++
 packages/fs-io/fs-io.3.21.0~alpha3/opam            | 40 ++++++++++++
 packages/ocamlc-loc/ocamlc-loc.3.21.0~alpha3/opam  | 45 +++++++++++++
 packages/ordering/ordering.3.21.0~alpha3/opam      | 40 ++++++++++++
 packages/stdune/stdune.3.21.0~alpha3/opam          | 48 ++++++++++++++
 .../top-closure/top-closure.3.21.0~alpha3/opam     | 39 +++++++++++
 packages/xdg/xdg.3.21.0~alpha3/opam                | 41 ++++++++++++
 17 files changed, 787 insertions(+)
 create mode 100644 packages/chrome-trace/chrome-trace.3.21.0~alpha3/opam
 create mode 100644 packages/dune-action-plugin/dune-action-plugin.3.21.0~alpha3/opam
 create mode 100644 packages/dune-build-info/dune-build-info.3.21.0~alpha3/opam
 create mode 100644 packages/dune-configurator/dune-configurator.3.21.0~alpha3/opam
 create mode 100644 packages/dune-glob/dune-glob.3.21.0~alpha3/opam
 create mode 100644 packages/dune-private-libs/dune-private-libs.3.21.0~alpha3/opam
 create mode 100644 packages/dune-rpc-lwt/dune-rpc-lwt.3.21.0~alpha3/opam
 create mode 100644 packages/dune-rpc/dune-rpc.3.21.0~alpha3/opam
 create mode 100644 packages/dune-site/dune-site.3.21.0~alpha3/opam
 create mode 100644 packages/dune/dune.3.21.0~alpha3/opam
 create mode 100644 packages/dyn/dyn.3.21.0~alpha3/opam
 create mode 100644 packages/fs-io/fs-io.3.21.0~alpha3/opam
 create mode 100644 packages/ocamlc-loc/ocamlc-loc.3.21.0~alpha3/opam
 create mode 100644 packages/ordering/ordering.3.21.0~alpha3/opam
 create mode 100644 packages/stdune/stdune.3.21.0~alpha3/opam
 create mode 100644 packages/top-closure/top-closure.3.21.0~alpha3/opam
 create mode 100644 packages/xdg/xdg.3.21.0~alpha3/opam

(from ocaml/opam:debian-13-ocaml-4.14@sha256:277168101f7d4ebc452a75f825628d280c76dd0be7d8bcb58c24a5e50fe3d10d)
Unable to find image 'ocaml/opam:debian-13-ocaml-4.14@sha256:277168101f7d4ebc452a75f825628d280c76dd0be7d8bcb58c24a5e50fe3d10d' locally
docker.io/ocaml/opam@sha256:277168101f7d4ebc452a75f825628d280c76dd0be7d8bcb58c24a5e50fe3d10d: Pulling from ocaml/opam
53c88f1dfeb7: Pulling fs layer
268d44a12236: Pulling fs layer
f2f36c7402e3: Pulling fs layer
9eb2778f421b: Pulling fs layer
3ca35f1ec5ed: Pulling fs layer
b08866568793: Pulling fs layer
fb0d17ce08c9: Pulling fs layer
c8db2c4fd670: Pulling fs layer
5fa8cfe8f9cb: Pulling fs layer
e7f5f7180a56: Pulling fs layer
9f66154be4d4: Pulling fs layer
f6674de6e5d4: Pulling fs layer
80eb63632584: Pulling fs layer
b08866568793: Waiting
fb0d17ce08c9: Waiting
c8db2c4fd670: Waiting
66f55aa69346: Pulling fs layer
d121bc397a1a: Pulling fs layer
0eff100405dd: Pulling fs layer
7d67d217736c: Pulling fs layer
5fa8cfe8f9cb: Waiting
9f66154be4d4: Waiting
ac7107dc3d00: Pulling fs layer
f01a17be3cef: Pulling fs layer
e7f5f7180a56: Waiting
9eb2778f421b: Waiting
f6674de6e5d4: Waiting
30a38827b55c: Pulling fs layer
3ca35f1ec5ed: Waiting
80eb63632584: Waiting
085733096c8e: Pulling fs layer
7d67d217736c: Waiting
ac7107dc3d00: Waiting
0eff100405dd: Waiting
f01a17be3cef: Waiting
86db5d63aa02: Pulling fs layer
30a38827b55c: Waiting
085733096c8e: Waiting
d121bc397a1a: Waiting
4f4fb700ef54: Pulling fs layer
86db5d63aa02: Waiting
034a62edceac: Pulling fs layer
808c1ae36c95: Pulling fs layer
4f4fb700ef54: Waiting
034a62edceac: Waiting
eba808bca592: Pulling fs layer
68b2bb6a330b: Pulling fs layer
808c1ae36c95: Waiting
9fee74853ab2: Pulling fs layer
68b2bb6a330b: Waiting
eba808bca592: Waiting
00d667d2b4f9: Pulling fs layer
9fee74853ab2: Waiting
00d667d2b4f9: Waiting
cde2288b7be2: Pulling fs layer
6e6039e741bd: Pulling fs layer
cde2288b7be2: Waiting
08dc627d7129: Pulling fs layer
6e6039e741bd: Waiting
fbbf04bee28a: Pulling fs layer
cf124fccb693: Pulling fs layer
08dc627d7129: Waiting
16001ee30892: Pulling fs layer
fbbf04bee28a: Waiting
a379ebcf721f: Pulling fs layer
16001ee30892: Waiting
c05951b4b1dd: Pulling fs layer
a379ebcf721f: Waiting
1238fc26ec9b: Pulling fs layer
33d5b2862e74: Pulling fs layer
c05951b4b1dd: Waiting
1238fc26ec9b: Waiting
6a5c5f5e740e: Pulling fs layer
f97083767ae6: Pulling fs layer
33d5b2862e74: Waiting
6a5c5f5e740e: Waiting
5fbf3379e3de: Pulling fs layer
fa7fd9ad7954: Pulling fs layer
c0b4ac729b41: Pulling fs layer
40482318cf81: Pulling fs layer
fa7fd9ad7954: Waiting
c0b4ac729b41: Waiting
40482318cf81: Waiting
f2f36c7402e3: Verifying Checksum
f2f36c7402e3: Download complete
268d44a12236: Download complete
3ca35f1ec5ed: Verifying Checksum
3ca35f1ec5ed: Download complete
9eb2778f421b: Verifying Checksum
9eb2778f421b: Download complete
53c88f1dfeb7: Verifying Checksum
53c88f1dfeb7: Download complete
fb0d17ce08c9: Download complete
5fa8cfe8f9cb: Verifying Checksum
5fa8cfe8f9cb: Download complete
c8db2c4fd670: Verifying Checksum
c8db2c4fd670: Download complete
e7f5f7180a56: Verifying Checksum
e7f5f7180a56: Download complete
9f66154be4d4: Verifying Checksum
9f66154be4d4: Download complete
f6674de6e5d4: Verifying Checksum
f6674de6e5d4: Download complete
80eb63632584: Download complete
d121bc397a1a: Verifying Checksum
d121bc397a1a: Download complete
66f55aa69346: Verifying Checksum
66f55aa69346: Download complete
7d67d217736c: Download complete
0eff100405dd: Download complete
f01a17be3cef: Verifying Checksum
f01a17be3cef: Download complete
ac7107dc3d00: Verifying Checksum
ac7107dc3d00: Download complete
53c88f1dfeb7: Pull complete
268d44a12236: Pull complete
f2f36c7402e3: Pull complete
b08866568793: Verifying Checksum
b08866568793: Download complete
085733096c8e: Download complete
30a38827b55c: Download complete
86db5d63aa02: Verifying Checksum
86db5d63aa02: Download complete
9eb2778f421b: Pull complete
3ca35f1ec5ed: Pull complete
034a62edceac: Verifying Checksum
034a62edceac: Download complete
4f4fb700ef54: Verifying Checksum
4f4fb700ef54: Download complete
808c1ae36c95: Download complete
68b2bb6a330b: Verifying Checksum
68b2bb6a330b: Download complete
eba808bca592: Verifying Checksum
eba808bca592: Download complete
9fee74853ab2: Download complete
00d667d2b4f9: Verifying Checksum
00d667d2b4f9: Download complete
cde2288b7be2: Download complete
6e6039e741bd: Download complete
fbbf04bee28a: Verifying Checksum
fbbf04bee28a: Download complete
08dc627d7129: Verifying Checksum
08dc627d7129: Download complete
cf124fccb693: Download complete
16001ee30892: Download complete
c05951b4b1dd: Download complete
33d5b2862e74: Verifying Checksum
33d5b2862e74: Download complete
6a5c5f5e740e: Download complete
f97083767ae6: Download complete
5fbf3379e3de: Verifying Checksum
5fbf3379e3de: Download complete
fa7fd9ad7954: Verifying Checksum
fa7fd9ad7954: Download complete
b08866568793: Pull complete
c0b4ac729b41: Download complete
fb0d17ce08c9: Pull complete
c8db2c4fd670: Pull complete
40482318cf81: Download complete
5fa8cfe8f9cb: Pull complete
e7f5f7180a56: Pull complete
9f66154be4d4: Pull complete
f6674de6e5d4: Pull complete
80eb63632584: Pull complete
1238fc26ec9b: Verifying Checksum
1238fc26ec9b: Download complete
66f55aa69346: Pull complete
d121bc397a1a: Pull complete
0eff100405dd: Pull complete
7d67d217736c: Pull complete
ac7107dc3d00: Pull complete
f01a17be3cef: Pull complete
30a38827b55c: Pull complete
085733096c8e: Pull complete
86db5d63aa02: Pull complete
4f4fb700ef54: Pull complete
034a62edceac: Pull complete
808c1ae36c95: Pull complete
eba808bca592: Pull complete
68b2bb6a330b: Pull complete
9fee74853ab2: Pull complete
00d667d2b4f9: Pull complete
cde2288b7be2: Pull complete
6e6039e741bd: Pull complete
08dc627d7129: Pull complete
fbbf04bee28a: Pull complete
cf124fccb693: Pull complete
16001ee30892: Pull complete
a379ebcf721f: Verifying Checksum
a379ebcf721f: Download complete
a379ebcf721f: Pull complete
c05951b4b1dd: Pull complete
1238fc26ec9b: Pull complete
33d5b2862e74: Pull complete
6a5c5f5e740e: Pull complete
f97083767ae6: Pull complete
5fbf3379e3de: Pull complete
fa7fd9ad7954: Pull complete
c0b4ac729b41: Pull complete
40482318cf81: Pull complete
Digest: sha256:277168101f7d4ebc452a75f825628d280c76dd0be7d8bcb58c24a5e50fe3d10d
Status: Downloaded newer image for ocaml/opam@sha256:277168101f7d4ebc452a75f825628d280c76dd0be7d8bcb58c24a5e50fe3d10d
2025-12-11 17:08.21 ---> using "d81b3b20b9dbe813f4813251eb45f7f230344599357169e34b0d2f872bf65895" from cache

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

/: (workdir /home/opam)

/home/opam: (run (shell "sudo ln -f /usr/bin/opam-dev /usr/bin/opam"))
2025-12-11 17:08.21 ---> using "4c0c738834a7be54719ab9b07c911eba51e45ad4298c42597f7d3da72b1c15d4" from cache

/home/opam: (run (network host)
                 (shell "opam init --reinit --config .opamrc-sandbox -ni"))
Configuring from /home/opam/.opamrc-sandbox, then /home/opam/.opamrc, and finally 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
[NOTE] The 'jobs' option was reset, its value was 71 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=71 --global
Format upgrade done.

<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] Initialised
2025-12-11 17:08.21 ---> using "8bb6d27bb5f7ebe9771219e3ecd730184d5e10ab877134c11c12ee3b1a6d3b96" from cache

/home/opam: (run (shell "opam option solver=builtin-0install && opam config report"))
Set to 'builtin-0install' the field solver in global configuration
# opam config report
# opam-version         2.5.0
# self-upgrade         no
# system               arch=x86_64 os=linux os-distribution=debian os-version=13
# solver               builtin-0install
# install-criteria     -changed,-count[avoid-version,solution]
# upgrade-criteria     -count[avoid-version,solution]
# jobs                 255
# repositories         1 (version-controlled)
# pinned               1 (version)
# current-switch       4.14
# invariant            ["ocaml-base-compiler" {= "4.14.2"}]
# compiler-packages    ocaml-base-compiler.4.14.2, ocaml-options-vanilla.1
# ocaml:native         true
# ocaml:native-tools   true
# ocaml:native-dynlink true
# ocaml:stubsdir       /home/opam/.opam/4.14/lib/ocaml/stublibs:/home/opam/.opam/4.14/lib/ocaml
# ocaml:preinstalled   false
# ocaml:compiler       4.14.2
2025-12-11 17:08.21 ---> using "35019bd57e8933485bd938828fe288c3674216a4757e13b1dac8ce6b21035ac2" from cache

/home/opam: (env OPAMDOWNLOADJOBS 1)

/home/opam: (env OPAMERRLOGLEN 0)

/home/opam: (env OPAMPRECISETRACKING 1)

/home/opam: (env CI true)

/home/opam: (env OPAM_REPO_CI true)

/home/opam: (run (shell "rm -rf opam-repository/"))
2025-12-11 17:08.21 ---> using "e09ab9992a764acab15da9cff99e3d4d978b8a77f33714cc5d19d16d3539eb49" from cache

/home/opam: (copy (src .) (dst opam-repository/))
2025-12-11 17:08.22 ---> using "8f784899c04798d44128ca0480da55c2b9cf6d274974843ef0505a70d687f2db" from cache

/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2025-12-11 17:08.22 ---> using "2b089ce953d9701360553588b495e1bed1b68a44304bde1817c2d61d9d0cfb13" from cache

/home/opam: (run (network host)
                 (shell "opam update --depexts || true"))
+ /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 amd64 Packages [82.1 kB]
- Fetched 173 kB in 0s (1147 kB/s)
- Reading package lists...
2025-12-11 17:08.22 ---> using "66aa292a4a8c262cd0de67bf9051bc0bb23ef81009eeb9a242c201bbf02a4d3c" from cache

/home/opam: (run (shell "opam pin add -k version -yn dune.3.21.0~alpha3 3.21.0~alpha3"))
dune is now pinned to version 3.21.0~alpha3
2025-12-11 17:08.22 ---> using "9570d75aed3642c1ef0c12e0ad97a3baf2325ffdc6e45d8a3264e824ac334df7" from cache

/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
                 (network host)
                 (shell  "opam reinstall dune.3.21.0~alpha3;\
                        \n        res=$?;\
                        \n        test \"$res\" != 31 && exit \"$res\";\
                        \n        export OPAMCLI=2.0;\
                        \n        build_dir=$(opam var prefix)/.opam-switch/build;\
                        \n        failed=$(ls \"$build_dir\");\
                        \n        partial_fails=\"\";\
                        \n        for pkg in $failed; do\
                        \n          if opam show -f x-ci-accept-failures: \"$pkg\" | grep -qF \"\\\"debian-13\\\"\"; then\
                        \n            echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
                        \n          fi;\
                        \n          test \"$pkg\" != 'dune.3.21.0~alpha3' && partial_fails=\"$partial_fails $pkg\";\
                        \n        done;\
                        \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
                        \n        exit 1"))
dune.3.21.0~alpha3 is not installed. Install it? [Y/n] y
The following actions will be performed:
=== install 1 package
  - install dune 3.21.0~alpha3 (pinned)

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved dune.3.21.0~alpha3  (cached)
-> installed dune.3.21.0~alpha3
Done.
# To update the current shell environment, run: eval $(opam env)
2025-12-11 17:08.22 ---> using "48cb7e11edf550584d15e9c5e0a730dadf8a3f762cd720f2410f845b4ecb32e4" from cache

/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
                 (network host)
                 (shell  "opam reinstall lmdb.0.1;\
                        \n        res=$?;\
                        \n        test \"$res\" != 31 && exit \"$res\";\
                        \n        export OPAMCLI=2.0;\
                        \n        build_dir=$(opam var prefix)/.opam-switch/build;\
                        \n        failed=$(ls \"$build_dir\");\
                        \n        partial_fails=\"\";\
                        \n        for pkg in $failed; do\
                        \n          if opam show -f x-ci-accept-failures: \"$pkg\" | grep -qF \"\\\"debian-13\\\"\"; then\
                        \n            echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
                        \n          fi;\
                        \n          test \"$pkg\" != 'lmdb.0.1' && partial_fails=\"$partial_fails $pkg\";\
                        \n        done;\
                        \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
                        \n        exit 1"))
lmdb.0.1 is not installed. Install it? [Y/n] y
The following actions will be performed:
=== install 12 packages
  - install base-bytes                base   [required by lmdb]
  - install conf-libffi               2.0.0  [required by ctypes-foreign]
  - install conf-pkg-config           4      [required by ctypes]
  - install ctypes                    0.17.1 [required by lmdb]
  - install ctypes-foreign            0.18.0 [required by lmdb]
  - install integers                  0.7.0  [required by ctypes]
  - install lmdb                      0.1
  - install ocamlbuild                0.16.1 [required by unix-type-representations]
  - install ocamlfind                 1.9.8  [required by lmdb]
  - install stdlib-shims              0.3.0  [required by integers]
  - install topkg                     1.1.1  [required by unix-type-representations]
  - install unix-type-representations 0.1.2  [required by lmdb]

The following system packages will first need to be installed:
    libffi-dev liblmdb-dev pkg-config

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

opam believes some required external dependencies are missing. opam can:
> 1. Run apt-get to install them (may need root/sudo access)
  2. Display the recommended apt-get command and wait while you run it manually (e.g. in another terminal)
  3. Continue anyway, and, upon success, permanently register that this external dependency is present, but not detectable
  4. Abort the installation

[1/2/3/4] 1

+ /usr/bin/sudo "apt-get" "install" "-qq" "-yy" "libffi-dev" "liblmdb-dev" "pkg-config"
- Selecting previously unselected package libffi-dev:amd64.
- (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 ... 20622 files and directories currently installed.)
- Preparing to unpack .../0-libffi-dev_3.4.8-2_amd64.deb ...
- Unpacking libffi-dev:amd64 (3.4.8-2) ...
- Selecting previously unselected package liblmdb0:amd64.
- Preparing to unpack .../1-liblmdb0_0.9.31-1+b2_amd64.deb ...
- Unpacking liblmdb0:amd64 (0.9.31-1+b2) ...
- Selecting previously unselected package liblmdb-dev:amd64.
- Preparing to unpack .../2-liblmdb-dev_0.9.31-1+b2_amd64.deb ...
- Unpacking liblmdb-dev:amd64 (0.9.31-1+b2) ...
- Selecting previously unselected package libpkgconf3:amd64.
- Preparing to unpack .../3-libpkgconf3_1.8.1-4_amd64.deb ...
- Unpacking libpkgconf3:amd64 (1.8.1-4) ...
- Selecting previously unselected package lmdb-doc.
- Preparing to unpack .../4-lmdb-doc_0.9.31-1_all.deb ...
- Unpacking lmdb-doc (0.9.31-1) ...
- Selecting previously unselected package pkgconf-bin.
- Preparing to unpack .../5-pkgconf-bin_1.8.1-4_amd64.deb ...
- Unpacking pkgconf-bin (1.8.1-4) ...
- Selecting previously unselected package pkgconf:amd64.
- Preparing to unpack .../6-pkgconf_1.8.1-4_amd64.deb ...
- Unpacking pkgconf:amd64 (1.8.1-4) ...
- Selecting previously unselected package pkg-config:amd64.
- Preparing to unpack .../7-pkg-config_1.8.1-4_amd64.deb ...
- Unpacking pkg-config:amd64 (1.8.1-4) ...
- Setting up liblmdb0:amd64 (0.9.31-1+b2) ...
- Setting up libffi-dev:amd64 (3.4.8-2) ...
- Setting up lmdb-doc (0.9.31-1) ...
- Setting up libpkgconf3:amd64 (1.8.1-4) ...
- Setting up pkgconf-bin (1.8.1-4) ...
- Setting up liblmdb-dev:amd64 (0.9.31-1+b2) ...
- Setting up pkgconf:amd64 (1.8.1-4) ...
- Setting up pkg-config:amd64 (1.8.1-4) ...
- Processing triggers for libc-bin (2.41-12) ...

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved ctypes.0.17.1  (cached)
-> installed conf-pkg-config.4
-> retrieved integers.0.7.0  (cached)
-> retrieved lmdb.0.1  (cached)
-> retrieved ocamlbuild.0.16.1  (cached)
-> installed conf-libffi.2.0.0
-> installed ctypes-foreign.0.18.0
-> retrieved ocamlfind.1.9.8  (cached)
-> retrieved stdlib-shims.0.3.0  (cached)
-> retrieved topkg.1.1.1  (cached)
-> retrieved unix-type-representations.0.1.2  (cached)
-> installed stdlib-shims.0.3.0
-> installed integers.0.7.0
-> installed ocamlfind.1.9.8
-> installed base-bytes.base
-> installed ocamlbuild.0.16.1
-> installed topkg.1.1.1
-> installed unix-type-representations.0.1.2
-> installed ctypes.0.17.1
[ERROR] The compilation of lmdb.0.1 failed at "ocaml setup.ml -build".

#=== ERROR while compiling lmdb.0.1 ===========================================#
# context              2.5.0 | linux/x86_64 | ocaml-base-compiler.4.14.2 | file:///home/opam/opam-repository
# path                 ~/.opam/4.14/.opam-switch/build/lmdb.0.1
# command              ~/.opam/opam-init/hooks/sandbox.sh build ocaml setup.ml -build
# exit-code            1
# env-file             ~/.opam/log/lmdb-7-f3f130.env
# output-file          ~/.opam/log/lmdb-7-f3f130.out
### output ###
# File "./setup.ml", line 575, characters 4-15:
# 575 |     Stream.from next
#           ^^^^^^^^^^^
# Alert deprecated: module Stdlib.Stream
# Use the camlp-streams library instead.
# File "./setup.ml", line 603, characters 19-36:
# 603 |         let strm = Stream.of_channel chn in
#                          ^^^^^^^^^^^^^^^^^
# Alert deprecated: module Stdlib.Stream
# Use the camlp-streams library instead.
# File "./setup.ml", line 610, characters 37-48:
# 610 |                 Buffer.add_char buf (Stream.next strm);
#                                            ^^^^^^^^^^^
# Alert deprecated: module Stdlib.Stream
# Use the camlp-streams library instead.
# File "./setup.ml", line 613, characters 17-31:
# 613 |             with Stream.Failure ->
#                        ^^^^^^^^^^^^^^
# Alert deprecated: module Stdlib.Stream
# Use the camlp-streams library instead.
# File "./setup.ml", line 1431, characters 16-33:
# 1431 |       let lxr = Genlex.make_lexer [] in
#                        ^^^^^^^^^^^^^^^^^
# Alert deprecated: module Stdlib.Genlex
# Use the camlp-streams library instead.
# File "./setup.ml", line 1433, characters 22-38:
# 1433 |         let st = lxr (Stream.of_string s) in
#                              ^^^^^^^^^^^^^^^^
# Alert deprecated: module Stdlib.Stream
# Use the camlp-streams library instead.
# File "./setup.ml", line 1434, characters 14-26:
# 1434 |         match Stream.npeek 3 st with
#                      ^^^^^^^^^^^^
# Alert deprecated: module Stdlib.Stream
# Use the camlp-streams library instead.
# File "./setup.ml", line 1435, characters 11-23:
# 1435 |         | [Genlex.Ident fn; Genlex.Ident nm] -> Call(fn, Ident nm)
#                   ^^^^^^^^^^^^
# Alert deprecated: module Stdlib.Genlex
# Use the camlp-streams library instead.
# File "./setup.ml", line 1435, characters 28-40:
# 1435 |         | [Genlex.Ident fn; Genlex.Ident nm] -> Call(fn, Ident nm)
#                                    ^^^^^^^^^^^^
# Alert deprecated: module Stdlib.Genlex
# Use the camlp-streams library instead.
# File "./setup.ml", line 1436, characters 11-23:
# 1436 |         | [Genlex.Ident fn; Genlex.String str] -> Call(fn, String str)
#                   ^^^^^^^^^^^^
# Alert deprecated: module Stdlib.Genlex
# Use the camlp-streams library instead.
# File "./setup.ml", line 1436, characters 28-41:
# 1436 |         | [Genlex.Ident fn; Genlex.String str] -> Call(fn, String str)
#                                    ^^^^^^^^^^^^^
# Alert deprecated: module Stdlib.Genlex
# Use the camlp-streams library instead.
# File "./setup.ml", line 1437, characters 11-24:
# 1437 |         | [Genlex.String str] -> String str
#                   ^^^^^^^^^^^^^
# Alert deprecated: module Stdlib.Genlex
# Use the camlp-streams library instead.
# File "./setup.ml", line 1438, characters 11-23:
# 1438 |         | [Genlex.Ident nm] -> Ident nm
#                   ^^^^^^^^^^^^
# Alert deprecated: module Stdlib.Genlex
# Use the camlp-streams library instead.
# File "./setup.ml", line 1775, characters 22-40:
# 1775 |         let compare = Pervasives.compare
#                              ^^^^^^^^^^^^^^^^^^
# Alert deprecated: module Stdlib.Pervasives
# Use Stdlib instead.
# 
# If you need to stay compatible with OCaml < 4.07, you can use the 
# stdlib-shims library: https://github.com/ocaml/stdlib-shims
# File "setup.ml", line 3176, characters 8-19:
# Alert deprecated: module Stdlib.Stream
# Use the camlp-streams library instead.
# File "setup.ml", line 3179, characters 21-32:
# Alert deprecated: module Stdlib.Stream
# Use the camlp-streams library instead.
# File "setup.ml", line 3182, characters 18-32:
# Alert deprecated: module Stdlib.Stream
# Use the camlp-streams library instead.
# File "setup.ml", line 3184, characters 6-23:
# Alert deprecated: module Stdlib.Genlex
# Use the camlp-streams library instead.
# File "setup.ml", line 3187, characters 12-24:
# Alert deprecated: module Stdlib.Stream
# Use the camlp-streams library instead.
# File "setup.ml", line 3188, characters 9-21:
# Alert deprecated: module Stdlib.Genlex
# Use the camlp-streams library instead.
# File "setup.ml", line 3188, characters 26-36:
# Alert deprecated: module Stdlib.Genlex
# Use the camlp-streams library instead.
# File "setup.ml", line 3188, characters 42-55:
# Alert deprecated: module Stdlib.Genlex
# Use the camlp-streams library instead.
# File "setup.ml", line 3189, characters 8-19:
# Alert deprecated: module Stdlib.Stream
# Use the camlp-streams library instead.
# File "setup.ml", line 3189, characters 25-36:
# Alert deprecated: module Stdlib.Stream
# Use the camlp-streams library instead.
# File "setup.ml", line 3189, characters 42-53:
# Alert deprecated: module Stdlib.Stream
# Use the camlp-streams library instead.
# File "setup.ml", line 3201, characters 17-34:
# Alert deprecated: module Stdlib.Stream
# Use the camlp-streams library instead.
# File "setup.ml", line 3326, characters 16-33:
# Alert deprecated: module Stdlib.Genlex
# Use the camlp-streams library instead.
# File "setup.ml", line 3345, characters 22-38:
# Alert deprecated: module Stdlib.Stream
# Use the camlp-streams library instead.
# File "setup.ml", line 3347, characters 17-29:
# Alert deprecated: module Stdlib.Stream
# Use the camlp-streams library instead.
# File "setup.ml", line 3348, characters 16-28:
# Alert deprecated: module Stdlib.Genlex
# Use the camlp-streams library instead.
# File "setup.ml", line 3348, characters 37-49:
# Alert deprecated: module Stdlib.Genlex
# Use the camlp-streams library instead.
# File "setup.ml", line 3350, characters 16-28:
# Alert deprecated: module Stdlib.Genlex
# Use the camlp-streams library instead.
# File "setup.ml", line 3350, characters 37-50:
# Alert deprecated: module Stdlib.Genlex
# Use the camlp-streams library instead.
# File "setup.ml", line 3352, characters 16-28:
# Alert deprecated: module Stdlib.Genlex
# Use the camlp-streams library instead.
# File "setup.ml", line 3352, characters 46-58:
# Alert deprecated: module Stdlib.Genlex
# Use the camlp-streams library instead.
# File "setup.ml", line 3354, characters 16-28:
# Alert deprecated: module Stdlib.Genlex
# Use the camlp-streams library instead.
# File "setup.ml", line 3354, characters 46-59:
# Alert deprecated: module Stdlib.Genlex
# Use the camlp-streams library instead.
# File "setup.ml", line 3356, characters 16-28:
# Alert deprecated: module Stdlib.Genlex
# Use the camlp-streams library instead.
# File "setup.ml", line 3369, characters 13-25:
# Alert deprecated: module Stdlib.Stream
# Use the camlp-streams library instead.
# File "setup.ml", line 3467, characters 16-34:
# Alert deprecated: module Stdlib.Pervasives
# Use Stdlib instead.
# 
# If you need to stay compatible with OCaml < 4.07, you can use the 
# stdlib-shims library: https://github.com/ocaml/stdlib-shims
# File "setup.ml", line 4518, characters 21-38:
# Alert deprecated: module Stdlib.Genlex
# Use the camlp-streams library instead.
# File "setup.ml", line 4520, characters 19-31:
# Alert deprecated: module Stdlib.Stream
# Use the camlp-streams library instead.
# File "setup.ml", line 4521, characters 16-29:
# Alert deprecated: module Stdlib.Genlex
# Use the camlp-streams library instead.
# File "setup.ml", line 4521, characters 33-46:
# Alert deprecated: module Stdlib.Genlex
# Use the camlp-streams library instead.
# File "setup.ml", line 4523, characters 15-26:
# Alert deprecated: module Stdlib.Stream
# Use the camlp-streams library instead.
# File "setup.ml", line 4523, characters 32-43:
# Alert deprecated: module Stdlib.Stream
# Use the camlp-streams library instead.
# W: Cannot find source file matching module 'Lmdb_generated' in library lmdb.
# W: Use InterfacePatterns or ImplementationPatterns to define this file with feature "source_patterns".
# W: Cannot find source file matching module 'Lmdb_generated_types' in library lmdb.
# W: Use InterfacePatterns or ImplementationPatterns to define this file with feature "source_patterns".
# + /home/opam/.opam/4.14/bin/ocamlc.opt -config
# + /home/opam/.opam/4.14/bin/ocamlopt.opt unix.cmxa -I /home/opam/.opam/4.14/lib/ocamlbuild /home/opam/.opam/4.14/lib/ocamlbuild/ocamlbuildlib.cmxa myocamlbuild.ml /home/opam/.opam/4.14/lib/ocamlbuild/ocamlbuild.cmx -o myocamlbuild
# + /home/opam/.opam/4.14/bin/ocamlc.opt -config
# + /home/opam/.opam/4.14/bin/ocamlfind ocamldep -package ctypes -package ctypes.foreign -package ctypes.stubs -package unix-type-representations -modules src/lmdb_bindgen.ml > src/lmdb_bindgen.ml.depends
# + /home/opam/.opam/4.14/bin/ocamlfind ocamldep -package ctypes -package ctypes.foreign -package ctypes.stubs -package unix-type-representations -modules src/lmdb_bindings.ml > src/lmdb_bindings.ml.depends
# + /home/opam/.opam/4.14/bin/ocamlfind ocamldep -package ctypes -package ctypes.foreign -package ctypes.stubs -package unix-type-representations -modules src/lmdb_typegen.ml > src/lmdb_typegen.ml.depends
# + /home/opam/.opam/4.14/bin/ocamlfind ocamldep -package ctypes -package ctypes.foreign -package ctypes.stubs -package unix-type-representations -modules src/lmdb_types.ml > src/lmdb_types.ml.depends
# + /home/opam/.opam/4.14/bin/ocamlfind ocamlc -c -g -annot -bin-annot -safe-string -short-paths -keep-locs -strict-sequence -package ctypes -package ctypes.foreign -package ctypes.stubs -package unix-type-representations -w A-40-42-44 -warn-error +1..49 -warn-error -45-3 -I src -o src/lmdb_types.cmo src/lmdb_types.ml
# + /home/opam/.opam/4.14/bin/ocamlfind ocamlc -c -g -annot -bin-annot -safe-string -short-paths -keep-locs -strict-sequence -package ctypes -package ctypes.foreign -package ctypes.stubs -package unix-type-representations -w A-40-42-44 -warn-error +1..49 -warn-error -45-3 -I src -o src/lmdb_types.cmo src/lmdb_types.ml
# File "src/lmdb_types.ml", line 1:
# Warning 70 [missing-mli]: Cannot find interface file.
# + /home/opam/.opam/4.14/bin/ocamlfind ocamlc -c -g -annot -bin-annot -safe-string -short-paths -keep-locs -strict-sequence -package ctypes -package ctypes.foreign -package ctypes.stubs -package unix-type-representations -w A-40-42-44 -warn-error +1..49 -warn-error -45-3 -I src -o src/lmdb_typegen.cmo src/lmdb_typegen.ml
# + /home/opam/.opam/4.14/bin/ocamlfind ocamlc -c -g -annot -bin-annot -safe-string -short-paths -keep-locs -strict-sequence -package ctypes -package ctypes.foreign -package ctypes.stubs -package unix-type-representations -w A-40-42-44 -warn-error +1..49 -warn-error -45-3 -I src -o src/lmdb_typegen.cmo src/lmdb_typegen.ml
# File "src/lmdb_typegen.ml", line 1:
# Warning 70 [missing-mli]: Cannot find interface file.
# + /home/opam/.opam/4.14/bin/ocamlfind ocamlc -g -keep-locs -linkpkg -package ctypes.stubs -package unix-type-representations -I src src/lmdb_types.cmo src/lmdb_typegen.cmo -o src/lmdb_typegen.byte
# + src/lmdb_typegen.byte
# + gcc -O2 -fno-strict-aliasing -fwrapv -pthread -fPIC  -D_FILE_OFFSET_BITS=64  src/lmdb_typestubs.c -I /home/opam/.opam/4.14/lib/ctypes -I /home/opam/.opam/4.14/lib/ocaml -o src/lmdb_typestubs
# + src/lmdb_typestubs >> src/lmdb_generated_types.ml
# + /home/opam/.opam/4.14/bin/ocamlfind ocamldep -package ctypes -package ctypes.foreign -package ctypes.stubs -package unix-type-representations -modules src/lmdb_generated_types.ml > src/lmdb_generated_types.ml.depends
# + /home/opam/.opam/4.14/bin/ocamlfind ocamlc -c -g -annot -bin-annot -safe-string -short-paths -keep-locs -strict-sequence -package ctypes -package ctypes.foreign -package ctypes.stubs -package unix-type-representations -I src -o src/lmdb_generated_types.cmo src/lmdb_generated_types.ml
# + /home/opam/.opam/4.14/bin/ocamlfind ocamlc -c -g -annot -bin-annot -safe-string -short-paths -keep-locs -strict-sequence -package ctypes -package ctypes.foreign -package ctypes.stubs -package unix-type-representations -w A-40-42-44 -warn-error +1..49 -warn-error -45-3 -I src -o src/lmdb_bindings.cmo src/lmdb_bindings.ml
# + /home/opam/.opam/4.14/bin/ocamlfind ocamlc -c -g -annot -bin-annot -safe-string -short-paths -keep-locs -strict-sequence -package ctypes -package ctypes.foreign -package ctypes.stubs -package unix-type-representations -w A-40-42-44 -warn-error +1..49 -warn-error -45-3 -I src -o src/lmdb_bindings.cmo src/lmdb_bindings.ml
# File "src/lmdb_bindings.ml", line 1:
# Warning 70 [missing-mli]: Cannot find interface file.
# + /home/opam/.opam/4.14/bin/ocamlfind ocamlc -c -g -annot -bin-annot -safe-string -short-paths -keep-locs -strict-sequence -package ctypes -package ctypes.foreign -package ctypes.stubs -package unix-type-representations -w A-40-42-44 -warn-error +1..49 -warn-error -45-3 -I src -o src/lmdb_bindgen.cmo src/lmdb_bindgen.ml
# + /home/opam/.opam/4.14/bin/ocamlfind ocamlc -c -g -annot -bin-annot -safe-string -short-paths -keep-locs -strict-sequence -package ctypes -package ctypes.foreign -package ctypes.stubs -package unix-type-representations -w A-40-42-44 -warn-error +1..49 -warn-error -45-3 -I src -o src/lmdb_bindgen.cmo src/lmdb_bindgen.ml
# File "src/lmdb_bindgen.ml", line 1:
# Warning 70 [missing-mli]: Cannot find interface file.
# + /home/opam/.opam/4.14/bin/ocamlfind ocamlc -g -keep-locs -linkpkg -package ctypes.foreign -package ctypes.stubs -package unix-type-representations -I src src/lmdb_generated_types.cmo src/lmdb_types.cmo src/lmdb_bindings.cmo src/lmdb_bindgen.cmo -o src/lmdb_bindgen.byte
# + src/lmdb_bindgen.byte
# + /home/opam/.opam/4.14/bin/ocamlfind ocamlc -g -package ctypes.stubs -c src/lmdb_cstubs.c
# + /home/opam/.opam/4.14/bin/ocamlfind ocamlc -g -package ctypes.stubs -c src/lmdb_cstubs.c
# src/lmdb_cstubs.c: In function 'lmdb_stub__13_mdb_env_get_path':
# src/lmdb_cstubs.c:96:36: error: passing argument 2 of 'mdb_env_get_path' from incompatible pointer type [-Wincompatible-pointer-types]
#    96 |    int x89 = mdb_env_get_path(x87, x88);
#       |                                    ^~~
#       |                                    |
#       |                                    char **
# In file included from src/lmdb_cstubs.c:2:
# /usr/include/lmdb.h:795:50: note: expected 'const char **' but argument is of type 'char **'
#   795 | int  mdb_env_get_path(MDB_env *env, const char **path);
#       |                                     ~~~~~~~~~~~~~^~~~
# src/lmdb_cstubs.c: In function 'lmdb_stub__22_mdb_env_set_assert':
# src/lmdb_cstubs.c:157:40: error: passing argument 2 of 'mdb_env_set_assert' from incompatible pointer type [-Wincompatible-pointer-types]
#   157 |    int x136 = mdb_env_set_assert(x134, x135);
#       |                                        ^~~~
#       |                                        |
#       |                                        void (*)(MDB_env *, char *)
# /usr/include/lmdb.h:937:56: note: expected 'void (*)(MDB_env *, const char *)' but argument is of type 'void (*)(MDB_env *, char *)'
#   937 | int  mdb_env_set_assert(MDB_env *env, MDB_assert_func *func);
#       |                                       ~~~~~~~~~~~~~~~~~^~~~
# src/lmdb_cstubs.c: In function 'lmdb_stub__34_mdb_set_compare':
# src/lmdb_cstubs.c:247:43: error: passing argument 3 of 'mdb_set_compare' from incompatible pointer type [-Wincompatible-pointer-types]
#   247 |    int x218 = mdb_set_compare(x213, x214, x217);
#       |                                           ^~~~
#       |                                           |
#       |                                           int (*)(struct MDB_val *, struct MDB_val *)
# /usr/include/lmdb.h:1201:63: note: expected 'int (*)(const MDB_val *, const MDB_val *)' but argument is of type 'int (*)(struct MDB_val *, struct MDB_val *)'
#  1201 | int  mdb_set_compare(MDB_txn *txn, MDB_dbi dbi, MDB_cmp_func *cmp);
#       |                                                 ~~~~~~~~~~~~~~^~~
# src/lmdb_cstubs.c: In function 'lmdb_stub__35_mdb_set_dupsort':
# src/lmdb_cstubs.c:256:43: error: passing argument 3 of 'mdb_set_dupsort' from incompatible pointer type [-Wincompatible-pointer-types]
#   256 |    int x227 = mdb_set_dupsort(x222, x223, x226);
#       |                                           ^~~~
#       |                                           |
#       |                                           int (*)(struct MDB_val *, struct MDB_val *)
# /usr/include/lmdb.h:1224:63: note: expected 'int (*)(const MDB_val *, const MDB_val *)' but argument is of type 'int (*)(struct MDB_val *, struct MDB_val *)'
#  1224 | int  mdb_set_dupsort(MDB_txn *txn, MDB_dbi dbi, MDB_cmp_func *cmp);
#       |                                                 ~~~~~~~~~~~~~~^~~
# src/lmdb_cstubs.c: In function 'lmdb_stub__52_mdb_reader_list':
# src/lmdb_cstubs.c:395:37: error: passing argument 2 of 'mdb_reader_list' from incompatible pointer type [-Wincompatible-pointer-types]
#   395 |    int x368 = mdb_reader_list(x365, x366, x367);
#       |                                     ^~~~
#       |                                     |
#       |                                     int (*)(char *, void *)
# /usr/include/lmdb.h:1586:53: note: expected 'int (*)(const char *, void *)' but argument is of type 'int (*)(char *, void *)'
#  1586 | int     mdb_reader_list(MDB_env *env, MDB_msg_func *func, void *ctx);
#       |                                       ~~~~~~~~~~~~~~^~~~
# Command exited with code 2.
# + /home/opam/.opam/4.14/bin/ocamlopt.opt unix.cmxa -I /home/opam/.opam/4.14/lib/ocamlbuild /home/opam/.opam/4.14/lib/ocamlbuild/ocamlbuildlib.cmxa myocamlbuild.ml /home/opam/.opam/4.14/lib/ocamlbuild/ocamlbuild.cmx -o myocamlbuild
# File "myocamlbuild.ml", line 454, characters 8-19:
# 454 |         Stream.from
#               ^^^^^^^^^^^
# Alert deprecated: module Stdlib.Stream
# Use the camlp-streams library instead.
# File "myocamlbuild.ml", line 457, characters 21-32:
# 457 |                match Stream.next st with
#                            ^^^^^^^^^^^
# Alert deprecated: module Stdlib.Stream
# Use the camlp-streams library instead.
# File "myocamlbuild.ml", line 460, characters 18-32:
# 460 |              with Stream.Failure -> None)
#                         ^^^^^^^^^^^^^^
# Alert deprecated: module Stdlib.Stream
# Use the camlp-streams library instead.
# File "myocamlbuild.ml", line 462, characters 6-23:
# 462 |       Genlex.make_lexer ["="] st_line
#             ^^^^^^^^^^^^^^^^^
# Alert deprecated: module Stdlib.Genlex
# Use the camlp-streams library instead.
# File "myocamlbuild.ml", line 465, characters 12-24:
# 465 |       match Stream.npeek 3 lxr with
#                   ^^^^^^^^^^^^
# Alert deprecated: module Stdlib.Stream
# Use the camlp-streams library instead.
# File "myocamlbuild.ml", line 466, characters 9-21:
# 466 |       | [Genlex.Ident nm; Genlex.Kwd "="; Genlex.String value] ->
#                ^^^^^^^^^^^^
# Alert deprecated: module Stdlib.Genlex
# Use the camlp-streams library instead.
# File "myocamlbuild.ml", line 466, characters 26-36:
# 466 |       | [Genlex.Ident nm; Genlex.Kwd "="; Genlex.String value] ->
#                                 ^^^^^^^^^^
# Alert deprecated: module Stdlib.Genlex
# Use the camlp-streams library instead.
# File "myocamlbuild.ml", line 466, characters 42-55:
# 466 |       | [Genlex.Ident nm; Genlex.Kwd "="; Genlex.String value] ->
#                                                 ^^^^^^^^^^^^^
# Alert deprecated: module Stdlib.Genlex
# Use the camlp-streams library instead.
# File "myocamlbuild.ml", line 467, characters 8-19:
# 467 |         Stream.junk lxr; Stream.junk lxr; Stream.junk lxr;
#               ^^^^^^^^^^^
# Alert deprecated: module Stdlib.Stream
# Use the camlp-streams library instead.
# File "myocamlbuild.ml", line 467, characters 25-36:
# 467 |         Stream.junk lxr; Stream.junk lxr; Stream.junk lxr;
#                                ^^^^^^^^^^^
# Alert deprecated: module Stdlib.Stream
# Use the camlp-streams library instead.
# File "myocamlbuild.ml", line 467, characters 42-53:
# 467 |         Stream.junk lxr; Stream.junk lxr; Stream.junk lxr;
#                                                 ^^^^^^^^^^^
# Alert deprecated: module Stdlib.Stream
# Use the camlp-streams library instead.
# File "myocamlbuild.ml", line 479, characters 17-34:
# 479 |         let st = Stream.of_channel chn in
#                        ^^^^^^^^^^^^^^^^^
# Alert deprecated: module Stdlib.Stream
# Use the camlp-streams library instead.
# E: Failure("Command ''/home/opam/.opam/4.14/bin/ocamlbuild' src/liblmdb_stubs.a src/dlllmdb_stubs.so src/lmdb.cma src/lmdb.cmxa src/lmdb.a src/lmdb.cmxs src/lmdb_bindgen.byte src/lmdb_typegen.byte -tag debug' terminated with error code 10")



<><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
+- The following actions failed
| - build lmdb 0.1
+- 
+- The following changes have been performed
| - install base-bytes                base
| - install conf-libffi               2.0.0
| - install conf-pkg-config           4
| - install ctypes                    0.17.1
| - install ctypes-foreign            0.18.0
| - install integers                  0.7.0
| - install ocamlbuild                0.16.1
| - install ocamlfind                 1.9.8
| - install stdlib-shims              0.3.0
| - install topkg                     1.1.1
| - install unix-type-representations 0.1.2
+- 
# To update the current shell environment, run: eval $(opam env)

The former state can be restored with:
    /usr/bin/opam switch import "/home/opam/.opam/4.14/.opam-switch/backup/state-20251211170822.export"
[WARNING] OPAMCONFIRMLEVEL was ignored because CLI 2.0 was requested and it was introduced in 2.1.
[WARNING] OPAMCONFIRMLEVEL was ignored because CLI 2.0 was requested and it was introduced in 2.1.
"/usr/bin/env" "bash" "-c" "opam reinstall lmdb.0.1;
        res=$?;
        test "$res" != 31 && exit "$res";
        export OPAMCLI=2.0;
        build_dir=$(opam var prefix)/.opam-switch/build;
        failed=$(ls "$build_dir");
        partial_fails="";
        for pkg in $failed; do
          if opam show -f x-ci-accept-failures: "$pkg" | grep -qF "\"debian-13\""; then
            echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.";
          fi;
          test "$pkg" != 'lmdb.0.1' && partial_fails="$partial_fails $pkg";
        done;
        test "${partial_fails}" != "" && echo "opam-repo-ci detected dependencies failing: ${partial_fails}";
        exit 1" failed with exit status 1
2025-12-11 17:09.04: Job failed: Failed: Build failed
2025-12-11 17:09.04: Log analysis:
2025-12-11 17:09.04: >>> 
[ERROR] The compilation of lmdb.0.1 failed at "ocaml setup.ml -build".
 (score = 20)
2025-12-11 17:09.04: >>> 
# src/lmdb_cstubs.c:96:36: error: passing argument 2 of 'mdb_env_get_path' from incompatible pointer type [-Wincompatible-pointer-types]
 (score = 30)
2025-12-11 17:09.04: >>> 
# src/lmdb_cstubs.c:157:40: error: passing argument 2 of 'mdb_env_set_assert' from incompatible pointer type [-Wincompatible-pointer-types]
 (score = 30)
2025-12-11 17:09.04: >>> 
# src/lmdb_cstubs.c:247:43: error: passing argument 3 of 'mdb_set_compare' from incompatible pointer type [-Wincompatible-pointer-types]
 (score = 30)
2025-12-11 17:09.04: >>> 
# src/lmdb_cstubs.c:256:43: error: passing argument 3 of 'mdb_set_dupsort' from incompatible pointer type [-Wincompatible-pointer-types]
 (score = 30)
2025-12-11 17:09.04: >>> 
# src/lmdb_cstubs.c:395:37: error: passing argument 2 of 'mdb_reader_list' from incompatible pointer type [-Wincompatible-pointer-types]
 (score = 30)
2025-12-11 17:09.04: passing argument 2 of 'mdb_env_get_path' from incompatible pointer type [-Wincompatible-pointer-types]