(not at the head of any monitored branch or PR)
2023-11-15 09:48.33: New job: build gappa.1.4.1, using opam dev
                              from https://github.com/ocaml/opam-repository.git#refs/pull/24793/head (fc06a8266f414fa22f4c5524e1e4d546a2a8cfdf)
                              on freebsd-ocaml-5.1/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/24793/head" && git reset --hard fc06a826
git fetch origin master
git merge --no-edit b3a493e6263585aa1b4c3e41b1d76c671777993e
cat > ../Dockerfile <<'END-OF-DOCKERFILE'
FROM freebsd-ocaml-5.1
USER 1000:1000
WORKDIR /usr/home/opam
RUN sudo ln -f /usr/local/bin/opam-dev /usr/local/bin/opam
RUN opam init --reinit -ni
ENV OPAMDOWNLOADJOBS="1"
ENV OPAMERRLOGLEN="0"
ENV OPAMSOLVERTIMEOUT="500"
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
ENV OPAMCRITERIA="-removed,-count[avoid-version,changed],-count[version-lag,request],-count[version-lag,changed],-count[missing-depexts,changed],-changed"
ENV OPAMFIXUPCRITERIA="-removed,-count[avoid-version,changed],-count[version-lag,request],-count[version-lag,changed],-count[missing-depexts,changed],-changed"
ENV OPAMUPGRADECRITERIA="-removed,-count[avoid-version,changed],-count[version-lag,request],-count[version-lag,changed],-count[missing-depexts,changed],-changed"
RUN opam pin add -k version -yn gappa.1.4.1 1.4.1
RUN opam reinstall gappa.1.4.1; \
    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 "\"freebsd\""; then \
    echo "A package failed and has been disabled for CI using the 'x-ci-accept-failures' field."; \
    fi; \
    test "$pkg" != 'gappa.1.4.1' && 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 .

2023-11-15 09:48.33: Using cache hint "freebsd-ocaml-5.1-gappa.1.4.1-fc06a8266f414fa22f4c5524e1e4d546a2a8cfdf"
2023-11-15 09:48.33: Using OBuilder spec:
((from freebsd-ocaml-5.1)
 (user (uid 1000) (gid 1000))
 (workdir /usr/home/opam)
 (run (shell "sudo ln -f /usr/local/bin/opam-dev /usr/local/bin/opam"))
 (run (network host)
      (shell "opam init --reinit -ni"))
 (env OPAMDOWNLOADJOBS 1)
 (env OPAMERRLOGLEN 0)
 (env OPAMSOLVERTIMEOUT 500)
 (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"))
 (env OPAMCRITERIA -removed,-count[avoid-version,changed],-count[version-lag,request],-count[version-lag,changed],-count[missing-depexts,changed],-changed)
 (env OPAMFIXUPCRITERIA -removed,-count[avoid-version,changed],-count[version-lag,request],-count[version-lag,changed],-count[missing-depexts,changed],-changed)
 (env OPAMUPGRADECRITERIA -removed,-count[avoid-version,changed],-count[version-lag,request],-count[version-lag,changed],-count[missing-depexts,changed],-changed)
 (run (shell "opam pin add -k version -yn gappa.1.4.1 1.4.1"))
 (run (cache (opam-archives (target /usr/home/opam/.opam/download-cache)))
      (network host)
      (shell  "opam reinstall gappa.1.4.1;\
             \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 \"\\\"freebsd\\\"\"; 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.4.1' && partial_fails=\"$partial_fails $pkg\";\
             \n        done;\
             \n        test \"${partial_fails}\" != \"\" && echo \"opam-repo-ci detected dependencies failing: ${partial_fails}\";\
             \n        exit 1"))
)

2023-11-15 09:48.33: Waiting for resource in pool OCluster
2023-11-15 09:48.43: Waiting for worker…
2023-11-15 09:48.43: Got resource from pool OCluster
Building on summer
Updating files: 100% (32169/32169), done.
HEAD is now at 7daa136d83 [new release] riot (0.0.2)
HEAD is now at b3a493e626 Merge pull request #24780 from mseri/lablgtk
Merge made by the 'ort' strategy.
 .../files/0001-Added-configure-for-c-11.patch      | 983 ---------------------
 packages/gappa/gappa.1.4.1/opam                    |   3 -
 2 files changed, 986 deletions(-)
 delete mode 100644 packages/gappa/gappa.1.4.1/files/0001-Added-configure-for-c-11.patch

(from freebsd-ocaml-5.1)
2023-11-15 09:46.29 ---> using "813c71762ba09cfa8cfe3f05f009bdd39b1b347128fefd2e95099f87d236c989" from cache

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

/: (workdir /usr/home/opam)

/usr/home/opam: (run (shell "sudo ln -f /usr/local/bin/opam-dev /usr/local/bin/opam"))
2023-11-15 09:46.30 ---> using "1e03fa42c0d886977d50c04e71e5b20dae86a906792151241ebb76c4df6a063f" from cache

/usr/home/opam: (run (network host)
                     (shell "opam init --reinit -ni"))
No configuration file found, using 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 /usr/home/opam/.opam from version 2.1 to version 2.2~alpha, 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] no changes from git+file:///usr/home/opam/opam-repository
2023-11-15 09:46.30 ---> using "1390936a4c071113e4b4340f6b1b61661b61cbb726fd360d447553562130961a" from cache

