(not at the head of any monitored branch or PR)
2025-05-30 20:08.26: New job: build conf-libelf.1.0.0, using opam 2.3
                              from https://github.com/ocaml/opam-repository.git#refs/pull/27922/head (0f3f6b7730b4831be6a61e8e675ff85eb5e66b71)
                              on opensuse-tumbleweed-ocaml-5.3/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/27922/head" && git reset --hard 0f3f6b77
git fetch origin master
git merge --no-edit 6ef11c3f3418da8dac044b83bba15d8b424f95d4
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:opensuse-tumbleweed-ocaml-5.3@sha256:549741d8ecee30af2e7edb303a9dda5c92611982fab1fbce2a0032bd4f647aeb
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-libelf.1.0.0 1.0.0
RUN opam reinstall conf-libelf.1.0.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 "\"opensuse-tumbleweed\""; then \
    echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
    fi; \
    test "$pkg" != 'conf-libelf.1.0.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-05-30 20:08.26: Using cache hint "ocaml/opam:opensuse-tumbleweed-ocaml-5.3@sha256:549741d8ecee30af2e7edb303a9dda5c92611982fab1fbce2a0032bd4f647aeb-conf-libelf.1.0.0-0f3f6b7730b4831be6a61e8e675ff85eb5e66b71"
