[package - 134i386-default][astro/R-cran-maptools] Failed for R-cran-maptools-1.1.8 in stage

From: <pkg-fallout_at_FreeBSD.org>
Date: Thu, 15 May 2025 14:46:48 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:        https://pkg-status.freebsd.org/beefy15/data/134i386-default/bccdadf9a3a6/logs/R-cran-maptools-1.1.8.log
Build URL:      https://pkg-status.freebsd.org/beefy15/build.html?mastername=134i386-default&build=bccdadf9a3a6
Log:

=>> Building astro/R-cran-maptools
build started at Thu May 15 14:44:02 UTC 2025
port directory: /usr/ports/astro/R-cran-maptools
package name: R-cran-maptools-1.1.8
building for: FreeBSD 134i386-default-job-04 13.4-RELEASE-p5 FreeBSD 13.4-RELEASE-p5 i386
maintained by: tota@FreeBSD.org
Makefile datestamp: -rw-r--r--  1 root  wheel  417 Feb 20 01:01 /usr/ports/astro/R-cran-maptools/Makefile
Ports top last git commit: bccdadf9a3
Ports top unclean checkout: no
Port dir last git commit: 1bb147345d
Port dir unclean checkout: no
Poudriere version: poudriere-git-3.4.2-12-g74a54a88
Host OSVERSION: 1500035
Jail OSVERSION: 1304000
Job Id: 04

---Begin Environment---
SHELL=/bin/csh
BLOCKSIZE=K
MAIL=/var/mail/root
MM_CHARSET=UTF-8
LANG=C.UTF-8
OSVERSION=1304000
STATUS=1
HOME=/root
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin
MAKE_OBJDIR_CHECK_WRITABLE=0
UNAME_m=i386
UNAME_p=i386
UNAME_r=13.4-RELEASE-p5
LOCALBASE=/usr/local
UNAME_v=FreeBSD 13.4-RELEASE-p5
USER=root
POUDRIERE_NAME=poudriere-git
LIBEXECPREFIX=/usr/local/libexec/poudriere
POUDRIERE_VERSION=3.4.2-12-g74a54a88
MASTERMNT=/usr/local/poudriere/data/.m/134i386-default/ref
LC_COLLATE=C
POUDRIERE_BUILD_TYPE=bulk
PACKAGE_BUILDING=yes
SAVED_TERM=
OUTPUT_REDIRECTED_STDERR=4
OUTPUT_REDIRECTED=1
PWD=/usr/local/poudriere/data/.m/134i386-default/04/.p
OUTPUT_REDIRECTED_STDOUT=3
P_PORTS_FEATURES=FLAVORS SUBPACKAGES SELECTED_OPTIONS
MASTERNAME=134i386-default
SCRIPTPREFIX=/usr/local/share/poudriere
SCRIPTNAME=bulk.sh
OLDPWD=/usr/local/poudriere/data/.m/134i386-default/ref/.p/pool
POUDRIERE_PKGNAME=poudriere-git-3.4.2-12-g74a54a88
SCRIPTPATH=/usr/local/share/poudriere/bulk.sh
POUDRIEREPATH=/usr/local/bin/poudriere
---End Environment---

