[package - 15stable-amd64-quarterly][editors/rehex] Failed for rehex-0.63.3 in build

From: <pkg-fallout_at_FreeBSD.org>
Date: Sat, 04 Oct 2025 00:07:50 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:     fuz@FreeBSD.org
Log URL:        https://pkg-status.freebsd.org/beefy21/data/15stable-amd64-quarterly/e3fa556c9a50/logs/rehex-0.63.3.log
Build URL:      https://pkg-status.freebsd.org/beefy21/build.html?mastername=15stable-amd64-quarterly&build=e3fa556c9a50
Log:

=>> Building editors/rehex
build started at Sat Oct  4 00:04:36 -00 2025
port directory: /usr/ports/editors/rehex
package name: rehex-0.63.3
building for: FreeBSD 15stable-amd64-quarterly-job-35 15.0-ALPHA4 FreeBSD 15.0-ALPHA4 1500065 amd64
maintained by: fuz@FreeBSD.org
Makefile datestamp: -rw-r--r--  1 root wheel 895 Oct  2 01:01 /usr/ports/editors/rehex/Makefile
Ports top last git commit: e3fa556c9
Ports top unclean checkout: no
Port dir last git commit: e3fa556c9
Port dir unclean checkout: no
Poudriere version: poudriere-git-3.4.3-4-ga545ef33
Host OSVERSION: 1600000
Jail OSVERSION: 1500065
Job Id: 35

---Begin Environment---
SHELL=/bin/sh
OSVERSION=1500065
UNAME_v=FreeBSD 15.0-ALPHA4 1500065
UNAME_r=15.0-ALPHA4
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
MAKE_OBJDIR_CHECK_WRITABLE=0
LOCALBASE=/usr/local
USER=root
POUDRIERE_NAME=poudriere-git
LIBEXECPREFIX=/usr/local/libexec/poudriere
POUDRIERE_VERSION=3.4.3-4-ga545ef33
MASTERMNT=/usr/local/poudriere/data/.m/15stable-amd64-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/15stable-amd64-quarterly/35/.p
OUTPUT_REDIRECTED_STDOUT=3
P_PORTS_FEATURES=FLAVORS SUBPACKAGES SELECTED_OPTIONS
MASTERNAME=15stable-amd64-quarterly
SCRIPTPREFIX=/usr/local/share/poudriere
SCRIPTNAME=bulk.sh
OLDPWD=/usr/local/poudriere/data/.m/15stable-amd64-quarterly/ref/.p/pool
POUDRIERE_PKGNAME=poudriere-git-3.4.3-4-ga545ef33
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 rehex-0.63.3:
     DOCS=on: Build and/or install documentation
===> Use 'make config' to modify these settings
---End OPTIONS List---

--MAINTAINER--
fuz@FreeBSD.org
--End MAINTAINER--

--CONFIGURE_ARGS--

--End CONFIGURE_ARGS--

--CONFIGURE_ENV--
MAKE=/usr/local/bin/gmake ac_cv_path_PERL=/usr/local/bin/perl ac_cv_path_PERL_PATH=/usr/local/bin/perl  PERL_USE_UNSAFE_INC=1 PKG_CONFIG=pkgconf XDG_DATA_HOME=/wrkdirs/usr/ports/editors/rehex/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/editors/rehex/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/editors/rehex/work/.cache  HOME=/wrkdirs/usr/ports/editors/rehex/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/editors/rehex/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/editors/rehex/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig SHELL=/bin/sh CONFIG_SHELL=/bin/sh WX_CONFIG=/usr/local/bin/wxgtk3u-3.0-config
--End CONFIGURE_ENV--

