=> Bootstrap dependency digest>=20211023: found digest-20220214
===> Skipping vulnerability checks.
WARNING: No /usr/pkg/pkgdb/pkg-vulnerabilities file found.
WARNING: To fix run: `/usr/sbin/pkg_admin -K /usr/pkg/pkgdb fetch-pkg-vulnerabilities'.
===> Installing for R-rgdal-1.6.7nb12
=> 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: /usr/pkg/lib/R
configure: CC: gcc
configure: CXX: c++
configure: CFLAGS: -O2 -I/usr/pkg/include -I/usr/include
configure: CPPFLAGS: -I/usr/pkg/include -I/usr/include
configure: CXXFLAGS: -O2 -I/usr/pkg/include -I/usr/include
configure: LDFLAGS: -Wl,-zrelro -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/lib -Wl,-R/usr/lib -lexecinfo
configure: LDFLAGS: -Wl,-zrelro -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/lib -Wl,-R/usr/lib -lexecinfo
configure: CXX17 is: c++, CXX17STD is: -std=gnu++17
configure: CXX is: c++ -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... /usr/pkg/bin/gdal-config
checking gdal-config usability... yes
configure: GDAL: 3.10.2
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: /usr/pkg/share/gdal/stateplane.csv readable... yes
configure: pkg-config proj exists, will use it
configure: PROJ version: 9.5.1
configure: PROJ CPP flags: -DPROJ_H_API -I/usr/pkg/include 
configure: PROJ LIBS: -L/usr/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 c++ -std=gnu++17 accepts -g... yes
checking for c++ -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/usr/pkg/include -I/usr/pkg/include -DPROJ_H_API
configure: Package LIBS:  -L/usr/pkg/lib -lgdal -L/usr/pkg/lib -lproj
configure: creating ./config.status
config.status: creating src/Makevars
** libs
using C compiler: 'gcc (nb4 20200810) 7.5.0'
using C++ compiler: 'g++ (nb4 20200810) 7.5.0'
using C++17
c++ -std=gnu++17 -I"/usr/pkg/lib/R/include" -DNDEBUG -I/usr/pkg/include -I/usr/pkg/include -DPROJ_H_API -I'/usr/pkg/lib/R/library/sp/include' -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/glib-2.0 -I/usr/pkg/include/gio-unix-2.0 -I/usr/pkg/lib/glib-2.0/include -I/usr/X11R7/include -I/usr/pkg/include/freetype2 -I/usr/pkg/include/harfbuzz    -fpic  -O2 -pthread -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/glib-2.0 -I/usr/pkg/include/gio-unix-2.0 -I/usr/pkg/lib/glib-2.0/include -I/usr/X11R7/include -I/usr/pkg/include/freetype2 -I/usr/pkg/include/harfbuzz   -c OGR_write.cpp -o OGR_write.o
In file included from OGR_write.cpp:11:0:
rgdal.h:15:10: fatal error: sp.h: No such file or directory
 #include "sp.h"
          ^~~~~~
compilation terminated.
*** Error code 1

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

Stop.
make[1]: stopped in /usr/pkgsrc/geography/R-rgdal
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/geography/R-rgdal