[package - main-armv7-default][converters/pdf2djvu] Failed for pdf2djvu-0.9.19_3 in build

From: <pkg-fallout_at_FreeBSD.org>
Date: Tue, 12 Nov 2024 17:26:08 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:     samy.mahmoudi@gmail.com
Log URL:        https://pkg-status.freebsd.org/ampere2/data/main-armv7-default/p380be9c7980a_s5036d9652a/logs/pdf2djvu-0.9.19_3.log
Build URL:      https://pkg-status.freebsd.org/ampere2/build.html?mastername=main-armv7-default&build=p380be9c7980a_s5036d9652a
Log:

=>> Building converters/pdf2djvu
build started at Tue Nov 12 17:25:21 UTC 2024
port directory: /usr/ports/converters/pdf2djvu
package name: pdf2djvu-0.9.19_3
building for: FreeBSD main-armv7-default-job-13 15.0-CURRENT FreeBSD 15.0-CURRENT 1500026 arm
maintained by: samy.mahmoudi@gmail.com
Makefile datestamp: -rw-r--r--  1 root wheel 1640 Mar 16  2024 /usr/ports/converters/pdf2djvu/Makefile
Ports top last git commit: 380be9c7980
Ports top unclean checkout: no
Port dir last git commit: d2f834ba51e
Port dir unclean checkout: no
Poudriere version: poudriere-git-3.4.2
Host OSVERSION: 1500023
Jail OSVERSION: 1500026
Job Id: 13




!!! 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-armv7-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-armv7-default/13/.p
OUTPUT_REDIRECTED_STDOUT=3
P_PORTS_FEATURES=FLAVORS SUBPACKAGES SELECTED_OPTIONS
MASTERNAME=main-armv7-default
SCRIPTPREFIX=/usr/local/share/poudriere
SCRIPTNAME=bulk.sh
OLDPWD=/usr/local/poudriere/data/.m/main-armv7-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 pdf2djvu-0.9.19_3:
     COLOR_QUANTIZATION=on: Color quantization via GraphicsMagick++
     DOCS=on: Generate the man page
     MULTITHREADING=on: Multithreading support via OpenMP
     NLS=on: Native Language Support via gettext utilities
     XMP=off: XMP metadata support via Exiv2
===> Use 'make config' to modify these settings
---End OPTIONS List---

--MAINTAINER--
samy.mahmoudi@gmail.com
--End MAINTAINER--

--CONFIGURE_ARGS--
--with-graphicsmagick --enable-openmp --enable-nls --disable-xmp --prefix=/usr/local ${_LATE_CONFIGURE_ARGS}
--End CONFIGURE_ARGS--

--CONFIGURE_ENV--
MAKE=gmake PKG_CONFIG=pkgconf XDG_DATA_HOME=/wrkdirs/usr/ports/converters/pdf2djvu/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/converters/pdf2djvu/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/converters/pdf2djvu/work/.cache  HOME=/wrkdirs/usr/ports/converters/pdf2djvu/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/converters/pdf2djvu/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/converters/pdf2djvu/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig SHELL=/bin/sh CONFIG_SHELL=/bin/sh DEFAULT_AUTOCONF=2.72 CMAKE_PREFIX_PATH="/usr/local" CONFIG_SITE=/usr/ports/Templates/config.site lt_cv_sys_max_cmd_len=524288
--End CONFIGURE_ENV--

--MAKE_ENV--
XDG_DATA_HOME=/wrkdirs/usr/ports/converters/pdf2djvu/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/converters/pdf2djvu/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/converters/pdf2djvu/work/.cache  HOME=/wrkdirs/usr/ports/converters/pdf2djvu/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/converters/pdf2djvu/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/converters/pdf2djvu/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 DEFAULT_AUTOCONF=2.72 PREFIX=/usr/local  LOCALBASE=/usr/local  CC="cc" CFLAGS="-O2 -pipe  -DLIBICONV_PLUG -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing "  CPP="cpp" CPPFLAGS="-DLIBICONV_PLUG -isystem /usr/local/include"  LDFLAGS=" -fstack-protector-strong " LIBS="-L/usr/local/lib"  CXX="c++" CXXFLAGS="-O2 -pipe  -DLIBICONV_PLUG -fstack-protector-strong -isystem /usr/
local/include -fno-strict-aliasing   -DLIBICONV_PLUG -isystem /usr/local/include -std=c++17 " 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="" COLOR_QUANTIZATION="" NO_COLOR_QUANTIZATION="@comment " DOCS="" NO_DOCS="@comment " MULTITHREADING="" NO_MULTITHREADING="@comment " NLS="" NO_NLS="@comment " XMP="@comment " NO_XMP="" OSREL=15.0 PREFIX=%D LOCALBASE=/usr/local  RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/pdf2djvu"  EXAMPLESDIR="share/examples/pdf2djvu"  DATADIR="share/pdf2djvu"  WWWDIR="www/pdf2djvu"  ETCDIR="etc/pdf2djvu"
--End PLIST_SUB--

