(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 debian-12-ocaml-5.3/s390x

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:debian-12-ocaml-5.3@sha256:4138fb8ffc0651348293b9dfbd540b27ad5f141e830952ca8680218af25fb163
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 "\"debian-12\""; 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:debian-12-ocaml-5.3@sha256:4138fb8ffc0651348293b9dfbd540b27ad5f141e830952ca8680218af25fb163-conf-mariadb.2-0af3387cfd771bb24a046c8cfc04cfede1c22f1a"
2025-05-15 13:51.56: Using OBuilder spec:
((from ocaml/opam:debian-12-ocaml-5.3@sha256:4138fb8ffc0651348293b9dfbd540b27ad5f141e830952ca8680218af25fb163)
 (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 \"\\\"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\" != '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.00: Waiting for worker…
2025-05-15 14:09.39: Got resource from pool OCluster
Building on s390x-worker-01.marist.ci.dev
All commits already cached
Updating files:  31% (7333/23038)
Updating files:  32% (7373/23038)
Updating files:  33% (7603/23038)
Updating files:  34% (7833/23038)
Updating files:  35% (8064/23038)
Updating files:  36% (8294/23038)
Updating files:  37% (8525/23038)
Updating files:  38% (8755/23038)
Updating files:  39% (8985/23038)
Updating files:  40% (9216/23038)
Updating files:  41% (9446/23038)
Updating files:  42% (9676/23038)
Updating files:  43% (9907/23038)
Updating files:  44% (10137/23038)
Updating files:  45% (10368/23038)
Updating files:  46% (10598/23038)
Updating files:  47% (10828/23038)
Updating files:  48% (11059/23038)
Updating files:  49% (11289/23038)
Updating files:  50% (11519/23038)
Updating files:  51% (11750/23038)
Updating files:  52% (11980/23038)
Updating files:  53% (12211/23038)
Updating files:  54% (12441/23038)
Updating files:  55% (12671/23038)
Updating files:  56% (12902/23038)
Updating files:  57% (13132/23038)
Updating files:  58% (13363/23038)
Updating files:  59% (13593/23038)
Updating files:  60% (13823/23038)
Updating files:  61% (14054/23038)
Updating files:  62% (14284/23038)
Updating files:  63% (14514/23038)
Updating files:  64% (14745/23038)
Updating files:  65% (14975/23038)
Updating files:  66% (15206/23038)
Updating files:  67% (15436/23038)
Updating files:  68% (15666/23038)
Updating files:  69% (15897/23038)
Updating files:  70% (16127/23038)
Updating files:  70% (16157/23038)
Updating files:  71% (16357/23038)
Updating files:  72% (16588/23038)
Updating files:  73% (16818/23038)
Updating files:  74% (17049/23038)
Updating files:  75% (17279/23038)
Updating files:  76% (17509/23038)
Updating files:  77% (17740/23038)
Updating files:  78% (17970/23038)
Updating files:  78% (18128/23038)
Updating files:  79% (18201/23038)
Updating files:  79% (18368/23038)
Updating files:  80% (18431/23038)
Updating files:  81% (18661/23038)
Updating files:  82% (18892/23038)
Updating files:  82% (18976/23038)
Updating files:  83% (19122/23038)
Updating files:  83% (19126/23038)
Updating files:  83% (19222/23038)
Updating files:  84% (19352/23038)
Updating files:  85% (19583/23038)
Updating files:  86% (19813/23038)
Updating files:  87% (20044/23038)
Updating files:  88% (20274/23038)
Updating files:  89% (20504/23038)
Updating files:  90% (20735/23038)
Updating files:  90% (20888/23038)
Updating files:  91% (20965/23038)
Updating files:  92% (21195/23038)
Updating files:  93% (21426/23038)
Updating files:  94% (21656/23038)
Updating files:  95% (21887/23038)
Updating files:  96% (22117/23038)
Updating files:  97% (22347/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:debian-12-ocaml-5.3@sha256:4138fb8ffc0651348293b9dfbd540b27ad5f141e830952ca8680218af25fb163)
Unable to find image 'ocaml/opam:debian-12-ocaml-5.3@sha256:4138fb8ffc0651348293b9dfbd540b27ad5f141e830952ca8680218af25fb163' locally
docker.io/ocaml/opam@sha256:4138fb8ffc0651348293b9dfbd540b27ad5f141e830952ca8680218af25fb163: Pulling from ocaml/opam
a5e7ec27bb28: Already exists
1a0a5e1ae837: Already exists
af5cbbca5a95: Already exists
e38b34443d5d: Already exists
6e118d4646e7: Already exists
772a298ca0a2: Already exists
3d4175a24c80: Already exists
934849f2d033: Already exists
53a641444425: Already exists
15d735fb1af2: Already exists
bec537f5413b: Already exists
d9da8ae6a8ab: Already exists
9e2bba1421b6: Already exists
73dff342593d: Already exists
cffcef3786c1: Already exists
1f29ff394d17: Already exists
290ee4e4e08b: Already exists
6c6c913d6376: Already exists
08dd7cf10b89: Already exists
a23c090c6420: Already exists
4f4fb700ef54: Already exists
2730820e2971: Already exists
b97e8fd89a0d: Already exists
3ccc56a83714: Already exists
348c052fbda1: Already exists
981024d3975f: Already exists
5de21fc49d0e: Already exists
ea4c40d04363: Already exists
308356ae1ebf: Already exists
aa560d2e1541: Already exists
f7b4bb836469: Already exists
9d7ef2ee0716: Already exists
ab70bd6b0f1d: Already exists
588bc858f107: Already exists
43a4fc81c76e: Already exists
7f8048c7e6ce: Already exists
fddea7f6c454: Already exists
5e5429890309: Already exists
b8cdb1e5be5b: Pulling fs layer
aa15d9771356: Pulling fs layer
94251e65e08a: Pulling fs layer
5d4fc8131623: Pulling fs layer
0e4cb004f22d: Pulling fs layer
86c31275926b: Pulling fs layer
ba4af9b05d37: Pulling fs layer
5d4fc8131623: Waiting
0e4cb004f22d: Waiting
86c31275926b: Waiting
ba4af9b05d37: Waiting
aa15d9771356: Verifying Checksum
aa15d9771356: Download complete
b8cdb1e5be5b: Verifying Checksum
b8cdb1e5be5b: Download complete
94251e65e08a: Download complete
0e4cb004f22d: Verifying Checksum
0e4cb004f22d: Download complete
b8cdb1e5be5b: Pull complete
86c31275926b: Verifying Checksum
86c31275926b: Download complete
ba4af9b05d37: Verifying Checksum
ba4af9b05d37: Download complete
aa15d9771356: Pull complete
94251e65e08a: Pull complete
5d4fc8131623: Verifying Checksum
5d4fc8131623: Download complete
5d4fc8131623: Pull complete
0e4cb004f22d: Pull complete
86c31275926b: Pull complete
ba4af9b05d37: Pull complete
Digest: sha256:4138fb8ffc0651348293b9dfbd540b27ad5f141e830952ca8680218af25fb163
Status: Downloaded newer image for ocaml/opam@sha256:4138fb8ffc0651348293b9dfbd540b27ad5f141e830952ca8680218af25fb163
2025-05-15 14:09.52 ---> using "75973b12e1ffbacb48415cf8b31d2c9fe848017645801a9e2b116ba83ba4b7e0" 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-05-15 14:09.52 ---> using "11336782875c328cfc99eab6f2756d63f1d3308a4c7de908b89487642d3ea399" 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
Format upgrade done.

<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] Initialised
2025-05-15 14:09.52 ---> using "30dc9dad1c402b5627852499d2a59b57dd36713bc9a7e955628ee8cebfa870d6" 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=s390x 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                 3
# 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 14:09.52 ---> using "57b78a2b56349f30aa5756dd817bd7ede89d5c474b889421f5a7b6a8d882c897" 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-05-15 14:09.52 ---> using "c1569b0f9bfde9ec1cb0af556187db96c0f7cc5c033bffbe556eef456a9127ba" from cache

/home/opam: (copy (src .) (dst opam-repository/))
2025-05-15 14:11.21 ---> saved as "862cb94b34bf3a1ce52451fcedab322528a0531082b9a41baac1f5f0b7f91b5c"

/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2025-05-15 14:14.03 ---> saved as "7a2478c027ab8cac28fd99a70b8bc53bc53e528c6e57f0819d1917428a1d71c7"

/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 s390x Packages [228 kB]
- Fetched 331 kB in 1s (341 kB/s)
- Reading package lists...
- 
2025-05-15 14:14.14 ---> saved as "a886dcb8a1a225c2fd84d1930ed14f6c2ed31f91ec4ab284c79318eb7fd3e71f"

/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 14:14.28 ---> saved as "8db873d076b89f8091fc6db90de5e9682716eb3acebd1cf732ebbb6b5fab7b6d"

/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 \"\\\"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\" != '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 mysql-common.
- (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 ... 18551 files and directories currently installed.)
- Preparing to unpack .../0-mysql-common_5.8+1.1.0_all.deb ...
- Unpacking mysql-common (5.8+1.1.0) ...
- Selecting previously unselected package mariadb-common.
- Preparing to unpack .../1-mariadb-common_1%3a10.11.11-0+deb12u1_all.deb ...
- Unpacking mariadb-common (1:10.11.11-0+deb12u1) ...
- Selecting previously unselected package libmariadb3:s390x.
- Preparing to unpack .../2-libmariadb3_1%3a10.11.11-0+deb12u1_s390x.deb ...
- Unpacking libmariadb3:s390x (1:10.11.11-0+deb12u1) ...
- Selecting previously unselected package libssl-dev:s390x.
- Preparing to unpack .../3-libssl-dev_3.0.15-1~deb12u1_s390x.deb ...
- Unpacking libssl-dev:s390x (3.0.15-1~deb12u1) ...
- Selecting previously unselected package zlib1g-dev:s390x.
- Preparing to unpack .../4-zlib1g-dev_1%3a1.2.13.dfsg-1_s390x.deb ...
- Unpacking zlib1g-dev:s390x (1:1.2.13.dfsg-1) ...
- Selecting previously unselected package libmariadb-dev.
- Preparing to unpack .../5-libmariadb-dev_1%3a10.11.11-0+deb12u1_s390x.deb ...
- Unpacking libmariadb-dev (1:10.11.11-0+deb12u1) ...
- Selecting previously unselected package libpkgconf3:s390x.
- Preparing to unpack .../6-libpkgconf3_1.8.1-1_s390x.deb ...
- Unpacking libpkgconf3:s390x (1.8.1-1) ...
- Selecting previously unselected package pkgconf-bin.
- Preparing to unpack .../7-pkgconf-bin_1.8.1-1_s390x.deb ...
- Unpacking pkgconf-bin (1.8.1-1) ...
- Selecting previously unselected package pkgconf:s390x.
- Preparing to unpack .../8-pkgconf_1.8.1-1_s390x.deb ...
- Unpacking pkgconf:s390x (1.8.1-1) ...
- Selecting previously unselected package pkg-config:s390x.
- Preparing to unpack .../9-pkg-config_1.8.1-1_s390x.deb ...
- Unpacking pkg-config:s390x (1.8.1-1) ...
- Setting up mysql-common (5.8+1.1.0) ...
- update-alternatives: using /etc/mysql/my.cnf.fallback to provide /etc/mysql/my.cnf (my.cnf) in auto mode
- Setting up mariadb-common (1:10.11.11-0+deb12u1) ...
- update-alternatives: using /etc/mysql/mariadb.cnf to provide /etc/mysql/my.cnf (my.cnf) in auto mode
- Setting up libpkgconf3:s390x (1.8.1-1) ...
- Setting up libssl-dev:s390x (3.0.15-1~deb12u1) ...
- Setting up libmariadb3:s390x (1:10.11.11-0+deb12u1) ...
- Setting up pkgconf-bin (1.8.1-1) ...
- Setting up zlib1g-dev:s390x (1:1.2.13.dfsg-1) ...
- Setting up pkgconf:s390x (1.8.1-1) ...
- Setting up pkg-config:s390x (1.8.1-1) ...
- Setting up libmariadb-dev (1:10.11.11-0+deb12u1) ...
- Processing triggers for libc-bin (2.36-9+deb12u10) ...

<><> 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:15.09 ---> saved as "d2b41040ca429ba4d7841df4f6258ddfa83c12bea497ec73972f462b9093a021"
Job succeeded
2025-05-15 14:17.09: Job succeeded