- github
- ocaml
- opam-repository
- 45a900
- compilers,4.14,dune-configurator.3.18.1,revdeps,mysql_protocol.3.0.2
(not at the head of any monitored branch or PR)
2025-04-15 16:16.55: New job: test mysql_protocol.3.0.2 with dune-configurator.3.18.1, using opam 2.3
from https://github.com/ocaml/opam-repository.git#refs/pull/27761/head (45a9003972a4bc10898d8844bef612e0e0029914)
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/27761/head" && git reset --hard 45a90039
git fetch origin master
git merge --no-edit 70b82be6e261da74b766f9bb1344a1ecd5b1909d
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-12-ocaml-4.14@sha256:ec682473bce2c2c47749ae1025968d0b585bdde0fcd2b8e7871a79f983cc1050
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-configurator.3.18.1 3.18.1
RUN opam reinstall dune-configurator.3.18.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-12\""; then \
echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
fi; \
test "$pkg" != 'dune-configurator.3.18.1' && partial_fails="$partial_fails $pkg"; \
done; \
test "${partial_fails}" != "" && echo "opam-repo-ci detected dependencies failing: ${partial_fails}"; \
exit 1
RUN opam reinstall mysql_protocol.3.0.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" != 'mysql_protocol.3.0.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 mysql_protocol.3.0.2) || true
RUN opam reinstall --with-test --verbose mysql_protocol.3.0.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" != 'mysql_protocol.3.0.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-04-15 16:16.55: Using cache hint "ocaml/opam:debian-12-ocaml-4.14@sha256:ec682473bce2c2c47749ae1025968d0b585bdde0fcd2b8e7871a79f983cc1050-dune-configurator.3.18.1-mysql_protocol.3.0.2-45a9003972a4bc10898d8844bef612e0e0029914"
2025-04-15 16:16.55: Using OBuilder spec:
((from ocaml/opam:debian-12-ocaml-4.14@sha256:ec682473bce2c2c47749ae1025968d0b585bdde0fcd2b8e7871a79f983cc1050)
(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-configurator.3.18.1 3.18.1"))
(run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall dune-configurator.3.18.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-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-configurator.3.18.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 (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall mysql_protocol.3.0.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\" != 'mysql_protocol.3.0.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 mysql_protocol.3.0.2) || true"))
(run (shell "opam reinstall --with-test --verbose mysql_protocol.3.0.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\" != 'mysql_protocol.3.0.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-04-15 16:16.55: Waiting for resource in pool OCluster
2025-04-15 20:38.56: Waiting for worker…
2025-04-15 20:41.14: Got resource from pool OCluster
Building on x86-bm-c8.sw.ocaml.org
All commits already cached
Updating files: 66% (15225/22880)
Updating files: 67% (15330/22880)
Updating files: 68% (15559/22880)
Updating files: 69% (15788/22880)
Updating files: 70% (16016/22880)
Updating files: 71% (16245/22880)
Updating files: 72% (16474/22880)
Updating files: 73% (16703/22880)
Updating files: 74% (16932/22880)
Updating files: 75% (17160/22880)
Updating files: 76% (17389/22880)
Updating files: 77% (17618/22880)
Updating files: 78% (17847/22880)
Updating files: 79% (18076/22880)
Updating files: 80% (18304/22880)
Updating files: 81% (18533/22880)
Updating files: 82% (18762/22880)
Updating files: 83% (18991/22880)
Updating files: 84% (19220/22880)
Updating files: 85% (19448/22880)
Updating files: 86% (19677/22880)
Updating files: 87% (19906/22880)
Updating files: 88% (20135/22880)
Updating files: 89% (20364/22880)
Updating files: 90% (20592/22880)
Updating files: 91% (20821/22880)
Updating files: 92% (21050/22880)
Updating files: 93% (21279/22880)
Updating files: 94% (21508/22880)
Updating files: 95% (21736/22880)
Updating files: 96% (21965/22880)
Updating files: 97% (22194/22880)
Updating files: 98% (22423/22880)
Updating files: 99% (22652/22880)
Updating files: 100% (22880/22880)
Updating files: 100% (22880/22880), done.
HEAD is now at 70b82be6e2 Merge pull request #27756 from chetmurthy/release-camlp5-8.03.04
Updating 70b82be6e2..45a9003972
Fast-forward
packages/chrome-trace/chrome-trace.3.18.1/opam | 41 ++++++++++++
.../dune-action-plugin.3.18.1/opam | 54 ++++++++++++++++
.../dune-build-info/dune-build-info.3.18.1/opam | 47 ++++++++++++++
.../dune-configurator.3.18.1/opam | 51 +++++++++++++++
packages/dune-glob/dune-glob.3.18.1/opam | 44 +++++++++++++
.../dune-private-libs.3.18.1/opam | 52 +++++++++++++++
packages/dune-rpc-lwt/dune-rpc-lwt.3.18.1/opam | 43 +++++++++++++
packages/dune-rpc/dune-rpc.3.18.1/opam | 45 +++++++++++++
packages/dune-site/dune-site.3.18.1/opam | 39 ++++++++++++
packages/dune/dune.3.18.1/opam | 73 ++++++++++++++++++++++
packages/dyn/dyn.3.18.1/opam | 42 +++++++++++++
packages/ocamlc-loc/ocamlc-loc.3.18.1/opam | 45 +++++++++++++
packages/ordering/ordering.3.18.1/opam | 40 ++++++++++++
packages/stdune/stdune.3.18.1/opam | 46 ++++++++++++++
packages/xdg/xdg.3.18.1/opam | 41 ++++++++++++
15 files changed, 703 insertions(+)
create mode 100644 packages/chrome-trace/chrome-trace.3.18.1/opam
create mode 100644 packages/dune-action-plugin/dune-action-plugin.3.18.1/opam
create mode 100644 packages/dune-build-info/dune-build-info.3.18.1/opam
create mode 100644 packages/dune-configurator/dune-configurator.3.18.1/opam
create mode 100644 packages/dune-glob/dune-glob.3.18.1/opam
create mode 100644 packages/dune-private-libs/dune-private-libs.3.18.1/opam
create mode 100644 packages/dune-rpc-lwt/dune-rpc-lwt.3.18.1/opam
create mode 100644 packages/dune-rpc/dune-rpc.3.18.1/opam
create mode 100644 packages/dune-site/dune-site.3.18.1/opam
create mode 100644 packages/dune/dune.3.18.1/opam
create mode 100644 packages/dyn/dyn.3.18.1/opam
create mode 100644 packages/ocamlc-loc/ocamlc-loc.3.18.1/opam
create mode 100644 packages/ordering/ordering.3.18.1/opam
create mode 100644 packages/stdune/stdune.3.18.1/opam
create mode 100644 packages/xdg/xdg.3.18.1/opam
(from ocaml/opam:debian-12-ocaml-4.14@sha256:ec682473bce2c2c47749ae1025968d0b585bdde0fcd2b8e7871a79f983cc1050)
Unable to find image 'ocaml/opam:debian-12-ocaml-4.14@sha256:ec682473bce2c2c47749ae1025968d0b585bdde0fcd2b8e7871a79f983cc1050' locally
docker.io/ocaml/opam@sha256:ec682473bce2c2c47749ae1025968d0b585bdde0fcd2b8e7871a79f983cc1050: Pulling from ocaml/opam
a4f7493ab979: Pulling fs layer
a4f7493ab979: Verifying Checksum
a4f7493ab979: Download complete
a4f7493ab979: Pull complete
Digest: sha256:ec682473bce2c2c47749ae1025968d0b585bdde0fcd2b8e7871a79f983cc1050
Status: Downloaded newer image for ocaml/opam@sha256:ec682473bce2c2c47749ae1025968d0b585bdde0fcd2b8e7871a79f983cc1050
2025-04-15 20:41.17 ---> using "c803204894feb69882c6f8a93debc38d237226aa0742423bb8ecaf2af7ff192b" 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-04-15 20:41.17 ---> using "ece3a69ccd84d1bc3f538d5d927c0677b7135e0ed5c5cf4c9c4520c17f38358a" 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 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.
Continue? [y/n] y
[NOTE] The 'jobs' option was reset, its value was 39 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=39 --global
Format upgrade done.
<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] Initialised
2025-04-15 20:41.17 ---> using "d5e769d11ef10526cdb73f418d047f005a7a5b69bb629bfc2d2d388c7c8b8cdf" 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 31
# 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-04-15 20:41.17 ---> using "715b54b0301c5ea573dce9ba6774fadf0f93b64dc7a24253bfe6c76c219d7da5" 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-04-15 20:41.17 ---> using "2963a137c235cb1efcbb6bb5c962ec263787dd9c8275045ae610283ae366c13d" from cache
/home/opam: (copy (src .) (dst opam-repository/))
2025-04-15 20:41.18 ---> using "c09bf3edab97cea63fa144e6f5ecf2869b6fb4925fdd1aac25138a67330f6681" from cache
/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2025-04-15 20:41.18 ---> using "1e72cc37196eed0f1745a95595b3baa136f4f1d0128340fbaf2f61ec1938d8f7" 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 bookworm InRelease
- 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-security bookworm-security/main amd64 Packages [254 kB]
- Fetched 357 kB in 0s (1176 kB/s)
- Reading package lists...
-
2025-04-15 20:41.18 ---> using "fe6517cd124df9c409c133b211b90144cf0d720f10758432d957d3f65248f412" from cache
/home/opam: (run (shell "opam pin add -k version -yn dune-configurator.3.18.1 3.18.1"))
dune-configurator is now pinned to version 3.18.1
2025-04-15 20:41.18 ---> using "a8df9e0660d0f90f84499b44ef14d60d58b0c716d72064b8f82219a302c13af6" from cache
/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall dune-configurator.3.18.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-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-configurator.3.18.1' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
dune-configurator.3.18.1 is not installed. Install it? [y/n] y
The following actions will be performed:
=== install 3 packages
- install csexp 1.5.2 [required by dune-configurator]
- install dune 3.18.1 [required by dune-configurator]
- install dune-configurator 3.18.1 (pinned)
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved csexp.1.5.2 (cached)
-> retrieved dune.3.18.1, dune-configurator.3.18.1 (cached)
-> installed dune.3.18.1
-> installed csexp.1.5.2
-> installed dune-configurator.3.18.1
Done.
# To update the current shell environment, run: eval $(opam env)
2025-04-15 20:41.18 ---> using "a78086b5bdca7d3054387bd9b97fe4704446fe590527fc2c96cb815b2805cdc8" from cache
/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
(network host)
(shell "opam reinstall mysql_protocol.3.0.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\" != 'mysql_protocol.3.0.2' && partial_fails=\"$partial_fails $pkg\";\
\n done;\
\n test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
\n exit 1"))
mysql_protocol.3.0.2 is not installed. Install it? [y/n] y
The following actions will be performed:
=== install 16 packages
- install bitstring 4.1.0 [required by mysql_protocol]
- install conf-gmp 5 [required by conf-gmp-powm-sec, zarith]
- install conf-gmp-powm-sec 4 [required by cryptokit]
- install conf-pkg-config 4 [required by conf-zlib, zarith]
- install conf-zlib 1 [required by cryptokit]
- install cryptokit 1.20 [required by mysql_protocol]
- install mysql_protocol 3.0.2
- install num 1.5-1 [required by mysql_protocol]
- install ocaml-compiler-libs v0.12.4 [required by ppxlib]
- install ocamlfind 1.9.8 [required by zarith]
- install ppx_bitstring 4.1.0 [required by mysql_protocol]
- install ppx_derivers 1.2.1 [required by ppxlib]
- install ppxlib 0.35.0 [required by ppx_bitstring]
- install sexplib0 v0.17.0 [required by ppxlib]
- install stdlib-shims 0.3.0 [required by bitstring]
- install zarith 1.14 [required by cryptokit]
The following system packages will first need to be installed:
libgmp-dev pkg-config zlib1g-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" "libgmp-dev" "pkg-config" "zlib1g-dev"
- debconf: delaying package configuration, since apt-utils is not installed
- Selecting previously unselected package libgmpxx4ldbl: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 ... 18747 files and directories currently installed.)
- Preparing to unpack .../0-libgmpxx4ldbl_2%3a6.2.1+dfsg1-1.1_amd64.deb ...
- Unpacking libgmpxx4ldbl:amd64 (2:6.2.1+dfsg1-1.1) ...
- Selecting previously unselected package libgmp-dev:amd64.
- Preparing to unpack .../1-libgmp-dev_2%3a6.2.1+dfsg1-1.1_amd64.deb ...
- Unpacking libgmp-dev:amd64 (2:6.2.1+dfsg1-1.1) ...
- Selecting previously unselected package libpkgconf3:amd64.
- Preparing to unpack .../2-libpkgconf3_1.8.1-1_amd64.deb ...
- Unpacking libpkgconf3:amd64 (1.8.1-1) ...
- Selecting previously unselected package pkgconf-bin.
- Preparing to unpack .../3-pkgconf-bin_1.8.1-1_amd64.deb ...
- Unpacking pkgconf-bin (1.8.1-1) ...
- Selecting previously unselected package pkgconf:amd64.
- Preparing to unpack .../4-pkgconf_1.8.1-1_amd64.deb ...
- Unpacking pkgconf:amd64 (1.8.1-1) ...
- Selecting previously unselected package pkg-config:amd64.
- Preparing to unpack .../5-pkg-config_1.8.1-1_amd64.deb ...
- Unpacking pkg-config:amd64 (1.8.1-1) ...
- Selecting previously unselected package zlib1g-dev:amd64.
- Preparing to unpack .../6-zlib1g-dev_1%3a1.2.13.dfsg-1_amd64.deb ...
- Unpacking zlib1g-dev:amd64 (1:1.2.13.dfsg-1) ...
- Setting up libpkgconf3:amd64 (1.8.1-1) ...
- Setting up libgmpxx4ldbl:amd64 (2:6.2.1+dfsg1-1.1) ...
- Setting up pkgconf-bin (1.8.1-1) ...
- Setting up zlib1g-dev:amd64 (1:1.2.13.dfsg-1) ...
- Setting up libgmp-dev:amd64 (2:6.2.1+dfsg1-1.1) ...
- Setting up pkgconf:amd64 (1.8.1-1) ...
- Setting up pkg-config:amd64 (1.8.1-1) ...
- Processing triggers for libc-bin (2.36-9+deb12u10) ...
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved bitstring.4.1.0, ppx_bitstring.4.1.0 (cached)
-> retrieved conf-gmp.5 (cached)
-> retrieved conf-gmp-powm-sec.4 (cached)
-> retrieved cryptokit.1.20 (cached)
-> installed conf-pkg-config.4
-> installed conf-gmp.5
-> installed conf-zlib.1
-> installed conf-gmp-powm-sec.4
-> retrieved mysql_protocol.3.0.2 (https://github.com/slegrand45/mysql_protocol/archive/3.0.2.tar.gz)
-> retrieved num.1.5-1 (cached)
-> retrieved ocaml-compiler-libs.v0.12.4 (cached)
-> retrieved ocamlfind.1.9.8 (cached)
-> retrieved ppx_derivers.1.2.1 (cached)
-> retrieved ppxlib.0.35.0 (cached)
-> retrieved sexplib0.v0.17.0 (cached)
-> retrieved stdlib-shims.0.3.0 (cached)
-> retrieved zarith.1.14 (cached)
-> installed ppx_derivers.1.2.1
-> installed stdlib-shims.0.3.0
-> installed sexplib0.v0.17.0
-> installed bitstring.4.1.0
-> installed ocaml-compiler-libs.v0.12.4
-> installed num.1.5-1
-> installed ocamlfind.1.9.8
-> installed zarith.1.14
-> installed cryptokit.1.20
-> installed ppxlib.0.35.0
-> installed ppx_bitstring.4.1.0
-> installed mysql_protocol.3.0.2
Done.
# To update the current shell environment, run: eval $(opam env)
2025-04-15 20:41.52 ---> saved as "b45a266046b0665b1ef1df1a1b9a1443c38b706f1b53e3c468dc93a30fa7787d"
/home/opam: (run (network host)
(shell "(opam reinstall --with-test mysql_protocol.3.0.2) || true"))
The following actions will be performed:
=== recompile 1 package
- recompile mysql_protocol 3.0.2
=== install 2 packages
- install ounit2 2.2.7 [required by mysql_protocol]
- install seq base [required by ounit2]
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved mysql_protocol.3.0.2 (https://github.com/slegrand45/mysql_protocol/archive/3.0.2.tar.gz)
-> retrieved ounit2.2.2.7 (https://github.com/gildor478/ounit/releases/download/v2.2.7/ounit-2.2.7.tbz)
-> retrieved seq.base (2 extra sources)
-> retrieved seq.base (2 extra sources)
-> removed mysql_protocol.3.0.2
-> installed seq.base
-> installed ounit2.2.2.7
-> installed mysql_protocol.3.0.2
Done.
# To update the current shell environment, run: eval $(opam env)
2025-04-15 20:42.03 ---> saved as "f46289bccf74deecbc162a82a580299ebbcc1bd1528fec401ec51382ba5de83c"
/home/opam: (run (shell "opam reinstall --with-test --verbose mysql_protocol.3.0.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\" != 'mysql_protocol.3.0.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 mysql_protocol 3.0.2
<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
Processing 1/4: [mysql_protocol.3.0.2: extract]
-> retrieved mysql_protocol.3.0.2 (cached)
Processing 2/4: [mysql_protocol: dune build]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "build" "-p" "mysql_protocol" "-j" "31" "@install" "@runtest" (CWD=/home/opam/.opam/4.14/.opam-switch/build/mysql_protocol.3.0.2)
- (cd _build/default && /home/opam/.opam/4.14/bin/ocamlc.opt -w -40 -g -bin-annot -I src/.mysql_protocol.objs/byte -I /home/opam/.opam/4.14/lib/bitstring -I /home/opam/.opam/4.14/lib/cryptokit -I /home/opam/.opam/4.14/lib/num -I /home/opam/.opam/4.14/lib/stdlib-shims -I /home/opam/.opam/4.14/lib/zarith -no-alias-deps -open Mysql_protocol -o src/.mysql_protocol.objs/byte/mysql_protocol__Mp_authentication.cmo -c -impl src/mp_authentication.pp.ml)
- File "src/mp_authentication.ml", line 16, characters 38-57:
- 16 | let hash s = Cryptokit.hash_string (Cryptokit.Hash.sha1()) s in
- ^^^^^^^^^^^^^^^^^^^
- Alert crypto: Cryptokit.Hash.sha1
- SHA1 is broken
- (cd _build/default && /home/opam/.opam/4.14/bin/ocamlc.opt -w -40 -g -bin-annot -I src/.mysql_protocol.objs/byte -I /home/opam/.opam/4.14/lib/bitstring -I /home/opam/.opam/4.14/lib/cryptokit -I /home/opam/.opam/4.14/lib/num -I /home/opam/.opam/4.14/lib/stdlib-shims -I /home/opam/.opam/4.14/lib/zarith -no-alias-deps -open Mysql_protocol -o src/.mysql_protocol.objs/byte/mysql_protocol__Mp_data_binary.cmo -c -impl src/mp_data_binary.pp.ml)
- File "src/mp_data_binary.ml", lines 99-268, characters 2-58:
- 99 | ..match field_type with
- 100 | (* /!\ : should not happen because null values are sent with the null bitfield *)
- 101 | | Mp_field_packet.Field_type_null -> Mp_data.data_null
- 102 | | Mp_field_packet.Field_type_longlong -> (
- 103 | match%bitstring v with
- ...
- 265 | | Mp_field_packet.Field_type_timestamp
- 266 | | Mp_field_packet.Field_type_date
- 267 | | Mp_field_packet.Field_type_time ->
- 268 | data_value_to_sql_value_date_time_types field_type v
- Warning 8 [partial-match]: this pattern-matching is not exhaustive.
- Here is an example of a case that is not matched:
- (Field_type_decimal|Field_type_newdate)
- (cd _build/default && /home/opam/.opam/4.14/bin/ocamlopt.opt -w -40 -g -I src/.mysql_protocol.objs/byte -I src/.mysql_protocol.objs/native -I /home/opam/.opam/4.14/lib/bitstring -I /home/opam/.opam/4.14/lib/cryptokit -I /home/opam/.opam/4.14/lib/num -I /home/opam/.opam/4.14/lib/stdlib-shims -I /home/opam/.opam/4.14/lib/zarith -intf-suffix .ml -no-alias-deps -open Mysql_protocol -o src/.mysql_protocol.objs/native/mysql_protocol__Mp_authentication.cmx -c -impl src/mp_authentication.pp.ml)
- File "src/mp_authentication.ml", line 16, characters 38-57:
- 16 | let hash s = Cryptokit.hash_string (Cryptokit.Hash.sha1()) s in
- ^^^^^^^^^^^^^^^^^^^
- Alert crypto: Cryptokit.Hash.sha1
- SHA1 is broken
- (cd _build/default && /home/opam/.opam/4.14/bin/ocamlopt.opt -w -40 -g -I src/.mysql_protocol.objs/byte -I src/.mysql_protocol.objs/native -I /home/opam/.opam/4.14/lib/bitstring -I /home/opam/.opam/4.14/lib/cryptokit -I /home/opam/.opam/4.14/lib/num -I /home/opam/.opam/4.14/lib/stdlib-shims -I /home/opam/.opam/4.14/lib/zarith -intf-suffix .ml -no-alias-deps -open Mysql_protocol -o src/.mysql_protocol.objs/native/mysql_protocol__Mp_data_binary.cmx -c -impl src/mp_data_binary.pp.ml)
- File "src/mp_data_binary.ml", lines 99-268, characters 2-58:
- 99 | ..match field_type with
- 100 | (* /!\ : should not happen because null values are sent with the null bitfield *)
- 101 | | Mp_field_packet.Field_type_null -> Mp_data.data_null
- 102 | | Mp_field_packet.Field_type_longlong -> (
- 103 | match%bitstring v with
- ...
- 265 | | Mp_field_packet.Field_type_timestamp
- 266 | | Mp_field_packet.Field_type_date
- 267 | | Mp_field_packet.Field_type_time ->
- 268 | data_value_to_sql_value_date_time_types field_type v
- Warning 8 [partial-match]: this pattern-matching is not exhaustive.
- Here is an example of a case that is not matched:
- (Field_type_decimal|Field_type_newdate)
-> compiled mysql_protocol.3.0.2
-> removed mysql_protocol.3.0.2
-> installed mysql_protocol.3.0.2
Done.
# To update the current shell environment, run: eval $(opam env)
2025-04-15 20:42.12 ---> saved as "29aec260f69d008cfa7e0ba1831bb03f66c1e678c676d9ec945b802a0bd5ebff"
Job succeeded
2025-04-15 20:42.16: Job succeeded