(for PR #26991)

2025-02-10 15:09.17: 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-5.3-afl/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/26991/head" && git reset --hard 1d9aa3a7
git fetch origin master
git merge --no-edit 36f4d2d5ceb882a79fd7d7f956b490201da67226
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-12-ocaml-5.3-afl@sha256:ac5bfa86e7ed9be3117772b7d004652b3623ad39ec2c24e279ae19edc9af9499
USER 1000:1000
WORKDIR /home/opam
RUN sudo ln -f /usr/bin/opam-dev /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-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 .

2025-02-10 15:09.17: Using cache hint "ocaml/opam:debian-12-ocaml-5.3-afl@sha256:ac5bfa86e7ed9be3117772b7d004652b3623ad39ec2c24e279ae19edc9af9499-conf-gcc-multilib.1.0-1d9aa3a77d42360c809fa99e0d6c021fc2db3644"
2025-02-10 15:09.17: Using OBuilder spec:
((from ocaml/opam:debian-12-ocaml-5.3-afl@sha256:ac5bfa86e7ed9be3117772b7d004652b3623ad39ec2c24e279ae19edc9af9499)
 (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 "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-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"))
)

2025-02-10 15:09.17: Waiting for resource in pool OCluster
2025-02-10 18:02.21: Waiting for worker…
2025-02-10 18:04.04: Got resource from pool OCluster
Building on asteria.caelum.ci.dev
All commits already cached
Updating files:  91% (21431/23304)
Updating files:  92% (21440/23304)
Updating files:  93% (21673/23304)
Updating files:  94% (21906/23304)
Updating files:  95% (22139/23304)
Updating files:  96% (22372/23304)
Updating files:  97% (22605/23304)
Updating files:  98% (22838/23304)
Updating files:  99% (23071/23304)
Updating files: 100% (23304/23304)
Updating files: 100% (23304/23304), done.
HEAD is now at 36f4d2d5ce Merge pull request #27169 from Frigory33/release-allegro5-0.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-5.3-afl@sha256:ac5bfa86e7ed9be3117772b7d004652b3623ad39ec2c24e279ae19edc9af9499)
Unable to find image 'ocaml/opam:debian-12-ocaml-5.3-afl@sha256:ac5bfa86e7ed9be3117772b7d004652b3623ad39ec2c24e279ae19edc9af9499' locally
docker.io/ocaml/opam@sha256:ac5bfa86e7ed9be3117772b7d004652b3623ad39ec2c24e279ae19edc9af9499: Pulling from ocaml/opam
b79a704649bc: Pulling fs layer
b79a704649bc: Waiting
b79a704649bc: Verifying Checksum
b79a704649bc: Download complete
b79a704649bc: Pull complete
Digest: sha256:ac5bfa86e7ed9be3117772b7d004652b3623ad39ec2c24e279ae19edc9af9499
Status: Downloaded newer image for ocaml/opam@sha256:ac5bfa86e7ed9be3117772b7d004652b3623ad39ec2c24e279ae19edc9af9499
2025-02-10 18:04.43 ---> using "da77f6bf851caf92e8bfd66547cf9c5aab0d1abd175318439ca150c97472def4" from cache

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

/: (workdir /home/opam)

/home/opam: (run (shell "sudo ln -f /usr/bin/opam-dev /usr/bin/opam"))
2025-02-10 18:04.43 ---> using "ef6b8bceadb2f27ff4c4d045cc0dc861c5cf1b9b8f9081e5007b781c6e97d416" 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 ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[opam-repository-archive] no changes from git+https://github.com/ocaml/opam-repository-archive
[default] synchronised from file:///home/opam/opam-repository
2025-02-10 18:04.43 ---> using "4fb11ecefa6252a6fff69cd8dd063a12eae5329a06d8fc8f0008fe5e53971082" 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.4.0~alpha1~dev (747e73667ad9d054b0f736be205c0013e1bec087)
# 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                 255
# repositories         1 (local), 1 (version-controlled)
# pinned               1 (version)
# current-switch       5.3
# invariant            ["ocaml-variants" {= "5.3.0+options"}]
# compiler-packages    ocaml-compiler.5.3.0, ocaml-option-afl.1, ocaml-options-only-afl.1, ocaml-variants.5.3.0+options
# 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+options+afl
2025-02-10 18:04.43 ---> using "2a8a34352fdaa050fbefdd3718ba5d973410e0c5e0ac7dcf0befaa82e225c56e" 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-02-10 18:04.43 ---> using "00b571b66d150b810d80c3cdec1d1931d0e32692c78a0974e60986e689817ddd" from cache

