(for PR #29256)

2026-01-21 01:45.33: New job: build shibboleth.0.0.4, using opam dev
                              from https://github.com/ocaml/opam-repository.git#refs/pull/29256/head (208040096c4488ef2cc7e02ffb204fa35e4d52bd)
                              on fedora-42-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/29256/head" && git reset --hard 20804009
git fetch origin master
git merge --no-edit 10a02a697b08f6d78a6c4c2cb9a76136afc7776d
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:fedora-42-ocaml-5.4@sha256:b74751ba6ac22a6f19a91dfb20696498aab52c04a5ce04357ab0a12279da8e89
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.4 0.0.4
RUN opam reinstall shibboleth.0.0.4; \
    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 "\"fedora-42\""; then \
    echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
    fi; \
    test "$pkg" != 'shibboleth.0.0.4' && 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-21 01:45.33: Using cache hint "ocaml/opam:fedora-42-ocaml-5.4@sha256:b74751ba6ac22a6f19a91dfb20696498aab52c04a5ce04357ab0a12279da8e89-shibboleth.0.0.4-208040096c4488ef2cc7e02ffb204fa35e4d52bd"
2026-01-21 01:45.33: Using OBuilder spec:
((from ocaml/opam:fedora-42-ocaml-5.4@sha256:b74751ba6ac22a6f19a91dfb20696498aab52c04a5ce04357ab0a12279da8e89)
 (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.4 0.0.4"))
 (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
      (network host)
      (shell  "opam reinstall shibboleth.0.0.4;\
             \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 \"\\\"fedora-42\\\"\"; 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.4' && 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-21 01:45.33: Waiting for resource in pool OCluster
2026-01-21 01:45.34: Waiting for worker…
2026-01-21 01:45.35: Got resource from pool OCluster
Building on toxis.caelum.ci.dev
All commits already cached
HEAD is now at 10a02a697b Merge pull request #29249 from panglesd/release-slipshow-v0.8.0
Updating 10a02a697b..208040096c
Fast-forward
 packages/shibboleth/shibboleth.0.0.4/opam | 50 +++++++++++++++++++++++++++++++
 1 file changed, 50 insertions(+)
 create mode 100644 packages/shibboleth/shibboleth.0.0.4/opam

(from ocaml/opam:fedora-42-ocaml-5.4@sha256:b74751ba6ac22a6f19a91dfb20696498aab52c04a5ce04357ab0a12279da8e89)
2026-01-21 01:46.15 ---> using "8776fb0af6fc53898862b86f46ca8cee0489b257aca99b5899191e17bb0d5004" 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-21 01:46.15 ---> using "b8cca8bfd23834fb7e090e3c27f2170eb8281a065e79536f1e430ddc1b1c8118" 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
2026-01-21 01:46.15 ---> using "3585d06f098553452479d6c335da00495554b93675451a57278a9271d623ff6d" 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.0
# self-upgrade         no
# system               arch=x86_64 os=linux os-distribution=fedora os-version=42
# 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
2026-01-21 01:46.15 ---> using "f5857c76864baf8cb3e699c519d757325cd57ff2fcd775d702006da4494b4c41" 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-01-21 01:46.15 ---> using "b6df9f59c19836f991f70bcd0501fd40466d07d3a25be361fb57a3445396f9a6" from cache

/home/opam: (copy (src .) (dst opam-repository/))
2026-01-21 01:46.23 ---> saved as "dc4252f66fce9a08c7bcb1ac9a3925fee129951e3a720ce52ef738f673aaf4ec"

/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2026-01-21 01:46.45 ---> saved as "7a3750f69ee0b6205ce3e687d14f16d02f5db4f1cbaff497b0d21159d8adbedb"

/home/opam: (run (network host)
                 (shell "opam update --depexts || true"))
+ /usr/sbin/sudo "yum" "makecache"
- Updating and loading repositories:
-  Fedora 42 - x86_64 - Updates           100% |  48.2 KiB/s |  19.3 KiB |  00m00s
- Repositories loaded.
- Metadata cache created.
2026-01-21 01:46.51 ---> saved as "f62d9b0e4575b4d8c421b4eed4588482f531ef44e43b99d3c9e53e920e37160d"

/home/opam: (run (shell "opam pin add -k version -yn shibboleth.0.0.4 0.0.4"))
shibboleth is now pinned to version 0.0.4
2026-01-21 01:46.52 ---> saved as "db2d32f712e83cb96d6fe5abf8d3681435829b0e544c0a7a464a3278bd971c58"

/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
                 (network host)
                 (shell  "opam reinstall shibboleth.0.0.4;\
                        \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 \"\\\"fedora-42\\\"\"; 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.4' && 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.4 is not installed. Install it? [Y/n] y
The following actions will be performed:
=== install 38 packages
  - install astring                 0.8.5          [required by ocamlformat-lib]
  - install base                    v0.17.3        [required by ocamlformat-lib]
  - install camlp-streams           5.0.1          [required by ocamlformat-lib]
  - install cmdliner                2.1.0          [required by shibboleth]
  - install cppo                    1.8.0          [required by ppx_deriving]
  - install csexp                   1.5.2          [required by ocamlformat]
  - install dune                    3.21.0         [required by shibboleth]
  - install dune-build-info         3.21.0         [required by ocamlformat-lib]
  - install dune-configurator       3.21.0         [required by base]
  - install either                  1.0.0          [required by ocamlformat-lib]
  - install fix                     20250919       [required by ocamlformat-lib]
  - install fmt                     0.11.0         [required by shibboleth]
  - install fpath                   0.7.3          [required by ocamlformat-lib]
  - install menhir                  20250912       [required by shibboleth]
  - install menhirCST               20250912       [required by menhir]
  - install menhirLib               20250912       [required by menhir]
  - install menhirSdk               20250912       [required by menhir]
  - install ocaml-compiler-libs     v0.17.0        [required by ppxlib]
  - install ocaml-version           4.0.3          [required by ocamlformat-lib]
  - install ocaml_intrinsics_kernel v0.17.1        [required by base]
  - install ocamlbuild              0.16.1         [required by fmt]
  - install ocamlfind               1.9.8          [required by fmt, ppx_deriving]
  - install ocamlformat             0.28.1         [required by shibboleth]
  - install ocamlformat-lib         0.28.1         [required by ocamlformat]
  - install ocp-indent              1.9.0          [required by ocamlformat-lib]
  - install ppx_derivers            1.2.1          [required by ppx_deriving]
  - install ppx_deriving            6.1.1          [required by shibboleth]
  - install ppx_import              1.12.0         [required by shibboleth]
  - install ppxlib                  0.37.0         [required by shibboleth]
  - install re                      1.14.0         [required by shibboleth]
  - install sexplib0                v0.17.0        [required by ppxlib]
  - install shibboleth              0.0.4 (pinned)
  - install stdio                   v0.17.0        [required by ocamlformat-lib]
  - install stdlib-shims            0.3.0          [required by ppxlib]
  - install topkg                   1.1.1          [required by fmt]
  - install uucp                    17.0.0         [required by uuseg]
  - install uuseg                   17.0.0         [required by ocamlformat-lib]
  - install uutf                    1.0.4          [required by ocamlformat-lib]

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved astring.0.8.5  (cached)
-> retrieved base.v0.17.3  (cached)
-> retrieved camlp-streams.5.0.1  (cached)
-> retrieved cmdliner.2.1.0  (cached)
-> retrieved cppo.1.8.0  (cached)
-> retrieved csexp.1.5.2  (cached)
-> retrieved dune.3.21.0, dune-build-info.3.21.0, dune-configurator.3.21.0  (cached)
-> retrieved either.1.0.0  (cached)
-> retrieved fix.20250919  (cached)
-> retrieved fmt.0.11.0  (cached)
-> retrieved fpath.0.7.3  (cached)
-> retrieved menhir.20250912, menhirCST.20250912, menhirLib.20250912, menhirSdk.20250912  (cached)
-> installed cmdliner.2.1.0
-> retrieved ocaml-compiler-libs.v0.17.0  (cached)
-> retrieved ocaml-version.4.0.3  (cached)
-> retrieved ocaml_intrinsics_kernel.v0.17.1  (cached)
-> retrieved ocamlbuild.0.16.1  (cached)
-> retrieved ocamlfind.1.9.8  (cached)
-> retrieved ocamlformat.0.28.1, ocamlformat-lib.0.28.1  (cached)
-> retrieved ocp-indent.1.9.0  (cached)
-> retrieved ppx_derivers.1.2.1  (cached)
-> retrieved ppx_deriving.6.1.1  (cached)
-> retrieved ppx_import.1.12.0  (cached)
-> retrieved ppxlib.0.37.0  (cached)
-> retrieved re.1.14.0  (cached)
-> retrieved sexplib0.v0.17.0  (cached)
-> retrieved shibboleth.0.0.4  (https://github.com/wizard7377/sml-ocaml-converter/archive/refs/tags/v0.0.1.tar.gz)
-> retrieved stdio.v0.17.0  (cached)
-> retrieved stdlib-shims.0.3.0  (cached)
-> retrieved topkg.1.1.1  (cached)
-> retrieved uucp.17.0.0  (cached)
-> retrieved uuseg.17.0.0  (cached)
-> retrieved uutf.1.0.4  (cached)
-> installed ocamlfind.1.9.8
-> installed ocamlbuild.0.16.1
-> installed topkg.1.1.1
-> installed uutf.1.0.4
-> installed fmt.0.11.0
-> installed astring.0.8.5
-> installed fpath.0.7.3
-> installed dune.3.21.0
-> installed camlp-streams.5.0.1
-> installed cppo.1.8.0
-> installed csexp.1.5.2
-> installed either.1.0.0
-> installed fix.20250919
-> installed menhirCST.20250912
-> installed menhirLib.20250912
-> installed menhirSdk.20250912
-> installed ocaml-version.4.0.3
-> installed ocaml-compiler-libs.v0.17.0
-> installed ocaml_intrinsics_kernel.v0.17.1
-> installed ppx_derivers.1.2.1
-> installed re.1.14.0
-> installed ocp-indent.1.9.0
-> installed sexplib0.v0.17.0
-> installed stdlib-shims.0.3.0
-> installed dune-build-info.3.21.0
-> installed dune-configurator.3.21.0
-> installed base.v0.17.3
-> installed stdio.v0.17.0
-> installed uucp.17.0.0
-> installed uuseg.17.0.0
-> installed menhir.20250912
-> installed ppxlib.0.37.0
-> installed ppx_import.1.12.0
-> installed ppx_deriving.6.1.1
-> installed ocamlformat-lib.0.28.1
-> installed ocamlformat.0.28.1
[ERROR] The compilation of shibboleth.0.0.4 failed at "dune build -p shibboleth -j 71 @install".

#=== ERROR while compiling shibboleth.0.0.4 ===================================#
# context              2.5.0 | linux/x86_64 | ocaml-base-compiler.5.4.0 | pinned(https://github.com/wizard7377/sml-ocaml-converter/archive/refs/tags/v0.0.1.tar.gz)
# path                 ~/.opam/5.4/.opam-switch/build/shibboleth.0.0.4
# command              ~/.opam/opam-init/hooks/sandbox.sh build dune build -p shibboleth -j 71 @install
# exit-code            1
# env-file             ~/.opam/log/shibboleth-6-f6ce81.env
# output-file          ~/.opam/log/shibboleth-6-f6ce81.out
### output ###
# File "lib/common/dune", line 6, characters 12-19:
# 6 |  (libraries ez_file))
#                 ^^^^^^^
# Error: Library "ez_file" not found.
# -> required by library "shibboleth.common" in _build/default/lib/common
# -> required by executable main in bin/dune:3
# -> required by _build/default/bin/main.exe
# -> required by _build/install/default/bin/shibboleth
# -> required by _build/default/shibboleth.install
# -> required by alias install
# (cd _build/.sandbox/b2c9a013fc56b6e52ad8418e444a500f/default && /home/opam/.opam/5.4/bin/menhir --table --dump lib/source/frontend/parser.mly --base lib/source/frontend/parser --infer-write-query lib/source/frontend/parser__mock.ml.mock)
# File "lib/source/frontend/parser.mly", line 797, characters 0-12:
# Warning: symbol corespec_seq is unreachable from any of the start symbol(s).
# File "lib/source/frontend/parser.mly", line 545, characters 0-13:
# Warning: symbol kwcoredec_seq is unreachable from any of the start symbol(s).
# File "lib/source/frontend/parser.mly", line 539, characters 0-9:
# Warning: symbol kwdec_seq is unreachable from any of the start symbol(s).
# File "lib/source/frontend/parser.mly", line 791, characters 0-8:
# Warning: symbol spec_seq is unreachable from any of the start symbol(s).



<><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
+- The following actions failed
| - build shibboleth 0.0.4
+- 
+- The following changes have been performed
| - install astring                 0.8.5
| - install base                    v0.17.3
| - install camlp-streams           5.0.1
| - install cmdliner                2.1.0
| - install cppo                    1.8.0
| - install csexp                   1.5.2
| - install dune                    3.21.0
| - install dune-build-info         3.21.0
| - install dune-configurator       3.21.0
| - install either                  1.0.0
| - install fix                     20250919
| - install fmt                     0.11.0
| - install fpath                   0.7.3
| - install menhir                  20250912
| - install menhirCST               20250912
| - install menhirLib               20250912
| - install menhirSdk               20250912
| - install ocaml-compiler-libs     v0.17.0
| - install ocaml-version           4.0.3
| - install ocaml_intrinsics_kernel v0.17.1
| - install ocamlbuild              0.16.1
| - install ocamlfind               1.9.8
| - install ocamlformat             0.28.1
| - install ocamlformat-lib         0.28.1
| - install ocp-indent              1.9.0
| - install ppx_derivers            1.2.1
| - install ppx_deriving            6.1.1
| - install ppx_import              1.12.0
| - install ppxlib                  0.37.0
| - install re                      1.14.0
| - install sexplib0                v0.17.0
| - install stdio                   v0.17.0
| - install stdlib-shims            0.3.0
| - install topkg                   1.1.1
| - install uucp                    17.0.0
| - install uuseg                   17.0.0
| - install uutf                    1.0.4
+- 

<><> ocp-indent.1.9.0 installed successfully ><><><><><><><><><><><><><><><><><>
=> This package requires additional configuration for use in editors. Install package 'user-setup', or manually:

   * for Emacs, add these lines to ~/.emacs:
     (add-to-list 'load-path "/home/opam/.opam/5.4/share/emacs/site-lisp")
     (require 'ocp-indent)

   * for Vim, add this line to ~/.vimrc:
     set rtp^="/home/opam/.opam/5.4/share/ocp-indent/vim"
# 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.4/.opam-switch/backup/state-20260121014653.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 shibboleth.0.0.4;
        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 "\"fedora-42\""; then
            echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.";
          fi;
          test "$pkg" != 'shibboleth.0.0.4' && 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-01-21 01:48.40: Job failed: Failed: Build failed
2026-01-21 01:48.40: Log analysis:
2026-01-21 01:48.40: >>> 
[ERROR] The compilation of shibboleth.0.0.4 failed at "dune build -p shibboleth -j 71 @install".
 (score = 20)
2026-01-21 01:48.40: >>> 
# Error: Library "ez_file" not found.
 (score = 48)
2026-01-21 01:48.40: Library "ez_file" not found.