/usr/home/opam: (env OPAMDOWNLOADJOBS 1)

/usr/home/opam: (env OPAMERRLOGLEN 0)

/usr/home/opam: (env OPAMSOLVERTIMEOUT 500)

/usr/home/opam: (env OPAMPRECISETRACKING 1)

/usr/home/opam: (env CI true)

/usr/home/opam: (env OPAM_REPO_CI true)

/usr/home/opam: (run (shell "rm -rf opam-repository/"))
2023-11-15 09:46.30 ---> using "a6ba2609d034cc107a5a5133840bee72ddb1aa0e032eb13012f5b40d1c2a27e2" from cache

/usr/home/opam: (copy (src .) (dst opam-repository/))
2023-11-15 09:46.46 ---> saved as "6310cebd41f8bb68fc61ffbebfa68523d5bf450dcef5c0ab0e00f28a78a194b0"

/usr/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2023-11-15 09:47.11 ---> saved as "7dc29c5c0c9e596f6b81a885656d04b90afc6366f8eb2140ca5e501424622c65"

/usr/home/opam: (run (network host)
                     (shell "opam update --depexts || true"))
[WARNING] Unknown update command for bsd, skipping system update
2023-11-15 09:47.11 ---> saved as "c32250262510e59900abf962f2f0305faf612aced507208174414f29f8766868"

/usr/home/opam: (env OPAMCRITERIA -removed,-count[avoid-version,changed],-count[version-lag,request],-count[version-lag,changed],-count[missing-depexts,changed],-changed)

/usr/home/opam: (env OPAMFIXUPCRITERIA -removed,-count[avoid-version,changed],-count[version-lag,request],-count[version-lag,changed],-count[missing-depexts,changed],-changed)

/usr/home/opam: (env OPAMUPGRADECRITERIA -removed,-count[avoid-version,changed],-count[version-lag,request],-count[version-lag,changed],-count[missing-depexts,changed],-changed)

/usr/home/opam: (run (shell "opam pin add -k version -yn gappa.1.4.1 1.4.1"))
gappa is now pinned to version 1.4.1
2023-11-15 09:47.12 ---> saved as "9149c79653db3de5df0af49c67bd899f5297f92c5d44a118928b16ebe1eda539"

