[package - 132amd64-quarterly][graphics/mapnik] Failed for mapnik-3.1.0_3 in build

From: <pkg-fallout_at_FreeBSD.org>
Date: Thu, 23 Nov 2023 01:17:12 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:     david.hummel@gmail.com
Log URL:        https://pkg-status.freebsd.org/beefy14/data/132amd64-quarterly/3007def6319a/logs/mapnik-3.1.0_3.log
Build URL:      https://pkg-status.freebsd.org/beefy14/build.html?mastername=132amd64-quarterly&build=3007def6319a
Log:

=>> Building graphics/mapnik
build started at Thu Nov 23 01:15:23 UTC 2023
port directory: /usr/ports/graphics/mapnik
package name: mapnik-3.1.0_3
building for: FreeBSD 132amd64-quarterly-job-08 13.2-RELEASE-p5 FreeBSD 13.2-RELEASE-p5 amd64
maintained by: david.hummel@gmail.com
Makefile datestamp: -rw-r--r--  1 root  wheel  4128 Oct  3 01:01 /usr/ports/graphics/mapnik/Makefile
Ports top last git commit: 3007def63
Ports top unclean checkout: no
Port dir last git commit: 2195304f9
Port dir unclean checkout: no
Poudriere version: poudriere-git-3.3.0-1258-gbc38e2e6
Host OSVERSION: 1500000
Jail OSVERSION: 1302001
Job Id: 08

---Begin Environment---
SHELL=/bin/csh
OSVERSION=1302001
UNAME_v=FreeBSD 13.2-RELEASE-p5
UNAME_r=13.2-RELEASE-p5
BLOCKSIZE=K
MAIL=/var/mail/root
MM_CHARSET=UTF-8
LANG=C.UTF-8
STATUS=1
HOME=/root
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin
LOCALBASE=/usr/local
USER=root
POUDRIERE_NAME=poudriere-git
LIBEXECPREFIX=/usr/local/libexec/poudriere
POUDRIERE_VERSION=3.3.0-1258-gbc38e2e6
MASTERMNT=/usr/local/poudriere/data/.m/132amd64-quarterly/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/132amd64-quarterly/08/.p
OUTPUT_REDIRECTED_STDOUT=3
P_PORTS_FEATURES=FLAVORS SELECTED_OPTIONS
MASTERNAME=132amd64-quarterly
SCRIPTPREFIX=/usr/local/share/poudriere
SCRIPTNAME=bulk.sh
OLDPWD=/usr/local/poudriere/data/.m/132amd64-quarterly/ref/.p/pool
POUDRIERE_PKGNAME=poudriere-git-3.3.0-1258-gbc38e2e6
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---
===> The following configuration options are available for mapnik-3.1.0_3:
     CAIRO=on: Enable cairo rendering
     DOCS=on: Build and/or install documentation
     JPEG=on: JPEG image format support
     PNG=on: PNG image format support
     PROJ=on: PROJ support
     TIFF=on: TIFF image format support
     WEBP=on: WebP image format support
====> Input plugins
     GDAL=on: GDAL input plugin
     OGR=on: OGR input plugin
     PGRASTER=on: PGraster input plugin
     POSTGIS=on: PostGIS input plugin
     SQLITE3=on: SQLite input plugin
===> Use 'make config' to modify these settings
---End OPTIONS List---

--MAINTAINER--
david.hummel@gmail.com
--End MAINTAINER--

--CONFIGURE_ARGS--
CPP_TESTS=False  CUSTOM_CFLAGS="-O2 -pipe  -fstack-protector-strong -fno-strict-aliasing "  CUSTOM_CXXFLAGS="-O2 -pipe -fstack-protector-strong -fno-strict-aliasing  "  CUSTOM_LDFLAGS=" -L/usr/local/lib -fstack-protector-strong "  DEMO=False  DESTDIR="/wrkdirs/usr/ports/graphics/mapnik/work/stage"  FAST=True  INPUT_PLUGINS="`echo csv raster shape geojson topojson gdal ogr pgraster postgis sqlite | /usr/bin/tr ' ' ,`"  SVG2PNG=True  SYSTEM_FONTS=/usr/local/share/fonts/dejavu  XMLPARSER=libxml2
--End CONFIGURE_ARGS--

