[package - main-i386-default][databases/mysql-connector-odbc-80] Failed for mysql-connector-odbc-unixodbc-mysql80-8.0.32 in build

From: <pkg-fallout_at_FreeBSD.org>
Date: Sat, 02 Nov 2024 13:58:56 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:     bofh@FreeBSD.org
Log URL:        https://pkg-status.freebsd.org/beefy17/data/main-i386-default/p009a7c198ee2_s8d6feaaaa26/logs/mysql-connector-odbc-unixodbc-mysql80-8.0.32.log
Build URL:      https://pkg-status.freebsd.org/beefy17/build.html?mastername=main-i386-default&build=p009a7c198ee2_s8d6feaaaa26
Log:

=>> Building databases/mysql-connector-odbc-80
build started at Sat Nov  2 13:58:14 UTC 2024
port directory: /usr/ports/databases/mysql-connector-odbc-80
package name: mysql-connector-odbc-unixodbc-mysql80-8.0.32
building for: FreeBSD main-i386-default-job-06 15.0-CURRENT FreeBSD 15.0-CURRENT 1500026 i386
maintained by: bofh@FreeBSD.org
Makefile datestamp: -rw-r--r--  1 root wheel 886 Jan  4  2024 /usr/ports/databases/mysql-connector-odbc-80/Makefile
Ports top last git commit: 009a7c198ee
Ports top unclean checkout: no
Port dir last git commit: e716c4e0ead
Port dir unclean checkout: no
Poudriere version: poudriere-git-3.4.2
Host OSVERSION: 1500023
Jail OSVERSION: 1500026
Job Id: 06




!!! Jail is newer than host. (Jail: 1500026, Host: 1500023) !!!
!!! This is not supported. !!!
!!! Host kernel must be same or newer than jail. !!!
!!! Expect build failures. !!!



---Begin Environment---
SHELL=/bin/sh
BLOCKSIZE=K
MAIL=/var/mail/root
MM_CHARSET=UTF-8
LANG=C.UTF-8
OSVERSION=1500026
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=15.0-CURRENT
LOCALBASE=/usr/local
UNAME_v=FreeBSD 15.0-CURRENT 1500026
USER=root
POUDRIERE_NAME=poudriere-git
LIBEXECPREFIX=/usr/local/libexec/poudriere
POUDRIERE_VERSION=3.4.2
MASTERMNT=/usr/local/poudriere/data/.m/main-i386-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/main-i386-default/06/.p
OUTPUT_REDIRECTED_STDOUT=3
P_PORTS_FEATURES=FLAVORS SUBPACKAGES SELECTED_OPTIONS
MASTERNAME=main-i386-default
SCRIPTPREFIX=/usr/local/share/poudriere
SCRIPTNAME=bulk.sh
OLDPWD=/usr/local/poudriere/data/.m/main-i386-default/ref/.p/pool
POUDRIERE_PKGNAME=poudriere-git-3.4.2
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 mysql-connector-odbc-unixodbc-mysql80-8.0.32:
     DOCS=on: Build and/or install documentation
===> Use 'make config' to modify these settings
---End OPTIONS List---

--MAINTAINER--
bofh@FreeBSD.org
--End MAINTAINER--

--CONFIGURE_ARGS--

--End CONFIGURE_ARGS--

--CONFIGURE_ENV--
XDG_DATA_HOME=/wrkdirs/usr/ports/databases/mysql-connector-odbc-80/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/databases/mysql-connector-odbc-80/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/databases/mysql-connector-odbc-80/work/.cache  HOME=/wrkdirs/usr/ports/databases/mysql-connector-odbc-80/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/databases/mysql-connector-odbc-80/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/databases/mysql-connector-odbc-80/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig SHELL=/bin/sh CONFIG_SHELL=/bin/sh CMAKE_PREFIX_PATH="/usr/local"
--End CONFIGURE_ENV--

