[package - 123amd64-default][math/R-cran-terra] Failed for R-cran-terra-1.6.7_1 in stage

From: <pkg-fallout_at_FreeBSD.org>
Date: Thu, 01 Sep 2022 23:41:33 UTC
You are receiving this mail as a port that you maintain
is failing to build on the FreeBSD package build server.
Please investigate the failure and submit a PR to fix
build.

Maintainer:     tota@FreeBSD.org
Log URL:        http://beefy6.nyi.freebsd.org/data/123amd64-default/1774365e01b3/logs/R-cran-terra-1.6.7_1.log
Build URL:      http://beefy6.nyi.freebsd.org/build.html?mastername=123amd64-default&build=1774365e01b3
Log:

=>> Building math/R-cran-terra
build started at Thu Sep  1 23:32:51 UTC 2022
port directory: /usr/ports/math/R-cran-terra
package name: R-cran-terra-1.6.7_1
building for: FreeBSD 123amd64-default-job-13 12.3-RELEASE-p7 FreeBSD 12.3-RELEASE-p7 amd64
maintained by: tota@FreeBSD.org
Makefile ident: 
Poudriere version: 3.2.8-21-g883afb07
Host OSVERSION: 1400063
Jail OSVERSION: 1203000
Job Id: 13

---Begin Environment---
SHELL=/bin/csh
OSVERSION=1203000
UNAME_v=FreeBSD 12.3-RELEASE-p7
UNAME_r=12.3-RELEASE-p7
BLOCKSIZE=K
MAIL=/var/mail/root
STATUS=1
HOME=/root
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin
LOCALBASE=/usr/local
USER=root
LIBEXECPREFIX=/usr/local/libexec/poudriere
POUDRIERE_VERSION=3.2.8-21-g883afb07
MASTERMNT=/usr/local/poudriere/data/.m/123amd64-default/ref
POUDRIERE_BUILD_TYPE=bulk
PACKAGE_BUILDING=yes
SAVED_TERM=
PWD=/usr/local/poudriere/data/.m/123amd64-default/ref/.p/pool
P_PORTS_FEATURES=FLAVORS SELECTED_OPTIONS
MASTERNAME=123amd64-default
SCRIPTPREFIX=/usr/local/share/poudriere
OLDPWD=/usr/local/poudriere/data/.m/123amd64-default/ref/.p
SCRIPTPATH=/usr/local/share/poudriere/bulk.sh
POUDRIEREPATH=/usr/local/bin/poudriere
---End Environment---

---Begin Poudriere Port Flags/Env---
PORT_FLAGS=
PKGENV=
FLAVOR=
DEPENDS_ARGS=
MAKE_ARGS=
---End Poudriere Port Flags/Env---

---Begin OPTIONS List---
---End OPTIONS List---

--MAINTAINER--
tota@FreeBSD.org
--End MAINTAINER--

--CONFIGURE_ARGS--

--End CONFIGURE_ARGS--

--CONFIGURE_ENV--
F77="gfortran11" FC="gfortran11" FFLAGS="-O -Wl,-rpath=/usr/local/lib/gcc11" FCFLAGS="-Wl,-rpath=/usr/local/lib/gcc11" XDG_DATA_HOME=/wrkdirs/usr/ports/math/R-cran-terra/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/math/R-cran-terra/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/math/R-cran-terra/work/.cache  HOME=/wrkdirs/usr/ports/math/R-cran-terra/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/math/R-cran-terra/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/math/R-cran-terra/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig SHELL=/bin/sh CONFIG_SHELL=/bin/sh
--End CONFIGURE_ENV--

--MAKE_ENV--
F77="gfortran11" FC="gfortran11" FFLAGS="-O -Wl,-rpath=/usr/local/lib/gcc11" FCFLAGS="-Wl,-rpath=/usr/local/lib/gcc11" XDG_DATA_HOME=/wrkdirs/usr/ports/math/R-cran-terra/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/math/R-cran-terra/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/math/R-cran-terra/work/.cache  HOME=/wrkdirs/usr/ports/math/R-cran-terra/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/math/R-cran-terra/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/math/R-cran-terra/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig NO_PIE=yes MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES ADDR2LINE="/usr/local/bin/addr2line" AR="/usr/local/bin/ar" AS="/usr/local/bin/as" CPPFILT="/usr/local/bin/c++filt" GPROF="/usr/local/bin/gprof" LD="/usr/local/bin/ld" NM="/usr/local/bin/nm" OBJCOPY="/usr/local/bin/objcopy" OBJDUMP="/usr/local/bin/objdump" RANLIB="/usr/local/bin/ranlib" 
 READELF="/usr/local/bin/readelf" SIZE="/usr/local/bin/size" STRINGS="/usr/local/bin/strings" PREFIX=/usr/local  LOCALBASE=/usr/local  CC="cc" CFLAGS="-O2 -pipe  -fstack-protector-strong -fno-strict-aliasing "  CPP="cpp" CPPFLAGS=""  LDFLAGS=" -Wl,-rpath=/usr/local/lib/gcc11  -L/usr/local/lib/gcc11 -B/usr/local/bin -fstack-protector-strong " LIBS=""  CXX="c++" CXXFLAGS="-O2 -pipe -fstack-protector-strong -fno-strict-aliasing  "  MANPREFIX="/usr/local" BSD_INSTALL_PROGRAM="install  -s -m 555"  BSD_INSTALL_LIB="install  -s -m 0644"  BSD_INSTALL_SCRIPT="install  -m 555"  BSD_INSTALL_DATA="install  -m 0644"  BSD_INSTALL_MAN="install  -m 444"