--CONFIGURE_ENV--
PYTHON="/usr/local/bin/python3.9" MAKE=gmake PKG_CONFIG=pkgconf PYTHON="/usr/local/bin/python3.9" XDG_DATA_HOME=/wrkdirs/usr/ports/graphics/mapnik/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/graphics/mapnik/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/graphics/mapnik/work/.cache  HOME=/wrkdirs/usr/ports/graphics/mapnik/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/graphics/mapnik/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/graphics/mapnik/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig SHELL=/bin/sh CONFIG_SHELL=/bin/sh LANG=en_US.UTF-8 LC_ALL=en_US.UTF-8
--End CONFIGURE_ENV--

--MAKE_ENV--
JOBS=3 XDG_DATA_HOME=/wrkdirs/usr/ports/graphics/mapnik/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/graphics/mapnik/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/graphics/mapnik/work/.cache  HOME=/wrkdirs/usr/ports/graphics/mapnik/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/graphics/mapnik/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/graphics/mapnik/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 LANG=en_US.UTF-8 LC_ALL=en_US.UTF-8 PREFIX=/usr/local  LOCALBASE=/usr/local  CC="cc" CFLAGS="-O2 -pipe  -fstack-protector-strong -fno-strict-aliasing "  CPP="cpp" CPPFLAGS="-I/usr/local/include"  LDFLAGS=" -L/usr/local/lib -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_INSTAL
L_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--
PORTDOCS="" CAIRO="" NO_CAIRO="@comment " DOCS="" NO_DOCS="@comment " GDAL="" NO_GDAL="@comment " JPEG="" NO_JPEG="@comment " OGR="" NO_OGR="@comment " PGRASTER="" NO_PGRASTER="@comment " PNG="" NO_PNG="@comment " POSTGIS="" NO_POSTGIS="@comment " PROJ="" NO_PROJ="@comment " SQLITE3="" NO_SQLITE3="@comment " TIFF="" NO_TIFF="@comment " WEBP="" NO_WEBP="@comment " GTK2_VERSION="2.10.0"  GTK3_VERSION="3.0.0"  GTK4_VERSION="4.0.0" PYTHON_INCLUDEDIR=include/python3.9  PYTHON_LIBDIR=lib/python3.9  PYTHON_PLATFORM=freebsd13  PYTHON_SITELIBDIR=lib/python3.9/site-packages  PYTHON_SUFFIX=39  PYTHON_EXT_SUFFIX=.cpython-39  PYTHON_VER=3.9  PYTHON_VERSION=python3.9 PYTHON2="@comment " PYTHON3="" OSREL=13.2 PREFIX=%D LOCALBASE=/usr/local  RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/mapnik"  EXAMPLESDIR="share/examples/mapnik"  DATADIR="share/mapnik"  WWWDIR="www/mapnik"  ETCDIR="etc/mapnik"
--End PLIST_SUB--

--SUB_LIST--
 CAIRO="" NO_CAIRO="@comment " DOCS="" NO_DOCS="@comment " GDAL="" NO_GDAL="@comment " JPEG="" NO_JPEG="@comment " OGR="" NO_OGR="@comment " PGRASTER="" NO_PGRASTER="@comment " PNG="" NO_PNG="@comment " POSTGIS="" NO_POSTGIS="@comment " PROJ="" NO_PROJ="@comment " SQLITE3="" NO_SQLITE3="@comment " TIFF="" NO_TIFF="@comment " WEBP="" NO_WEBP="@comment " PYTHON_INCLUDEDIR=/usr/local/include/python3.9  PYTHON_LIBDIR=/usr/local/lib/python3.9  PYTHON_PLATFORM=freebsd13  PYTHON_SITELIBDIR=/usr/local/lib/python3.9/site-packages  PYTHON_SUFFIX=39  PYTHON_EXT_SUFFIX=.cpython-39  PYTHON_VER=3.9  PYTHON_VERSION=python3.9 PYTHON2="@comment " PYTHON3="" PREFIX=/usr/local LOCALBASE=/usr/local  DATADIR=/usr/local/share/mapnik DOCSDIR=/usr/local/share/doc/mapnik EXAMPLESDIR=/usr/local/share/examples/mapnik  WWWDIR=/usr/local/www/mapnik ETCDIR=/usr/local/etc/mapnik
