=> Bootstrap dependency digest>=20211023: found digest-20220214
===> Skipping vulnerability checks.
WARNING: No /usr/pkg/pkgdb/pkg-vulnerabilities file found.
WARNING: To fix run: `/usr/sbin/pkg_admin -K /usr/pkg/pkgdb fetch-pkg-vulnerabilities'.
===> Building for pdf2djvu-0.9.18.2nb18
c++ -fopenmp -O2 -I/usr/pkg/include -I/usr/include -I/usr/X11R7/include -I/usr/pkg/include/freetype2 -I/usr/pkg/include/nspr -I/usr/pkg/include/glib-2.0 -I/usr/pkg/include/gio-unix-2.0 -I/usr/pkg/lib/glib-2.0/include -I/usr/pkg/include/krb5 -Wall -Wempty-body -Werror=misleading-indentation -Werror=narrowing -Werror=overloaded-virtual -I/usr/pkg/include -pthread -I/usr/pkg/include/poppler -I/usr/pkg/include/GraphicsMagick  -I/usr/pkg/include -I/usr/include -I/usr/X11R7/include -I/usr/pkg/include/freetype2 -I/usr/pkg/include/nspr -I/usr/pkg/include/glib-2.0 -I/usr/pkg/include/gio-unix-2.0 -I/usr/pkg/lib/glib-2.0/include -I/usr/pkg/include/krb5   -c -o config.o config.cc
c++ -fopenmp -O2 -I/usr/pkg/include -I/usr/include -I/usr/X11R7/include -I/usr/pkg/include/freetype2 -I/usr/pkg/include/nspr -I/usr/pkg/include/glib-2.0 -I/usr/pkg/include/gio-unix-2.0 -I/usr/pkg/lib/glib-2.0/include -I/usr/pkg/include/krb5 -Wall -Wempty-body -Werror=misleading-indentation -Werror=narrowing -Werror=overloaded-virtual -I/usr/pkg/include -pthread -I/usr/pkg/include/poppler -I/usr/pkg/include/GraphicsMagick  -I/usr/pkg/include -I/usr/include -I/usr/X11R7/include -I/usr/pkg/include/freetype2 -I/usr/pkg/include/nspr -I/usr/pkg/include/glib-2.0 -I/usr/pkg/include/gio-unix-2.0 -I/usr/pkg/lib/glib-2.0/include -I/usr/pkg/include/krb5   -c -o debug.o debug.cc
c++ -fopenmp -O2 -I/usr/pkg/include -I/usr/include -I/usr/X11R7/include -I/usr/pkg/include/freetype2 -I/usr/pkg/include/nspr -I/usr/pkg/include/glib-2.0 -I/usr/pkg/include/gio-unix-2.0 -I/usr/pkg/lib/glib-2.0/include -I/usr/pkg/include/krb5 -Wall -Wempty-body -Werror=misleading-indentation -Werror=narrowing -Werror=overloaded-virtual -I/usr/pkg/include -pthread -I/usr/pkg/include/poppler -I/usr/pkg/include/GraphicsMagick  -I/usr/pkg/include -I/usr/include -I/usr/X11R7/include -I/usr/pkg/include/freetype2 -I/usr/pkg/include/nspr -I/usr/pkg/include/glib-2.0 -I/usr/pkg/include/gio-unix-2.0 -I/usr/pkg/lib/glib-2.0/include -I/usr/pkg/include/krb5   -c -o djvu-outline.o djvu-outline.cc
tools/generate-paths-hh localedir /usr/pkg/share/locale djvulibre_bindir /usr/pkg/bin
c++ -fopenmp -O2 -I/usr/pkg/include -I/usr/include -I/usr/X11R7/include -I/usr/pkg/include/freetype2 -I/usr/pkg/include/nspr -I/usr/pkg/include/glib-2.0 -I/usr/pkg/include/gio-unix-2.0 -I/usr/pkg/lib/glib-2.0/include -I/usr/pkg/include/krb5 -Wall -Wempty-body -Werror=misleading-indentation -Werror=narrowing -Werror=overloaded-virtual -I/usr/pkg/include -pthread -I/usr/pkg/include/poppler -I/usr/pkg/include/GraphicsMagick  -I/usr/pkg/include -I/usr/include -I/usr/X11R7/include -I/usr/pkg/include/freetype2 -I/usr/pkg/include/nspr -I/usr/pkg/include/glib-2.0 -I/usr/pkg/include/gio-unix-2.0 -I/usr/pkg/lib/glib-2.0/include -I/usr/pkg/include/krb5   -c -o image-filter.o image-filter.cc
c++ -fopenmp -O2 -I/usr/pkg/include -I/usr/include -I/usr/X11R7/include -I/usr/pkg/include/freetype2 -I/usr/pkg/include/nspr -I/usr/pkg/include/glib-2.0 -I/usr/pkg/include/gio-unix-2.0 -I/usr/pkg/lib/glib-2.0/include -I/usr/pkg/include/krb5 -Wall -Wempty-body -Werror=misleading-indentation -Werror=narrowing -Werror=overloaded-virtual -I/usr/pkg/include -pthread -I/usr/pkg/include/poppler -I/usr/pkg/include/GraphicsMagick  -I/usr/pkg/include -I/usr/include -I/usr/X11R7/include -I/usr/pkg/include/freetype2 -I/usr/pkg/include/nspr -I/usr/pkg/include/glib-2.0 -I/usr/pkg/include/gio-unix-2.0 -I/usr/pkg/lib/glib-2.0/include -I/usr/pkg/include/krb5   -c -o pdf-backend.o pdf-backend.cc
c++ -fopenmp -O2 -I/usr/pkg/include -I/usr/include -I/usr/X11R7/include -I/usr/pkg/include/freetype2 -I/usr/pkg/include/nspr -I/usr/pkg/include/glib-2.0 -I/usr/pkg/include/gio-unix-2.0 -I/usr/pkg/lib/glib-2.0/include -I/usr/pkg/include/krb5 -Wall -Wempty-body -Werror=misleading-indentation -Werror=narrowing -Werror=overloaded-virtual -I/usr/pkg/include -pthread -I/usr/pkg/include/poppler -I/usr/pkg/include/GraphicsMagick  -I/usr/pkg/include -I/usr/include -I/usr/X11R7/include -I/usr/pkg/include/freetype2 -I/usr/pkg/include/nspr -I/usr/pkg/include/glib-2.0 -I/usr/pkg/include/gio-unix-2.0 -I/usr/pkg/lib/glib-2.0/include -I/usr/pkg/include/krb5   -c -o pdf-document-map.o pdf-document-map.cc
c++ -fopenmp -O2 -I/usr/pkg/include -I/usr/include -I/usr/X11R7/include -I/usr/pkg/include/freetype2 -I/usr/pkg/include/nspr -I/usr/pkg/include/glib-2.0 -I/usr/pkg/include/gio-unix-2.0 -I/usr/pkg/lib/glib-2.0/include -I/usr/pkg/include/krb5 -Wall -Wempty-body -Werror=misleading-indentation -Werror=narrowing -Werror=overloaded-virtual -I/usr/pkg/include -pthread -I/usr/pkg/include/poppler -I/usr/pkg/include/GraphicsMagick  -I/usr/pkg/include -I/usr/include -I/usr/X11R7/include -I/usr/pkg/include/freetype2 -I/usr/pkg/include/nspr -I/usr/pkg/include/glib-2.0 -I/usr/pkg/include/gio-unix-2.0 -I/usr/pkg/lib/glib-2.0/include -I/usr/pkg/include/krb5   -c -o pdf-dpi.o pdf-dpi.cc
c++ -fopenmp -O2 -I/usr/pkg/include -I/usr/include -I/usr/X11R7/include -I/usr/pkg/include/freetype2 -I/usr/pkg/include/nspr -I/usr/pkg/include/glib-2.0 -I/usr/pkg/include/gio-unix-2.0 -I/usr/pkg/lib/glib-2.0/include -I/usr/pkg/include/krb5 -Wall -Wempty-body -Werror=misleading-indentation -Werror=narrowing -Werror=overloaded-virtual -I/usr/pkg/include -pthread -I/usr/pkg/include/poppler -I/usr/pkg/include/GraphicsMagick  -I/usr/pkg/include -I/usr/include -I/usr/X11R7/include -I/usr/pkg/include/freetype2 -I/usr/pkg/include/nspr -I/usr/pkg/include/glib-2.0 -I/usr/pkg/include/gio-unix-2.0 -I/usr/pkg/lib/glib-2.0/include -I/usr/pkg/include/krb5   -c -o pdf-unicode.o pdf-unicode.cc
c++ -fopenmp -O2 -I/usr/pkg/include -I/usr/include -I/usr/X11R7/include -I/usr/pkg/include/freetype2 -I/usr/pkg/include/nspr -I/usr/pkg/include/glib-2.0 -I/usr/pkg/include/gio-unix-2.0 -I/usr/pkg/lib/glib-2.0/include -I/usr/pkg/include/krb5 -Wall -Wempty-body -Werror=misleading-indentation -Werror=narrowing -Werror=overloaded-virtual -I/usr/pkg/include -pthread -I/usr/pkg/include/poppler -I/usr/pkg/include/GraphicsMagick  -I/usr/pkg/include -I/usr/include -I/usr/X11R7/include -I/usr/pkg/include/freetype2 -I/usr/pkg/include/nspr -I/usr/pkg/include/glib-2.0 -I/usr/pkg/include/gio-unix-2.0 -I/usr/pkg/lib/glib-2.0/include -I/usr/pkg/include/krb5   -c -o pdf2djvu.o pdf2djvu.cc
c++ -fopenmp -O2 -I/usr/pkg/include -I/usr/include -I/usr/X11R7/include -I/usr/pkg/include/freetype2 -I/usr/pkg/include/nspr -I/usr/pkg/include/glib-2.0 -I/usr/pkg/include/gio-unix-2.0 -I/usr/pkg/lib/glib-2.0/include -I/usr/pkg/include/krb5 -Wall -Wempty-body -Werror=misleading-indentation -Werror=narrowing -Werror=overloaded-virtual -I/usr/pkg/include -pthread -I/usr/pkg/include/poppler -I/usr/pkg/include/GraphicsMagick  -I/usr/pkg/include -I/usr/include -I/usr/X11R7/include -I/usr/pkg/include/freetype2 -I/usr/pkg/include/nspr -I/usr/pkg/include/glib-2.0 -I/usr/pkg/include/gio-unix-2.0 -I/usr/pkg/lib/glib-2.0/include -I/usr/pkg/include/krb5   -c -o sexpr.o sexpr.cc
In file included from /pbulk/work/print/pdf2djvu/work/.buildlink/include/poppler/Object.h:44,
                 from /pbulk/work/print/pdf2djvu/work/.buildlink/include/poppler/XRef.h:44,
                 from /pbulk/work/print/pdf2djvu/work/.buildlink/include/poppler/PDFDoc.h:61,
                 from pdf-backend.hh:32,
                 from pdf-document-map.cc:23:
/pbulk/work/print/pdf2djvu/work/.buildlink/include/poppler/goo/GooString.h:241:24: error: 'starts_with' has not been declared in 'std::__cxx11::string'
  241 |     using std::string::starts_with;
      |                        ^~~~~~~~~~~
/pbulk/work/print/pdf2djvu/work/.buildlink/include/poppler/goo/GooString.h:244:24: error: 'ends_with' has not been declared in 'std::__cxx11::string'
  244 |     using std::string::ends_with;
      |                        ^~~~~~~~~
In file included from /pbulk/work/print/pdf2djvu/work/.buildlink/include/poppler/Object.h:44,
                 from /pbulk/work/print/pdf2djvu/work/.buildlink/include/poppler/XRef.h:44,
                 from /pbulk/work/print/pdf2djvu/work/.buildlink/include/poppler/PDFDoc.h:61,
                 from pdf-backend.hh:32,
                 from image-filter.hh:22,
                 from image-filter.cc:15:
/pbulk/work/print/pdf2djvu/work/.buildlink/include/poppler/goo/GooString.h:241:24: error: 'starts_with' has not been declared in 'std::__cxx11::string'
  241 |     using std::string::starts_with;
      |                        ^~~~~~~~~~~
/pbulk/work/print/pdf2djvu/work/.buildlink/include/poppler/goo/GooString.h:244:24: error: 'ends_with' has not been declared in 'std::__cxx11::string'
  244 |     using std::string::ends_with;
      |                        ^~~~~~~~~
In file included from /pbulk/work/print/pdf2djvu/work/.buildlink/include/poppler/Object.h:44,
                 from /pbulk/work/print/pdf2djvu/work/.buildlink/include/poppler/XRef.h:44,
                 from /pbulk/work/print/pdf2djvu/work/.buildlink/include/poppler/PDFDoc.h:61,
                 from pdf-backend.hh:32,
                 from pdf-backend.cc:16:
/pbulk/work/print/pdf2djvu/work/.buildlink/include/poppler/goo/GooString.h:241:24: error: 'starts_with' has not been declared in 'std::__cxx11::string'
  241 |     using std::string::starts_with;
      |                        ^~~~~~~~~~~
/pbulk/work/print/pdf2djvu/work/.buildlink/include/poppler/goo/GooString.h:244:24: error: 'ends_with' has not been declared in 'std::__cxx11::string'
  244 |     using std::string::ends_with;
      |                        ^~~~~~~~~
In file included from /pbulk/work/print/pdf2djvu/work/.buildlink/include/poppler/Object.h:44,
                 from /pbulk/work/print/pdf2djvu/work/.buildlink/include/poppler/XRef.h:44,
                 from /pbulk/work/print/pdf2djvu/work/.buildlink/include/poppler/PDFDoc.h:61,
                 from pdf-backend.hh:32,
                 from pdf-unicode.hh:23,
                 from pdf-unicode.cc:15:
/pbulk/work/print/pdf2djvu/work/.buildlink/include/poppler/goo/GooString.h:241:24: error: 'starts_with' has not been declared in 'std::__cxx11::string'
  241 |     using std::string::starts_with;
      |                        ^~~~~~~~~~~
/pbulk/work/print/pdf2djvu/work/.buildlink/include/poppler/goo/GooString.h:244:24: error: 'ends_with' has not been declared in 'std::__cxx11::string'
  244 |     using std::string::ends_with;
      |                        ^~~~~~~~~
In file included from /pbulk/work/print/pdf2djvu/work/.buildlink/include/poppler/Object.h:690,
                 from /pbulk/work/print/pdf2djvu/work/.buildlink/include/poppler/XRef.h:44,
                 from /pbulk/work/print/pdf2djvu/work/.buildlink/include/poppler/PDFDoc.h:61,
                 from pdf-backend.hh:32,
                 from pdf-document-map.cc:23:
/pbulk/work/print/pdf2djvu/work/.buildlink/include/poppler/Stream.h:307:26: error: 'std::span' has not been declared
  307 |     virtual size_t write(std::span<unsigned char> data) = 0;
      |                          ^~~
/pbulk/work/print/pdf2djvu/work/.buildlink/include/poppler/Stream.h:307:35: error: expected ',' or '...' before '<' token
  307 |     virtual size_t write(std::span<unsigned char> data) = 0;
      |                                   ^
/pbulk/work/print/pdf2djvu/work/.buildlink/include/poppler/Stream.h:328:18: error: 'std::span' has not been declared
  328 |     size_t write(std::span<unsigned char> data) override;
      |                  ^~~
/pbulk/work/print/pdf2djvu/work/.buildlink/include/poppler/Stream.h:328:27: error: expected ',' or '...' before '<' token
  328 |     size_t write(std::span<unsigned char> data) override;
      |                           ^
In file included from /pbulk/work/print/pdf2djvu/work/.buildlink/include/poppler/Object.h:690,
                 from /pbulk/work/print/pdf2djvu/work/.buildlink/include/poppler/XRef.h:44,
                 from /pbulk/work/print/pdf2djvu/work/.buildlink/include/poppler/PDFDoc.h:61,
                 from pdf-backend.hh:32,
                 from pdf-backend.cc:16:
/pbulk/work/print/pdf2djvu/work/.buildlink/include/poppler/Stream.h:307:26: error: 'std::span' has not been declared
  307 |     virtual size_t write(std::span<unsigned char> data) = 0;
      |                          ^~~
/pbulk/work/print/pdf2djvu/work/.buildlink/include/poppler/Stream.h:307:35: error: expected ',' or '...' before '<' token
  307 |     virtual size_t write(std::span<unsigned char> data) = 0;
      |                                   ^
/pbulk/work/print/pdf2djvu/work/.buildlink/include/poppler/Stream.h:328:18: error: 'std::span' has not been declared
  328 |     size_t write(std::span<unsigned char> data) override;
      |                  ^~~
/pbulk/work/print/pdf2djvu/work/.buildlink/include/poppler/Stream.h:328:27: error: expected ',' or '...' before '<' token
  328 |     size_t write(std::span<unsigned char> data) override;
      |                           ^
In file included from /pbulk/work/print/pdf2djvu/work/.buildlink/include/poppler/Object.h:690,
                 from /pbulk/work/print/pdf2djvu/work/.buildlink/include/poppler/XRef.h:44,
                 from /pbulk/work/print/pdf2djvu/work/.buildlink/include/poppler/PDFDoc.h:61,
                 from pdf-backend.hh:32,
                 from image-filter.hh:22,
                 from image-filter.cc:15:
/pbulk/work/print/pdf2djvu/work/.buildlink/include/poppler/Stream.h:307:26: error: 'std::span' has not been declared
  307 |     virtual size_t write(std::span<unsigned char> data) = 0;
      |                          ^~~
/pbulk/work/print/pdf2djvu/work/.buildlink/include/poppler/Stream.h:307:35: error: expected ',' or '...' before '<' token
  307 |     virtual size_t write(std::span<unsigned char> data) = 0;
      |                                   ^
/pbulk/work/print/pdf2djvu/work/.buildlink/include/poppler/Stream.h:328:18: error: 'std::span' has not been declared
  328 |     size_t write(std::span<unsigned char> data) override;
      |                  ^~~
/pbulk/work/print/pdf2djvu/work/.buildlink/include/poppler/Stream.h:328:27: error: expected ',' or '...' before '<' token
  328 |     size_t write(std::span<unsigned char> data) override;
      |                           ^
In file included from /pbulk/work/print/pdf2djvu/work/.buildlink/include/poppler/Object.h:690,
                 from /pbulk/work/print/pdf2djvu/work/.buildlink/include/poppler/XRef.h:44,
                 from /pbulk/work/print/pdf2djvu/work/.buildlink/include/poppler/PDFDoc.h:61,
                 from pdf-backend.hh:32,
                 from pdf-unicode.hh:23,
                 from pdf-unicode.cc:15:
/pbulk/work/print/pdf2djvu/work/.buildlink/include/poppler/Stream.h:307:26: error: 'std::span' has not been declared
  307 |     virtual size_t write(std::span<unsigned char> data) = 0;
      |                          ^~~
/pbulk/work/print/pdf2djvu/work/.buildlink/include/poppler/Stream.h:307:35: error: expected ',' or '...' before '<' token
  307 |     virtual size_t write(std::span<unsigned char> data) = 0;
      |                                   ^
/pbulk/work/print/pdf2djvu/work/.buildlink/include/poppler/Stream.h:328:18: error: 'std::span' has not been declared
  328 |     size_t write(std::span<unsigned char> data) override;
      |                  ^~~
/pbulk/work/print/pdf2djvu/work/.buildlink/include/poppler/Stream.h:328:27: error: expected ',' or '...' before '<' token
  328 |     size_t write(std::span<unsigned char> data) override;
      |                           ^
In file included from /pbulk/work/print/pdf2djvu/work/.buildlink/include/poppler/Object.h:44,
                 from /pbulk/work/print/pdf2djvu/work/.buildlink/include/poppler/XRef.h:44,
                 from /pbulk/work/print/pdf2djvu/work/.buildlink/include/poppler/PDFDoc.h:61,
                 from pdf-backend.hh:32,
                 from pdf-dpi.hh:18,
                 from pdf-dpi.cc:15:
/pbulk/work/print/pdf2djvu/work/.buildlink/include/poppler/goo/GooString.h:241:24: error: 'starts_with' has not been declared in 'std::__cxx11::string'
  241 |     using std::string::starts_with;
      |                        ^~~~~~~~~~~
/pbulk/work/print/pdf2djvu/work/.buildlink/include/poppler/goo/GooString.h:244:24: error: 'ends_with' has not been declared in 'std::__cxx11::string'
  244 |     using std::string::ends_with;
      |                        ^~~~~~~~~
In file included from /pbulk/work/print/pdf2djvu/work/.buildlink/include/poppler/Object.h:690,
                 from /pbulk/work/print/pdf2djvu/work/.buildlink/include/poppler/XRef.h:44,
                 from /pbulk/work/print/pdf2djvu/work/.buildlink/include/poppler/PDFDoc.h:61,
                 from pdf-backend.hh:32,
                 from pdf-dpi.hh:18,
                 from pdf-dpi.cc:15:
/pbulk/work/print/pdf2djvu/work/.buildlink/include/poppler/Stream.h:307:26: error: 'std::span' has not been declared
  307 |     virtual size_t write(std::span<unsigned char> data) = 0;
      |                          ^~~
/pbulk/work/print/pdf2djvu/work/.buildlink/include/poppler/Stream.h:307:35: error: expected ',' or '...' before '<' token
  307 |     virtual size_t write(std::span<unsigned char> data) = 0;
      |                                   ^
/pbulk/work/print/pdf2djvu/work/.buildlink/include/poppler/Stream.h:328:18: error: 'std::span' has not been declared
  328 |     size_t write(std::span<unsigned char> data) override;
      |                  ^~~
/pbulk/work/print/pdf2djvu/work/.buildlink/include/poppler/Stream.h:328:27: error: expected ',' or '...' before '<' token
  328 |     size_t write(std::span<unsigned char> data) override;
      |                           ^
c++ -fopenmp -O2 -I/usr/pkg/include -I/usr/include -I/usr/X11R7/include -I/usr/pkg/include/freetype2 -I/usr/pkg/include/nspr -I/usr/pkg/include/glib-2.0 -I/usr/pkg/include/gio-unix-2.0 -I/usr/pkg/lib/glib-2.0/include -I/usr/pkg/include/krb5 -Wall -Wempty-body -Werror=misleading-indentation -Werror=narrowing -Werror=overloaded-virtual -I/usr/pkg/include -pthread -I/usr/pkg/include/poppler -I/usr/pkg/include/GraphicsMagick  -I/usr/pkg/include -I/usr/include -I/usr/X11R7/include -I/usr/pkg/include/freetype2 -I/usr/pkg/include/nspr -I/usr/pkg/include/glib-2.0 -I/usr/pkg/include/gio-unix-2.0 -I/usr/pkg/lib/glib-2.0/include -I/usr/pkg/include/krb5   -c -o string-format.o string-format.cc
In file included from /pbulk/work/print/pdf2djvu/work/.buildlink/include/poppler/UnicodeMapFuncs.h:29,
                 from pdf-unicode.cc:30:
/pbulk/work/print/pdf2djvu/work/.buildlink/include/poppler/UTF.h:41:39: error: 'span' is not a member of 'std'
   41 | std::vector<Unicode> UTF16toUCS4(std::span<Unicode> utf16);
      |                                       ^~~~
/pbulk/work/print/pdf2djvu/work/.buildlink/include/poppler/UTF.h:41:51: error: expected primary-expression before '>' token
   41 | std::vector<Unicode> UTF16toUCS4(std::span<Unicode> utf16);
      |                                                   ^
/pbulk/work/print/pdf2djvu/work/.buildlink/include/poppler/UTF.h:41:53: error: 'utf16' was not declared in this scope
   41 | std::vector<Unicode> UTF16toUCS4(std::span<Unicode> utf16);
      |                                                     ^~~~~
In file included from /pbulk/work/print/pdf2djvu/work/.buildlink/include/poppler/UnicodeMapFuncs.h:29,
                 from pdf-unicode.cc:30:
/pbulk/work/print/pdf2djvu/work/.buildlink/include/poppler/UTF.h: In function 'bool hasUnicodeByteOrderMark(const string&)':
/pbulk/work/print/pdf2djvu/work/.buildlink/include/poppler/UTF.h:58:14: error: 'const string' {aka 'const class std::__cxx11::basic_string<char>'} has no member named 'starts_with'
   58 |     return s.starts_with(unicodeByteOrderMark);
      |              ^~~~~~~~~~~
/pbulk/work/print/pdf2djvu/work/.buildlink/include/poppler/UTF.h: In function 'bool hasUnicodeByteOrderMarkLE(const string&)':
/pbulk/work/print/pdf2djvu/work/.buildlink/include/poppler/UTF.h:64:14: error: 'const string' {aka 'const class std::__cxx11::basic_string<char>'} has no member named 'starts_with'
   64 |     return s.starts_with(unicodeByteOrderMarkLE);
      |              ^~~~~~~~~~~
/pbulk/work/print/pdf2djvu/work/.buildlink/include/poppler/UTF.h: At global scope:
/pbulk/work/print/pdf2djvu/work/.buildlink/include/poppler/UTF.h:151:29: error: variable or field 'unicodeToAscii7' declared void
  151 | void POPPLER_PRIVATE_EXPORT unicodeToAscii7(std::span<Unicode> in, Unicode **ucs4_out, int *out_len, const int *in_idx, int **indices);
      |                             ^~~~~~~~~~~~~~~
/pbulk/work/print/pdf2djvu/work/.buildlink/include/poppler/UTF.h:151:50: error: 'span' is not a member of 'std'
  151 | void POPPLER_PRIVATE_EXPORT unicodeToAscii7(std::span<Unicode> in, Unicode **ucs4_out, int *out_len, const int *in_idx, int **indices);
      |                                                  ^~~~
/pbulk/work/print/pdf2djvu/work/.buildlink/include/poppler/UTF.h:151:62: error: expected primary-expression before '>' token
  151 | void POPPLER_PRIVATE_EXPORT unicodeToAscii7(std::span<Unicode> in, Unicode **ucs4_out, int *out_len, const int *in_idx, int **indices);
      |                                                              ^
/pbulk/work/print/pdf2djvu/work/.buildlink/include/poppler/UTF.h:151:64: error: 'in' was not declared in this scope; did you mean 'int'?
  151 | void POPPLER_PRIVATE_EXPORT unicodeToAscii7(std::span<Unicode> in, Unicode **ucs4_out, int *out_len, const int *in_idx, int **indices);
      |                                                                ^~
      |                                                                int
/pbulk/work/print/pdf2djvu/work/.buildlink/include/poppler/UTF.h:151:76: error: expected primary-expression before '*' token
  151 | void POPPLER_PRIVATE_EXPORT unicodeToAscii7(std::span<Unicode> in, Unicode **ucs4_out, int *out_len, const int *in_idx, int **indices);
      |                                                                            ^
/pbulk/work/print/pdf2djvu/work/.buildlink/include/poppler/UTF.h:151:78: error: 'ucs4_out' was not declared in this scope
  151 | void POPPLER_PRIVATE_EXPORT unicodeToAscii7(std::span<Unicode> in, Unicode **ucs4_out, int *out_len, const int *in_idx, int **indices);
      |                                                                              ^~~~~~~~
/pbulk/work/print/pdf2djvu/work/.buildlink/include/poppler/UTF.h:151:88: error: expected primary-expression before 'int'
  151 | void POPPLER_PRIVATE_EXPORT unicodeToAscii7(std::span<Unicode> in, Unicode **ucs4_out, int *out_len, const int *in_idx, int **indices);
      |                                                                                        ^~~
/pbulk/work/print/pdf2djvu/work/.buildlink/include/poppler/UTF.h:151:102: error: expected primary-expression before 'const'
  151 | void POPPLER_PRIVATE_EXPORT unicodeToAscii7(std::span<Unicode> in, Unicode **ucs4_out, int *out_len, const int *in_idx, int **indices);
      |                                                                                                      ^~~~~
/pbulk/work/print/pdf2djvu/work/.buildlink/include/poppler/UTF.h:151:121: error: expected primary-expression before 'int'
  151 | void POPPLER_PRIVATE_EXPORT unicodeToAscii7(std::span<Unicode> in, Unicode **ucs4_out, int *out_len, const int *in_idx, int **indices);
      |                                                                                                                         ^~~
In file included from /pbulk/work/print/pdf2djvu/work/.buildlink/include/poppler/Object.h:44,
                 from /pbulk/work/print/pdf2djvu/work/.buildlink/include/poppler/XRef.h:44,
                 from /pbulk/work/print/pdf2djvu/work/.buildlink/include/poppler/PDFDoc.h:61,
                 from pdf-backend.hh:32,
                 from image-filter.hh:22,
                 from pdf2djvu.cc:43:
/pbulk/work/print/pdf2djvu/work/.buildlink/include/poppler/goo/GooString.h:241:24: error: 'starts_with' has not been declared in 'std::__cxx11::string'
  241 |     using std::string::starts_with;
      |                        ^~~~~~~~~~~
/pbulk/work/print/pdf2djvu/work/.buildlink/include/poppler/goo/GooString.h:244:24: error: 'ends_with' has not been declared in 'std::__cxx11::string'
  244 |     using std::string::ends_with;
      |                        ^~~~~~~~~
In file included from /pbulk/work/print/pdf2djvu/work/.buildlink/include/poppler/Object.h:690,
                 from /pbulk/work/print/pdf2djvu/work/.buildlink/include/poppler/XRef.h:44,
                 from /pbulk/work/print/pdf2djvu/work/.buildlink/include/poppler/PDFDoc.h:61,
                 from pdf-backend.hh:32,
                 from image-filter.hh:22,
                 from pdf2djvu.cc:43:
/pbulk/work/print/pdf2djvu/work/.buildlink/include/poppler/Stream.h:307:26: error: 'std::span' has not been declared
  307 |     virtual size_t write(std::span<unsigned char> data) = 0;
      |                          ^~~
/pbulk/work/print/pdf2djvu/work/.buildlink/include/poppler/Stream.h:307:35: error: expected ',' or '...' before '<' token
  307 |     virtual size_t write(std::span<unsigned char> data) = 0;
      |                                   ^
/pbulk/work/print/pdf2djvu/work/.buildlink/include/poppler/Stream.h:328:18: error: 'std::span' has not been declared
  328 |     size_t write(std::span<unsigned char> data) override;
      |                  ^~~
/pbulk/work/print/pdf2djvu/work/.buildlink/include/poppler/Stream.h:328:27: error: expected ',' or '...' before '<' token
  328 |     size_t write(std::span<unsigned char> data) override;
      |                           ^
gmake: *** [<builtin>: pdf-unicode.o] Error 1
gmake: *** Waiting for unfinished jobs....
gmake: *** [<builtin>: pdf-document-map.o] Error 1
gmake: *** [<builtin>: pdf-dpi.o] Error 1
gmake: *** [<builtin>: pdf-backend.o] Error 1
gmake: *** [<builtin>: image-filter.o] Error 1
gmake: *** [<builtin>: pdf2djvu.o] Error 1
*** Error code 2

Stop.
make[1]: stopped in /usr/pkgsrc/print/pdf2djvu
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/print/pdf2djvu