--SUB_LIST--
 COLOR_QUANTIZATION="" NO_COLOR_QUANTIZATION="@comment " DOCS="" NO_DOCS="@comment " MULTITHREADING="" NO_MULTITHREADING="@comment " NLS="" NO_NLS="@comment " XMP="@comment " NO_XMP="" PREFIX=/usr/local LOCALBASE=/usr/local  DATADIR=/usr/local/share/pdf2djvu DOCSDIR=/usr/local/share/doc/pdf2djvu EXAMPLESDIR=/usr/local/share/examples/pdf2djvu  WWWDIR=/usr/local/www/pdf2djvu ETCDIR=/usr/local/etc/pdf2djvu
--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)  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
===>   pdf2djvu-0.9.19_3 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-1.21.3.pkg
[main-armv7-default-job-13] Installing pkg-1.21.3...
[main-armv7-default-job-13] Extracting pkg-1.21.3: .......... done
===>   pdf2djvu-0.9.19_3 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of pdf2djvu-0.9.19_3
===========================================================================
=======================<phase: fetch-depends  >============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===========================================================================
=======================<phase: fetch          >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>  License GPLv2 accepted by the user
===> Fetching all distfiles required by pdf2djvu-0.9.19_3 for building
===========================================================================
=======================<phase: checksum       >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>  License GPLv2 accepted by the user
===> Fetching all distfiles required by pdf2djvu-0.9.19_3 for building
=> SHA256 Checksum OK for pdf2djvu-0.9.19.tar.xz.
===========================================================================
=======================<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 pdf2djvu-0.9.19_3 for building
===>  Extracting for pdf2djvu-0.9.19_3
=> SHA256 Checksum OK for pdf2djvu-0.9.19.tar.xz.
===========================================================================
=======================<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 pdf2djvu-0.9.19_3
===>  Applying FreeBSD patches for pdf2djvu-0.9.19_3 from /usr/ports/converters/pdf2djvu/files
===========================================================================
=======================<phase: build-depends  >============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===>   pdf2djvu-0.9.19_3 depends on file: /usr/local/include/pstreams/pstream.h - not found
<snip>
===>   pdf2djvu-0.9.19_3 depends on shared library: libintl.so - found (/usr/local/lib/libintl.so)
===========================================================================
=======================<phase: configure      >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>  Configuring for pdf2djvu-0.9.19_3
configure: loading site script /usr/ports/Templates/config.site
checking for grep that handles long lines and -e... (cached) /usr/bin/grep
checking for egrep... (cached) /usr/bin/egrep
checking for a BSD-compatible install... /usr/bin/install -c
checking whether the C++ compiler works... yes
checking for C++ compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether the compiler supports GNU C++... yes
checking whether c++ accepts -g... yes
checking for c++ option to enable C++11 features... none needed
checking how to run the C++ preprocessor... c++ -E
checking whether the compiler supports GNU C++... (cached) yes
checking whether c++ accepts -g... (cached) yes
checking for c++ option to enable C++11 features... (cached) none needed
checking whether c++ supports C++11... yes
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking for c++ option to support OpenMP... unsupported
checking for MinGW ANSI stdio... no
checking pkg-config is at least version 0.9.0... yes
checking for ddjvuapi >= 3.5.25... yes
checking DjVuLibre fitness... ok
checking for poppler >= 0.62.0... yes
checking for Poppler xpdf headers... yes
checking for GraphicsMagick++... yes
checking whether gmake sets $(MAKE)... yes
checking for a race-free mkdir -p... (cached) /bin/mkdir -p
checking for a sed that does not truncate output... (cached) /usr/bin/sed
checking whether NLS is requested... yes
checking for msgfmt... /usr/local/bin/msgfmt
checking for gmsgfmt... /usr/local/bin/msgfmt
checking for xgettext... /usr/local/bin/xgettext
checking for msgmerge... /usr/local/bin/msgmerge
checking for gcc... cc
checking whether the compiler supports GNU C... yes
checking whether cc accepts -g... yes
checking for cc option to enable C11 features... none needed
checking build system type... armv7-portbld-freebsd15.0
checking host system type... armv7-portbld-freebsd15.0
checking for ld used by cc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for shared library run path origin... done
checking 32-bit host C ABI... yes
checking for ELF binary format... yes
checking for the common suffixes of directories in the library search path... lib,lib32,lib
checking for CFPreferencesCopyAppValue... no
checking for CFLocaleCopyPreferredLanguages... no
checking for GNU gettext in libc... no
checking for iconv... yes
checking for working iconv... yes
checking for GNU gettext in libintl... yes
checking whether to use NLS... yes
checking where the gettext function comes from... external libintl
checking how to link with libintl... /usr/local/lib/libintl.so -Wl,-rpath -Wl,/usr/local/lib
checking for iconv... (cached) yes
checking for working iconv... (cached) yes
checking for iconv declaration... 
         extern size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
