+ case "${usergroup_phase}" in
+ local run_cmd
+ run_cmd=run_su
+ shift
+ run_su /opt/pkg/bin/bmake stage-install BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/R-git2r-0.33.0/work.log
+ su pbulk -c '"$@"' make /opt/pkg/bin/bmake stage-install BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/R-git2r-0.33.0/work.log
=> Bootstrap dependency digest>=20211023: found digest-20220214
===> Installing for R-git2r-0.33.0
=> Generating pre-install file lists
=> Creating installation directories
* installing *source* package 'git2r' ...
** package 'git2r' successfully unpacked and MD5 sums checked
** using staged installation
checking build system type... x86_64-pc-solaris2.11
checking host system type... x86_64-pc-solaris2.11
checking pkg-config is at least version 0.9.0... no
configure: package dependency requirement 'libgit2 >= 0.26.0' could not be satisfied.

  -----------------------------------------------------------------------

   Unable to find the libgit2 library on this system. Building 'git2r'
   using the bundled source of the libgit2 library.

   To build git2r with a system installation of libgit2, please install:
     libgit2-dev   (package on e.g. Debian and Ubuntu)
     libgit2-devel (package on e.g. Fedora, CentOS and RHEL)
     libgit2       (Homebrew package on OS X)
   and try again.

   If the libgit2 library is installed on your system but the git2r
   configuration is unable to find it, you can specify the include and
   lib path to libgit2 with:

   given you downloaded a tar-gz archive:
   R CMD INSTALL git2r-.tar.gz --configure-vars='INCLUDE_DIR=/path/to/include LIB_DIR=/path/to/lib'

   or cloned the GitHub git2r repository into a directory:
   R CMD INSTALL git2r/ --configure-vars='INCLUDE_DIR=/path/to/include LIB_DIR=/path/to/lib'

   or download and install git2r in R using
   install.packages('git2r', type='source', configure.vars='LIB_DIR=-L/path/to/libs INCLUDE_DIR=-I/path/to/headers')

   On macOS, another possibility is to let the configuration
   automatically download the libgit2 library from the Homebrew
   package manager with:

   R CMD INSTALL git2r-.tar.gz --configure-vars='autobrew=yes'
   or
   R CMD INSTALL git2r/ --configure-vars='autobrew=yes'
   or
   install.packages('git2r', type='source', configure.vars='autobrew=yes')

  -----------------------------------------------------------------------


configure: attempting configuration of bundled libgit2
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether the compiler supports GNU C... yes
checking whether gcc accepts -g... yes
checking for gcc option to enable C11 features... none needed
checking for gcc options needed to detect all undeclared functions... none needed
checking whether poll is declared... yes
checking whether select is declared... yes
checking size of void*... 8
checking for library containing inflate... -lz
checking for library containing EVP_EncryptInit... -lcrypto
checking for library containing SSL_library_init... no
checking for library containing OPENSSL_init_ssl... -lssl
configure: WARNING:
  ---------------------------------------------
   Unable to find the LibSSH2 (ver >= v1.8)
   library on this system. Building git2r
   without support for SSH transport.

   To build with SSH support, please install:
     libssh2-1-dev (package on e.g. Debian and Ubuntu)
     libssh2-devel (package on e.g. Fedora, CentOS and RHEL)
     libssh2 (Homebrew package on OS X)
   and try again.

   If the LibSSH2 library is installed on
   your system but the git2r configuration
   is unable to find it, you can specify
   the include and lib path to LibSSH2 with:
   R CMD INSTALL git2r --configure-vars='LIBS=-L/path/to/libs CPPFLAGS=-I/path/to/headers'
  ---------------------------------------------
checking for library containing connect... -lsocket
checking for library containing gethostbyname... -lnsl
checking for stdio.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for strings.h... yes
checking for sys/stat.h... yes
checking for sys/types.h... yes
checking for unistd.h... yes
checking for struct stat.st_mtim... yes
checking for struct stat.st_mtimespec... no
checking for struct stat.st_mtime_nsec... no
checking for struct stat.st_mtim.tv_nsec... yes
checking for futimens... yes
checking for qsort_r... yes
checking for qsort_s... no

  ----- Results of the git2r package configure -----

    HTTPS transport......................: yes
    LibSSH2 to enable the SSH transport..: no

  --------------------------------------------------

configure: creating ./config.status
config.status: creating src/Makevars_libgit2
** libs
using C compiler: 'gcc (GCC) 13.2.0'
gcc -I"/opt/pkg/lib/R/include" -DNDEBUG -I. -Ilibgit2/src/libgit2 -Ilibgit2/src/util -Ilibgit2/include -Ilibgit2/deps/http-parser -Ilibgit2/deps/xdiff -Ilibgit2/deps/regex -I/opt/pkg/include -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/ncurses -DGIT_IO_POLL -DGIT_IO_SELECT -DGIT_ARCH_64 -DGIT_OPENSSL=1 -DGIT_HTTPS=1 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DLIBGIT2_NO_FEATURES_H -DR_NO_REMAP -DSTRICT_R_HEADERS -DGIT_SHA1_OPENSSL=1 -DGIT_SHA1_OPENSSL_DYNAMIC=1 -DGIT_SHA256_OPENSSL=1 -D_POSIX_C_SOURCE=200112L -D__EXTENSIONS__ -D_POSIX_PTHREAD_SEMANTICS -DGIT_USE_STAT_MTIM -DGIT_USE_NSEC -DHAVE_FUTIMENS -DHAVE_QSORT_R -DGIT2R_HAVE_BUF_DISPOSE -DGIT2R_HAVE_OBJECT_ANY -DGIT2R_HAVE_GIT_ERROR -DGIT2R_LIBGIT2_V0_99_0_RENAMES -DGIT_REGEX_REGCOMP -DTHREADSAFE=OFF  -I/opt/pkg/include -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/ncurses    -fPIC  -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -pthread -I/opt/pkg/include -I/opt/pkg/include/glib-2.0 -I/opt/pkg/include/gio-unix-2.0 -I/opt/pkg/lib/glib-2.0/include -I/usr/include -I/opt/pkg/include/freetype2 -I/opt/pkg/include/harfbuzz -I/opt/pkg/include/ncurses  -c libgit2/src/libgit2/annotated_commit.c -o libgit2/src/libgit2/annotated_commit.o
In file included from libgit2/src/util/hash/sha.h:21,
                 from libgit2/src/util/hash.h:13,
                 from libgit2/src/libgit2/oid.h:14,
                 from libgit2/src/libgit2/refs.h:17,
                 from libgit2/src/libgit2/annotated_commit.c:10:
libgit2/src/util/hash/openssl.h:14:11: fatal error: openssl/sha.h: No such file or directory
   14 | # include <openssl/sha.h>
      |           ^~~~~~~~~~~~~~~
compilation terminated.
*** Error code 1

Stop.
make: stopped in /home/pbulk/build/devel/R-git2r/work/git2r/src
ERROR: compilation failed for package 'git2r'
* removing '/home/pbulk/build/devel/R-git2r/work/.destdir/opt/pkg/lib/R/library/git2r'
*** Error code 1

Stop.
bmake[1]: stopped in /data/jenkins/workspace/pkgsrc-upstream-bulktest/devel/R-git2r
*** Error code 1

Stop.
bmake: stopped in /data/jenkins/workspace/pkgsrc-upstream-bulktest/devel/R-git2r