(for PR #26991)

2025-10-17 13:54.24: New job: build conf-gcc-multilib.1.0, using opam dev
                              from https://github.com/ocaml/opam-repository.git#refs/pull/26991/head (3500c88614e8805aed82ce8c2bd2cee803e97b69)
                              on archlinux-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:archlinux-ocaml-5.4@sha256:d4ffd98f11eadb9ab8657e2ee8375c8ad84888a645ee39f80beaa9d357b23b82
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 "\"archlinux\""; 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:archlinux-ocaml-5.4@sha256:d4ffd98f11eadb9ab8657e2ee8375c8ad84888a645ee39f80beaa9d357b23b82-conf-gcc-multilib.1.0-3500c88614e8805aed82ce8c2bd2cee803e97b69"
2025-10-17 13:54.24: Using OBuilder spec:
((from ocaml/opam:archlinux-ocaml-5.4@sha256:d4ffd98f11eadb9ab8657e2ee8375c8ad84888a645ee39f80beaa9d357b23b82)
 (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 \"\\\"archlinux\\\"\"; 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.38: Waiting for worker…
2025-10-17 14:03.51: Got resource from pool OCluster
Building on eumache
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:archlinux-ocaml-5.4@sha256:d4ffd98f11eadb9ab8657e2ee8375c8ad84888a645ee39f80beaa9d357b23b82)
Unable to find image 'ocaml/opam:archlinux-ocaml-5.4@sha256:d4ffd98f11eadb9ab8657e2ee8375c8ad84888a645ee39f80beaa9d357b23b82' locally
docker.io/ocaml/opam@sha256:d4ffd98f11eadb9ab8657e2ee8375c8ad84888a645ee39f80beaa9d357b23b82: Pulling from ocaml/opam
f76ba238a84a: Already exists
5433a31b7d4e: Already exists
74ee6b24ca8e: Already exists
ac3ca215bcb1: Already exists
b91f57add277: Already exists
2c371071f498: Already exists
aa2833e3dbcd: Already exists
e2fa589b4a39: Already exists
db0ed6ae016a: Already exists
335f086c4198: Already exists
125843ae028e: Already exists
efc0d19fab1a: Already exists
16882f03d959: Already exists
16882f03d959: Already exists
4f4fb700ef54: Already exists
62623adbdce2: Already exists
b08d2b88a6d3: Already exists
85a7f2b1a287: Already exists
0be113b21ba7: Already exists
f8d53774465a: Already exists
1cd4763127f1: Already exists
08e93daa6985: Already exists
f8421f095cc0: Already exists
2593972bca85: Already exists
4d062722bcb2: Already exists
1a8ef7361fab: Already exists
8492fb6808a6: Already exists
04940e95ee73: Already exists
05a4def49bfb: Already exists
4d38ca90dc2a: Already exists
a7dbfb5e3636: Already exists
ff352db01faa: Already exists
d6eacb2b901a: Already exists
8be997b57637: Pulling fs layer
621fe3389b59: Pulling fs layer
ebb91cc3f718: Pulling fs layer
8be997b57637: Waiting
eec2b0b04ccc: Pulling fs layer
621fe3389b59: Waiting
ebb91cc3f718: Waiting
33c20e68ace1: Pulling fs layer
eec2b0b04ccc: Waiting
33c20e68ace1: Waiting
8be997b57637: Verifying Checksum
8be997b57637: Download complete
8be997b57637: Pull complete
ebb91cc3f718: Verifying Checksum
ebb91cc3f718: Download complete
eec2b0b04ccc: Verifying Checksum
eec2b0b04ccc: Download complete
33c20e68ace1: Verifying Checksum
33c20e68ace1: Download complete
621fe3389b59: Verifying Checksum
621fe3389b59: Download complete
621fe3389b59: Pull complete
ebb91cc3f718: Pull complete
eec2b0b04ccc: Pull complete
33c20e68ace1: Pull complete
Digest: sha256:d4ffd98f11eadb9ab8657e2ee8375c8ad84888a645ee39f80beaa9d357b23b82
Status: Downloaded newer image for ocaml/opam@sha256:d4ffd98f11eadb9ab8657e2ee8375c8ad84888a645ee39f80beaa9d357b23b82
2025-10-17 14:03.56 ---> using "acf6cad112877b425fc39c9b8b50e4c6a9e4911fbec36729199dccc5e03b4e82" 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-10-17 14:03.56 ---> using "b91464d55aa8f1234d2fe052e5a4daf16c5e1ffe2b2071c0fb111e19a495c77c" 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 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
Format upgrade done.

<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] Initialised
2025-10-17 14:03.56 ---> using "e0e03b5fe42030728add0e26bd621599f540847cdf625ecc9bbe33f31b3013f0" 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.1
# self-upgrade         no
# system               arch=x86_64 os=linux os-distribution=arch os-version=20251005.0.430597
# solver               builtin-0install
# install-criteria     -changed,-count[avoid-version,solution]
# upgrade-criteria     -count[avoid-version,solution]
# jobs                 71
# repositories         1 (version-controlled)
# pinned               1 (version)
# current-switch       5.4
# invariant            ["ocaml-base-compiler" {>= "5.4.0"}]
# compiler-packages    ocaml-base-compiler.5.4.0, ocaml-compiler.5.4.0, ocaml-options-vanilla.1
# ocaml:native         true
# ocaml:native-tools   true
# ocaml:native-dynlink true
# ocaml:stubsdir       /home/opam/.opam/5.4/lib/ocaml/stublibs:/home/opam/.opam/5.4/lib/ocaml
# ocaml:preinstalled   false
# ocaml:compiler       5.4.0
2025-10-17 14:03.56 ---> using "721251b59d6fa78da598f53a9c9c38fb7e6ae6a7c2dad2fbe619077acfe9a5a9" 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:03.56 ---> using "34b0287d0d012abd1913a0ff8a18f73aba165ace41d995acd22544ba8442c876" from cache

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

/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2025-10-17 14:04.09 ---> saved as "c4f4f0ad5556b2adf6a5b02bb67e2f63c985dd1457fdf74516e9d5aaf42eae91"

/home/opam: (run (network host)
                 (shell "opam update --depexts || true"))
+ /usr/sbin/sudo "pacman" "-Sy"
- :: Synchronizing package databases...
-  core downloading...
-  extra downloading...
2025-10-17 14:04.33 ---> saved as "fd4adca59191a2dceb1b43cb3fe1cc1fdcdb0883b4c666f453fc3a985fd8925a"

/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:04.34 ---> saved as "7c24ec2ffd34eb8361614dafb42f634e1227bc9a291a8b4483f3bdf64a416259"

/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 \"\\\"archlinux\\\"\"; 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
  ∗ conf-gcc-multilib 1.0 (pinned)

The following system packages will first need to be installed:
    lib32-glibc

<><> Handling external dependencies <><><><><><><><><><><><><><><><><><><><><><>

opam believes some required external dependencies are missing. opam can:
> 1. Run pacman to install them (may need root/sudo access)
  2. Display the recommended pacman 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/sbin/sudo "pacman" "-Su" "--noconfirm" "lib32-glibc"
- :: Starting full system upgrade...
- resolving dependencies...
- looking for conflicting packages...
- 
- Package (7)              Old Version  New Version               Net Change  Download Size
- 
- core/archlinux-keyring   20250929-1   20251012-1                  0.00 MiB       1.19 MiB
- extra/git                2.51.0-1     2.51.1-1                    0.02 MiB       6.66 MiB
- core/libarchive          3.8.1-1      3.8.2-1                     0.00 MiB       0.55 MiB
- core/systemd             258-4        258.1-1                     0.01 MiB       9.22 MiB
- core/systemd-libs        258-4        258.1-1                     0.00 MiB       1.24 MiB
- core/systemd-sysvcompat  258-4        258.1-1                     0.00 MiB       0.01 MiB
- core/lib32-glibc                      2.42+r17+gd7274d718e6f-1   18.49 MiB       3.45 MiB
- 
- Total Download Size:   22.30 MiB
- Total Installed Size:  89.12 MiB
- Net Upgrade Size:      18.53 MiB
- 
- :: Proceed with installation? [Y/n] 
- :: Retrieving packages...
-  systemd-258.1-1-x86_64 downloading...
-  git-2.51.1-1-x86_64 downloading...
-  lib32-glibc-2.42+r17+gd7274d718e6f-1-x86_64 downloading...
-  systemd-libs-258.1-1-x86_64 downloading...
-  archlinux-keyring-20251012-1-any downloading...
-  libarchive-3.8.2-1-x86_64 downloading...
-  systemd-sysvcompat-258.1-1-x86_64 downloading...
- checking keyring...
- checking package integrity...
- loading package files...
- checking for file conflicts...
- :: Processing package changes...
- installing lib32-glibc...
- upgrading libarchive...
- upgrading systemd-libs...
- upgrading systemd...
- upgrading archlinux-keyring...
- ==> ERROR: There is no secret key available to sign with.
- ==> Use 'pacman-key --init' to generate a default secret key.
- error: command failed to execute correctly
- upgrading git...
- upgrading systemd-sysvcompat...
- :: Running post-transaction hooks...
- ( 1/11) Creating system user accounts...
- ( 2/11) Updating journal message catalog...
- ( 3/11) Reloading system manager configuration...
- Failed to check for chroot() environment: Permission denied
-   Skipped: Current root is not booted.
- ( 4/11) Reloading user manager configuration...
- Failed to check for chroot() environment: Permission denied
-   Skipped: Current root is not booted.
- ( 5/11) Updating udev hardware database...
- ( 6/11) Restarting marked services...
- Failed to check for chroot() environment: Permission denied
-   Skipped: Current root is not booted.
- ( 7/11) Applying kernel sysctl settings...
- Failed to check for chroot() environment: Permission denied
-   Skipped: Current root is not booted.
- ( 8/11) Creating temporary files...
- /usr/lib/tmpfiles.d/journal-nocow.conf:26: Failed to resolve specifier: uninitialized /etc/ detected, skipping.
- All rules containing unresolvable specifiers will be skipped.
- ( 9/11) Reloading device manager configuration...
- Failed to check for chroot() environment: Permission denied
-   Skipped: Current root is not booted.
- (10/11) Arming ConditionNeedsUpdate...
- (11/11) Reloading system bus configuration...
- Failed to check for chroot() environment: Permission denied
-   Skipped: Current root is not booted.

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
∗ installed conf-gcc-multilib.1.0
Done.
# To update the current shell environment, run: eval $(opam env)
2025-10-17 14:05.22 ---> saved as "1ef2ceb98ae2bca288c80941ee4aa09e43a0357b4d3e9aa987f8faffc4a6e1c7"
Job succeeded
2025-10-17 14:05.26: Job succeeded