(not at the head of any monitored branch or PR)
2025-08-05 14:00.12: New job: test lbfgs.0.9.3 with dune.3.20.0~alpha2, using opam 2.3
                              from https://github.com/ocaml/opam-repository.git#refs/pull/28298/head (dd5533520fdcb5364efecb41d297e786ddcc1f76)
                              on debian-12-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/28298/head" && git reset --hard dd553352
git fetch origin master
git merge --no-edit 39155538b0d7654773a68bd42b0b7dbb8eb14ad7
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-12-ocaml-5.3@sha256:4c128e28b76bc23613903dd2c78bdf0a5de36bc06b2b1eea8d3079d07756aa03
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 dune.3.20.0~alpha2 3.20.0~alpha2
RUN opam reinstall dune.3.20.0~alpha2; \
    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-12\""; then \
    echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
    fi; \
    test "$pkg" != 'dune.3.20.0~alpha2' && partial_fails="$partial_fails $pkg"; \
    done; \
    test "${partial_fails}" != "" && echo "opam-repo-ci detected dependencies failing: ${partial_fails}"; \
    exit 1
RUN opam reinstall lbfgs.0.9.3; \
    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-12\""; then \
    echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
    fi; \
    test "$pkg" != 'lbfgs.0.9.3' && partial_fails="$partial_fails $pkg"; \
    done; \
    test "${partial_fails}" != "" && echo "opam-repo-ci detected dependencies failing: ${partial_fails}"; \
    exit 1
RUN (opam reinstall --with-test lbfgs.0.9.3) || true
RUN opam reinstall --with-test --verbose lbfgs.0.9.3; \
    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-12\""; then \
    echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
    fi; \
    test "$pkg" != 'lbfgs.0.9.3' && 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-05 14:00.12: Using cache hint "ocaml/opam:debian-12-ocaml-5.3@sha256:4c128e28b76bc23613903dd2c78bdf0a5de36bc06b2b1eea8d3079d07756aa03-dune.3.20.0~alpha2-lbfgs.0.9.3-dd5533520fdcb5364efecb41d297e786ddcc1f76"
