(for PR #29402)

2026-02-16 02:23.12: New job: build shibboleth.0.0.5, using opam dev
                              from https://github.com/ocaml/opam-repository.git#refs/pull/29402/head (2ddeadc17128da5d11a0827bd0757076bc84995b)
                              on debian-13-ocaml-4.10/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/29402/head" && git reset --hard 2ddeadc1
git fetch origin master
git merge --no-edit 66fe1c299d8a0fe922268a88a05ccf4bee097900
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-13-ocaml-4.10@sha256:f02908211a1832379314699c74a3ace7d619a308e0b9b6f0b77ba1cccfc19e88
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 shibboleth.0.0.5 0.0.5
RUN opam reinstall shibboleth.0.0.5; \
    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" != 'shibboleth.0.0.5' && 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-02-16 02:23.12: Using cache hint "ocaml/opam:debian-13-ocaml-4.10@sha256:f02908211a1832379314699c74a3ace7d619a308e0b9b6f0b77ba1cccfc19e88-shibboleth.0.0.5-2ddeadc17128da5d11a0827bd0757076bc84995b"
2026-02-16 02:23.12: Using OBuilder spec:
((from ocaml/opam:debian-13-ocaml-4.10@sha256:f02908211a1832379314699c74a3ace7d619a308e0b9b6f0b77ba1cccfc19e88)
 (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 shibboleth.0.0.5 0.0.5"))
 (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
      (network host)
      (shell  "opam reinstall shibboleth.0.0.5;\
             \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\" != 'shibboleth.0.0.5' && partial_fails=\"$partial_fails $pkg\";\
             \n        done;\
             \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
             \n        exit 1"))
)

2026-02-16 02:23.12: Waiting for resource in pool OCluster
2026-02-16 02:23.12: Waiting for worker…
2026-02-16 02:25.31: Got resource from pool OCluster
Building on toxis.caelum.ci.dev
Updating files:  94% (17226/18214)
Updating files:  95% (17304/18214)
Updating files:  96% (17486/18214)
Updating files:  97% (17668/18214)
Updating files:  98% (17850/18214)
Updating files:  99% (18032/18214)
Updating files: 100% (18214/18214)
Updating files: 100% (18214/18214), done.
HEAD is now at 35d36ccd66 [new release] tiny_httpd (3 packages) (0.20)
HEAD is now at 66fe1c299d Merge pull request #29371 from edwintorok/release-lintcstubs-arity-0.5.0
Updating 66fe1c299d..2ddeadc171
Fast-forward
 packages/shibboleth/shibboleth.0.0.5/opam | 57 +++++++++++++++++++++++++++++++
 1 file changed, 57 insertions(+)
 create mode 100644 packages/shibboleth/shibboleth.0.0.5/opam

(from ocaml/opam:debian-13-ocaml-4.10@sha256:f02908211a1832379314699c74a3ace7d619a308e0b9b6f0b77ba1cccfc19e88)
2026-02-16 02:25.59 ---> saved as "bc65e7d3b248082bab94cc4f683bf9bd96455c930379d5a48addf9c22e8c7a22"

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

/: (workdir /home/opam)

/home/opam: (run (shell "sudo ln -f /usr/bin/opam-dev /usr/bin/opam"))
2026-02-16 02:26.00 ---> saved as "e5e08625a680212245d585cfbc1e9f525aee9c07d8da7377a4e4d36febe657d7"

/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
2026-02-16 02:26.30 ---> saved as "ef4b663e05f3add7274b3df899463171c3eeccdc5209e354512c7505c3c7cdde"

/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=debian os-version=13
# 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.10
# invariant            ["ocaml-base-compiler" {= "4.10.2"}]
# compiler-packages    ocaml-base-compiler.4.10.2
# ocaml:native         true
# ocaml:native-tools   true
# ocaml:native-dynlink true
# ocaml:stubsdir       /home/opam/.opam/4.10/lib/ocaml/stublibs:/home/opam/.opam/4.10/lib/ocaml
# ocaml:preinstalled   false
# ocaml:compiler       4.10.2
2026-02-16 02:26.31 ---> saved as "d2b18e277a481cc99daac2f89acfeddfa752a183a79bdc32842b9b34878908a9"

/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-02-16 02:26.37 ---> saved as "74505e40362c225b59949c1b9a6983e8e255ccd0107ed5271cdc0c2d88daeab6"

/home/opam: (copy (src .) (dst opam-repository/))
2026-02-16 02:26.55 ---> saved as "c031287d9ba3254927f07270a578062594f4e673d8953166fa470a9e12a49dd1"

/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2026-02-16 02:27.17 ---> saved as "88fb0a7b48e27a8502aa4c32b81ffa4d047e7820ecd1d77c1ae7766dafaf989b"

/home/opam: (run (network host)
                 (shell "opam update --depexts || true"))
+ /usr/bin/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 [108 kB]
- Fetched 198 kB in 0s (1687 kB/s)
- Reading package lists...
- 
2026-02-16 02:27.18 ---> saved as "9eeae449024f8f573092c73fca9052fdc78ec95ed75ea6e04d007470201f2d45"

/home/opam: (run (shell "opam pin add -k version -yn shibboleth.0.0.5 0.0.5"))
shibboleth is now pinned to version 0.0.5
2026-02-16 02:27.20 ---> saved as "2198e008cd202a88f533d6f6e11d64825a30122768a9733782874496fb475fbb"

/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
                 (network host)
                 (shell  "opam reinstall shibboleth.0.0.5;\
                        \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\" != 'shibboleth.0.0.5' && partial_fails=\"$partial_fails $pkg\";\
                        \n        done;\
                        \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
                        \n        exit 1"))
shibboleth.0.0.5 is not installed. Install it? [Y/n] y
  * No agreement on the version of ocaml:
    - (invariant) -> ocaml-base-compiler = 4.10.2 -> ocaml = 4.10.2
    - shibboleth -> ocaml >= 4.14
    You can temporarily relax the switch invariant with `--update-invariant'
  * Incompatible packages:
    - (invariant) -> ocaml-base-compiler = 4.10.2
    - shibboleth -> ocaml >= 4.14 -> ocaml-variants >= 4.14.1~
  * Missing dependency:
    - shibboleth -> ocaml >= 4.14 -> ocaml-variants >= 4.14.1~ -> system-msvc
    unmet availability conditions: 'os = "win32"'

No solution found, exiting
"/usr/bin/env" "bash" "-c" "opam reinstall shibboleth.0.0.5;
        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" != 'shibboleth.0.0.5' && partial_fails="$partial_fails $pkg";
        done;
        test "${partial_fails}" != "" && echo "opam-repo-ci detected dependencies failing: ${partial_fails}";
        exit 1" failed with exit status 20
2026-02-16 02:27.37: Job failed: Failed: Build failed
2026-02-16 02:27.37: Log analysis:
2026-02-16 02:27.37: >>> 
No solution found, exiting
 (score = 100)
2026-02-16 02:27.37: [SKIP] Package not available