(for PR #26991)

2025-04-03 13:30.28: New job: build conf-gcc-multilib.1.0, using opam 2.3
                              from https://github.com/ocaml/opam-repository.git#refs/pull/26991/head (3500c88614e8805aed82ce8c2bd2cee803e97b69)
                              on debian-12-ocaml-5.1/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 3500c886
git fetch origin master
git merge --no-edit ecbfc6754f6e95544eb1eab71c162099f77308bf
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-12-ocaml-5.1@sha256:82b6885ae7c302baa72c58dd7da248d519249a52aab35a882c92af03eb9459c5
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-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-04-03 13:30.28: Using cache hint "ocaml/opam:debian-12-ocaml-5.1@sha256:82b6885ae7c302baa72c58dd7da248d519249a52aab35a882c92af03eb9459c5-conf-gcc-multilib.1.0-3500c88614e8805aed82ce8c2bd2cee803e97b69"
2025-04-03 13:30.28: Using OBuilder spec:
((from ocaml/opam:debian-12-ocaml-5.1@sha256:82b6885ae7c302baa72c58dd7da248d519249a52aab35a882c92af03eb9459c5)
 (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-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-04-03 13:30.28: Connecting to build cluster…
2025-04-03 13:30.28: Waiting for resource in pool OCluster
2025-04-03 16:19.24: Waiting for worker…
2025-04-03 16:22.33: Got resource from pool OCluster
Building on clete.caelum.ci.dev
All commits already cached
Updating files:  89% (20416/22793)
Updating files:  90% (20514/22793)
Updating files:  91% (20742/22793)
Updating files:  92% (20970/22793)
Updating files:  93% (21198/22793)
Updating files:  94% (21426/22793)
Updating files:  95% (21654/22793)
Updating files:  96% (21882/22793)
Updating files:  97% (22110/22793)
Updating files:  98% (22338/22793)
Updating files:  99% (22566/22793)
Updating files: 100% (22793/22793)
Updating files: 100% (22793/22793), done.
HEAD is now at ecbfc6754f Merge pull request #27708 from ocaml/dependabot/github_actions/dot-github/workflows/tj-actions/changed-files-46
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.1@sha256:82b6885ae7c302baa72c58dd7da248d519249a52aab35a882c92af03eb9459c5)
Unable to find image 'ocaml/opam:debian-12-ocaml-5.1@sha256:82b6885ae7c302baa72c58dd7da248d519249a52aab35a882c92af03eb9459c5' locally
docker.io/ocaml/opam@sha256:82b6885ae7c302baa72c58dd7da248d519249a52aab35a882c92af03eb9459c5: Pulling from ocaml/opam
9c09bf034d03: Pulling fs layer
9c09bf034d03: Verifying Checksum
9c09bf034d03: Download complete
9c09bf034d03: Pull complete
Digest: sha256:82b6885ae7c302baa72c58dd7da248d519249a52aab35a882c92af03eb9459c5
Status: Downloaded newer image for ocaml/opam@sha256:82b6885ae7c302baa72c58dd7da248d519249a52aab35a882c92af03eb9459c5
2025-04-03 16:22.37 ---> using "c802431e4aea6efa14a5655e0674448ee33cde67b15f5d1dbc29cecf58b4a40e" 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-03 16:22.37 ---> using "34baef1cdc5cff1f20cbe1e238c166f2412f2574b19c657571007e3c0daba6d9" 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] synchronised from file:///home/opam/opam-repository
2025-04-03 16:22.37 ---> using "134f2ff98afeedcc142d8a60a0f96f5840ca3a97d24373cfbc3280a2c4ea116b" 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                 71
# repositories         1 (local)
# pinned               1 (version)
# current-switch       5.1
# invariant            ["ocaml-base-compiler" {= "5.1.1"}]
# compiler-packages    ocaml-base-compiler.5.1.1, ocaml-options-vanilla.1
# ocaml:native         true
# ocaml:native-tools   true
# ocaml:native-dynlink true
# ocaml:stubsdir       /home/opam/.opam/5.1/lib/ocaml/stublibs:/home/opam/.opam/5.1/lib/ocaml
# ocaml:preinstalled   false
# ocaml:compiler       5.1.1
2025-04-03 16:22.37 ---> using "7194e9c3c9357031f27ddc09fc3c02434c87a7ec041328468344e147614fb42b" 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-03 16:22.37 ---> using "04e642a7a1b267f76d7aea34f6af9d6ef198b9a04bf9a39e6967769d7367fc32" from cache

/home/opam: (copy (src .) (dst opam-repository/))
2025-04-03 16:22.38 ---> using "50d61f78c80e5ee186c4f9841cefc6a2c70c6cf714c12ec99dfcdbee8cdf2fc8" from cache

/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2025-04-03 16:22.48 ---> saved as "db0f2c5fbc1eea3cbdadba33b2f87e8a3d7ddc97c2e291b8ab19c924900d1d7f"

/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 [250 kB]
- Fetched 353 kB in 1s (430 kB/s)
- Reading package lists...
- 
2025-04-03 16:22.50 ---> saved as "b8c20dcfe0797798a19489a734f2a4c5dcdd85aee894c383bd3df75e80a9ba72"

/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-04-03 16:22.51 ---> saved as "528a5c2f5a91bec2a27cd23ef15c1d45a3c8dbb0c60f53a71cfa07155226a6d3"

/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 ... 18778 files and directories currently installed.)
- Preparing to unpack .../00-libc6-i386_2.36-9+deb12u10_amd64.deb ...
- Unpacking libc6-i386 (2.36-9+deb12u10) ...
- Selecting previously unselected package libc6-dev-i386.
- Preparing to unpack .../01-libc6-dev-i386_2.36-9+deb12u10_amd64.deb ...
- Unpacking libc6-dev-i386 (2.36-9+deb12u10) ...
- Selecting previously unselected package libc6-x32.
- Preparing to unpack .../02-libc6-x32_2.36-9+deb12u10_amd64.deb ...
- Unpacking libc6-x32 (2.36-9+deb12u10) ...
- Selecting previously unselected package libc6-dev-x32.
- Preparing to unpack .../03-libc6-dev-x32_2.36-9+deb12u10_amd64.deb ...
- Unpacking libc6-dev-x32 (2.36-9+deb12u10) ...
- 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+deb12u10) ...
- Setting up libx32gomp1 (12.2.0-14) ...
- Setting up libc6-i386 (2.36-9+deb12u10) ...
- 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+deb12u10) ...
- 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+deb12u10) ...
- 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+deb12u10) ...

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> installed conf-gcc-multilib.1.0
Done.
# To update the current shell environment, run: eval $(opam env)
2025-04-03 16:23.25 ---> saved as "6fcf4f8ad3fef9f68f0d165bdc8bf636e009443e58c51409f229b242a348332b"
Job succeeded
2025-04-03 16:23.31: Job succeeded