2025-05-30 20:08.26: Using OBuilder spec:
((from ocaml/opam:opensuse-tumbleweed-ocaml-5.3@sha256:549741d8ecee30af2e7edb303a9dda5c92611982fab1fbce2a0032bd4f647aeb)
 (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-libelf.1.0.0 1.0.0"))
 (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
      (network host)
      (shell  "opam reinstall conf-libelf.1.0.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 \"\\\"opensuse-tumbleweed\\\"\"; 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-libelf.1.0.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-05-30 20:08.26: Waiting for resource in pool OCluster
2025-05-30 20:08.26: Waiting for worker…
2025-05-30 20:08.27: Got resource from pool OCluster
Building on x86-bm-c7.sw.ocaml.org
All commits already cached
Updating files:  83% (19239/23165)
Updating files:  84% (19459/23165)
Updating files:  85% (19691/23165)
Updating files:  86% (19922/23165)
Updating files:  87% (20154/23165)
Updating files:  88% (20386/23165)
Updating files:  89% (20617/23165)
Updating files:  90% (20849/23165)
Updating files:  91% (21081/23165)
Updating files:  92% (21312/23165)
Updating files:  93% (21544/23165)
Updating files:  94% (21776/23165)
Updating files:  95% (22007/23165)
Updating files:  96% (22239/23165)
Updating files:  97% (22471/23165)
Updating files:  98% (22702/23165)
Updating files:  99% (22934/23165)
Updating files: 100% (23165/23165)
Updating files: 100% (23165/23165), done.
HEAD is now at 6ef11c3f34 Merge pull request #27966 from Leonidas-from-XIV/lsp-csexp
Merge made by the 'ort' strategy.
 packages/conf-libelf/conf-libelf.1.0.0/opam | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)
 create mode 100644 packages/conf-libelf/conf-libelf.1.0.0/opam

(from ocaml/opam:opensuse-tumbleweed-ocaml-5.3@sha256:549741d8ecee30af2e7edb303a9dda5c92611982fab1fbce2a0032bd4f647aeb)
Unable to find image 'ocaml/opam:opensuse-tumbleweed-ocaml-5.3@sha256:549741d8ecee30af2e7edb303a9dda5c92611982fab1fbce2a0032bd4f647aeb' locally
docker.io/ocaml/opam@sha256:549741d8ecee30af2e7edb303a9dda5c92611982fab1fbce2a0032bd4f647aeb: Pulling from ocaml/opam
b7bf09aac02c: Pulling fs layer
b7bf09aac02c: Verifying Checksum
b7bf09aac02c: Download complete
b7bf09aac02c: Pull complete
Digest: sha256:549741d8ecee30af2e7edb303a9dda5c92611982fab1fbce2a0032bd4f647aeb
Status: Downloaded newer image for ocaml/opam@sha256:549741d8ecee30af2e7edb303a9dda5c92611982fab1fbce2a0032bd4f647aeb
2025-05-30 20:11.07 ---> saved as "8241aec0e7e221b97a17778ca5d810d15c514b4b3f5d6e81859f430a0f49c1c9"

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

/: (workdir /home/opam)

/home/opam: (run (shell "sudo ln -f /usr/bin/opam-2.3 /usr/bin/opam"))
2025-05-30 20:11.07 ---> saved as "b6f54f565969025ec82d75dc6d9d3432d629f846cc501227e224c97e4066ea26"

/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] Initialised
2025-05-30 20:11.39 ---> saved as "5fdd911e8617e144d0e67139d34112007721fbed86662f64faf288e385670073"

/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=opensuse-tumbleweed os-version=20250522
# solver               builtin-0install
# install-criteria     -changed,-count[avoid-version,solution]
# upgrade-criteria     -count[avoid-version,solution]
# jobs                 31
# repositories         1 (version-controlled)
# 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-options-vanilla.1
# ocaml:native         true
# ocaml:native-tools   true
# ocaml:native-dynlink true
# 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
2025-05-30 20:11.40 ---> saved as "85b14bfe6614925533f56c2c6937d0bde0f807530e31fa577d298b9156e74638"

/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-05-30 20:11.53 ---> saved as "b49cb6013bc1ba73f2ad9ab95bcbe0086dbf7e948f1a6d4dc4cf73aec70549c7"

/home/opam: (copy (src .) (dst opam-repository/))
2025-05-30 20:12.08 ---> saved as "b250dcf7bbd4f5790254ddc670aacaed4093755fa46456d229fcfff76f26f658"

/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2025-05-30 20:12.31 ---> saved as "e4c1fac6a754ca54babc5fad15c0df1393a3564c794ddf8b9c01c46b4eec4eb2"

/home/opam: (run (network host)
                 (shell "opam update --depexts || true"))
+ /usr/bin/sudo "zypper" "--non-interactive" "refresh"
- Repository 'openSUSE-Tumbleweed-Update' is up to date.
- Repository 'openSUSE-Tumbleweed-Non-Oss' is up to date.
- Repository 'openSUSE-Tumbleweed-Oss' is up to date.
- All repositories have been refreshed.
2025-05-30 20:12.32 ---> saved as "ed67bdecaa54b289c5a9e49aeda58f887ebe21f0ed203324661dee80931d95ae"

/home/opam: (run (shell "opam pin add -k version -yn conf-libelf.1.0.0 1.0.0"))
conf-libelf is now pinned to version 1.0.0
2025-05-30 20:12.33 ---> saved as "3fc2d648e3185ea4c6102c1a42ba258447398ac40686a3ed9b0dcb8b5a745f39"

/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
                 (network host)
                 (shell  "opam reinstall conf-libelf.1.0.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 \"\\\"opensuse-tumbleweed\\\"\"; 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-libelf.1.0.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-libelf.1.0.0 is not installed. Install it? [y/n] y
The following actions will be performed:
=== install 2 packages
  - install conf-libelf     1.0.0 (pinned)
  - install conf-pkg-config 4              [required by conf-libelf]

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> installed conf-pkg-config.4
[ERROR] The compilation of conf-libelf.1.0.0 failed at "pkg-config --exists libelf".

#=== ERROR while compiling conf-libelf.1.0.0 ==================================#
# context              2.3.0 | linux/x86_64 | ocaml-base-compiler.5.3.0 | pinned
# path                 ~/.opam/5.3/.opam-switch/build/conf-libelf.1.0.0
# command              ~/.opam/opam-init/hooks/sandbox.sh build pkg-config --exists libelf
# exit-code            1
# env-file             ~/.opam/log/conf-libelf-7-52fd68.env
# output-file          ~/.opam/log/conf-libelf-7-52fd68.out



<><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
+- The following actions failed
| - build conf-libelf 1.0.0
+- 
+- The following changes have been performed
| - install conf-pkg-config 4
+- 
# To update the current shell environment, run: eval $(opam env)

The former state can be restored with:
    /usr/bin/opam switch import "/home/opam/.opam/5.3/.opam-switch/backup/state-20250530201233.export"
[WARNING] OPAMCONFIRMLEVEL was ignored because CLI 2.0 was requested and it was introduced in 2.1.
[WARNING] OPAMCONFIRMLEVEL was ignored because CLI 2.0 was requested and it was introduced in 2.1.
"/usr/bin/env" "bash" "-c" "opam reinstall conf-libelf.1.0.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 "\"opensuse-tumbleweed\""; then
            echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.";
          fi;
          test "$pkg" != 'conf-libelf.1.0.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 1
2025-05-30 20:12.46: Job failed: Failed: Build failed
2025-05-30 20:12.46: Log analysis:
2025-05-30 20:12.46: >>> 
[ERROR] The compilation of conf-libelf.1.0.0 failed at "pkg-config --exists libelf".
 (score = 20)
2025-05-30 20:12.46: The compilation of conf-libelf.1.0.0 failed at "pkg-config --exists libelf".