(for PR #26991)

2024-11-28 18:38.25: New job: build conf-gcc-multilib.1.0, using opam dev
                              from https://github.com/ocaml/opam-repository.git#refs/pull/26991/head (1d9aa3a77d42360c809fa99e0d6c021fc2db3644)
                              on debian-12-ocaml-4.14/arm64

To reproduce locally:

cd $(mktemp -d)
git clone --recursive "https://github.com/ocaml/opam-repository.git" && cd "opam-repository" && git fetch origin "refs/pull/26991/head" && git reset --hard 1d9aa3a7
git fetch origin master
git merge --no-edit 38e57622045c665b26c1f3de8cc1ee5e47faedb3
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-12-ocaml-4.14@sha256:2ab88f80e86ed2592e1bd807748a45de056041c513e9494d49f5bc9cd585bafc
USER 1000:1000
WORKDIR /home/opam
RUN sudo ln -f /usr/bin/opam-dev /usr/bin/opam
RUN opam init --reinit -ni
RUN uname -rs && opam exec -- ocaml -version && opam --version
ENV OPAMDOWNLOADJOBS="1"
ENV OPAMERRLOGLEN="0"
ENV OPAMSOLVERTIMEOUT="1000"
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-gcc-multilib.1.0 1.0
RUN opam reinstall conf-gcc-multilib.1.0; \
    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-gcc-multilib.1.0' && 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 .

2024-11-28 18:38.25: Using cache hint "ocaml/opam:debian-12-ocaml-4.14@sha256:2ab88f80e86ed2592e1bd807748a45de056041c513e9494d49f5bc9cd585bafc-conf-gcc-multilib.1.0-1d9aa3a77d42360c809fa99e0d6c021fc2db3644"
2024-11-28 18:38.25: Using OBuilder spec:
((from ocaml/opam:debian-12-ocaml-4.14@sha256:2ab88f80e86ed2592e1bd807748a45de056041c513e9494d49f5bc9cd585bafc)
 (user (uid 1000) (gid 1000))
 (workdir /home/opam)
 (run (shell "sudo ln -f /usr/bin/opam-dev /usr/bin/opam"))
 (run (network host)
      (shell "opam init --reinit --config .opamrc-sandbox -ni"))
 (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
 (env OPAMDOWNLOADJOBS 1)
 (env OPAMERRLOGLEN 0)
 (env OPAMSOLVERTIMEOUT 1000)
 (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-gcc-multilib.1.0 1.0"))
 (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
      (network host)
      (shell  "opam reinstall conf-gcc-multilib.1.0;\
             \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-gcc-multilib.1.0' && partial_fails=\"$partial_fails $pkg\";\
             \n        done;\
             \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
             \n        exit 1"))
)

2024-11-28 18:38.25: Waiting for resource in pool OCluster
2024-11-28 18:38.27: Waiting for worker…
2024-11-28 18:38.27: Got resource from pool OCluster
Building on okypous.caelum.ci.dev
Updating files:  56% (18552/32768)
Updating files:  57% (18678/32768)
Updating files:  58% (19006/32768)
Updating files:  59% (19334/32768)
Updating files:  60% (19661/32768)
Updating files:  61% (19989/32768)
Updating files:  62% (20317/32768)
Updating files:  63% (20644/32768)
Updating files:  64% (20972/32768)
Updating files:  65% (21300/32768)
Updating files:  66% (21627/32768)
Updating files:  67% (21955/32768)
Updating files:  68% (22283/32768)
Updating files:  69% (22610/32768)
Updating files:  70% (22938/32768)
Updating files:  71% (23266/32768)
Updating files:  72% (23593/32768)
Updating files:  73% (23921/32768)
Updating files:  74% (24249/32768)
Updating files:  75% (24576/32768)
Updating files:  76% (24904/32768)
Updating files:  77% (25232/32768)
Updating files:  78% (25560/32768)
Updating files:  79% (25887/32768)
Updating files:  80% (26215/32768)
Updating files:  81% (26543/32768)
Updating files:  82% (26870/32768)
Updating files:  83% (27198/32768)
Updating files:  84% (27526/32768)
Updating files:  85% (27853/32768)
Updating files:  86% (28181/32768)
Updating files:  87% (28509/32768)
Updating files:  88% (28836/32768)
Updating files:  89% (29164/32768)
Updating files:  90% (29492/32768)
Updating files:  91% (29819/32768)
Updating files:  92% (30147/32768)
Updating files:  93% (30475/32768)
Updating files:  94% (30802/32768)
Updating files:  95% (31130/32768)
Updating files:  96% (31458/32768)
Updating files:  97% (31785/32768)
Updating files:  98% (32113/32768)
Updating files:  99% (32441/32768)
Updating files: 100% (32768/32768)
Updating files: 100% (32768/32768), done.
HEAD is now at aee46182ed Merge commit '848b0d70363c5a0ed694af3e3379b69653704933'
HEAD is now at 38e5762204 Merge pull request #26986 from shym/manual-5.2.1
Merge made by the 'ort' strategy.
 .../conf-gcc-multilib/conf-gcc-multilib.1.0/opam   | 23 ++++++++++++++++++++++
 1 file changed, 23 insertions(+)
 create mode 100644 packages/conf-gcc-multilib/conf-gcc-multilib.1.0/opam

(from ocaml/opam:debian-12-ocaml-4.14@sha256:2ab88f80e86ed2592e1bd807748a45de056041c513e9494d49f5bc9cd585bafc)
Unable to find image 'ocaml/opam:debian-12-ocaml-4.14@sha256:2ab88f80e86ed2592e1bd807748a45de056041c513e9494d49f5bc9cd585bafc' locally
docker.io/ocaml/opam@sha256:2ab88f80e86ed2592e1bd807748a45de056041c513e9494d49f5bc9cd585bafc: Pulling from ocaml/opam
5d8eb4f4e96d: Already exists
db4d3d59d392: Pulling fs layer
c846fbb3628d: Pulling fs layer
c689efbfcbbc: Pulling fs layer
a95ae8687d00: Pulling fs layer
c846fbb3628d: Verifying Checksum
c846fbb3628d: Download complete
c689efbfcbbc: Verifying Checksum
c689efbfcbbc: Download complete
a95ae8687d00: Verifying Checksum
a95ae8687d00: Download complete
db4d3d59d392: Verifying Checksum
db4d3d59d392: Download complete
db4d3d59d392: Pull complete
c846fbb3628d: Pull complete
c689efbfcbbc: Pull complete
a95ae8687d00: Pull complete
Digest: sha256:2ab88f80e86ed2592e1bd807748a45de056041c513e9494d49f5bc9cd585bafc
Status: Downloaded newer image for ocaml/opam@sha256:2ab88f80e86ed2592e1bd807748a45de056041c513e9494d49f5bc9cd585bafc
2024-11-28 18:38.31 ---> using "53a58a67943bf27ed72715c6fc83a56df9471a75d88d566f2662b9dc26d4a0bf" from cache

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

/: (workdir /home/opam)

/home/opam: (run (shell "sudo ln -f /usr/bin/opam-dev /usr/bin/opam"))
2024-11-28 18:38.31 ---> using "71de69ddf5db3445f5652c9a1dca73accdcd7071d2a08d6303f7d88642863364" 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] synchronised from file:///home/opam/opam-repository
2024-11-28 18:38.31 ---> using "240ab625f68b6bb0f35ccf7c5899d12cbc5ae27765bdad894f9bf21cfba78eee" from cache

/home/opam: (run (shell "uname -rs && opam exec -- ocaml -version && opam --version"))
Linux 5.15.0-126-generic
The OCaml toplevel, version 4.14.2
2.4.0~alpha1~dev
2024-11-28 18:38.31 ---> using "07fc3e36eedeba102976d6ab0ad53bc003f61036c27f8e6e35c8d3b369e880ef" from cache

/home/opam: (env OPAMDOWNLOADJOBS 1)

/home/opam: (env OPAMERRLOGLEN 0)

/home/opam: (env OPAMSOLVERTIMEOUT 1000)

/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/"))
2024-11-28 18:38.31 ---> using "5cb0c86d7799fef4531d8379f345ce7771c9cf07082332347100ee30162369a6" from cache

/home/opam: (copy (src .) (dst opam-repository/))
2024-11-28 18:38.41 ---> saved as "76a88537db06ece78b68f62d579e3dda089ddec63db358edad0503be4a7d4033"

/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2024-11-28 18:39.14 ---> saved as "27c6b96afe92affe897a63467e60b9c804076a8beaf2d62fde8b05e5330a3b1d"

/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 bookworm-updates/main arm64 Packages.diff/Index [12.8 kB]
- Get:5 http://deb.debian.org/debian bookworm-updates/main arm64 Packages T-2024-11-27-1405.46-F-2024-11-27-1405.46.pdiff [435 B]
- Get:5 http://deb.debian.org/debian bookworm-updates/main arm64 Packages T-2024-11-27-1405.46-F-2024-11-27-1405.46.pdiff [435 B]
- Get:6 http://deb.debian.org/debian-security bookworm-security/main arm64 Packages [203 kB]
- Fetched 319 kB in 0s (676 kB/s)
- Reading package lists...
- 
2024-11-28 18:39.15 ---> saved as "2b4831eb19e0552247c637aa54f5a765ab85dee00d5bd53218c0de6aa2625afe"

/home/opam: (run (shell "opam pin add -k version -yn conf-gcc-multilib.1.0 1.0"))
conf-gcc-multilib is now pinned to version 1.0
2024-11-28 18:39.16 ---> saved as "bf9ab486ad34b69ac61ecfd402cafdb58189515b8e2271d85ab217f83da9f957"

/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
                 (network host)
                 (shell  "opam reinstall conf-gcc-multilib.1.0;\
                        \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-gcc-multilib.1.0' && partial_fails=\"$partial_fails $pkg\";\
                        \n        done;\
                        \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
                        \n        exit 1"))
[ERROR] Package conf-gcc-multilib.1.0 depends on the unavailable system package 'gcc-multilib'. You can use `--no-depexts' to attempt installation anyway.
"/usr/bin/env" "bash" "-c" "opam reinstall conf-gcc-multilib.1.0;
        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-gcc-multilib.1.0' && partial_fails="$partial_fails $pkg";
        done;
        test "${partial_fails}" != "" && echo "opam-repo-ci detected dependencies failing: ${partial_fails}";
        exit 1" failed with exit status 5
2024-11-28 18:39.29: Job failed: Failed: Build failed
2024-11-28 18:39.29: Log analysis:
2024-11-28 18:39.29: >>> 
[ERROR] Package conf-gcc-multilib.1.0 depends on the unavailable system package 'gcc-multilib'. You can use `--no-depexts' to attempt installation anyway.
 (score = 100)
2024-11-28 18:39.29: [SKIP] Package not available