(for PR #26991)

2025-10-17 13:54.24: New job: build conf-gcc-multilib.1.0, using opam 2.0
                              from https://github.com/ocaml/opam-repository.git#refs/pull/26991/head (3500c88614e8805aed82ce8c2bd2cee803e97b69)
                              on debian-13-ocaml-5.4/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 5bf570252bd9fee71938b828ca0b86573c1e3355
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-13-ocaml-5.4@sha256:219afd660465a4cdf35bbb1e4df7ffa6c984e8d79451af11e9939d6257f7c2b8
USER 1000:1000
WORKDIR /home/opam
RUN sudo ln -f /usr/bin/opam-2.0 /usr/bin/opam
RUN opam init --reinit -ni
RUN 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 depext -u || true
RUN opam pin add -k version -yn conf-gcc-multilib.1.0 1.0
RUN opam depext conf-gcc-multilib.1.0 && 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-13\""; 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-10-17 13:54.24: Using cache hint "ocaml/opam:debian-13-ocaml-5.4@sha256:219afd660465a4cdf35bbb1e4df7ffa6c984e8d79451af11e9939d6257f7c2b8-conf-gcc-multilib.1.0-3500c88614e8805aed82ce8c2bd2cee803e97b69"
2025-10-17 13:54.24: Using OBuilder spec:
((from ocaml/opam:debian-13-ocaml-5.4@sha256:219afd660465a4cdf35bbb1e4df7ffa6c984e8d79451af11e9939d6257f7c2b8)
 (user (uid 1000) (gid 1000))
 (workdir /home/opam)
 (run (shell "sudo ln -f /usr/bin/opam-2.0 /usr/bin/opam"))
 (run (network host)
      (shell "opam init --reinit --config .opamrc-sandbox -ni"))
 (run (shell "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 depext -u || 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 depext conf-gcc-multilib.1.0 && 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-13\\\"\"; 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-10-17 13:54.24: Connecting to build cluster…
2025-10-17 13:54.24: Waiting for resource in pool OCluster
2025-10-17 13:58.20: Waiting for worker…
2025-10-17 14:05.20: Got resource from pool OCluster
Building on clete
All commits already cached
HEAD is now at 5bf570252b Merge pull request #28700 from drjdn/opam-publish-p5scm.0.5.0
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-13-ocaml-5.4@sha256:219afd660465a4cdf35bbb1e4df7ffa6c984e8d79451af11e9939d6257f7c2b8)
Unable to find image 'ocaml/opam:debian-13-ocaml-5.4@sha256:219afd660465a4cdf35bbb1e4df7ffa6c984e8d79451af11e9939d6257f7c2b8' locally
docker.io/ocaml/opam@sha256:219afd660465a4cdf35bbb1e4df7ffa6c984e8d79451af11e9939d6257f7c2b8: Pulling from ocaml/opam
Digest: sha256:219afd660465a4cdf35bbb1e4df7ffa6c984e8d79451af11e9939d6257f7c2b8
Status: Downloaded newer image for ocaml/opam@sha256:219afd660465a4cdf35bbb1e4df7ffa6c984e8d79451af11e9939d6257f7c2b8
2025-10-17 14:05.22 ---> using "e779c3a4a56932d907bd71b1f7583592fd9370191ff90cc4f969b989cedfcba1" from cache

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

/: (workdir /home/opam)

/home/opam: (run (shell "sudo ln -f /usr/bin/opam-2.0 /usr/bin/opam"))
2025-10-17 14:05.22 ---> using "3963c16a34ee0b68593e6ce80111e810d9744ae00e84893f060b266830cc5baf" from cache

/home/opam: (run (network host)
                 (shell "opam init --reinit --config .opamrc-sandbox -ni"))
[NOTE] Will configure 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.

[WARNING] Recommended dependencies -- most packages rely on these:
  - m4

<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] Initialised
default (at git+file:///home/opam/opam-repository): 
    [INFO] opam 2.1 and 2.2 include many performance and security improvements over 2.0; please consider upgrading (https://opam.ocaml.org/doc/Install.html)

2025-10-17 14:05.22 ---> using "e82f93551a03492743cd5dce83a3535905314dc74b1c1baa37e815947ae9be28" from cache

/home/opam: (run (shell "opam config report"))
# opam config report
# opam-version      2.0.10 (adc1e1829a2bef5b240746df80341b508290fe3b) 
# self-upgrade      no
# system            arch=x86_64 os=linux os-distribution=debian os-version=13
# solver            builtin-mccs+glpk
# install-criteria  -removed,-count[version-lag,request],-count[version-lag,changed],-changed
# upgrade-criteria  -removed,-count[version-lag,solution],-new
# jobs              71
# repositories      1 (version-controlled)
# pinned            1 (version)
# current-switch    5.4
2025-10-17 14:05.22 ---> using "6751141926d40c90cc3f970c57a063e8afccca7689f8d050b89b99c5c06edf33" 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-10-17 14:05.22 ---> using "81c28077d454214a0f92e1c4d01192813efed38025a836b0ae56060a5d8dbc0d" from cache

/home/opam: (copy (src .) (dst opam-repository/))
2025-10-17 14:05.23 ---> using "f788877082f522653b20c0ac6472e7d588a153f79feb72de7c4fb45271447f79" from cache

/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
default (at file:///home/opam/opam-repository): 
    [INFO] opam 2.1 and 2.2 include many performance and security improvements over 2.0; please consider upgrading (https://opam.ocaml.org/doc/Install.html)

2025-10-17 14:05.26 ---> saved as "9b5d4757a6f963d456dbaf5a5e118a40ce6b435751080036deb32139a3eb461a"

/home/opam: (run (network host)
                 (shell "opam depext -u || true"))
# Detecting depexts using vars: arch=x86_64, os=linux, os-distribution=debian, os-family=debian
# No extra OS packages requirements found.
# All required OS packages found.
The following command needs to be run through "sudo":
    apt-get update
Hit:1 http://deb.debian.org/debian trixie InRelease
Get:2 http://deb.debian.org/debian trixie-updates InRelease [47.3 kB]
Get:3 http://deb.debian.org/debian-security trixie-security InRelease [43.4 kB]
Get:4 http://deb.debian.org/debian-security trixie-security/main amd64 Packages [56.5 kB]
Fetched 147 kB in 0s (1111 kB/s)
Reading package lists...
# OS package update successful
2025-10-17 14:05.28 ---> saved as "24d89d8e9d3243c4baffeebc6c640239e911616a17e3c3cb7ac27a2d6807ef38"

/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-10-17 14:05.29 ---> saved as "db997f046556ddd00b7f00ba050427465682407b7530ee7b253cb48ed1b71751"

/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
                 (network host)
                 (shell  "opam depext conf-gcc-multilib.1.0 && 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-13\\\"\"; 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"))
# Detecting depexts using vars: arch=x86_64, os=linux, os-distribution=debian, os-family=debian
# The following system packages are needed:
gcc-multilib
The following command needs to be run through "sudo":
    apt-get install -qq -yy gcc-multilib
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 ... 20653 files and directories currently installed.)
Preparing to unpack .../00-libc6-i386_2.41-12_amd64.deb ...
Unpacking libc6-i386 (2.41-12) ...
Selecting previously unselected package libc6-dev-i386.
Preparing to unpack .../01-libc6-dev-i386_2.41-12_amd64.deb ...
Unpacking libc6-dev-i386 (2.41-12) ...
Selecting previously unselected package libc6-x32.
Preparing to unpack .../02-libc6-x32_2.41-12_amd64.deb ...
Unpacking libc6-x32 (2.41-12) ...
Selecting previously unselected package libc6-dev-x32.
Preparing to unpack .../03-libc6-dev-x32_2.41-12_amd64.deb ...
Unpacking libc6-dev-x32 (2.41-12) ...
Selecting previously unselected package lib32gcc-s1.
Preparing to unpack .../04-lib32gcc-s1_14.2.0-19_amd64.deb ...
Unpacking lib32gcc-s1 (14.2.0-19) ...
Selecting previously unselected package libx32gcc-s1.
Preparing to unpack .../05-libx32gcc-s1_14.2.0-19_amd64.deb ...
Unpacking libx32gcc-s1 (14.2.0-19) ...
Selecting previously unselected package lib32gomp1.
Preparing to unpack .../06-lib32gomp1_14.2.0-19_amd64.deb ...
Unpacking lib32gomp1 (14.2.0-19) ...
Selecting previously unselected package libx32gomp1.
Preparing to unpack .../07-libx32gomp1_14.2.0-19_amd64.deb ...
Unpacking libx32gomp1 (14.2.0-19) ...
Selecting previously unselected package lib32itm1.
Preparing to unpack .../08-lib32itm1_14.2.0-19_amd64.deb ...
Unpacking lib32itm1 (14.2.0-19) ...
Selecting previously unselected package libx32itm1.
Preparing to unpack .../09-libx32itm1_14.2.0-19_amd64.deb ...
Unpacking libx32itm1 (14.2.0-19) ...
Selecting previously unselected package lib32atomic1.
Preparing to unpack .../10-lib32atomic1_14.2.0-19_amd64.deb ...
Unpacking lib32atomic1 (14.2.0-19) ...
Selecting previously unselected package libx32atomic1.
Preparing to unpack .../11-libx32atomic1_14.2.0-19_amd64.deb ...
Unpacking libx32atomic1 (14.2.0-19) ...
Selecting previously unselected package lib32asan8.
Preparing to unpack .../12-lib32asan8_14.2.0-19_amd64.deb ...
Unpacking lib32asan8 (14.2.0-19) ...
Selecting previously unselected package libx32asan8.
Preparing to unpack .../13-libx32asan8_14.2.0-19_amd64.deb ...
Unpacking libx32asan8 (14.2.0-19) ...
Selecting previously unselected package lib32stdc++6.
Preparing to unpack .../14-lib32stdc++6_14.2.0-19_amd64.deb ...
Unpacking lib32stdc++6 (14.2.0-19) ...
Selecting previously unselected package lib32ubsan1.
Preparing to unpack .../15-lib32ubsan1_14.2.0-19_amd64.deb ...
Unpacking lib32ubsan1 (14.2.0-19) ...
Selecting previously unselected package libx32stdc++6.
Preparing to unpack .../16-libx32stdc++6_14.2.0-19_amd64.deb ...
Unpacking libx32stdc++6 (14.2.0-19) ...
Selecting previously unselected package libx32ubsan1.
Preparing to unpack .../17-libx32ubsan1_14.2.0-19_amd64.deb ...
Unpacking libx32ubsan1 (14.2.0-19) ...
Selecting previously unselected package lib32quadmath0.
Preparing to unpack .../18-lib32quadmath0_14.2.0-19_amd64.deb ...
Unpacking lib32quadmath0 (14.2.0-19) ...
Selecting previously unselected package libx32quadmath0.
Preparing to unpack .../19-libx32quadmath0_14.2.0-19_amd64.deb ...
Unpacking libx32quadmath0 (14.2.0-19) ...
Selecting previously unselected package lib32gcc-14-dev.
Preparing to unpack .../20-lib32gcc-14-dev_14.2.0-19_amd64.deb ...
Unpacking lib32gcc-14-dev (14.2.0-19) ...
Selecting previously unselected package libx32gcc-14-dev.
Preparing to unpack .../21-libx32gcc-14-dev_14.2.0-19_amd64.deb ...
Unpacking libx32gcc-14-dev (14.2.0-19) ...
Selecting previously unselected package gcc-14-multilib.
Preparing to unpack .../22-gcc-14-multilib_14.2.0-19_amd64.deb ...
Unpacking gcc-14-multilib (14.2.0-19) ...
Selecting previously unselected package gcc-multilib.
Preparing to unpack .../23-gcc-multilib_4%3a14.2.0-1_amd64.deb ...
Unpacking gcc-multilib (4:14.2.0-1) ...
Setting up libc6-x32 (2.41-12) ...
Setting up libx32gomp1 (14.2.0-19) ...
Setting up libc6-i386 (2.41-12) ...
Setting up libx32quadmath0 (14.2.0-19) ...
Setting up lib32atomic1 (14.2.0-19) ...
Setting up libx32atomic1 (14.2.0-19) ...
Setting up libc6-dev-i386 (2.41-12) ...
Setting up lib32itm1 (14.2.0-19) ...
Setting up libx32gcc-s1 (14.2.0-19) ...
Setting up libx32itm1 (14.2.0-19) ...
Setting up libx32asan8 (14.2.0-19) ...
Setting up libc6-dev-x32 (2.41-12) ...
Setting up lib32gomp1 (14.2.0-19) ...
Setting up lib32gcc-s1 (14.2.0-19) ...
Setting up lib32stdc++6 (14.2.0-19) ...
Setting up lib32asan8 (14.2.0-19) ...
Setting up lib32quadmath0 (14.2.0-19) ...
Setting up libx32stdc++6 (14.2.0-19) ...
Setting up libx32ubsan1 (14.2.0-19) ...
Setting up lib32ubsan1 (14.2.0-19) ...
Setting up libx32gcc-14-dev (14.2.0-19) ...
Setting up lib32gcc-14-dev (14.2.0-19) ...
Setting up gcc-14-multilib (14.2.0-19) ...
Setting up gcc-multilib (4:14.2.0-1) ...
Processing triggers for base-files (13.8+deb13u1) ...
Processing triggers for libc-bin (2.41-12) ...
# OS packages installation successful
conf-gcc-multilib.1.0 is not installed. Install it? [Y/n] y
The following actions will be performed:
  - install conf-gcc-multilib 1.0*

<><> Gathering sources ><><><><><><><><><><><><><><><><><><><><><><><><><><><><>

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> installed conf-gcc-multilib.1.0
Done.
# Run eval $(opam env) to update the current shell environment
2025-10-17 14:05.55 ---> saved as "51657753eb6bfecb6876efdabab96f229658cbe099e65da62db642687f152497"
Job succeeded
2025-10-17 14:06.05: Job succeeded