--MAKE_ENV--
INSTALL_STRIP="-s" LUA_PKG="lua-5.3" LUA="lua53" LUA_MODLIBDIR=/usr/local/lib/lua/5.3  LUA_MODSHAREDIR=/usr/local/share/lua/5.3  LUA_MODDOCSDIR=/usr/local/share/doc/lua53  LUA_INCDIR=/usr/local/include/lua53  LUA_LIBDIR=/usr/local/lib  LUA_VER=5.3  LUA_VER_STR=53 PERL_USE_UNSAFE_INC=1 XDG_DATA_HOME=/wrkdirs/usr/ports/editors/rehex/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/editors/rehex/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/editors/rehex/work/.cache  HOME=/wrkdirs/usr/ports/editors/rehex/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/editors/rehex/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/editors/rehex/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 WX_CONFIG=/usr/local/bin/wxgtk3u-3.0-config PREFIX=/usr/local  LOCALBASE=/usr/local  CC="cc" CFLAGS="-O2 -pipe  -fstack-protector-strong -fno-stric
t-aliasing "  CPP="cpp" CPPFLAGS=""  LDFLAGS=" " 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--
PORTDOCS="" GTK2_VERSION="2.10.0"  GTK3_VERSION="3.0.0"  GTK4_VERSION="4.0.0" LUA_MODLIBDIR=lib/lua/5.3  LUA_MODSHAREDIR=share/lua/5.3  LUA_MODDOCSDIR=share/doc/lua53  LUA_INCDIR=include/lua53  LUA_VER=5.3  LUA_VER_STR=53 OSREL=15.0 PREFIX=%D LOCALBASE=/usr/local  RESETPREFIX=/usr/local LIB32DIR=lib PERL_VERSION=5.42.0  PERL_VER=5.42  PERL5_MAN1=lib/perl5/site_perl/man/man1  PERL5_MAN3=lib/perl5/site_perl/man/man3  SITE_PERL=lib/perl5/site_perl  SITE_ARCH=lib/perl5/site_perl/mach/5.42 DOCSDIR="share/doc/rehex"  EXAMPLESDIR="share/examples/rehex"  DATADIR="share/rehex"  WWWDIR="www/rehex"  ETCDIR="etc/rehex"
--End PLIST_SUB--

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

---Begin 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 3 jobs
MAKE_JOBS_NUMBER=3
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
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)  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
pipebuf                         (-y)  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
===>   rehex-0.63.3 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-2.3.1.pkg
[15stable-amd64-quarterly-job-35] Installing pkg-2.3.1...
[15stable-amd64-quarterly-job-35] Extracting pkg-2.3.1: .......... done
===>   rehex-0.63.3 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of rehex-0.63.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 GPLv2 accepted by the user
===> Fetching all distfiles required by rehex-0.63.3 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 rehex-0.63.3 for building
=> SHA256 Checksum OK for solemnwarning-rehex-0.63.3_GH0.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 rehex-0.63.3 for building
===>  Extracting for rehex-0.63.3
=> SHA256 Checksum OK for solemnwarning-rehex-0.63.3_GH0.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 rehex-0.63.3
===>  Applying FreeBSD patches for rehex-0.63.3 from /usr/ports/editors/rehex/files
===========================================================================
=======================<phase: build-depends  >============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===>   rehex-0.63.3 depends on package: p5-Template-Toolkit>0 - not found
===>   Installing existing package /packages/All/p5-Template-Toolkit-3.102.pkg
[15stable-amd64-quarterly-job-35] Installing p5-Template-Toolkit-3.102...
[15stable-amd64-quarterly-job-35] `-- Installing p5-AppConfig-1.71...
[15stable-amd64-quarterly-job-35] |   `-- Installing perl5-5.42.0_1...
[15stable-amd64-quarterly-job-35] |   `-- Extracting perl5-5.42.0_1: .......... done
[15stable-amd64-quarterly-job-35] `-- Extracting p5-AppConfig-1.71: .......... done
[15stable-amd64-quarterly-job-35] Extracting p5-Template-Toolkit-3.102: .......... done
===>   rehex-0.63.3 depends on package: p5-Template-Toolkit>0 - found
===>   Returning to build of rehex-0.63.3
===>   rehex-0.63.3 depends on executable: zip - not found
===>   Installing existing package /packages/All/zip-3.0_4.pkg
[15stable-amd64-quarterly-job-35] Installing zip-3.0_4...
[15stable-amd64-quarterly-job-35] Extracting zip-3.0_4: .......... done
<snip>
  247 |     DECLARE_EVENT_TABLE()
      |     ^
/usr/local/include/wx-3.0/wx/event.h:4472:56: note: expanded from macro 'DECLARE_EVENT_TABLE'
 4472 | #define DECLARE_EVENT_TABLE()                          wxDECLARE_EVENT_TABLE();
      |                                                        ^
