+ 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-stringi-1.8.3/work.log
+ su pbulk -c '"$@"' make /opt/pkg/bin/bmake stage-install BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/R-stringi-1.8.3/work.log
=> Bootstrap dependency digest>=20211023: found digest-20220214
===> Installing for R-stringi-1.8.3
=> Generating pre-install file lists
=> Creating installation directories
* installing *source* package 'stringi' ...
** package 'stringi' successfully unpacked and MD5 sums checked
** using staged installation
checking for R_HOME... /opt/pkg/lib/R
checking for R... /opt/pkg/lib/R/bin/R
checking for endianness... little
checking for cat... /home/pbulk/build/textproc/R-stringi/work/.tools/bin/cat
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 g++ -std=gnu++17 accepts -g... yes
checking for g++ -std=gnu++17 option to enable C++11 features... none needed
checking whether the C++ compiler supports the 'long long' type... yes
checking whether the compiler implements namespaces... yes
checking whether the compiler supports the Standard Template Library... yes
checking whether std::map is available... yes
checking for pkg-config... /home/pbulk/build/textproc/R-stringi/work/.tools/bin/pkg-config
checking with 'pkg-config' for the system ICU4C (icu-i18n icu-uc)... 74.2
checking for ICU4C >= 61... yes
checking for additional CPPFLAGS, LDFLAGS, and LIBS required... done
checking whether an ICU4C-based project can be built... yes
checking programmatically for sufficient U_ICU_VERSION_MAJOR_NUM... yes
checking the capabilities of the ICU data library (ucnv, uloc, utrans)... yes
checking the capabilities of the ICU data library (ucol)... yes
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 elf.h... yes
configure: creating ./config.status
config.status: creating src/Makevars
config.status: creating src/uconfig_local.h
config.status: creating src/install.libs.R

*** stringi configure summary:
    ICU_FOUND=1
    STRINGI_CXXSTD=
    STRINGI_CXXFLAGS=  -fPIC
    STRINGI_CPPFLAGS=-I.   -UDEBUG -DNDEBUG -DU_HAVE_ELF_H -I/opt/pkg/include
    STRINGI_LDFLAGS=  -L/opt/pkg/lib
    STRINGI_LIBS=  -licui18n -licuuc -licudata

*** Compiler settings used:
    CXX=g++ -std=gnu++17
    LD=g++ -std=gnu++17
    CXXFLAGS=-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
    CPPFLAGS=-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
    LDFLAGS=
    LIBS=

** libs
using C++ compiler: 'g++ (GCC) 13.2.0'
g++ -std=gnu++17 -I"/opt/pkg/lib/R/include" -DNDEBUG -I.   -UDEBUG -DNDEBUG -DU_HAVE_ELF_H -I/opt/pkg/include  -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 -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 stri_brkiter.cpp -o stri_brkiter.o
In file included from /home/pbulk/build/textproc/R-stringi/work/.buildlink/lib/R/include/R.h:73,
                 from stri_external.h:68,
                 from stri_stringi.h:36,
                 from stri_brkiter.cpp:32:
/home/pbulk/build/textproc/R-stringi/work/.buildlink/lib/R/include/R_ext/Error.h:41:16: error: '_Noreturn' does not name a type
   41 | # define NORET _Noreturn
      |                ^~~~~~~~~
/home/pbulk/build/textproc/R-stringi/work/.buildlink/lib/R/include/R_ext/Error.h:51:1: note: in expansion of macro 'NORET'
   51 | NORET void Rf_error(const char *, ...);
      | ^~~~~
/home/pbulk/build/textproc/R-stringi/work/.buildlink/lib/R/include/R_ext/Error.h:41:16: error: '_Noreturn' does not name a type
   41 | # define NORET _Noreturn
      |                ^~~~~~~~~
/home/pbulk/build/textproc/R-stringi/work/.buildlink/lib/R/include/R_ext/Error.h:52:1: note: in expansion of macro 'NORET'
   52 | NORET void UNIMPLEMENTED(const char *);
      | ^~~~~
/home/pbulk/build/textproc/R-stringi/work/.buildlink/lib/R/include/R_ext/Error.h:41:16: error: '_Noreturn' does not name a type
   41 | # define NORET _Noreturn
      |                ^~~~~~~~~
/home/pbulk/build/textproc/R-stringi/work/.buildlink/lib/R/include/R_ext/Error.h:53:1: note: in expansion of macro 'NORET'
   53 | NORET void WrongArgCount(const char *);
      | ^~~~~
/home/pbulk/build/textproc/R-stringi/work/.buildlink/lib/R/include/R_ext/Error.h:41:16: error: '_Noreturn' does not name a type
   41 | # define NORET _Noreturn
      |                ^~~~~~~~~
/home/pbulk/build/textproc/R-stringi/work/.buildlink/lib/R/include/Rinternals.h:287:1: note: in expansion of macro 'NORET'
  287 | NORET SEXP * (VECTOR_PTR)(SEXP x);
      | ^~~~~