---Begin Poudriere Port Flags/Env---
PORT_FLAGS=
PKGENV=
FLAVOR=
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="gfortran13" F90="gfortran13" FC="gfortran13"	 FFLAGS="-O -Wl,-rpath=/usr/local/lib/gcc13" F90FLAGS="-O -Wl,-rpath=/usr/local/lib/gcc13" FCFLAGS="-Wl,-rpath=/usr/local/lib/gcc13" XDG_DATA_HOME=/wrkdirs/usr/ports/astro/R-cran-maptools/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/astro/R-cran-maptools/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/astro/R-cran-maptools/work/.cache  HOME=/wrkdirs/usr/ports/astro/R-cran-maptools/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/astro/R-cran-maptools/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/astro/R-cran-maptools/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="gfortran13" F90="gfortran13" FC="gfortran13"	 FFLAGS="-O -Wl,-rpath=/usr/local/lib/gcc13" F90FLAGS="-O -Wl,-rpath=/usr/local/lib/gcc13" FCFLAGS="-Wl,-rpath=/usr/local/lib/gcc13" XDG_DATA_HOME=/wrkdirs/usr/ports/astro/R-cran-maptools/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/astro/R-cran-maptools/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/astro/R-cran-maptools/work/.cache  HOME=/wrkdirs/usr/ports/astro/R-cran-maptools/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/astro/R-cran-maptools/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/astro/R-cran-maptools/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig 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="/u
sr/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/gcc13  -L/usr/local/lib/gcc13 -fstack-protector-strong " LIBS=""  CXX="c++" CXXFLAGS="-O2 -pipe -fstack-protector-strong -fno-strict-aliasing  " 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/maptools OSREL=13.4 PREFIX=%D LOCALBASE=/usr/local  RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/maptools"  EXAMPLESDIR="share/examples/maptools"  DATADIR="share/maptools"  WWWDIR="www/maptools"  ETCDIR="etc/maptools"
--End PLIST_SUB--

