+ 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-rgdal-1.6.7nb3/work.log
+ su pbulk -c '"$@"' make /opt/pkg/bin/bmake stage-install BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/R-rgdal-1.6.7nb3/work.log
=> Bootstrap dependency digest>=20211023: found digest-20220214
===> Installing for R-rgdal-1.6.7nb3
=> Generating pre-install file lists
=> Creating installation directories
* installing *source* package 'rgdal' ...
** package 'rgdal' successfully unpacked and MD5 sums checked
** using staged installation
configure: R_HOME: /opt/pkg/lib/R
configure: CC: gcc
configure: CXX: g++
configure: CFLAGS: -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/usr/include
configure: CPPFLAGS: -I/opt/pkg/include -I/usr/include
configure: CXXFLAGS: -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/usr/include
configure: LDFLAGS: -L/opt/pkg/lib -Wl,-R/opt/pkg/lib -lintl -liconv -L/usr/lib/amd64 -Wl,-R/usr/lib/amd64
configure: LDFLAGS: -L/opt/pkg/lib -Wl,-R/opt/pkg/lib -lintl -liconv -L/usr/lib/amd64 -Wl,-R/usr/lib/amd64
configure: CXX17 is: g++, CXX17STD is: -std=gnu++17
configure: CXX is: g++ -std=gnu++17
configure: C++17 support available
configure: rgdal: 1.6-7
checking for /usr/bin/svnversion... no
configure: svn revision: 1203
checking for gdal-config... /opt/pkg/bin/gdal-config
checking gdal-config usability... yes
configure: GDAL: 3.5.3
checking GDAL version != 3.6.0... yes
checking GDAL version >= 1.11.4... yes
checking GDAL version <= 2.5 or >= 3.0... yes
checking GDAL: linking with --libs only... yes
checking GDAL: gdal-config data directory readable... yes
checking GDAL: /opt/pkg/share/gdal/stateplane.csv readable... yes
configure: pkg-config proj exists, will use it
configure: PROJ version: 7.2.1
configure: PROJ CPP flags: -DPROJ_H_API -I/opt/pkg/include 
configure: PROJ LIBS: -L/opt/pkg/lib -lproj 
checking PROJ header API:... yes
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 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 proj.h... yes
checking for proj_context_create in -lproj... yes
checking Using GDAL < 3 with PROJ >= 6... no
checking PROJ version >= 4.8.0... yes
checking PROJ: proj.db found and readable... yes
configure: Package CPP flags:  -I/opt/pkg/include -I/opt/pkg/include -DPROJ_H_API
configure: Package LIBS:  -L/opt/pkg/lib -lgdal -L/opt/pkg/lib -lproj
configure: creating ./config.status
config.status: creating src/Makevars
** libs
using C compiler: 'gcc (GCC) 13.2.0'
using C++ compiler: 'g++ (GCC) 13.2.0'
using C++17
g++ -std=gnu++17 -I"/opt/pkg/lib/R/include" -DNDEBUG -I/opt/pkg/include -I/opt/pkg/include -DPROJ_H_API -I'/opt/pkg/lib/R/library/sp/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  -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 OGR_write.cpp -o OGR_write.o
In file included from /home/pbulk/build/geography/R-rgdal/work/.buildlink/lib/R/include/Rinternals.h:47,
                 from /home/pbulk/build/geography/R-rgdal/work/.buildlink/lib/R/include/Rdefines.h:41,
                 from OGR_write.cpp:9:
/home/pbulk/build/geography/R-rgdal/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-rgdal/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-rgdal/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-rgdal/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-rgdal/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-rgdal/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-rgdal/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-rgdal/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-rgdal/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-rgdal/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-rgdal/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-rgdal/work/.buildlink/lib/R/include/Rinternals.h:681:1: note: in expansion of macro 'NORET'
  681 | NORET void Rf_errorcall(SEXP, const char *, ...);
      | ^~~~~
OGR_write.cpp: In function 'SEXPREC* OGR_write(SEXP)':
/home/pbulk/build/geography/R-rgdal/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
      |               ^~~~~~~~