--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
####  ####
# 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)  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)  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 LGPL21+ accepted by the user
===========================================================================
=======================<phase: pkg-depends    >============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===>   mapnik-3.1.0_3 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-1.20.8.pkg
[132amd64-quarterly-job-08] Installing pkg-1.20.8...
[132amd64-quarterly-job-08] Extracting pkg-1.20.8: .......... done
===>   mapnik-3.1.0_3 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of mapnik-3.1.0_3
===========================================================================
=======================<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 LGPL21+ accepted by the user
===> Fetching all distfiles required by mapnik-3.1.0_3 for building
===========================================================================
=======================<phase: checksum       >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>  License LGPL21+ accepted by the user
===> Fetching all distfiles required by mapnik-3.1.0_3 for building
=> SHA256 Checksum OK for mapnik-v3.1.0.tar.bz2.
=> SHA256 Checksum OK for 8944e81367d2b3b91a41e24116e1813c01491e5d.patch.
=> SHA256 Checksum OK for 83779b7b6bdd229740b1b5e12a4a8fe27114cb7d.patch.
=> SHA256 Checksum OK for 7f0daee8b37d8cf6eff32529b1762ffd5104f3f3.patch.
===========================================================================
=======================<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 LGPL21+ accepted by the user
===> Fetching all distfiles required by mapnik-3.1.0_3 for building
===>  Extracting for mapnik-3.1.0_3
=> SHA256 Checksum OK for mapnik-v3.1.0.tar.bz2.
=> SHA256 Checksum OK for 8944e81367d2b3b91a41e24116e1813c01491e5d.patch.
=> SHA256 Checksum OK for 83779b7b6bdd229740b1b5e12a4a8fe27114cb7d.patch.
=> SHA256 Checksum OK for 7f0daee8b37d8cf6eff32529b1762ffd5104f3f3.patch.
===========================================================================
=======================<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 mapnik-3.1.0_3
===>  Applying distribution patches for mapnik-3.1.0_3
===========================================================================
=======================<phase: build-depends  >============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===>   mapnik-3.1.0_3 depends on file: /usr/local/share/fonts/dejavu/DejaVuSans.ttf - not found
===>   Installing existing package /packages/All/dejavu-2.37_3.pkg
[132amd64-quarterly-job-08] Installing dejavu-2.37_3...
[132amd64-quarterly-job-08] `-- Installing fontconfig-2.14.2,1...
[132amd64-quarterly-job-08] |   `-- Installing expat-2.5.0...
[132amd64-quarterly-job-08] |   `-- Extracting expat-2.5.0: .......... done
<snip>
  -Wl,-rpath=/usr/local/lib/gcc12

For ports leveraging USE_GCC, USES=compiler, or USES=fortran this happens
transparently.
=====
Message from postgresql15-client-15.4:

--
The PostgreSQL port has a collection of "side orders":

postgresql-docs
  For all of the html documentation

p5-Pg
  A perl5 API for client access to PostgreSQL databases.

postgresql-tcltk
  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...
===>   mapnik-3.1.0_3 depends on shared library: libgdal.so - found (/usr/local/lib/libgdal.so)
===>   Returning to build of mapnik-3.1.0_3
===>   mapnik-3.1.0_3 depends on shared library: libgdal.so - found (/usr/local/lib/libgdal.so)
===>   mapnik-3.1.0_3 depends on shared library: libpng.so - found (/usr/local/lib/libpng.so)
===>   mapnik-3.1.0_3 depends on shared library: libproj.so - found (/usr/local/lib/libproj.so)
===>   mapnik-3.1.0_3 depends on shared library: libsqlite3.so - found (/usr/local/lib/libsqlite3.so)
===>   mapnik-3.1.0_3 depends on shared library: libtiff.so - found (/usr/local/lib/libtiff.so)
===>   mapnik-3.1.0_3 depends on shared library: libwebp.so - found (/usr/local/lib/libwebp.so)
===>   mapnik-3.1.0_3 depends on shared library: libxml2.so - found (/usr/local/lib/libxml2.so)
===>   mapnik-3.1.0_3 depends on shared library: libjpeg.so - found (/usr/local/lib/libjpeg.so)
===>   mapnik-3.1.0_3 depends on shared library: libpq.so.5 - found (/usr/local/lib/libpq.so.5)
===========================================================================
=======================<phase: configure      >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>  Configuring for mapnik-3.1.0_3
/wrkdirs/usr/ports/graphics/mapnik/work/mapnik-v3.1.0/scons/scons-local-3.0.1/SCons/Defaults.py:213: SyntaxWarning: "is not" with a literal. Did you mean "!="?
  if len(operation_list) is not 2:
scons: Reading SConscript files ...

Welcome to Mapnik...

Configuring build environment...
Configuring on FreeBSD in *release mode*...
Checking for pkg-config... yes
Checking for freetype2... yes
Checking for xml2-config... yes
Checking for dlfcn.h support ... yes
Checking if compiler (c++) supports -std=c++14 flag... (cached) yes
Checking for C library z... yes
Checking for C++ library icuuc... yes
Checking for ICU version >= 4.2... found: icu 73.2
(cached) Checking for C++ library harfbuzz... yes
Checking for HarfBuzz version >= 0.9.34... found: HarfBuzz 8.2.2
Checking for HarfBuzz with freetype support
(cached) yes
Searching for boost libs and headers... (cached) 
Found boost libs: /usr/local/lib
Found boost headers: /usr/local/include
Checking for C++ header file boost/version.hpp... yes
Checking for Boost version >= 1.61... yes
Found boost lib version... 1_83
Checking for C++ library boost_system... yes
Checking for C++ library boost_filesystem... yes
Checking for C++ library boost_regex... yes
Checking for C++ library boost_program_options... yes
Checking whether Boost was compiled with C++11 scoped enums ... yes
Checking if boost_regex was built with ICU unicode support... (cached) yes
Checking for C library jpeg... yes
Checking for C library proj... yes
Checking for Proj version >=7.2.0...yes (found Proj 9.2.1)
Checking for C library png... yes
Checking for C library webp... yes
Checking for C library tiff... yes
Checking for PROJ_LIB directory...proj_info.searchpath returned /usr/local/share/proj
Checking for ICU data directory...u_getDataDirectory returned /usr/local/share/icu/73.2
Checking for GDAL data directory...GDAL_PREFIX returned /usr/local/share/gdal

Checking for requested plugins dependencies...
Checking for gdal-config --libs... yes
Checking for gdal-config --cflags... yes
Checking for name of gdal library... gdal
Checking for C++ library gdal... yes
Checking if gdal is ogr enabled... yes
Checking for gdal-config --libs... yes
Checking for gdal-config --cflags... yes
Checking for name of ogr library... gdal
Checking for C++ library gdal... yes
Checking for pg_config... yes
Checking for pg_config... yes
Checking for C library sqlite3... yes
Checking if SQLite supports RTREE... (cached) yes
Checking for cairo... yes
Checking for cairo lib and include paths... yes
Checking for cairo freetype font support ... yes

All Required dependencies found!

Saving new file 'config.py'...
Will hold custom path variables from commandline and python config file(s)...

Configure completed: run `make` to build or `make install`
===========================================================================
=======================<phase: build          >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>  Building for mapnik-3.1.0_3
gmake[1]: Entering directory '/wrkdirs/usr/ports/graphics/mapnik/work/mapnik-v3.1.0'
# we first build memory intensive files with -j1
/usr/local/bin/python3.9 scons/scons.py -j1 \
	--config=cache --implicit-cache --max-drift=1 \
	src/renderer_common/render_group_symbolizer.os \
	src/renderer_common/render_markers_symbolizer.os \
	src/renderer_common/render_thunk_extractor.os \
	src/json/libmapnik-json.a \
	src/wkt/libmapnik-wkt.a \
	src/css_color_grammar.os \
	src/expression_grammar.os \
	src/transform_expression_grammar.os \
	src/image_filter_grammar.os \
	src/marker_helpers.os \
	src/svg/svg_transform_parser.os \
	src/agg/process_line_symbolizer.os \
	plugins/input/geojson/geojson_datasource.os \
	utils/mapnik-index/process_geojson_file.o \
	src/svg/svg_path_parser.os \
	src/svg/svg_parser.os \
	src/svg/svg_points_parser.os \
	src/svg/svg_transform_parser.os \

scons: Reading SConscript files ...
Using previous successful configuration...
Re-configure by running "python scons/scons.py configure".

Welcome to Mapnik...

scons: done reading SConscript files.
scons: Building targets ...
c++ -o src/renderer_common/render_group_symbolizer.os -c -std=c++14 -DU_USING_ICU_NAMESPACE=0 -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -fvisibility=hidden -fvisibility-inlines-hidden -Wall -pthread -ftemplate-depth-300 -Wsign-compare -Wshadow -O3 -fPIC -DMAPNIK_MEMORY_MAPPED_FILE -DMAPNIK_HAS_DLCFN -DBIGINT -DBOOST_REGEX_HAS_ICU -DHAVE_JPEG -DMAPNIK_USE_PROJ -DPROJ_VERSION=90201 -DHAVE_PNG -DHAVE_WEBP -DHAVE_TIFF -DFREEBSD -DMAPNIK_THREADSAFE -DBOOST_SPIRIT_NO_PREDEFINED_TERMINALS=1 -DBOOST_PHOENIX_NO_PREDEFINED_TERMINALS=1 -DBOOST_SPIRIT_USE_PHOENIX_V3=1 -DNDEBUG -DHAVE_CAIRO -DGRID_RENDERER -DHAVE_LIBXML2 -Ideps -Ideps/mapbox/variant/include -Ideps/agg/include -Iinclude -I/usr/local/include/libxml2 -I/usr/local/include/libpng16 -I/usr/local/include/freetype2 -I/usr/local/include -I/usr/local/include/cairo -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/pixman-1 src/renderer_common/render_group_symbolizer.cpp
c++ -o src/renderer_common/render_markers_symbolizer.os -c -std=c++14 -DU_USING_ICU_NAMESPACE=0 -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -fvisibility=hidden -fvisibility-inlines-hidden -Wall -pthread -ftemplate-depth-300 -Wsign-compare -Wshadow -O3 -fPIC -DMAPNIK_MEMORY_MAPPED_FILE -DMAPNIK_HAS_DLCFN -DBIGINT -DBOOST_REGEX_HAS_ICU -DHAVE_JPEG -DMAPNIK_USE_PROJ -DPROJ_VERSION=90201 -DHAVE_PNG -DHAVE_WEBP -DHAVE_TIFF -DFREEBSD -DMAPNIK_THREADSAFE -DBOOST_SPIRIT_NO_PREDEFINED_TERMINALS=1 -DBOOST_PHOENIX_NO_PREDEFINED_TERMINALS=1 -DBOOST_SPIRIT_USE_PHOENIX_V3=1 -DNDEBUG -DHAVE_CAIRO -DGRID_RENDERER -DHAVE_LIBXML2 -Ideps -Ideps/mapbox/variant/include -Ideps/agg/include -Iinclude -I/usr/local/include/libxml2 -I/usr/local/include/libpng16 -I/usr/local/include/freetype2 -I/usr/local/include -I/usr/local/include/cairo -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/pixman-1 src/renderer_common/render_markers_symbolizer.cpp
c++ -o src/renderer_common/render_thunk_extractor.os -c -std=c++14 -DU_USING_ICU_NAMESPACE=0 -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -fvisibility=hidden -fvisibility-inlines-hidden -Wall -pthread -ftemplate-depth-300 -Wsign-compare -Wshadow -O3 -fPIC -DMAPNIK_MEMORY_MAPPED_FILE -DMAPNIK_HAS_DLCFN -DBIGINT -DBOOST_REGEX_HAS_ICU -DHAVE_JPEG -DMAPNIK_USE_PROJ -DPROJ_VERSION=90201 -DHAVE_PNG -DHAVE_WEBP -DHAVE_TIFF -DFREEBSD -DMAPNIK_THREADSAFE -DBOOST_SPIRIT_NO_PREDEFINED_TERMINALS=1 -DBOOST_PHOENIX_NO_PREDEFINED_TERMINALS=1 -DBOOST_SPIRIT_USE_PHOENIX_V3=1 -DNDEBUG -DHAVE_CAIRO -DGRID_RENDERER -DHAVE_LIBXML2 -Ideps -Ideps/mapbox/variant/include -Ideps/agg/include -Iinclude -I/usr/local/include/libxml2 -I/usr/local/include/libpng16 -I/usr/local/include/freetype2 -I/usr/local/include -I/usr/local/include/cairo -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/pixman-1 src/renderer_common/render_thunk_extractor.cpp
src/renderer_common/render_thunk_extractor.cpp:90:11: warning: declaration shadows a type alias in namespace 'mapnik' [-Wshadow]
    using context_type = detail::thunk_markers_renderer_context;
          ^
include/mapnik/feature.hpp:90:7: note: previous declaration is here
using context_type = context<std::map<std::string,std::size_t> >;
      ^
1 warning generated.
c++ -o src/json/mapnik_geometry_to_geojson.o -c -std=c++14 -DU_USING_ICU_NAMESPACE=0 -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -fvisibility=hidden -fvisibility-inlines-hidden -Wall -pthread -ftemplate-depth-300 -Wsign-compare -Wshadow -O3 -fPIC -DMAPNIK_MEMORY_MAPPED_FILE -DMAPNIK_HAS_DLCFN -DBIGINT -DBOOST_REGEX_HAS_ICU -DHAVE_JPEG -DMAPNIK_USE_PROJ -DPROJ_VERSION=90201 -DHAVE_PNG -DHAVE_WEBP -DHAVE_TIFF -DFREEBSD -DMAPNIK_THREADSAFE -DBOOST_SPIRIT_NO_PREDEFINED_TERMINALS=1 -DBOOST_PHOENIX_NO_PREDEFINED_TERMINALS=1 -DBOOST_SPIRIT_USE_PHOENIX_V3=1 -DNDEBUG -Ideps -Ideps/mapbox/variant/include -Ideps/agg/include -Iinclude -I/usr/local/include/libxml2 -I/usr/local/include/libpng16 -I/usr/local/include/freetype2 -I/usr/local/include src/json/mapnik_geometry_to_geojson.cpp
c++ -o src/json/mapnik_topojson_grammar.o -c -std=c++14 -DU_USING_ICU_NAMESPACE=0 -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -fvisibility=hidden -fvisibility-inlines-hidden -Wall -pthread -ftemplate-depth-300 -Wsign-compare -Wshadow -O3 -fPIC -DMAPNIK_MEMORY_MAPPED_FILE -DMAPNIK_HAS_DLCFN -DBIGINT -DBOOST_REGEX_HAS_ICU -DHAVE_JPEG -DMAPNIK_USE_PROJ -DPROJ_VERSION=90201 -DHAVE_PNG -DHAVE_WEBP -DHAVE_TIFF -DFREEBSD -DMAPNIK_THREADSAFE -DBOOST_SPIRIT_NO_PREDEFINED_TERMINALS=1 -DBOOST_PHOENIX_NO_PREDEFINED_TERMINALS=1 -DBOOST_SPIRIT_USE_PHOENIX_V3=1 -DNDEBUG -Ideps -Ideps/mapbox/variant/include -Ideps/agg/include -Iinclude -I/usr/local/include/libxml2 -I/usr/local/include/libpng16 -I/usr/local/include/freetype2 -I/usr/local/include src/json/mapnik_topojson_grammar.cpp
In file included from src/json/mapnik_topojson_grammar.cpp:24:
In file included from include/mapnik/json/topojson_grammar_impl.hpp:23:
In file included from include/mapnik/json/topojson_grammar.hpp:28:
In file included from include/mapnik/json/topology.hpp:26:
include/mapnik/json/generic_json.hpp:97:16: error: no member named 'utf8_output_iterator' in namespace 'boost'
        boost::utf8_output_iterator<insert_iter> utf8_iter(out_iter);
        ~~~~~~~^
include/mapnik/json/generic_json.hpp:97:37: error: unexpected type name 'insert_iter': expected expression
        boost::utf8_output_iterator<insert_iter> utf8_iter(out_iter);
                                    ^
include/mapnik/json/generic_json.hpp:97:50: error: use of undeclared identifier 'utf8_iter'
        boost::utf8_output_iterator<insert_iter> utf8_iter(out_iter);
                                                 ^
include/mapnik/json/generic_json.hpp:98:10: error: use of undeclared identifier 'utf8_iter'; did you mean 'out_iter'?
        *utf8_iter++ = code_point;
         ^~~~~~~~~
         out_iter
include/mapnik/json/generic_json.hpp:96:21: note: 'out_iter' declared here
        insert_iter out_iter(utf8);
                    ^
4 errors generated.
scons: *** [src/json/mapnik_topojson_grammar.o] Error 1
scons: building terminated because of errors.
gmake[1]: *** [Makefile:32: src/json/libmapnik-json.a] Error 2
gmake[1]: Leaving directory '/wrkdirs/usr/ports/graphics/mapnik/work/mapnik-v3.1.0'
===> Compilation failed unexpectedly.
Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to
the maintainer.
*** Error code 1

Stop.
make: stopped in /usr/ports/graphics/mapnik