(for PR #28033)

2025-06-16 09:27.53: New job: build ldp_tls.0.5.0, using opam 2.3
                              from https://github.com/ocaml/opam-repository.git#refs/pull/28033/head (f562b2dd80ce5e5f0e8eab141888c43e1c4e03b4)
                              on debian-unstable-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/28033/head" && git reset --hard f562b2dd
git fetch origin master
git merge --no-edit c7269f729a780d8cad2232be10de94ac8da8381e
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-unstable-ocaml-4.14@sha256:421285cf3beea174c4b76fec3285cae45ac0f6349951b68e6f3d5924f3a0cb95
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 ldp_tls.0.5.0 0.5.0
RUN opam reinstall ldp_tls.0.5.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 "\"debian-unstable\""; then \
    echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
    fi; \
    test "$pkg" != 'ldp_tls.0.5.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-06-16 09:27.53: Using cache hint "ocaml/opam:debian-unstable-ocaml-4.14@sha256:421285cf3beea174c4b76fec3285cae45ac0f6349951b68e6f3d5924f3a0cb95-ldp_tls.0.5.0-f562b2dd80ce5e5f0e8eab141888c43e1c4e03b4"
2025-06-16 09:27.53: Using OBuilder spec:
((from ocaml/opam:debian-unstable-ocaml-4.14@sha256:421285cf3beea174c4b76fec3285cae45ac0f6349951b68e6f3d5924f3a0cb95)
 (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 ldp_tls.0.5.0 0.5.0"))
 (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
      (network host)
      (shell  "opam reinstall ldp_tls.0.5.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 \"\\\"debian-unstable\\\"\"; then\
             \n            echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
             \n          fi;\
             \n          test \"$pkg\" != 'ldp_tls.0.5.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-06-16 09:27.53: Waiting for resource in pool OCluster
2025-06-16 09:31.16: Waiting for worker…
2025-06-16 09:36.00: Got resource from pool OCluster
Building on asteria.caelum.ci.dev
All commits already cached
Updating files:  85% (19818/23308)
Updating files:  86% (20045/23308)
Updating files:  87% (20278/23308)
Updating files:  88% (20512/23308)
Updating files:  89% (20745/23308)
Updating files:  90% (20978/23308)
Updating files:  91% (21211/23308)
Updating files:  92% (21444/23308)
Updating files:  93% (21677/23308)
Updating files:  94% (21910/23308)
Updating files:  95% (22143/23308)
Updating files:  96% (22376/23308)
Updating files:  97% (22609/23308)
Updating files:  98% (22842/23308)
Updating files:  99% (23075/23308)
Updating files: 100% (23308/23308)
Updating files: 100% (23308/23308), done.
HEAD is now at c7269f729a Merge pull request #28025 from xavierleroy/camlidl-1.13
Updating c7269f729a..f562b2dd80
Fast-forward
Auto packing the repository in background for optimum performance.
See "git help gc" for manual housekeeping.
warning: The last gc run reported the following. Please correct the root cause
and remove .git/gc.log
Automatic cleanup will not be performed until the file is removed.

warning: There are too many unreachable loose objects; run 'git prune' to remove them.

 packages/ldp/ldp.0.5.0/opam                   | 49 +++++++++++++++++++++++++
 packages/ldp_curl/ldp_curl.0.5.0/opam         | 39 ++++++++++++++++++++
 packages/ldp_js/ldp_js.0.5.0/opam             | 42 ++++++++++++++++++++++
 packages/ldp_tls/ldp_tls.0.5.0/opam           | 41 +++++++++++++++++++++
 packages/solid/solid.0.5.0/opam               | 39 ++++++++++++++++++++
 packages/solid_server/solid_server.0.5.0/opam | 51 +++++++++++++++++++++++++++
 packages/solid_tools/solid_tools.0.5.0/opam   | 43 ++++++++++++++++++++++
 7 files changed, 304 insertions(+)
 create mode 100644 packages/ldp/ldp.0.5.0/opam
 create mode 100644 packages/ldp_curl/ldp_curl.0.5.0/opam
 create mode 100644 packages/ldp_js/ldp_js.0.5.0/opam
 create mode 100644 packages/ldp_tls/ldp_tls.0.5.0/opam
 create mode 100644 packages/solid/solid.0.5.0/opam
 create mode 100644 packages/solid_server/solid_server.0.5.0/opam
 create mode 100644 packages/solid_tools/solid_tools.0.5.0/opam

(from ocaml/opam:debian-unstable-ocaml-4.14@sha256:421285cf3beea174c4b76fec3285cae45ac0f6349951b68e6f3d5924f3a0cb95)
Unable to find image 'ocaml/opam:debian-unstable-ocaml-4.14@sha256:421285cf3beea174c4b76fec3285cae45ac0f6349951b68e6f3d5924f3a0cb95' locally
docker.io/ocaml/opam@sha256:421285cf3beea174c4b76fec3285cae45ac0f6349951b68e6f3d5924f3a0cb95: Pulling from ocaml/opam
c0b952f0db00: Pulling fs layer
07de886c8673: Pulling fs layer
f1102734bb1d: Pulling fs layer
41e74246b84c: Pulling fs layer
70e5c365711a: Pulling fs layer
70e5c365711a: Waiting
f1102734bb1d: Verifying Checksum
f1102734bb1d: Download complete
41e74246b84c: Verifying Checksum
41e74246b84c: Download complete
70e5c365711a: Verifying Checksum
70e5c365711a: Download complete
07de886c8673: Verifying Checksum
07de886c8673: Download complete
c0b952f0db00: Verifying Checksum
c0b952f0db00: Download complete
c0b952f0db00: Pull complete
07de886c8673: Pull complete
f1102734bb1d: Pull complete
41e74246b84c: Pull complete
70e5c365711a: Pull complete
Digest: sha256:421285cf3beea174c4b76fec3285cae45ac0f6349951b68e6f3d5924f3a0cb95
Status: Downloaded newer image for ocaml/opam@sha256:421285cf3beea174c4b76fec3285cae45ac0f6349951b68e6f3d5924f3a0cb95
2025-06-16 09:37.37 ---> saved as "10d0a2e22d51a996569543199c0e968ff42b84df65d0209a241f9114cb0abd47"

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

/: (workdir /home/opam)

/home/opam: (run (shell "sudo ln -f /usr/bin/opam-2.3 /usr/bin/opam"))
2025-06-16 09:37.37 ---> saved as "0634aef250e4768c86c0e786f29243d053f64a1e0ba8e77889c7a7b8381a543d"

/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
Format upgrade done.

<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] Initialised
2025-06-16 09:38.08 ---> saved as "6bd6c4d3d00fdefd69bcdb2699ffefa558d984f66312daacda8db6899da087fc"

/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=debian os-version=13
# 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       4.14
# invariant            ["ocaml-base-compiler" {= "4.14.2"}]
# compiler-packages    ocaml-base-compiler.4.14.2, ocaml-options-vanilla.1
# ocaml:native         true
# ocaml:native-tools   true
# ocaml:native-dynlink true
# ocaml:stubsdir       /home/opam/.opam/4.14/lib/ocaml/stublibs:/home/opam/.opam/4.14/lib/ocaml
# ocaml:preinstalled   false
# ocaml:compiler       4.14.2
2025-06-16 09:38.09 ---> saved as "29d0e3a388c7bcc1dc6315f05284fd4b9c27afca0edc8f93ad95ede9cf90a674"

/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-06-16 09:38.23 ---> saved as "db6dddbea10b9d7d22c9a7d1d0feb92f86ad4e24a43bc14c0174e4044fe1fbf8"

/home/opam: (copy (src .) (dst opam-repository/))
2025-06-16 09:38.35 ---> saved as "d0afbe0dff834ff3afe6bf1a4f392d6c254e0200c7588239ff3af02dea647b9e"

/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2025-06-16 09:39.00 ---> saved as "d59abccba836eeb0b2c2f9bae29f32a323ba384a63cebe75b5d1ed4c2f7567e3"

/home/opam: (run (network host)
                 (shell "opam update --depexts || true"))
+ /usr/bin/sudo "apt-get" "update"
- Get:1 http://deb.debian.org/debian unstable InRelease [208 kB]
- Get:2 http://deb.debian.org/debian unstable/main amd64 Packages.diff/Index [63.6 kB]
- Get:3 http://deb.debian.org/debian unstable/main amd64 Packages T-2025-06-16-0204.59-F-2025-06-07-1404.08.pdiff [238 kB]
- Get:3 http://deb.debian.org/debian unstable/main amd64 Packages T-2025-06-16-0204.59-F-2025-06-07-1404.08.pdiff [238 kB]
- Fetched 509 kB in 1s (353 kB/s)
- Reading package lists...
- 
2025-06-16 09:39.02 ---> saved as "0221b3a1d1edf744e8af91d514abc7e48bca9b11381aa88823f04334f9c2ee0c"

/home/opam: (run (shell "opam pin add -k version -yn ldp_tls.0.5.0 0.5.0"))
ldp_tls is now pinned to version 0.5.0
2025-06-16 09:39.04 ---> saved as "c803dc7c48c27b1d03745ea0e636fb5394ea901e97a4083508d2123043e415ab"

/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
                 (network host)
                 (shell  "opam reinstall ldp_tls.0.5.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 \"\\\"debian-unstable\\\"\"; then\
                        \n            echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
                        \n          fi;\
                        \n          test \"$pkg\" != 'ldp_tls.0.5.0' && partial_fails=\"$partial_fails $pkg\";\
                        \n        done;\
                        \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
                        \n        exit 1"))
ldp_tls.0.5.0 is not installed. Install it? [y/n] y
  * Missing dependency:
    - ldp_tls >= 0.5.0 -> ldp >= 0.5.0 -> rdf >= 1.0.0 -> pcre >= 7.5.0 -> conf-libpcre
    depends on the unavailable system package 'libpcre3-dev'. Use `--no-depexts' to attempt installation anyway, or it is possible that a depext package name in the opam file is incorrect.

No solution found, exiting
"/usr/bin/env" "bash" "-c" "opam reinstall ldp_tls.0.5.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 "\"debian-unstable\""; then
            echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.";
          fi;
          test "$pkg" != 'ldp_tls.0.5.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 20
2025-06-16 09:39.32: Job failed: Failed: Build failed
2025-06-16 09:39.32: Log analysis:
2025-06-16 09:39.32: >>> 
No solution found, exiting
 (score = 100)
2025-06-16 09:39.32: [SKIP] Package not available