(for PR #27865)

2025-05-15 13:51.56: New job: build conf-mariadb.2, using opam 2.3
                              from https://github.com/ocaml/opam-repository.git#refs/pull/27865/head (0af3387cfd771bb24a046c8cfc04cfede1c22f1a)
                              on ubuntu-20.04-ocaml-5.3/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/27865/head" && git reset --hard 0af3387c
git fetch origin master
git merge --no-edit 8efeb9aa265b6d2d4fa7cb352b4e4e94a93ab845
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:ubuntu-20.04-ocaml-5.3@sha256:4aaf1572290f17cb9905e9c3528903773ffba630cd263bb26204acee3ce1c050
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 conf-mariadb.2 2
RUN opam reinstall conf-mariadb.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 "\"ubuntu-20.04\""; then \
    echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
    fi; \
    test "$pkg" != 'conf-mariadb.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-05-15 13:51.56: Using cache hint "ocaml/opam:ubuntu-20.04-ocaml-5.3@sha256:4aaf1572290f17cb9905e9c3528903773ffba630cd263bb26204acee3ce1c050-conf-mariadb.2-0af3387cfd771bb24a046c8cfc04cfede1c22f1a"
2025-05-15 13:51.56: Using OBuilder spec:
((from ocaml/opam:ubuntu-20.04-ocaml-5.3@sha256:4aaf1572290f17cb9905e9c3528903773ffba630cd263bb26204acee3ce1c050)
 (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 conf-mariadb.2 2"))
 (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
      (network host)
      (shell  "opam reinstall conf-mariadb.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 \"\\\"ubuntu-20.04\\\"\"; then\
             \n            echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
             \n          fi;\
             \n          test \"$pkg\" != 'conf-mariadb.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-05-15 13:51.56: Connecting to build cluster…
2025-05-15 13:51.56: Waiting for resource in pool OCluster
2025-05-15 13:52.01: Waiting for worker…
2025-05-15 14:03.16: Got resource from pool OCluster
Building on asteria.caelum.ci.dev
All commits already cached
Updating files:  97% (22477/23038)
Updating files:  98% (22578/23038)
Updating files:  99% (22808/23038)
Updating files: 100% (23038/23038)
Updating files: 100% (23038/23038), done.
HEAD is now at 8efeb9aa26 Merge pull request #27768 from recoules/release-bitwuzla-cxx-0.7.0
Merge made by the 'ort' strategy.
 packages/conf-mariadb/conf-mariadb.2/opam | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

(from ocaml/opam:ubuntu-20.04-ocaml-5.3@sha256:4aaf1572290f17cb9905e9c3528903773ffba630cd263bb26204acee3ce1c050)
2025-05-15 13:57.03 ---> saved as "7110bfad8d14609f1284af406ff51dc253194cb106ae0d9c61fc122e1824a4ff"

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

/: (workdir /home/opam)

/home/opam: (run (shell "sudo ln -f /usr/bin/opam-2.3 /usr/bin/opam"))
2025-05-15 13:57.03 ---> saved as "fef9b946fbe610f09343345afcc704f33b80109ad827d728aab5c15da48cfc91"

/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.

[NOTE] The 'jobs' option was reset, its value was 31 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=31 --global
Format upgrade done.

<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] Initialised
2025-05-15 13:57.44 ---> saved as "3a2c75864da343a018d7573cde1970150aef90318db189f4cce2f4aa34bdf909"

/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=ubuntu os-version=20.04
# 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       5.3
# invariant            ["ocaml-base-compiler" {>= "5.3.0"}]
# compiler-packages    ocaml-base-compiler.5.3.0, ocaml-compiler.5.3.0, ocaml-options-vanilla.1
# ocaml:native         true
# ocaml:native-tools   true
# ocaml:native-dynlink true
# ocaml:stubsdir       /home/opam/.opam/5.3/lib/ocaml/stublibs:/home/opam/.opam/5.3/lib/ocaml
# ocaml:preinstalled   false
# ocaml:compiler       5.3.0
2025-05-15 13:57.46 ---> saved as "92312a4a641c7ff286f1967581dac78f0420486f5ca8f3feb71c237069538be2"

/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-05-15 13:58.10 ---> saved as "e99584497440c376c9207345d6b0773f8eaaf7e0d0a6b88d676b892353a8f2d4"

/home/opam: (copy (src .) (dst opam-repository/))
2025-05-15 13:59.16 ---> saved as "6d8ede971ad557a0c3bec9f585dcde017778bad5b0e3fce2c7c410915f336697"

/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2025-05-15 13:59.44 ---> saved as "bd6f1743b7100c11148fcdd709b85f0c74aa9d5a3c24e6192597745c32c3e184"

/home/opam: (run (network host)
                 (shell "opam update --depexts || true"))
+ /usr/bin/sudo "apt-get" "update"
- Hit:1 http://archive.ubuntu.com/ubuntu focal InRelease
- Get:2 http://security.ubuntu.com/ubuntu focal-security InRelease [128 kB]
- Get:3 http://archive.ubuntu.com/ubuntu focal-updates InRelease [128 kB]
- Get:4 http://archive.ubuntu.com/ubuntu focal-backports InRelease [128 kB]
- Get:5 http://security.ubuntu.com/ubuntu focal-security/main amd64 Packages [4396 kB]
- Get:6 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 Packages [4903 kB]
- Get:7 http://security.ubuntu.com/ubuntu focal-security/universe amd64 Packages [1308 kB]
- Get:8 http://archive.ubuntu.com/ubuntu focal-updates/universe amd64 Packages [1599 kB]
- Get:9 http://archive.ubuntu.com/ubuntu focal-updates/restricted amd64 Packages [4971 kB]
- Fetched 17.6 MB in 2s (7279 kB/s)
- Reading package lists...
- 
2025-05-15 13:59.48 ---> saved as "4aa48ccb7c43c64b496c06b73b356f187e0aa2897d49b7b39f61e1b0d31b5530"

/home/opam: (run (shell "opam pin add -k version -yn conf-mariadb.2 2"))
conf-mariadb is now pinned to version 2
2025-05-15 13:59.48 ---> saved as "aff90fa86dd10c7649d32b518280f207eda93755abc2e4f15a79e4ca370c7f5c"

/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
                 (network host)
                 (shell  "opam reinstall conf-mariadb.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 \"\\\"ubuntu-20.04\\\"\"; then\
                        \n            echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
                        \n          fi;\
                        \n          test \"$pkg\" != 'conf-mariadb.2' && partial_fails=\"$partial_fails $pkg\";\
                        \n        done;\
                        \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
                        \n        exit 1"))
conf-mariadb.2 is not installed. Install it? [y/n] y
The following actions will be performed:
=== install 2 packages
  - install conf-mariadb    2 (pinned)
  - install conf-pkg-config 4          [required by conf-mariadb]

The following system packages will first need to be installed:
    libmariadb-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" "libmariadb-dev" "pkg-config"
- debconf: delaying package configuration, since apt-utils is not installed
- Selecting previously unselected package libglib2.0-0: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 ... 14727 files and directories currently installed.)
- Preparing to unpack .../00-libglib2.0-0_2.64.6-1~ubuntu20.04.8_amd64.deb ...
- Unpacking libglib2.0-0:amd64 (2.64.6-1~ubuntu20.04.8) ...
- Selecting previously unselected package libglib2.0-data.
- Preparing to unpack .../01-libglib2.0-data_2.64.6-1~ubuntu20.04.8_all.deb ...
- Unpacking libglib2.0-data (2.64.6-1~ubuntu20.04.8) ...
- Selecting previously unselected package tzdata.
- Preparing to unpack .../02-tzdata_2025b-0ubuntu0.20.04_all.deb ...
- Unpacking tzdata (2025b-0ubuntu0.20.04) ...
- Selecting previously unselected package libicu66:amd64.
- Preparing to unpack .../03-libicu66_66.1-2ubuntu2.1_amd64.deb ...
- Unpacking libicu66:amd64 (66.1-2ubuntu2.1) ...
- Selecting previously unselected package libxml2:amd64.
- Preparing to unpack .../04-libxml2_2.9.10+dfsg-5ubuntu0.20.04.10_amd64.deb ...
- Unpacking libxml2:amd64 (2.9.10+dfsg-5ubuntu0.20.04.10) ...
- Selecting previously unselected package shared-mime-info.
- Preparing to unpack .../05-shared-mime-info_1.15-1_amd64.deb ...
- Unpacking shared-mime-info (1.15-1) ...
- Selecting previously unselected package xdg-user-dirs.
- Preparing to unpack .../06-xdg-user-dirs_0.17-2ubuntu1_amd64.deb ...
- Unpacking xdg-user-dirs (0.17-2ubuntu1) ...
- Selecting previously unselected package libevent-2.1-7:amd64.
- Preparing to unpack .../07-libevent-2.1-7_2.1.11-stable-1_amd64.deb ...
- Unpacking libevent-2.1-7:amd64 (2.1.11-stable-1) ...
- Selecting previously unselected package libgmpxx4ldbl:amd64.
- Preparing to unpack .../08-libgmpxx4ldbl_2%3a6.2.0+dfsg-4ubuntu0.1_amd64.deb ...
- Unpacking libgmpxx4ldbl:amd64 (2:6.2.0+dfsg-4ubuntu0.1) ...
- Selecting previously unselected package libgmp-dev:amd64.
- Preparing to unpack .../09-libgmp-dev_2%3a6.2.0+dfsg-4ubuntu0.1_amd64.deb ...
- Unpacking libgmp-dev:amd64 (2:6.2.0+dfsg-4ubuntu0.1) ...
- Selecting previously unselected package libgnutls-openssl27:amd64.
- Preparing to unpack .../10-libgnutls-openssl27_3.6.13-2ubuntu1.12_amd64.deb ...
- Unpacking libgnutls-openssl27:amd64 (3.6.13-2ubuntu1.12) ...
- Selecting previously unselected package libunbound8:amd64.
- Preparing to unpack .../11-libunbound8_1.9.4-2ubuntu1.11_amd64.deb ...
- Unpacking libunbound8:amd64 (1.9.4-2ubuntu1.11) ...
- Selecting previously unselected package libgnutls-dane0:amd64.
- Preparing to unpack .../12-libgnutls-dane0_3.6.13-2ubuntu1.12_amd64.deb ...
- Unpacking libgnutls-dane0:amd64 (3.6.13-2ubuntu1.12) ...
- Selecting previously unselected package libgnutlsxx28:amd64.
- Preparing to unpack .../13-libgnutlsxx28_3.6.13-2ubuntu1.12_amd64.deb ...
- Unpacking libgnutlsxx28:amd64 (3.6.13-2ubuntu1.12) ...
- Selecting previously unselected package libidn2-dev:amd64.
- Preparing to unpack .../14-libidn2-dev_2.2.0-2_amd64.deb ...
- Unpacking libidn2-dev:amd64 (2.2.0-2) ...
- Selecting previously unselected package libp11-kit-dev:amd64.
- Preparing to unpack .../15-libp11-kit-dev_0.23.20-1ubuntu0.1_amd64.deb ...
- Unpacking libp11-kit-dev:amd64 (0.23.20-1ubuntu0.1) ...
- Selecting previously unselected package libtasn1-6-dev:amd64.
- Preparing to unpack .../16-libtasn1-6-dev_4.16.0-2ubuntu0.1_amd64.deb ...
- Unpacking libtasn1-6-dev:amd64 (4.16.0-2ubuntu0.1) ...
- Selecting previously unselected package nettle-dev:amd64.
- Preparing to unpack .../17-nettle-dev_3.5.1+really3.5.1-2ubuntu0.2_amd64.deb ...
- Unpacking nettle-dev:amd64 (3.5.1+really3.5.1-2ubuntu0.2) ...
- Selecting previously unselected package libgnutls28-dev:amd64.
- Preparing to unpack .../18-libgnutls28-dev_3.6.13-2ubuntu1.12_amd64.deb ...
- Unpacking libgnutls28-dev:amd64 (3.6.13-2ubuntu1.12) ...
- Selecting previously unselected package mysql-common.
- Preparing to unpack .../19-mysql-common_5.8+1.0.5ubuntu2_all.deb ...
- Unpacking mysql-common (5.8+1.0.5ubuntu2) ...
- Selecting previously unselected package mariadb-common.
- Preparing to unpack .../20-mariadb-common_1%3a10.3.39-0ubuntu0.20.04.2_all.deb ...
- Unpacking mariadb-common (1:10.3.39-0ubuntu0.20.04.2) ...
- Selecting previously unselected package libmariadb3:amd64.
- Preparing to unpack .../21-libmariadb3_1%3a10.3.39-0ubuntu0.20.04.2_amd64.deb ...
- Unpacking libmariadb3:amd64 (1:10.3.39-0ubuntu0.20.04.2) ...
- Selecting previously unselected package zlib1g-dev:amd64.
- Preparing to unpack .../22-zlib1g-dev_1%3a1.2.11.dfsg-2ubuntu1.5_amd64.deb ...
- Unpacking zlib1g-dev:amd64 (1:1.2.11.dfsg-2ubuntu1.5) ...
- Selecting previously unselected package libmariadb-dev.
- Preparing to unpack .../23-libmariadb-dev_1%3a10.3.39-0ubuntu0.20.04.2_amd64.deb ...
- Unpacking libmariadb-dev (1:10.3.39-0ubuntu0.20.04.2) ...
- Selecting previously unselected package pkg-config.
- Preparing to unpack .../24-pkg-config_0.29.1-0ubuntu4_amd64.deb ...
- Unpacking pkg-config (0.29.1-0ubuntu4) ...
- Selecting previously unselected package libtasn1-doc.
- Preparing to unpack .../25-libtasn1-doc_4.16.0-2ubuntu0.1_all.deb ...
- Unpacking libtasn1-doc (4.16.0-2ubuntu0.1) ...
- Setting up mysql-common (5.8+1.0.5ubuntu2) ...
- update-alternatives: using /etc/mysql/my.cnf.fallback to provide /etc/mysql/my.cnf (my.cnf) in auto mode
- Setting up libgnutls-openssl27:amd64 (3.6.13-2ubuntu1.12) ...
- Setting up xdg-user-dirs (0.17-2ubuntu1) ...
- Setting up libglib2.0-0:amd64 (2.64.6-1~ubuntu20.04.8) ...
- No schema files found: doing nothing.
- Setting up libtasn1-doc (4.16.0-2ubuntu0.1) ...
- Setting up tzdata (2025b-0ubuntu0.20.04) ...
- 
- Current default time zone: 'Europe/London'
- Local time is now:      Thu May 15 14:59:57 BST 2025.
- Universal Time is now:  Thu May 15 13:59:57 UTC 2025.
- Run 'dpkg-reconfigure tzdata' if you wish to change it.
- 
- Setting up mariadb-common (1:10.3.39-0ubuntu0.20.04.2) ...
- update-alternatives: using /etc/mysql/mariadb.cnf to provide /etc/mysql/my.cnf (my.cnf) in auto mode
- Setting up libglib2.0-data (2.64.6-1~ubuntu20.04.8) ...
- Setting up libgmpxx4ldbl:amd64 (2:6.2.0+dfsg-4ubuntu0.1) ...
- Setting up libevent-2.1-7:amd64 (2.1.11-stable-1) ...
- Setting up pkg-config (0.29.1-0ubuntu4) ...
- Setting up libmariadb3:amd64 (1:10.3.39-0ubuntu0.20.04.2) ...
- Setting up libgnutlsxx28:amd64 (3.6.13-2ubuntu1.12) ...
- Setting up libidn2-dev:amd64 (2.2.0-2) ...
- Setting up zlib1g-dev:amd64 (1:1.2.11.dfsg-2ubuntu1.5) ...
- Setting up libtasn1-6-dev:amd64 (4.16.0-2ubuntu0.1) ...
- Setting up libp11-kit-dev:amd64 (0.23.20-1ubuntu0.1) ...
- Setting up libgmp-dev:amd64 (2:6.2.0+dfsg-4ubuntu0.1) ...
- Setting up nettle-dev:amd64 (3.5.1+really3.5.1-2ubuntu0.2) ...
- Setting up libicu66:amd64 (66.1-2ubuntu2.1) ...
- Setting up libunbound8:amd64 (1.9.4-2ubuntu1.11) ...
- Setting up libxml2:amd64 (2.9.10+dfsg-5ubuntu0.20.04.10) ...
- Setting up libgnutls-dane0:amd64 (3.6.13-2ubuntu1.12) ...
- Setting up shared-mime-info (1.15-1) ...
- Setting up libgnutls28-dev:amd64 (3.6.13-2ubuntu1.12) ...
- Setting up libmariadb-dev (1:10.3.39-0ubuntu0.20.04.2) ...
- Processing triggers for libc-bin (2.31-0ubuntu9.17) ...

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> installed conf-pkg-config.4
-> installed conf-mariadb.2
Done.
# To update the current shell environment, run: eval $(opam env)
2025-05-15 14:00.00 ---> saved as "d42f2d16b49e012ba673a26b02c62fd60eb5a328295827184475b93b2022d8cd"
Job succeeded
2025-05-15 14:03.18: Job succeeded