[package - main-arm64-default][x11-toolkits/mygui] Failed for mygui-3.4.2 in build

From: <pkg-fallout_at_FreeBSD.org>
Date: Mon, 28 Oct 2024 09:43:59 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:     amdmi3@FreeBSD.org
Log URL:        https://pkg-status.freebsd.org/ampere2/data/main-arm64-default/p711a2f7f1ca4_s0d965bc0342/logs/mygui-3.4.2.log
Build URL:      https://pkg-status.freebsd.org/ampere2/build.html?mastername=main-arm64-default&build=p711a2f7f1ca4_s0d965bc0342
Log:

=>> Building x11-toolkits/mygui
build started at Mon Oct 28 09:43:43 UTC 2024
port directory: /usr/ports/x11-toolkits/mygui
package name: mygui-3.4.2
building for: FreeBSD main-arm64-default-job-05 15.0-CURRENT FreeBSD 15.0-CURRENT 1500026 arm64
maintained by: amdmi3@FreeBSD.org
Makefile datestamp: -rw-r--r--  1 root wheel 838 Aug 12  2023 /usr/ports/x11-toolkits/mygui/Makefile
Ports top last git commit: 711a2f7f1ca
Ports top unclean checkout: no
Port dir last git commit: 5820b02993d
Port dir unclean checkout: no
Poudriere version: poudriere-git-3.4.2
Host OSVERSION: 1500023
Jail OSVERSION: 1500026
Job Id: 05




!!! 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
OSVERSION=1500026
UNAME_v=FreeBSD 15.0-CURRENT 1500026
UNAME_r=15.0-CURRENT
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.2
MASTERMNT=/usr/local/poudriere/data/.m/main-arm64-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-arm64-default/05/.p
OUTPUT_REDIRECTED_STDOUT=3
P_PORTS_FEATURES=FLAVORS SUBPACKAGES SELECTED_OPTIONS
MASTERNAME=main-arm64-default
SCRIPTPREFIX=/usr/local/share/poudriere
SCRIPTNAME=bulk.sh
OLDPWD=/usr/local/poudriere/data/.m/main-arm64-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---
---End OPTIONS List---

--MAINTAINER--
amdmi3@FreeBSD.org
--End MAINTAINER--

--CONFIGURE_ARGS--

--End CONFIGURE_ARGS--

--CONFIGURE_ENV--
PKG_CONFIG=pkgconf XDG_DATA_HOME=/wrkdirs/usr/ports/x11-toolkits/mygui/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/x11-toolkits/mygui/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/x11-toolkits/mygui/work/.cache  HOME=/wrkdirs/usr/ports/x11-toolkits/mygui/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/x11-toolkits/mygui/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/x11-toolkits/mygui/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--
NINJA_STATUS="[%p %s/%t] " XDG_DATA_HOME=/wrkdirs/usr/ports/x11-toolkits/mygui/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/x11-toolkits/mygui/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/x11-toolkits/mygui/work/.cache  HOME=/wrkdirs/usr/ports/x11-toolkits/mygui/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/x11-toolkits/mygui/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/x11-toolkits/mygui/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/x11-toolkits/mygui/work/stage PREFIX=/usr/local  LOCALBASE=/usr/local  CC="cc" CFLAGS="-O2 -pipe  -fstack-protector-strong -fno-strict-aliasing "  CPP="cpp" CPPFLAGS=""  LDFLAGS=" -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--
CMAKE_BUILD_TYPE="release" OSREL=15.0 PREFIX=%D LOCALBASE=/usr/local  RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/mygui"  EXAMPLESDIR="share/examples/mygui"  DATADIR="share/mygui"  WWWDIR="www/mygui"  ETCDIR="etc/mygui"
--End PLIST_SUB--