/usr/local/include/wx-3.0/wx/event.h:4010:42: note: expanded from macro 'wxDECLARE_EVENT_TABLE'
 4010 |         virtual const wxEventTable*      GetEventTable() const;         \
      |                                          ^
In file included from src/AppTestable.cpp:28:
In file included from src/App.hpp:25:
In file included from src/mainwindow.hpp:31:
In file included from src/Tab.hpp:40:
src/ToolDock.hpp:161:5: warning: 'GetEventHashTable' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
  161 |                                 DECLARE_EVENT_TABLE()
      |                                 ^
/usr/local/include/wx-3.0/wx/event.h:4472:56: note: expanded from macro 'DECLARE_EVENT_TABLE'
 4472 | #define DECLARE_EVENT_TABLE()                          wxDECLARE_EVENT_TABLE();
      |                                                        ^
/usr/local/include/wx-3.0/wx/event.h:4012:42: note: expanded from macro 'wxDECLARE_EVENT_TABLE'
 4012 |         virtual wxEventHashTable&        GetEventHashTable() const
      |                                          ^
/usr/local/include/wx-3.0/wx/frame.h:247:5: note: overridden virtual function is here
  247 |     DECLARE_EVENT_TABLE()
      |     ^
/usr/local/include/wx-3.0/wx/event.h:4472:56: note: expanded from macro 'DECLARE_EVENT_TABLE'
 4472 | #define DECLARE_EVENT_TABLE()                          wxDECLARE_EVENT_TABLE();
      |                                                        ^
/usr/local/include/wx-3.0/wx/event.h:4012:42: note: expanded from macro 'wxDECLARE_EVENT_TABLE'
 4012 |         virtual wxEventHashTable&        GetEventHashTable() const
      |                                          ^
In file included from src/AppTestable.cpp:28:
In file included from src/App.hpp:25:
In file included from src/mainwindow.hpp:31:
In file included from src/Tab.hpp:40:
src/ToolDock.hpp:577:3: warning: 'GetEventTable' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
  577 |                 DECLARE_EVENT_TABLE()
      |                 ^
/usr/local/include/wx-3.0/wx/event.h:4472:56: note: expanded from macro 'DECLARE_EVENT_TABLE'
 4472 | #define DECLARE_EVENT_TABLE()                          wxDECLARE_EVENT_TABLE();
      |                                                        ^
/usr/local/include/wx-3.0/wx/event.h:4010:42: note: expanded from macro 'wxDECLARE_EVENT_TABLE'
 4010 |         virtual const wxEventTable*      GetEventTable() const;         \
      |                                          ^
src/MultiSplitter.hpp:704:3: note: overridden virtual function is here
  704 |                 DECLARE_EVENT_TABLE()
      |                 ^
/usr/local/include/wx-3.0/wx/event.h:4472:56: note: expanded from macro 'DECLARE_EVENT_TABLE'
 4472 | #define DECLARE_EVENT_TABLE()                          wxDECLARE_EVENT_TABLE();
      |                                                        ^
/usr/local/include/wx-3.0/wx/event.h:4010:42: note: expanded from macro 'wxDECLARE_EVENT_TABLE'
 4010 |         virtual const wxEventTable*      GetEventTable() const;         \
      |                                          ^
In file included from src/AppTestable.cpp:28:
In file included from src/App.hpp:25:
In file included from src/mainwindow.hpp:31:
In file included from src/Tab.hpp:40:
src/ToolDock.hpp:577:3: warning: 'GetEventHashTable' overrides a member function but is not marked 'override' [-Winconsistent-missing-override]
  577 |                 DECLARE_EVENT_TABLE()
      |                 ^
/usr/local/include/wx-3.0/wx/event.h:4472:56: note: expanded from macro 'DECLARE_EVENT_TABLE'
 4472 | #define DECLARE_EVENT_TABLE()                          wxDECLARE_EVENT_TABLE();
      |                                                        ^
/usr/local/include/wx-3.0/wx/event.h:4012:42: note: expanded from macro 'wxDECLARE_EVENT_TABLE'
 4012 |         virtual wxEventHashTable&        GetEventHashTable() const
      |                                          ^
src/MultiSplitter.hpp:704:3: note: overridden virtual function is here
  704 |                 DECLARE_EVENT_TABLE()
      |                 ^