OGR_write.cpp:66:9: note: in expansion of macro 'error'
   66 |         error("Driver not available");
      |         ^~~~~
/home/pbulk/build/geography/R-rgdal/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
      |               ^~~~~~~~
OGR_write.cpp:104:9: note: in expansion of macro 'error'
  104 |         error( "Creation of output file failed" );
      |         ^~~~~
/home/pbulk/build/geography/R-rgdal/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
      |               ^~~~~~~~
OGR_write.cpp:145:13: note: in expansion of macro 'error'
  145 |             error("number of objects mismatch");
      |             ^~~~~
/home/pbulk/build/geography/R-rgdal/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
      |               ^~~~~~~~
OGR_write.cpp:168:13: note: in expansion of macro 'error'
  168 |             error("number of objects mismatch");
      |             ^~~~~
/home/pbulk/build/geography/R-rgdal/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
      |               ^~~~~~~~
OGR_write.cpp:235:13: note: in expansion of macro 'error'
  235 |             error("Can't parse WKT2-style parameter string");
      |             ^~~~~
/home/pbulk/build/geography/R-rgdal/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
      |               ^~~~~~~~
OGR_write.cpp:272:17: note: in expansion of macro 'error'
  272 |                 error("Can't parse PROJ.4-style parameter string");
      |                 ^~~~~
/home/pbulk/build/geography/R-rgdal/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
      |               ^~~~~~~~
OGR_write.cpp:307:9: note: in expansion of macro 'error'
  307 |         error( "Layer creation failed" );
      |         ^~~~~
/home/pbulk/build/geography/R-rgdal/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
      |               ^~~~~~~~
OGR_write.cpp:336:13: note: in expansion of macro 'error'
  336 |             error( "Unknown field type" );
      |             ^~~~~
/home/pbulk/build/geography/R-rgdal/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
      |               ^~~~~~~~
OGR_write.cpp:351:13: note: in expansion of macro 'error'
  351 |             error( "Creating Name field failed" );
      |             ^~~~~
/home/pbulk/build/geography/R-rgdal/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
      |               ^~~~~~~~
OGR_write.cpp:395:13: note: in expansion of macro 'error'
  395 |             error("number of objects mismatch");
      |             ^~~~~
/home/pbulk/build/geography/R-rgdal/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
      |               ^~~~~~~~
OGR_write.cpp:429:17: note: in expansion of macro 'error'
  429 |                 error( "Failed to set FID" );
      |                 ^~~~~
/home/pbulk/build/geography/R-rgdal/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
      |               ^~~~~~~~
OGR_write.cpp:440:17: note: in expansion of macro 'error'
  440 |                 error( "Failed to create feature" );
      |                 ^~~~~
/home/pbulk/build/geography/R-rgdal/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
      |               ^~~~~~~~
OGR_write.cpp:451:11: note: in expansion of macro 'error'
  451 |           error("commit transaction failure");
      |           ^~~~~
/home/pbulk/build/geography/R-rgdal/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
      |               ^~~~~~~~
OGR_write.cpp:471:13: note: in expansion of macro 'error'
  471 |             error("number of objects mismatch");
      |             ^~~~~
/home/pbulk/build/geography/R-rgdal/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
      |               ^~~~~~~~
OGR_write.cpp:507:17: note: in expansion of macro 'error'
  507 |                 error( "Failed to set geometry" );
      |                 ^~~~~
/home/pbulk/build/geography/R-rgdal/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
      |               ^~~~~~~~
OGR_write.cpp:521:17: note: in expansion of macro 'error'
  521 |                 error( "Failed to set FID" );
      |                 ^~~~~
/home/pbulk/build/geography/R-rgdal/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
      |               ^~~~~~~~
OGR_write.cpp:533:17: note: in expansion of macro 'error'
  533 |                 error( "Failed to create feature" );
      |                 ^~~~~
/home/pbulk/build/geography/R-rgdal/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
      |               ^~~~~~~~