checking for timegm... yes
checking whether c++ accepts -Werror=unknown-warning-option... yes
checking whether c++ accepts -Wall... yes
checking whether c++ accepts -Wempty-body... yes
checking whether c++ accepts -Wswitch-enum... yes
checking whether c++ accepts -Werror=misleading-indentation... yes
checking whether c++ accepts -Werror=narrowing... yes
checking whether c++ accepts -Werror=overloaded-virtual... yes
configure: creating ./config.status
config.status: creating autoconf.mk
config.status: creating autoconf.hh
config.status: executing po-directories commands
===========================================================================
=======================<phase: build          >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>  Building for pdf2djvu-0.9.19_3
c++ -O2 -pipe  -DLIBICONV_PLUG -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing   -DLIBICONV_PLUG -isystem /usr/local/include -std=c++17  -Wall -Wempty-body -Wswitch-enum -Werror=misleading-indentation -Werror=narrowing -Werror=overloaded-virtual -I/usr/local/include -D_THREAD_SAFE -pthread -I/usr/local/include/poppler -I/usr/local/include/GraphicsMagick  -DLIBICONV_PLUG -isystem /usr/local/include  -I/usr/local/include  -c -o config.o config.cc
c++ -O2 -pipe  -DLIBICONV_PLUG -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing   -DLIBICONV_PLUG -isystem /usr/local/include -std=c++17  -Wall -Wempty-body -Wswitch-enum -Werror=misleading-indentation -Werror=narrowing -Werror=overloaded-virtual -I/usr/local/include -D_THREAD_SAFE -pthread -I/usr/local/include/poppler -I/usr/local/include/GraphicsMagick  -DLIBICONV_PLUG -isystem /usr/local/include  -I/usr/local/include  -c -o debug.o debug.cc
c++ -O2 -pipe  -DLIBICONV_PLUG -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing   -DLIBICONV_PLUG -isystem /usr/local/include -std=c++17  -Wall -Wempty-body -Wswitch-enum -Werror=misleading-indentation -Werror=narrowing -Werror=overloaded-virtual -I/usr/local/include -D_THREAD_SAFE -pthread -I/usr/local/include/poppler -I/usr/local/include/GraphicsMagick  -DLIBICONV_PLUG -isystem /usr/local/include  -I/usr/local/include  -c -o djvu-outline.o djvu-outline.cc
tools/generate-paths-hh localedir /usr/local/share/locale djvulibre_bindir /usr/local/bin
c++ -O2 -pipe  -DLIBICONV_PLUG -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing   -DLIBICONV_PLUG -isystem /usr/local/include -std=c++17  -Wall -Wempty-body -Wswitch-enum -Werror=misleading-indentation -Werror=narrowing -Werror=overloaded-virtual -I/usr/local/include -D_THREAD_SAFE -pthread -I/usr/local/include/poppler -I/usr/local/include/GraphicsMagick  -DLIBICONV_PLUG -isystem /usr/local/include  -I/usr/local/include  -c -o image-filter.o image-filter.cc
c++ -O2 -pipe  -DLIBICONV_PLUG -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing   -DLIBICONV_PLUG -isystem /usr/local/include -std=c++17  -Wall -Wempty-body -Wswitch-enum -Werror=misleading-indentation -Werror=narrowing -Werror=overloaded-virtual -I/usr/local/include -D_THREAD_SAFE -pthread -I/usr/local/include/poppler -I/usr/local/include/GraphicsMagick  -DLIBICONV_PLUG -isystem /usr/local/include  -I/usr/local/include  -c -o pdf-backend.o pdf-backend.cc
c++ -O2 -pipe  -DLIBICONV_PLUG -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing   -DLIBICONV_PLUG -isystem /usr/local/include -std=c++17  -Wall -Wempty-body -Wswitch-enum -Werror=misleading-indentation -Werror=narrowing -Werror=overloaded-virtual -I/usr/local/include -D_THREAD_SAFE -pthread -I/usr/local/include/poppler -I/usr/local/include/GraphicsMagick  -DLIBICONV_PLUG -isystem /usr/local/include  -I/usr/local/include  -c -o pdf-document-map.o pdf-document-map.cc
In file included from pdf-backend.cc:16:
In file included from ./pdf-backend.hh:23:
In file included from /usr/include/c++/v1/ostream:177:
In file included from /usr/include/c++/v1/__ostream/basic_ostream.h:16:
In file included from /usr/include/c++/v1/__system_error/error_code.h:18:
In file included from /usr/include/c++/v1/__system_error/error_category.h:15:
/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,
      |                                          ^