/usr/local/include/wx-3.0/wx/event.h:4472:56: note: expanded from macro 'DECLARE_EVENT_TABLE'
 4472 | #define DECLARE_EVENT_TABLE()                          wxDECLARE_EVENT_TABLE();
      |                                                        ^
/usr/local/include/wx-3.0/wx/event.h:4012:42: note: expanded from macro 'wxDECLARE_EVENT_TABLE'
 4012 |         virtual wxEventHashTable&        GetEventHashTable() const
      |                                          ^
11 warnings generated.
c++ -Wall -g -O2 -DNDEBUG -std=c++20 -I. -Iinclude/ -IwxLua/modules/ -IwxFreeChart/include/ -DwxOVERRIDE=override  -DBUILD_HELP -I/usr/local/include/botan-3 -I/usr/local/include/capstone -I/usr/local/include -I/usr/local/include/lua53 -I/usr/local/lib/wx/include/gtk3-unicode-3.0 -I/usr/local/include/wx-3.0 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -pthread -D_THREAD_SAFE $(./tools/gtk-config --cflags) -O2 -pipe -fstack-protector-strong -fno-strict-aliasing    -MT src/ArtProvider.release.o -MMD -MP -MF .d/src/ArtProvider.release.o.Td -c -o src/ArtProvider.release.o src/ArtProvider.cpp
c++ -Wall -g -O2 -DNDEBUG -std=c++20 -I. -Iinclude/ -IwxLua/modules/ -IwxFreeChart/include/ -DwxOVERRIDE=override  -DBUILD_HELP -I/usr/local/include/botan-3 -I/usr/local/include/capstone -I/usr/local/include -I/usr/local/include/lua53 -I/usr/local/lib/wx/include/gtk3-unicode-3.0 -I/usr/local/include/wx-3.0 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -pthread -D_THREAD_SAFE $(./tools/gtk-config --cflags) -O2 -pipe -fstack-protector-strong -fno-strict-aliasing    -MT src/BasicDataTypes.release.o -MMD -MP -MF .d/src/BasicDataTypes.release.o.Td -c -o src/BasicDataTypes.release.o src/BasicDataTypes.cpp
c++ -Wall -g -O2 -DNDEBUG -std=c++20 -I. -Iinclude/ -IwxLua/modules/ -IwxFreeChart/include/ -DwxOVERRIDE=override  -DBUILD_HELP -I/usr/local/include/botan-3 -I/usr/local/include/capstone -I/usr/local/include -I/usr/local/include/lua53 -I/usr/local/lib/wx/include/gtk3-unicode-3.0 -I/usr/local/include/wx-3.0 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -pthread -D_THREAD_SAFE $(./tools/gtk-config --cflags) -O2 -pipe -fstack-protector-strong -fno-strict-aliasing    -MT src/BatchedCharacterRenderer.release.o -MMD -MP -MF .d/src/BatchedCharacterRenderer.release.o.Td -c -o src/BatchedCharacterRenderer.release.o src/BatchedCharacterRenderer.cpp
In file included from src/BatchedCharacterRenderer.cpp:20:
/usr/local/include/unistr.h:95:1: error: templates must have C++ linkage
   95 | template <typename T>
      | ^~~~~~~~~~~~~~~~~~~~~
