(for PR #27494)

2025-02-24 08:32.08: New job: test plotkicadsch.0.9.0 with ocamlmod.0.1.0, using opam dev
                              from https://github.com/ocaml/opam-repository.git#refs/pull/27494/head (0def47e7b511023db693d6098b7284568d1f56f0)
                              on debian-12-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/27494/head" && git reset --hard 0def47e7
git fetch origin master
git merge --no-edit 4022a684b64be8161a05cf897f492f8680792469
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-12-ocaml-4.14@sha256:74114e6518f67eaaca9dfbd3a0a8e27123f8607d1ac62b00e945d9c187c96098
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 ocamlmod.0.1.0 0.1.0
RUN opam reinstall ocamlmod.0.1.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-12\""; then \
    echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
    fi; \
    test "$pkg" != 'ocamlmod.0.1.0' && partial_fails="$partial_fails $pkg"; \
    done; \
    test "${partial_fails}" != "" && echo "opam-repo-ci detected dependencies failing: ${partial_fails}"; \
    exit 1
RUN opam reinstall plotkicadsch.0.9.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-12\""; then \
    echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
    fi; \
    test "$pkg" != 'plotkicadsch.0.9.0' && 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 plotkicadsch.0.9.0) || true
RUN opam reinstall --with-test --verbose plotkicadsch.0.9.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-12\""; then \
    echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
    fi; \
    test "$pkg" != 'plotkicadsch.0.9.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-02-24 08:32.08: Using cache hint "ocaml/opam:debian-12-ocaml-4.14@sha256:74114e6518f67eaaca9dfbd3a0a8e27123f8607d1ac62b00e945d9c187c96098-ocamlmod.0.1.0-plotkicadsch.0.9.0-0def47e7b511023db693d6098b7284568d1f56f0"
