+ 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-spatstat.random-3.2.2/work.log
+ su pbulk -c '"$@"' make /opt/pkg/bin/bmake stage-install BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/R-spatstat.random-3.2.2/work.log
=> Bootstrap dependency digest>=20211023: found digest-20220214
===> Installing for R-spatstat.random-3.2.2
=> Generating pre-install file lists
=> Creating installation directories
* installing *source* package 'spatstat.random' ...
** package 'spatstat.random' 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   -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 Perfect.cc -o Perfect.o
In file included from /home/pbulk/build/geography/R-spatstat.random/work/.buildlink/lib/R/include/R.h:73,
                 from Perfect.cc:8:
/home/pbulk/build/geography/R-spatstat.random/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/geography/R-spatstat.random/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/geography/R-spatstat.random/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/geography/R-spatstat.random/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/geography/R-spatstat.random/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/geography/R-spatstat.random/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/geography/R-spatstat.random/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/geography/R-spatstat.random/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/geography/R-spatstat.random/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/geography/R-spatstat.random/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/geography/R-spatstat.random/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/geography/R-spatstat.random/work/.buildlink/lib/R/include/Rinternals.h:681:1: note: in expansion of macro 'NORET'
  681 | NORET void Rf_errorcall(SEXP, const char *, ...);
      | ^~~~~
Perfect.cc: In member function 'void Sampler::Forward(long int, long int, char, char, Point*, long int*)':
/home/pbulk/build/geography/R-spatstat.random/work/.buildlink/lib/R/include/R_ext/Error.h:64:15: error: 'Rf_error' was not declared in this scope; did you mean 'ferror'?
   64 | #define error Rf_error
      |               ^~~~~~~~
Perfect.cc:538:9: note: in expansion of macro 'error'
  538 |         error("internal error: unexpected self-reference");
      |         ^~~~~
*** Error code 1

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

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

Stop.
bmake: stopped in /data/jenkins/workspace/pkgsrc-upstream-trunk/geography/R-spatstat.random