/home/opam: (copy (src .) (dst opam-repository/))
2025-02-10 18:04.55 ---> saved as "3811973254e0a545e7ba88143fbd2188452ac2c343dedf069a4a74f0778fd594"

/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2025-02-10 18:05.40 ---> saved as "db0723d77cc45512938ce05784360bf8b9fc91a8ecc9454811ddef3ac6f7bfc3"

/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 [244 kB]
- Fetched 348 kB in 0s (962 kB/s)
- Reading package lists...
2025-02-10 18:05.43 ---> saved as "04131dd9ac6bb7a5508131215d50b43179adb186a05a5673be02cd2acd5f465a"

/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
2025-02-10 18:05.44 ---> saved as "fdfd7e0731e24c408b569c34dd8a281ed97ca1798d67c1fbaf3953bc72eff0fa"

/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"))
conf-gcc-multilib.1.0 is not installed. Install it? [Y/n] y
The following actions will be performed:
=== install 1 package
  - install conf-gcc-multilib 1.0 (pinned)

The following system packages will first need to be installed:
    gcc-multilib

<><> 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" "gcc-multilib"
- debconf: delaying package configuration, since apt-utils is not installed
- Selecting previously unselected package libc6-i386.
- (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 ... 18776 files and directories currently installed.)
- Preparing to unpack .../00-libc6-i386_2.36-9+deb12u9_amd64.deb ...
- Unpacking libc6-i386 (2.36-9+deb12u9) ...
- Selecting previously unselected package libc6-dev-i386.
- Preparing to unpack .../01-libc6-dev-i386_2.36-9+deb12u9_amd64.deb ...
- Unpacking libc6-dev-i386 (2.36-9+deb12u9) ...
- Selecting previously unselected package libc6-x32.
- Preparing to unpack .../02-libc6-x32_2.36-9+deb12u9_amd64.deb ...
- Unpacking libc6-x32 (2.36-9+deb12u9) ...
- Selecting previously unselected package libc6-dev-x32.
- Preparing to unpack .../03-libc6-dev-x32_2.36-9+deb12u9_amd64.deb ...
- Unpacking libc6-dev-x32 (2.36-9+deb12u9) ...
- Selecting previously unselected package lib32gcc-s1.
- Preparing to unpack .../04-lib32gcc-s1_12.2.0-14_amd64.deb ...
- Unpacking lib32gcc-s1 (12.2.0-14) ...
- Selecting previously unselected package libx32gcc-s1.
- Preparing to unpack .../05-libx32gcc-s1_12.2.0-14_amd64.deb ...
- Unpacking libx32gcc-s1 (12.2.0-14) ...
- Selecting previously unselected package lib32gomp1.
- Preparing to unpack .../06-lib32gomp1_12.2.0-14_amd64.deb ...
- Unpacking lib32gomp1 (12.2.0-14) ...
- Selecting previously unselected package libx32gomp1.
- Preparing to unpack .../07-libx32gomp1_12.2.0-14_amd64.deb ...
- Unpacking libx32gomp1 (12.2.0-14) ...
- Selecting previously unselected package lib32itm1.
- Preparing to unpack .../08-lib32itm1_12.2.0-14_amd64.deb ...
- Unpacking lib32itm1 (12.2.0-14) ...
- Selecting previously unselected package libx32itm1.
- Preparing to unpack .../09-libx32itm1_12.2.0-14_amd64.deb ...
- Unpacking libx32itm1 (12.2.0-14) ...
- Selecting previously unselected package lib32atomic1.
- Preparing to unpack .../10-lib32atomic1_12.2.0-14_amd64.deb ...
- Unpacking lib32atomic1 (12.2.0-14) ...
- Selecting previously unselected package libx32atomic1.
- Preparing to unpack .../11-libx32atomic1_12.2.0-14_amd64.deb ...
- Unpacking libx32atomic1 (12.2.0-14) ...
- Selecting previously unselected package lib32asan8.
- Preparing to unpack .../12-lib32asan8_12.2.0-14_amd64.deb ...
- Unpacking lib32asan8 (12.2.0-14) ...
- Selecting previously unselected package libx32asan8.
- Preparing to unpack .../13-libx32asan8_12.2.0-14_amd64.deb ...
- Unpacking libx32asan8 (12.2.0-14) ...
- Selecting previously unselected package lib32stdc++6.
- Preparing to unpack .../14-lib32stdc++6_12.2.0-14_amd64.deb ...
- Unpacking lib32stdc++6 (12.2.0-14) ...
- Selecting previously unselected package lib32ubsan1.
- Preparing to unpack .../15-lib32ubsan1_12.2.0-14_amd64.deb ...
- Unpacking lib32ubsan1 (12.2.0-14) ...
- Selecting previously unselected package libx32stdc++6.
- Preparing to unpack .../16-libx32stdc++6_12.2.0-14_amd64.deb ...
- Unpacking libx32stdc++6 (12.2.0-14) ...
- Selecting previously unselected package libx32ubsan1.
- Preparing to unpack .../17-libx32ubsan1_12.2.0-14_amd64.deb ...
- Unpacking libx32ubsan1 (12.2.0-14) ...
- Selecting previously unselected package lib32quadmath0.
- Preparing to unpack .../18-lib32quadmath0_12.2.0-14_amd64.deb ...
- Unpacking lib32quadmath0 (12.2.0-14) ...
- Selecting previously unselected package libx32quadmath0.
- Preparing to unpack .../19-libx32quadmath0_12.2.0-14_amd64.deb ...
- Unpacking libx32quadmath0 (12.2.0-14) ...
- Selecting previously unselected package lib32gcc-12-dev.
- Preparing to unpack .../20-lib32gcc-12-dev_12.2.0-14_amd64.deb ...
- Unpacking lib32gcc-12-dev (12.2.0-14) ...
- Selecting previously unselected package libx32gcc-12-dev.
- Preparing to unpack .../21-libx32gcc-12-dev_12.2.0-14_amd64.deb ...
- Unpacking libx32gcc-12-dev (12.2.0-14) ...
- Selecting previously unselected package gcc-12-multilib.
- Preparing to unpack .../22-gcc-12-multilib_12.2.0-14_amd64.deb ...
- Unpacking gcc-12-multilib (12.2.0-14) ...
- Selecting previously unselected package gcc-multilib.
- Preparing to unpack .../23-gcc-multilib_4%3a12.2.0-3_amd64.deb ...
- Unpacking gcc-multilib (4:12.2.0-3) ...
- Setting up libc6-x32 (2.36-9+deb12u9) ...
- Setting up libx32gomp1 (12.2.0-14) ...
- Setting up libc6-i386 (2.36-9+deb12u9) ...
- Setting up libx32quadmath0 (12.2.0-14) ...
- Setting up lib32atomic1 (12.2.0-14) ...
- Setting up libx32atomic1 (12.2.0-14) ...
- Setting up libc6-dev-i386 (2.36-9+deb12u9) ...
- Setting up lib32itm1 (12.2.0-14) ...
- Setting up libx32gcc-s1 (12.2.0-14) ...
- Setting up libx32itm1 (12.2.0-14) ...
- Setting up libx32asan8 (12.2.0-14) ...
- Setting up libc6-dev-x32 (2.36-9+deb12u9) ...
- Setting up lib32gomp1 (12.2.0-14) ...
- Setting up lib32gcc-s1 (12.2.0-14) ...
- Setting up lib32stdc++6 (12.2.0-14) ...
- Setting up lib32asan8 (12.2.0-14) ...
- Setting up lib32quadmath0 (12.2.0-14) ...
- Setting up libx32stdc++6 (12.2.0-14) ...
- Setting up libx32ubsan1 (12.2.0-14) ...
- Setting up lib32ubsan1 (12.2.0-14) ...
- Setting up lib32gcc-12-dev (12.2.0-14) ...
- Setting up libx32gcc-12-dev (12.2.0-14) ...
- Setting up gcc-12-multilib (12.2.0-14) ...
- Setting up gcc-multilib (4:12.2.0-3) ...
- Processing triggers for libc-bin (2.36-9+deb12u9) ...

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> installed conf-gcc-multilib.1.0
Done.
# To update the current shell environment, run: eval $(opam env)
2025-02-10 18:05.55 ---> saved as "8034dd4f290bb8240da0979a76c7f1aa7fecb1a771ec8e02f940b880ea916c22"
Job succeeded
2025-02-10 18:06.15: Job succeeded