--MAKE_ENV--
NINJA_STATUS="[%p %s/%t] " OPENSSLBASE=/usr OPENSSLDIR=/etc/ssl OPENSSLINC=/usr/include OPENSSLLIB=/usr/lib XDG_DATA_HOME=/wrkdirs/usr/ports/databases/mysql-connector-odbc-80/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/databases/mysql-connector-odbc-80/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/databases/mysql-connector-odbc-80/work/.cache  HOME=/wrkdirs/usr/ports/databases/mysql-connector-odbc-80/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/databases/mysql-connector-odbc-80/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/databases/mysql-connector-odbc-80/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 DESTDIR=/wrkdirs/usr/ports/databases/mysql-connector-odbc-80/work/stage PREFIX=/usr/local  LOCALBASE=/usr/local  CC="cc" CFLAGS="-O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-
aliasing "  CPP="cpp" CPPFLAGS="-isystem /usr/local/include"  LDFLAGS="  -fstack-protector-strong -L/usr/local/lib " LIBS=""  CXX="c++" CXXFLAGS="-O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing  -isystem /usr/local/include " 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="" CMAKE_BUILD_TYPE="release" OSREL=15.0 PREFIX=%D LOCALBASE=/usr/local  RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/mysql-connector-odbc"  EXAMPLESDIR="share/examples/mysql-connector-odbc"  DATADIR="share/mysql-connector-odbc"  WWWDIR="www/mysql-connector-odbc"  ETCDIR="etc/mysql-connector-odbc"
--End PLIST_SUB--

--SUB_LIST--
 PREFIX=/usr/local LOCALBASE=/usr/local  DATADIR=/usr/local/share/mysql-connector-odbc DOCSDIR=/usr/local/share/doc/mysql-connector-odbc EXAMPLESDIR=/usr/local/share/examples/mysql-connector-odbc  WWWDIR=/usr/local/www/mysql-connector-odbc ETCDIR=/usr/local/etc/mysql-connector-odbc
--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
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--
ulimit: can't get limit: Invalid argument
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
===>   mysql-connector-odbc-unixodbc-mysql80-8.0.32 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-1.21.3.pkg
[main-i386-default-job-06] Installing pkg-1.21.3...
[main-i386-default-job-06] Extracting pkg-1.21.3: .......... done
===>   mysql-connector-odbc-unixodbc-mysql80-8.0.32 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of mysql-connector-odbc-unixodbc-mysql80-8.0.32
===========================================================================
=======================<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 mysql-connector-odbc-unixodbc-mysql80-8.0.32 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 mysql-connector-odbc-unixodbc-mysql80-8.0.32 for building
=> SHA256 Checksum OK for mysql-connector-odbc-8.0.32-src.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 mysql-connector-odbc-unixodbc-mysql80-8.0.32 for building
===>  Extracting for mysql-connector-odbc-unixodbc-mysql80-8.0.32
=> SHA256 Checksum OK for mysql-connector-odbc-8.0.32-src.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 mysql-connector-odbc-unixodbc-mysql80-8.0.32
===>  Applying FreeBSD patches for mysql-connector-odbc-unixodbc-mysql80-8.0.32 from /usr/ports/databases/mysql-connector-odbc-80/files
===========================================================================
=======================<phase: build-depends  >============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
<snip>
      |               ^
/wrkdirs/usr/ports/databases/mysql-connector-odbc-80/work/mysql-connector-odbc-8.0.32-src/util/stringutil.cc:1713:27: note: in instantiation of member function 'std::basic_string<unsigned short>::find' requested here
 1713 |       (src.empty() || src.find((SQLWCHAR)'}') == SQLWSTRING::npos)
      |                           ^
/usr/include/c++/v1/__string/char_traits.h:45:8: note: template is declared here
   45 | struct char_traits;
      |        ^
In file included from /wrkdirs/usr/ports/databases/mysql-connector-odbc-80/work/mysql-connector-odbc-8.0.32-src/util/stringutil.cc:36:
In file included from /wrkdirs/usr/ports/databases/mysql-connector-odbc-80/work/mysql-connector-odbc-8.0.32-src/util/stringutil.h:37:
In file included from /wrkdirs/usr/ports/databases/mysql-connector-odbc-80/work/mysql-connector-odbc-8.0.32-src/util/../MYODBC_MYSQL.h:54:
In file included from /wrkdirs/usr/ports/databases/mysql-connector-odbc-80/work/mysql-connector-odbc-8.0.32-src/util/../include/mysql-8.0/my_sys.h:60:
In file included from /wrkdirs/usr/ports/databases/mysql-connector-odbc-80/work/mysql-connector-odbc-8.0.32-src/util/../include/mysql-8.0/m_string.h:42:
In file included from /wrkdirs/usr/ports/databases/mysql-connector-odbc-80/work/mysql-connector-odbc-8.0.32-src/util/../include/mysql-8.0/lex_string.h:30:
/usr/include/c++/v1/string:2208:5: error: implicit instantiation of undefined template 'std::char_traits<unsigned short>'
 2208 |     traits_type::move(std::__to_address(__p), __s, __n);
      |     ^
