- github
- ocaml
- opam-repository
- e2e946
- compilers,4.14,dune.3.20.0~alpha4,revdeps,postgresql.4.4.2
(not at the head of any monitored branch or PR)
2025-08-12 13:25.00: New job: test postgresql.4.4.2 with dune.3.20.0~alpha4, using opam 2.3
from https://github.com/ocaml/opam-repository.git#refs/pull/28333/head (e2e946ed909ce4d2c3e1e35bbaff78b566760128)
on debian-12-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/28333/head" && git reset --hard e2e946ed
git fetch origin master
git merge --no-edit 5b99878077ddf3134c09e188d937954bd33cfa58
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-12-ocaml-4.14@sha256:b3b4d6d5643af6178c2c7da1f4185223f562d83280904781325cdf5798986a63
USER 1000:1000
WORKDIR /home/opam
RUN sudo ln -f /usr/bin/opam-2.3 /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.20.0~alpha4 3.20.0~alpha4
RUN opam reinstall dune.3.20.0~alpha4; \
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-12\""; then \
echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
fi; \
test "$pkg" != 'dune.3.20.0~alpha4' && 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.2; \
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-12\""; then \
echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
fi; \
test "$pkg" != 'postgresql.4.4.2' && 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.2) || true
RUN opam reinstall --with-test --verbose postgresql.4.4.2; \
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-12\""; then \
echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
fi; \
test "$pkg" != 'postgresql.4.4.2' && 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-08-12 13:25.00: Using cache hint "ocaml/opam:debian-12-ocaml-4.14@sha256:b3b4d6d5643af6178c2c7da1f4185223f562d83280904781325cdf5798986a63-dune.3.20.0~alpha4-postgresql.4.4.2-e2e946ed909ce4d2c3e1e35bbaff78b566760128"
2025-08-12 13:25.00: Using OBuilder spec:
((from ocaml/opam:debian-12-ocaml-4.14@sha256:b3b4d6d5643af6178c2c7da1f4185223f562d83280904781325cdf5798986a63)
(user (uid 1000) (gid 1000))
(workdir /home/opam)
(run (shell "sudo ln -f /usr/bin/opam-2.3 /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.20.0~alpha4 3.20.0~alpha4"))
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall dune.3.20.0~alpha4;\
\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-12\\\"\"; 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.20.0~alpha4' && 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.2;\
\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-12\\\"\"; 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.2' && 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.2) || true"))
(run (shell "opam reinstall --with-test --verbose postgresql.4.4.2;\
\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-12\\\"\"; 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.2' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
)
2025-08-12 13:25.00: Waiting for resource in pool OCluster
2025-08-12 21:24.01: Waiting for worker…
2025-08-12 21:25.38: Got resource from pool OCluster
Building on phoebe
All commits already cached
Updating files: 81% (14679/18017)
Updating files: 82% (14774/18017)
Updating files: 83% (14955/18017)
Updating files: 84% (15135/18017)
Updating files: 85% (15315/18017)
Updating files: 86% (15495/18017)
Updating files: 87% (15675/18017)
Updating files: 88% (15855/18017)
Updating files: 89% (16036/18017)
Updating files: 90% (16216/18017)
Updating files: 91% (16396/18017)
Updating files: 92% (16576/18017)
Updating files: 93% (16756/18017)
Updating files: 94% (16936/18017)
Updating files: 95% (17117/18017)
Updating files: 96% (17297/18017)
Updating files: 97% (17477/18017)
Updating files: 98% (17657/18017)
Updating files: 99% (17837/18017)
Updating files: 100% (18017/18017)
Updating files: 100% (18017/18017), done.
HEAD is now at 5b99878077 Merge pull request #28318 from ocamllibs/metaquot-0.6.0
Updating 5b99878077..e2e946ed90
Fast-forward
.../chrome-trace/chrome-trace.3.20.0~alpha4/opam | 41 ++++++++++++
.../dune-action-plugin.3.20.0~alpha4/opam | 54 ++++++++++++++++
.../dune-build-info.3.20.0~alpha4/opam | 47 ++++++++++++++
.../dune-configurator.3.20.0~alpha4/opam | 51 +++++++++++++++
packages/dune-glob/dune-glob.3.20.0~alpha4/opam | 44 +++++++++++++
.../dune-private-libs.3.20.0~alpha4/opam | 52 +++++++++++++++
.../dune-rpc-lwt/dune-rpc-lwt.3.20.0~alpha4/opam | 43 +++++++++++++
packages/dune-rpc/dune-rpc.3.20.0~alpha4/opam | 46 ++++++++++++++
packages/dune-site/dune-site.3.20.0~alpha4/opam | 39 ++++++++++++
packages/dune/dune.3.20.0~alpha4/opam | 74 ++++++++++++++++++++++
packages/dyn/dyn.3.20.0~alpha4/opam | 42 ++++++++++++
packages/ocamlc-loc/ocamlc-loc.3.20.0~alpha4/opam | 45 +++++++++++++
packages/ordering/ordering.3.20.0~alpha4/opam | 40 ++++++++++++
packages/stdune/stdune.3.20.0~alpha4/opam | 46 ++++++++++++++
packages/xdg/xdg.3.20.0~alpha4/opam | 41 ++++++++++++
15 files changed, 705 insertions(+)
create mode 100644 packages/chrome-trace/chrome-trace.3.20.0~alpha4/opam
create mode 100644 packages/dune-action-plugin/dune-action-plugin.3.20.0~alpha4/opam
create mode 100644 packages/dune-build-info/dune-build-info.3.20.0~alpha4/opam
create mode 100644 packages/dune-configurator/dune-configurator.3.20.0~alpha4/opam
create mode 100644 packages/dune-glob/dune-glob.3.20.0~alpha4/opam
create mode 100644 packages/dune-private-libs/dune-private-libs.3.20.0~alpha4/opam
create mode 100644 packages/dune-rpc-lwt/dune-rpc-lwt.3.20.0~alpha4/opam
create mode 100644 packages/dune-rpc/dune-rpc.3.20.0~alpha4/opam
create mode 100644 packages/dune-site/dune-site.3.20.0~alpha4/opam
create mode 100644 packages/dune/dune.3.20.0~alpha4/opam
create mode 100644 packages/dyn/dyn.3.20.0~alpha4/opam
create mode 100644 packages/ocamlc-loc/ocamlc-loc.3.20.0~alpha4/opam
create mode 100644 packages/ordering/ordering.3.20.0~alpha4/opam
create mode 100644 packages/stdune/stdune.3.20.0~alpha4/opam
create mode 100644 packages/xdg/xdg.3.20.0~alpha4/opam
(from ocaml/opam:debian-12-ocaml-4.14@sha256:b3b4d6d5643af6178c2c7da1f4185223f562d83280904781325cdf5798986a63)
2025-08-12 21:25.58 ---> using "7f53aba96fd697ea92c7c7d3f6be48133fa7f3f6538a693606c4cbcecd7917b8" from cache
/: (user (uid 1000) (gid 1000))
/: (workdir /home/opam)
/home/opam: (run (shell "sudo ln -f /usr/bin/opam-2.3 /usr/bin/opam"))
2025-08-12 21:25.58 ---> using "e4ec4ab2139d3c4a94c2b5470fe84288e4986c518ff4f4ae2d7c7e30aeac0731" 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.
Continue? [y/n] y
This development 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.
Format upgrade done.
<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] Initialised
2025-08-12 21:25.58 ---> using "707659fd6393183061072104f3ce800d69d94ba93e0f39ab380130268d0ee81e" 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.3.0 (35acd0c5abc5e66cdbd5be16ba77aa6c33a4c724)
# self-upgrade no
# system arch=x86_64 os=linux os-distribution=debian os-version=12
# 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 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-08-12 21:25.58 ---> using "3ec3067d40f73cc0ec4554b242939c55b0261973e091b54a647662451dc49933" 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-08-12 21:25.58 ---> using "376e3b49c8c08cb1ff0d45feb403c06e037d8df5800c560fdd8dd472f1e36b9a" from cache
/home/opam: (copy (src .) (dst opam-repository/))
2025-08-12 21:25.59 ---> using "e17457918b8520f1cc4845647d0b13a39117eff71b59a3c5352a8dccd3e736a1" from cache
/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2025-08-12 21:25.59 ---> using "a9c87a01beb7b470788e26aa155c7a9aa4fe1265c42bbb2e46588f264ba6e313" from cache
/home/opam: (run (network host)
(shell "opam update --depexts || true"))
+ /usr/bin/sudo "apt-get" "update"
- Get:1 http://deb.debian.org/debian bookworm InRelease [151 kB]
- Get:2 http://deb.debian.org/debian bookworm-updates InRelease [55.4 kB]
- Get:3 http://deb.debian.org/debian-security bookworm-security InRelease [48.0 kB]
- Get:4 http://deb.debian.org/debian bookworm-updates/main amd64 Packages.diff/Index [21.8 kB]
- Ign:4 http://deb.debian.org/debian bookworm-updates/main amd64 Packages.diff/Index
- Get:5 http://deb.debian.org/debian bookworm-updates/main amd64 Packages [6924 B]
- Get:6 http://deb.debian.org/debian-security bookworm-security/main amd64 Packages [272 kB]
- Fetched 555 kB in 0s (1289 kB/s)
- Reading package lists...
-
2025-08-12 21:25.59 ---> using "4f267453f72fd37713de377ca2564e961df391a8a15b228dc4ea0efbc9db6963" from cache
/home/opam: (run (shell "opam pin add -k version -yn dune.3.20.0~alpha4 3.20.0~alpha4"))
dune is now pinned to version 3.20.0~alpha4
2025-08-12 21:25.59 ---> using "d0d559b8464c3a1e20f8b5572aaf9064ec29fd9ff7cf39aecd1c3a72009a2248" from cache
/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall dune.3.20.0~alpha4;\
\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-12\\\"\"; 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.20.0~alpha4' && 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.20.0~alpha4 is not installed. Install it? [y/n] y
The following actions will be performed:
=== install 1 package
- install dune 3.20.0~alpha4 (pinned)
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved dune.3.20.0~alpha4 (cached)
-> installed dune.3.20.0~alpha4
Done.
# To update the current shell environment, run: eval $(opam env)
2025-08-12 21:25.59 ---> using "931361170f901e9fbbbdcd0df6be77ceb7cde9d0ee367b0395427635cd735e4a" from cache
/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall postgresql.4.4.2;\
\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-12\\\"\"; 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.2' && 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.2 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.20.0~alpha4 [required by postgresql]
- install ocamlfind 1.9.8 [required by base-bytes]
- install postgresql 4.4.2
- 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"
- debconf: delaying package configuration, since apt-utils is not installed
- (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 ... 18747 files and directories currently installed.)
- Preparing to unpack .../libssl3_3.0.17-1~deb12u2_amd64.deb ...
- Unpacking libssl3:amd64 (3.0.17-1~deb12u2) over (3.0.16-1~deb12u1) ...
- Selecting previously unselected package libpq5:amd64.
- Preparing to unpack .../libpq5_15.13-0+deb12u1_amd64.deb ...
- Unpacking libpq5:amd64 (15.13-0+deb12u1) ...
- Selecting previously unselected package libssl-dev:amd64.
- Preparing to unpack .../libssl-dev_3.0.17-1~deb12u2_amd64.deb ...
- Unpacking libssl-dev:amd64 (3.0.17-1~deb12u2) ...
- Selecting previously unselected package libpq-dev.
- Preparing to unpack .../libpq-dev_15.13-0+deb12u1_amd64.deb ...
- Unpacking libpq-dev (15.13-0+deb12u1) ...
- Preparing to unpack .../openssl_3.0.17-1~deb12u2_amd64.deb ...
- Unpacking openssl (3.0.17-1~deb12u2) over (3.0.16-1~deb12u1) ...
- Setting up libssl3:amd64 (3.0.17-1~deb12u2) ...
- Setting up libpq5:amd64 (15.13-0+deb12u1) ...
- Setting up libssl-dev:amd64 (3.0.17-1~deb12u2) ...
- Setting up openssl (3.0.17-1~deb12u2) ...
- Setting up libpq-dev (15.13-0+deb12u1) ...
- Processing triggers for libc-bin (2.36-9+deb12u10) ...
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved base.v0.16.4 (cached)
-> retrieved csexp.1.5.2 (cached)
-> installed csexp.1.5.2
-> retrieved dune-configurator.3.20.0~alpha4 (cached)
-> retrieved ocamlfind.1.9.8 (cached)
-> retrieved postgresql.4.4.2 (cached)
-> retrieved sexplib0.v0.16.0 (cached)
-> retrieved stdio.v0.16.0 (cached)
-> installed sexplib0.v0.16.0
-> installed dune-configurator.3.20.0~alpha4
-> installed ocamlfind.1.9.8
-> installed base-bytes.base
-> installed base.v0.16.4
-> installed stdio.v0.16.0
-> installed postgresql.4.4.2
Done.
# To update the current shell environment, run: eval $(opam env)
2025-08-12 21:26.31 ---> saved as "f5f485ae282b9460c975a2bcf10d349c8dbdfd2c0d4e5847a75f95d275a89305"
/home/opam: (run (network host)
(shell "(opam reinstall --with-test postgresql.4.4.2) || true"))
The following actions will be performed:
=== recompile 1 package
- recompile postgresql 4.4.2
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved postgresql.4.4.2 (https://opam.ocaml.org/cache)
-> removed postgresql.4.4.2
-> installed postgresql.4.4.2
Done.
# To update the current shell environment, run: eval $(opam env)
2025-08-12 21:26.39 ---> saved as "6b69bd16529a9ec85ce93495c07a5020479216b9ceddd8771ec8029f525bbcf7"
/home/opam: (run (shell "opam reinstall --with-test --verbose postgresql.4.4.2;\
\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-12\\\"\"; 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.2' && 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.2
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
Processing 1/4: [postgresql.4.4.2: extract]
-> retrieved postgresql.4.4.2 (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/4.14/.opam-switch/build/postgresql.4.4.2)
- (cd _build/default && /home/opam/.opam/4.14/bin/ocamlc.opt -w -40 -g -bin-annot -I src/config/.discover.eobjs/byte -I /home/opam/.opam/4.14/lib/base -I /home/opam/.opam/4.14/lib/base/base_internalhash_types -I /home/opam/.opam/4.14/lib/base/caml -I /home/opam/.opam/4.14/lib/base/shadow_stdlib -I /home/opam/.opam/4.14/lib/csexp -I /home/opam/.opam/4.14/lib/dune-configurator -I /home/opam/.opam/4.14/lib/sexplib0 -I /home/opam/.opam/4.14/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-21:
- 50 | Caml.exit 1
- ^^^^^^^^^
- Alert deprecated: module Caml
- [since v0.16] use Stdlib instead of Caml
- (cd _build/default && /home/opam/.opam/4.14/bin/ocamlopt.opt -w -40 -g -O3 -I src/config/.discover.eobjs/byte -I src/config/.discover.eobjs/native -I /home/opam/.opam/4.14/lib/base -I /home/opam/.opam/4.14/lib/base/base_internalhash_types -I /home/opam/.opam/4.14/lib/base/caml -I /home/opam/.opam/4.14/lib/base/shadow_stdlib -I /home/opam/.opam/4.14/lib/csexp -I /home/opam/.opam/4.14/lib/dune-configurator -I /home/opam/.opam/4.14/lib/sexplib0 -I /home/opam/.opam/4.14/lib/stdio -intf-suffix .ml -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-21:
- 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 -pthread -fPIC -D_FILE_OFFSET_BITS=64 -I/usr/include/postgresql -DPG_OCAML_MAJOR_VERSION=15 -DPG_OCAML_MINOR_VERSION=13 -g -O2 -fPIC -DPIC -g -I /home/opam/.opam/4.14/lib/ocaml -I /home/opam/.opam/4.14/lib/ocaml/threads -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/4.14/lib/ocaml/caml/mlvalues.h:290:24: warning: passing argument 1 of 'memcpy' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
- 290 | #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/4.14/lib/ocaml/caml/mlvalues.h:290:24: warning: passing argument 1 of 'memcpy' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
- 290 | #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/4.14/lib/ocaml/caml/mlvalues.h:290:24: warning: passing argument 2 of 'decode_bytea_hex' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
- 290 | #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/4.14/lib/ocaml/caml/mlvalues.h:290:24: warning: passing argument 1 of 'memcpy' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
- 290 | #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/4.14/lib/ocaml/caml/mlvalues.h:290:24: warning: passing argument 1 of 'memcpy' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
- 290 | #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/4.14/lib/ocaml/caml/mlvalues.h:290:24: warning: passing argument 1 of 'memcpy' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
- 290 | #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/4.14/lib/ocaml/caml/mlvalues.h:290:24: warning: passing argument 2 of 'decode_bytea_hex' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
- 290 | #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:488:52: note: expected 'char *' but argument is of type 'const char *'
- 488 | 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.2
-> removed postgresql.4.4.2
-> installed postgresql.4.4.2
Done.
# To update the current shell environment, run: eval $(opam env)
2025-08-12 21:26.46 ---> saved as "8a6ddfc9a8ff78ade774a8577a76610fb295f4d8718ba3fd0709f3f808fa33f5"
Job succeeded
2025-08-12 21:27.34: Job succeeded