--End MAKE_ENV--

--PLIST_SUB--
R_MOD_DIR=lib/R/library/terra OSREL=12.3 PREFIX=%D LOCALBASE=/usr/local  RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/terra"  EXAMPLESDIR="share/examples/terra"  DATADIR="share/terra"  WWWDIR="www/terra"  ETCDIR="etc/terra"
--End PLIST_SUB--

--SUB_LIST--
PREFIX=/usr/local LOCALBASE=/usr/local  DATADIR=/usr/local/share/terra DOCSDIR=/usr/local/share/doc/terra EXAMPLESDIR=/usr/local/share/examples/terra  WWWDIR=/usr/local/www/terra ETCDIR=/usr/local/etc/terra
--End SUB_LIST--

---Begin make.conf---
USE_PACKAGE_DEPENDS=yes
BATCH=yes
WRKDIRPREFIX=/wrkdirs
PORTSDIR=/usr/ports
PACKAGES=/packages
DISTDIR=/distfiles
PACKAGE_BUILDING=yes
PACKAGE_BUILDING_FLAVORS=yes
#### /usr/local/etc/poudriere.d/make.conf ####
# XXX: We really need this but cannot use it while 'make checksum' does not
# try the next mirror on checksum failure.  It currently retries the same
# failed mirror and then fails rather then trying another.  It *does*
# try the next if the size is mismatched though.
#MASTER_SITE_FREEBSD=yes
# Build ALLOW_MAKE_JOBS_PACKAGES with 2 jobs
MAKE_JOBS_NUMBER=2
#### /usr/ports/Mk/Scripts/ports_env.sh ####
_CCVERSION_921dbbb2=FreeBSD clang version 10.0.1 (git@github.com:llvm/llvm-project.git llvmorg-10.0.1-0-gef32c611aa2) Target: x86_64-unknown-freebsd12.3 Thread model: posix InstalledDir: /usr/bin
_ALTCCVERSION_921dbbb2=none
_CXXINTERNAL_acaad9ca=FreeBSD clang version 10.0.1 (git@github.com:llvm/llvm-project.git llvmorg-10.0.1-0-gef32c611aa2) Target: x86_64-unknown-freebsd12.3 Thread model: posix InstalledDir: /usr/bin "/usr/bin/ld" "--eh-frame-hdr" "-dynamic-linker" "/libexec/ld-elf.so.1" "--hash-style=both" "--enable-new-dtags" "-o" "a.out" "/usr/lib/crt1.o" "/usr/lib/crti.o" "/usr/lib/crtbegin.o" "-L/usr/lib" "/dev/null" "-lc++" "-lm" "-lgcc" "--as-needed" "-lgcc_s" "--no-as-needed" "-lc" "-lgcc" "--as-needed" "-lgcc_s" "--no-as-needed" "/usr/lib/crtend.o" "/usr/lib/crtn.o"
CC_OUTPUT_921dbbb2_58173849=yes
CC_OUTPUT_921dbbb2_9bdba57c=yes
CC_OUTPUT_921dbbb2_6a4fe7f5=yes
CC_OUTPUT_921dbbb2_6bcac02b=yes
CC_OUTPUT_921dbbb2_67d20829=yes
CC_OUTPUT_921dbbb2_bfa62e83=yes
CC_OUTPUT_921dbbb2_f0b4d593=yes
CC_OUTPUT_921dbbb2_308abb44=yes
CC_OUTPUT_921dbbb2_f00456e5=yes
CC_OUTPUT_921dbbb2_65ad290d=yes
CC_OUTPUT_921dbbb2_f2776b26=yes
CC_OUTPUT_921dbbb2_b2657cc3=yes
CC_OUTPUT_921dbbb2_380987f7=yes
CC_OUTPUT_921dbbb2_160933ec=yes
CC_OUTPUT_921dbbb2_fb62803b=yes
_OBJC_CCVERSION_921dbbb2=FreeBSD clang version 10.0.1 (git@github.com:llvm/llvm-project.git llvmorg-10.0.1-0-gef32c611aa2) Target: x86_64-unknown-freebsd12.3 Thread model: posix InstalledDir: /usr/bin
_OBJC_ALTCCVERSION_921dbbb2=none
ARCH=amd64
OPSYS=FreeBSD
_OSRELEASE=12.3-RELEASE-p7
OSREL=12.3
OSVERSION=1203000
PYTHONBASE=/usr/local
HAVE_COMPAT_IA32_KERN=YES
CONFIGURE_MAX_CMD_LEN=524288
HAVE_PORTS_ENV=1
#### Misc Poudriere ####
GID=0
UID=0
DISABLE_MAKE_JOBS=poudriere
---End make.conf---
--Resource limits--
cpu time               (seconds, -t)  unlimited
file size           (512-blocks, -f)  unlimited
data seg size           (kbytes, -d)  33554432
stack size              (kbytes, -s)  524288
core file size      (512-blocks, -c)  unlimited
max memory size         (kbytes, -m)  unlimited
locked memory           (kbytes, -l)  unlimited
max user processes              (-u)  89999
open files                      (-n)  1024
virtual mem size        (kbytes, -v)  unlimited
swap limit              (kbytes, -w)  unlimited
socket buffer size       (bytes, -b)  unlimited
pseudo-terminals                (-p)  unlimited
kqueues                         (-k)  unlimited
umtx shared locks               (-o)  unlimited
--End resource limits--
=======================<phase: check-sanity   >============================
===>  License GPLv3+ accepted by the user
===========================================================================
=======================<phase: pkg-depends    >============================
===>   R-cran-terra-1.6.7_1 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-1.18.4.pkg
[123amd64-default-job-13] Installing pkg-1.18.4...
[123amd64-default-job-13] Extracting pkg-1.18.4: .......... done
===>   R-cran-terra-1.6.7_1 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of R-cran-terra-1.6.7_1
===========================================================================
=======================<phase: fetch-depends  >============================
===========================================================================
=======================<phase: fetch          >============================
===>  License GPLv3+ accepted by the user
===> Fetching all distfiles required by R-cran-terra-1.6.7_1 for building
===========================================================================
=======================<phase: checksum       >============================
===>  License GPLv3+ accepted by the user
===> Fetching all distfiles required by R-cran-terra-1.6.7_1 for building
=> SHA256 Checksum OK for terra_1.6-7.tar.gz.
===========================================================================
=======================<phase: extract-depends>============================
===========================================================================
=======================<phase: extract        >============================
===>  License GPLv3+ accepted by the user
===> Fetching all distfiles required by R-cran-terra-1.6.7_1 for building
===>  Extracting for R-cran-terra-1.6.7_1
=> SHA256 Checksum OK for terra_1.6-7.tar.gz.
===========================================================================
=======================<phase: patch-depends  >============================
===========================================================================
=======================<phase: patch          >============================
===>  Patching for R-cran-terra-1.6.7_1
===========================================================================
=======================<phase: build-depends  >============================
===>   R-cran-terra-1.6.7_1 depends on package: R-cran-Rcpp>0 - not found
===>   Installing existing package /packages/All/R-cran-Rcpp-1.0.9.pkg
[123amd64-default-job-13] Installing R-cran-Rcpp-1.0.9...
[123amd64-default-job-13] `-- Installing R-4.2.1...
[123amd64-default-job-13] |   `-- Installing cairo-1.17.4_1,3...
[123amd64-default-job-13] |   | `-- Installing fontconfig-2.13.94_2,1...
[123amd64-default-job-13] |   |   `-- Installing expat-2.4.8...
[123amd64-default-job-13] |   |   `-- Extracting expat-2.4.8: .......... done
[123amd64-default-job-13] |   |   `-- Installing freetype2-2.12.1_2...
[123amd64-default-job-13] |   |   | `-- Installing brotli-1.0.9,1...
[123amd64-default-job-13] |   |   | `-- Extracting brotli-1.0.9,1: .......... done
[123amd64-default-job-13] |   |   | `-- Installing png-1.6.37_1...
[123amd64-default-job-13] |   |   | `-- Extracting png-1.6.37_1: .......... done
[123amd64-default-job-13] |   |   `-- Extracting freetype2-2.12.1_2: .......... done
[123amd64-default-job-13] |   | `-- Extracting fontconfig-2.13.94_2,1: .......... done
[123amd64-default-job-13] |   | `-- Installing gettext-runtime-0.21...
[123amd64-default-job-13] |   |   `-- Installing indexinfo-0.3.1...
[123amd64-default-job-13] |   |   `-- Extracting indexinfo-0.3.1: .... done
[123amd64-default-job-13] |   | `-- Extracting gettext-runtime-0.21: .......... done
[123amd64-default-job-13] |   | `-- Installing glib-2.72.3,2...
<snip>
  If you want tcl/tk client support.

postgresql-jdbc
  For Java JDBC support.

postgresql-odbc
  For client access from unix applications using ODBC as access
  method. Not needed to access unix PostgreSQL servers from Win32
  using ODBC. See below.

ruby-postgres, py-psycopg2
  For client access to PostgreSQL databases using the ruby & python
  languages.

postgresql-plperl, postgresql-pltcl & postgresql-plruby
  For using perl5, tcl & ruby as procedural languages.

postgresql-contrib
  Lots of contributed utilities, postgresql functions and
  datatypes. There you find pg_standby, pgcrypto and many other cool
  things.

etc...
===>   R-cran-terra-1.6.7_1 depends on shared library: libgdal.so - found (/usr/local/lib/libgdal.so)
===>   Returning to build of R-cran-terra-1.6.7_1
===>   R-cran-terra-1.6.7_1 depends on shared library: libgeos.so - found (/usr/local/lib/libgeos.so)
===>   R-cran-terra-1.6.7_1 depends on shared library: libproj.so - found (/usr/local/lib/libproj.so)
===>   R-cran-terra-1.6.7_1 depends on shared library: libsqlite3.so - found (/usr/local/lib/libsqlite3.so)
===========================================================================
=======================<phase: configure      >============================
===>  Configuring for R-cran-terra-1.6.7_1
===========================================================================
=======================<phase: build          >============================
===========================================================================
=======================<phase: run-depends    >============================
===>   R-cran-terra-1.6.7_1 depends on package: R-cran-Rcpp>0 - found
===>   R-cran-terra-1.6.7_1 depends on file: /usr/local/bin/R - found
===>   R-cran-terra-1.6.7_1 depends on executable: gfortran11 - found
===========================================================================
=======================<phase: stage          >============================
===>  Staging for R-cran-terra-1.6.7_1
===>   Generating temporary packing list
* installing *source* package 'terra' ...
** package 'terra' successfully unpacked and MD5 sums checked
** using staged installation
configure: CC: cc
configure: CXX: c++
checking for gdal-config... /usr/local/bin/gdal-config
checking gdal-config usability... yes
configure: GDAL: 3.5.1
checking GDAL version >= 2.0.1... yes
checking for gcc... cc
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 we are using the GNU C compiler... yes
checking whether cc accepts -g... yes
checking for cc option to accept ISO C89... none needed
checking how to run the C preprocessor... cpp
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking gdal.h usability... yes
checking gdal.h presence... yes
checking for gdal.h... yes
checking GDAL: linking with --libs only... yes
checking GDAL: /usr/local/share/gdal/pcs.csv readable... no
checking GDAL: checking whether PROJ is available for linking:... yes
checking GDAL: checking whether PROJ is available fur running:... yes
configure: GDAL: 3.5.1
configure: pkg-config proj exists, will use it
configure: using proj.h.
configure: PROJ: 8.2.1
checking PROJ: checking whether PROJ and sqlite3 are available for linking:... yes
checking for geos-config... /usr/local/bin/geos-config
checking geos-config usability... yes
configure: GEOS: 3.11.0
checking GEOS version >= 3.4.0... yes
checking geos_c.h usability... yes
checking geos_c.h presence... yes
checking for geos_c.h... yes
checking geos: linking with -L/usr/local/lib -lgeos_c... yes
configure: Package CPP flags:  -I/usr/local/include  -DHAVE_PROJ_H -I/usr/local/include -I/usr/local/include
configure: Package LIBS: -L/usr/local/lib -lproj    -L/usr/local/lib -lgdal -L/usr/local/lib -lgeos_c
configure: creating ./config.status
config.status: creating src/Makevars
** libs
gmake[1]: Entering directory '/wrkdirs/usr/ports/math/R-cran-terra/work/terra/src'
c++ -std=gnu++11 -I"/usr/local/lib/R/include" -DNDEBUG -I/usr/local/include  -DHAVE_PROJ_H -I/usr/local/include -I/usr/local/include -I'/usr/local/lib/R/library/Rcpp/include' -DLIBICONV_PLUG -I/usr/local/include -isystem /usr/local/include   -fpic  -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing  -DLIBICONV_PLUG -isystem /usr/local/include   -c RcppExports.cpp -o RcppExports.o
c++ -std=gnu++11 -I"/usr/local/lib/R/include" -DNDEBUG -I/usr/local/include  -DHAVE_PROJ_H -I/usr/local/include -I/usr/local/include -I'/usr/local/lib/R/library/Rcpp/include' -DLIBICONV_PLUG -I/usr/local/include -isystem /usr/local/include   -fpic  -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing  -DLIBICONV_PLUG -isystem /usr/local/include   -c RcppFunctions.cpp -o RcppFunctions.o
c++ -std=gnu++11 -I"/usr/local/lib/R/include" -DNDEBUG -I/usr/local/include  -DHAVE_PROJ_H -I/usr/local/include -I/usr/local/include -I'/usr/local/lib/R/library/Rcpp/include' -DLIBICONV_PLUG -I/usr/local/include -isystem /usr/local/include   -fpic  -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing  -DLIBICONV_PLUG -isystem /usr/local/include   -c RcppModule.cpp -o RcppModule.o
c++ -std=gnu++11 -I"/usr/local/lib/R/include" -DNDEBUG -I/usr/local/include  -DHAVE_PROJ_H -I/usr/local/include -I/usr/local/include -I'/usr/local/lib/R/library/Rcpp/include' -DLIBICONV_PLUG -I/usr/local/include -isystem /usr/local/include   -fpic  -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing  -DLIBICONV_PLUG -isystem /usr/local/include   -c arith.cpp -o arith.o
c++ -std=gnu++11 -I"/usr/local/lib/R/include" -DNDEBUG -I/usr/local/include  -DHAVE_PROJ_H -I/usr/local/include -I/usr/local/include -I'/usr/local/lib/R/library/Rcpp/include' -DLIBICONV_PLUG -I/usr/local/include -isystem /usr/local/include   -fpic  -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing  -DLIBICONV_PLUG -isystem /usr/local/include   -c crs.cpp -o crs.o
c++ -std=gnu++11 -I"/usr/local/lib/R/include" -DNDEBUG -I/usr/local/include  -DHAVE_PROJ_H -I/usr/local/include -I/usr/local/include -I'/usr/local/lib/R/library/Rcpp/include' -DLIBICONV_PLUG -I/usr/local/include -isystem /usr/local/include   -fpic  -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing  -DLIBICONV_PLUG -isystem /usr/local/include   -c distRaster.cpp -o distRaster.o
c++ -std=gnu++11 -I"/usr/local/lib/R/include" -DNDEBUG -I/usr/local/include  -DHAVE_PROJ_H -I/usr/local/include -I/usr/local/include -I'/usr/local/lib/R/library/Rcpp/include' -DLIBICONV_PLUG -I/usr/local/include -isystem /usr/local/include   -fpic  -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing  -DLIBICONV_PLUG -isystem /usr/local/include   -c distance.cpp -o distance.o
c++ -std=gnu++11 -I"/usr/local/lib/R/include" -DNDEBUG -I/usr/local/include  -DHAVE_PROJ_H -I/usr/local/include -I/usr/local/include -I'/usr/local/lib/R/library/Rcpp/include' -DLIBICONV_PLUG -I/usr/local/include -isystem /usr/local/include   -fpic  -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing  -DLIBICONV_PLUG -isystem /usr/local/include   -c extract.cpp -o extract.o
c++ -std=gnu++11 -I"/usr/local/lib/R/include" -DNDEBUG -I/usr/local/include  -DHAVE_PROJ_H -I/usr/local/include -I/usr/local/include -I'/usr/local/lib/R/library/Rcpp/include' -DLIBICONV_PLUG -I/usr/local/include -isystem /usr/local/include   -fpic  -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing  -DLIBICONV_PLUG -isystem /usr/local/include   -c file_utils.cpp -o file_utils.o
c++ -std=gnu++11 -I"/usr/local/lib/R/include" -DNDEBUG -I/usr/local/include  -DHAVE_PROJ_H -I/usr/local/include -I/usr/local/include -I'/usr/local/lib/R/library/Rcpp/include' -DLIBICONV_PLUG -I/usr/local/include -isystem /usr/local/include   -fpic  -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing  -DLIBICONV_PLUG -isystem /usr/local/include   -c focal.cpp -o focal.o
c++ -std=gnu++11 -I"/usr/local/lib/R/include" -DNDEBUG -I/usr/local/include  -DHAVE_PROJ_H -I/usr/local/include -I/usr/local/include -I'/usr/local/lib/R/library/Rcpp/include' -DLIBICONV_PLUG -I/usr/local/include -isystem /usr/local/include   -fpic  -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing  -DLIBICONV_PLUG -isystem /usr/local/include   -c gcp.cpp -o gcp.o
c++ -std=gnu++11 -I"/usr/local/lib/R/include" -DNDEBUG -I/usr/local/include  -DHAVE_PROJ_H -I/usr/local/include -I/usr/local/include -I'/usr/local/lib/R/library/Rcpp/include' -DLIBICONV_PLUG -I/usr/local/include -isystem /usr/local/include   -fpic  -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing  -DLIBICONV_PLUG -isystem /usr/local/include   -c gdal_algs.cpp -o gdal_algs.o
c++ -std=gnu++11 -I"/usr/local/lib/R/include" -DNDEBUG -I/usr/local/include  -DHAVE_PROJ_H -I/usr/local/include -I/usr/local/include -I'/usr/local/lib/R/library/Rcpp/include' -DLIBICONV_PLUG -I/usr/local/include -isystem /usr/local/include   -fpic  -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing  -DLIBICONV_PLUG -isystem /usr/local/include   -c gdal_multidimensional.cpp -o gdal_multidimensional.o
c++ -std=gnu++11 -I"/usr/local/lib/R/include" -DNDEBUG -I/usr/local/include  -DHAVE_PROJ_H -I/usr/local/include -I/usr/local/include -I'/usr/local/lib/R/library/Rcpp/include' -DLIBICONV_PLUG -I/usr/local/include -isystem /usr/local/include   -fpic  -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing  -DLIBICONV_PLUG -isystem /usr/local/include   -c gdalio.cpp -o gdalio.o
cc -I"/usr/local/lib/R/include" -DNDEBUG -I/usr/local/include  -DHAVE_PROJ_H -I/usr/local/include -I/usr/local/include -I'/usr/local/lib/R/library/Rcpp/include' -DLIBICONV_PLUG -I/usr/local/include -isystem /usr/local/include   -fpic  -O2 -pipe  -DLIBICONV_PLUG -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing   -c geodesic.c -o geodesic.o
c++ -std=gnu++11 -I"/usr/local/lib/R/include" -DNDEBUG -I/usr/local/include  -DHAVE_PROJ_H -I/usr/local/include -I/usr/local/include -I'/usr/local/lib/R/library/Rcpp/include' -DLIBICONV_PLUG -I/usr/local/include -isystem /usr/local/include   -fpic  -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing  -DLIBICONV_PLUG -isystem /usr/local/include   -c geos_methods.cpp -o geos_methods.o
c++ -std=gnu++11 -I"/usr/local/lib/R/include" -DNDEBUG -I/usr/local/include  -DHAVE_PROJ_H -I/usr/local/include -I/usr/local/include -I'/usr/local/lib/R/library/Rcpp/include' -DLIBICONV_PLUG -I/usr/local/include -isystem /usr/local/include   -fpic  -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing  -DLIBICONV_PLUG -isystem /usr/local/include   -c geosphere.cpp -o geosphere.o
c++ -std=gnu++11 -I"/usr/local/lib/R/include" -DNDEBUG -I/usr/local/include  -DHAVE_PROJ_H -I/usr/local/include -I/usr/local/include -I'/usr/local/lib/R/library/Rcpp/include' -DLIBICONV_PLUG -I/usr/local/include -isystem /usr/local/include   -fpic  -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing  -DLIBICONV_PLUG -isystem /usr/local/include   -c graticule.cpp -o graticule.o
c++ -std=gnu++11 -I"/usr/local/lib/R/include" -DNDEBUG -I/usr/local/include  -DHAVE_PROJ_H -I/usr/local/include -I/usr/local/include -I'/usr/local/lib/R/library/Rcpp/include' -DLIBICONV_PLUG -I/usr/local/include -isystem /usr/local/include   -fpic  -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing  -DLIBICONV_PLUG -isystem /usr/local/include   -c math_utils.cpp -o math_utils.o
c++ -std=gnu++11 -I"/usr/local/lib/R/include" -DNDEBUG -I/usr/local/include  -DHAVE_PROJ_H -I/usr/local/include -I/usr/local/include -I'/usr/local/lib/R/library/Rcpp/include' -DLIBICONV_PLUG -I/usr/local/include -isystem /usr/local/include   -fpic  -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing  -DLIBICONV_PLUG -isystem /usr/local/include   -c mediancut.cpp -o mediancut.o
c++ -std=gnu++11 -I"/usr/local/lib/R/include" -DNDEBUG -I/usr/local/include  -DHAVE_PROJ_H -I/usr/local/include -I/usr/local/include -I'/usr/local/lib/R/library/Rcpp/include' -DLIBICONV_PLUG -I/usr/local/include -isystem /usr/local/include   -fpic  -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing  -DLIBICONV_PLUG -isystem /usr/local/include   -c memory.cpp -o memory.o
c++ -std=gnu++11 -I"/usr/local/lib/R/include" -DNDEBUG -I/usr/local/include  -DHAVE_PROJ_H -I/usr/local/include -I/usr/local/include -I'/usr/local/lib/R/library/Rcpp/include' -DLIBICONV_PLUG -I/usr/local/include -isystem /usr/local/include   -fpic  -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing  -DLIBICONV_PLUG -isystem /usr/local/include   -c ncdf.cpp -o ncdf.o
c++ -std=gnu++11 -I"/usr/local/lib/R/include" -DNDEBUG -I/usr/local/include  -DHAVE_PROJ_H -I/usr/local/include -I/usr/local/include -I'/usr/local/lib/R/library/Rcpp/include' -DLIBICONV_PLUG -I/usr/local/include -isystem /usr/local/include   -fpic  -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing  -DLIBICONV_PLUG -isystem /usr/local/include   -c ram.cpp -o ram.o
c++ -std=gnu++11 -I"/usr/local/lib/R/include" -DNDEBUG -I/usr/local/include  -DHAVE_PROJ_H -I/usr/local/include -I/usr/local/include -I'/usr/local/lib/R/library/Rcpp/include' -DLIBICONV_PLUG -I/usr/local/include -isystem /usr/local/include   -fpic  -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing  -DLIBICONV_PLUG -isystem /usr/local/include   -c raster_methods.cpp -o raster_methods.o
c++ -std=gnu++11 -I"/usr/local/lib/R/include" -DNDEBUG -I/usr/local/include  -DHAVE_PROJ_H -I/usr/local/include -I/usr/local/include -I'/usr/local/lib/R/library/Rcpp/include' -DLIBICONV_PLUG -I/usr/local/include -isystem /usr/local/include   -fpic  -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing  -DLIBICONV_PLUG -isystem /usr/local/include   -c raster_stats.cpp -o raster_stats.o
c++ -std=gnu++11 -I"/usr/local/lib/R/include" -DNDEBUG -I/usr/local/include  -DHAVE_PROJ_H -I/usr/local/include -I/usr/local/include -I'/usr/local/lib/R/library/Rcpp/include' -DLIBICONV_PLUG -I/usr/local/include -isystem /usr/local/include   -fpic  -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing  -DLIBICONV_PLUG -isystem /usr/local/include   -c rasterize.cpp -o rasterize.o
c++ -std=gnu++11 -I"/usr/local/lib/R/include" -DNDEBUG -I/usr/local/include  -DHAVE_PROJ_H -I/usr/local/include -I/usr/local/include -I'/usr/local/lib/R/library/Rcpp/include' -DLIBICONV_PLUG -I/usr/local/include -isystem /usr/local/include   -fpic  -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing  -DLIBICONV_PLUG -isystem /usr/local/include   -c read.cpp -o read.o
c++ -std=gnu++11 -I"/usr/local/lib/R/include" -DNDEBUG -I/usr/local/include  -DHAVE_PROJ_H -I/usr/local/include -I/usr/local/include -I'/usr/local/lib/R/library/Rcpp/include' -DLIBICONV_PLUG -I/usr/local/include -isystem /usr/local/include   -fpic  -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing  -DLIBICONV_PLUG -isystem /usr/local/include   -c read_gdal.cpp -o read_gdal.o
c++ -std=gnu++11 -I"/usr/local/lib/R/include" -DNDEBUG -I/usr/local/include  -DHAVE_PROJ_H -I/usr/local/include -I/usr/local/include -I'/usr/local/lib/R/library/Rcpp/include' -DLIBICONV_PLUG -I/usr/local/include -isystem /usr/local/include   -fpic  -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing  -DLIBICONV_PLUG -isystem /usr/local/include   -c read_ogr.cpp -o read_ogr.o
c++ -std=gnu++11 -I"/usr/local/lib/R/include" -DNDEBUG -I/usr/local/include  -DHAVE_PROJ_H -I/usr/local/include -I/usr/local/include -I'/usr/local/lib/R/library/Rcpp/include' -DLIBICONV_PLUG -I/usr/local/include -isystem /usr/local/include   -fpic  -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing  -DLIBICONV_PLUG -isystem /usr/local/include   -c sample.cpp -o sample.o
c++ -std=gnu++11 -I"/usr/local/lib/R/include" -DNDEBUG -I/usr/local/include  -DHAVE_PROJ_H -I/usr/local/include -I/usr/local/include -I'/usr/local/lib/R/library/Rcpp/include' -DLIBICONV_PLUG -I/usr/local/include -isystem /usr/local/include   -fpic  -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing  -DLIBICONV_PLUG -isystem /usr/local/include   -c spatBase.cpp -o spatBase.o
c++ -std=gnu++11 -I"/usr/local/lib/R/include" -DNDEBUG -I/usr/local/include  -DHAVE_PROJ_H -I/usr/local/include -I/usr/local/include -I'/usr/local/lib/R/library/Rcpp/include' -DLIBICONV_PLUG -I/usr/local/include -isystem /usr/local/include   -fpic  -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing  -DLIBICONV_PLUG -isystem /usr/local/include   -c spatDataframe.cpp -o spatDataframe.o
c++ -std=gnu++11 -I"/usr/local/lib/R/include" -DNDEBUG -I/usr/local/include  -DHAVE_PROJ_H -I/usr/local/include -I/usr/local/include -I'/usr/local/lib/R/library/Rcpp/include' -DLIBICONV_PLUG -I/usr/local/include -isystem /usr/local/include   -fpic  -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing  -DLIBICONV_PLUG -isystem /usr/local/include   -c spatFactor.cpp -o spatFactor.o
c++ -std=gnu++11 -I"/usr/local/lib/R/include" -DNDEBUG -I/usr/local/include  -DHAVE_PROJ_H -I/usr/local/include -I/usr/local/include -I'/usr/local/lib/R/library/Rcpp/include' -DLIBICONV_PLUG -I/usr/local/include -isystem /usr/local/include   -fpic  -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing  -DLIBICONV_PLUG -isystem /usr/local/include   -c spatRaster.cpp -o spatRaster.o
c++ -std=gnu++11 -I"/usr/local/lib/R/include" -DNDEBUG -I/usr/local/include  -DHAVE_PROJ_H -I/usr/local/include -I/usr/local/include -I'/usr/local/lib/R/library/Rcpp/include' -DLIBICONV_PLUG -I/usr/local/include -isystem /usr/local/include   -fpic  -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing  -DLIBICONV_PLUG -isystem /usr/local/include   -c spatSources.cpp -o spatSources.o
c++ -std=gnu++11 -I"/usr/local/lib/R/include" -DNDEBUG -I/usr/local/include  -DHAVE_PROJ_H -I/usr/local/include -I/usr/local/include -I'/usr/local/lib/R/library/Rcpp/include' -DLIBICONV_PLUG -I/usr/local/include -isystem /usr/local/include   -fpic  -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing  -DLIBICONV_PLUG -isystem /usr/local/include   -c spatTime.cpp -o spatTime.o
c++ -std=gnu++11 -I"/usr/local/lib/R/include" -DNDEBUG -I/usr/local/include  -DHAVE_PROJ_H -I/usr/local/include -I/usr/local/include -I'/usr/local/lib/R/library/Rcpp/include' -DLIBICONV_PLUG -I/usr/local/include -isystem /usr/local/include   -fpic  -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing  -DLIBICONV_PLUG -isystem /usr/local/include   -c spatVector.cpp -o spatVector.o
c++ -std=gnu++11 -I"/usr/local/lib/R/include" -DNDEBUG -I/usr/local/include  -DHAVE_PROJ_H -I/usr/local/include -I/usr/local/include -I'/usr/local/lib/R/library/Rcpp/include' -DLIBICONV_PLUG -I/usr/local/include -isystem /usr/local/include   -fpic  -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing  -DLIBICONV_PLUG -isystem /usr/local/include   -c string_utils.cpp -o string_utils.o
c++ -std=gnu++11 -I"/usr/local/lib/R/include" -DNDEBUG -I/usr/local/include  -DHAVE_PROJ_H -I/usr/local/include -I/usr/local/include -I'/usr/local/lib/R/library/Rcpp/include' -DLIBICONV_PLUG -I/usr/local/include -isystem /usr/local/include   -fpic  -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing  -DLIBICONV_PLUG -isystem /usr/local/include   -c vecmath.cpp -o vecmath.o
c++ -std=gnu++11 -I"/usr/local/lib/R/include" -DNDEBUG -I/usr/local/include  -DHAVE_PROJ_H -I/usr/local/include -I/usr/local/include -I'/usr/local/lib/R/library/Rcpp/include' -DLIBICONV_PLUG -I/usr/local/include -isystem /usr/local/include   -fpic  -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing  -DLIBICONV_PLUG -isystem /usr/local/include   -c vector_methods.cpp -o vector_methods.o
c++ -std=gnu++11 -I"/usr/local/lib/R/include" -DNDEBUG -I/usr/local/include  -DHAVE_PROJ_H -I/usr/local/include -I/usr/local/include -I'/usr/local/lib/R/library/Rcpp/include' -DLIBICONV_PLUG -I/usr/local/include -isystem /usr/local/include   -fpic  -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing  -DLIBICONV_PLUG -isystem /usr/local/include   -c write.cpp -o write.o
c++ -std=gnu++11 -I"/usr/local/lib/R/include" -DNDEBUG -I/usr/local/include  -DHAVE_PROJ_H -I/usr/local/include -I/usr/local/include -I'/usr/local/lib/R/library/Rcpp/include' -DLIBICONV_PLUG -I/usr/local/include -isystem /usr/local/include   -fpic  -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing  -DLIBICONV_PLUG -isystem /usr/local/include   -c write_gdal.cpp -o write_gdal.o
c++ -std=gnu++11 -I"/usr/local/lib/R/include" -DNDEBUG -I/usr/local/include  -DHAVE_PROJ_H -I/usr/local/include -I/usr/local/include -I'/usr/local/lib/R/library/Rcpp/include' -DLIBICONV_PLUG -I/usr/local/include -isystem /usr/local/include   -fpic  -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing  -DLIBICONV_PLUG -isystem /usr/local/include   -c write_ogr.cpp -o write_ogr.o
c++ -std=gnu++11 -shared -L/usr/local/lib/R/lib -L/usr/local/lib -Wl,-rpath=/usr/local/lib/gcc11 -L/usr/local/lib/gcc11 -B/usr/local/bin -fstack-protector-strong -o terra.so RcppExports.o RcppFunctions.o RcppModule.o arith.o crs.o distRaster.o distance.o extract.o file_utils.o focal.o gcp.o gdal_algs.o gdal_multidimensional.o gdalio.o geodesic.o geos_methods.o geosphere.o graticule.o math_utils.o mediancut.o memory.o ncdf.o ram.o raster_methods.o raster_stats.o rasterize.o read.o read_gdal.o read_ogr.o sample.o spatBase.o spatDataframe.o spatFactor.o spatRaster.o spatSources.o spatTime.o spatVector.o string_utils.o vecmath.o vector_methods.o write.o write_gdal.o write_ogr.o -L/usr/local/lib -lproj -L/usr/local/lib -lgdal -L/usr/local/lib -lgeos_c -L/usr/local/lib/R/lib -lR
gmake[1]: Leaving directory '/wrkdirs/usr/ports/math/R-cran-terra/work/terra/src'
installing to /wrkdirs/usr/ports/math/R-cran-terra/work/stage/usr/local/lib/R/library/00LOCK-terra/00new/terra/libs
** R
** inst
** tests
** byte-compile and prepare package for lazy loading
in method for 'sds' with signature 'x="stars"': no definition for class "stars"
in method for 'sds' with signature 'x="stars_proxy"': no definition for class "stars_proxy"
in method for 'svc' with signature 'x="sf"': no definition for class "sf"
in method for 'coerce' with signature '"stars","SpatRasterDataset"': no definition for class "stars"
in method for 'coerce' with signature '"ggmap","SpatRaster"': no definition for class "ggmap"
in method for 'coerce' with signature '"sf","SpatRaster"': no definition for class "sf"
in method for 'coerce' with signature '"sf","SpatVector"': no definition for class "sf"
in method for 'coerce' with signature '"sfc","SpatVector"': no definition for class "sfc"
in method for 'coerce' with signature '"sfg","SpatVector"': no definition for class "sfg"
in method for 'coerce' with signature '"XY","SpatVector"': no definition for class "XY"
in method for 'coerce' with signature '"im","SpatRaster"': no definition for class "im"
in method for 'coerce' with signature '"SpatVector","Spatial"': no definition for class "Spatial"
in method for 'coerce' with signature '"Spatial","SpatVector"': no definition for class "Spatial"
in method for 'coerce' with signature '"SpatialGrid","SpatRaster"': no definition for class "SpatialGrid"
in method for 'coerce' with signature '"SpatialPixels","SpatRaster"': no definition for class "SpatialPixels"
in method for 'crs' with signature '"sf"': no definition for class "sf"
Creating a generic function for 'ncol' from package 'base' in package 'terra'
in method for 'ext' with signature 'x="sf"': no definition for class "sf"
in method for 'ext' with signature 'x="Extent"': no definition for class "Extent"
in method for 'ext' with signature 'x="Raster"': no definition for class "Raster"
in method for 'ext' with signature 'x="Spatial"': no definition for class "Spatial"
in method for 'extract' with signature 'x="SpatRaster",y="sf"': no definition for class "sf"
in method for 'mask' with signature 'x="SpatRaster",mask="sf"': no definition for class "sf"
in method for 'lines' with signature 'x="leaflet"': no definition for class "leaflet"
in method for 'points' with signature 'x="leaflet"': no definition for class "leaflet"
in method for 'rast' with signature 'x="stars"': no definition for class "stars"
in method for 'rast' with signature 'x="stars_proxy"': no definition for class "stars_proxy"
in method for 'rasterize' with signature 'x="sf",y="SpatRaster"': no definition for class "sf"
in method for 'show' with signature '"Rcpp_SpatDataFrame"': no definition for class "Rcpp_SpatDataFrame"
in method for 'show' with signature '"Rcpp_SpatCategories"': no definition for class "Rcpp_SpatCategories"
in method for 'geomtype' with signature 'x="Spatial"': no definition for class "Spatial"
in method for 'vect' with signature 'x="Spatial"': no definition for class "Spatial"
in method for 'vect' with signature 'x="sf"': no definition for class "sf"
in method for 'vect' with signature 'x="sfc"': no definition for class "sfc"
in method for 'vect' with signature 'x="XY"': no definition for class "XY"
** help
*** installing help indices
*** copying figures
** building package indices
** testing if installed package can be loaded from temporary location
Error: package or namespace load failed for 'terra' in dyn.load(file, DLLpath = DLLpath, ...):
 unable to load shared object '/wrkdirs/usr/ports/math/R-cran-terra/work/stage/usr/local/lib/R/library/00LOCK-terra/00new/terra/libs/terra.so':
  /usr/local/lib/libkmlregionator.so.1: Undefined symbol "_ZN14kmlconvenience11FeatureList11RegionSplitERKN5boost13intrusive_ptrIN6kmldom6RegionEEEmPS0_"
Error: loading failed
Execution halted
ERROR: loading failed
* removing '/wrkdirs/usr/ports/math/R-cran-terra/work/stage/usr/local/lib/R/library/terra'
*** Error code 1

Stop.
make: stopped in /usr/ports/math/R-cran-terra