/usr/home/opam: (run (cache (opam-archives (target /usr/home/opam/.opam/download-cache)))
                     (network host)
                     (shell  "opam reinstall gappa.1.4.1;\
                            \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 \"\\\"freebsd\\\"\"; 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.4.1' && 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.4.1 is not installed. Install it? [y/n] y
Constructing initial basis...
Number of 0-1 knapsack inequalities = 29
Constructing conflict graph...
Conflict graph has 17 + 9 = 26 vertices
The following actions will be performed:
=== install 11 packages
  ∗ conf-autoconf   0.1            [required by gappa]
  ∗ conf-automake   1              [required by gappa]
  ∗ conf-bison      2              [required by gappa]
  ∗ conf-boost      1              [required by gappa]
  ∗ conf-flex       2              [required by gappa]
  ∗ conf-g++        1.0            [required by gappa]
  ∗ conf-gmp        4              [required by gappa]
  ∗ conf-mpfr       3              [required by gappa]
  ∗ conf-pkg-config 3              [required by conf-mpfr]
  ∗ conf-which      1              [required by conf-autoconf]
  ∗ gappa           1.4.1 (pinned)

The following system packages will first need to be installed:
    autoconf boost-all devel/automake devel/bison gcc gmp mpfr textproc/flex

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

opam believes some required external dependencies are missing. opam can:
> 1. Run pkg to install them (may need root/sudo access)
  2. Display the recommended pkg 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/local/bin/sudo "pkg" "install" "-y" "autoconf" "boost-all" "devel/automake" "devel/bison" "gcc" "gmp" "mpfr" "textproc/flex"
- Updating FreeBSD repository catalogue...
- [summer] Fetching packagesite.pkg: ..
- ......
- .. done
- Processing entries: 
- ..
- ..
- ..
- ..
- .
- . done
- FreeBSD repository update completed. 34073 packages processed.
- All repositories are up to date.
- The following 18 package(s) will be affected (of 0 checked):
- 
- New packages to be INSTALLED:
- 	autoconf: 2.71
- 	autoconf-switch: 20220527
- 	automake: 1.16.5
- 	binutils: 2.40_4,1
- 	bison: 3.8.2,1
- 	boost-all: 1.83.0
- 	boost-docs: 1.83.0
- 	boost-jam: 1.83.0
- 	boost-libs: 1.83.0
- 	flex: 2.6.4_2
- 	gcc: 12_5
- 	gcc12: 12.2.0_6
- 	gmp: 6.3.0
- 	icu: 73.2,1
- 	libtextstyle: 0.22
- 	m4: 1.4.19,1
- 	mpc: 1.3.1_1
- 	mpfr: 4.2.1,1
- 
- Number of packages to be installed: 18
- 
- The process will require 1 GiB more space.
- 176 MiB to be downloaded.
- [summer] [1/18] Fetching gcc12-12.2.0_6.pkg: 
- .
- .
- .
- ..
- .
- .
- .
- .
- . done
- [summer] [2/18] Fetching icu-73.2,1.pkg: 
- ........
- .. done
- [summer] [3/18] Fetching m4-1.4.19,1.pkg: .......... done
- [summer] [4/18] Fetching automake-1.16.5.pkg: ....... done
- [summer] [5/18] Fetching mpc-1.3.1_1.pkg: ......... done
- [summer] [6/18] Fetching gcc-12_5.pkg: . done
- [summer] [7/18] Fetching boost-all-1.83.0.pkg: .. done
- [summer] [8/18] Fetching boost-libs-1.83.0.pkg: 
- ...
- ....
- ... done
- [summer] [9/18] Fetching flex-2.6.4_2.pkg: .......... done
- [summer] [10/18] Fetching boost-jam-1.83.0.pkg: .......... done
- [summer] [11/18] Fetching boost-docs-1.83.0.pkg: 
- .
- .
- .
- .
- .
- .
- .
- .
- .
- . done
- [summer] [12/18] Fetching libtextstyle-0.22.pkg: .......... done
- [summer] [13/18] Fetching gmp-6.3.0.pkg: ........ done
- [summer] [14/18] Fetching mpfr-4.2.1,1.pkg: .......... done
- [summer] [15/18] Fetching binutils-2.40_4,1.pkg: ..
- ......
- .. done
- [summer] [16/18] Fetching bison-3.8.2,1.pkg: .......... done
- [summer] [17/18] Fetching autoconf-switch-20220527.pkg: .. done
- [summer] [18/18] Fetching autoconf-2.71.pkg: .......... done
- Checking integrity...
-  done (0 conflicting)
- [summer] [1/18] Installing gmp-6.3.0...
- [summer] [1/18] Extracting gmp-6.3.0: .......... done
- [summer] [2/18] Installing mpfr-4.2.1,1...
- [summer] [2/18] Extracting mpfr-4.2.1,1: .......... done
- [summer] [3/18] Installing icu-73.2,1...
- [summer] [3/18] Extracting icu-73.2,1: .........
- . done
- [summer] [4/18] Installing m4-1.4.19,1...
- [summer] [4/18] Extracting m4-1.4.19,1: .......... done
- [summer] [5/18] Installing mpc-1.3.1_1...
- [summer] [5/18] Extracting mpc-1.3.1_1: ......... done
- [summer] [6/18] Installing binutils-2.40_4,1...
- [summer] [6/18] Extracting binutils-2.40_4,1: 
- ....
- ...... done
- [summer] [7/18] Installing autoconf-switch-20220527...
- [summer] [7/18] Extracting autoconf-switch-20220527: .......... done
- [summer] [8/18] Installing gcc12-12.2.0_6...
- [summer] [8/18] Extracting gcc12-12.2.0_6: 
- .....
- ....
- . done
- [summer] [9/18] Installing boost-libs-1.83.0...
- [summer] [9/18] Extracting boost-libs-1.83.0: ...
- ....
- ..
- . done
- [summer] [10/18] Installing boost-jam-1.83.0...
- [summer] [10/18] Extracting boost-jam-1.83.0: .... done
- [summer] [11/18] Installing boost-docs-1.83.0...
- [summer] [11/18] Extracting boost-docs-1.83.0: 
- .
- ..
- .
- .
- .
- .
- .
- .. done
- [summer] [12/18] Installing libtextstyle-0.22...
- [summer] [12/18] Extracting libtextstyle-0.22: .......... done
- [summer] [13/18] Installing autoconf-2.71...
- [summer] [13/18] Extracting autoconf-2.71: .......... done
- [summer] [14/18] Installing automake-1.16.5...
- [summer] [14/18] Extracting automake-1.16.5: .......... done
- [summer] [15/18] Installing gcc-12_5...
- [summer] [15/18] Extracting gcc-12_5: ... done
- [summer] [16/18] Installing boost-all-1.83.0...
- [summer] [16/18] Extracting boost-all-1.83.0: ... done
- [summer] [17/18] Installing flex-2.6.4_2...
- [summer] [17/18] Extracting flex-2.6.4_2: .......... done
- [summer] [18/18] Installing bison-3.8.2,1...
- [summer] [18/18] Extracting bison-3.8.2,1: .......... done
- =====
- Message from gcc12-12.2.0_6:
- 
- --
- To ensure binaries built with this toolchain find appropriate versions
- of the necessary run-time libraries, you may want to link using
- 
-   -Wl,-rpath=/usr/local/lib/gcc12
- 
- For ports leveraging USE_GCC, USES=compiler, or USES=fortran this happens
- transparently.
- =====
- Message from boost-libs-1.83.0:
- 
- --
- You have built the Boost library with thread support.
- 
- Don't forget to add -pthread to your linker options when
- linking your code.

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
∗ installed conf-boost.1
∗ installed conf-which.1
∗ installed conf-pkg-config.3
∗ installed conf-autoconf.0.1
∗ installed conf-g++.1.0
∗ installed conf-flex.2
∗ installed conf-bison.2
∗ installed conf-automake.1
∗ installed conf-gmp.4
∗ installed conf-mpfr.3
⬇ retrieved gappa.1.4.1  (https://gitlab.inria.fr/gappa/gappa/-/archive/gappa-1.4.1.tar.gz)

#=== ERROR while compiling gappa.1.4.1 ========================================#
Sys_error("/usr/home/opam/.opam/repo/default/packages/gappa/gappa.1.4.1/files/0001-Added-configure-for-c-11.patch: No such file or directory")


<><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
┌─ The following actions failed
│ λ build gappa 1.4.1
└─ 
┌─ The following changes have been performed
│ ∗ install conf-autoconf   0.1
│ ∗ install conf-automake   1
│ ∗ install conf-bison      2
│ ∗ install conf-boost      1
│ ∗ install conf-flex       2
│ ∗ install conf-g++        1.0
│ ∗ install conf-gmp        4
│ ∗ install conf-mpfr       3
│ ∗ install conf-pkg-config 3
│ ∗ install conf-which      1
└─ 

The former state can be restored with:
    /usr/local/bin/opam switch import "/usr/home/opam/.opam/5.1.0/.opam-switch/backup/state-20231115094713.export"
[WARNING] OPAMCONFIRMLEVEL was ignored because CLI 2.0 was requested and it was introduced in 2.1.
[WARNING] OPAMCONFIRMLEVEL was ignored because CLI 2.0 was requested and it was introduced in 2.1.
jail: /usr/bin/su -l opam -c cd '/usr/home/opam' && env OPAMUPGRADECRITERIA='-removed,-count[avoid-version,changed],-count[version-lag,request],-count[version-lag,changed],-count[missing-depexts,changed],-changed' OPAMFIXUPCRITERIA='-removed,-count[avoid-version,changed],-count[version-lag,request],-count[version-lag,changed],-count[missing-depexts,changed],-changed' OPAMCRITERIA='-removed,-count[avoid-version,changed],-count[version-lag,request],-count[version-lag,changed],-count[missing-depexts,changed],-changed' OPAM_REPO_CI='true' CI='true' OPAMPRECISETRACKING='1' OPAMSOLVERTIMEOUT='500' OPAMERRLOGLEN='0' OPAMDOWNLOADJOBS='1' '/usr/bin/env' 'bash' '-c' 'opam reinstall gappa.1.4.1;
        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 "\"freebsd\""; then
            echo "A package failed and has been disabled for CI using the '\''x-ci-accept-failures'\'' field.";
          fi;
          test "$pkg" != '\''gappa.1.4.1'\'' && partial_fails="$partial_fails $pkg";
        done;
        test "${partial_fails}" != "" && echo "opam-repo-ci detected dependencies failing: ${partial_fails}";
        exit 1': failed
"jail" "-c" "name=obuilder_42076_2094" "mount.fstab=/tmp/obuilder-jail-4afcaf/fstab" "mount.devfs" "path=/obuilder/result/28993a2306af27add5f6fa7355cddb44c7466e1ac5daa84df3f5fcb02f3094fb/rootfs" "host=inherit" "ip6=inherit" "ip4=inherit" "command=/usr/bin/su" "-l" "opam" "-c" "cd '/usr/home/opam' && env OPAMUPGRADECRITERIA='-removed,-count[avoid-version,changed],-count[version-lag,request],-count[version-lag,changed],-count[missing-depexts,changed],-changed' OPAMFIXUPCRITERIA='-removed,-count[avoid-version,changed],-count[version-lag,request],-count[version-lag,changed],-count[missing-depexts,changed],-changed' OPAMCRITERIA='-removed,-count[avoid-version,changed],-count[version-lag,request],-count[version-lag,changed],-count[missing-depexts,changed],-changed' OPAM_REPO_CI='true' CI='true' OPAMPRECISETRACKING='1' OPAMSOLVERTIMEOUT='500' OPAMERRLOGLEN='0' OPAMDOWNLOADJOBS='1' '/usr/bin/env' 'bash' '-c' 'opam reinstall gappa.1.4.1;
        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 "\"freebsd\""; then
            echo "A package failed and has been disabled for CI using the '\''x-ci-accept-failures'\'' field.";
          fi;
          test "$pkg" != '\''gappa.1.4.1'\'' && partial_fails="$partial_fails $pkg";
        done;
        test "${partial_fails}" != "" && echo "opam-repo-ci detected dependencies failing: ${partial_fails}";
        exit 1'" failed with exit status 1
2023-11-15 09:51.41: Job failed: Failed: Build failed