(for PR #29202)

2026-01-14 00:57.58: New job: build conf-dwarfutils.1, using opam dev
                              from https://github.com/ocaml/opam-repository.git#refs/pull/29202/head (4f48a01f4520ed3840d1d67ec392d24869f36ff1)
                              on alpine-3.22-ocaml-4.14/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/29202/head" && git reset --hard 4f48a01f
git fetch origin master
git merge --no-edit df0b753b90c59d2c65314c8e4154cd110d69be87
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:alpine-3.22-ocaml-4.14@sha256:1c3a5ef9216cc43d14bea2bc9b42f4b1ee30cd78bf2e6993672b4c0c52909216
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-dwarfutils.1 1
RUN opam reinstall conf-dwarfutils.1; \
    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 "\"alpine-3.22\""; then \
    echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
    fi; \
    test "$pkg" != 'conf-dwarfutils.1' && 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 .

2026-01-14 00:57.58: Using cache hint "ocaml/opam:alpine-3.22-ocaml-4.14@sha256:1c3a5ef9216cc43d14bea2bc9b42f4b1ee30cd78bf2e6993672b4c0c52909216-conf-dwarfutils.1-4f48a01f4520ed3840d1d67ec392d24869f36ff1"
2026-01-14 00:57.58: Using OBuilder spec:
((from ocaml/opam:alpine-3.22-ocaml-4.14@sha256:1c3a5ef9216cc43d14bea2bc9b42f4b1ee30cd78bf2e6993672b4c0c52909216)
 (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-dwarfutils.1 1"))
 (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
      (network host)
      (shell  "opam reinstall conf-dwarfutils.1;\
             \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 \"\\\"alpine-3.22\\\"\"; 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-dwarfutils.1' && partial_fails=\"$partial_fails $pkg\";\
             \n        done;\
             \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
             \n        exit 1"))
)

2026-01-14 00:57.58: Waiting for resource in pool OCluster
2026-01-14 00:57.59: Waiting for worker…
2026-01-14 00:59.21: Got resource from pool OCluster
Building on laodoke.caelum.ci.dev
All commits already cached
Updating files:  57% (10965/19197)
Updating files:  58% (11135/19197)
Updating files:  59% (11327/19197)
Updating files:  60% (11519/19197)
Updating files:  61% (11711/19197)
Updating files:  62% (11903/19197)
Updating files:  63% (12095/19197)
Updating files:  64% (12287/19197)
Updating files:  65% (12479/19197)
Updating files:  66% (12671/19197)
Updating files:  67% (12862/19197)
Updating files:  68% (13054/19197)
Updating files:  69% (13246/19197)
Updating files:  70% (13438/19197)
Updating files:  71% (13630/19197)
Updating files:  72% (13822/19197)
Updating files:  73% (14014/19197)
Updating files:  74% (14206/19197)
Updating files:  75% (14398/19197)
Updating files:  76% (14590/19197)
Updating files:  77% (14782/19197)
Updating files:  78% (14974/19197)
Updating files:  79% (15166/19197)
Updating files:  80% (15358/19197)
Updating files:  81% (15550/19197)
Updating files:  82% (15742/19197)
Updating files:  83% (15934/19197)
Updating files:  84% (16126/19197)
Updating files:  85% (16318/19197)
Updating files:  86% (16510/19197)
Updating files:  87% (16702/19197)
Updating files:  88% (16894/19197)
Updating files:  89% (17086/19197)
Updating files:  90% (17278/19197)
Updating files:  91% (17470/19197)
Updating files:  92% (17662/19197)
Updating files:  93% (17854/19197)
Updating files:  94% (18046/19197)
Updating files:  95% (18238/19197)
Updating files:  96% (18430/19197)
Updating files:  97% (18622/19197)
Updating files:  98% (18814/19197)
Updating files:  99% (19006/19197)
Updating files: 100% (19197/19197)
Updating files: 100% (19197/19197), done.
HEAD is now at df0b753b90 Merge pull request #29180 from dx3mod/master
Merge made by the 'ort' strategy.
 packages/conf-dwarfutils/conf-dwarfutils.1/opam | 27 +++++++++++++++++++++++++
 1 file changed, 27 insertions(+)
 create mode 100644 packages/conf-dwarfutils/conf-dwarfutils.1/opam

(from ocaml/opam:alpine-3.22-ocaml-4.14@sha256:1c3a5ef9216cc43d14bea2bc9b42f4b1ee30cd78bf2e6993672b4c0c52909216)
2026-01-14 00:59.29 ---> using "d1cef22083ba59d6db4e2f107091c68dd70ebdcc64c3894ad7db7be62ad17f4a" from cache

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

/: (workdir /home/opam)

/home/opam: (run (shell "sudo ln -f /usr/bin/opam-dev /usr/bin/opam"))
2026-01-14 00:59.30 ---> saved as "d2cb172e755b5e8a0ee24e133445a3ea22478f4e48886729c76cbcde08270342"

/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
Format upgrade done.
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.

[NOTE] The 'jobs' option was reset, its value was 255 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=255 --global

<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] Initialised
2026-01-14 01:00.21 ---> saved as "4b7ed401555204d1f183307388cb649d473c8a52ff80ce2f5a4e8504a88269c7"

/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.5.0
# self-upgrade         no
# system               arch=x86_64 os=linux os-distribution=alpine os-version=3.22.2
# 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       4.14
# invariant            ["ocaml-base-compiler" {= "4.14.2"}]
# compiler-packages    ocaml-base-compiler.4.14.2, ocaml-options-vanilla.1
# ocaml:native         true
# ocaml:native-tools   true
# ocaml:native-dynlink true
# ocaml:stubsdir       /home/opam/.opam/4.14/lib/ocaml/stublibs:/home/opam/.opam/4.14/lib/ocaml
# ocaml:preinstalled   false
# ocaml:compiler       4.14.2
2026-01-14 01:00.22 ---> saved as "9b1883465557a61ecd00e6282d59de098d32d80cc71a923a8ed0faa5af1a02e7"

/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/"))
2026-01-14 01:00.33 ---> saved as "be1c70f0be6391803fdc2f3adb75bd0fc31dd6c9a80328fabfc5d1e074dcb1ff"

/home/opam: (copy (src .) (dst opam-repository/))
2026-01-14 01:00.47 ---> saved as "3886cc25590861179b27d4b57f89dc95887bbefe06b4b4b51fcc89b55f817268"

/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2026-01-14 01:01.16 ---> saved as "b2854ca07afbb6867b8eec3270f3ebce66d60255569cf8e2fdf2ec4b123730cb"

/home/opam: (run (network host)
                 (shell "opam update --depexts || true"))
+ /usr/bin/sudo "apk" "update"
- fetch https://dl-cdn.alpinelinux.org/alpine/v3.22/main/x86_64/APKINDEX.tar.gz
- fetch https://dl-cdn.alpinelinux.org/alpine/v3.22/community/x86_64/APKINDEX.tar.gz
- fetch https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz
- fetch https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
- fetch https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz
- v3.22.2-337-g720f0a85f77 [https://dl-cdn.alpinelinux.org/alpine/v3.22/main]
- v3.22.2-338-gf60b0cb11b6 [https://dl-cdn.alpinelinux.org/alpine/v3.22/community]
- v20251224-1304-ga1ef3dca0ed [https://dl-cdn.alpinelinux.org/alpine/edge/main]
- v20251224-1117-g190ac52f0ce [https://dl-cdn.alpinelinux.org/alpine/edge/community]
- v20251224-1112-gd8771c356ad [https://dl-cdn.alpinelinux.org/alpine/edge/testing]
- OK: 60698 distinct packages available
2026-01-14 01:01.19 ---> saved as "758695e900ec02eca480fd38069ae1bc5a8018d41f607161643c47516aea6bc5"

/home/opam: (run (shell "opam pin add -k version -yn conf-dwarfutils.1 1"))
conf-dwarfutils is now pinned to version 1
2026-01-14 01:01.21 ---> saved as "d4032254a6c3b4bc1a586279dbd3b662bb937312dfa77d3b79f3fba9f2750340"

/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
                 (network host)
                 (shell  "opam reinstall conf-dwarfutils.1;\
                        \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 \"\\\"alpine-3.22\\\"\"; 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-dwarfutils.1' && partial_fails=\"$partial_fails $pkg\";\
                        \n        done;\
                        \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
                        \n        exit 1"))
conf-dwarfutils.1 is not installed. Install it? [Y/n] y
The following actions will be performed:
=== install 2 packages
  - install conf-dwarfutils 1 (pinned)
  - install conf-pkg-config 4          [required by conf-dwarfutils]

The following system packages will first need to be installed:
    dwarf-tools libdwarf-dev

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

opam believes some required external dependencies are missing. opam can:
> 1. Run apk to install them (may need root/sudo access)
  2. Display the recommended apk 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 "apk" "add" "dwarf-tools" "libdwarf-dev"
- (1/6) Installing libdwarf (0.9.2-r0)
- (2/6) Installing liblibdwarfp (0.9.2-r0)
- (3/6) Installing dwarf-tools (0.9.2-r0)
- (4/6) Installing zstd (1.5.7-r0)
- (5/6) Installing zstd-dev (1.5.7-r0)
- (6/6) Installing libdwarf-dev (0.9.2-r0)
- Executing busybox-1.37.0-r20.trigger
- OK: 309 MiB in 108 packages

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> installed conf-pkg-config.4
-> installed conf-dwarfutils.1
Done.
# To update the current shell environment, run: eval $(opam env)
2026-01-14 01:01.34 ---> saved as "a3b09897f864f3c9e6e0281bd43c160ad057b8fb9820fd8e19e908861a31795a"
Job succeeded
2026-01-14 01:02.33: Job succeeded