(for PR #28914)

2025-11-19 09:07.07: New job: build gappa.1.6.0, using opam dev
                              from https://github.com/ocaml/opam-repository.git#refs/pull/28914/head (5fed620a1849ce5ff9045f807164c53a1c1ba76c)
                              on debian-testing-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/28914/head" && git reset --hard 5fed620a
git fetch origin master
git merge --no-edit 24dbb725dce5c26764f028224175df3cfbe7dafd
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM ocaml/opam:debian-testing-ocaml-5.4@sha256:10b907af169c9e97e0fed60c72b8482d9882ff2412c6cb05bd66f604037c338f
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 gappa.1.6.0 1.6.0
RUN opam reinstall gappa.1.6.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-testing\""; then \
    echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
    fi; \
    test "$pkg" != 'gappa.1.6.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-11-19 09:07.07: Using cache hint "ocaml/opam:debian-testing-ocaml-5.4@sha256:10b907af169c9e97e0fed60c72b8482d9882ff2412c6cb05bd66f604037c338f-gappa.1.6.0-5fed620a1849ce5ff9045f807164c53a1c1ba76c"
2025-11-19 09:07.07: Using OBuilder spec:
((from ocaml/opam:debian-testing-ocaml-5.4@sha256:10b907af169c9e97e0fed60c72b8482d9882ff2412c6cb05bd66f604037c338f)
 (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 gappa.1.6.0 1.6.0"))
 (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
      (network host)
      (shell  "opam reinstall gappa.1.6.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-testing\\\"\"; then\
             \n            echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
             \n          fi;\
             \n          test \"$pkg\" != 'gappa.1.6.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-11-19 09:07.07: Waiting for resource in pool OCluster
2025-11-19 09:07.08: Waiting for worker…
2025-11-19 09:07.09: Got resource from pool OCluster
Building on laodoke.caelum.ci.dev
All commits already cached
HEAD is now at 24dbb725dc Merge pull request #28918 from dra27/msys2-lablgtk3
Updating 24dbb725dc..5fed620a18
Fast-forward
 packages/gappa/gappa.1.6.0/opam | 54 +++++++++++++++++++++++++++++++++++++++++
 1 file changed, 54 insertions(+)
 create mode 100644 packages/gappa/gappa.1.6.0/opam

(from ocaml/opam:debian-testing-ocaml-5.4@sha256:10b907af169c9e97e0fed60c72b8482d9882ff2412c6cb05bd66f604037c338f)
2025-11-19 09:08.10 ---> saved as "81b34b48eeda8c1f93a51b284f8697baa846fc1130dce0ac828264d17f9c1bfb"

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

/: (workdir /home/opam)

/home/opam: (run (shell "sudo ln -f /usr/bin/opam-dev /usr/bin/opam"))
2025-11-19 09:08.11 ---> saved as "4c40d544c2ef172aade645f795b149e29109c0002669a1c30fcb5a91d6405456"

/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 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-11-19 09:08.38 ---> saved as "7dd68a13a416892841999003e4c2681a76f2f864c946e95daec0f9da15f681a7"

/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.5.0~beta1
# self-upgrade         no
# system               arch=x86_64 os=linux os-distribution=debian os-version=unknown
# 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.4
# invariant            ["ocaml-base-compiler" {>= "5.4.0"}]
# compiler-packages    ocaml-base-compiler.5.4.0, ocaml-compiler.5.4.0, ocaml-options-vanilla.1
# ocaml:native         true
# ocaml:native-tools   true
# ocaml:native-dynlink true
# ocaml:stubsdir       /home/opam/.opam/5.4/lib/ocaml/stublibs:/home/opam/.opam/5.4/lib/ocaml
# ocaml:preinstalled   false
# ocaml:compiler       5.4.0
2025-11-19 09:08.39 ---> saved as "2f8592591a7d6ea1f755f103aa42cc1c422dd572d61db6eb3516344ddcc08413"

/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-11-19 09:08.47 ---> saved as "41e73ccc9109807f968b9642d721bc3430311e4fc0f1d0c5ec8b80abe31fbfdc"

/home/opam: (copy (src .) (dst opam-repository/))
2025-11-19 09:08.56 ---> saved as "2c21f5571a229c5a0d0d1125dc5428ab3719c36c6bd3e32232e4b913cda78e54"

/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2025-11-19 09:09.16 ---> saved as "5ccd9a9f167f9a12ca0f9c12f6c2bfee9cb343db7a2e34fcc6f94803b6a5cd07"

/home/opam: (run (network host)
                 (shell "opam update --depexts || true"))
+ /usr/bin/sudo "apt-get" "update"
- Get:1 http://deb.debian.org/debian testing InRelease [148 kB]
- Get:2 http://deb.debian.org/debian testing-updates InRelease [45.1 kB]
- Get:3 http://deb.debian.org/debian-security testing-security InRelease [43.4 kB]
- Get:4 http://deb.debian.org/debian testing/main amd64 Packages.diff/Index [63.6 kB]
- Get:5 http://deb.debian.org/debian testing/main amd64 Packages T-2025-11-19-0804.03-F-2025-11-15-1404.07.pdiff [161 kB]
- Get:5 http://deb.debian.org/debian testing/main amd64 Packages T-2025-11-19-0804.03-F-2025-11-15-1404.07.pdiff [161 kB]
- Fetched 461 kB in 3s (174 kB/s)
- Reading package lists...
- 
2025-11-19 09:09.21 ---> saved as "f60a8cf8c0db9661d251e6e6d7afe7eee2d25a786934e9be229a34f77613c310"

/home/opam: (run (shell "opam pin add -k version -yn gappa.1.6.0 1.6.0"))
gappa is now pinned to version 1.6.0
2025-11-19 09:09.22 ---> saved as "5833eee022c7d50b510d4af251556d1299ab5fdcf23d93fcb9c28cd0ebf15994"

/home/opam: (run (cache (opam-archives (target /home/opam/.opam/download-cache)))
                 (network host)
                 (shell  "opam reinstall gappa.1.6.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-testing\\\"\"; then\
                        \n            echo \"A package failed and has been disabled for CI using the 'x-ci-accept-failures' field.\";\
                        \n          fi;\
                        \n          test \"$pkg\" != 'gappa.1.6.0' && partial_fails=\"$partial_fails $pkg\";\
                        \n        done;\
                        \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
                        \n        exit 1"))
gappa.1.6.0 is not installed. Install it? [Y/n] y
The following actions will be performed:
=== install 10 packages
  - install conf-autoconf   0.2            [required by gappa]
  - install conf-automake   1              [required by gappa]
  - install conf-bison      2              [required by gappa]
  - install conf-boost      1              [required by gappa]
  - install conf-flex       2              [required by gappa]
  - install conf-g++        1.0            [required by gappa]
  - install conf-gmp        5              [required by gappa]
  - install conf-mpfr       3              [required by gappa]
  - install conf-pkg-config 4              [required by conf-mpfr]
  - install gappa           1.6.0 (pinned)

The following system packages will first need to be installed:
    autoconf automake bison flex libboost-dev libgmp-dev libmpfr-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" "autoconf" "automake" "bison" "flex" "libboost-dev" "libgmp-dev" "libmpfr-dev" "pkg-config"
- Selecting previously unselected package m4.
- (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 ... 20800 files and directories currently installed.)
- Preparing to unpack .../00-m4_1.4.20-2_amd64.deb ...
- Unpacking m4 (1.4.20-2) ...
- Selecting previously unselected package flex.
- Preparing to unpack .../01-flex_2.6.4-8.2+b4_amd64.deb ...
- Unpacking flex (2.6.4-8.2+b4) ...
- Selecting previously unselected package autoconf.
- Preparing to unpack .../02-autoconf_2.72-3.1_all.deb ...
- Unpacking autoconf (2.72-3.1) ...
- Selecting previously unselected package autotools-dev.
- Preparing to unpack .../03-autotools-dev_20240727.1_all.deb ...
- Unpacking autotools-dev (20240727.1) ...
- Selecting previously unselected package automake.
- Preparing to unpack .../04-automake_1%3a1.18.1-2_all.deb ...
- Unpacking automake (1:1.18.1-2) ...
- Selecting previously unselected package bison.
- Preparing to unpack .../05-bison_2%3a3.8.2+dfsg-1+b2_amd64.deb ...
- Unpacking bison (2:3.8.2+dfsg-1+b2) ...
- Selecting previously unselected package gcc-14-base:amd64.
- Preparing to unpack .../06-gcc-14-base_14.3.0-10_amd64.deb ...
- Unpacking gcc-14-base:amd64 (14.3.0-10) ...
- Selecting previously unselected package libgcc-14-dev:amd64.
- Preparing to unpack .../07-libgcc-14-dev_14.3.0-10_amd64.deb ...
- Unpacking libgcc-14-dev:amd64 (14.3.0-10) ...
- Selecting previously unselected package libstdc++-14-dev:amd64.
- Preparing to unpack .../08-libstdc++-14-dev_14.3.0-10_amd64.deb ...
- Unpacking libstdc++-14-dev:amd64 (14.3.0-10) ...
- Selecting previously unselected package libboost1.83-dev:amd64.
- Preparing to unpack .../09-libboost1.83-dev_1.83.0-5_amd64.deb ...
- Unpacking libboost1.83-dev:amd64 (1.83.0-5) ...
- Selecting previously unselected package libboost-dev:amd64.
- Preparing to unpack .../10-libboost-dev_1.83.0.2+b2_amd64.deb ...
- Unpacking libboost-dev:amd64 (1.83.0.2+b2) ...
- Selecting previously unselected package libfl2:amd64.
- Preparing to unpack .../11-libfl2_2.6.4-8.2+b4_amd64.deb ...
- Unpacking libfl2:amd64 (2.6.4-8.2+b4) ...
- Selecting previously unselected package libfl-dev:amd64.
- Preparing to unpack .../12-libfl-dev_2.6.4-8.2+b4_amd64.deb ...
- Unpacking libfl-dev:amd64 (2.6.4-8.2+b4) ...
- Selecting previously unselected package libgmpxx4ldbl:amd64.
- Preparing to unpack .../13-libgmpxx4ldbl_2%3a6.3.0+dfsg-5_amd64.deb ...
- Unpacking libgmpxx4ldbl:amd64 (2:6.3.0+dfsg-5) ...
- Selecting previously unselected package libgmp-dev:amd64.
- Preparing to unpack .../14-libgmp-dev_2%3a6.3.0+dfsg-5_amd64.deb ...
- Unpacking libgmp-dev:amd64 (2:6.3.0+dfsg-5) ...
- Selecting previously unselected package libmpfr-dev:amd64.
- Preparing to unpack .../15-libmpfr-dev_4.2.2-2_amd64.deb ...
- Unpacking libmpfr-dev:amd64 (4.2.2-2) ...
- Selecting previously unselected package libpkgconf3:amd64.
- Preparing to unpack .../16-libpkgconf3_1.8.1-4_amd64.deb ...
- Unpacking libpkgconf3:amd64 (1.8.1-4) ...
- Selecting previously unselected package pkgconf-bin.
- Preparing to unpack .../17-pkgconf-bin_1.8.1-4_amd64.deb ...
- Unpacking pkgconf-bin (1.8.1-4) ...
- Selecting previously unselected package pkgconf:amd64.
- Preparing to unpack .../18-pkgconf_1.8.1-4_amd64.deb ...
- Unpacking pkgconf:amd64 (1.8.1-4) ...
- Selecting previously unselected package pkg-config:amd64.
- Preparing to unpack .../19-pkg-config_1.8.1-4_amd64.deb ...
- Unpacking pkg-config:amd64 (1.8.1-4) ...
- Setting up gcc-14-base:amd64 (14.3.0-10) ...
- Setting up m4 (1.4.20-2) ...
- Setting up autotools-dev (20240727.1) ...
- Setting up libpkgconf3:amd64 (1.8.1-4) ...
- Setting up libgmpxx4ldbl:amd64 (2:6.3.0+dfsg-5) ...
- Setting up libfl2:amd64 (2.6.4-8.2+b4) ...
- Setting up pkgconf-bin (1.8.1-4) ...
- Setting up autoconf (2.72-3.1) ...
- Setting up bison (2:3.8.2+dfsg-1+b2) ...
- update-alternatives: using /usr/bin/bison.yacc to provide /usr/bin/yacc (yacc) in auto mode
- Setting up libgcc-14-dev:amd64 (14.3.0-10) ...
- Setting up libstdc++-14-dev:amd64 (14.3.0-10) ...
- Setting up automake (1:1.18.1-2) ...
- update-alternatives: using /usr/bin/automake-1.18 to provide /usr/bin/automake (automake) in auto mode
- Setting up flex (2.6.4-8.2+b4) ...
- Setting up libboost1.83-dev:amd64 (1.83.0-5) ...
- Setting up libgmp-dev:amd64 (2:6.3.0+dfsg-5) ...
- Setting up libmpfr-dev:amd64 (4.2.2-2) ...
- Setting up libfl-dev:amd64 (2.6.4-8.2+b4) ...
- Setting up pkgconf:amd64 (1.8.1-4) ...
- Setting up pkg-config:amd64 (1.8.1-4) ...
- Setting up libboost-dev:amd64 (1.83.0.2+b2) ...
- Processing triggers for libc-bin (2.41-12) ...

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> retrieved conf-gmp.5  (cached)
-> retrieved conf-mpfr.3  (cached)
-> installed conf-boost.1
-> retrieved gappa.1.6.0  (cached)
-> installed conf-autoconf.0.2
-> installed conf-bison.2
-> installed conf-flex.2
-> installed conf-g++.1.0
-> installed conf-gmp.5
-> installed conf-pkg-config.4
-> installed conf-mpfr.3
-> installed conf-automake.1
-> installed gappa.1.6.0
Done.
# To update the current shell environment, run: eval $(opam env)
2025-11-19 09:09.53 ---> saved as "aeafa073f62d9f2535a215155e4415285710d069617a10b75e4ccba9d8e03c32"
Job succeeded
2025-11-19 09:10.00: Job succeeded