(for PR #29348)

2026-02-06 22:48.00: New job: build js_of_ocaml.6.3.0, using opam 2.0
                              from https://github.com/ocaml/opam-repository.git#refs/pull/29348/head (0e395cdb6b7b8c4427b82124387c6a5b953d1ac5)
                              on debian-13-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/29348/head" && git reset --hard 0e395cdb
git fetch origin master
git merge --no-edit 340ee6fd1ff10d0fce25e21ba1caca9ed1cfec68
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-13-ocaml-5.4@sha256:7d9e98c625428dd7d1e2d0b79c4d9482fc6055a5b9600ca51f0c1d06a0604c30
USER 1000:1000
WORKDIR /home/opam
RUN sudo ln -f /usr/bin/opam-2.0 /usr/bin/opam
RUN opam init --reinit -ni
RUN 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 depext -u || true
RUN opam pin add -k version -yn js_of_ocaml.6.3.0 6.3.0
RUN opam depext js_of_ocaml.6.3.0 && opam reinstall js_of_ocaml.6.3.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-13\""; then \
    echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
    fi; \
    test "$pkg" != 'js_of_ocaml.6.3.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 .

2026-02-06 22:48.00: Using cache hint "ocaml/opam:debian-13-ocaml-5.4@sha256:7d9e98c625428dd7d1e2d0b79c4d9482fc6055a5b9600ca51f0c1d06a0604c30-js_of_ocaml.6.3.0-0e395cdb6b7b8c4427b82124387c6a5b953d1ac5"
2026-02-06 22:48.00: Using OBuilder spec:
((from ocaml/opam:debian-13-ocaml-5.4@sha256:7d9e98c625428dd7d1e2d0b79c4d9482fc6055a5b9600ca51f0c1d06a0604c30)
 (user (uid 1000) (gid 1000))
 (workdir /home/opam)
 (run (shell "sudo ln -f /usr/bin/opam-2.0 /usr/bin/opam"))
 (run (network host)
      (shell "opam init --reinit --config .opamrc-sandbox -ni"))
 (run (shell "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 depext -u || true"))
 (run (shell "opam pin add -k version -yn js_of_ocaml.6.3.0 6.3.0"))
 (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
      (network host)
      (shell  "opam depext js_of_ocaml.6.3.0 && opam reinstall js_of_ocaml.6.3.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-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\" != 'js_of_ocaml.6.3.0' && 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-06 22:48.00: Waiting for resource in pool OCluster
2026-02-06 22:54.40: Waiting for worker…
2026-02-06 22:57.35: Got resource from pool OCluster
Building on odawa.caelum.ci.dev
All commits already cached
HEAD is now at 340ee6fd1f Merge pull request #29341 from Halbaroth/release-alt-ergo-free-2.4.3
Updating 340ee6fd1f..0e395cdb6b
Fast-forward
 .../js_of_ocaml-compiler.6.3.0/opam                | 57 +++++++++++++++++++++
 .../js_of_ocaml-lwt/js_of_ocaml-lwt.6.3.0/opam     | 47 ++++++++++++++++++
 .../js_of_ocaml-ppx/js_of_ocaml-ppx.6.3.0/opam     | 45 +++++++++++++++++
 .../js_of_ocaml-ppx_deriving_json.6.3.0/opam       | 45 +++++++++++++++++
 .../js_of_ocaml-toplevel.6.3.0/opam                | 47 ++++++++++++++++++
 .../js_of_ocaml-tyxml/js_of_ocaml-tyxml.6.3.0/opam | 48 ++++++++++++++++++
 packages/js_of_ocaml/js_of_ocaml.6.3.0/opam        | 45 +++++++++++++++++
 .../wasm_of_ocaml-compiler.6.3.0/opam              | 58 ++++++++++++++++++++++
 8 files changed, 392 insertions(+)
 create mode 100644 packages/js_of_ocaml-compiler/js_of_ocaml-compiler.6.3.0/opam
 create mode 100644 packages/js_of_ocaml-lwt/js_of_ocaml-lwt.6.3.0/opam
 create mode 100644 packages/js_of_ocaml-ppx/js_of_ocaml-ppx.6.3.0/opam
 create mode 100644 packages/js_of_ocaml-ppx_deriving_json/js_of_ocaml-ppx_deriving_json.6.3.0/opam
 create mode 100644 packages/js_of_ocaml-toplevel/js_of_ocaml-toplevel.6.3.0/opam
 create mode 100644 packages/js_of_ocaml-tyxml/js_of_ocaml-tyxml.6.3.0/opam
 create mode 100644 packages/js_of_ocaml/js_of_ocaml.6.3.0/opam
 create mode 100644 packages/wasm_of_ocaml-compiler/wasm_of_ocaml-compiler.6.3.0/opam

(from ocaml/opam:debian-13-ocaml-5.4@sha256:7d9e98c625428dd7d1e2d0b79c4d9482fc6055a5b9600ca51f0c1d06a0604c30)
2026-02-06 22:57.40 ---> using "d2c0f8ca6b78229a8736a1c58474579f9e8dd739d9f76726c83ac55b93330b8d" from cache

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

/: (workdir /home/opam)

/home/opam: (run (shell "sudo ln -f /usr/bin/opam-2.0 /usr/bin/opam"))
2026-02-06 22:57.40 ---> using "ac9e5aa4b235f285e75afecfdddde522d741b9263dd0a9042de745b15e5d10e3" from cache

/home/opam: (run (network host)
                 (shell "opam init --reinit --config .opamrc-sandbox -ni"))
[NOTE] Will configure 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.

[WARNING] Recommended dependencies -- most packages rely on these:
  - m4

<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] Initialised
default (at git+file:///home/opam/opam-repository): 
    [INFO] opam 2.1 and 2.2 include many performance and security improvements over 2.0; please consider upgrading (https://opam.ocaml.org/doc/Install.html)

2026-02-06 22:57.40 ---> using "4a0afe9b7ef771eac337368e82362e63be2153d5fc92561ab1ce4d14c6a23235" from cache

/home/opam: (run (shell "opam config report"))
# opam config report
# opam-version      2.0.10 (adc1e1829a2bef5b240746df80341b508290fe3b) 
# self-upgrade      no
# system            arch=x86_64 os=linux os-distribution=debian os-version=13
# solver            builtin-mccs+glpk
# install-criteria  -removed,-count[version-lag,request],-count[version-lag,changed],-changed
# upgrade-criteria  -removed,-count[version-lag,solution],-new
# jobs              71
# repositories      1 (version-controlled)
# pinned            1 (version)
# current-switch    5.4
2026-02-06 22:57.40 ---> using "f7dd8c853d8ca59af7d45f5b3800dd6997eef61964914994640e31c697148ab8" 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-02-06 22:57.40 ---> using "dad37d8d8e94e0f24eb17a36476432e1d8154987955eae5dc2aa61e7649223a5" from cache

/home/opam: (copy (src .) (dst opam-repository/))
2026-02-06 22:57.41 ---> saved as "d76f654071c391e18236e5643974d29df8b46b4ddbc6e4b4f740dbff269dc6ea"

/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
default (at file:///home/opam/opam-repository): 
    [INFO] opam 2.1 and 2.2 include many performance and security improvements over 2.0; please consider upgrading (https://opam.ocaml.org/doc/Install.html)

2026-02-06 22:57.52 ---> saved as "1d6fdae69a4394dbb8d56493f5ba6e84ffdb6c141bb2bb760c13581d5b9f40e1"

/home/opam: (run (network host)
                 (shell "opam depext -u || true"))
# Detecting depexts using vars: arch=x86_64, os=linux, os-distribution=debian, os-family=debian
# No extra OS packages requirements found.
# All required OS packages found.
The following command needs to be run through "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 [100 kB]
Fetched 191 kB in 0s (2313 kB/s)
Reading package lists...
# OS package update successful
2026-02-06 22:57.53 ---> saved as "93b8cb06e0f1a2bcb3ee37680ce42e2d9857c9945d3688b1a5f352de45a94822"

/home/opam: (run (shell "opam pin add -k version -yn js_of_ocaml.6.3.0 6.3.0"))
js_of_ocaml is now pinned to version 6.3.0
2026-02-06 22:57.54 ---> saved as "c9b7adc39a4634ded57f19df57bce1296ef60e41f240f39911714748185e2475"

/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
                 (network host)
                 (shell  "opam depext js_of_ocaml.6.3.0 && opam reinstall js_of_ocaml.6.3.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-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\" != 'js_of_ocaml.6.3.0' && partial_fails=\"$partial_fails $pkg\";\
                        \n        done;\
                        \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
                        \n        exit 1"))
# Detecting depexts using vars: arch=x86_64, os=linux, os-distribution=debian, os-family=debian
# No extra OS packages requirements found.
# All required OS packages found.
js_of_ocaml.6.3.0 is not installed. Install it? [Y/n] y
The following actions will be performed:
  - install seq                  base     [required by gen]
  - install dune                 3.21.0   [required by js_of_ocaml]
  - install cmdliner             2.1.0    [required by js_of_ocaml-compiler]
  - install yojson               3.0.0    [required by js_of_ocaml-compiler]
  - install stdlib-shims         0.3.0    [required by ppxlib]
  - install sexplib0             v0.17.0  [required by ppxlib]
  - install ppx_derivers         1.2.1    [required by ppxlib]
  - install ocaml-compiler-libs  v0.17.0  [required by js_of_ocaml-compiler]
  - install menhirSdk            20230608 [required by js_of_ocaml-compiler]
  - install menhirLib            20230608 [required by js_of_ocaml-compiler]
  - install gen                  1.1      [required by sedlex]
  - install ppxlib               0.37.0   [required by js_of_ocaml]
  - install menhir               20230608 [required by js_of_ocaml-compiler]
  - install sedlex               3.7      [required by js_of_ocaml-compiler]
  - install js_of_ocaml-compiler 6.3.0    [required by js_of_ocaml]
  - install js_of_ocaml          6.3.0*
===== 16 to install =====

<><> Gathering sources ><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
[cmdliner.2.1.0] found in cache
[dune.3.21.0] found in cache
[gen.1.1] found in cache
[js_of_ocaml.6.3.0] found in cache
[js_of_ocaml-compiler.6.3.0] found in cache
[menhir.20230608] found in cache
[menhirLib.20230608] found in cache
[menhirSdk.20230608] found in cache
[ocaml-compiler-libs.v0.17.0] found in cache
[ppx_derivers.1.2.1] found in cache
[ppxlib.0.37.0] found in cache
[sedlex.3.7] found in cache
[sexplib0.v0.17.0] found in cache
[stdlib-shims.0.3.0] found in cache
[yojson.3.0.0] found in cache

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> installed seq.base
-> installed cmdliner.2.1.0
-> installed dune.3.21.0
-> installed ppx_derivers.1.2.1
-> installed stdlib-shims.0.3.0
-> installed menhirSdk.20230608
-> installed sexplib0.v0.17.0
-> installed gen.1.1
-> installed menhirLib.20230608
-> installed ocaml-compiler-libs.v0.17.0
-> installed yojson.3.0.0
-> installed menhir.20230608
-> installed ppxlib.0.37.0
-> installed sedlex.3.7
-> installed js_of_ocaml-compiler.6.3.0
-> installed js_of_ocaml.6.3.0
Done.
# Run eval $(opam env) to update the current shell environment
2026-02-06 22:59.06 ---> saved as "4344655365105ac4dfb6700c311c6960c6e19ada38a189e1bce0c3f17ee357a8"
Job succeeded
2026-02-06 22:59.13: Job succeeded