/usr/include/c++/v1/string:2608:62: note: in instantiation of member function 'std::basic_string<unsigned short>::__assign_short' requested here
 2608 |   return (__builtin_constant_p(__n) && __fits_in_sso(__n)) ? __assign_short(__s, __n) : __assign_external(__s, __n);
      |                                                              ^
/usr/include/c++/v1/string:1239:12: note: in instantiation of member function 'std::basic_string<unsigned short>::assign' requested here
 1239 |     return assign(__il.begin(), __il.size());
      |            ^
/wrkdirs/usr/ports/databases/mysql-connector-odbc-80/work/mysql-connector-odbc-8.0.32-src/util/stringutil.cc:1719:10: note: in instantiation of member function 'std::basic_string<unsigned short>::operator=' requested here
 1719 |     temp = { (SQLWCHAR)'{' };
      |          ^
/usr/include/c++/v1/__string/char_traits.h:45:8: note: template is declared here
   45 | struct char_traits;
      |        ^
In file included from /wrkdirs/usr/ports/databases/mysql-connector-odbc-80/work/mysql-connector-odbc-8.0.32-src/util/stringutil.cc:36:
In file included from /wrkdirs/usr/ports/databases/mysql-connector-odbc-80/work/mysql-connector-odbc-8.0.32-src/util/stringutil.h:37:
In file included from /wrkdirs/usr/ports/databases/mysql-connector-odbc-80/work/mysql-connector-odbc-8.0.32-src/util/../MYODBC_MYSQL.h:54:
In file included from /wrkdirs/usr/ports/databases/mysql-connector-odbc-80/work/mysql-connector-odbc-8.0.32-src/util/../include/mysql-8.0/my_sys.h:60:
In file included from /wrkdirs/usr/ports/databases/mysql-connector-odbc-80/work/mysql-connector-odbc-8.0.32-src/util/../include/mysql-8.0/m_string.h:42:
In file included from /wrkdirs/usr/ports/databases/mysql-connector-odbc-80/work/mysql-connector-odbc-8.0.32-src/util/../include/mysql-8.0/lex_string.h:30:
/usr/include/c++/v1/string:2209:5: error: implicit instantiation of undefined template 'std::char_traits<unsigned short>'
 2209 |     traits_type::assign(__p[__n], value_type());
      |     ^
/usr/include/c++/v1/__string/char_traits.h:45:8: note: template is declared here
   45 | struct char_traits;
      |        ^
In file included from /wrkdirs/usr/ports/databases/mysql-connector-odbc-80/work/mysql-connector-odbc-8.0.32-src/util/stringutil.cc:36:
In file included from /wrkdirs/usr/ports/databases/mysql-connector-odbc-80/work/mysql-connector-odbc-8.0.32-src/util/stringutil.h:37:
In file included from /wrkdirs/usr/ports/databases/mysql-connector-odbc-80/work/mysql-connector-odbc-8.0.32-src/util/../MYODBC_MYSQL.h:54:
In file included from /wrkdirs/usr/ports/databases/mysql-connector-odbc-80/work/mysql-connector-odbc-8.0.32-src/util/../include/mysql-8.0/my_sys.h:60:
In file included from /wrkdirs/usr/ports/databases/mysql-connector-odbc-80/work/mysql-connector-odbc-8.0.32-src/util/../include/mysql-8.0/m_string.h:42:
In file included from /wrkdirs/usr/ports/databases/mysql-connector-odbc-80/work/mysql-connector-odbc-8.0.32-src/util/../include/mysql-8.0/lex_string.h:30:
/usr/include/c++/v1/string:2595:5: error: implicit instantiation of undefined template 'std::char_traits<unsigned short>'
 2595 |     traits_type::move(__p, __s, __n);
      |     ^
