(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 archlinux-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 ocaml/opam:archlinux-ocaml-5.1@sha256:28ef881bebfa4b307535d88e4c8b68be9e1849f818fd15876bf0b32789369b95
USER 1000:1000
WORKDIR /home/opam
RUN sudo ln -f /usr/bin/opam-dev /usr/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 "\"archlinux\""; 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 "ocaml/opam:archlinux-ocaml-5.1@sha256:28ef881bebfa4b307535d88e4c8b68be9e1849f818fd15876bf0b32789369b95-gappa.1.4.1-fc06a8266f414fa22f4c5524e1e4d546a2a8cfdf"
2023-11-15 09:48.33: Using OBuilder spec:
((from ocaml/opam:archlinux-ocaml-5.1@sha256:28ef881bebfa4b307535d88e4c8b68be9e1849f818fd15876bf0b32789369b95)
 (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"))
 (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 /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 \"\\\"archlinux\\\"\"; 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 asteria.caelum.ci.dev
All commits already cached
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 ocaml/opam:archlinux-ocaml-5.1@sha256:28ef881bebfa4b307535d88e4c8b68be9e1849f818fd15876bf0b32789369b95)
Unable to find image 'ocaml/opam:archlinux-ocaml-5.1@sha256:28ef881bebfa4b307535d88e4c8b68be9e1849f818fd15876bf0b32789369b95' locally
docker.io/ocaml/opam@sha256:28ef881bebfa4b307535d88e4c8b68be9e1849f818fd15876bf0b32789369b95: Pulling from ocaml/opam
739c27eb3856: Pulling fs layer
739c27eb3856: Verifying Checksum
739c27eb3856: Download complete
739c27eb3856: Pull complete
Digest: sha256:28ef881bebfa4b307535d88e4c8b68be9e1849f818fd15876bf0b32789369b95
Status: Downloaded newer image for ocaml/opam@sha256:28ef881bebfa4b307535d88e4c8b68be9e1849f818fd15876bf0b32789369b95
2023-11-15 09:50.07 ---> saved as "0ef46fd35fa140a5ce5113152eea8b84a13ae519c927494ead5c1cdc7dd44732"

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

/: (workdir /home/opam)

/home/opam: (run (shell "sudo ln -f /usr/bin/opam-dev /usr/bin/opam"))
2023-11-15 09:50.07 ---> saved as "fc7cdc1ddebd47b3531fffe732662f2491c93730c55d41b5ddc2b2d4f231f278"

/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~alpha, 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 47 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=47 --global
Format upgrade done.

<><> Updating repositories ><><><><><><><><><><><><><><><><><><><><><><><><><><>
[default] synchronised from file:///home/opam/opam-repository
2023-11-15 09:50.55 ---> saved as "62fe73ad427e26b0abe0ad4d25802e695a4a204af2f52bbf53d42226c9305131"

/home/opam: (env OPAMDOWNLOADJOBS 1)

/home/opam: (env OPAMERRLOGLEN 0)

/home/opam: (env OPAMSOLVERTIMEOUT 500)

/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/"))
2023-11-15 09:50.59 ---> saved as "cfc7e5a52053e4cecccb6b185d9b217c48a1a794c6ee1de899598e7209f7ce7c"

/home/opam: (copy (src .) (dst opam-repository/))
2023-11-15 09:51.13 ---> saved as "90902fe33a5f8c67515575d712b886d9c6ef97b69d50082ffe8327f09fe6df9a"

/home/opam: (run (shell "opam repository set-url --strict default opam-repository/"))
[default] Initialised
2023-11-15 09:51.46 ---> saved as "358a01501f44d9b142263f05468d41bd71d43319e96a8f5ecfddc9ceb329c52f"

/home/opam: (run (network host)
                 (shell "opam update --depexts || true"))
+ /usr/sbin/sudo "pacman" "-Sy"
- :: Synchronizing package databases...
-  core downloading...
-  extra downloading...
2023-11-15 09:51.47 ---> saved as "7a99ca19db44f3a659247b7a431effe3335724b04d7eb6f2ab5d8fc8d42bcb2f"

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

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

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

/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:51.48 ---> saved as "88af624c74bcb978725dee9554b2a8d9dd05b20bf6633d7efac4650af52d4baf"

/home/opam: (run (cache (opam-archives (target /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 \"\\\"archlinux\\\"\"; 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
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 automake bison boost flex pkgconf which

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

opam believes some required external dependencies are missing. opam can:
> 1. Run pacman to install them (may need root/sudo access)
  2. Display the recommended pacman 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/sbin/sudo "pacman" "-Su" "--noconfirm" "autoconf" "automake" "bison" "boost" "flex" "pkgconf" "which"
- :: Starting full system upgrade...
- resolving dependencies...
- looking for conflicting packages...
- 
- Package (15)             Old Version  New Version  Net Change  Download Size
- 
- core/archlinux-keyring   20231107-1   20231113-1     0.01 MiB       1.15 MiB
- extra/boost-libs                      1.83.0-2       8.25 MiB       2.27 MiB
- core/libcap              2.69-1       2.69-2        -0.10 MiB       0.66 MiB
- core/m4                               1.4.19-3       0.47 MiB       0.24 MiB
- core/sudo                1.9.15.p1-1  1.9.15.p2-1    0.00 MiB       1.88 MiB
- core/systemd             254.5-1      254.6-2        0.11 MiB       7.69 MiB
- core/systemd-libs        254.5-1      254.6-2        0.01 MiB       1.06 MiB
- core/systemd-sysvcompat  254.5-1      254.6-2        0.00 MiB       0.01 MiB
- core/autoconf                         2.71-4         2.20 MiB       0.63 MiB
- core/automake                         1.16.5-2       1.57 MiB       0.60 MiB
- core/bison                            3.8.2-6        2.54 MiB       0.75 MiB
- extra/boost                           1.83.0-2     178.93 MiB      14.43 MiB
- core/flex                             2.6.4-5        0.93 MiB       0.30 MiB
- core/pkgconf                          1.8.1-1        0.16 MiB       0.06 MiB
- core/which                            2.21-6         0.03 MiB       0.02 MiB
- 
- Total Download Size:    31.74 MiB
- Total Installed Size:  238.79 MiB
- Net Upgrade Size:      195.10 MiB
- 
- :: Proceed with installation? [Y/n] 
- :: Retrieving packages...
-  boost-1.83.0-2-x86_64 downloading...
-  systemd-254.6-2-x86_64 downloading...
-  boost-libs-1.83.0-2-x86_64 downloading...
-  sudo-1.9.15.p2-1-x86_64 downloading...
-  archlinux-keyring-20231113-1-any downloading...
-  systemd-libs-254.6-2-x86_64 downloading...
-  bison-3.8.2-6-x86_64 downloading...
-  libcap-2.69-2-x86_64 downloading...
-  autoconf-2.71-4-any downloading...
-  automake-1.16.5-2-any downloading...
-  flex-2.6.4-5-x86_64 downloading...
-  m4-1.4.19-3-x86_64 downloading...
-  pkgconf-1.8.1-1-x86_64 downloading...
-  which-2.21-6-x86_64 downloading...
-  systemd-sysvcompat-254.6-2-x86_64 downloading...
- checking keyring...
- checking package integrity...
- loading package files...
- checking for file conflicts...
- :: Processing package changes...
- installing m4...
- installing autoconf...
- installing automake...
- installing bison...
- installing boost-libs...
- Optional dependencies for boost-libs
-     openmpi: for mpi support
- installing boost...
- Optional dependencies for boost
-     python: for python bindings
- installing flex...
- installing pkgconf...
- installing which...
- upgrading libcap...
- upgrading systemd-libs...
- upgrading archlinux-keyring...
- ==> ERROR: There is no secret key available to sign with.
- ==> Use 'pacman-key --init' to generate a default secret key.
- error: command failed to execute correctly
- upgrading sudo...
- upgrading systemd...
- upgrading systemd-sysvcompat...
- :: Running post-transaction hooks...
- (1/9) Creating system user accounts...
- (2/9) Updating journal message catalog...
- (3/9) Reloading system manager configuration...
- Failed to check for chroot() environment: Permission denied
-   Skipped: Current root is not booted.
- (4/9) Updating udev hardware database...
- (5/9) Applying kernel sysctl settings...
- Failed to check for chroot() environment: Permission denied
-   Skipped: Current root is not booted.
- (6/9) Creating temporary files...
- /usr/lib/tmpfiles.d/journal-nocow.conf:26: Failed to resolve specifier: uninitialized /etc/ detected, skipping.
- All rules containing unresolvable specifiers will be skipped.
- (7/9) Reloading device manager configuration...
- Failed to check for chroot() environment: Permission denied
-   Skipped: Device manager is not running.
- (8/9) Arming ConditionNeedsUpdate...
- (9/9) Reloading system bus configuration...
- Failed to check for chroot() environment: Permission denied
-   Skipped: Current root is not booted.

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
∗ installed conf-boost.1
⬇ retrieved gappa.1.4.1  (cached)
∗ installed conf-g++.1.0
∗ installed conf-bison.2
∗ installed conf-flex.2
∗ installed conf-pkg-config.3
∗ installed conf-which.1
∗ installed conf-gmp.4
∗ installed conf-autoconf.0.1
∗ installed conf-mpfr.3
∗ installed conf-automake.1

#=== ERROR while compiling gappa.1.4.1 ========================================#
Sys_error("/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
└─ 
# Run eval $(opam env) to update the current shell environment

The former state can be restored with:
    /usr/bin/opam switch import "/home/opam/.opam/5.1/.opam-switch/backup/state-20231115095149.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.
"/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 "\"archlinux\""; 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:52.10: Job failed: Failed: Build failed