2025-02-24 08:32.08: Using OBuilder spec:
((from ocaml/opam:debian-12-ocaml-4.14@sha256:74114e6518f67eaaca9dfbd3a0a8e27123f8607d1ac62b00e945d9c187c96098)
 (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 ocamlmod.0.1.0 0.1.0"))
 (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
      (network host)
      (shell  "opam reinstall ocamlmod.0.1.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-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\" != 'ocamlmod.0.1.0' && 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 plotkicadsch.0.9.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-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\" != 'plotkicadsch.0.9.0' && 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 plotkicadsch.0.9.0) || true"))
 (run (shell  "opam reinstall --with-test --verbose plotkicadsch.0.9.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-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\" != 'plotkicadsch.0.9.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-02-24 08:32.08: Waiting for resource in pool OCluster
2025-02-24 09:09.56: Waiting for worker…
2025-02-24 09:13.02: Got resource from pool OCluster
Building on clete.caelum.ci.dev
All commits already cached
Updating files:  57% (12883/22467)
Updating files:  58% (13031/22467)
Updating files:  59% (13256/22467)
Updating files:  60% (13481/22467)
Updating files:  61% (13705/22467)
Updating files:  62% (13930/22467)
Updating files:  63% (14155/22467)
Updating files:  64% (14379/22467)
Updating files:  65% (14604/22467)
Updating files:  66% (14829/22467)
Updating files:  67% (15053/22467)
Updating files:  68% (15278/22467)
Updating files:  69% (15503/22467)
Updating files:  70% (15727/22467)
Updating files:  71% (15952/22467)
Updating files:  72% (16177/22467)
Updating files:  73% (16401/22467)
Updating files:  74% (16626/22467)
Updating files:  75% (16851/22467)
Updating files:  76% (17075/22467)
Updating files:  77% (17300/22467)
Updating files:  78% (17525/22467)
Updating files:  79% (17749/22467)
Updating files:  80% (17974/22467)
Updating files:  81% (18199/22467)
Updating files:  82% (18423/22467)
Updating files:  83% (18648/22467)
Updating files:  84% (18873/22467)
Updating files:  85% (19097/22467)
Updating files:  86% (19322/22467)
Updating files:  87% (19547/22467)
Updating files:  88% (19771/22467)
Updating files:  89% (19996/22467)
Updating files:  90% (20221/22467)
Updating files:  91% (20445/22467)
Updating files:  92% (20670/22467)
Updating files:  93% (20895/22467)
Updating files:  94% (21119/22467)
Updating files:  95% (21344/22467)
Updating files:  96% (21569/22467)
Updating files:  97% (21793/22467)
Updating files:  98% (22018/22467)
Updating files:  99% (22243/22467)
Updating files: 100% (22467/22467)
Updating files: 100% (22467/22467), done.
HEAD is now at 4022a684b6 Merge pull request #27464 from hannesm/release-crunch-v4.0.0
Updating 4022a684b6..0def47e7b5
Fast-forward
 packages/ocamlmod/ocamlmod.0.1.0/opam | 37 +++++++++++++++++++++++++++++++++++
 1 file changed, 37 insertions(+)
 create mode 100644 packages/ocamlmod/ocamlmod.0.1.0/opam

(from ocaml/opam:debian-12-ocaml-4.14@sha256:74114e6518f67eaaca9dfbd3a0a8e27123f8607d1ac62b00e945d9c187c96098)
2025-02-24 09:13.07 ---> using "fd8c1dcac8c3a6cd3ee8edd679de5f3384de62d6f587d449e00238111470ab75" from cache

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

/: (workdir /home/opam)

/home/opam: (run (shell "sudo ln -f /usr/bin/opam-dev /usr/bin/opam"))
2025-02-24 09:13.07 ---> using "63348f49024352af4df51181a4d2b78015b336e78bdb909884d7d69472d901a3" 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 39 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=39 --global
Format upgrade done.

<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[opam-repository-archive] synchronised from git+https://github.com/ocaml/opam-repository-archive
[default] synchronised from file:///home/opam/opam-repository
2025-02-24 09:13.07 ---> using "43a9673a4da24840797129b74017b6eb598863ba09d5d1a9bc3d3bd190bc8651" 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.4.0~alpha1~dev (34b7b4ec4af0ebd3c8fc4aee8088471be2ad48c7)
# 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 (local), 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-02-24 09:13.07 ---> using "5b9fc6f723d0065251ab5d52aa7740a229f8f438bf79f559d9f8db36ee599317" 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-02-24 09:13.07 ---> using "a874c49896169ec02e95177c8b5fb923a0e02dbc7bef07316a52b7ca53832295" from cache

/home/opam: (copy (src .) (dst opam-repository/))
2025-02-24 09:13.09 ---> using "4253df3ceb367f320e2e59481694f41945d0aa5a3aff8e84d62ec30597769699" from cache

/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2025-02-24 09:13.09 ---> using "b0d31e1d3e54c8f2cf9229a7a258f86593277d01a3029f618e9e06729f50143c" 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]
- Get:4 http://deb.debian.org/debian-security bookworm-security/main amd64 Packages [246 kB]
- Fetched 349 kB in 0s (1144 kB/s)
- Reading package lists...
- 
2025-02-24 09:13.09 ---> using "3190819e9a9b503daf97a971adb376054d5dae792297b7f693d4b54899654a95" from cache

/home/opam: (run (shell "opam pin add -k version -yn ocamlmod.0.1.0 0.1.0"))
ocamlmod is now pinned to version 0.1.0
2025-02-24 09:13.09 ---> using "a1c9a3b28bfa48ebb2cb16d4ad6c5c79f4f4025f4430dedc449bfd06148b496a" from cache

/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
                 (network host)
                 (shell  "opam reinstall ocamlmod.0.1.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-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\" != 'ocamlmod.0.1.0' && partial_fails=\"$partial_fails $pkg\";\
                        \n        done;\
                        \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
                        \n        exit 1"))
ocamlmod.0.1.0 is not installed. Install it? [Y/n] y
The following actions will be performed:
=== install 2 packages
  - install dune     3.17.2         [required by ocamlmod]
  - install ocamlmod 0.1.0 (pinned)

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved dune.3.17.2  (cached)
-> retrieved ocamlmod.0.1.0  (cached)
-> installed dune.3.17.2
-> installed ocamlmod.0.1.0
Done.
# To update the current shell environment, run: eval $(opam env)
2025-02-24 09:13.09 ---> using "518b5c4f8da5b692ed3584669396faac7fdc0a48af64716bd9f64828cc9889f6" from cache

/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
                 (network host)
                 (shell  "opam reinstall plotkicadsch.0.9.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-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\" != 'plotkicadsch.0.9.0' && partial_fails=\"$partial_fails $pkg\";\
                        \n        done;\
                        \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
                        \n        exit 1"))
plotkicadsch.0.9.0 is not installed. Install it? [Y/n] y
The following actions will be performed:
=== install 118 packages
  - install angstrom                 0.16.1  [required by git]
  - install arp                      4.0.0   [required by tcpip]
  - install asn1-combinators         0.3.2   [required by x509]
  - install astring                  0.8.5   [required by git, git-unix]
  - install awa                      0.4.0   [required by git-mirage]
  - install awa-mirage               0.4.0   [required by git-mirage]
  - install base-bytes               base    [required by ocplib-endian]
  - install base64                   3.5.1   [required by plotkicadsch]
  - install bigstringaf              0.10.0  [required by git, git-unix]
  - install bos                      0.2.1   [required by git-unix]
  - install ca-certs-nss             3.108   [required by git-mirage]
  - install carton                   0.7.2   [required by git, git-unix]
  - install carton-git               0.7.2   [required by git]
  - install carton-lwt               0.7.2   [required by git]
  - install checkseum                0.5.2   [required by git]
  - install cmdliner                 1.3.0   [required by plotkicadsch]
  - install conf-gmp                 4       [required by conf-gmp-powm-sec, zarith]
  - install conf-gmp-powm-sec        3       [required by mirage-crypto-pk]
  - install conf-pkg-config          4       [required by zarith]
  - install cppo                     1.8.0   [required by lwt]
  - install csexp                    1.5.2   [required by dune-configurator]
  - install cstruct                  6.2.0   [required by git, git-unix]
  - install cstruct-lwt              6.2.0   [required by tcpip]
  - install cstruct-unix             6.2.0   [required by awa]
  - install decompress               1.5.3   [required by git, git-unix]
  - install digestif                 1.2.0   [required by git, git-unix]
  - install dns                      9.1.0   [required by git-mirage, happy-eyeballs-lwt]
  - install dns-client               9.1.0   [required by git-mirage]
  - install dns-client-mirage        9.1.0   [required by mimic-happy-eyeballs]
  - install domain-name              0.4.1   [required by git, git-unix]
  - install duff                     0.5     [required by carton]
  - install dune-configurator        3.17.2  [required by mirage-clock-unix]
  - install duration                 0.2.1   [required by happy-eyeballs-lwt, mirage-unix]
  - install emile                    1.1     [required by git]
  - install encore                   0.8     [required by git]
  - install eqaf                     0.10    [required by digestif, awa]
  - install ethernet                 3.2.0   [required by tcpip]
  - install faraday                  0.8.2   [required by httpaf, paf]
  - install fmt                      0.9.0   [required by git, git-unix]
  - install fpath                    0.7.3   [required by git, git-unix]
  - install git                      3.17.0  [required by plotkicadsch]
  - install git-mirage               3.17.0  [required by git-unix]
  - install git-paf                  3.17.0  [required by git-mirage]
  - install git-unix                 3.17.0  [required by plotkicadsch]
  - install gmap                     0.3.0   [required by dns]
  - install h2                       0.13.0  [required by paf]
  - install happy-eyeballs           2.0.0   [required by git-mirage, happy-eyeballs-lwt]
  - install happy-eyeballs-lwt       2.0.0   [required by git-unix]
  - install happy-eyeballs-mirage    2.0.0   [required by git-mirage]
  - install hpack                    0.13.0  [required by h2]
  - install httpaf                   0.7.1   [required by git-paf]
  - install httpun-types             0.2.0   [required by h2]
  - install hxd                      0.3.3   [required by git]
  - install ipaddr                   5.6.0   [required by git, git-unix]
  - install ipaddr-cstruct           5.6.0   [required by tcpip]
  - install kdf                      1.0.0   [required by x509]
  - install ke                       0.6     [required by git]
  - install kicadsch                 0.9.0   [required by plotkicadsch]
  - install logs                     0.7.0   [required by git, git-unix]
  - install lru                      0.3.1   [required by dns]
  - install lwt                      5.9.0   [required by plotkicadsch]
  - install lwt-dllist               1.0.1   [required by tcpip]
  - install lwt_ppx                  5.8.0   [required by plotkicadsch]
  - install macaddr                  5.6.0   [required by ipaddr]
  - install macaddr-cstruct          5.6.0   [required by tcpip]
  - install metrics                  0.4.1   [required by dns]
  - install mimic                    0.0.9   [required by git, git-unix]
  - install mimic-happy-eyeballs     0.0.9   [required by git-mirage]
  - install mirage-clock             4.2.0   [required by git-unix]
  - install mirage-clock-unix        4.2.0   [required by git-unix]
  - install mirage-crypto            1.2.0   [required by git-mirage]
  - install mirage-crypto-ec         1.2.0   [required by awa]
  - install mirage-crypto-pk         1.2.0   [required by awa]
  - install mirage-crypto-rng        1.2.0   [required by awa, dns-client]
  - install mirage-crypto-rng-mirage 1.2.0   [required by dns-client-mirage]
  - install mirage-flow              5.0.0   [required by git, git-unix]
  - install mirage-kv                6.1.1   [required by tls-mirage]
  - install mirage-mtime             5.0.0   [required by happy-eyeballs-mirage]
  - install mirage-net               4.0.0   [required by tcpip]
  - install mirage-ptime             5.0.0   [required by tls-mirage]
  - install mirage-runtime           4.8.2   [required by mirage-unix]
  - install mirage-sleep             4.0.0   [required by happy-eyeballs-mirage]
  - install mirage-time              3.0.0   [required by git-unix]
  - install mirage-unix              5.0.1   [required by git-unix]
  - install mtime                    2.1.0   [required by git-unix]
  - install ocaml-compiler-libs      v0.12.4 [required by ppxlib]
  - install ocaml-syntax-shims       1.0.0   [required by angstrom]
  - install ocamlbuild               0.15.0  [required by astring]
  - install ocamlfind                1.9.8   [required by astring]
  - install ocamlgraph               2.1.0   [required by git]
  - install ocplib-endian            1.2     [required by lwt]
  - install ohex                     0.2.0   [required by dns]
  - install optint                   0.3.0   [required by git]
  - install paf                      0.7.0   [required by git-paf]
  - install pecu                     0.7     [required by emile]
  - install plotkicadsch             0.9.0
  - install ppx_derivers             1.2.1   [required by ppxlib]
  - install ppxlib                   0.35.0  [required by lwt_ppx]
  - install psq                      0.2.1   [required by git]
  - install ptime                    1.2.0   [required by git-mirage]
  - install randomconv               0.2.0   [required by dns-client]
  - install re                       1.12.0  [required by tyxml]
  - install result                   1.5     [required by httpaf]
  - install rresult                  0.7.0   [required by git, git-unix]
  - install seq                      base    [required by tyxml]
  - install sexplib0                 v0.17.0 [required by ppxlib]
  - install sha                      1.15.4  [required by plotkicadsch]
  - install stdlib-shims             0.3.0   [required by sha]
  - install stringext                1.6.0   [required by uri]
  - install tcpip                    9.0.0   [required by git-unix]
  - install tls                      2.0.0   [required by git-unix]
  - install tls-mirage               2.0.0   [required by git-mirage]
  - install topkg                    1.0.7   [required by astring]
  - install tyxml                    4.6.0   [required by plotkicadsch]
  - install uri                      4.4.0   [required by git]
  - install uutf                     1.0.3   [required by tyxml]
  - install x509                     1.0.5   [required by git-mirage]
  - install zarith                   1.14    [required by awa]

The following system packages will first need to be installed:
    libgmp-dev pkg-config

<><> 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" "libgmp-dev" "pkg-config"
- debconf: delaying package configuration, since apt-utils is not installed
- Selecting previously unselected package libgmpxx4ldbl: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 ... 18745 files and directories currently installed.)
- Preparing to unpack .../0-libgmpxx4ldbl_2%3a6.2.1+dfsg1-1.1_amd64.deb ...
- Unpacking libgmpxx4ldbl:amd64 (2:6.2.1+dfsg1-1.1) ...
- Selecting previously unselected package libgmp-dev:amd64.
- Preparing to unpack .../1-libgmp-dev_2%3a6.2.1+dfsg1-1.1_amd64.deb ...
- Unpacking libgmp-dev:amd64 (2:6.2.1+dfsg1-1.1) ...
- Selecting previously unselected package libpkgconf3:amd64.
- Preparing to unpack .../2-libpkgconf3_1.8.1-1_amd64.deb ...
- Unpacking libpkgconf3:amd64 (1.8.1-1) ...
- Selecting previously unselected package pkgconf-bin.
- Preparing to unpack .../3-pkgconf-bin_1.8.1-1_amd64.deb ...
- Unpacking pkgconf-bin (1.8.1-1) ...
- Selecting previously unselected package pkgconf:amd64.
- Preparing to unpack .../4-pkgconf_1.8.1-1_amd64.deb ...
- Unpacking pkgconf:amd64 (1.8.1-1) ...
- Selecting previously unselected package pkg-config:amd64.
- Preparing to unpack .../5-pkg-config_1.8.1-1_amd64.deb ...
- Unpacking pkg-config:amd64 (1.8.1-1) ...
- Setting up libpkgconf3:amd64 (1.8.1-1) ...
- Setting up libgmpxx4ldbl:amd64 (2:6.2.1+dfsg1-1.1) ...
- Setting up pkgconf-bin (1.8.1-1) ...
- Setting up libgmp-dev:amd64 (2:6.2.1+dfsg1-1.1) ...
- Setting up pkgconf:amd64 (1.8.1-1) ...
- Setting up pkg-config:amd64 (1.8.1-1) ...
- Processing triggers for libc-bin (2.36-9+deb12u9) ...

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved angstrom.0.16.1  (cached)
-> retrieved arp.4.0.0  (cached)
-> retrieved asn1-combinators.0.3.2  (cached)
-> retrieved astring.0.8.5  (cached)
-> retrieved awa.0.4.0, awa-mirage.0.4.0  (cached)
-> retrieved base64.3.5.1  (cached)
-> retrieved bigstringaf.0.10.0  (cached)
-> retrieved bos.0.2.1  (cached)
-> retrieved ca-certs-nss.3.108  (cached)
-> retrieved carton.0.7.2, carton-git.0.7.2, carton-lwt.0.7.2  (cached)
-> retrieved checkseum.0.5.2  (cached)
-> retrieved cmdliner.1.3.0  (cached)
-> retrieved conf-gmp.4  (cached)
-> retrieved conf-gmp-powm-sec.3  (cached)
-> retrieved cppo.1.8.0  (cached)
-> retrieved csexp.1.5.2  (cached)
-> installed conf-pkg-config.4
-> retrieved cstruct.6.2.0, cstruct-lwt.6.2.0, cstruct-unix.6.2.0  (cached)
-> installed conf-gmp.4
-> installed conf-gmp-powm-sec.3
-> installed csexp.1.5.2
-> retrieved decompress.1.5.3  (cached)
-> installed base64.3.5.1
-> retrieved digestif.1.2.0  (cached)
-> retrieved dns.9.1.0, dns-client.9.1.0, dns-client-mirage.9.1.0  (cached)
-> retrieved domain-name.0.4.1  (cached)
-> retrieved duff.0.5  (cached)
-> installed cppo.1.8.0
-> installed domain-name.0.4.1
-> retrieved dune-configurator.3.17.2  (cached)
-> retrieved duration.0.2.1  (cached)
-> retrieved emile.1.1  (cached)
-> retrieved encore.0.8  (cached)
-> retrieved eqaf.0.10  (cached)
-> retrieved ethernet.3.2.0  (cached)
-> retrieved faraday.0.8.2  (cached)
-> retrieved fmt.0.9.0  (cached)
-> retrieved fpath.0.7.3  (cached)
-> installed cmdliner.1.3.0
-> retrieved git.3.17.0, git-mirage.3.17.0, git-paf.3.17.0, git-unix.3.17.0  (cached)
-> installed duration.0.2.1
-> retrieved gmap.0.3.0  (cached)
-> retrieved h2.0.13.0, hpack.0.13.0  (cached)
-> retrieved happy-eyeballs.2.0.0, happy-eyeballs-lwt.2.0.0, happy-eyeballs-mirage.2.0.0  (cached)
-> retrieved httpaf.0.7.1  (cached)
-> installed gmap.0.3.0
-> retrieved httpun-types.0.2.0  (cached)
-> installed eqaf.0.10
-> retrieved hxd.0.3.3  (cached)
-> retrieved ipaddr.5.6.0, ipaddr-cstruct.5.6.0, macaddr.5.6.0, macaddr-cstruct.5.6.0  (cached)
-> retrieved kdf.1.0.0  (cached)
-> retrieved ke.0.6  (cached)
-> retrieved kicadsch.0.9.0, plotkicadsch.0.9.0  (cached)
-> retrieved logs.0.7.0  (cached)
-> retrieved lru.0.3.1  (cached)
-> retrieved lwt.5.9.0  (cached)
-> installed macaddr.5.6.0
-> retrieved lwt-dllist.1.0.1  (cached)
-> retrieved lwt_ppx.5.8.0  (cached)
-> retrieved metrics.0.4.1  (cached)
-> retrieved mimic.0.0.9, mimic-happy-eyeballs.0.0.9  (cached)
-> retrieved mirage-clock.4.2.0, mirage-clock-unix.4.2.0  (cached)
-> installed lwt-dllist.1.0.1
-> installed mirage-clock.4.2.0
-> installed kicadsch.0.9.0
-> installed ipaddr.5.6.0
-> installed digestif.1.2.0
-> retrieved mirage-crypto.1.2.0, mirage-crypto-ec.1.2.0, mirage-crypto-pk.1.2.0, mirage-crypto-rng.1.2.0, mirage-crypto-rng-mirage.1.2.0  (cached)
-> installed dune-configurator.3.17.2
-> retrieved mirage-flow.5.0.0  (cached)
-> retrieved mirage-kv.6.1.1  (cached)
-> retrieved mirage-mtime.5.0.0  (cached)
-> retrieved mirage-net.4.0.0  (cached)
-> retrieved mirage-ptime.5.0.0  (cached)
-> retrieved mirage-runtime.4.8.2  (cached)
-> retrieved mirage-sleep.4.0.0  (cached)
-> retrieved mirage-time.3.0.0  (cached)
-> retrieved mirage-unix.5.0.1  (cached)
-> retrieved mtime.2.1.0  (cached)
-> retrieved ocaml-compiler-libs.v0.12.4  (cached)
-> retrieved ocaml-syntax-shims.1.0.0  (cached)
-> retrieved ocamlbuild.0.15.0  (cached)
-> retrieved ocamlfind.1.9.8  (cached)
-> retrieved ocamlgraph.2.1.0  (cached)
-> retrieved ocplib-endian.1.2  (cached)
-> retrieved ohex.0.2.0  (cached)
-> retrieved optint.0.3.0  (cached)
-> retrieved paf.0.7.0  (cached)
-> retrieved pecu.0.7  (cached)
-> retrieved ppx_derivers.1.2.1  (cached)
-> installed mirage-clock-unix.4.2.0
-> installed bigstringaf.0.10.0
-> installed ohex.0.2.0
-> retrieved ppxlib.0.35.0  (cached)
-> installed ppx_derivers.1.2.1
-> retrieved psq.0.2.1  (cached)
-> retrieved ptime.1.2.0  (cached)
-> retrieved randomconv.0.2.0  (cached)
-> installed optint.0.3.0
-> installed faraday.0.8.2
-> retrieved re.1.12.0  (cached)
-> retrieved result.1.5  (cached)
-> retrieved rresult.0.7.0  (cached)
-> retrieved seq.base  (cached)
-> installed seq.base
-> installed pecu.0.7
-> installed randomconv.0.2.0
-> installed result.1.5
-> installed ocaml-compiler-libs.v0.12.4
-> installed ocaml-syntax-shims.1.0.0
-> retrieved sexplib0.v0.17.0  (cached)
-> retrieved sha.1.15.4  (cached)
-> retrieved stdlib-shims.0.3.0  (cached)
-> retrieved stringext.1.6.0  (cached)
-> retrieved tcpip.9.0.0  (cached)
-> installed httpun-types.0.2.0
-> retrieved tls.2.0.0, tls-mirage.2.0.0  (cached)
-> installed psq.0.2.1
-> retrieved topkg.1.0.7  (cached)
-> retrieved tyxml.4.6.0  (cached)
-> installed stringext.1.6.0
-> retrieved uri.4.4.0  (cached)
-> retrieved uutf.1.0.3  (cached)
-> installed stdlib-shims.0.3.0
-> retrieved x509.1.0.5  (cached)
-> retrieved zarith.1.14  (cached)
-> installed lru.0.3.1
-> installed angstrom.0.16.1
-> installed checkseum.0.5.2
-> installed sexplib0.v0.17.0
-> installed re.1.12.0
-> installed httpaf.0.7.1
-> installed hpack.0.13.0
-> installed sha.1.15.4
-> installed mirage-crypto.1.2.0
-> installed kdf.1.0.0
-> installed decompress.1.5.3
-> installed ocamlfind.1.9.8
-> installed base-bytes.base
-> installed uri.4.4.0
-> installed ocamlgraph.2.1.0
-> installed h2.0.13.0
-> installed ocplib-endian.1.2
-> installed ocamlbuild.0.15.0
-> installed zarith.1.14
-> installed lwt.5.9.0
-> installed mirage-time.3.0.0
-> installed mirage-sleep.4.0.0
-> installed hxd.0.3.3
-> installed topkg.1.0.7
-> installed rresult.0.7.0
-> installed uutf.1.0.3
-> installed mtime.2.1.0
-> installed fmt.0.9.0
-> installed ptime.1.2.0
-> installed astring.0.8.5
-> installed mirage-mtime.5.0.0
-> installed ke.0.6
-> installed duff.0.5
-> installed mirage-kv.6.1.1
-> installed emile.1.1
-> installed encore.0.8
-> installed mirage-ptime.5.0.0
-> installed metrics.0.4.1
-> installed cstruct.6.2.0
-> installed asn1-combinators.0.3.2
-> installed cstruct-lwt.6.2.0
-> installed ipaddr-cstruct.5.6.0
-> installed cstruct-unix.6.2.0
-> installed macaddr-cstruct.5.6.0
-> installed mirage-flow.5.0.0
-> installed mirage-net.4.0.0
-> installed fpath.0.7.3
-> installed logs.0.7.0
-> installed ethernet.3.2.0
-> installed happy-eyeballs.2.0.0
-> installed mimic.0.0.9
-> installed mirage-runtime.4.8.2
-> installed arp.4.0.0
-> installed mirage-crypto-rng.1.2.0
-> installed mirage-unix.5.0.1
-> installed mirage-crypto-rng-mirage.1.2.0
-> installed mirage-crypto-pk.1.2.0
-> installed dns.9.1.0
-> installed tyxml.4.6.0
-> installed tcpip.9.0.0
-> installed happy-eyeballs-lwt.2.0.0
-> installed dns-client.9.1.0
-> installed happy-eyeballs-mirage.2.0.0
-> installed bos.0.2.1
-> installed ppxlib.0.35.0
-> installed carton.0.7.2
-> installed carton-lwt.0.7.2
-> installed carton-git.0.7.2
-> installed lwt_ppx.5.8.0
-> installed mirage-crypto-ec.1.2.0
-> installed git.3.17.0
-> installed x509.1.0.5
-> installed ca-certs-nss.3.108
-> installed awa.0.4.0
-> installed tls.2.0.0
-> installed awa-mirage.0.4.0
-> installed tls-mirage.2.0.0
-> installed dns-client-mirage.9.1.0
-> installed paf.0.7.0
-> installed mimic-happy-eyeballs.0.0.9
-> installed git-paf.3.17.0
-> installed git-mirage.3.17.0
-> installed git-unix.3.17.0
-> installed plotkicadsch.0.9.0
Done.
# To update the current shell environment, run: eval $(opam env)
2025-02-24 09:15.12 ---> saved as "58a7cc68ddc91fe0fe9ec9fa043f0502a70c5a1d8b99ad7d921e563f0cb7acfb"

/home/opam: (run (network host)
                 (shell "(opam reinstall --with-test plotkicadsch.0.9.0) || true"))
The following actions will be performed:
=== recompile 1 package
  - recompile plotkicadsch 0.9.0

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved plotkicadsch.0.9.0  (https://github.com/jnavila/plotkicadsch/releases/download/v0.9.0/plotkicadsch-0.9.0.tbz)
-> removed   plotkicadsch.0.9.0
-> installed plotkicadsch.0.9.0
Done.
# To update the current shell environment, run: eval $(opam env)
2025-02-24 09:15.45 ---> saved as "c50f9fee520db507104e6dead6e09aa001bd60c2e5aeae41da463aa539342b1c"

/home/opam: (run (shell  "opam reinstall --with-test --verbose plotkicadsch.0.9.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-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\" != 'plotkicadsch.0.9.0' && 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 plotkicadsch 0.9.0

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
Processing  1/4: [plotkicadsch.0.9.0: extract]
-> retrieved plotkicadsch.0.9.0  (cached)
Processing  2/4: [plotkicadsch: dune build]
+ /home/opam/.opam/opam-init/hooks/sandbox.sh "build" "dune" "build" "-p" "plotkicadsch" "-j" "71" (CWD=/home/opam/.opam/4.14/.opam-switch/build/plotkicadsch.0.9.0)
-> compiled  plotkicadsch.0.9.0
-> removed   plotkicadsch.0.9.0
-> installed plotkicadsch.0.9.0
Done.
# To update the current shell environment, run: eval $(opam env)
2025-02-24 09:16.20 ---> saved as "bdb03fa38764cc1811c505c66e63aeb344e62a274b2ed8641556f49cffdfbf8b"
Job succeeded
2025-02-24 09:16.29: Job succeeded