2025-08-05 14:00.12: Using OBuilder spec:
((from ocaml/opam:debian-12-ocaml-5.3@sha256:4c128e28b76bc23613903dd2c78bdf0a5de36bc06b2b1eea8d3079d07756aa03)
 (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 dune.3.20.0~alpha2 3.20.0~alpha2"))
 (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
      (network host)
      (shell  "opam reinstall dune.3.20.0~alpha2;\
             \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-12\\\"\"; then\
             \n            echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
             \n          fi;\
             \n          test \"$pkg\" != 'dune.3.20.0~alpha2' && partial_fails=\"$partial_fails $pkg\";\
             \n        done;\
             \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
             \n        exit 1"))
 (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
      (network host)
      (shell  "opam reinstall lbfgs.0.9.3;\
             \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-12\\\"\"; then\
             \n            echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
             \n          fi;\
             \n          test \"$pkg\" != 'lbfgs.0.9.3' && partial_fails=\"$partial_fails $pkg\";\
             \n        done;\
             \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
             \n        exit 1"))
 (run (network host)
      (shell "(opam reinstall --with-test lbfgs.0.9.3) || true"))
 (run (shell  "opam reinstall --with-test --verbose lbfgs.0.9.3;\
             \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-12\\\"\"; then\
             \n            echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
             \n          fi;\
             \n          test \"$pkg\" != 'lbfgs.0.9.3' && 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-05 14:00.12: Waiting for resource in pool OCluster
2025-08-05 18:04.46: Waiting for worker…
2025-08-05 18:06.23: Got resource from pool OCluster
Building on phoebe
All commits already cached
Updating files:  65% (11784/17995)
Updating files:  66% (11877/17995)
Updating files:  67% (12057/17995)
Updating files:  68% (12237/17995)
Updating files:  69% (12417/17995)
Updating files:  70% (12597/17995)
Updating files:  71% (12777/17995)
Updating files:  72% (12957/17995)
Updating files:  73% (13137/17995)
Updating files:  74% (13317/17995)
Updating files:  75% (13497/17995)
Updating files:  76% (13677/17995)
Updating files:  77% (13857/17995)
Updating files:  78% (14037/17995)
Updating files:  79% (14217/17995)
Updating files:  80% (14396/17995)
Updating files:  81% (14576/17995)
Updating files:  82% (14756/17995)
Updating files:  83% (14936/17995)
Updating files:  84% (15116/17995)
Updating files:  85% (15296/17995)
Updating files:  86% (15476/17995)
Updating files:  87% (15656/17995)
Updating files:  88% (15836/17995)
Updating files:  89% (16016/17995)
Updating files:  90% (16196/17995)
Updating files:  91% (16376/17995)
Updating files:  92% (16556/17995)
Updating files:  93% (16736/17995)
Updating files:  94% (16916/17995)
Updating files:  95% (17096/17995)
Updating files:  96% (17276/17995)
Updating files:  97% (17456/17995)
Updating files:  98% (17636/17995)
Updating files:  99% (17816/17995)
Updating files: 100% (17995/17995)
Updating files: 100% (17995/17995), done.
HEAD is now at 39155538b0 Merge pull request #28292 from gildor478/release-ocamlmod-v0.1.1
Updating 39155538b0..dd5533520f
Fast-forward
 .../chrome-trace/chrome-trace.3.20.0~alpha2/opam   | 41 ++++++++++++
 .../dune-action-plugin.3.20.0~alpha2/opam          | 54 ++++++++++++++++
 .../dune-build-info.3.20.0~alpha2/opam             | 47 ++++++++++++++
 .../dune-configurator.3.20.0~alpha2/opam           | 51 +++++++++++++++
 packages/dune-glob/dune-glob.3.20.0~alpha2/opam    | 44 +++++++++++++
 .../dune-private-libs.3.20.0~alpha2/opam           | 52 +++++++++++++++
 .../dune-rpc-lwt/dune-rpc-lwt.3.20.0~alpha2/opam   | 43 +++++++++++++
 packages/dune-rpc/dune-rpc.3.20.0~alpha2/opam      | 45 +++++++++++++
 packages/dune-site/dune-site.3.20.0~alpha2/opam    | 39 ++++++++++++
 packages/dune/dune.3.20.0~alpha2/opam              | 74 ++++++++++++++++++++++
 packages/dyn/dyn.3.20.0~alpha2/opam                | 42 ++++++++++++
 packages/ocamlc-loc/ocamlc-loc.3.20.0~alpha2/opam  | 45 +++++++++++++
 packages/ordering/ordering.3.20.0~alpha2/opam      | 40 ++++++++++++
 packages/stdune/stdune.3.20.0~alpha2/opam          | 46 ++++++++++++++
 packages/xdg/xdg.3.20.0~alpha2/opam                | 41 ++++++++++++
 15 files changed, 704 insertions(+)
 create mode 100644 packages/chrome-trace/chrome-trace.3.20.0~alpha2/opam
 create mode 100644 packages/dune-action-plugin/dune-action-plugin.3.20.0~alpha2/opam
 create mode 100644 packages/dune-build-info/dune-build-info.3.20.0~alpha2/opam
 create mode 100644 packages/dune-configurator/dune-configurator.3.20.0~alpha2/opam
 create mode 100644 packages/dune-glob/dune-glob.3.20.0~alpha2/opam
 create mode 100644 packages/dune-private-libs/dune-private-libs.3.20.0~alpha2/opam
 create mode 100644 packages/dune-rpc-lwt/dune-rpc-lwt.3.20.0~alpha2/opam
 create mode 100644 packages/dune-rpc/dune-rpc.3.20.0~alpha2/opam
 create mode 100644 packages/dune-site/dune-site.3.20.0~alpha2/opam
 create mode 100644 packages/dune/dune.3.20.0~alpha2/opam
 create mode 100644 packages/dyn/dyn.3.20.0~alpha2/opam
 create mode 100644 packages/ocamlc-loc/ocamlc-loc.3.20.0~alpha2/opam
 create mode 100644 packages/ordering/ordering.3.20.0~alpha2/opam
 create mode 100644 packages/stdune/stdune.3.20.0~alpha2/opam
 create mode 100644 packages/xdg/xdg.3.20.0~alpha2/opam

(from ocaml/opam:debian-12-ocaml-5.3@sha256:4c128e28b76bc23613903dd2c78bdf0a5de36bc06b2b1eea8d3079d07756aa03)
2025-08-05 18:08.01 ---> using "136b9da5b4792138f95300e61d33f42dd45fd35a017a7276daca78afc682748d" 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-05 18:08.01 ---> using "a388c5b35cadef4c2005715355a9e850636d9e91fb537c5a71d1c45917048fdc" 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
Format upgrade done.

<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] Initialised
2025-08-05 18:08.01 ---> using "bb165827456dcd23ceb0ae78f1e65a9e17509720f29c738eb19faac8565f141e" 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=debian os-version=12
# 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.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-05 18:08.01 ---> using "531a32bcfb595c38d922854047b33660029bc78d4418665c28feb76af7b35eb4" 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-05 18:08.01 ---> using "c20e3b5fdf01328bb44c0a8a29e7ec3ba2d9ed727ee69b4cd024fdd82aedb434" from cache

/home/opam: (copy (src .) (dst opam-repository/))
2025-08-05 18:08.02 ---> using "73494652ae5cbe73a570c2fb3cc60f88e48a99790b2100e85d610a014663672a" from cache

/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2025-08-05 18:08.02 ---> using "5bbb47b46e833101d358bd0bb3fba662d23c88e2c7611a7dd61fda7a882c4749" from cache

/home/opam: (run (network host)
                 (shell "opam update --depexts || true"))
+ /usr/bin/sudo "apt-get" "update"
- Hit:1 http://deb.debian.org/debian bookworm InRelease
- Get:2 http://deb.debian.org/debian bookworm-updates InRelease [55.4 kB]
- Get:3 http://deb.debian.org/debian-security bookworm-security InRelease [48.0 kB]
- Fetched 103 kB in 1s (145 kB/s)
- Reading package lists...
- 
2025-08-05 18:08.02 ---> using "14a0dd3c170709748f601221b68c6aec534b4baf4f768f1c44b08e16fb5c04c8" from cache

/home/opam: (run (shell "opam pin add -k version -yn dune.3.20.0~alpha2 3.20.0~alpha2"))
dune is now pinned to version 3.20.0~alpha2
2025-08-05 18:08.02 ---> using "0dc86ba3c315436269fe1d18479eccd8e74e465ed875d7836ac6b36e3e42dd34" from cache

/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
                 (network host)
                 (shell  "opam reinstall dune.3.20.0~alpha2;\
                        \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-12\\\"\"; then\
                        \n            echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
                        \n          fi;\
                        \n          test \"$pkg\" != 'dune.3.20.0~alpha2' && partial_fails=\"$partial_fails $pkg\";\
                        \n        done;\
                        \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
                        \n        exit 1"))
dune.3.20.0~alpha2 is not installed. Install it? [y/n] y
The following actions will be performed:
=== install 1 package
  - install dune 3.20.0~alpha2 (pinned)

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved dune.3.20.0~alpha2  (cached)
-> installed dune.3.20.0~alpha2
Done.
# To update the current shell environment, run: eval $(opam env)
2025-08-05 18:08.02 ---> using "7d66253a831e807c66c378f2d3d96a3f69d560a0160b70f90707e09e26b92cea" from cache

/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
                 (network host)
                 (shell  "opam reinstall lbfgs.0.9.3;\
                        \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-12\\\"\"; then\
                        \n            echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
                        \n          fi;\
                        \n          test \"$pkg\" != 'lbfgs.0.9.3' && partial_fails=\"$partial_fails $pkg\";\
                        \n        done;\
                        \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
                        \n        exit 1"))
lbfgs.0.9.3 is not installed. Install it? [y/n] y
The following actions will be performed:
=== install 7 packages
  - install base-bytes        base          [required by lbfgs]
  - install conf-gfortran     0             [required by lbfgs]
  - install cppo              1.8.0         [required by lbfgs]
  - install csexp             1.5.2         [required by dune-configurator]
  - install dune-configurator 3.20.0~alpha2 [required by lbfgs]
  - install lbfgs             0.9.3
  - install ocamlfind         1.9.8         [required by base-bytes]

The following system packages will first need to be installed:
    gfortran

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

opam believes some required external dependencies are missing. opam can:
> 1. Run apt-get to install them (may need root/sudo access)
  2. Display the recommended apt-get 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 "apt-get" "install" "-qq" "-yy" "gfortran"
- debconf: delaying package configuration, since apt-utils is not installed
- Selecting previously unselected package libgfortran5:amd64.
- (Reading database ... 
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 18778 files and directories currently installed.)
- Preparing to unpack .../libgfortran5_12.2.0-14+deb12u1_amd64.deb ...
- Unpacking libgfortran5:amd64 (12.2.0-14+deb12u1) ...
- Selecting previously unselected package libgfortran-12-dev:amd64.
- Preparing to unpack .../libgfortran-12-dev_12.2.0-14+deb12u1_amd64.deb ...
- Unpacking libgfortran-12-dev:amd64 (12.2.0-14+deb12u1) ...
- Selecting previously unselected package gfortran-12.
- Preparing to unpack .../gfortran-12_12.2.0-14+deb12u1_amd64.deb ...
- Unpacking gfortran-12 (12.2.0-14+deb12u1) ...
- Selecting previously unselected package gfortran.
- Preparing to unpack .../gfortran_4%3a12.2.0-3_amd64.deb ...
- Unpacking gfortran (4:12.2.0-3) ...
- Setting up libgfortran5:amd64 (12.2.0-14+deb12u1) ...
- Setting up libgfortran-12-dev:amd64 (12.2.0-14+deb12u1) ...
- Setting up gfortran-12 (12.2.0-14+deb12u1) ...
- Setting up gfortran (4:12.2.0-3) ...
- update-alternatives: using /usr/bin/gfortran to provide /usr/bin/f95 (f95) in auto mode
- update-alternatives: using /usr/bin/gfortran to provide /usr/bin/f77 (f77) in auto mode
- Processing triggers for libc-bin (2.36-9+deb12u10) ...

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved cppo.1.8.0  (cached)
-> installed conf-gfortran.0
-> retrieved csexp.1.5.2  (cached)
-> installed csexp.1.5.2
-> retrieved dune-configurator.3.20.0~alpha2  (cached)
-> installed cppo.1.8.0
-> retrieved lbfgs.0.9.3  (cached)
-> retrieved ocamlfind.1.9.8  (cached)
-> installed dune-configurator.3.20.0~alpha2
-> installed ocamlfind.1.9.8
-> installed base-bytes.base
-> installed lbfgs.0.9.3
Done.
# To update the current shell environment, run: eval $(opam env)
2025-08-05 18:08.35 ---> saved as "5073ae3d859c1d0a70ce73fe22f4581c2ae72c3179f2fc49acea6906794bb0cd"

/home/opam: (run (network host)
                 (shell "(opam reinstall --with-test lbfgs.0.9.3) || true"))
The following actions will be performed:
=== recompile 1 package
  - recompile lbfgs       0.9.3
=== install 3 packages
  - install   conf-blas   1      [required by lacaml]
  - install   conf-lapack 1      [required by lacaml]
  - install   lacaml      11.1.1 [required by lbfgs]

The following system packages will first need to be installed:
    libblas-dev liblapack-dev

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

opam believes some required external dependencies are missing. opam can:
> 1. Run apt-get to install them (may need root/sudo access)
  2. Display the recommended apt-get 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 "apt-get" "install" "-qq" "-yy" "libblas-dev" "liblapack-dev"
- debconf: delaying package configuration, since apt-utils is not installed
- Selecting previously unselected package libblas3:amd64.
- (Reading database ... 
- (Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 18810 files and directories currently installed.)
- Preparing to unpack .../libblas3_3.11.0-2_amd64.deb ...
- Unpacking libblas3:amd64 (3.11.0-2) ...
- Selecting previously unselected package libblas-dev:amd64.
- Preparing to unpack .../libblas-dev_3.11.0-2_amd64.deb ...
- Unpacking libblas-dev:amd64 (3.11.0-2) ...
- Selecting previously unselected package liblapack3:amd64.
- Preparing to unpack .../liblapack3_3.11.0-2_amd64.deb ...
- Unpacking liblapack3:amd64 (3.11.0-2) ...
- Selecting previously unselected package liblapack-dev:amd64.
- Preparing to unpack .../liblapack-dev_3.11.0-2_amd64.deb ...
- Unpacking liblapack-dev:amd64 (3.11.0-2) ...
- Setting up libblas3:amd64 (3.11.0-2) ...
- update-alternatives: using /usr/lib/x86_64-linux-gnu/blas/libblas.so.3 to provide /usr/lib/x86_64-linux-gnu/libblas.so.3 (libblas.so.3-x86_64-linux-gnu) in auto mode
- Setting up libblas-dev:amd64 (3.11.0-2) ...
- update-alternatives: using /usr/lib/x86_64-linux-gnu/blas/libblas.so to provide /usr/lib/x86_64-linux-gnu/libblas.so (libblas.so-x86_64-linux-gnu) in auto mode
- Setting up liblapack3:amd64 (3.11.0-2) ...
- update-alternatives: using /usr/lib/x86_64-linux-gnu/lapack/liblapack.so.3 to provide /usr/lib/x86_64-linux-gnu/liblapack.so.3 (liblapack.so.3-x86_64-linux-gnu) in auto mode
- Setting up liblapack-dev:amd64 (3.11.0-2) ...
- update-alternatives: using /usr/lib/x86_64-linux-gnu/lapack/liblapack.so to provide /usr/lib/x86_64-linux-gnu/liblapack.so (liblapack.so-x86_64-linux-gnu) in auto mode
- Processing triggers for libc-bin (2.36-9+deb12u10) ...

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved conf-blas.1  (2 extra sources)
-> retrieved conf-blas.1  (2 extra sources)
-> installed conf-blas.1
-> retrieved conf-lapack.1  (2 extra sources)
-> retrieved conf-lapack.1  (2 extra sources)
-> installed conf-lapack.1
-> retrieved lacaml.11.1.1  (https://opam.ocaml.org/cache)
-> retrieved lbfgs.0.9.3  (https://opam.ocaml.org/cache)
-> removed   lbfgs.0.9.3
-> installed lacaml.11.1.1
-> installed lbfgs.0.9.3
Done.
# To update the current shell environment, run: eval $(opam env)
2025-08-05 18:09.12 ---> saved as "b2c50541ca594bd9999ef5c601fe0b4df2bee7ad5f379a4e205496be6a40d258"

/home/opam: (run (shell  "opam reinstall --with-test --verbose lbfgs.0.9.3;\
                        \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-12\\\"\"; then\
                        \n            echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
                        \n          fi;\
                        \n          test \"$pkg\" != 'lbfgs.0.9.3' && partial_fails=\"$partial_fails $pkg\";\
                        \n        done;\
                        \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
                        \n        exit 1"))
The following actions will be performed:
=== recompile 1 package
  - recompile lbfgs 0.9.3

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
Processing  1/4: [lbfgs.0.9.3: extract]
-> retrieved lbfgs.0.9.3  (cached)
Processing  2/4: [lbfgs: dune build]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "build" "-p" "lbfgs" "-j" "71" (CWD=/home/opam/.opam/5.3/.opam-switch/build/lbfgs.0.9.3)
- (cd _build/default/src && /usr/bin/gcc -O2 -fno-strict-aliasing -fwrapv -fPIC -pthread -D_FILE_OFFSET_BITS=64 -O2 -fno-strict-aliasing -fwrapv -fPIC -pthread -g -I /home/opam/.opam/5.3/lib/ocaml -I /home/opam/.opam/5.3/lib/bytes -I Lbfgsb.3.0 -o lbfgs_stubs.o -c lbfgs_stubs.c)
- In file included from lbfgs_stubs.c:18:
- lbfgs_stubs.c: In function 'ocaml_lbfgs_setulb':
- /home/opam/.opam/5.3/lib/ocaml/caml/mlvalues.h:365:24: warning: passing argument 13 of 'setulb_' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
-   365 | #define String_val(x) ((const char *) Bp_val(x))
-       |                       ~^~~~~~~~~~~~~~~~~~~~~~~~~
- lbfgs_stubs.c:92:11: note: in expansion of macro 'String_val'
-    92 |           String_val(vtask), /* shared content with OCaml */
-       |           ^~~~~~~~~~
- lbfgs_stubs.c:66:27: note: expected 'char *' but argument is of type 'const char *'
-    66 |                     char *task,
-       |                     ~~~~~~^~~~
- /home/opam/.opam/5.3/lib/ocaml/caml/mlvalues.h:365:24: warning: passing argument 15 of 'setulb_' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
-   365 | #define String_val(x) ((const char *) Bp_val(x))
-       |                       ~^~~~~~~~~~~~~~~~~~~~~~~~~
- lbfgs_stubs.c:93:28: note: in expansion of macro 'String_val'
-    93 |           PTR_INT(iprint), String_val(vcsave),
-       |                            ^~~~~~~~~~
- lbfgs_stubs.c:68:27: note: expected 'char *' but argument is of type 'const char *'
-    68 |                     char *csave,
-       |                     ~~~~~~^~~~~
- lbfgs_stubs.c:96:10: warning: implicit declaration of function 'copy_double'; did you mean 'caml_copy_double'? [-Wimplicit-function-declaration]
-    96 |   return(copy_double(f));
-       |          ^~~~~~~~~~~
-       |          caml_copy_double
-> compiled  lbfgs.0.9.3
-> removed   lbfgs.0.9.3
-> installed lbfgs.0.9.3
Done.
# To update the current shell environment, run: eval $(opam env)
2025-08-05 18:09.24 ---> saved as "d5734ad6a3e531a2d47f4338619237e0581e3fd04b3661567a4243f4ee343541"
Job succeeded
2025-08-05 18:09.57: Job succeeded