(for PR #29402)

2026-04-29 12:47.51: New job: build shibboleth.0.0.5, using opam dev
                              from https://github.com/ocaml/opam-repository.git#refs/pull/29402/head (2ddeadc17128da5d11a0827bd0757076bc84995b)
                              on freebsd-15.0-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/29402/head" && git reset --hard 2ddeadc1
git fetch origin master
git merge --no-edit dd592986d47d277a9eee2bf37e1c4aa3a0c3efbd
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM freebsd-15.0-ocaml-4.14
USER 1000:1000
WORKDIR /home/opam
RUN sudo ln -f /usr/local/bin/opam-dev /usr/local/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 "\"freebsd-15.0\""; 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-04-29 12:47.51: Using cache hint "freebsd-15.0-ocaml-4.14-shibboleth.0.0.5-2ddeadc17128da5d11a0827bd0757076bc84995b"
2026-04-29 12:47.51: Using OBuilder spec:
((from freebsd-15.0-ocaml-4.14)
 (user (uid 1000) (gid 1000))
 (workdir /home/opam)
 (run (shell "sudo ln -f /usr/local/bin/opam-dev /usr/local/bin/opam"))
 (run (network host)
      (shell "opam init --reinit -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 \"\\\"freebsd-15.0\\\"\"; 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-04-29 12:47.51: Connecting to build cluster…
2026-04-29 12:47.51: Waiting for resource in pool OCluster
2026-04-29 12:47.53: Waiting for worker…
2026-04-29 12:52.21: Got resource from pool OCluster
Building on rosemary
All commits already cached
Updating files: 100% (18869/18869), done.
HEAD is now at dd592986d4 Merge pull request #29752 from raphael-proust/opam-publish-lwt.6.1.2
Merge made by the 'ort' strategy.
 packages/shibboleth/shibboleth.0.0.5/opam | 57 +++++++++++++++++++++++++++++++
 1 file changed, 57 insertions(+)
 create mode 100644 packages/shibboleth/shibboleth.0.0.5/opam

(from freebsd-15.0-ocaml-4.14)
2026-04-29 12:49.27 ---> using "72cdd96d2d21f8c55140a83e6aa1d871999cc103a298a3bf0e5db4a314024f45" from cache

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

/: (workdir /home/opam)

/home/opam: (run (shell "sudo ln -f /usr/local/bin/opam-dev /usr/local/bin/opam"))
2026-04-29 12:49.27 ---> using "4c4fda7ee7ed9eac597f961b87c33c63b34aaccb551c72772ace9b375fad8d97" from cache

/home/opam: (run (network host)
                 (shell "opam init --reinit -ni"))
No configuration file found, using 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.1 to version 2.2, which can't be reverted.
You may want to back it up before going further.

Continue? [Y/n] y
[NOTE] The 'jobs' option was reset, its value was 1 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=1 --global
Format upgrade done.

<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] no changes from git+file:///home/opam/opam-repository
2026-04-29 12:49.27 ---> using "de946948e0d785daa61a047a82c57932e35ba22f119c99cc666f726de2cc2a20" 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.5.1
# self-upgrade         no
# system               arch=x86_64 os=freebsd os-distribution=freebsd os-version=1500068
# solver               builtin-0install
# install-criteria     -changed,-count[avoid-version,solution]
# upgrade-criteria     -count[avoid-version,solution]
# jobs                 39
# repositories         1 (version-controlled)
# pinned               0
# current-switch       4.14.3
# invariant            ["ocaml-base-compiler" {= "4.14.3"} | "ocaml-system" {= "4.14.3"}]
# compiler-packages    ocaml-base-compiler.4.14.3, ocaml-options-vanilla.1
# ocaml:native         true
# ocaml:native-tools   true
# ocaml:native-dynlink true
# ocaml:stubsdir       /home/opam/.opam/4.14.3/lib/ocaml/stublibs:/home/opam/.opam/4.14.3/lib/ocaml
# ocaml:preinstalled   false
# ocaml:compiler       4.14.3
2026-04-29 12:49.28 ---> using "cc62b571599dace346eb0c2adf0d036a1fca0f9a32553fdeaf78973ab615703a" 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/"))
2026-04-29 12:49.28 ---> using "520b4dcdc21dfac94163528e64fd1a074957ae3ed5eaaa82eef1382aece5f511" from cache

/home/opam: (copy (src .) (dst opam-repository/))
2026-04-29 12:49.30 ---> using "5807049b76afcc6905850d90b347934df4fe402fa08bfc9e18ce085e221e060a" from cache

/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2026-04-29 12:49.30 ---> using "2e4ca6a59678c741c0408c9cbd729da8aab5eb95ddbe3eb933639ae2174d712c" from cache

/home/opam: (run (network host)
                 (shell "opam update --depexts || true"))
[WARNING] Unknown update command for bsd, skipping system update
2026-04-29 12:49.30 ---> using "bd3f131a249cde52cdf4f6094c511e37c84a97eb8ec8dcdf63d751ea9caf0a96" from cache

/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-04-29 12:49.30 ---> using "795e500f249fc10ca88162587457d38cdfe94d975c31e4ed07ce98edda776bc9" from cache

/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 \"\\\"freebsd-15.0\\\"\"; 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
The following actions will be performed:
=== install 38 packages
  ∗ astring             0.8.5          [required by bos]
  ∗ base                v0.16.5        [required by ppx_sexp_conv]
  ∗ bos                 0.3.0          [required by shibboleth]
  ∗ cmdliner            2.1.1          [required by shibboleth]
  ∗ containers          3.18           [required by shibboleth]
  ∗ cppo                1.8.0          [required by ppx_deriving]
  ∗ csexp               1.5.2          [required by dune-configurator]
  ∗ dune                3.22.2         [required by shibboleth]
  ∗ dune-configurator   3.22.2         [required by containers]
  ∗ either              1.0.0          [required by containers]
  ∗ ez_file             0.3.0          [required by shibboleth]
  ∗ fmt                 0.11.0         [required by shibboleth]
  ∗ fpath               0.7.3          [required by shibboleth]
  ∗ logs                0.10.0         [required by bos]
  ∗ menhir              20260209       [required by shibboleth]
  ∗ menhirCST           20260209       [required by menhir]
  ∗ menhirGLR           20260209       [required by menhir]
  ∗ menhirLib           20260209       [required by shibboleth]
  ∗ menhirSdk           20260209       [required by menhir]
  ∗ num                 1.6            [required by sexplib]
  ∗ ocaml-compiler-libs v0.12.4        [required by ppxlib]
  ∗ ocamlbuild          0.16.1         [required by bos]
  ∗ ocamlfind           1.9.8          [required by bos, ppx_deriving]
  ∗ ocplib_stuff        0.4.0          [required by ez_file]
  ∗ parsexp             v0.16.0        [required by sexplib]
  ∗ ppx_derivers        1.2.1          [required by ppx_deriving]
  ∗ ppx_deriving        6.0.3          [required by shibboleth]
  ∗ ppx_import          1.12.0         [required by shibboleth]
  ∗ ppx_sexp_conv       v0.16.0        [required by shibboleth]
  ∗ ppxlib              0.35.0         [required by shibboleth]
  ∗ re                  1.14.0         [required by shibboleth]
  ∗ rresult             0.7.0          [required by bos]
  ∗ sexplib             v0.16.0        [required by shibboleth]
  ∗ sexplib0            v0.16.0        [required by shibboleth]
  ∗ shibboleth          0.0.5 (pinned)
  ∗ stdlib-shims        0.3.0          [required by ppxlib]
  ∗ topkg               1.1.1          [required by bos]
  ∗ yojson              3.0.0          [required by shibboleth]

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
⬇ retrieved astring.0.8.5  (cached)
⬇ retrieved base.v0.16.5  (cached)
⬇ retrieved bos.0.3.0  (cached)
⬇ retrieved cmdliner.2.1.1  (cached)
⬇ retrieved containers.3.18  (cached)
⬇ retrieved cppo.1.8.0  (cached)
⬇ retrieved csexp.1.5.2  (cached)
⬇ retrieved dune.3.22.2, dune-configurator.3.22.2  (cached)
⬇ retrieved either.1.0.0  (cached)
⬇ retrieved ez_file.0.3.0  (cached)
⬇ retrieved fmt.0.11.0  (cached)
⬇ retrieved fpath.0.7.3  (cached)
⬇ retrieved logs.0.10.0  (cached)
∗ installed cmdliner.2.1.1
⬇ retrieved menhir.20260209, menhirCST.20260209, menhirGLR.20260209, menhirLib.20260209, menhirSdk.20260209  (cached)
⬇ retrieved num.1.6  (cached)
⬇ retrieved ocaml-compiler-libs.v0.12.4  (cached)
⬇ retrieved ocamlbuild.0.16.1  (cached)
⬇ retrieved ocamlfind.1.9.8  (cached)
⬇ retrieved ocplib_stuff.0.4.0  (cached)
⬇ retrieved parsexp.v0.16.0  (cached)
⬇ retrieved ppx_derivers.1.2.1  (cached)
⬇ retrieved ppx_deriving.6.0.3  (cached)
⬇ retrieved ppx_import.1.12.0  (cached)
⬇ retrieved ppx_sexp_conv.v0.16.0  (cached)
⬇ retrieved ppxlib.0.35.0  (cached)
⬇ retrieved re.1.14.0  (cached)
⬇ retrieved rresult.0.7.0  (cached)
⬇ retrieved sexplib.v0.16.0  (cached)
⬇ retrieved sexplib0.v0.16.0  (cached)
[ERROR] Failed to get sources of shibboleth.0.0.5: Bad checksum
⬇ retrieved stdlib-shims.0.3.0  (cached)
⬇ retrieved topkg.1.1.1  (cached)
⬇ retrieved yojson.3.0.0  (cached)
∗ installed num.1.6
∗ installed ocamlfind.1.9.8
∗ installed ocamlbuild.0.16.1
∗ installed topkg.1.1.1
∗ installed rresult.0.7.0
∗ installed fmt.0.11.0
∗ installed astring.0.8.5
∗ installed fpath.0.7.3
∗ installed logs.0.10.0
∗ installed bos.0.3.0
∗ installed dune.3.22.2
∗ installed either.1.0.0
∗ installed csexp.1.5.2
∗ installed stdlib-shims.0.3.0
∗ installed ocplib_stuff.0.4.0
∗ installed cppo.1.8.0
∗ installed menhirCST.20260209
∗ installed menhirGLR.20260209
∗ installed menhirLib.20260209
∗ installed menhirSdk.20260209
∗ installed ocaml-compiler-libs.v0.12.4
∗ installed ppx_derivers.1.2.1
∗ installed sexplib0.v0.16.0
∗ installed yojson.3.0.0
∗ installed re.1.14.0
∗ installed dune-configurator.3.22.2
∗ installed ez_file.0.3.0
∗ installed parsexp.v0.16.0
∗ installed containers.3.18
∗ installed sexplib.v0.16.0
∗ installed base.v0.16.5
∗ installed menhir.20260209
∗ installed ppxlib.0.35.0
∗ installed ppx_import.1.12.0
∗ installed ppx_deriving.6.0.3
∗ installed ppx_sexp_conv.v0.16.0

#=== ERROR while fetching sources for shibboleth.0.0.5 ========================#
OpamSolution.Fetch_fail("https://github.com/wizard7377/sml-ocaml-converter/archive/refs/tags/v0.0.1.tar.gz (Bad checksum, expected md5=f0ac6bce0c87d0fc8d2409abd810211f)")


<><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
┌─ The following actions failed
│ ⬇ fetch shibboleth 0.0.5
└─ 
┌─ The following changes have been performed
│ ∗ install astring             0.8.5
│ ∗ install base                v0.16.5
│ ∗ install bos                 0.3.0
│ ∗ install cmdliner            2.1.1
│ ∗ install containers          3.18
│ ∗ install cppo                1.8.0
│ ∗ install csexp               1.5.2
│ ∗ install dune                3.22.2
│ ∗ install dune-configurator   3.22.2
│ ∗ install either              1.0.0
│ ∗ install ez_file             0.3.0
│ ∗ install fmt                 0.11.0
│ ∗ install fpath               0.7.3
│ ∗ install logs                0.10.0
│ ∗ install menhir              20260209
│ ∗ install menhirCST           20260209
│ ∗ install menhirGLR           20260209
│ ∗ install menhirLib           20260209
│ ∗ install menhirSdk           20260209
│ ∗ install num                 1.6
│ ∗ install ocaml-compiler-libs v0.12.4
│ ∗ install ocamlbuild          0.16.1
│ ∗ install ocamlfind           1.9.8
│ ∗ install ocplib_stuff        0.4.0
│ ∗ install parsexp             v0.16.0
│ ∗ install ppx_derivers        1.2.1
│ ∗ install ppx_deriving        6.0.3
│ ∗ install ppx_import          1.12.0
│ ∗ install ppx_sexp_conv       v0.16.0
│ ∗ install ppxlib              0.35.0
│ ∗ install re                  1.14.0
│ ∗ install rresult             0.7.0
│ ∗ install sexplib             v0.16.0
│ ∗ install sexplib0            v0.16.0
│ ∗ install stdlib-shims        0.3.0
│ ∗ install topkg               1.1.1
│ ∗ install yojson              3.0.0
└─ 

The former state can be restored with:
    /usr/local/bin/opam switch import "/home/opam/.opam/4.14.3/.opam-switch/backup/state-20260429124920.export"
jail: /usr/bin/su -l opam -c cd '/home/opam' && env OPAM_REPO_CI='true' CI='true' OPAMPRECISETRACKING='1' OPAMERRLOGLEN='0' OPAMDOWNLOADJOBS='1' '/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 "\"freebsd-15.0\""; 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
"jail" "-c" "name=obuilder_1233_154" "mount.fstab=/tmp/obuilder-jail-c3e3d8/fstab" "mount.devfs" "path=/obuilder/result/13dc7ddb845e3c1559b26def8209cb734f832555740876603027ee113ade2aa0/rootfs" "host=inherit" "ip6=inherit" "ip4=inherit" "command=/usr/bin/su" "-l" "opam" "-c" "cd '/home/opam' && env OPAM_REPO_CI='true' CI='true' OPAMPRECISETRACKING='1' OPAMERRLOGLEN='0' OPAMDOWNLOADJOBS='1' '/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 "\"freebsd-15.0\""; 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 1
2026-04-29 12:58.08: Job failed: Failed: Build failed
2026-04-29 12:58.08: Log analysis:
2026-04-29 12:58.08: >>> 
[ERROR] Failed to get sources of shibboleth.0.0.5: Bad checksum
 (score = 25)
2026-04-29 12:58.08: Failed to get sources of shibboleth.0.0.5: Bad checksum