--SUB_LIST--
PREFIX=/usr/local LOCALBASE=/usr/local  DATADIR=/usr/local/share/maptools DOCSDIR=/usr/local/share/doc/maptools EXAMPLESDIR=/usr/local/share/examples/maptools  WWWDIR=/usr/local/www/maptools ETCDIR=/usr/local/etc/maptools
--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
MACHINE=i386
MACHINE_ARCH=i386
ARCH=${MACHINE_ARCH}
####  ####
# 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 3 jobs
MAKE_JOBS_NUMBER=3
#### Misc Poudriere ####
.include "/etc/make.conf.ports_env"
GID=0
UID=0
---End make.conf---
--Resource limits--
cpu time               (seconds, -t)  unlimited
file size           (512-blocks, -f)  unlimited
data seg size           (kbytes, -d)  524288
stack size              (kbytes, -s)  65536
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)  8192
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   >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>  License GPLv2+ accepted by the user
===========================================================================
=======================<phase: pkg-depends    >============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===>   R-cran-maptools-1.1.8 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-2.1.2.pkg
[134i386-default-job-04] Installing pkg-2.1.2...
[134i386-default-job-04] Extracting pkg-2.1.2: .......... done
===>   R-cran-maptools-1.1.8 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of R-cran-maptools-1.1.8
===========================================================================
=======================<phase: fetch-depends  >============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===========================================================================
=======================<phase: fetch          >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>  License GPLv2+ accepted by the user
===> Fetching all distfiles required by R-cran-maptools-1.1.8 for building
===========================================================================
=======================<phase: checksum       >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>  License GPLv2+ accepted by the user
===> Fetching all distfiles required by R-cran-maptools-1.1.8 for building
=> SHA256 Checksum OK for maptools_1.1-8.tar.gz.
===========================================================================
=======================<phase: extract-depends>============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===========================================================================
=======================<phase: extract        >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>  License GPLv2+ accepted by the user
===> Fetching all distfiles required by R-cran-maptools-1.1.8 for building
===>  Extracting for R-cran-maptools-1.1.8
=> SHA256 Checksum OK for maptools_1.1-8.tar.gz.
===========================================================================
=======================<phase: patch-depends  >============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===========================================================================
=======================<phase: patch          >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>  Patching for R-cran-maptools-1.1.8
===========================================================================
=======================<phase: build-depends  >============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===>   R-cran-maptools-1.1.8 depends on package: R-cran-sp>=1.0.11 - not found
===>   Installing existing package /packages/All/R-cran-sp-2.2.0.pkg
[134i386-default-job-04] Installing R-cran-sp-2.2.0...
[134i386-default-job-04] `-- Installing R-4.5.0...
[134i386-default-job-04] |   `-- Installing cairo-1.18.2,3...
[134i386-default-job-04] |   | `-- Installing fontconfig-2.15.0_3,1...
[134i386-default-job-04] |   |   `-- Installing expat-2.7.1...
[134i386-default-job-04] |   |   `-- Extracting expat-2.7.1: .......... done
[134i386-default-job-04] |   |   `-- Installing freetype2-2.13.3...
[134i386-default-job-04] |   |   | `-- Installing brotli-1.1.0,1...
[134i386-default-job-04] |   |   | `-- Extracting brotli-1.1.0,1: .......... done
[134i386-default-job-04] |   |   | `-- Installing png-1.6.47...
[134i386-default-job-04] |   |   | `-- Extracting png-1.6.47: .......... done
[134i386-default-job-04] |   |   `-- Extracting freetype2-2.13.3: .......... done
[134i386-default-job-04] |   | `-- Extracting fontconfig-2.15.0_3,1: .......... done
[134i386-default-job-04] |   | `-- Installing gettext-runtime-0.23.1...
[134i386-default-job-04] |   |   `-- Installing indexinfo-0.3.1_1...
[134i386-default-job-04] |   |   `-- Extracting indexinfo-0.3.1_1: .... done
[134i386-default-job-04] |   | `-- Extracting gettext-runtime-0.23.1: .......... done
[134i386-default-job-04] |   | `-- Installing glib-2.84.1_2,2...
[134i386-default-job-04] |   |   `-- Installing libffi-3.4.8...
[134i386-default-job-04] |   |   `-- Extracting libffi-3.4.8: .......... done
<snip>
[134i386-default-job-04] |   |   | `-- Extracting lerc-4.0.0: ........ done
[134i386-default-job-04] |   |   | `-- Installing libdeflate-1.22...
[134i386-default-job-04] |   |   | `-- Extracting libdeflate-1.22: .......... done
[134i386-default-job-04] |   |   `-- Extracting tiff-4.7.0: .......... done
[134i386-default-job-04] |   | `-- Extracting lcms2-2.17: .......... done
[134i386-default-job-04] |   | `-- Installing libXt-1.3.0,1...
[134i386-default-job-04] |   | `-- Extracting libXt-1.3.0,1: .......... done
[134i386-default-job-04] |   | `-- Installing libidn-1.43...
[134i386-default-job-04] |   | `-- Extracting libidn-1.43: .......... done
[134i386-default-job-04] |   | `-- Installing openjpeg-2.5.3...
[134i386-default-job-04] |   | `-- Extracting openjpeg-2.5.3: .......... done
[134i386-default-job-04] |   | `-- Installing poppler-data-0.4.12...
[134i386-default-job-04] |   | `-- Extracting poppler-data-0.4.12: .......... done
[134i386-default-job-04] |   | `-- Installing urw-base35-fonts-20200910...
[134i386-default-job-04] |   |   `-- Installing mkfontscale-1.2.3...
[134i386-default-job-04] |   |   | `-- Installing libfontenc-1.1.8...
[134i386-default-job-04] |   |   | `-- Extracting libfontenc-1.1.8: ......... done
[134i386-default-job-04] |   |   `-- Extracting mkfontscale-1.2.3: ....... done
[134i386-default-job-04] |   | `-- Extracting urw-base35-fonts-20200910: .......... done
[134i386-default-job-04] |   `-- Extracting ghostscript10-10.05.1: .......... done
[134i386-default-job-04] |   `-- Installing gmake-4.4.1...
[134i386-default-job-04] |   `-- Extracting gmake-4.4.1: .......... done
[134i386-default-job-04] |   `-- Installing harfbuzz-10.3.0...
[134i386-default-job-04] |   | `-- Installing graphite2-1.3.14...
[134i386-default-job-04] |   | `-- Extracting graphite2-1.3.14: .......... done
[134i386-default-job-04] |   `-- Extracting harfbuzz-10.3.0: .......... done
[134i386-default-job-04] |   `-- Installing icu-76.1,1...
[134i386-default-job-04] |   `-- Extracting icu-76.1,1: .......... done
[134i386-default-job-04] |   `-- Installing libXScrnSaver-1.2.4_1...
[134i386-default-job-04] |   `-- Extracting libXScrnSaver-1.2.4_1: .......... done
[134i386-default-job-04] |   `-- Installing libXmu-1.1.4,1...
[134i386-default-job-04] |   `-- Extracting libXmu-1.1.4,1: .......... done
[134i386-default-job-04] |   `-- Installing pango-1.56.1...
[134i386-default-job-04] |   | `-- Installing fribidi-1.0.16...
[134i386-default-job-04] |   | `-- Extracting fribidi-1.0.16: .......... done
[134i386-default-job-04] |   | `-- Installing libXft-2.3.8...
[134i386-default-job-04] |   | `-- Extracting libXft-2.3.8: .......... done
[134i386-default-job-04] |   | `-- Installing libthai-0.1.29_1...
[134i386-default-job-04] |   |   `-- Installing libdatrie-0.2.13_2...
[134i386-default-job-04] |   |   `-- Extracting libdatrie-0.2.13_2: .......... done
[134i386-default-job-04] |   | `-- Extracting libthai-0.1.29_1: .......... done
[134i386-default-job-04] |   `-- Extracting pango-1.56.1: .......... done
[134i386-default-job-04] |   `-- Installing tcl86-8.6.16_2...
[134i386-default-job-04] |   `-- Extracting tcl86-8.6.16_2: .......... done
[134i386-default-job-04] |   `-- Installing tk86-8.6.16...
[134i386-default-job-04] |   `-- Extracting tk86-8.6.16: .......... done
[134i386-default-job-04] `-- Extracting R-4.5.0: .......... done
[134i386-default-job-04] Extracting R-cran-sp-2.2.0: .......... done
==> Running trigger: fontconfig.ucl
Running fc-cache to build fontconfig cache...
==> Running trigger: gio-modules.ucl
Generating GIO modules cache
==> Running trigger: glib-schemas.ucl
Compiling glib schemas
No schema files found: doing nothing.
=====
Message from freetype2-2.13.3:

--
The 2.7.x series now uses the new subpixel hinting mode (V40 port's option) as
the default, emulating a modern version of ClearType. This change inevitably
leads to different rendering results, and you might change port's options to
adapt it to your taste (or use the new "FREETYPE_PROPERTIES" environment
variable).

The environment variable "FREETYPE_PROPERTIES" can be used to control the
driver properties. Example:

FREETYPE_PROPERTIES=truetype:interpreter-version=35 \
	cff:no-stem-darkening=1 \
	autofitter:warping=1

This allows to select, say, the subpixel hinting mode at runtime for a given
application.

If LONG_PCF_NAMES port's option was enabled, the PCF family names may include
the foundry and information whether they contain wide characters. For example,
"Sony Fixed" or "Misc Fixed Wide", instead of "Fixed". This can be disabled at
run time with using pcf:no-long-family-names property, if needed. Example:

FREETYPE_PROPERTIES=pcf:no-long-family-names=1

How to recreate fontconfig cache with using such environment variable,
if needed:
# env FREETYPE_PROPERTIES=pcf:no-long-family-names=1 fc-cache -fsv

The controllable properties are listed in the section "Controlling FreeType
Modules" in the reference's table of contents
(/usr/local/share/doc/freetype2/reference/index.html, if documentation was installed).
=====
Message from libinotify-20240724_1:

--
You might want to consider increasing the kern.maxfiles tunable if you plan
to use this library for applications that need to monitor activity of a lot
of files.
=====
Message from python311-3.11.12:

--
Note that some standard Python modules are provided as separate ports
as they require additional dependencies. They are available as:

py311-gdbm       databases/py-gdbm@py311
py311-sqlite3    databases/py-sqlite3@py311
py311-tkinter    x11-toolkits/py-tkinter@py311
=====
Message from gcc13-13.3.0_3:

--
To ensure binaries built with this toolchain find appropriate versions
of the necessary run-time libraries, you may want to link using

  -Wl,-rpath=/usr/local/lib/gcc13

For ports leveraging USE_GCC, USES=compiler, or USES=fortran this happens
transparently.
=====
Message from ghostscript10-10.05.1:

--
This package installs a script named dvipdf that depends on dvips.  If you
want to use this script you need to install print/tex-dvipsk.
===>   R-cran-maptools-1.1.8 depends on package: R-cran-sp>=1.0.11 - found
===>   Returning to build of R-cran-maptools-1.1.8
===>   R-cran-maptools-1.1.8 depends on file: /usr/local/bin/R - found
===>   R-cran-maptools-1.1.8 depends on executable: gfortran13 - found
===>   R-cran-maptools-1.1.8 depends on file: /usr/local/bin/as - found
===========================================================================
=======================<phase: lib-depends    >============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===========================================================================
=======================<phase: configure      >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>  Configuring for R-cran-maptools-1.1.8
===========================================================================
=======================<phase: build          >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===========================================================================
=======================<phase: run-depends    >============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===>   R-cran-maptools-1.1.8 depends on package: R-cran-sp>=1.0.11 - found
===>   R-cran-maptools-1.1.8 depends on file: /usr/local/bin/R - found
===>   R-cran-maptools-1.1.8 depends on executable: gfortran13 - found
===========================================================================
=======================<phase: stage          >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>  Staging for R-cran-maptools-1.1.8
===>   Generating temporary packing list
* installing *source* package 'maptools' ...
** this is package 'maptools' version '1.1-8'
** package 'maptools' successfully unpacked and MD5 sums checked
** using staged installation
** libs
using C compiler: 'FreeBSD clang version 18.1.6 (https://github.com/llvm/llvm-project.git llvmorg-18.1.6-0-g1118c2e05e67)'
cc -std=gnu23 -I"/usr/local/lib/R/include" -DNDEBUG   -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 Rcentroid.c -o Rcentroid.o
cc -std=gnu23 -I"/usr/local/lib/R/include" -DNDEBUG   -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 Rgshhs.c -o Rgshhs.o
Rgshhs.c:101:9: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
  101 |                 error(msg);
      |                       ^~~
Rgshhs.c:101:9: note: treat the string as an argument to avoid this
  101 |                 error(msg);
      |                       ^
      |                       "%s", 
Rgshhs.c:341:12: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
  341 |                                         error(msg);
      |                                               ^~~
Rgshhs.c:341:12: note: treat the string as an argument to avoid this
  341 |                                         error(msg);
      |                                               ^
      |                                               "%s", 
2 warnings generated.
cc -std=gnu23 -I"/usr/local/lib/R/include" -DNDEBUG   -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 Rshapeget.c -o Rshapeget.o
cc -std=gnu23 -I"/usr/local/lib/R/include" -DNDEBUG   -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 Rshapeinfo.c -o Rshapeinfo.o
cc -std=gnu23 -I"/usr/local/lib/R/include" -DNDEBUG   -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 Rshapewrite.c -o Rshapewrite.o
cc -std=gnu23 -I"/usr/local/lib/R/include" -DNDEBUG   -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 Rshapewrite1.c -o Rshapewrite1.o
cc -std=gnu23 -I"/usr/local/lib/R/include" -DNDEBUG   -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 init.c -o init.o
cc -std=gnu23 -I"/usr/local/lib/R/include" -DNDEBUG   -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 insiders.c -o insiders.o
cc -std=gnu23 -I"/usr/local/lib/R/include" -DNDEBUG   -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 pip.c -o pip.o
pip.c:45:43: error: unexpected type name 'PLOT_POINT': expected expression
   45 |         pol.p = (PLOT_POINT *) Calloc(pol.lines, PLOT_POINT); /* Calloc does error handling */
      |                                                  ^
pip.c:45:25: error: use of undeclared identifier 'Calloc'
   45 |         pol.p = (PLOT_POINT *) Calloc(pol.lines, PLOT_POINT); /* Calloc does error handling */
      |                                ^
pip.c:73:2: error: use of undeclared identifier 'Free'; did you mean 'free'?
   73 |         Free(pol.p);
      |         ^~~~
      |         free
/usr/include/stdlib.h:101:7: note: 'free' declared here
  101 | void     free(void *);
      |          ^
3 errors generated.
gmake: *** [/usr/local/lib/R/etc/Makeconf:202: pip.o] Error 1
ERROR: compilation failed for package 'maptools'
* removing '/wrkdirs/usr/ports/astro/R-cran-maptools/work/stage/usr/local/lib/R/library/maptools'
*** Error code 1

Stop.
make: stopped in /usr/ports/astro/R-cran-maptools