/usr/local/include/unistr.h:39:1: note: extern "C" language linkage specification begins here
   39 | extern "C" {
      | ^
/usr/local/include/unistr.h:97:1: error: templates must have C++ linkage
   97 | template <>
      | ^~~~~~~~~~~
/usr/local/include/unistr.h:39:1: note: extern "C" language linkage specification begins here
   39 | extern "C" {
      | ^
/usr/local/include/unistr.h:100:1: error: templates must have C++ linkage
  100 | template <>
      | ^~~~~~~~~~~
/usr/local/include/unistr.h:39:1: note: extern "C" language linkage specification begins here
   39 | extern "C" {
      | ^
/usr/local/include/unistr.h:116:1: error: templates must have C++ linkage
  116 | template <typename T>
      | ^~~~~~~~~~~~~~~~~~~~~
/usr/local/include/unistr.h:39:1: note: extern "C" language linkage specification begins here
   39 | extern "C" {
      | ^
/usr/local/include/unistr.h:118:1: error: templates must have C++ linkage
  118 | template <>
      | ^~~~~~~~~~~
/usr/local/include/unistr.h:39:1: note: extern "C" language linkage specification begins here
   39 | extern "C" {
      | ^
/usr/local/include/unistr.h:121:1: error: templates must have C++ linkage
  121 | template <>
      | ^~~~~~~~~~~
/usr/local/include/unistr.h:39:1: note: extern "C" language linkage specification begins here
   39 | extern "C" {
      | ^
/usr/local/include/unistr.h:137:1: error: templates must have C++ linkage
  137 | template <typename T>
      | ^~~~~~~~~~~~~~~~~~~~~
/usr/local/include/unistr.h:39:1: note: extern "C" language linkage specification begins here
   39 | extern "C" {
      | ^
/usr/local/include/unistr.h:139:1: error: templates must have C++ linkage
  139 | template <>
      | ^~~~~~~~~~~
/usr/local/include/unistr.h:39:1: note: extern "C" language linkage specification begins here
   39 | extern "C" {
      | ^
/usr/local/include/unistr.h:142:1: error: templates must have C++ linkage
  142 | template <>
      | ^~~~~~~~~~~
/usr/local/include/unistr.h:39:1: note: extern "C" language linkage specification begins here
   39 | extern "C" {
      | ^
/usr/local/include/unistr.h:526:1: error: templates must have C++ linkage
  526 | template <typename T>
      | ^~~~~~~~~~~~~~~~~~~~~
/usr/local/include/unistr.h:39:1: note: extern "C" language linkage specification begins here
   39 | extern "C" {
      | ^
/usr/local/include/unistr.h:528:1: error: templates must have C++ linkage
  528 | template <>
      | ^~~~~~~~~~~
/usr/local/include/unistr.h:39:1: note: extern "C" language linkage specification begins here
   39 | extern "C" {
      | ^
/usr/local/include/unistr.h:531:1: error: templates must have C++ linkage
  531 | template <>
      | ^~~~~~~~~~~
/usr/local/include/unistr.h:39:1: note: extern "C" language linkage specification begins here
   39 | extern "C" {
      | ^
/usr/local/include/unistr.h:547:1: error: templates must have C++ linkage
  547 | template <typename T>
      | ^~~~~~~~~~~~~~~~~~~~~
/usr/local/include/unistr.h:39:1: note: extern "C" language linkage specification begins here
   39 | extern "C" {
      | ^
/usr/local/include/unistr.h:549:1: error: templates must have C++ linkage
  549 | template <>
      | ^~~~~~~~~~~
/usr/local/include/unistr.h:39:1: note: extern "C" language linkage specification begins here
   39 | extern "C" {
      | ^
/usr/local/include/unistr.h:552:1: error: templates must have C++ linkage
  552 | template <>
      | ^~~~~~~~~~~
/usr/local/include/unistr.h:39:1: note: extern "C" language linkage specification begins here
   39 | extern "C" {
      | ^
/usr/local/include/unistr.h:568:1: error: templates must have C++ linkage
  568 | template <typename T>
      | ^~~~~~~~~~~~~~~~~~~~~
/usr/local/include/unistr.h:39:1: note: extern "C" language linkage specification begins here
   39 | extern "C" {
      | ^
/usr/local/include/unistr.h:570:1: error: templates must have C++ linkage
  570 | template <>
      | ^~~~~~~~~~~
/usr/local/include/unistr.h:39:1: note: extern "C" language linkage specification begins here
   39 | extern "C" {
      | ^
/usr/local/include/unistr.h:573:1: error: templates must have C++ linkage
  573 | template <>
      | ^~~~~~~~~~~
/usr/local/include/unistr.h:39:1: note: extern "C" language linkage specification begins here
   39 | extern "C" {
      | ^
/usr/local/include/unistr.h:649:1: error: templates must have C++ linkage
  649 | template <typename T>
      | ^~~~~~~~~~~~~~~~~~~~~
/usr/local/include/unistr.h:39:1: note: extern "C" language linkage specification begins here
   39 | extern "C" {
      | ^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
gmake: *** [Makefile:732: src/BatchedCharacterRenderer.release.o] Error 1
*** Error code 1

Stop.
make: stopped making "build" in /usr/ports/editors/rehex