=> Bootstrap dependency digest>=20010302: found digest-20180917 ===> 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.10nb4 clang++ -fopenmp -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/freetype2 -Wall -Wempty-body -Werror=narrowing -Werror=overloaded-virtual -I/usr/pkg/include -pthread -I/usr/pkg/include/poppler -I/usr/pkg/include/GraphicsMagick -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/freetype2 -c -o config.o config.cc clang++ -fopenmp -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/freetype2 -Wall -Wempty-body -Werror=narrowing -Werror=overloaded-virtual -I/usr/pkg/include -pthread -I/usr/pkg/include/poppler -I/usr/pkg/include/GraphicsMagick -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/freetype2 -c -o debug.o debug.cc clang++ -fopenmp -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/freetype2 -Wall -Wempty-body -Werror=narrowing -Werror=overloaded-virtual -I/usr/pkg/include -pthread -I/usr/pkg/include/poppler -I/usr/pkg/include/GraphicsMagick -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/freetype2 -c -o djvu-outline.o djvu-outline.cc tools/generate-paths-hh localedir /usr/pkg/share/locale djvulibre_bindir /usr/pkg/bin clang++ -fopenmp -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/freetype2 -Wall -Wempty-body -Werror=narrowing -Werror=overloaded-virtual -I/usr/pkg/include -pthread -I/usr/pkg/include/poppler -I/usr/pkg/include/GraphicsMagick -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/freetype2 -c -o image-filter.o image-filter.cc clang++ -fopenmp -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/freetype2 -Wall -Wempty-body -Werror=narrowing -Werror=overloaded-virtual -I/usr/pkg/include -pthread -I/usr/pkg/include/poppler -I/usr/pkg/include/GraphicsMagick -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/freetype2 -c -o pdf-backend.o pdf-backend.cc clang++ -fopenmp -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/freetype2 -Wall -Wempty-body -Werror=narrowing -Werror=overloaded-virtual -I/usr/pkg/include -pthread -I/usr/pkg/include/poppler -I/usr/pkg/include/GraphicsMagick -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/freetype2 -c -o pdf-document-map.o pdf-document-map.cc clang++ -fopenmp -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/freetype2 -Wall -Wempty-body -Werror=narrowing -Werror=overloaded-virtual -I/usr/pkg/include -pthread -I/usr/pkg/include/poppler -I/usr/pkg/include/GraphicsMagick -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/freetype2 -c -o pdf-dpi.o pdf-dpi.cc clang++ -fopenmp -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/freetype2 -Wall -Wempty-body -Werror=narrowing -Werror=overloaded-virtual -I/usr/pkg/include -pthread -I/usr/pkg/include/poppler -I/usr/pkg/include/GraphicsMagick -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/freetype2 -c -o pdf-unicode.o pdf-unicode.cc clang++ -fopenmp -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/freetype2 -Wall -Wempty-body -Werror=narrowing -Werror=overloaded-virtual -I/usr/pkg/include -pthread -I/usr/pkg/include/poppler -I/usr/pkg/include/GraphicsMagick -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/freetype2 -c -o sexpr.o sexpr.cc clang++ -fopenmp -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/freetype2 -Wall -Wempty-body -Werror=narrowing -Werror=overloaded-virtual -I/usr/pkg/include -pthread -I/usr/pkg/include/poppler -I/usr/pkg/include/GraphicsMagick -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/freetype2 -c -o string-format.o string-format.cc clang++ -fopenmp -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/freetype2 -Wall -Wempty-body -Werror=narrowing -Werror=overloaded-virtual -I/usr/pkg/include -pthread -I/usr/pkg/include/poppler -I/usr/pkg/include/GraphicsMagick -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/freetype2 -c -o string-printf.o string-printf.cc clang++ -fopenmp -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/freetype2 -Wall -Wempty-body -Werror=narrowing -Werror=overloaded-virtual -I/usr/pkg/include -pthread -I/usr/pkg/include/poppler -I/usr/pkg/include/GraphicsMagick -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/freetype2 -c -o string-utils.o string-utils.cc clang++ -fopenmp -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/freetype2 -Wall -Wempty-body -Werror=narrowing -Werror=overloaded-virtual -I/usr/pkg/include -pthread -I/usr/pkg/include/poppler -I/usr/pkg/include/GraphicsMagick -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/freetype2 -c -o sys-command-posix.o sys-command-posix.cc clang++ -fopenmp -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/freetype2 -Wall -Wempty-body -Werror=narrowing -Werror=overloaded-virtual -I/usr/pkg/include -pthread -I/usr/pkg/include/poppler -I/usr/pkg/include/GraphicsMagick -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/freetype2 -c -o sys-command-win32.o sys-command-win32.cc clang++ -fopenmp -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/freetype2 -Wall -Wempty-body -Werror=narrowing -Werror=overloaded-virtual -I/usr/pkg/include -pthread -I/usr/pkg/include/poppler -I/usr/pkg/include/GraphicsMagick -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/freetype2 -c -o sys-encoding.o sys-encoding.cc clang++ -fopenmp -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/freetype2 -Wall -Wempty-body -Werror=narrowing -Werror=overloaded-virtual -I/usr/pkg/include -pthread -I/usr/pkg/include/poppler -I/usr/pkg/include/GraphicsMagick -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/freetype2 -c -o sys-time.o sys-time.cc clang++ -fopenmp -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/freetype2 -Wall -Wempty-body -Werror=narrowing -Werror=overloaded-virtual -I/usr/pkg/include -pthread -I/usr/pkg/include/poppler -I/usr/pkg/include/GraphicsMagick -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/freetype2 -c -o sys-uuid.o sys-uuid.cc clang++ -fopenmp -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/freetype2 -Wall -Wempty-body -Werror=narrowing -Werror=overloaded-virtual -I/usr/pkg/include -pthread -I/usr/pkg/include/poppler -I/usr/pkg/include/GraphicsMagick -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/freetype2 -c -o system.o system.cc clang++ -fopenmp -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/freetype2 -Wall -Wempty-body -Werror=narrowing -Werror=overloaded-virtual -I/usr/pkg/include -pthread -I/usr/pkg/include/poppler -I/usr/pkg/include/GraphicsMagick -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/freetype2 -c -o version.o version.cc clang++ -fopenmp -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/freetype2 -Wall -Wempty-body -Werror=narrowing -Werror=overloaded-virtual -I/usr/pkg/include -pthread -I/usr/pkg/include/poppler -I/usr/pkg/include/GraphicsMagick -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/freetype2 -c -o xmp.o xmp.cc In file included from pdf-backend.cc:16: ./pdf-backend.hh:84:13: error: no type named 'GBool' in the global namespace typedef ::GBool Bool; ~~^In file included from pdf-document-map.cc:23: ./pdf-backend.hh:84:13: error: no type named 'GBool' in the global namespace typedef ::GBool Bool; ~~^ clang++ -fopenmp -O2 -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/freetype2 -Wall -Wempty-body -Werror=narrowing -Werror=overloaded-virtual -I/usr/pkg/include -pthread -I/usr/pkg/include/poppler -I/usr/pkg/include/GraphicsMagick -I/usr/include -I/usr/pkg/include -I/usr/pkg/include/freetype2 -c -o i18n.o i18n.cc 1 error generated. gmake: *** [: pdf-document-map.o] Error 1 gmake: *** Waiting for unfinished jobs.... In file included from pdf-dpi.cc:15: In file included from ./pdf-dpi.hh:18: ./pdf-backend.hh:84:13: error: no type named 'GBool' in the global namespace typedef ::GBool Bool; ~~^ pdf-backend.cc:100:3: error: no matching function for call to 'setErrorCallback' setErrorCallback(poppler_error_handler, nullptr); ^~~~~~~~~~~~~~~~ /data/scratch/print/pdf2djvu/work/.buildlink/include/poppler/Error.h:50:13: note: candidate function not viable: no known conversion from 'void (void *, ErrorCategory, pdf::Offset, char *)' (aka 'void (void *, ErrorCategory, long long, char *)') to 'void (*)(void *, ErrorCategory, Goffset, const char *)' (aka 'void (*)(void *, ErrorCategory, long long, const char *)') for 1st argument extern void setErrorCallback(void (*cbk)(void *data, ErrorCategory category, ^ pdf-backend.cc:195:5: error: cannot initialize a parameter of type 'bool (*)(Annot *, void *)' with an rvalue of type 'pdf::Bool (*)(pdf::ant::Annotation *, void *)' (aka 'int (*)(Annot *, void *)'): different return type ('bool' vs 'pdf::Bool' (aka 'int')) do_links ? annotations_callback : nullptr, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /data/scratch/print/pdf2djvu/work/.buildlink/include/poppler/PDFDoc.h:197:27: note: passing argument to parameter 'annotDisplayDecideCbk' here bool (*annotDisplayDecideCbk)(Annot *annot, void *user_data) = nullptr, ^ pdf-backend.cc:219:17: error: cannot initialize a parameter of type 'std::__1::unique_ptr >::pointer' (aka 'GooString *') with an rvalue of type 'const GooString *' mstring.reset(this->readMetadata()); ^~~~~~~~~~~~~~~~~~~~ /usr/include/c++/memory:2640:22: note: passing argument to parameter '__p' here void reset(pointer __p = pointer()) _NOEXCEPT { ^ pdf-backend.cc:222:34: error: no member named 'getCString' in 'GooString' const char *cstring = mstring->getCString(); ~~~~~~~ ^ pdf-dpi.cc:59:21: error: virtual function 'interpretType3Chars' has a different return type ('pdf::Bool' (aka 'int')) than the function it overrides (which has return type 'bool') virtual pdf::Bool interpretType3Chars() ~~~~~~~~~ ^ /data/scratch/print/pdf2djvu/work/.buildlink/include/poppler/OutputDev.h:113:16: note: overridden virtual function is here virtual bool interpretType3Chars() = 0; ~~~~ ^ pdf-dpi.cc:63:21: error: virtual function 'upsideDown' has a different return type ('pdf::Bool' (aka 'int')) than the function it overrides (which has return type 'bool') virtual pdf::Bool upsideDown() ~~~~~~~~~ ^ /data/scratch/print/pdf2djvu/work/.buildlink/include/poppler/OutputDev.h:90:16: note: overridden virtual function is here virtual bool upsideDown() = 0; ~~~~ ^ pdf-dpi.cc:67:21: error: virtual function 'useDrawChar' has a different return type ('pdf::Bool' (aka 'int')) than the function it overrides (which has return type 'bool') virtual pdf::Bool useDrawChar() ~~~~~~~~~ ^ /data/scratch/print/pdf2djvu/work/.buildlink/include/poppler/OutputDev.h:93:16: note: overridden virtual function is here virtual bool useDrawChar() = 0; ~~~~ ^ pdf-dpi.cc:30:16: error: 'DpiGuessDevice::drawImageMask' hides overloaded virtual function [-Werror,-Woverloaded-virtual] virtual void drawImageMask(pdf::gfx::State *state, pdf::Object *object, pdf::Stream *stream, int width, int height, ^ /data/scratch/print/pdf2djvu/work/.buildlink/include/poppler/OutputDev.h:293:16: note: hidden overloaded virtual function 'OutputDev::drawImageMask' declared here: type mismatch at 6th parameter ('bool' vs 'pdf::Bool' (aka 'int')) virtual void drawImageMask(GfxState *state, Object *ref, Stream *str, ^ pdf-dpi.cc:36:16: error: 'DpiGuessDevice::drawImage' hides overloaded virtual function [-Werror,-Woverloaded-virtual] virtual void drawImage(pdf::gfx::State *state, pdf::Object *object, pdf::Stream *stream, int width, int height, ^ /data/scratch/print/pdf2djvu/work/.buildlink/include/poppler/OutputDev.h:301:16: note: hidden overloaded virtual function 'OutputDev::drawImage' declared here: type mismatch at 7th parameter ('bool' vs 'pdf::Bool' (aka 'int')) virtual void drawImage(GfxState *state, Object *ref, Stream *str, ^ pdf-dpi.cc:42:16: error: 'DpiGuessDevice::drawMaskedImage' hides overloaded virtual function [-Werror,-Woverloaded-virtual] virtual void drawMaskedImage(pdf::gfx::State *state, pdf::Object *object, pdf::Stream *stream, int width, int height, ^ /data/scratch/print/pdf2djvu/work/.buildlink/include/poppler/OutputDev.h:304:16: note: hidden overloaded virtual function 'OutputDev::drawMaskedImage' declared here: type mismatch at 7th parameter ('bool' vs 'pdf::Bool' (aka 'int')) virtual void drawMaskedImage(GfxState *state, Object *ref, Stream *str, ^ pdf-dpi.cc:50:16: error: 'DpiGuessDevice::drawSoftMaskedImage' hides overloaded virtual function [-Werror,-Woverloaded-virtual] virtual void drawSoftMaskedImage(pdf::gfx::State *state, pdf::Object *object, pdf::Stream *stream, ^ /data/scratch/print/pdf2djvu/work/.buildlink/include/poppler/OutputDev.h:309:16: note: hidden overloaded virtual function 'OutputDev::drawSoftMaskedImage' declared here: type mismatch at 7th parameter ('bool' vs 'pdf::Bool' (aka 'int')) virtual void drawSoftMaskedImage(GfxState *state, Object *ref, Stream *str, ^ pdf-dpi.cc:89:11: error: cannot initialize a variable of type 'double *' with an rvalue of type 'const double *' double *ctm = state->getCTM(); ^ ~~~~~~~~~~~~~~~ pdf-backend.cc:389:45: error: no member named 'getCString' in 'GooString' const char *input = object.getString()->getCString(); ~~~~~~~~~~~~~~~~~~ ^ 9 errors generated. gmake: *** [: pdf-dpi.o] Error 1 In file included from image-filter.cc:15: In file included from ./image-filter.hh:22: ./pdf-backend.hh:84:13: error: no type named 'GBool' in the global namespace typedef ::GBool Bool; ~~^ 6 errors generated. gmake: *** [: pdf-backend.o] Error 1 In file included from pdf-unicode.cc:15: In file included from ./pdf-unicode.hh:23: ./pdf-backend.hh:84:13: error: no type named 'GBool' in the global namespace typedef ::GBool Bool; ~~^ pdf-unicode.cc:56:35: error: no member named 'getCString' in 'GooString' const char *cstring = string->getCString(); ~~~~~~ ^ In file included from version.cc:41: In file included from /data/scratch/print/pdf2djvu/work/.buildlink/include/GraphicsMagick/Magick++.h:10: In file included from /data/scratch/print/pdf2djvu/work/.buildlink/include/GraphicsMagick/Magick++/Image.h:16: /data/scratch/print/pdf2djvu/work/.buildlink/include/GraphicsMagick/Magick++/Drawable.h:2925:26: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] #pragma clang diagnostic pop ^ /data/scratch/print/pdf2djvu/work/.buildlink/include/GraphicsMagick/Magick++/Drawable.h:2926:26: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] #pragma clang diagnostic pop ^ 2 errors generated. In file included from image-filter.cc:32: In file included from /data/scratch/print/pdf2djvu/work/.buildlink/include/GraphicsMagick/Magick++.h:10: In file included from /data/scratch/print/pdf2djvu/work/.buildlink/include/GraphicsMagick/Magick++/Image.h:16: /data/scratch/print/pdf2djvu/work/.buildlink/include/GraphicsMagick/Magick++/Drawable.h:2925:26: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] #pragma clang diagnostic pop ^ /data/scratch/print/pdf2djvu/work/.buildlink/include/GraphicsMagick/Magick++/Drawable.h:2926:26: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas] #pragma clang diagnostic pop ^ gmake: *** [: pdf-unicode.o] Error 1 2 warnings and 1 error generated. gmake: *** [: image-filter.o] Error 1 2 warnings generated. In file included from xmp.cc:15: In file included from ./xmp.hh:21: ./pdf-backend.hh:84:13: error: no type named 'GBool' in the global namespace typedef ::GBool Bool; ~~^ 1 error generated. gmake: *** [: xmp.o] Error 1 *** Error code 2 Stop. make[1]: stopped in /data/pkgsrc/print/pdf2djvu *** Error code 1 Stop. make: stopped in /data/pkgsrc/print/pdf2djvu