./pdf-unicode.hh:80:36: note: in instantiation of template class 'std::basic_string<unsigned int>' requested here
   80 |         std::basic_string<Unicode> string;
      |                                    ^
/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 pdf-backend.cc:16:
In file included from ./pdf-backend.hh:23:
In file included from /usr/include/c++/v1/ostream:177:
In file included from /usr/include/c++/v1/__ostream/basic_ostream.h:16:
In file included from /usr/include/c++/v1/__system_error/error_code.h:18:
In file included from /usr/include/c++/v1/__system_error/error_category.h:15:
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 int>'
  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 int>' 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 int> &, std::basic_string_view<unsigned int>>' 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 int, std::char_traits<unsigned int>, std::basic_string<unsigned int>>' 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<unsigned int>]
 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 |   }
      |   ~
/usr/include/c++/v1/string:752:7: note: while substituting deduced template arguments into function template 'basic_string' [with _Tp = std::basic_string<unsigned int>, $1 = (no value)]
  752 | class basic_string {
      |       ^
./pdf-unicode.hh:77:11: note: while declaring the implicit copy constructor for 'MinimalNFKC'
   77 |     class MinimalNFKC : public NFKC
      |           ^
/usr/include/c++/v1/__fwd/string.h:23:29: note: template is declared here
   23 | struct _LIBCPP_TEMPLATE_VIS char_traits;
      |                             ^
2 errors generated.
gmake: *** [<builtin>: pdf-backend.o] Error 1
gmake: *** Waiting for unfinished jobs....
In file included from pdf-document-map.cc:15:
In file included from ./pdf-document-map.hh:19:
/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,
      |                                          ^
./pdf-unicode.hh:80:36: note: in instantiation of template class 'std::basic_string<unsigned int>' requested here
   80 |         std::basic_string<Unicode> string;
      |                                    ^
/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 pdf-document-map.cc:15:
In file included from ./pdf-document-map.hh:19:
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 int>'
  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 int>' 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 int> &, std::basic_string_view<unsigned int>>' 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 int, std::char_traits<unsigned int>, std::basic_string<unsigned int>>' 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<unsigned int>]
 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 |   }
      |   ~
/usr/include/c++/v1/string:752:7: note: while substituting deduced template arguments into function template 'basic_string' [with _Tp = std::basic_string<unsigned int>, $1 = (no value)]
  752 | class basic_string {
      |       ^
./pdf-unicode.hh:77:11: note: while declaring the implicit copy constructor for 'MinimalNFKC'
   77 |     class MinimalNFKC : public NFKC
      |           ^
/usr/include/c++/v1/__fwd/string.h:23:29: note: template is declared here
   23 | struct _LIBCPP_TEMPLATE_VIS char_traits;
      |                             ^
2 errors generated.
gmake: *** [<builtin>: pdf-document-map.o] Error 1
===> 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/converters/pdf2djvu