Build:
- 0
2025-12-09 07:37.04: New job: test postgresql.4.4.1 with dune.3.21.0~alpha2, using opam dev
from https://github.com/ocaml/opam-repository.git#refs/pull/29042/head (a9b8a0d0db631d21208bd4ab7355e867d7ecf88d)
on debian-13-ocaml-5.4/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/29042/head" && git reset --hard a9b8a0d0
git fetch origin master
git merge --no-edit 2e91c1385fa6ee7c38e1108967fe3bf9ccba52f6
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-13-ocaml-5.4@sha256:8c62cc7b043f64833949d4049211997093b28a2f1b98377748d3e185ae301c04
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~alpha2 3.21.0~alpha2
RUN opam reinstall dune.3.21.0~alpha2; \
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~alpha2' && partial_fails="$partial_fails $pkg"; \
done; \
test "${partial_fails}" != "" && echo "opam-repo-ci detected dependencies failing: ${partial_fails}"; \
exit 1
RUN opam reinstall postgresql.4.4.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" != 'postgresql.4.4.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 postgresql.4.4.1) || true
RUN opam reinstall --with-test --verbose postgresql.4.4.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" != 'postgresql.4.4.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-09 07:37.04: Using cache hint "ocaml/opam:debian-13-ocaml-5.4@sha256:8c62cc7b043f64833949d4049211997093b28a2f1b98377748d3e185ae301c04-dune.3.21.0~alpha2-postgresql.4.4.1-a9b8a0d0db631d21208bd4ab7355e867d7ecf88d"
2025-12-09 07:37.04: Using OBuilder spec:
((from ocaml/opam:debian-13-ocaml-5.4@sha256:8c62cc7b043f64833949d4049211997093b28a2f1b98377748d3e185ae301c04)
(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~alpha2 3.21.0~alpha2"))
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall dune.3.21.0~alpha2;\
\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~alpha2' && 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 postgresql.4.4.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\" != 'postgresql.4.4.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 postgresql.4.4.1) || true"))
(run (shell "opam reinstall --with-test --verbose postgresql.4.4.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\" != 'postgresql.4.4.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-09 07:37.04: Waiting for resource in pool OCluster
2025-12-09 17:48.34: Waiting for worker…
2025-12-09 17:50.57: Got resource from pool OCluster
Building on bremusa.ocamllabs.io
All commits already cached
Updating files: 73% (13903/19007)
Updating files: 74% (14066/19007)
Updating files: 75% (14256/19007)
Updating files: 76% (14446/19007)
Updating files: 77% (14636/19007)
Updating files: 78% (14826/19007)
Updating files: 79% (15016/19007)
Updating files: 80% (15206/19007)
Updating files: 81% (15396/19007)
Updating files: 82% (15586/19007)
Updating files: 83% (15776/19007)
Updating files: 84% (15966/19007)
Updating files: 85% (16156/19007)
Updating files: 86% (16347/19007)
Updating files: 87% (16537/19007)
Updating files: 88% (16727/19007)
Updating files: 89% (16917/19007)
Updating files: 90% (17107/19007)
Updating files: 91% (17297/19007)
Updating files: 92% (17487/19007)
Updating files: 93% (17677/19007)
Updating files: 94% (17867/19007)
Updating files: 95% (18057/19007)
Updating files: 96% (18247/19007)
Updating files: 97% (18437/19007)
Updating files: 98% (18627/19007)
Updating files: 99% (18817/19007)
Updating files: 100% (19007/19007)
Updating files: 100% (19007/19007), done.
HEAD is now at 2e91c1385f Merge pull request #29043 from hannesm/mirage-kv
Merge made by the 'ort' strategy.
.../chrome-trace/chrome-trace.3.21.0~alpha2/opam | 41 ++++++++++++
.../dune-action-plugin.3.21.0~alpha2/opam | 54 ++++++++++++++++
.../dune-build-info.3.21.0~alpha2/opam | 47 ++++++++++++++
.../dune-configurator.3.21.0~alpha2/opam | 51 +++++++++++++++
packages/dune-glob/dune-glob.3.21.0~alpha2/opam | 44 +++++++++++++
.../dune-private-libs.3.21.0~alpha2/opam | 52 +++++++++++++++
.../dune-rpc-lwt/dune-rpc-lwt.3.21.0~alpha2/opam | 43 +++++++++++++
packages/dune-rpc/dune-rpc.3.21.0~alpha2/opam | 46 +++++++++++++
packages/dune-site/dune-site.3.21.0~alpha2/opam | 39 +++++++++++
packages/dune/dune.3.21.0~alpha2/opam | 75 ++++++++++++++++++++++
packages/dyn/dyn.3.21.0~alpha2/opam | 42 ++++++++++++
packages/fs-io/fs-io.3.21.0~alpha2/opam | 40 ++++++++++++
packages/ocamlc-loc/ocamlc-loc.3.21.0~alpha2/opam | 45 +++++++++++++
packages/ordering/ordering.3.21.0~alpha2/opam | 40 ++++++++++++
packages/stdune/stdune.3.21.0~alpha2/opam | 48 ++++++++++++++
.../top-closure/top-closure.3.21.0~alpha2/opam | 39 +++++++++++
packages/xdg/xdg.3.21.0~alpha2/opam | 41 ++++++++++++
17 files changed, 787 insertions(+)
create mode 100644 packages/chrome-trace/chrome-trace.3.21.0~alpha2/opam
create mode 100644 packages/dune-action-plugin/dune-action-plugin.3.21.0~alpha2/opam
create mode 100644 packages/dune-build-info/dune-build-info.3.21.0~alpha2/opam
create mode 100644 packages/dune-configurator/dune-configurator.3.21.0~alpha2/opam
create mode 100644 packages/dune-glob/dune-glob.3.21.0~alpha2/opam
create mode 100644 packages/dune-private-libs/dune-private-libs.3.21.0~alpha2/opam
create mode 100644 packages/dune-rpc-lwt/dune-rpc-lwt.3.21.0~alpha2/opam
create mode 100644 packages/dune-rpc/dune-rpc.3.21.0~alpha2/opam
create mode 100644 packages/dune-site/dune-site.3.21.0~alpha2/opam
create mode 100644 packages/dune/dune.3.21.0~alpha2/opam
create mode 100644 packages/dyn/dyn.3.21.0~alpha2/opam
create mode 100644 packages/fs-io/fs-io.3.21.0~alpha2/opam
create mode 100644 packages/ocamlc-loc/ocamlc-loc.3.21.0~alpha2/opam
create mode 100644 packages/ordering/ordering.3.21.0~alpha2/opam
create mode 100644 packages/stdune/stdune.3.21.0~alpha2/opam
create mode 100644 packages/top-closure/top-closure.3.21.0~alpha2/opam
create mode 100644 packages/xdg/xdg.3.21.0~alpha2/opam
(from ocaml/opam:debian-13-ocaml-5.4@sha256:8c62cc7b043f64833949d4049211997093b28a2f1b98377748d3e185ae301c04)
2025-12-09 17:51.16 ---> using "5f87df8c1f6f0886e7311dfd3df40b8bbb961cc34c83c0d033c6dd248c84bc7d" 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-09 17:51.16 ---> using "f1296791f2d76481058db697105a569091a6b6345f05c94bbc5a650f1a364f9a" 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
Format upgrade done.
<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] Initialised
2025-12-09 17:51.16 ---> using "0cac9a31b4750e6a46df8ed8d2f68352091a988199fdf62c52779549510cd6bf" 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 71
# repositories 1 (version-controlled)
# pinned 1 (version)
# current-switch 5.4
# invariant ["ocaml-base-compiler" {>= "5.4.0"}]
# compiler-packages ocaml-base-compiler.5.4.0, ocaml-compiler.5.4.0, ocaml-options-vanilla.1
# ocaml:native true
# ocaml:native-tools true
# ocaml:native-dynlink true
# ocaml:stubsdir /home/opam/.opam/5.4/lib/ocaml/stublibs:/home/opam/.opam/5.4/lib/ocaml
# ocaml:preinstalled false
# ocaml:compiler 5.4.0
2025-12-09 17:51.16 ---> using "1deb91dc3badca969976ed6f3bc5fe7c443d73a2cfa957be662fd6f93e30aa7b" 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-09 17:51.16 ---> using "1a02438c8753bf7228a9eb625e65b7af26778a022b9ce0b16be5ef4f294c58cd" from cache
/home/opam: (copy (src .) (dst opam-repository/))
2025-12-09 17:51.17 ---> using "5eb86997857236bc32f8e9906c0a6a1698d33db864496f8e374d3bf25b889084" from cache
/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2025-12-09 17:51.17 ---> using "461b809ba40b3a1f0f49bbba2df1162936b2a997b1e1fab87951df5ee9c3828d" 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 [81.7 kB]
- Fetched 172 kB in 0s (1583 kB/s)
- Reading package lists...
-
2025-12-09 17:51.17 ---> using "d953188c1144583f4d6c9508d29746bc7aa496329e24e2133499412480d3b360" from cache
/home/opam: (run (shell "opam pin add -k version -yn dune.3.21.0~alpha2 3.21.0~alpha2"))
dune is now pinned to version 3.21.0~alpha2
2025-12-09 17:51.17 ---> using "4bbb6c46577f14fbf00d88ad9fe4a416fdaa3fe45eb57c7c8107e7f4e475d88b" from cache
/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall dune.3.21.0~alpha2;\
\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~alpha2' && 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~alpha2 is not installed. Install it? [Y/n] y
The following actions will be performed:
=== install 1 package
- install dune 3.21.0~alpha2 (pinned)
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved dune.3.21.0~alpha2 (cached)
-> installed dune.3.21.0~alpha2
Done.
# To update the current shell environment, run: eval $(opam env)
2025-12-09 17:51.17 ---> using "6e916170e11b6a845780488e15d6d58d70f93cf536b2d72ac046cb05589b0a6d" from cache
/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall postgresql.4.4.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\" != 'postgresql.4.4.1' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
postgresql.4.4.1 is not installed. Install it? [Y/n] y
The following actions will be performed:
=== install 8 packages
- install base v0.16.4 [required by postgresql]
- install base-bytes base [required by postgresql]
- install csexp 1.5.2 [required by dune-configurator]
- install dune-configurator 3.21.0~alpha2 [required by postgresql]
- install ocamlfind 1.9.8 [required by base-bytes]
- install postgresql 4.4.1
- install sexplib0 v0.16.0 [required by base]
- install stdio v0.16.0 [required by postgresql]
The following system packages will first need to be installed:
libpq-dev
<><> 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" "libpq-dev"
- Selecting previously unselected package libpq5: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 ... 20653 files and directories currently installed.)
- Preparing to unpack .../libpq5_17.6-0+deb13u1_amd64.deb ...
- Unpacking libpq5:amd64 (17.6-0+deb13u1) ...
- Selecting previously unselected package libssl-dev:amd64.
- Preparing to unpack .../libssl-dev_3.5.4-1~deb13u1_amd64.deb ...
- Unpacking libssl-dev:amd64 (3.5.4-1~deb13u1) ...
- Selecting previously unselected package libpq-dev.
- Preparing to unpack .../libpq-dev_17.6-0+deb13u1_amd64.deb ...
- Unpacking libpq-dev (17.6-0+deb13u1) ...
- Setting up libpq5:amd64 (17.6-0+deb13u1) ...
- Setting up libssl-dev:amd64 (3.5.4-1~deb13u1) ...
- Setting up libpq-dev (17.6-0+deb13u1) ...
- Processing triggers for libc-bin (2.41-12) ...
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved base.v0.16.4 (cached)
-> retrieved csexp.1.5.2 (cached)
-> installed csexp.1.5.2
-> retrieved dune-configurator.3.21.0~alpha2 (cached)
-> retrieved ocamlfind.1.9.8 (cached)
-> retrieved postgresql.4.4.1 (cached)
-> retrieved sexplib0.v0.16.0 (cached)
-> retrieved stdio.v0.16.0 (cached)
-> installed sexplib0.v0.16.0
-> installed dune-configurator.3.21.0~alpha2
-> installed ocamlfind.1.9.8
-> installed base-bytes.base
-> installed base.v0.16.4
-> installed stdio.v0.16.0
-> installed postgresql.4.4.1
Done.
# To update the current shell environment, run: eval $(opam env)
2025-12-09 17:51.46 ---> saved as "c5dceebf444735d053cded9a6fe99d1e69930815c89e138fad9f514f09002da2"
/home/opam: (run (network host)
(shell "(opam reinstall --with-test postgresql.4.4.1) || true"))
The following actions will be performed:
=== recompile 1 package
- recompile postgresql 4.4.1
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved postgresql.4.4.1 (https://opam.ocaml.org/cache)
-> removed postgresql.4.4.1
-> installed postgresql.4.4.1
Done.
# To update the current shell environment, run: eval $(opam env)
2025-12-09 17:51.54 ---> saved as "1108a8944b7f43696bf12acec12a96d2d74a37f4481fb94b6b0e5d17c462f8f0"
/home/opam: (run (shell "opam reinstall --with-test --verbose postgresql.4.4.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\" != 'postgresql.4.4.1' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
The following actions will be performed:
=== recompile 1 package
- recompile postgresql 4.4.1
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
Processing 1/4: [postgresql.4.4.1: extract]
-> retrieved postgresql.4.4.1 (cached)
Processing 2/4: [postgresql: dune build]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "build" "-p" "postgresql" "-j" "71" (CWD=/home/opam/.opam/5.4/.opam-switch/build/postgresql.4.4.1)
- (cd _build/default && /home/opam/.opam/5.4/bin/ocamlc.opt -w -40 -g -bin-annot -bin-annot-occurrences -I src/config/.discover.eobjs/byte -I /home/opam/.opam/5.4/lib/base -I /home/opam/.opam/5.4/lib/base/base_internalhash_types -I /home/opam/.opam/5.4/lib/base/caml -I /home/opam/.opam/5.4/lib/base/shadow_stdlib -I /home/opam/.opam/5.4/lib/csexp -I /home/opam/.opam/5.4/lib/dune-configurator -I /home/opam/.opam/5.4/lib/ocaml/unix -I /home/opam/.opam/5.4/lib/sexplib0 -I /home/opam/.opam/5.4/lib/stdio -no-alias-deps -o src/config/.discover.eobjs/byte/discover.cmo -c -impl src/config/discover.ml)
- File "src/config/discover.ml", line 50, characters 12-16:
- 50 | Caml.exit 1
- ^^^^
- Alert deprecated: module Caml
- [since v0.16] use Stdlib instead of Caml
- (cd _build/default && /home/opam/.opam/5.4/bin/ocamlopt.opt -w -40 -g -O3 -I src/config/.discover.eobjs/byte -I src/config/.discover.eobjs/native -I /home/opam/.opam/5.4/lib/base -I /home/opam/.opam/5.4/lib/base/base_internalhash_types -I /home/opam/.opam/5.4/lib/base/caml -I /home/opam/.opam/5.4/lib/base/shadow_stdlib -I /home/opam/.opam/5.4/lib/csexp -I /home/opam/.opam/5.4/lib/dune-configurator -I /home/opam/.opam/5.4/lib/ocaml/unix -I /home/opam/.opam/5.4/lib/sexplib0 -I /home/opam/.opam/5.4/lib/stdio -cmi-file src/config/.discover.eobjs/byte/discover.cmi -no-alias-deps -o src/config/.discover.eobjs/native/discover.cmx -c -impl src/config/discover.ml)
- File "src/config/discover.ml", line 50, characters 12-16:
- 50 | Caml.exit 1
- ^^^^
- Alert deprecated: module Caml
- [since v0.16] use Stdlib instead of Caml
- (cd _build/default/src && /usr/bin/gcc -O2 -fno-strict-aliasing -fwrapv -fPIC -pthread -D_FILE_OFFSET_BITS=64 -I/usr/include/postgresql -DPG_OCAML_MAJOR_VERSION=17 -DPG_OCAML_MINOR_VERSION=6 -g -O2 -fPIC -DPIC -g -I /home/opam/.opam/5.4/lib/ocaml -I /home/opam/.opam/5.4/lib/ocaml/threads -I /home/opam/.opam/5.4/lib/ocaml/unix -o postgresql_stubs.o -c postgresql_stubs.c)
- postgresql_stubs.c: In function 'PQocaml_init':
- postgresql_stubs.c:142:13: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
- 142 | v_exc_Oid = caml_named_value("Postgresql.Oid");
- | ^
- postgresql_stubs.c:143:16: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
- 143 | v_null_param = caml_named_value("Postgresql.null");
- | ^
- postgresql_stubs.c: In function 'copy_params_shallow':
- postgresql_stubs.c:613:15: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
- 613 | params[i] = (v_param == *v_null_param) ? NULL : String_val(v_param);
- | ^
- In file included from postgresql_stubs.c:48:
- postgresql_stubs.c: In function 'PQgetvalue_stub':
- /home/opam/.opam/5.4/lib/ocaml/caml/mlvalues.h:366:24: warning: passing argument 1 of 'memcpy' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
- 366 | #define String_val(x) ((const char *) Bp_val(x))
- | ~^~~~~~~~~~~~~~~~~~~~~~~~~
- postgresql_stubs.c:811:12: note: in expansion of macro 'String_val'
- 811 | memcpy(String_val(v_str), str, len);
- | ^~~~~~~~~~
- In file included from postgresql_stubs.c:44:
- /usr/include/string.h:43:39: note: expected 'void * restrict' but argument is of type 'const char *'
- 43 | extern void *memcpy (void *__restrict __dest, const void *__restrict __src,
- | ~~~~~~~~~~~~~~~~~^~~~~~
- postgresql_stubs.c: In function 'unescape_bytea':
- /home/opam/.opam/5.4/lib/ocaml/caml/mlvalues.h:366:24: warning: passing argument 1 of 'memcpy' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
- 366 | #define String_val(x) ((const char *) Bp_val(x))
- | ~^~~~~~~~~~~~~~~~~~~~~~~~~
- postgresql_stubs.c:866:12: note: in expansion of macro 'String_val'
- 866 | memcpy(String_val(v_res), buf, res_len);
- | ^~~~~~~~~~
- /usr/include/string.h:43:39: note: expected 'void * restrict' but argument is of type 'const char *'
- 43 | extern void *memcpy (void *__restrict __dest, const void *__restrict __src,
- | ~~~~~~~~~~~~~~~~~^~~~~~
- postgresql_stubs.c: In function 'PQgetescval_stub':
- /home/opam/.opam/5.4/lib/ocaml/caml/mlvalues.h:366:24: warning: passing argument 2 of 'decode_bytea_hex' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
- 366 | #define String_val(x) ((const char *) Bp_val(x))
- | ~^~~~~~~~~~~~~~~~~~~~~~~~~
- postgresql_stubs.c:912:29: note: in expansion of macro 'String_val'
- 912 | decode_bytea_hex(str, String_val(v_str), n_hex_pairs);
- | ^~~~~~~~~~
- postgresql_stubs.c:882:53: note: expected 'char *' but argument is of type 'const char *'
- 882 | static void decode_bytea_hex(const char *src, char *dst, size_t dst_len)
- | ~~~~~~^~~
- /home/opam/.opam/5.4/lib/ocaml/caml/mlvalues.h:366:24: warning: passing argument 1 of 'memcpy' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
- 366 | #define String_val(x) ((const char *) Bp_val(x))
- | ~^~~~~~~~~~~~~~~~~~~~~~~~~
- postgresql_stubs.c:918:12: note: in expansion of macro 'String_val'
- 918 | memcpy(String_val(v_str), str, len);
- | ^~~~~~~~~~
- /usr/include/string.h:43:39: note: expected 'void * restrict' but argument is of type 'const char *'
- 43 | extern void *memcpy (void *__restrict __dest, const void *__restrict __src,
- | ~~~~~~~~~~~~~~~~~^~~~~~
- postgresql_stubs.c: In function 'PQescapeStringConn_stub':
- /home/opam/.opam/5.4/lib/ocaml/caml/mlvalues.h:366:24: warning: passing argument 1 of 'memcpy' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
- 366 | #define String_val(x) ((const char *) Bp_val(x))
- | ~^~~~~~~~~~~~~~~~~~~~~~~~~
- postgresql_stubs.c:1132:12: note: in expansion of macro 'String_val'
- 1132 | memcpy(String_val(v_res), buf, n_written);
- | ^~~~~~~~~~
- /usr/include/string.h:43:39: note: expected 'void * restrict' but argument is of type 'const char *'
- 43 | extern void *memcpy (void *__restrict __dest, const void *__restrict __src,
- | ~~~~~~~~~~~~~~~~~^~~~~~
- postgresql_stubs.c: In function 'PQescapeByteaConn_stub':
- /home/opam/.opam/5.4/lib/ocaml/caml/mlvalues.h:366:24: warning: passing argument 1 of 'memcpy' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
- 366 | #define String_val(x) ((const char *) Bp_val(x))
- | ~^~~~~~~~~~~~~~~~~~~~~~~~~
- postgresql_stubs.c:1155:10: note: in expansion of macro 'String_val'
- 1155 | memcpy(String_val(v_res), buf, res_len);
- | ^~~~~~~~~~
- /usr/include/string.h:43:39: note: expected 'void * restrict' but argument is of type 'const char *'
- 43 | extern void *memcpy (void *__restrict __dest, const void *__restrict __src,
- | ~~~~~~~~~~~~~~~~~^~~~~~
- postgresql_stubs.c: In function 'PQunescapeBytea_stub':
- /home/opam/.opam/5.4/lib/ocaml/caml/mlvalues.h:366:24: warning: passing argument 2 of 'decode_bytea_hex' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
- 366 | #define String_val(x) ((const char *) Bp_val(x))
- | ~^~~~~~~~~~~~~~~~~~~~~~~~~
- postgresql_stubs.c:1180:46: note: in expansion of macro 'String_val'
- 1180 | decode_bytea_hex(String_val(v_from) + 2, String_val(v_res), res_len);
- | ^~~~~~~~~~
- postgresql_stubs.c:882:53: note: expected 'char *' but argument is of type 'const char *'
- 882 | static void decode_bytea_hex(const char *src, char *dst, size_t dst_len)
- | ~~~~~~^~~
- postgresql_stubs.c: In function 'PQgetline_stub':
- postgresql_stubs.c:1224:28: warning: passing argument 1 of 'memcpy' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
- 1224 | memcpy(String_val(v_buf) + pos, buf, len);
- /usr/include/string.h:43:39: note: expected 'void * restrict' but argument is of type 'const char *'
- 43 | extern void *memcpy (void *__restrict __dest, const void *__restrict __src,
- | ~~~~~~~~~~~~~~~~~^~~~~~
- postgresql_stubs.c: In function 'PQgetlineAsync_stub':
- postgresql_stubs.c:1238:61: warning: passing argument 2 of 'PQgetlineAsync' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
- 1238 | return PQgetlineAsync(get_conn(v_conn), String_val(v_buf) + pos, len);
- In file included from postgresql_stubs.c:57:
- /usr/include/postgresql/libpq-fe.h:537:52: note: expected 'char *' but argument is of type 'const char *'
- 537 | extern int PQgetlineAsync(PGconn *conn, char *buffer, int bufsize);
- | ~~~~~~^~~~~~
- postgresql_stubs.c: In function 'lo_read_stub':
- postgresql_stubs.c:1461:28: warning: passing argument 1 of 'memcpy' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
- 1461 | memcpy(String_val(v_buf) + pos, buf, len);
- /usr/include/string.h:43:39: note: expected 'void * restrict' but argument is of type 'const char *'
- 43 | extern void *memcpy (void *__restrict __dest, const void *__restrict __src,
- | ~~~~~~~~~~~~~~~~~^~~~~~
-> compiled postgresql.4.4.1
-> removed postgresql.4.4.1
-> installed postgresql.4.4.1
Done.
# To update the current shell environment, run: eval $(opam env)
2025-12-09 17:52.04 ---> saved as "ea4cdbdc4669f930f2fb581c65f99f044fec47e55020c5157a50c6d43e2b0a08"
Job succeeded
2025-12-09 17:52.38: Job succeeded