OGR_write.cpp:543:11: note: in expansion of macro 'error'
  543 |           error("commit transaction failure");
      |           ^~~~~
/home/pbulk/build/geography/R-rgdal/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
      |               ^~~~~~~~
OGR_write.cpp:563:13: note: in expansion of macro 'error'
  563 |             error("number of objects mismatch");
      |             ^~~~~
/home/pbulk/build/geography/R-rgdal/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
      |               ^~~~~~~~
OGR_write.cpp:608:21: note: in expansion of macro 'error'
  608 |                     error( "Failed to add line" );
      |                     ^~~~~
/home/pbulk/build/geography/R-rgdal/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
      |               ^~~~~~~~
OGR_write.cpp:620:17: note: in expansion of macro 'error'
  620 |                 error( "Failed to set geometry" );
      |                 ^~~~~
/home/pbulk/build/geography/R-rgdal/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
      |               ^~~~~~~~
OGR_write.cpp:634:17: note: in expansion of macro 'error'
  634 |                 error( "Failed to set FID" );
      |                 ^~~~~
/home/pbulk/build/geography/R-rgdal/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
      |               ^~~~~~~~
OGR_write.cpp:646:17: note: in expansion of macro 'error'
  646 |                 error( "Failed to create feature" );
      |                 ^~~~~
/home/pbulk/build/geography/R-rgdal/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
      |               ^~~~~~~~
OGR_write.cpp:656:11: note: in expansion of macro 'error'
  656 |           error("commit transaction failure");
      |           ^~~~~
/home/pbulk/build/geography/R-rgdal/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
      |               ^~~~~~~~
OGR_write.cpp:676:13: note: in expansion of macro 'error'
  676 |             error("number of objects mismatch");
      |             ^~~~~
/home/pbulk/build/geography/R-rgdal/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
      |               ^~~~~~~~
OGR_write.cpp:732:17: note: in expansion of macro 'error'
  732 |                 error( "Failed to set geometry" );
      |                 ^~~~~
/home/pbulk/build/geography/R-rgdal/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
      |               ^~~~~~~~
OGR_write.cpp:746:17: note: in expansion of macro 'error'
  746 |                 error( "Failed to set FID" );
      |                 ^~~~~
/home/pbulk/build/geography/R-rgdal/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
      |               ^~~~~~~~
OGR_write.cpp:758:16: note: in expansion of macro 'error'
  758 |                error( "Failed to create feature" );
      |                ^~~~~
/home/pbulk/build/geography/R-rgdal/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
      |               ^~~~~~~~
OGR_write.cpp:768:11: note: in expansion of macro 'error'
  768 |           error("commit transaction failure");
      |           ^~~~~
/home/pbulk/build/geography/R-rgdal/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
      |               ^~~~~~~~
OGR_write.cpp:788:13: note: in expansion of macro 'error'
  788 |             error("number of objects mismatch");
      |             ^~~~~
/home/pbulk/build/geography/R-rgdal/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
      |               ^~~~~~~~
OGR_write.cpp:802:17: note: in expansion of macro 'error'
  802 |                 error("Polygons object without ordering comment");
      |                 ^~~~~
/home/pbulk/build/geography/R-rgdal/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
      |               ^~~~~~~~
OGR_write.cpp:836:21: note: in expansion of macro 'error'
  836 |                     error( "Failed to set geometry" );
      |                     ^~~~~
/home/pbulk/build/geography/R-rgdal/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
      |               ^~~~~~~~
OGR_write.cpp:853:16: note: in expansion of macro 'error'
  853 |                error( "Failed to set FID" );
      |                ^~~~~
/home/pbulk/build/geography/R-rgdal/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
      |               ^~~~~~~~
OGR_write.cpp:865:16: note: in expansion of macro 'error'
  865 |                error( "Failed to create feature" );
      |                ^~~~~
/home/pbulk/build/geography/R-rgdal/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
      |               ^~~~~~~~
OGR_write.cpp:876:11: note: in expansion of macro 'error'
  876 |           error("commit transaction failure");
      |           ^~~~~
*** Error code 1

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

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

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