+ 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-fastmap-1.1.1/work.log
+ su pbulk -c '"$@"' make /opt/pkg/bin/bmake stage-install BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/R-fastmap-1.1.1/work.log
=> Bootstrap dependency digest>=20211023: found digest-20220214
===> Installing for R-fastmap-1.1.1
=> Generating pre-install file lists
=> Creating installation directories
* installing *source* package 'fastmap' ...
** package 'fastmap' successfully unpacked and MD5 sums checked
** using staged installation
** libs
using C compiler: 'gcc (GCC) 13.2.0'
using C++ compiler: 'g++ (GCC) 13.2.0'
g++ -std=gnu++17 -I"/opt/pkg/lib/R/include" -DNDEBUG -Ilib/  -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   -DR_NO_REMAP -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 fastmap.cpp -o fastmap.o
In file included from /home/pbulk/build/devel/R-fastmap/work/.buildlink/lib/R/include/R.h:73,
                 from fastmap.cpp:1:
/home/pbulk/build/devel/R-fastmap/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/devel/R-fastmap/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/devel/R-fastmap/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/devel/R-fastmap/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/devel/R-fastmap/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/devel/R-fastmap/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/devel/R-fastmap/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/devel/R-fastmap/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/devel/R-fastmap/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/devel/R-fastmap/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/devel/R-fastmap/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/devel/R-fastmap/work/.buildlink/lib/R/include/Rinternals.h:681:1: note: in expansion of macro 'NORET'
  681 | NORET void Rf_errorcall(SEXP, const char *, ...);
      | ^~~~~
fastmap.cpp: In function 'std::string key_from_sexp(SEXP)':
fastmap.cpp:23:5: error: 'Rf_error' was not declared in this scope; did you mean 'ferror'?
   23 |     Rf_error("key must be a one-element character vector");
      |     ^~~~~~~~
      |     ferror
fastmap.cpp:27:5: error: 'Rf_error' was not declared in this scope; did you mean 'ferror'?
   27 |     Rf_error("key must be not be \"\" or NA");
      |     ^~~~~~~~
      |     ferror
fastmap.cpp: In function 'si_map* map_from_xptr(SEXP)':
fastmap.cpp:47:7: error: 'Rf_error' was not declared in this scope; did you mean 'ferror'?
   47 |       Rf_error("map_xptr must be an external pointer.");
      |       ^~~~~~~~
      |       ferror
fastmap.cpp:51:7: error: 'Rf_error' was not declared in this scope; did you mean 'ferror'?
   51 |       Rf_error("fastmap: external pointer to string-to-index map is null.");
      |       ^~~~~~~~
      |       ferror
fastmap.cpp: In function 'SEXPREC* C_xptr_is_null(SEXP)':
fastmap.cpp:65:7: error: 'Rf_error' was not declared in this scope; did you mean 'ferror'?
   65 |       Rf_error("map_xptr must be an external pointer.");
      |       ^~~~~~~~
      |       ferror
fastmap.cpp: In function 'SEXPREC* C_map_set(SEXP, SEXP, SEXP)':
fastmap.cpp:84:7: error: 'Rf_error' was not declared in this scope; did you mean 'ferror'?
   84 |       Rf_error("idx must be a one-element integer vector");
      |       ^~~~~~~~
      |       ferror
fastmap.cpp: In function 'SEXPREC* C_char_vec_to_utf8(SEXP)':
fastmap.cpp:231:7: error: 'Rf_error' was not declared in this scope; did you mean 'ferror'?
  231 |       Rf_error("str must be a character vector");
      |       ^~~~~~~~
      |       ferror
*** Error code 1

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

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

Stop.
bmake: stopped in /data/jenkins/workspace/pkgsrc-upstream-trunk/devel/R-fastmap