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

From: <pkg-fallout_at_FreeBSD.org>
Date: Mon, 18 Nov 2024 02:03:00 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/beefy17/data/main-i386-default/p9c8dd30387a6_s976e1d36be6/logs/pdf2djvu-0.9.19_3.log
Build URL:      https://pkg-status.freebsd.org/beefy17/build.html?mastername=main-i386-default&build=p9c8dd30387a6_s976e1d36be6
Log:

=>> Building converters/pdf2djvu
build started at Mon Nov 18 02:02:37 UTC 2024
port directory: /usr/ports/converters/pdf2djvu
package name: pdf2djvu-0.9.19_3
building for: FreeBSD main-i386-default-job-06 15.0-CURRENT FreeBSD 15.0-CURRENT 1500027 i386
maintained by: samy.mahmoudi@gmail.com
Makefile datestamp: -rw-r--r--  1 root wheel 1640 Mar  2  2024 /usr/ports/converters/pdf2djvu/Makefile
Ports top last git commit: 9c8dd30387a
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: 1500027
Job Id: 06




!!! 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/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 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
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
===>   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-i386-default-job-06] Installing pkg-1.21.3...
[main-i386-default-job-06] 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
<snip>
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++ -fopenmp -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++ -fopenmp -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++ -fopenmp -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++ -fopenmp -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++ -fopenmp -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 main.o main.cc
c++ -fopenmp -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
In file included from main.cc:22:
In file included from /usr/include/c++/v1/iomanip:46:
In file included from /usr/include/c++/v1/istream:164:
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 main.cc:22:
In file included from /usr/include/c++/v1/iomanip:46:
In file included from /usr/include/c++/v1/istream:164:
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;
      |                             ^
c++ -fopenmp -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
2 errors generated.
gmake: *** [<builtin>: main.o] Error 1
gmake: *** Waiting for unfinished jobs....
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
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