(for PR #26991)

2025-04-03 11:36.10: 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.3/arm32v7

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 020115166033f8d18e08028df022bfc4916eac6e
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-12-ocaml-5.3@sha256:a38dbd082fdf5755016137f09b7e5e2c93f241a39f67e8e3a6fc481acf8be709
SHELL [ "/usr/bin/linux32", "/bin/sh", "-c" ]
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 11:36.10: Using cache hint "ocaml/opam:debian-12-ocaml-5.3@sha256:a38dbd082fdf5755016137f09b7e5e2c93f241a39f67e8e3a6fc481acf8be709-conf-gcc-multilib.1.0-3500c88614e8805aed82ce8c2bd2cee803e97b69"
2025-04-03 11:36.10: Using OBuilder spec:
((from ocaml/opam:debian-12-ocaml-5.3@sha256:a38dbd082fdf5755016137f09b7e5e2c93f241a39f67e8e3a6fc481acf8be709)
 (shell /usr/bin/linux32 /bin/sh -c)
 (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 11:36.10: Waiting for resource in pool OCluster
2025-04-03 11:36.10: Waiting for worker…
2025-04-03 11:36.10: Got resource from pool OCluster
Building on molpadia.caelum.ci.dev
Updating files:  77% (17598/22793)
Updating files:  78% (17779/22793)
Updating files:  79% (18007/22793)
Updating files:  80% (18235/22793)
Updating files:  81% (18463/22793)
Updating files:  82% (18691/22793)
Updating files:  83% (18919/22793)
Updating files:  84% (19147/22793)
Updating files:  85% (19375/22793)
Updating files:  86% (19602/22793)
Updating files:  87% (19830/22793)
Updating files:  88% (20058/22793)
Updating files:  89% (20286/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 487c958bec Merge commit '8f78ac65ee262835b31990fcdf159b4ccdca7c5f'
HEAD is now at 0201151660 Merge pull request #27703 from codinuum/diffast-20250403a
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@sha256:a38dbd082fdf5755016137f09b7e5e2c93f241a39f67e8e3a6fc481acf8be709)
Unable to find image 'ocaml/opam:debian-12-ocaml-5.3@sha256:a38dbd082fdf5755016137f09b7e5e2c93f241a39f67e8e3a6fc481acf8be709' locally
docker.io/ocaml/opam@sha256:a38dbd082fdf5755016137f09b7e5e2c93f241a39f67e8e3a6fc481acf8be709: Pulling from ocaml/opam
0f93a517c934: Already exists
24b256e8b0c2: Pulling fs layer
814cf914a3cd: Pulling fs layer
0268584d2468: Pulling fs layer
3338738a3e3d: Pulling fs layer
93ee4afabc48: Pulling fs layer
5fd078ebae3e: Pulling fs layer
6f7952ea0621: Pulling fs layer
3338738a3e3d: Waiting
6f7952ea0621: Waiting
93ee4afabc48: Waiting
24b256e8b0c2: Verifying Checksum
24b256e8b0c2: Download complete
814cf914a3cd: Download complete
0268584d2468: Download complete
24b256e8b0c2: Pull complete
814cf914a3cd: Pull complete
0268584d2468: Pull complete
93ee4afabc48: Download complete
6f7952ea0621: Download complete
5fd078ebae3e: Verifying Checksum
5fd078ebae3e: Download complete
3338738a3e3d: Verifying Checksum
3338738a3e3d: Download complete
3338738a3e3d: Pull complete
93ee4afabc48: Pull complete
5fd078ebae3e: Pull complete
6f7952ea0621: Pull complete
Digest: sha256:a38dbd082fdf5755016137f09b7e5e2c93f241a39f67e8e3a6fc481acf8be709
Status: Downloaded newer image for ocaml/opam@sha256:a38dbd082fdf5755016137f09b7e5e2c93f241a39f67e8e3a6fc481acf8be709
WARNING: The requested image's platform (linux/arm/v7) does not match the detected host platform (linux/arm64/v8) and no specific platform was requested
2025-04-03 11:36.15 ---> using "f6d10b6f3d544c0f7779b0cba81ba003e3bbd7c525b64f42fafd0b33dbbc0abe" from cache

/: (shell /usr/bin/linux32 /bin/sh -c)

/: (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 11:36.15 ---> using "5bd2cf278360db61f0b5f07a924dd1e9f865552642a26ef82ce84d5e70e2c06a" 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
2025-04-03 11:36.15 ---> using "d44f26fc9bb589238b9710d965f9e0e8f44d77640165201a55f43f6e87f66487" 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=arm32 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                 79
# repositories         1 (local)
# 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-option-bytecode-only.1, ocaml-options-vanilla.1
# ocaml:native         false
# ocaml:native-tools   false
# ocaml:native-dynlink false
# 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+bytecode-only
2025-04-03 11:36.15 ---> using "d82633b567c8f7e367e60a37674c0d3b0ef190af689fbf3edaf09659d3b9d065" 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 11:36.15 ---> using "cf9a3a6855ebdf040a33fcef6ee9c43e169509d8ffa36aea6608dc7b056ffc4c" from cache

/home/opam: (copy (src .) (dst opam-repository/))
2025-04-03 11:36.22 ---> saved as "624961702ef2c32bd88f1ae4e75838fa6cf7b46e1a2da7642d26590357a43753"

/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2025-04-03 11:37.06 ---> saved as "1a347d5b12d5a0c95596f18099c129e595533c1b1053ad50e5f80bf6a0d7e1f4"

/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 armhf Packages [231 kB]
- Fetched 334 kB in 1s (449 kB/s)
- Reading package lists...
- 
2025-04-03 11:37.08 ---> saved as "8d359ba33cf7528ce8d24f83478bc8828277cf1a4b3a8990886990ce849a4c0f"

/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 11:37.08 ---> saved as "9ffaef4cdd76e929a1e3e42857e1c8b1fade90144532e71cbf4b35a3589766ae"

/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/linux32" "/bin/sh" "-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
2025-04-03 11:37.18: Job failed: Failed: Build failed
2025-04-03 11:37.18: Log analysis:
2025-04-03 11:37.18: >>> 
[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)
2025-04-03 11:37.18: [SKIP] Package not available