/usr/include/c++/v1/string:2608:89: note: in instantiation of member function 'std::basic_string<unsigned short>::__assign_external' requested here
 2608 |   return (__builtin_constant_p(__n) && __fits_in_sso(__n)) ? __assign_short(__s, __n) : __assign_external(__s, __n);
      |                                                                                         ^
/usr/include/c++/v1/string:1239:12: note: in instantiation of member function 'std::basic_string<unsigned short>::assign' requested here
 1239 |     return assign(__il.begin(), __il.size());
      |            ^
/wrkdirs/usr/ports/databases/mysql-connector-odbc-80/work/mysql-connector-odbc-8.0.32-src/util/stringutil.cc:1719:10: note: in instantiation of member function 'std::basic_string<unsigned short>::operator=' requested here
 1719 |     temp = { (SQLWCHAR)'{' };
      |          ^
/usr/include/c++/v1/__string/char_traits.h:45:8: note: template is declared here
   45 | struct char_traits;
      |        ^
In file included from /wrkdirs/usr/ports/databases/mysql-connector-odbc-80/work/mysql-connector-odbc-8.0.32-src/util/stringutil.cc:36:
In file included from /wrkdirs/usr/ports/databases/mysql-connector-odbc-80/work/mysql-connector-odbc-8.0.32-src/util/stringutil.h:37:
In file included from /wrkdirs/usr/ports/databases/mysql-connector-odbc-80/work/mysql-connector-odbc-8.0.32-src/util/../MYODBC_MYSQL.h:54:
In file included from /wrkdirs/usr/ports/databases/mysql-connector-odbc-80/work/mysql-connector-odbc-8.0.32-src/util/../include/mysql-8.0/my_sys.h:60:
In file included from /wrkdirs/usr/ports/databases/mysql-connector-odbc-80/work/mysql-connector-odbc-8.0.32-src/util/../include/mysql-8.0/m_string.h:42:
In file included from /wrkdirs/usr/ports/databases/mysql-connector-odbc-80/work/mysql-connector-odbc-8.0.32-src/util/../include/mysql-8.0/lex_string.h:30:
/usr/include/c++/v1/string:2221:5: error: implicit instantiation of undefined template 'std::char_traits<unsigned short>'
 2221 |     traits_type::assign(__p[__newsz], value_type());
      |     ^
/usr/include/c++/v1/string:2596:12: note: in instantiation of member function 'std::basic_string<unsigned short>::__null_terminate_at' requested here
 2596 |     return __null_terminate_at(__p, __n);
      |            ^
/usr/include/c++/v1/string:2608:89: note: in instantiation of member function 'std::basic_string<unsigned short>::__assign_external' requested here
 2608 |   return (__builtin_constant_p(__n) && __fits_in_sso(__n)) ? __assign_short(__s, __n) : __assign_external(__s, __n);
      |                                                                                         ^
/usr/include/c++/v1/string:1239:12: note: in instantiation of member function 'std::basic_string<unsigned short>::assign' requested here
 1239 |     return assign(__il.begin(), __il.size());
      |            ^
/wrkdirs/usr/ports/databases/mysql-connector-odbc-80/work/mysql-connector-odbc-8.0.32-src/util/stringutil.cc:1719:10: note: in instantiation of member function 'std::basic_string<unsigned short>::operator=' requested here
 1719 |     temp = { (SQLWCHAR)'{' };
      |          ^
/usr/include/c++/v1/__string/char_traits.h:45:8: note: template is declared here
   45 | struct char_traits;
      |        ^
In file included from /wrkdirs/usr/ports/databases/mysql-connector-odbc-80/work/mysql-connector-odbc-8.0.32-src/util/stringutil.cc:36:
In file included from /wrkdirs/usr/ports/databases/mysql-connector-odbc-80/work/mysql-connector-odbc-8.0.32-src/util/stringutil.h:37:
In file included from /wrkdirs/usr/ports/databases/mysql-connector-odbc-80/work/mysql-connector-odbc-8.0.32-src/util/../MYODBC_MYSQL.h:54:
In file included from /wrkdirs/usr/ports/databases/mysql-connector-odbc-80/work/mysql-connector-odbc-8.0.32-src/util/../include/mysql-8.0/my_sys.h:60:
In file included from /wrkdirs/usr/ports/databases/mysql-connector-odbc-80/work/mysql-connector-odbc-8.0.32-src/util/../include/mysql-8.0/m_string.h:42:
In file included from /wrkdirs/usr/ports/databases/mysql-connector-odbc-80/work/mysql-connector-odbc-8.0.32-src/util/../include/mysql-8.0/lex_string.h:30:
/usr/include/c++/v1/string:2492:5: error: implicit instantiation of undefined template 'std::char_traits<unsigned short>'
 2492 |     traits_type::copy(std::__to_address(__p), std::__to_address(__old_p), __n_copy);
      |     ^