/home/pbulk/build/textproc/R-stringi/work/.buildlink/lib/R/include/R_ext/Error.h:41:16: error: '_Noreturn' does not name a type
   41 | # define NORET _Noreturn
      |                ^~~~~~~~~
/home/pbulk/build/textproc/R-stringi/work/.buildlink/lib/R/include/Rinternals.h:655:1: note: in expansion of macro 'NORET'
  655 | NORET void R_ContinueUnwind(SEXP cont);
      | ^~~~~
/home/pbulk/build/textproc/R-stringi/work/.buildlink/lib/R/include/R_ext/Error.h:41:16: error: '_Noreturn' does not name a type
   41 | # define NORET _Noreturn
      |                ^~~~~~~~~
/home/pbulk/build/textproc/R-stringi/work/.buildlink/lib/R/include/Rinternals.h:681:1: note: in expansion of macro 'NORET'
  681 | NORET void Rf_errorcall(SEXP, const char *, ...);
      | ^~~~~
In file included from stri_stringi.h:39:
stri_exception.h: In member function 'void StriException::throwRerror()':
stri_exception.h:243:9: error: 'Rf_error' was not declared in this scope; did you mean 'ferror'?
  243 |         Rf_error("%s", msg);  // avoids treating %'s as special chars
      |         ^~~~~~~~
      |         ferror
stri_brkiter.cpp: In member function 'void StriBrkIterOptions::setType(SEXP, const char*)':
stri_brkiter.cpp:67:13: error: 'Rf_error' was not declared in this scope; did you mean 'ferror'?
   67 |             Rf_error(MSG__INCORRECT_BRKITER_OPTION_SPEC); // error() allowed here
      |             ^~~~~~~~
      |             ferror
stri_brkiter.cpp:71:17: error: 'Rf_error' was not declared in this scope; did you mean 'ferror'?
   71 |                 Rf_error(MSG__INCORRECT_BRKITER_OPTION_SPEC); // error() allowed here
      |                 ^~~~~~~~
      |                 ferror
stri_brkiter.cpp:81:21: error: 'Rf_error' was not declared in this scope; did you mean 'ferror'?
   81 |                     Rf_error(MSG__INCORRECT_MATCH_OPTION, "type");
      |                     ^~~~~~~~
      |                     ferror
stri_brkiter.cpp:92:9: error: 'Rf_error' was not declared in this scope; did you mean 'ferror'?
   92 |         Rf_error(MSG__INCORRECT_BRKITER_OPTION_SPEC);
      |         ^~~~~~~~
      |         ferror
stri_brkiter.cpp: In member function 'void StriBrkIterOptions::setLocale(SEXP)':
stri_brkiter.cpp:137:13: error: 'Rf_error' was not declared in this scope; did you mean 'ferror'?
  137 |             Rf_error(MSG__INCORRECT_BRKITER_OPTION_SPEC); // error() allowed here
      |             ^~~~~~~~
      |             ferror
stri_brkiter.cpp:142:17: error: 'Rf_error' was not declared in this scope; did you mean 'ferror'?
  142 |                 Rf_error(MSG__INCORRECT_BRKITER_OPTION_SPEC); // error() allowed here
      |                 ^~~~~~~~
      |                 ferror
stri_brkiter.cpp:151:9: error: 'Rf_error' was not declared in this scope; did you mean 'ferror'?
  151 |         Rf_error(MSG__INCORRECT_BRKITER_OPTION_SPEC); // error() allowed here
      |         ^~~~~~~~
      |         ferror
stri_brkiter.cpp: In member function 'void StriBrkIterOptions::setSkipRuleStatus(SEXP)':
stri_brkiter.cpp:178:9: error: 'Rf_error' was not declared in this scope; did you mean 'ferror'?
  178 |         Rf_error(MSG__INCORRECT_BRKITER_OPTION_SPEC); // error() allowed here
      |         ^~~~~~~~
      |         ferror
stri_brkiter.cpp:183:9: error: 'Rf_error' was not declared in this scope; did you mean 'ferror'?
  183 |         Rf_error(MSG__INCORRECT_BRKITER_OPTION_SPEC); // error() allowed here
      |         ^~~~~~~~
      |         ferror
stri_brkiter.cpp:187:13: error: 'Rf_error' was not declared in this scope; did you mean 'ferror'?
  187 |             Rf_error(MSG__INCORRECT_BRKITER_OPTION_SPEC); // error() allowed here
      |             ^~~~~~~~
      |             ferror
*** Error code 1

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

Stop.
bmake[1]: stopped in /data/jenkins/workspace/pkgsrc-upstream-trunk/textproc/R-stringi
*** Error code 1

Stop.
bmake: stopped in /data/jenkins/workspace/pkgsrc-upstream-trunk/textproc/R-stringi