--SUB_LIST--
PREFIX=/usr/local LOCALBASE=/usr/local  DATADIR=/usr/local/share/mygui DOCSDIR=/usr/local/share/doc/mygui EXAMPLESDIR=/usr/local/share/examples/mygui  WWWDIR=/usr/local/www/mygui ETCDIR=/usr/local/etc/mygui
--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
---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)  1048576
stack size              (kbytes, -s)  1048576
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 MIT accepted by the user
===========================================================================
=======================<phase: pkg-depends    >============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===>   mygui-3.4.2 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-1.21.3.pkg
[main-arm64-default-job-05] Installing pkg-1.21.3...
[main-arm64-default-job-05] Extracting pkg-1.21.3: .......... done
===>   mygui-3.4.2 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of mygui-3.4.2
===========================================================================
=======================<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 MIT accepted by the user
===> Fetching all distfiles required by mygui-3.4.2 for building
===========================================================================
=======================<phase: checksum       >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>  License MIT accepted by the user
===> Fetching all distfiles required by mygui-3.4.2 for building
=> SHA256 Checksum OK for MyGUI-mygui-MyGUI3.4.2_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 MIT accepted by the user
===> Fetching all distfiles required by mygui-3.4.2 for building
===>  Extracting for mygui-3.4.2
=> SHA256 Checksum OK for MyGUI-mygui-MyGUI3.4.2_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 mygui-3.4.2
===>  Applying FreeBSD patches for mygui-3.4.2 from /usr/ports/x11-toolkits/mygui/files
===========================================================================
=======================<phase: build-depends  >============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===>   mygui-3.4.2 depends on file: /usr/local/bin/cmake - not found
===>   Installing existing package /packages/All/cmake-core-3.30.5.pkg
[main-arm64-default-job-05] Installing cmake-core-3.30.5...
[main-arm64-default-job-05] `-- Installing expat-2.6.3...
[main-arm64-default-job-05] `-- Extracting expat-2.6.3: .......... done
[main-arm64-default-job-05] `-- Installing jsoncpp-1.9.6_1...
[main-arm64-default-job-05] `-- Extracting jsoncpp-1.9.6_1: .......... done
[main-arm64-default-job-05] `-- Installing libuv-1.49.1...
<snip>
/usr/include/c++/v1/string:745:29: note: in instantiation of template class 'std::is_convertible<const unsigned short *const &, std::basic_string_view<unsigned short>>' requested here
  745 |     : public _BoolConstant< is_convertible<const _Tp&, basic_string_view<_CharT, _Traits> >::value &&
      |                             ^
/usr/include/c++/v1/string:1542:38: note: in instantiation of template class 'std::__can_be_converted_to_string_view<unsigned short, std::char_traits<unsigned short>, const unsigned short *>' requested here
 1542 |   template <class _Tp, __enable_if_t<__can_be_converted_to_string_view<_CharT, _Traits, _Tp>::value, int> = 0>
      |                                      ^
/usr/include/c++/v1/string:1544:3: note: while substituting prior template arguments into non-type template parameter [with _Tp = const code_point *]
 1544 |   insert(size_type __pos1, const _Tp& __t) {
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 1545 |     __self_view __sv = __t;
      |     ~~~~~~~~~~~~~~~~~~~~~~~
 1546 |     return insert(__pos1, __sv.data(), __sv.size());
      |     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 1547 |   }
      |   ~
/wrkdirs/usr/ports/x11-toolkits/mygui/work/mygui-MyGUI3.4.2/MyGUIEngine/include/MyGUI_UString.h:651:10: note: while substituting deduced template arguments into function template 'insert' [with _Tp = const code_point *, $1 = (no value)]
  651 |                         mData.insert( index, str );
      |                               ^
/usr/include/c++/v1/__fwd/string.h:23:29: note: template is declared here
   23 | struct _LIBCPP_TEMPLATE_VIS char_traits;
      |                             ^
In file included from /wrkdirs/usr/ports/x11-toolkits/mygui/work/mygui-MyGUI3.4.2/Plugins/Plugin_StrangeButton/Plugin_Export.cpp:7:
In file included from /wrkdirs/usr/ports/x11-toolkits/mygui/work/mygui-MyGUI3.4.2/Plugins/Plugin_StrangeButton/Plugin.h:10:
In file included from /wrkdirs/usr/ports/x11-toolkits/mygui/work/mygui-MyGUI3.4.2/MyGUIEngine/include/MyGUI_Plugin.h:11:
/usr/include/c++/v1/string:820:42: error: implicit instantiation of undefined template 'std::char_traits<unsigned int>'
  820 |   static_assert(is_same<_CharT, typename traits_type::char_type>::value,
      |                                          ^
/wrkdirs/usr/ports/x11-toolkits/mygui/work/mygui-MyGUI3.4.2/MyGUIEngine/include/MyGUI_UString.h:997:19: note: in instantiation of template class 'std::basic_string<unsigned int>' requested here
  997 |                 return UString( s1 ).append( s2 );
      |                                 ^
/usr/include/c++/v1/__fwd/string.h:23:29: note: template is declared here
   23 | struct _LIBCPP_TEMPLATE_VIS char_traits;
      |                             ^
In file included from /wrkdirs/usr/ports/x11-toolkits/mygui/work/mygui-MyGUI3.4.2/Plugins/Plugin_StrangeButton/Plugin_Export.cpp:7:
In file included from /wrkdirs/usr/ports/x11-toolkits/mygui/work/mygui-MyGUI3.4.2/Plugins/Plugin_StrangeButton/Plugin.h:10:
In file included from /wrkdirs/usr/ports/x11-toolkits/mygui/work/mygui-MyGUI3.4.2/MyGUIEngine/include/MyGUI_Plugin.h:11:
/usr/include/c++/v1/string:3087:29: error: implicit instantiation of undefined template 'std::char_traits<unsigned short>'
 3087 |   return insert(__pos, __s, traits_type::length(__s));
      |                             ^
/wrkdirs/usr/ports/x11-toolkits/mygui/work/mygui-MyGUI3.4.2/MyGUIEngine/include/MyGUI_UString.h:651:10: note: in instantiation of member function 'std::basic_string<unsigned short>::insert' requested here
  651 |                         mData.insert( index, str );
      |                               ^
/usr/include/c++/v1/__fwd/string.h:23:29: note: template is declared here
   23 | struct _LIBCPP_TEMPLATE_VIS char_traits;
      |                             ^
4 errors generated.
[  1% 3/104] /usr/bin/c++ -DMYGUI_BUILD -DMYGUI_USE_FREETYPE -DMyGUIEngine_EXPORTS -I/wrkdirs/usr/ports/x11-toolkits/mygui/work/mygui-MyGUI3.4.2/MyGUIEngine/include -isystem /usr/local/include/freetype2 -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -O2 -pipe -fstack-protector-strong -fno-strict-aliasing   -DNDEBUG -std=gnu++11 -fPIC -DMYGUI_GCC_VISIBILITY -fvisibility=hidden -fvisibility-inlines-hidden -Werror -w -Winvalid-pch -fpch-instantiate-templates -Xclang -emit-pch -Xclang -include -Xclang /wrkdirs/usr/ports/x11-toolkits/mygui/work/mygui-MyGUI3.4.2/MyGUIEngine/CMakeFiles/MyGUIEngine.dir/cmake_pch.hxx -x c++-header -MD -MT MyGUIEngine/CMakeFiles/MyGUIEngine.dir/cmake_pch.hxx.pch -MF MyGUIEngine/CMakeFiles/MyGUIEngine.dir/cmake_pch.hxx.pch.d -o MyGUIEngine/CMakeFiles/MyGUIEngine.dir/cmake_pch.hxx.pch -c /wrkdirs/usr/ports/x11-toolkits/mygui/work/mygui-MyGUI3.4.2/MyGUIEngine/CMakeFiles/MyGUIEngine.dir/cmake_pch.hxx.cxx
FAILED: MyGUIEngine/CMakeFiles/MyGUIEngine.dir/cmake_pch.hxx.pch 
/usr/bin/c++ -DMYGUI_BUILD -DMYGUI_USE_FREETYPE -DMyGUIEngine_EXPORTS -I/wrkdirs/usr/ports/x11-toolkits/mygui/work/mygui-MyGUI3.4.2/MyGUIEngine/include -isystem /usr/local/include/freetype2 -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -O2 -pipe -fstack-protector-strong -fno-strict-aliasing   -DNDEBUG -std=gnu++11 -fPIC -DMYGUI_GCC_VISIBILITY -fvisibility=hidden -fvisibility-inlines-hidden -Werror -w -Winvalid-pch -fpch-instantiate-templates -Xclang -emit-pch -Xclang -include -Xclang /wrkdirs/usr/ports/x11-toolkits/mygui/work/mygui-MyGUI3.4.2/MyGUIEngine/CMakeFiles/MyGUIEngine.dir/cmake_pch.hxx -x c++-header -MD -MT MyGUIEngine/CMakeFiles/MyGUIEngine.dir/cmake_pch.hxx.pch -MF MyGUIEngine/CMakeFiles/MyGUIEngine.dir/cmake_pch.hxx.pch.d -o MyGUIEngine/CMakeFiles/MyGUIEngine.dir/cmake_pch.hxx.pch -c /wrkdirs/usr/ports/x11-toolkits/mygui/work/mygui-MyGUI3.4.2/MyGUIEngine/CMakeFiles/MyGUIEngine.dir/cmake_pch.hxx.cxx
In file included from <built-in>:1:
In file included from /wrkdirs/usr/ports/x11-toolkits/mygui/work/mygui-MyGUI3.4.2/MyGUIEngine/CMakeFiles/MyGUIEngine.dir/cmake_pch.hxx:5:
In file included from /wrkdirs/usr/ports/x11-toolkits/mygui/work/mygui-MyGUI3.4.2/MyGUIEngine/include/MyGUI_Precompiled.h:11:
In file included from /wrkdirs/usr/ports/x11-toolkits/mygui/work/mygui-MyGUI3.4.2/MyGUIEngine/include/MyGUI_Common.h:12:
/usr/include/c++/v1/string:820:42: error: implicit instantiation of undefined template 'std::char_traits<unsigned short>'
  820 |   static_assert(is_same<_CharT, typename traits_type::char_type>::value,
      |                                          ^
/wrkdirs/usr/ports/x11-toolkits/mygui/work/mygui-MyGUI3.4.2/MyGUIEngine/include/MyGUI_UString.h:213:4: note: in instantiation of template class 'std::basic_string<unsigned short>' requested here
  213 |                         dstring::iterator mIter;
      |                         ^
/usr/include/c++/v1/__fwd/string.h:23:29: note: template is declared here
   23 | struct _LIBCPP_TEMPLATE_VIS char_traits;
      |                             ^
In file included from <built-in>:1:
In file included from /wrkdirs/usr/ports/x11-toolkits/mygui/work/mygui-MyGUI3.4.2/MyGUIEngine/CMakeFiles/MyGUIEngine.dir/cmake_pch.hxx:5:
In file included from /wrkdirs/usr/ports/x11-toolkits/mygui/work/mygui-MyGUI3.4.2/MyGUIEngine/include/MyGUI_Precompiled.h:11:
In file included from /wrkdirs/usr/ports/x11-toolkits/mygui/work/mygui-MyGUI3.4.2/MyGUIEngine/include/MyGUI_Common.h:12:
In file included from /usr/include/c++/v1/string:647:
/usr/include/c++/v1/string_view:300:42: error: implicit instantiation of undefined template 'std::char_traits<unsigned short>'
  300 |   static_assert(is_same<_CharT, typename traits_type::char_type>::value,
      |                                          ^
/usr/include/c++/v1/__type_traits/is_convertible.h:30:99: note: in instantiation of template class 'std::basic_string_view<unsigned short>' requested here
   30 | struct _LIBCPP_TEMPLATE_VIS is_convertible : public integral_constant<bool, __is_convertible(_T1, _T2)> {};
      |                                                                                                   ^
/usr/include/c++/v1/string:745:29: note: in instantiation of template class 'std::is_convertible<const unsigned short *const &, std::basic_string_view<unsigned short>>' requested here
  745 |     : public _BoolConstant< is_convertible<const _Tp&, basic_string_view<_CharT, _Traits> >::value &&
      |                             ^
/usr/include/c++/v1/string:1542:38: note: in instantiation of template class 'std::__can_be_converted_to_string_view<unsigned short, std::char_traits<unsigned short>, const unsigned short *>' requested here
 1542 |   template <class _Tp, __enable_if_t<__can_be_converted_to_string_view<_CharT, _Traits, _Tp>::value, int> = 0>
      |                                      ^
/usr/include/c++/v1/string:1544:3: note: while substituting prior template arguments into non-type template parameter [with _Tp = const code_point *]
 1544 |   insert(size_type __pos1, const _Tp& __t) {
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 1545 |     __self_view __sv = __t;
      |     ~~~~~~~~~~~~~~~~~~~~~~~
 1546 |     return insert(__pos1, __sv.data(), __sv.size());
      |     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 1547 |   }
      |   ~
/wrkdirs/usr/ports/x11-toolkits/mygui/work/mygui-MyGUI3.4.2/MyGUIEngine/include/MyGUI_UString.h:651:10: note: while substituting deduced template arguments into function template 'insert' [with _Tp = const code_point *, $1 = (no value)]
  651 |                         mData.insert( index, str );
      |                               ^
/usr/include/c++/v1/__fwd/string.h:23:29: note: template is declared here
   23 | struct _LIBCPP_TEMPLATE_VIS char_traits;
      |                             ^
In file included from <built-in>:1:
In file included from /wrkdirs/usr/ports/x11-toolkits/mygui/work/mygui-MyGUI3.4.2/MyGUIEngine/CMakeFiles/MyGUIEngine.dir/cmake_pch.hxx:5:
In file included from /wrkdirs/usr/ports/x11-toolkits/mygui/work/mygui-MyGUI3.4.2/MyGUIEngine/include/MyGUI_Precompiled.h:11:
In file included from /wrkdirs/usr/ports/x11-toolkits/mygui/work/mygui-MyGUI3.4.2/MyGUIEngine/include/MyGUI_Common.h:12:
/usr/include/c++/v1/string:820:42: error: implicit instantiation of undefined template 'std::char_traits<unsigned int>'
  820 |   static_assert(is_same<_CharT, typename traits_type::char_type>::value,
      |                                          ^
/wrkdirs/usr/ports/x11-toolkits/mygui/work/mygui-MyGUI3.4.2/MyGUIEngine/include/MyGUI_UString.h:997:19: note: in instantiation of template class 'std::basic_string<unsigned int>' requested here
  997 |                 return UString( s1 ).append( s2 );
      |                                 ^
/usr/include/c++/v1/__fwd/string.h:23:29: note: template is declared here
   23 | struct _LIBCPP_TEMPLATE_VIS char_traits;
      |                             ^
In file included from <built-in>:1:
In file included from /wrkdirs/usr/ports/x11-toolkits/mygui/work/mygui-MyGUI3.4.2/MyGUIEngine/CMakeFiles/MyGUIEngine.dir/cmake_pch.hxx:5:
In file included from /wrkdirs/usr/ports/x11-toolkits/mygui/work/mygui-MyGUI3.4.2/MyGUIEngine/include/MyGUI_Precompiled.h:11:
In file included from /wrkdirs/usr/ports/x11-toolkits/mygui/work/mygui-MyGUI3.4.2/MyGUIEngine/include/MyGUI_Common.h:12:
/usr/include/c++/v1/string:3087:29: error: implicit instantiation of undefined template 'std::char_traits<unsigned short>'
 3087 |   return insert(__pos, __s, traits_type::length(__s));
      |                             ^
/wrkdirs/usr/ports/x11-toolkits/mygui/work/mygui-MyGUI3.4.2/MyGUIEngine/include/MyGUI_UString.h:651:10: note: in instantiation of member function 'std::basic_string<unsigned short>::insert' requested here
  651 |                         mData.insert( index, str );
      |                               ^
/usr/include/c++/v1/__fwd/string.h:23:29: note: template is declared here
   23 | struct _LIBCPP_TEMPLATE_VIS char_traits;
      |                             ^
4 errors generated.
[  2% 3/104] /usr/bin/c++ -DPlugin_StrangeButton_EXPORTS -I/wrkdirs/usr/ports/x11-toolkits/mygui/work/mygui-MyGUI3.4.2/MyGUIEngine/include -I/wrkdirs/usr/ports/x11-toolkits/mygui/work/mygui-MyGUI3.4.2/Plugins/Plugin_StrangeButton/. -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -O2 -pipe -fstack-protector-strong -fno-strict-aliasing   -DNDEBUG -std=gnu++11 -fPIC   -D_USRDLL -DMYGUI_BUILD_DLL -DMYGUI_GCC_VISIBILITY -fvisibility=hidden -fvisibility-inlines-hidden -Werror -w -MD -MT Plugins/Plugin_StrangeButton/CMakeFiles/Plugin_StrangeButton.dir/Plugin.cpp.o -MF Plugins/Plugin_StrangeButton/CMakeFiles/Plugin_StrangeButton.dir/Plugin.cpp.o.d -o Plugins/Plugin_StrangeButton/CMakeFiles/Plugin_StrangeButton.dir/Plugin.cpp.o -c /wrkdirs/usr/ports/x11-toolkits/mygui/work/mygui-MyGUI3.4.2/Plugins/Plugin_StrangeButton/Plugin.cpp
FAILED: Plugins/Plugin_StrangeButton/CMakeFiles/Plugin_StrangeButton.dir/Plugin.cpp.o 
/usr/bin/c++ -DPlugin_StrangeButton_EXPORTS -I/wrkdirs/usr/ports/x11-toolkits/mygui/work/mygui-MyGUI3.4.2/MyGUIEngine/include -I/wrkdirs/usr/ports/x11-toolkits/mygui/work/mygui-MyGUI3.4.2/Plugins/Plugin_StrangeButton/. -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -O2 -pipe -fstack-protector-strong -fno-strict-aliasing   -DNDEBUG -std=gnu++11 -fPIC   -D_USRDLL -DMYGUI_BUILD_DLL -DMYGUI_GCC_VISIBILITY -fvisibility=hidden -fvisibility-inlines-hidden -Werror -w -MD -MT Plugins/Plugin_StrangeButton/CMakeFiles/Plugin_StrangeButton.dir/Plugin.cpp.o -MF Plugins/Plugin_StrangeButton/CMakeFiles/Plugin_StrangeButton.dir/Plugin.cpp.o.d -o Plugins/Plugin_StrangeButton/CMakeFiles/Plugin_StrangeButton.dir/Plugin.cpp.o -c /wrkdirs/usr/ports/x11-toolkits/mygui/work/mygui-MyGUI3.4.2/Plugins/Plugin_StrangeButton/Plugin.cpp
In file included from /wrkdirs/usr/ports/x11-toolkits/mygui/work/mygui-MyGUI3.4.2/Plugins/Plugin_StrangeButton/Plugin.cpp:7:
In file included from /wrkdirs/usr/ports/x11-toolkits/mygui/work/mygui-MyGUI3.4.2/Plugins/Plugin_StrangeButton/Plugin.h:10:
In file included from /wrkdirs/usr/ports/x11-toolkits/mygui/work/mygui-MyGUI3.4.2/MyGUIEngine/include/MyGUI_Plugin.h:11:
/usr/include/c++/v1/string:820:42: error: implicit instantiation of undefined template 'std::char_traits<unsigned short>'
  820 |   static_assert(is_same<_CharT, typename traits_type::char_type>::value,
      |                                          ^
/wrkdirs/usr/ports/x11-toolkits/mygui/work/mygui-MyGUI3.4.2/MyGUIEngine/include/MyGUI_UString.h:213:4: note: in instantiation of template class 'std::basic_string<unsigned short>' requested here
  213 |                         dstring::iterator mIter;
      |                         ^
/usr/include/c++/v1/__fwd/string.h:23:29: note: template is declared here
   23 | struct _LIBCPP_TEMPLATE_VIS char_traits;
      |                             ^
In file included from /wrkdirs/usr/ports/x11-toolkits/mygui/work/mygui-MyGUI3.4.2/Plugins/Plugin_StrangeButton/Plugin.cpp:7:
In file included from /wrkdirs/usr/ports/x11-toolkits/mygui/work/mygui-MyGUI3.4.2/Plugins/Plugin_StrangeButton/Plugin.h:10:
In file included from /wrkdirs/usr/ports/x11-toolkits/mygui/work/mygui-MyGUI3.4.2/MyGUIEngine/include/MyGUI_Plugin.h:11:
In file included from /usr/include/c++/v1/string:647:
/usr/include/c++/v1/string_view:300:42: error: implicit instantiation of undefined template 'std::char_traits<unsigned short>'
  300 |   static_assert(is_same<_CharT, typename traits_type::char_type>::value,
      |                                          ^
/usr/include/c++/v1/__type_traits/is_convertible.h:30:99: note: in instantiation of template class 'std::basic_string_view<unsigned short>' requested here
   30 | struct _LIBCPP_TEMPLATE_VIS is_convertible : public integral_constant<bool, __is_convertible(_T1, _T2)> {};
      |                                                                                                   ^
/usr/include/c++/v1/string:745:29: note: in instantiation of template class 'std::is_convertible<const unsigned short *const &, std::basic_string_view<unsigned short>>' requested here
  745 |     : public _BoolConstant< is_convertible<const _Tp&, basic_string_view<_CharT, _Traits> >::value &&
      |                             ^
/usr/include/c++/v1/string:1542:38: note: in instantiation of template class 'std::__can_be_converted_to_string_view<unsigned short, std::char_traits<unsigned short>, const unsigned short *>' requested here
 1542 |   template <class _Tp, __enable_if_t<__can_be_converted_to_string_view<_CharT, _Traits, _Tp>::value, int> = 0>
      |                                      ^
/usr/include/c++/v1/string:1544:3: note: while substituting prior template arguments into non-type template parameter [with _Tp = const code_point *]
 1544 |   insert(size_type __pos1, const _Tp& __t) {
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 1545 |     __self_view __sv = __t;
      |     ~~~~~~~~~~~~~~~~~~~~~~~
 1546 |     return insert(__pos1, __sv.data(), __sv.size());
      |     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 1547 |   }
      |   ~
/wrkdirs/usr/ports/x11-toolkits/mygui/work/mygui-MyGUI3.4.2/MyGUIEngine/include/MyGUI_UString.h:651:10: note: while substituting deduced template arguments into function template 'insert' [with _Tp = const code_point *, $1 = (no value)]
  651 |                         mData.insert( index, str );
      |                               ^
/usr/include/c++/v1/__fwd/string.h:23:29: note: template is declared here
   23 | struct _LIBCPP_TEMPLATE_VIS char_traits;
      |                             ^
In file included from /wrkdirs/usr/ports/x11-toolkits/mygui/work/mygui-MyGUI3.4.2/Plugins/Plugin_StrangeButton/Plugin.cpp:7:
In file included from /wrkdirs/usr/ports/x11-toolkits/mygui/work/mygui-MyGUI3.4.2/Plugins/Plugin_StrangeButton/Plugin.h:10:
In file included from /wrkdirs/usr/ports/x11-toolkits/mygui/work/mygui-MyGUI3.4.2/MyGUIEngine/include/MyGUI_Plugin.h:11:
/usr/include/c++/v1/string:820:42: error: implicit instantiation of undefined template 'std::char_traits<unsigned int>'
  820 |   static_assert(is_same<_CharT, typename traits_type::char_type>::value,
      |                                          ^
/wrkdirs/usr/ports/x11-toolkits/mygui/work/mygui-MyGUI3.4.2/MyGUIEngine/include/MyGUI_UString.h:997:19: note: in instantiation of template class 'std::basic_string<unsigned int>' requested here
  997 |                 return UString( s1 ).append( s2 );
      |                                 ^
/usr/include/c++/v1/__fwd/string.h:23:29: note: template is declared here
   23 | struct _LIBCPP_TEMPLATE_VIS char_traits;
      |                             ^
In file included from /wrkdirs/usr/ports/x11-toolkits/mygui/work/mygui-MyGUI3.4.2/Plugins/Plugin_StrangeButton/Plugin.cpp:7:
In file included from /wrkdirs/usr/ports/x11-toolkits/mygui/work/mygui-MyGUI3.4.2/Plugins/Plugin_StrangeButton/Plugin.h:10:
In file included from /wrkdirs/usr/ports/x11-toolkits/mygui/work/mygui-MyGUI3.4.2/MyGUIEngine/include/MyGUI_Plugin.h:11:
/usr/include/c++/v1/string:3087:29: error: implicit instantiation of undefined template 'std::char_traits<unsigned short>'
 3087 |   return insert(__pos, __s, traits_type::length(__s));
      |                             ^
/wrkdirs/usr/ports/x11-toolkits/mygui/work/mygui-MyGUI3.4.2/MyGUIEngine/include/MyGUI_UString.h:651:10: note: in instantiation of member function 'std::basic_string<unsigned short>::insert' requested here
  651 |                         mData.insert( index, str );
      |                               ^
/usr/include/c++/v1/__fwd/string.h:23:29: note: template is declared here
   23 | struct _LIBCPP_TEMPLATE_VIS char_traits;
      |                             ^
4 errors generated.
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/x11-toolkits/mygui