[package - main-i386-default][devel/cpprestsdk] Failed for cpprestsdk-2.10.19_2 in build

From: <pkg-fallout_at_FreeBSD.org>
Date: Wed, 27 Nov 2024 13:22:14 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:     ports@FreeBSD.org
Log URL:        https://pkg-status.freebsd.org/beefy17/data/main-i386-default/pf0a09486b388_s501c4801edf/logs/cpprestsdk-2.10.19_2.log
Build URL:      https://pkg-status.freebsd.org/beefy17/build.html?mastername=main-i386-default&build=pf0a09486b388_s501c4801edf
Log:

=>> Building devel/cpprestsdk
build started at Wed Nov 27 13:21:51 UTC 2024
port directory: /usr/ports/devel/cpprestsdk
package name: cpprestsdk-2.10.19_2
building for: FreeBSD main-i386-default-job-01 15.0-CURRENT FreeBSD 15.0-CURRENT 1500027 i386
maintained by: ports@FreeBSD.org
Makefile datestamp: -rw-r--r--  1 root wheel 712 Nov 21 01:01 /usr/ports/devel/cpprestsdk/Makefile
Ports top last git commit: f0a09486b38
Ports top unclean checkout: no
Port dir last git commit: 312ee18b022
Port dir unclean checkout: no
Poudriere version: poudriere-git-3.4.2
Host OSVERSION: 1500023
Jail OSVERSION: 1500027
Job Id: 01




!!! Jail is newer than host. (Jail: 1500027, 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=1500027
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 1500027
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/01/.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 cpprestsdk-2.10.19_2:
     BROTLI=off: Brotli compression support
===> Use 'make config' to modify these settings
---End OPTIONS List---

--MAINTAINER--
ports@FreeBSD.org
--End MAINTAINER--

--CONFIGURE_ARGS--

--End CONFIGURE_ARGS--

--CONFIGURE_ENV--
PKG_CONFIG=pkgconf XDG_DATA_HOME=/wrkdirs/usr/ports/devel/cpprestsdk/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/devel/cpprestsdk/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/devel/cpprestsdk/work/.cache  HOME=/wrkdirs/usr/ports/devel/cpprestsdk/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/devel/cpprestsdk/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/devel/cpprestsdk/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] " OPENSSLBASE=/usr OPENSSLDIR=/etc/ssl OPENSSLINC=/usr/include OPENSSLLIB=/usr/lib XDG_DATA_HOME=/wrkdirs/usr/ports/devel/cpprestsdk/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/devel/cpprestsdk/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/devel/cpprestsdk/work/.cache  HOME=/wrkdirs/usr/ports/devel/cpprestsdk/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/devel/cpprestsdk/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/devel/cpprestsdk/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/devel/cpprestsdk/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-stric
t-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/cpprestsdk"  EXAMPLESDIR="share/examples/cpprestsdk"  DATADIR="share/cpprestsdk"  WWWDIR="www/cpprestsdk"  ETCDIR="etc/cpprestsdk"
--End PLIST_SUB--

--SUB_LIST--
 PREFIX=/usr/local LOCALBASE=/usr/local  DATADIR=/usr/local/share/cpprestsdk DOCSDIR=/usr/local/share/doc/cpprestsdk EXAMPLESDIR=/usr/local/share/examples/cpprestsdk  WWWDIR=/usr/local/www/cpprestsdk ETCDIR=/usr/local/etc/cpprestsdk
--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
===>   NOTICE:

The cpprestsdk port currently does not have a maintainer. As a result, it is
more likely to have unresolved issues, not be up-to-date, or even be removed in
the future. To volunteer to maintain this port, please create an issue at:

https://bugs.freebsd.org/bugzilla

More information about port maintainership is available at:

https://docs.freebsd.org/en/articles/contributing/#ports-contributing

===>  License MIT accepted by the user
===========================================================================
=======================<phase: pkg-depends    >============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===>   cpprestsdk-2.10.19_2 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-1.21.3.pkg
[main-i386-default-job-01] Installing pkg-1.21.3...
[main-i386-default-job-01] Extracting pkg-1.21.3: .......... done
===>   cpprestsdk-2.10.19_2 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of cpprestsdk-2.10.19_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
===>   NOTICE:

The cpprestsdk port currently does not have a maintainer. As a result, it is
more likely to have unresolved issues, not be up-to-date, or even be removed in
the future. To volunteer to maintain this port, please create an issue at:

https://bugs.freebsd.org/bugzilla

More information about port maintainership is available at:

https://docs.freebsd.org/en/articles/contributing/#ports-contributing

===>  License MIT accepted by the user
===> Fetching all distfiles required by cpprestsdk-2.10.19_2 for building
===========================================================================
=======================<phase: checksum       >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
<snip>
    CMAKE_VERBOSE_MAKEFILE
    FETCHCONTENT_FULLY_DISCONNECTED


-- Build files have been written to: /wrkdirs/usr/ports/devel/cpprestsdk/work/.build
===========================================================================
=======================<phase: build          >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>  Building for cpprestsdk-2.10.19_2
[  3% 3/30] /usr/bin/c++ -DCPPREST_EXCLUDE_BROTLI=1 -DCPPREST_FORCE_HTTP_CLIENT_ASIO -DCPPREST_FORCE_HTTP_LISTENER_ASIO -DCPPREST_NO_SSL_LEAK_SUPPRESS -Dcpprest_EXPORTS -I/wrkdirs/usr/ports/devel/cpprestsdk/work/cpprestsdk-2.10.19/Release/include -I/wrkdirs/usr/ports/devel/cpprestsdk/work/cpprestsdk-2.10.19/Release/src/pch -I/usr/local/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -stdlib=libc++ -Wno-return-type-c-linkage -Wno-unneeded-internal-declaration -std=c++11 -fno-strict-aliasing -O2 -pipe -fstack-protector-strong -fno-strict-aliasing   -DNDEBUG -fPIC -pthread -pedantic -Wall -Wextra -Wcast-qual -Wconversion -Wformat=2 -Winit-self -Winvalid-pch -Wmissing-format-attribute -Wmissing-include-dirs -Wpacked -Wredundant-decls -Wno-overloaded-virtual -Wno-sign-conversion -Wno-deprecated -Wno-unknown-pragmas -Wno-reorder -Wno-char-subscripts -Wno-switch -Wno-unused-parameter -Wno-unused-variable -Wno-unused-value -Wno-unknown-warning-option -Wno-return-type
-c-linkage -Wno-unused-function -Wno-sign-compare -Wno-shorten-64-to-32 -Wno-unused-local-typedefs -MD -MT src/CMakeFiles/cpprest.dir/http/client/http_client_msg.cpp.o -MF src/CMakeFiles/cpprest.dir/http/client/http_client_msg.cpp.o.d -o src/CMakeFiles/cpprest.dir/http/client/http_client_msg.cpp.o -c /wrkdirs/usr/ports/devel/cpprestsdk/work/cpprestsdk-2.10.19/Release/src/http/client/http_client_msg.cpp
FAILED: src/CMakeFiles/cpprest.dir/http/client/http_client_msg.cpp.o 
/usr/bin/c++ -DCPPREST_EXCLUDE_BROTLI=1 -DCPPREST_FORCE_HTTP_CLIENT_ASIO -DCPPREST_FORCE_HTTP_LISTENER_ASIO -DCPPREST_NO_SSL_LEAK_SUPPRESS -Dcpprest_EXPORTS -I/wrkdirs/usr/ports/devel/cpprestsdk/work/cpprestsdk-2.10.19/Release/include -I/wrkdirs/usr/ports/devel/cpprestsdk/work/cpprestsdk-2.10.19/Release/src/pch -I/usr/local/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -stdlib=libc++ -Wno-return-type-c-linkage -Wno-unneeded-internal-declaration -std=c++11 -fno-strict-aliasing -O2 -pipe -fstack-protector-strong -fno-strict-aliasing   -DNDEBUG -fPIC -pthread -pedantic -Wall -Wextra -Wcast-qual -Wconversion -Wformat=2 -Winit-self -Winvalid-pch -Wmissing-format-attribute -Wmissing-include-dirs -Wpacked -Wredundant-decls -Wno-overloaded-virtual -Wno-sign-conversion -Wno-deprecated -Wno-unknown-pragmas -Wno-reorder -Wno-char-subscripts -Wno-switch -Wno-unused-parameter -Wno-unused-variable -Wno-unused-value -Wno-unknown-warning-option -Wno-return-type-c-linkage -
Wno-unused-function -Wno-sign-compare -Wno-shorten-64-to-32 -Wno-unused-local-typedefs -MD -MT src/CMakeFiles/cpprest.dir/http/client/http_client_msg.cpp.o -MF src/CMakeFiles/cpprest.dir/http/client/http_client_msg.cpp.o.d -o src/CMakeFiles/cpprest.dir/http/client/http_client_msg.cpp.o -c /wrkdirs/usr/ports/devel/cpprestsdk/work/cpprestsdk-2.10.19/Release/src/http/client/http_client_msg.cpp
In file included from /wrkdirs/usr/ports/devel/cpprestsdk/work/cpprestsdk-2.10.19/Release/src/http/client/http_client_msg.cpp:13:
In file included from /wrkdirs/usr/ports/devel/cpprestsdk/work/cpprestsdk-2.10.19/Release/src/pch/stdafx.h:52:
/usr/include/c++/v1/string:820:42: error: implicit instantiation of undefined template 'std::char_traits<unsigned char>'
  820 |   static_assert(is_same<_CharT, typename traits_type::char_type>::value,
      |                                          ^
/wrkdirs/usr/ports/devel/cpprestsdk/work/cpprestsdk-2.10.19/Release/include/cpprest/streams.h:79:39: note: in instantiation of template class 'std::basic_string<unsigned char>' requested here
   79 |     static std::basic_string<uint8_t> format(const T& val)
      |                                       ^
/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/devel/cpprestsdk/work/cpprestsdk-2.10.19/Release/src/http/client/http_client_msg.cpp:13:
In file included from /wrkdirs/usr/ports/devel/cpprestsdk/work/cpprestsdk-2.10.19/Release/src/pch/stdafx.h:52:
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 char>'
  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 char>' 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 std::basic_string<unsigned char> &, std::basic_string_view<unsigned char>>' requested here
  745 |     : public _BoolConstant< is_convertible<const _Tp&, basic_string_view<_CharT, _Traits> >::value &&
      |                             ^
/usr/include/c++/v1/string:1151:27: note: in instantiation of template class 'std::__can_be_converted_to_string_view<unsigned char, std::char_traits<unsigned char>, std::basic_string<unsigned char>>' requested here
 1151 |             __enable_if_t<__can_be_converted_to_string_view<_CharT, _Traits, _Tp>::value &&
      |                           ^
/usr/include/c++/v1/string:1154:93: note: while substituting prior template arguments into non-type template parameter [with _Tp = std::basic_string<uint8_t>]
 1154 |   _LIBCPP_METHOD_TEMPLATE_IMPLICIT_INSTANTIATION_VIS _LIBCPP_CONSTEXPR_SINCE_CXX20 explicit basic_string(const _Tp& __t)
      |                                                                                             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
 1155 |       : __r_(__default_init_tag(), __default_init_tag()) {
      |       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 1156 |     __self_view __sv = __t;
      |     ~~~~~~~~~~~~~~~~~~~~~~~
 1157 |     __init(__sv.data(), __sv.size());
      |     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 1158 |   }
      |   ~
/wrkdirs/usr/ports/devel/cpprestsdk/work/cpprestsdk-2.10.19/Release/include/cpprest/streams.h:83:9: note: while substituting deduced template arguments into function template 'basic_string' [with _Tp = std::basic_string<uint8_t>, $1 = (no value)]
   83 |         return reinterpret_cast<const uint8_t*>(ss.str().c_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/devel/cpprestsdk/work/cpprestsdk-2.10.19/Release/src/http/client/http_client_msg.cpp:13:
In file included from /wrkdirs/usr/ports/devel/cpprestsdk/work/cpprestsdk-2.10.19/Release/src/pch/stdafx.h:52:
/usr/include/c++/v1/string:1061:17: error: implicit instantiation of undefined template 'std::char_traits<unsigned char>'
 1061 |     __init(__s, traits_type::length(__s));
      |                 ^
/wrkdirs/usr/ports/devel/cpprestsdk/work/cpprestsdk-2.10.19/Release/include/cpprest/streams.h:83:16: note: in instantiation of function template specialization 'std::basic_string<unsigned char>::basic_string<0>' requested here
   83 |         return reinterpret_cast<const uint8_t*>(ss.str().c_str());
      |                ^
/wrkdirs/usr/ports/devel/cpprestsdk/work/cpprestsdk-2.10.19/Release/include/cpprest/streams.h:88:16: note: in instantiation of function template specialization 'Concurrency::streams::details::Value2StringFormatter<unsigned char>::format<std::string>' requested here
   88 |         return format(utility::conversions::utf16_to_utf8(val));
      |                ^
/usr/include/c++/v1/__fwd/string.h:23:29: note: template is declared here
   23 | struct _LIBCPP_TEMPLATE_VIS char_traits;
      |                             ^
3 errors generated.
[  6% 3/30] /usr/bin/c++ -DCPPREST_EXCLUDE_BROTLI=1 -DCPPREST_FORCE_HTTP_CLIENT_ASIO -DCPPREST_FORCE_HTTP_LISTENER_ASIO -DCPPREST_NO_SSL_LEAK_SUPPRESS -Dcpprest_EXPORTS -I/wrkdirs/usr/ports/devel/cpprestsdk/work/cpprestsdk-2.10.19/Release/include -I/wrkdirs/usr/ports/devel/cpprestsdk/work/cpprestsdk-2.10.19/Release/src/pch -I/usr/local/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -stdlib=libc++ -Wno-return-type-c-linkage -Wno-unneeded-internal-declaration -std=c++11 -fno-strict-aliasing -O2 -pipe -fstack-protector-strong -fno-strict-aliasing   -DNDEBUG -fPIC -pthread -pedantic -Wall -Wextra -Wcast-qual -Wconversion -Wformat=2 -Winit-self -Winvalid-pch -Wmissing-format-attribute -Wmissing-include-dirs -Wpacked -Wredundant-decls -Wno-overloaded-virtual -Wno-sign-conversion -Wno-deprecated -Wno-unknown-pragmas -Wno-reorder -Wno-char-subscripts -Wno-switch -Wno-unused-parameter -Wno-unused-variable -Wno-unused-value -Wno-unknown-warning-option -Wno-return-type
-c-linkage -Wno-unused-function -Wno-sign-compare -Wno-shorten-64-to-32 -Wno-unused-local-typedefs -MD -MT src/CMakeFiles/cpprest.dir/http/client/http_client.cpp.o -MF src/CMakeFiles/cpprest.dir/http/client/http_client.cpp.o.d -o src/CMakeFiles/cpprest.dir/http/client/http_client.cpp.o -c /wrkdirs/usr/ports/devel/cpprestsdk/work/cpprestsdk-2.10.19/Release/src/http/client/http_client.cpp
FAILED: src/CMakeFiles/cpprest.dir/http/client/http_client.cpp.o 
/usr/bin/c++ -DCPPREST_EXCLUDE_BROTLI=1 -DCPPREST_FORCE_HTTP_CLIENT_ASIO -DCPPREST_FORCE_HTTP_LISTENER_ASIO -DCPPREST_NO_SSL_LEAK_SUPPRESS -Dcpprest_EXPORTS -I/wrkdirs/usr/ports/devel/cpprestsdk/work/cpprestsdk-2.10.19/Release/include -I/wrkdirs/usr/ports/devel/cpprestsdk/work/cpprestsdk-2.10.19/Release/src/pch -I/usr/local/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -stdlib=libc++ -Wno-return-type-c-linkage -Wno-unneeded-internal-declaration -std=c++11 -fno-strict-aliasing -O2 -pipe -fstack-protector-strong -fno-strict-aliasing   -DNDEBUG -fPIC -pthread -pedantic -Wall -Wextra -Wcast-qual -Wconversion -Wformat=2 -Winit-self -Winvalid-pch -Wmissing-format-attribute -Wmissing-include-dirs -Wpacked -Wredundant-decls -Wno-overloaded-virtual -Wno-sign-conversion -Wno-deprecated -Wno-unknown-pragmas -Wno-reorder -Wno-char-subscripts -Wno-switch -Wno-unused-parameter -Wno-unused-variable -Wno-unused-value -Wno-unknown-warning-option -Wno-return-type-c-linkage -
Wno-unused-function -Wno-sign-compare -Wno-shorten-64-to-32 -Wno-unused-local-typedefs -MD -MT src/CMakeFiles/cpprest.dir/http/client/http_client.cpp.o -MF src/CMakeFiles/cpprest.dir/http/client/http_client.cpp.o.d -o src/CMakeFiles/cpprest.dir/http/client/http_client.cpp.o -c /wrkdirs/usr/ports/devel/cpprestsdk/work/cpprestsdk-2.10.19/Release/src/http/client/http_client.cpp
In file included from /wrkdirs/usr/ports/devel/cpprestsdk/work/cpprestsdk-2.10.19/Release/src/http/client/http_client.cpp:16:
In file included from /wrkdirs/usr/ports/devel/cpprestsdk/work/cpprestsdk-2.10.19/Release/src/pch/stdafx.h:52:
/usr/include/c++/v1/string:820:42: error: implicit instantiation of undefined template 'std::char_traits<unsigned char>'
  820 |   static_assert(is_same<_CharT, typename traits_type::char_type>::value,
      |                                          ^
/wrkdirs/usr/ports/devel/cpprestsdk/work/cpprestsdk-2.10.19/Release/include/cpprest/streams.h:79:39: note: in instantiation of template class 'std::basic_string<unsigned char>' requested here
   79 |     static std::basic_string<uint8_t> format(const T& val)
      |                                       ^
/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/devel/cpprestsdk/work/cpprestsdk-2.10.19/Release/src/http/client/http_client.cpp:16:
In file included from /wrkdirs/usr/ports/devel/cpprestsdk/work/cpprestsdk-2.10.19/Release/src/pch/stdafx.h:52:
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 char>'
  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 char>' 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 std::basic_string<unsigned char> &, std::basic_string_view<unsigned char>>' requested here
  745 |     : public _BoolConstant< is_convertible<const _Tp&, basic_string_view<_CharT, _Traits> >::value &&
      |                             ^
/usr/include/c++/v1/string:1151:27: note: in instantiation of template class 'std::__can_be_converted_to_string_view<unsigned char, std::char_traits<unsigned char>, std::basic_string<unsigned char>>' requested here
 1151 |             __enable_if_t<__can_be_converted_to_string_view<_CharT, _Traits, _Tp>::value &&
      |                           ^
/usr/include/c++/v1/string:1154:93: note: while substituting prior template arguments into non-type template parameter [with _Tp = std::basic_string<uint8_t>]
 1154 |   _LIBCPP_METHOD_TEMPLATE_IMPLICIT_INSTANTIATION_VIS _LIBCPP_CONSTEXPR_SINCE_CXX20 explicit basic_string(const _Tp& __t)
      |                                                                                             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
 1155 |       : __r_(__default_init_tag(), __default_init_tag()) {
      |       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 1156 |     __self_view __sv = __t;
      |     ~~~~~~~~~~~~~~~~~~~~~~~
 1157 |     __init(__sv.data(), __sv.size());
      |     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 1158 |   }
      |   ~
/wrkdirs/usr/ports/devel/cpprestsdk/work/cpprestsdk-2.10.19/Release/include/cpprest/streams.h:83:9: note: while substituting deduced template arguments into function template 'basic_string' [with _Tp = std::basic_string<uint8_t>, $1 = (no value)]
   83 |         return reinterpret_cast<const uint8_t*>(ss.str().c_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/devel/cpprestsdk/work/cpprestsdk-2.10.19/Release/src/http/client/http_client.cpp:16:
In file included from /wrkdirs/usr/ports/devel/cpprestsdk/work/cpprestsdk-2.10.19/Release/src/pch/stdafx.h:52:
/usr/include/c++/v1/string:1061:17: error: implicit instantiation of undefined template 'std::char_traits<unsigned char>'
 1061 |     __init(__s, traits_type::length(__s));
      |                 ^
/wrkdirs/usr/ports/devel/cpprestsdk/work/cpprestsdk-2.10.19/Release/include/cpprest/streams.h:83:16: note: in instantiation of function template specialization 'std::basic_string<unsigned char>::basic_string<0>' requested here
   83 |         return reinterpret_cast<const uint8_t*>(ss.str().c_str());
      |                ^
/wrkdirs/usr/ports/devel/cpprestsdk/work/cpprestsdk-2.10.19/Release/include/cpprest/streams.h:88:16: note: in instantiation of function template specialization 'Concurrency::streams::details::Value2StringFormatter<unsigned char>::format<std::string>' requested here
   88 |         return format(utility::conversions::utf16_to_utf8(val));
      |                ^
/usr/include/c++/v1/__fwd/string.h:23:29: note: template is declared here
   23 | struct _LIBCPP_TEMPLATE_VIS char_traits;
      |                             ^
3 errors generated.
[ 10% 3/30] /usr/bin/c++ -DCPPREST_EXCLUDE_BROTLI=1 -DCPPREST_FORCE_HTTP_CLIENT_ASIO -DCPPREST_FORCE_HTTP_LISTENER_ASIO -DCPPREST_NO_SSL_LEAK_SUPPRESS -Dcpprest_EXPORTS -I/wrkdirs/usr/ports/devel/cpprestsdk/work/cpprestsdk-2.10.19/Release/include -I/wrkdirs/usr/ports/devel/cpprestsdk/work/cpprestsdk-2.10.19/Release/src/pch -I/usr/local/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -stdlib=libc++ -Wno-return-type-c-linkage -Wno-unneeded-internal-declaration -std=c++11 -fno-strict-aliasing -O2 -pipe -fstack-protector-strong -fno-strict-aliasing   -DNDEBUG -fPIC -pthread -pedantic -Wall -Wextra -Wcast-qual -Wconversion -Wformat=2 -Winit-self -Winvalid-pch -Wmissing-format-attribute -Wmissing-include-dirs -Wpacked -Wredundant-decls -Wno-overloaded-virtual -Wno-sign-conversion -Wno-deprecated -Wno-unknown-pragmas -Wno-reorder -Wno-char-subscripts -Wno-switch -Wno-unused-parameter -Wno-unused-variable -Wno-unused-value -Wno-unknown-warning-option -Wno-return-type
-c-linkage -Wno-unused-function -Wno-sign-compare -Wno-shorten-64-to-32 -Wno-unused-local-typedefs -MD -MT src/CMakeFiles/cpprest.dir/http/common/http_compression.cpp.o -MF src/CMakeFiles/cpprest.dir/http/common/http_compression.cpp.o.d -o src/CMakeFiles/cpprest.dir/http/common/http_compression.cpp.o -c /wrkdirs/usr/ports/devel/cpprestsdk/work/cpprestsdk-2.10.19/Release/src/http/common/http_compression.cpp
FAILED: src/CMakeFiles/cpprest.dir/http/common/http_compression.cpp.o 
/usr/bin/c++ -DCPPREST_EXCLUDE_BROTLI=1 -DCPPREST_FORCE_HTTP_CLIENT_ASIO -DCPPREST_FORCE_HTTP_LISTENER_ASIO -DCPPREST_NO_SSL_LEAK_SUPPRESS -Dcpprest_EXPORTS -I/wrkdirs/usr/ports/devel/cpprestsdk/work/cpprestsdk-2.10.19/Release/include -I/wrkdirs/usr/ports/devel/cpprestsdk/work/cpprestsdk-2.10.19/Release/src/pch -I/usr/local/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -stdlib=libc++ -Wno-return-type-c-linkage -Wno-unneeded-internal-declaration -std=c++11 -fno-strict-aliasing -O2 -pipe -fstack-protector-strong -fno-strict-aliasing   -DNDEBUG -fPIC -pthread -pedantic -Wall -Wextra -Wcast-qual -Wconversion -Wformat=2 -Winit-self -Winvalid-pch -Wmissing-format-attribute -Wmissing-include-dirs -Wpacked -Wredundant-decls -Wno-overloaded-virtual -Wno-sign-conversion -Wno-deprecated -Wno-unknown-pragmas -Wno-reorder -Wno-char-subscripts -Wno-switch -Wno-unused-parameter -Wno-unused-variable -Wno-unused-value -Wno-unknown-warning-option -Wno-return-type-c-linkage -
Wno-unused-function -Wno-sign-compare -Wno-shorten-64-to-32 -Wno-unused-local-typedefs -MD -MT src/CMakeFiles/cpprest.dir/http/common/http_compression.cpp.o -MF src/CMakeFiles/cpprest.dir/http/common/http_compression.cpp.o.d -o src/CMakeFiles/cpprest.dir/http/common/http_compression.cpp.o -c /wrkdirs/usr/ports/devel/cpprestsdk/work/cpprestsdk-2.10.19/Release/src/http/common/http_compression.cpp
In file included from /wrkdirs/usr/ports/devel/cpprestsdk/work/cpprestsdk-2.10.19/Release/src/http/common/http_compression.cpp:14:
In file included from /wrkdirs/usr/ports/devel/cpprestsdk/work/cpprestsdk-2.10.19/Release/src/pch/stdafx.h:52:
/usr/include/c++/v1/string:820:42: error: implicit instantiation of undefined template 'std::char_traits<unsigned char>'
  820 |   static_assert(is_same<_CharT, typename traits_type::char_type>::value,
      |                                          ^
/wrkdirs/usr/ports/devel/cpprestsdk/work/cpprestsdk-2.10.19/Release/include/cpprest/streams.h:79:39: note: in instantiation of template class 'std::basic_string<unsigned char>' requested here
   79 |     static std::basic_string<uint8_t> format(const T& val)
      |                                       ^
/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/devel/cpprestsdk/work/cpprestsdk-2.10.19/Release/src/http/common/http_compression.cpp:14:
In file included from /wrkdirs/usr/ports/devel/cpprestsdk/work/cpprestsdk-2.10.19/Release/src/pch/stdafx.h:52:
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 char>'
  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 char>' 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 std::basic_string<unsigned char> &, std::basic_string_view<unsigned char>>' requested here
  745 |     : public _BoolConstant< is_convertible<const _Tp&, basic_string_view<_CharT, _Traits> >::value &&
      |                             ^
/usr/include/c++/v1/string:1151:27: note: in instantiation of template class 'std::__can_be_converted_to_string_view<unsigned char, std::char_traits<unsigned char>, std::basic_string<unsigned char>>' requested here
 1151 |             __enable_if_t<__can_be_converted_to_string_view<_CharT, _Traits, _Tp>::value &&
      |                           ^
/usr/include/c++/v1/string:1154:93: note: while substituting prior template arguments into non-type template parameter [with _Tp = std::basic_string<uint8_t>]
 1154 |   _LIBCPP_METHOD_TEMPLATE_IMPLICIT_INSTANTIATION_VIS _LIBCPP_CONSTEXPR_SINCE_CXX20 explicit basic_string(const _Tp& __t)
      |                                                                                             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
 1155 |       : __r_(__default_init_tag(), __default_init_tag()) {
      |       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 1156 |     __self_view __sv = __t;
      |     ~~~~~~~~~~~~~~~~~~~~~~~
 1157 |     __init(__sv.data(), __sv.size());
      |     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 1158 |   }
      |   ~
/wrkdirs/usr/ports/devel/cpprestsdk/work/cpprestsdk-2.10.19/Release/include/cpprest/streams.h:83:9: note: while substituting deduced template arguments into function template 'basic_string' [with _Tp = std::basic_string<uint8_t>, $1 = (no value)]
   83 |         return reinterpret_cast<const uint8_t*>(ss.str().c_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/devel/cpprestsdk/work/cpprestsdk-2.10.19/Release/src/http/common/http_compression.cpp:14:
In file included from /wrkdirs/usr/ports/devel/cpprestsdk/work/cpprestsdk-2.10.19/Release/src/pch/stdafx.h:52:
/usr/include/c++/v1/string:1061:17: error: implicit instantiation of undefined template 'std::char_traits<unsigned char>'
 1061 |     __init(__s, traits_type::length(__s));
      |                 ^
/wrkdirs/usr/ports/devel/cpprestsdk/work/cpprestsdk-2.10.19/Release/include/cpprest/streams.h:83:16: note: in instantiation of function template specialization 'std::basic_string<unsigned char>::basic_string<0>' requested here
   83 |         return reinterpret_cast<const uint8_t*>(ss.str().c_str());
      |                ^
/wrkdirs/usr/ports/devel/cpprestsdk/work/cpprestsdk-2.10.19/Release/include/cpprest/streams.h:88:16: note: in instantiation of function template specialization 'Concurrency::streams::details::Value2StringFormatter<unsigned char>::format<std::string>' requested here
   88 |         return format(utility::conversions::utf16_to_utf8(val));
      |                ^
/usr/include/c++/v1/__fwd/string.h:23:29: note: template is declared here
   23 | struct _LIBCPP_TEMPLATE_VIS char_traits;
      |                             ^
3 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/devel/cpprestsdk