=> Bootstrap dependency digest>=20211023: found digest-20220214 ===> Skipping vulnerability checks. WARNING: No /var/db/pkg/pkg-vulnerabilities file found. WARNING: To fix run: `/usr/sbin/pkg_admin -K /var/db/pkg fetch-pkg-vulnerabilities'. ===> Building for pdf2djvu-0.9.17.1nb9 c++ -fopenmp -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/include -I/usr/X11R7/include -I/usr/X11R7/include/freetype2 -I/usr/pkg/include/nspr -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 -DPNG_NO_ASSEMBLER_CODE -I/usr/pkg/include -I/usr/include -I/usr/X11R7/include -I/usr/X11R7/include/freetype2 -I/usr/pkg/include/nspr -c -o config.o config.cc c++ -fopenmp -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/include -I/usr/X11R7/include -I/usr/X11R7/include/freetype2 -I/usr/pkg/include/nspr -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 -DPNG_NO_ASSEMBLER_CODE -I/usr/pkg/include -I/usr/include -I/usr/X11R7/include -I/usr/X11R7/include/freetype2 -I/usr/pkg/include/nspr -c -o debug.o debug.cc c++ -fopenmp -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/include -I/usr/X11R7/include -I/usr/X11R7/include/freetype2 -I/usr/pkg/include/nspr -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 -DPNG_NO_ASSEMBLER_CODE -I/usr/pkg/include -I/usr/include -I/usr/X11R7/include -I/usr/X11R7/include/freetype2 -I/usr/pkg/include/nspr -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 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/include -I/usr/X11R7/include -I/usr/X11R7/include/freetype2 -I/usr/pkg/include/nspr -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 -DPNG_NO_ASSEMBLER_CODE -I/usr/pkg/include -I/usr/include -I/usr/X11R7/include -I/usr/X11R7/include/freetype2 -I/usr/pkg/include/nspr -c -o i18n.o i18n.cc c++ -fopenmp -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/include -I/usr/X11R7/include -I/usr/X11R7/include/freetype2 -I/usr/pkg/include/nspr -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 -DPNG_NO_ASSEMBLER_CODE -I/usr/pkg/include -I/usr/include -I/usr/X11R7/include -I/usr/X11R7/include/freetype2 -I/usr/pkg/include/nspr -c -o image-filter.o image-filter.cc In file included from /usr/pkgsrc/print/pdf2djvu/work/.buildlink/include/poppler/PDFDoc.h:63:0, from pdf-backend.hh:32, from image-filter.hh:22, from image-filter.cc:15: /usr/pkgsrc/print/pdf2djvu/work/.buildlink/include/poppler/Form.h:315:200: error: 'optional' in namespace 'std' does not name a template type bool signDocument(const char *filename, const char *certNickname, const char *digestName, const char *password, const GooString *reason = nullptr, const GooString *location = nullptr, const std::optional &ownerPassword = {}, ^~~~~~~~ /usr/pkgsrc/print/pdf2djvu/work/.buildlink/include/poppler/Form.h:315:208: error: expected ',' or '...' before '<' token bool signDocument(const char *filename, const char *certNickname, const char *digestName, const char *password, const GooString *reason = nullptr, const GooString *location = nullptr, const std::optional &ownerPassword = {}, ^ /usr/pkgsrc/print/pdf2djvu/work/.buildlink/include/poppler/Form.h:320:48: error: 'optional' in namespace 'std' does not name a template type const std::optional &ownerPassword = {}, const std::optional &userPassword = {}, const GooString &signatureText = {}, const GooString &signatureTextLeft = {}, double fontSize = {}, ^~~~~~~~ /usr/pkgsrc/print/pdf2djvu/work/.buildlink/include/poppler/Form.h:320:56: error: expected ',' or '...' before '<' token const std::optional &ownerPassword = {}, const std::optional &userPassword = {}, const GooString &signatureText = {}, const GooString &signatureTextLeft = {}, double fontSize = {}, ^ /usr/pkgsrc/print/pdf2djvu/work/.buildlink/include/poppler/Form.h:326:10: error: 'optional' in namespace 'std' does not name a template type std::optional getCheckedSignature(Goffset *checkedFileSize); ^~~~~~~~ /usr/pkgsrc/print/pdf2djvu/work/.buildlink/include/poppler/Form.h:332:114: error: 'optional' in namespace 'std' does not name a template type bool getObjectStartEnd(const GooString &filename, int objNum, Goffset *objStart, Goffset *objEnd, const std::optional &ownerPassword, const std::optional &userPassword); ^~~~~~~~ /usr/pkgsrc/print/pdf2djvu/work/.buildlink/include/poppler/Form.h:332:122: error: expected ',' or '...' before '<' token bool getObjectStartEnd(const GooString &filename, int objNum, Goffset *objStart, Goffset *objEnd, const std::optional &ownerPassword, const std::optional &userPassword); ^ /usr/pkgsrc/print/pdf2djvu/work/.buildlink/include/poppler/Form.h:315:10: error: default argument missing for parameter 7 of 'bool FormWidgetSignature::signDocument(const char*, const char*, const char*, const char*, const GooString*, const GooString*, int)' bool signDocument(const char *filename, const char *certNickname, const char *digestName, const char *password, const GooString *reason = nullptr, const GooString *location = nullptr, const std::optional &ownerPassword = {}, ^~~~~~~~~~~~ /usr/pkgsrc/print/pdf2djvu/work/.buildlink/include/poppler/Form.h:319:10: error: default argument missing for parameter 7 of 'bool FormWidgetSignature::signDocumentWithAppearance(const char*, const char*, const char*, const char*, const GooString*, const GooString*, int)' bool signDocumentWithAppearance(const char *filename, const char *certNickname, const char *digestName, const char *password, const GooString *reason = nullptr, const GooString *location = nullptr, ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/pkgsrc/print/pdf2djvu/work/.buildlink/include/poppler/Form.h:619:10: error: 'optional' in namespace 'std' does not name a template type std::optional getCheckedSignature(Goffset *checkedFileSize); ^~~~~~~~ In file included from pdf-backend.hh:32:0, from image-filter.hh:22, from image-filter.cc:15: /usr/pkgsrc/print/pdf2djvu/work/.buildlink/include/poppler/PDFDoc.h:132:72: error: 'optional' in namespace 'std' does not name a template type explicit PDFDoc(std::unique_ptr &&fileNameA, const std::optional &ownerPassword = {}, const std::optional &userPassword = {}, void *guiDataA = nullptr, ^~~~~~~~ /usr/pkgsrc/print/pdf2djvu/work/.buildlink/include/poppler/PDFDoc.h:132:80: error: expected ',' or '...' before '<' token explicit PDFDoc(std::unique_ptr &&fileNameA, const std::optional &ownerPassword = {}, const std::optional &userPassword = {}, void *guiDataA = nullptr, ^ In file included from pdf-backend.hh:32:0, from image-filter.hh:22, from image-filter.cc:15: /usr/pkgsrc/print/pdf2djvu/work/.buildlink/include/poppler/PDFDoc.h:139:50: error: 'optional' in namespace 'std' does not name a template type explicit PDFDoc(BaseStream *strA, const std::optional &ownerPassword = {}, const std::optional &userPassword = {}, void *guiDataA = nullptr, const std::function &xrefReconstructedCallback = {}); ^~~~~~~~ /usr/pkgsrc/print/pdf2djvu/work/.buildlink/include/poppler/PDFDoc.h:139:58: error: expected ',' or '...' before '<' token explicit PDFDoc(BaseStream *strA, const std::optional &ownerPassword = {}, const std::optional &userPassword = {}, void *guiDataA = nullptr, const std::function &xrefReconstructedCallback = {}); ^ /usr/pkgsrc/print/pdf2djvu/work/.buildlink/include/poppler/PDFDoc.h:342:98: error: 'optional' in namespace 'std' does not name a template type const GooString *location = nullptr, const std::string &imagePath = "", const std::optional &ownerPassword = {}, const std::optional &userPassword = {}); ^~~~~~~~ /usr/pkgsrc/print/pdf2djvu/work/.buildlink/include/poppler/PDFDoc.h:342:106: error: expected ',' or '...' before '<' token const GooString *location = nullptr, const std::string &imagePath = "", const std::optional &ownerPassword = {}, const std::optional &userPassword = {}); ^ /usr/pkgsrc/print/pdf2djvu/work/.buildlink/include/poppler/PDFDoc.h:372:27: error: 'optional' in namespace 'std' does not name a template type bool setup(const std::optional &ownerPassword, const std::optional &userPassword, const std::function &xrefReconstructedCallback); ^~~~~~~~ /usr/pkgsrc/print/pdf2djvu/work/.buildlink/include/poppler/PDFDoc.h:372:35: error: expected ',' or '...' before '<' token bool setup(const std::optional &ownerPassword, const std::optional &userPassword, const std::function &xrefReconstructedCallback); ^ /usr/pkgsrc/print/pdf2djvu/work/.buildlink/include/poppler/PDFDoc.h:375:37: error: 'optional' in namespace 'std' does not name a template type bool checkEncryption(const std::optional &ownerPassword, const std::optional &userPassword); ^~~~~~~~ /usr/pkgsrc/print/pdf2djvu/work/.buildlink/include/poppler/PDFDoc.h:375:45: error: expected ',' or '...' before '<' token bool checkEncryption(const std::optional &ownerPassword, const std::optional &userPassword); ^ /usr/pkgsrc/print/pdf2djvu/work/.buildlink/include/poppler/PDFDoc.h:340:10: error: default argument missing for parameter 18 of 'bool PDFDoc::sign(const char*, const char*, const char*, GooString*, int, const PDFRectangle&, const GooString&, const GooString&, double, double, std::unique_ptr&&, double, std::unique_ptr&&, std::unique_ptr&&, const GooString*, const GooString*, const string&, int)' bool sign(const char *saveFilename, const char *certNickname, const char *password, GooString *partialFieldName, int page, const PDFRectangle &rect, const GooString &signatureText, const GooString &signatureTextLeft, double fontSize, ^~~~ gmake: *** [: image-filter.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