/usr/include/c++/v1/string:2599:5: note: in instantiation of member function 'std::basic_string<unsigned short>::__grow_by_and_replace' requested here
 2599 |     __grow_by_and_replace(__cap, __n - __cap, __sz, 0, __sz, __n, __s);
      |     ^
/usr/include/c++/v1/string:2608:89: note: in instantiation of member function 'std::basic_string<unsigned short>::__assign_external' requested here
 2608 |   return (__builtin_constant_p(__n) && __fits_in_sso(__n)) ? __assign_short(__s, __n) : __assign_external(__s, __n);
      |                                                                                         ^
/usr/include/c++/v1/string:1239:12: note: in instantiation of member function 'std::basic_string<unsigned short>::assign' requested here
 1239 |     return assign(__il.begin(), __il.size());
      |            ^
/wrkdirs/usr/ports/databases/mysql-connector-odbc-80/work/mysql-connector-odbc-8.0.32-src/util/stringutil.cc:1719:10: note: in instantiation of member function 'std::basic_string<unsigned short>::operator=' requested here
 1719 |     temp = { (SQLWCHAR)'{' };
      |          ^
/usr/include/c++/v1/__string/char_traits.h:45:8: note: template is declared here
   45 | struct char_traits;
      |        ^
In file included from /wrkdirs/usr/ports/databases/mysql-connector-odbc-80/work/mysql-connector-odbc-8.0.32-src/util/stringutil.cc:36:
In file included from /wrkdirs/usr/ports/databases/mysql-connector-odbc-80/work/mysql-connector-odbc-8.0.32-src/util/stringutil.h:37:
In file included from /wrkdirs/usr/ports/databases/mysql-connector-odbc-80/work/mysql-connector-odbc-8.0.32-src/util/../MYODBC_MYSQL.h:54:
In file included from /wrkdirs/usr/ports/databases/mysql-connector-odbc-80/work/mysql-connector-odbc-8.0.32-src/util/../include/mysql-8.0/my_sys.h:60:
In file included from /wrkdirs/usr/ports/databases/mysql-connector-odbc-80/work/mysql-connector-odbc-8.0.32-src/util/../include/mysql-8.0/m_string.h:42:
In file included from /wrkdirs/usr/ports/databases/mysql-connector-odbc-80/work/mysql-connector-odbc-8.0.32-src/util/../include/mysql-8.0/lex_string.h:30:
/usr/include/c++/v1/string:2494:5: error: implicit instantiation of undefined template 'std::char_traits<unsigned short>'
 2494 |     traits_type::copy(std::__to_address(__p) + __n_copy, __p_new_stuff, __n_add);
      |     ^
/usr/include/c++/v1/__string/char_traits.h:45:8: note: template is declared here
   45 | struct char_traits;
      |        ^
