(for PR #27694)

2025-08-28 14:04.51: New job: build pds.6.55, using opam 2.3
                              from https://github.com/ocaml/opam-repository.git#refs/pull/27694/head (95c70e7638f27c185540b2efc1bb6fe8f64dcdfa)
                              on opensuse-15.6-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/27694/head" && git reset --hard 95c70e76
git fetch origin master
git merge --no-edit f2cd184cfc6f3b25d3bda0873beb3e8b254806ec
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:opensuse-15.6-ocaml-5.3@sha256:2311401f711e04e713e30416e652b02bafa7a31f43218d7242c758aa068c7eb2
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 pds.6.55 6.55
RUN opam reinstall pds.6.55; \
    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-15.6\""; then \
    echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
    fi; \
    test "$pkg" != 'pds.6.55' && 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-08-28 14:04.51: Using cache hint "ocaml/opam:opensuse-15.6-ocaml-5.3@sha256:2311401f711e04e713e30416e652b02bafa7a31f43218d7242c758aa068c7eb2-pds.6.55-95c70e7638f27c185540b2efc1bb6fe8f64dcdfa"
2025-08-28 14:04.51: Using OBuilder spec:
((from ocaml/opam:opensuse-15.6-ocaml-5.3@sha256:2311401f711e04e713e30416e652b02bafa7a31f43218d7242c758aa068c7eb2)
 (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 pds.6.55 6.55"))
 (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
      (network host)
      (shell  "opam reinstall pds.6.55;\
             \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-15.6\\\"\"; then\
             \n            echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
             \n          fi;\
             \n          test \"$pkg\" != 'pds.6.55' && partial_fails=\"$partial_fails $pkg\";\
             \n        done;\
             \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
             \n        exit 1"))
)

2025-08-28 14:04.51: Waiting for resource in pool OCluster
2025-08-28 14:04.51: Waiting for worker…
2025-08-28 14:04.51: Got resource from pool OCluster
Building on asteria.caelum.ci.dev
All commits already cached
HEAD is now at f2cd184cfc Merge pull request #28399 from filipeom/opam-publish-smtml.0.10.0
Merge made by the 'ort' strategy.
 packages/pds/pds.6.55/opam | 53 ++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 53 insertions(+)
 create mode 100644 packages/pds/pds.6.55/opam

(from ocaml/opam:opensuse-15.6-ocaml-5.3@sha256:2311401f711e04e713e30416e652b02bafa7a31f43218d7242c758aa068c7eb2)
2025-08-28 14:05.07 ---> using "2a3edd08209ce7818d88b9a3a7000df77ebdab9f4937bdcc70bef91b44cc3690" from cache

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

/: (workdir /home/opam)

/home/opam: (run (shell "sudo ln -f /usr/bin/opam-2.3 /usr/bin/opam"))
2025-08-28 14:05.07 ---> using "b8688bdda2ef64916544bbd3a06b3789d4b61291b584ea75dbc12d3f32176857" 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 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.

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

<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] Initialised
2025-08-28 14:05.07 ---> using "a5a73325dd7dd12e0a25023ca16175962a4b85a57e2f0ced04f4a0ee271b8925" 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.3.0 (35acd0c5abc5e66cdbd5be16ba77aa6c33a4c724)
# self-upgrade         no
# system               arch=x86_64 os=linux os-distribution=opensuse-leap os-version=15.6
# solver               builtin-0install
# install-criteria     -changed,-count[avoid-version,solution]
# upgrade-criteria     -count[avoid-version,solution]
# jobs                 255
# 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-08-28 14:05.07 ---> using "78d7479a75843f92fdbf8a1fa355d9bef3b4ba3687796f7f5bf4fd4cea974db0" 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/"))
2025-08-28 14:05.07 ---> using "c4395887aa243a39bd272289fecb891822dee22e8ee08ed1c8158512932fab80" from cache

/home/opam: (copy (src .) (dst opam-repository/))
2025-08-28 14:05.16 ---> saved as "4331198e63043d0eee5f59f703d4206fa4b673da94dedc1fff7447aea4292aa4"

/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2025-08-28 14:05.34 ---> saved as "9cfc995f1738682ecd540a9dbfd04c5b3564ca240d3256beb75286d968d3e25d"

/home/opam: (run (network host)
                 (shell "opam update --depexts || true"))
+ /usr/bin/sudo "zypper" "--non-interactive" "refresh"
- Retrieving repository 'Update repository of openSUSE Backports' metadata [.
- .
- Looking for gpg keys in repository Update repository of openSUSE Backports.
-   gpgkey=http://download.opensuse.org/update/leap/15.6/backports/repodata/repomd.xml.key
- ...........
- .....done]
- Building repository 'Update repository of openSUSE Backports' cache [....done]
- Retrieving repository 'Update repository with updates from SUSE Linux Enterprise 15' metadata [.
- .
- Looking for gpg keys in repository Update repository with updates from SUSE Linux Enterprise 15.
-   gpgkey=http://download.opensuse.org/update/leap/15.6/sle/repodata/repomd.xml.key
- .........
- ..........
- ..........
- ..........
- ..........
- ..........
- .........
- .......done]
- Building repository 'Update repository with updates from SUSE Linux Enterprise 15' cache [..
- ..done]
- Repository 'Main Update Repository' is up to date.
- Repository 'Update Repository (Non-Oss)' is up to date.
- Repository 'Non-OSS Repository' is up to date.
- Repository 'Main Repository' is up to date.
- All repositories have been refreshed.
2025-08-28 14:06.00 ---> saved as "8a525e4cb50b2987cfc6f7a7ae3d6f4a8bb6a3372d4c86545fe4712c1ff81c8e"

/home/opam: (run (shell "opam pin add -k version -yn pds.6.55 6.55"))
pds is now pinned to version 6.55
2025-08-28 14:06.01 ---> saved as "1a39c49dda68303f26287b2a2e179f300d45e91cebd1873f71953ae119f37b00"

/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
                 (network host)
                 (shell  "opam reinstall pds.6.55;\
                        \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-15.6\\\"\"; then\
                        \n            echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
                        \n          fi;\
                        \n          test \"$pkg\" != 'pds.6.55' && partial_fails=\"$partial_fails $pkg\";\
                        \n        done;\
                        \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
                        \n        exit 1"))
pds.6.55 is not installed. Install it? [y/n] y
The following actions will be performed:
=== install 35 packages
  - install base-bytes          base          [required by process]
  - install cmdliner            1.3.0         [required by pds]
  - install conf-pkg-config     4             [required by conf-sqlite3]
  - install conf-sqlite3        1             [required by sqlite3]
  - install containers          3.16          [required by pds]
  - install cppo                1.8.0         [required by ppx_deriving]
  - install crunch              4.0.0         [required by pds]
  - install csexp               1.5.2         [required by dune-configurator]
  - install dune                3.20.1        [required by sqlite3, ppx_deriving, containers, etc.]
  - install dune-configurator   3.20.1        [required by containers, sqlite3]
  - install either              1.0.0         [required by containers]
  - install fmt                 0.11.0        [required by pds]
  - install gen                 1.1           [required by sedlex]
  - install ISO8601             0.2.6         [required by toml]
  - install logs                0.9.0         [required by pds]
  - install menhir              20240715      [required by toml]
  - install menhirCST           20240715      [required by menhir]
  - install menhirLib           20240715      [required by menhir]
  - install menhirSdk           20240715      [required by menhir]
  - install ocaml-compiler-libs v0.17.0       [required by ppxlib]
  - install ocamlbuild          0.16.1        [required by logs, fmt, process]
  - install ocamlfind           1.9.8         [required by pds]
  - install pds                 6.55 (pinned)
  - install ppx_derivers        1.2.1         [required by ppx_deriving]
  - install ppx_deriving        6.1.1         [required by pds]
  - install ppxlib              0.36.0        [required by ppx_deriving, sedlex]
  - install process             0.2.1         [required by pds]
  - install ptime               1.2.0         [required by crunch]
  - install sedlex              3.6           [required by pds]
  - install seq                 base          [required by gen]
  - install sexplib0            v0.17.0       [required by ppxlib]
  - install sqlite3             5.3.1         [required by pds]
  - install stdlib-shims        0.3.0         [required by ppxlib]
  - install toml                7.1.0         [required by pds]
  - install topkg               1.1.0         [required by fmt, logs]

The following system packages will first need to be installed:
    sqlite3-devel

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

opam believes some required external dependencies are missing. opam can:
> 1. Run zypper to install them (may need root/sudo access)
  2. Display the recommended zypper 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 "zypper" "--non-interactive" "install" "sqlite3-devel"
- Loading repository data...
- Reading installed packages...
- Resolving package dependencies...
- 
- The following NEW package is going to be installed:
-   sqlite3-devel
- 
- 1 new package to install.
- 
- Package download size:   208.9 KiB
- 
- Package install size change:
-               |     684.1 KiB  required by packages that will be installed
-    684.1 KiB  |  -      0 B    released by packages that will be removed
- 
- Backend:  classic_rpmtrans
- Continue? [y/n/v/...? shows all options] (y): y
- Retrieving: sqlite3-devel-3.50.2-150000.3.33.1.x86_64 (Update repository with updates from SUSE Linux Enterprise 15) (1/1), 208.9 KiB    
- Retrieving: sqlite3-devel-3.50.2-150000.3.33.1.x86_64.rpm [.done]
- 
- Checking for file conflicts: [..done]
- (1/1) Installing: sqlite3-devel-3.50.2-150000.3.33.1.x86_64 [..done]

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved cmdliner.1.3.0  (cached)
-> installed conf-pkg-config.4
-> retrieved containers.3.16  (cached)
-> installed conf-sqlite3.1
-> retrieved cppo.1.8.0  (cached)
-> retrieved crunch.4.0.0  (cached)
-> retrieved csexp.1.5.2  (cached)
-> retrieved dune.3.20.1, dune-configurator.3.20.1  (cached)
-> retrieved either.1.0.0  (cached)
-> retrieved fmt.0.11.0  (cached)
-> retrieved gen.1.1  (cached)
-> retrieved ISO8601.0.2.6  (cached)
-> retrieved logs.0.9.0  (cached)
-> retrieved menhir.20240715, menhirCST.20240715, menhirLib.20240715, menhirSdk.20240715  (cached)
-> installed cmdliner.1.3.0
-> retrieved ocaml-compiler-libs.v0.17.0  (cached)
-> retrieved ocamlbuild.0.16.1  (cached)
-> retrieved ocamlfind.1.9.8  (cached)
-> retrieved pds.6.55  (cached)
-> retrieved ppx_derivers.1.2.1  (cached)
-> retrieved ppx_deriving.6.1.1  (cached)
-> retrieved ppxlib.0.36.0  (cached)
-> retrieved process.0.2.1  (cached)
-> retrieved ptime.1.2.0  (cached)
-> retrieved sedlex.3.6  (cached)
-> retrieved seq.base  (cached)
-> installed seq.base
-> retrieved sexplib0.v0.17.0  (cached)
-> retrieved sqlite3.5.3.1  (cached)
-> retrieved stdlib-shims.0.3.0  (cached)
-> retrieved toml.7.1.0  (cached)
-> retrieved topkg.1.1.0  (cached)
-> installed ocamlfind.1.9.8
-> installed base-bytes.base
-> installed ocamlbuild.0.16.1
-> installed process.0.2.1
-> installed topkg.1.1.0
-> installed fmt.0.11.0
-> installed ptime.1.2.0
-> installed logs.0.9.0
-> installed dune.3.20.1
-> installed csexp.1.5.2
-> installed cppo.1.8.0
-> installed crunch.4.0.0
-> installed either.1.0.0
-> installed gen.1.1
-> installed ISO8601.0.2.6
-> installed menhirCST.20240715
-> installed menhirLib.20240715
-> installed menhirSdk.20240715
-> installed ocaml-compiler-libs.v0.17.0
-> installed ppx_derivers.1.2.1
-> installed sexplib0.v0.17.0
-> installed stdlib-shims.0.3.0
-> installed dune-configurator.3.20.1
-> installed sqlite3.5.3.1
-> installed containers.3.16
-> installed menhir.20240715
-> installed ppxlib.0.36.0
-> installed toml.7.1.0
-> installed ppx_deriving.6.1.1
-> installed sedlex.3.6
-> installed pds.6.55
Done.
# To update the current shell environment, run: eval $(opam env)
2025-08-28 14:06.53 ---> saved as "b210087a5a803ad7c4a408efaac074ec36501069393418aaedba7e9117fb0619"
Job succeeded
2025-08-28 14:07.03: Job succeeded