In file included from /wrkdirs/usr/ports/databases/mysql-connector-odbc-80/work/mysql-connector-odbc-8.0.32-src/util/stringutil.cc:36:
In file included from /wrkdirs/usr/ports/databases/mysql-connector-odbc-80/work/mysql-connector-odbc-8.0.32-src/util/stringutil.h:37:
In file included from /wrkdirs/usr/ports/databases/mysql-connector-odbc-80/work/mysql-connector-odbc-8.0.32-src/util/../MYODBC_MYSQL.h:54:
In file included from /wrkdirs/usr/ports/databases/mysql-connector-odbc-80/work/mysql-connector-odbc-8.0.32-src/util/../include/mysql-8.0/my_sys.h:60:
In file included from /wrkdirs/usr/ports/databases/mysql-connector-odbc-80/work/mysql-connector-odbc-8.0.32-src/util/../include/mysql-8.0/m_string.h:42:
In file included from /wrkdirs/usr/ports/databases/mysql-connector-odbc-80/work/mysql-connector-odbc-8.0.32-src/util/../include/mysql-8.0/lex_string.h:30:
/usr/include/c++/v1/string:2497:5: error: implicit instantiation of undefined template 'std::char_traits<unsigned short>'
 2497 |     traits_type::copy(
      |     ^
/usr/include/c++/v1/__string/char_traits.h:45:8: note: template is declared here
   45 | struct char_traits;
      |        ^
In file included from /wrkdirs/usr/ports/databases/mysql-connector-odbc-80/work/mysql-connector-odbc-8.0.32-src/util/stringutil.cc:36:
In file included from /wrkdirs/usr/ports/databases/mysql-connector-odbc-80/work/mysql-connector-odbc-8.0.32-src/util/stringutil.h:37:
In file included from /wrkdirs/usr/ports/databases/mysql-connector-odbc-80/work/mysql-connector-odbc-8.0.32-src/util/../MYODBC_MYSQL.h:54:
In file included from /wrkdirs/usr/ports/databases/mysql-connector-odbc-80/work/mysql-connector-odbc-8.0.32-src/util/../include/mysql-8.0/my_sys.h:60:
In file included from /wrkdirs/usr/ports/databases/mysql-connector-odbc-80/work/mysql-connector-odbc-8.0.32-src/util/../include/mysql-8.0/m_string.h:42:
In file included from /wrkdirs/usr/ports/databases/mysql-connector-odbc-80/work/mysql-connector-odbc-8.0.32-src/util/../include/mysql-8.0/lex_string.h:30:
/usr/include/c++/v1/string:2505:3: error: implicit instantiation of undefined template 'std::char_traits<unsigned short>'
 2505 |   traits_type::assign(__p[__old_sz], value_type());
      |   ^
/usr/include/c++/v1/__string/char_traits.h:45:8: note: template is declared here
   45 | struct char_traits;
      |        ^
In file included from /wrkdirs/usr/ports/databases/mysql-connector-odbc-80/work/mysql-connector-odbc-8.0.32-src/util/stringutil.cc:36:
In file included from /wrkdirs/usr/ports/databases/mysql-connector-odbc-80/work/mysql-connector-odbc-8.0.32-src/util/stringutil.h:37:
In file included from /wrkdirs/usr/ports/databases/mysql-connector-odbc-80/work/mysql-connector-odbc-8.0.32-src/util/../MYODBC_MYSQL.h:54:
In file included from /wrkdirs/usr/ports/databases/mysql-connector-odbc-80/work/mysql-connector-odbc-8.0.32-src/util/../include/mysql-8.0/my_sys.h:60:
In file included from /wrkdirs/usr/ports/databases/mysql-connector-odbc-80/work/mysql-connector-odbc-8.0.32-src/util/../include/mysql-8.0/m_string.h:42:
In file included from /wrkdirs/usr/ports/databases/mysql-connector-odbc-80/work/mysql-connector-odbc-8.0.32-src/util/../include/mysql-8.0/lex_string.h:30:
/usr/include/c++/v1/string:3396:3: error: implicit instantiation of undefined template 'std::char_traits<unsigned short>'
 3396 |   traits_type::copy(std::__to_address(__new_data), std::__to_address(__p), size() + 1);
      |   ^
/usr/include/c++/v1/string:3333:3: note: in instantiation of member function 'std::basic_string<unsigned short>::__shrink_or_extend' requested here
 3333 |   __shrink_or_extend(__target_capacity);
      |   ^
/wrkdirs/usr/ports/databases/mysql-connector-odbc-80/work/mysql-connector-odbc-8.0.32-src/util/stringutil.cc:1721:8: note: in instantiation of member function 'std::basic_string<unsigned short>::reserve' requested here
 1721 |   temp.reserve(src.length() * 2);
      |        ^
/usr/include/c++/v1/__string/char_traits.h:45:8: note: template is declared here
   45 | struct char_traits;
      |        ^
In file included from /wrkdirs/usr/ports/databases/mysql-connector-odbc-80/work/mysql-connector-odbc-8.0.32-src/util/stringutil.cc:36:
In file included from /wrkdirs/usr/ports/databases/mysql-connector-odbc-80/work/mysql-connector-odbc-8.0.32-src/util/stringutil.h:37:
In file included from /wrkdirs/usr/ports/databases/mysql-connector-odbc-80/work/mysql-connector-odbc-8.0.32-src/util/../MYODBC_MYSQL.h:54:
In file included from /wrkdirs/usr/ports/databases/mysql-connector-odbc-80/work/mysql-connector-odbc-8.0.32-src/util/../include/mysql-8.0/my_sys.h:60:
In file included from /wrkdirs/usr/ports/databases/mysql-connector-odbc-80/work/mysql-connector-odbc-8.0.32-src/util/../include/mysql-8.0/m_string.h:42:
In file included from /wrkdirs/usr/ports/databases/mysql-connector-odbc-80/work/mysql-connector-odbc-8.0.32-src/util/../include/mysql-8.0/lex_string.h:30:
/usr/include/c++/v1/string:2841:7: error: implicit instantiation of undefined template 'std::char_traits<unsigned short>'
 2841 |       traits_type::copy(__p + __sz, __s, __n);
      |       ^
/wrkdirs/usr/ports/databases/mysql-connector-odbc-80/work/mysql-connector-odbc-8.0.32-src/util/stringutil.cc:1728:12: note: in instantiation of member function 'std::basic_string<unsigned short>::append' requested here
 1728 |       temp.append(&c, 1);
      |            ^
/usr/include/c++/v1/__string/char_traits.h:45:8: note: template is declared here
   45 | struct char_traits;
      |        ^
In file included from /wrkdirs/usr/ports/databases/mysql-connector-odbc-80/work/mysql-connector-odbc-8.0.32-src/util/stringutil.cc:36:
In file included from /wrkdirs/usr/ports/databases/mysql-connector-odbc-80/work/mysql-connector-odbc-8.0.32-src/util/stringutil.h:37:
In file included from /wrkdirs/usr/ports/databases/mysql-connector-odbc-80/work/mysql-connector-odbc-8.0.32-src/util/../MYODBC_MYSQL.h:54:
In file included from /wrkdirs/usr/ports/databases/mysql-connector-odbc-80/work/mysql-connector-odbc-8.0.32-src/util/../include/mysql-8.0/my_sys.h:60:
In file included from /wrkdirs/usr/ports/databases/mysql-connector-odbc-80/work/mysql-connector-odbc-8.0.32-src/util/../include/mysql-8.0/m_string.h:42:
In file included from /wrkdirs/usr/ports/databases/mysql-connector-odbc-80/work/mysql-connector-odbc-8.0.32-src/util/../include/mysql-8.0/lex_string.h:30:
/usr/include/c++/v1/string:2844:7: error: implicit instantiation of undefined template 'std::char_traits<unsigned short>'
 2844 |       traits_type::assign(__p[__sz], value_type());
      |       ^
/usr/include/c++/v1/__string/char_traits.h:45:8: note: template is declared here
   45 | struct char_traits;
      |        ^
15 errors generated.
[  2% 3/121] /usr/bin/c++ -DDISABLE_ALL_PSI -DHAVE_LIBDL -DHAVE_LPCWSTR -DMYSQL8 -DNDEBUG -DTHREAD -DUSE_SQLCOLATTRIBUTE_SQLLEN_PTR -DUSE_SQLPARAMOPTIONS_SQLULEN_PTR -DUSE_UNIXODBC -D_UNIX_ -I/usr/local/include/mysql -I/wrkdirs/usr/ports/databases/mysql-connector-odbc-80/work/mysql-connector-odbc-8.0.32-src/include/mysql-8.0 -I/wrkdirs/usr/ports/databases/mysql-connector-odbc-80/work/mysql-connector-odbc-8.0.32-src -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing  -isystem /usr/local/include -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing  -isystem /usr/local/include  -DNDEBUG -std=c++14 -fPIC -w -MD -MT util/CMakeFiles/myodbc-util.dir/unicode_transcode.cc.o -MF util/CMakeFiles/myodbc-util.dir/unicode_transcode.cc.o.d -o util/CMakeFiles/myodbc-util.dir/unicode_transcode.cc.o -c /wrkdirs/usr/ports/databases/mysql-connector-odbc-80/work/mysql-connector-odbc-8.0.32-src/util/unicode_transcode.cc
ninja: build stopped: subcommand failed.
===> 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 making "build" in /usr/ports/databases/mysql-connector-odbc-80