* Package: app-text/qpdfview-0.4.18_pre4  * Repository: gentoo  * Maintainer: qt@gentoo.org  * USE: abi_ppc_64 cups dbus elibc_glibc fitz kernel_linux postscript ppc64 sqlite userland_GNU  * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox >>> Unpacking source... >>> Unpacking qpdfview-0.4.18_pre4.tar.gz to /var/tmp/portage/app-text/qpdfview-0.4.18_pre4/work >>> Source unpacked in /var/tmp/portage/app-text/qpdfview-0.4.18_pre4/work >>> Preparing source in /var/tmp/portage/app-text/qpdfview-0.4.18_pre4/work/qpdfview-0.4.18_pre4 ... * Looking in translations for new locales ...  [ ok ] Updating 'translations/qpdfview_de.qm'... Generated 359 translation(s) (358 finished and 1 unfinished) Ignored 10 untranslated source text(s) >>> Source prepared. >>> Configuring source in /var/tmp/portage/app-text/qpdfview-0.4.18_pre4/work/qpdfview-0.4.18_pre4 ... * Running qmake ... Info: creating stash file /var/tmp/portage/app-text/qpdfview-0.4.18_pre4/work/qpdfview-0.4.18_pre4/.qmake.stash  [ ok ] >>> Source configured. >>> Compiling source in /var/tmp/portage/app-text/qpdfview-0.4.18_pre4/work/qpdfview-0.4.18_pre4 ... make -j28 -l26 ( test -e Makefile.ps-plugin || /usr/lib64/qt5/bin/qmake -o Makefile.ps-plugin /var/tmp/portage/app-text/qpdfview-0.4.18_pre4/work/qpdfview-0.4.18_pre4/ps-plugin.pro 'QMAKE_AR=powerpc64-unknown-linux-gnu-ar cqs' QMAKE_CC=powerpc64-unknown-linux-gnu-gcc QMAKE_LINK_C=powerpc64-unknown-linux-gnu-gcc QMAKE_LINK_C_SHLIB=powerpc64-unknown-linux-gnu-gcc QMAKE_CXX=powerpc64-unknown-linux-gnu-g++ QMAKE_LINK=powerpc64-unknown-linux-gnu-g++ QMAKE_LINK_SHLIB=powerpc64-unknown-linux-gnu-g++ QMAKE_OBJCOPY=powerpc64-unknown-linux-gnu-objcopy QMAKE_RANLIB= QMAKE_STRIP= 'QMAKE_CFLAGS=-O2 -mcpu=970 -pipe' QMAKE_CFLAGS_RELEASE= QMAKE_CFLAGS_DEBUG= 'QMAKE_CXXFLAGS=-O2 -mcpu=970 -pipe' QMAKE_CXXFLAGS_RELEASE= QMAKE_CXXFLAGS_DEBUG= 'QMAKE_LFLAGS=-Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu' QMAKE_LFLAGS_RELEASE= QMAKE_LFLAGS_DEBUG= 'CONFIG+=without_djvu without_pdf without_svg without_synctex with_fitz' PLUGIN_INSTALL_PATH=/usr/lib64/qpdfview ) && make -f Makefile.ps-plugin make[1]: Entering directory '/var/tmp/portage/app-text/qpdfview-0.4.18_pre4/work/qpdfview-0.4.18_pre4' powerpc64-unknown-linux-gnu-g++ -c -O2 -mcpu=970 -pipe -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I. -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtCore -Imoc-ps -isystem /usr/include/libdrm -I/usr/lib64/qt5/mkspecs/linux-g++ -o objects-ps/psmodel.o sources/psmodel.cpp powerpc64-unknown-linux-gnu-g++ -O2 -mcpu=970 -pipe -Wall -W -dM -E -o moc-ps/moc_predefs.h /usr/lib64/qt5/mkspecs/features/data/dummy.cpp /usr/lib64/qt5/bin/moc -DQT_NO_DEBUG -DQT_PLUGIN -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB --include /var/tmp/portage/app-text/qpdfview-0.4.18_pre4/work/qpdfview-0.4.18_pre4/moc-ps/moc_predefs.h -I/usr/lib64/qt5/mkspecs/linux-g++ -I/var/tmp/portage/app-text/qpdfview-0.4.18_pre4/work/qpdfview-0.4.18_pre4 -I/usr/include/qt5 -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtCore -I/usr/lib/gcc/powerpc64-unknown-linux-gnu/8.3.0/include/g++-v8 -I/usr/lib/gcc/powerpc64-unknown-linux-gnu/8.3.0/include/g++-v8/powerpc64-unknown-linux-gnu -I/usr/lib/gcc/powerpc64-unknown-linux-gnu/8.3.0/include/g++-v8/backward -I/usr/lib/gcc/powerpc64-unknown-linux-gnu/8.3.0/include -I/usr/local/include -I/usr/lib/gcc/powerpc64-unknown-linux-gnu/8.3.0/include-fixed -I/usr/include sources/model.h -o moc-ps/moc_model.cpp /usr/lib64/qt5/bin/moc -DQT_NO_DEBUG -DQT_PLUGIN -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB --include /var/tmp/portage/app-text/qpdfview-0.4.18_pre4/work/qpdfview-0.4.18_pre4/moc-ps/moc_predefs.h -I/usr/lib64/qt5/mkspecs/linux-g++ -I/var/tmp/portage/app-text/qpdfview-0.4.18_pre4/work/qpdfview-0.4.18_pre4 -I/usr/include/qt5 -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtCore -I/usr/lib/gcc/powerpc64-unknown-linux-gnu/8.3.0/include/g++-v8 -I/usr/lib/gcc/powerpc64-unknown-linux-gnu/8.3.0/include/g++-v8/powerpc64-unknown-linux-gnu -I/usr/lib/gcc/powerpc64-unknown-linux-gnu/8.3.0/include/g++-v8/backward -I/usr/lib/gcc/powerpc64-unknown-linux-gnu/8.3.0/include -I/usr/local/include -I/usr/lib/gcc/powerpc64-unknown-linux-gnu/8.3.0/include-fixed -I/usr/include sources/psmodel.h -o moc-ps/moc_psmodel.cpp powerpc64-unknown-linux-gnu-g++ -c -O2 -mcpu=970 -pipe -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I. -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtCore -Imoc-ps -isystem /usr/include/libdrm -I/usr/lib64/qt5/mkspecs/linux-g++ -o objects-ps/moc_psmodel.o moc-ps/moc_psmodel.cpp powerpc64-unknown-linux-gnu-g++ -c -O2 -mcpu=970 -pipe -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I. -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtCore -Imoc-ps -isystem /usr/include/libdrm -I/usr/lib64/qt5/mkspecs/linux-g++ -o objects-ps/moc_model.o moc-ps/moc_model.cpp rm -f libqpdfview_ps.so powerpc64-unknown-linux-gnu-g++ -Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu -shared -o libqpdfview_ps.so objects-ps/psmodel.o objects-ps/moc_model.o objects-ps/moc_psmodel.o -lspectre -lQt5Widgets -lQt5Gui -lQt5Core /usr/lib64/libGL.so -lpthread make[1]: Leaving directory '/var/tmp/portage/app-text/qpdfview-0.4.18_pre4/work/qpdfview-0.4.18_pre4' ( test -e Makefile.fitz-plugin || /usr/lib64/qt5/bin/qmake -o Makefile.fitz-plugin /var/tmp/portage/app-text/qpdfview-0.4.18_pre4/work/qpdfview-0.4.18_pre4/fitz-plugin.pro 'QMAKE_AR=powerpc64-unknown-linux-gnu-ar cqs' QMAKE_CC=powerpc64-unknown-linux-gnu-gcc QMAKE_LINK_C=powerpc64-unknown-linux-gnu-gcc QMAKE_LINK_C_SHLIB=powerpc64-unknown-linux-gnu-gcc QMAKE_CXX=powerpc64-unknown-linux-gnu-g++ QMAKE_LINK=powerpc64-unknown-linux-gnu-g++ QMAKE_LINK_SHLIB=powerpc64-unknown-linux-gnu-g++ QMAKE_OBJCOPY=powerpc64-unknown-linux-gnu-objcopy QMAKE_RANLIB= QMAKE_STRIP= 'QMAKE_CFLAGS=-O2 -mcpu=970 -pipe' QMAKE_CFLAGS_RELEASE= QMAKE_CFLAGS_DEBUG= 'QMAKE_CXXFLAGS=-O2 -mcpu=970 -pipe' QMAKE_CXXFLAGS_RELEASE= QMAKE_CXXFLAGS_DEBUG= 'QMAKE_LFLAGS=-Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu' QMAKE_LFLAGS_RELEASE= QMAKE_LFLAGS_DEBUG= 'CONFIG+=without_djvu without_pdf without_svg without_synctex with_fitz' PLUGIN_INSTALL_PATH=/usr/lib64/qpdfview ) && make -f Makefile.fitz-plugin make[1]: Entering directory '/var/tmp/portage/app-text/qpdfview-0.4.18_pre4/work/qpdfview-0.4.18_pre4' powerpc64-unknown-linux-gnu-g++ -c -O2 -mcpu=970 -pipe -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I. -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtCore -Imoc-fitz -isystem /usr/include/libdrm -I/usr/lib64/qt5/mkspecs/linux-g++ -o objects-fitz/fitzmodel.o sources/fitzmodel.cpp powerpc64-unknown-linux-gnu-g++ -O2 -mcpu=970 -pipe -Wall -W -dM -E -o moc-fitz/moc_predefs.h /usr/lib64/qt5/mkspecs/features/data/dummy.cpp /usr/lib64/qt5/bin/moc -DQT_NO_DEBUG -DQT_PLUGIN -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB --include /var/tmp/portage/app-text/qpdfview-0.4.18_pre4/work/qpdfview-0.4.18_pre4/moc-fitz/moc_predefs.h -I/usr/lib64/qt5/mkspecs/linux-g++ -I/var/tmp/portage/app-text/qpdfview-0.4.18_pre4/work/qpdfview-0.4.18_pre4 -I/usr/include/qt5 -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtCore -I/usr/lib/gcc/powerpc64-unknown-linux-gnu/8.3.0/include/g++-v8 -I/usr/lib/gcc/powerpc64-unknown-linux-gnu/8.3.0/include/g++-v8/powerpc64-unknown-linux-gnu -I/usr/lib/gcc/powerpc64-unknown-linux-gnu/8.3.0/include/g++-v8/backward -I/usr/lib/gcc/powerpc64-unknown-linux-gnu/8.3.0/include -I/usr/local/include -I/usr/lib/gcc/powerpc64-unknown-linux-gnu/8.3.0/include-fixed -I/usr/include sources/model.h -o moc-fitz/moc_model.cpp /usr/lib64/qt5/bin/moc -DQT_NO_DEBUG -DQT_PLUGIN -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB --include /var/tmp/portage/app-text/qpdfview-0.4.18_pre4/work/qpdfview-0.4.18_pre4/moc-fitz/moc_predefs.h -I/usr/lib64/qt5/mkspecs/linux-g++ -I/var/tmp/portage/app-text/qpdfview-0.4.18_pre4/work/qpdfview-0.4.18_pre4 -I/usr/include/qt5 -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtCore -I/usr/lib/gcc/powerpc64-unknown-linux-gnu/8.3.0/include/g++-v8 -I/usr/lib/gcc/powerpc64-unknown-linux-gnu/8.3.0/include/g++-v8/powerpc64-unknown-linux-gnu -I/usr/lib/gcc/powerpc64-unknown-linux-gnu/8.3.0/include/g++-v8/backward -I/usr/lib/gcc/powerpc64-unknown-linux-gnu/8.3.0/include -I/usr/local/include -I/usr/lib/gcc/powerpc64-unknown-linux-gnu/8.3.0/include-fixed -I/usr/include sources/fitzmodel.h -o moc-fitz/moc_fitzmodel.cpp powerpc64-unknown-linux-gnu-g++ -c -O2 -mcpu=970 -pipe -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I. -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtCore -Imoc-fitz -isystem /usr/include/libdrm -I/usr/lib64/qt5/mkspecs/linux-g++ -o objects-fitz/moc_fitzmodel.o moc-fitz/moc_fitzmodel.cpp powerpc64-unknown-linux-gnu-g++ -c -O2 -mcpu=970 -pipe -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I. -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtCore -Imoc-fitz -isystem /usr/include/libdrm -I/usr/lib64/qt5/mkspecs/linux-g++ -o objects-fitz/moc_model.o moc-fitz/moc_model.cpp In file included from /usr/include/mupdf/fitz/pixmap.h:8, from /usr/include/mupdf/fitz/image.h:7, from /usr/include/mupdf/fitz/device.h:7, from /usr/include/mupdf/fitz/display-list.h:7, from sources/fitzmodel.cpp:35: /usr/include/mupdf/fitz/separation.h:39:80: error: 'fz_colorspace' has not been declared void fz_add_separation(fz_context *ctx, fz_separations *sep, const char *name, fz_colorspace *cs, int cs_channel); ^~~~~~~~~~~~~ /usr/include/mupdf/fitz/separation.h:54:52: error: 'fz_colorspace' has not been declared void fz_convert_separation_colors(fz_context *ctx, fz_colorspace *src_cs, const float *src_color, fz_separations *dst_seps, fz_colorspace *dst_cs, float *dst_color, fz_color_params color_params); ^~~~~~~~~~~~~ /usr/include/mupdf/fitz/separation.h:54:125: error: 'fz_colorspace' has not been declared s(fz_context *ctx, fz_colorspace *src_cs, const float *src_color, fz_separations *dst_seps, fz_colorspace *dst_cs, float *dst_color, fz_color_params color_params); ^~~~~~~~~~~~~ In file included from /usr/include/mupdf/fitz/pixmap.h:8, from /usr/include/mupdf/fitz/image.h:7, from /usr/include/mupdf/fitz/device.h:7, from /usr/include/mupdf/fitz/display-list.h:7, from sources/fitzmodel.cpp:35: /usr/include/mupdf/fitz/separation.h:54:166: error: 'fz_color_params' has not been declared const float *src_color, fz_separations *dst_seps, fz_colorspace *dst_cs, float *dst_color, fz_color_params color_params); ^~~~~~~~~~~~~~~ /usr/include/mupdf/fitz/separation.h:56:85: error: 'fz_colorspace' has not been declared void fz_separation_equivalent(fz_context *ctx, const fz_separations *seps, int idx, fz_colorspace *dst_cs, float *dst_color, fz_colorspace *prf, fz_color_params color_params); ^~~~~~~~~~~~~ /usr/include/mupdf/fitz/separation.h:56:126: error: 'fz_colorspace' has not been declared context *ctx, const fz_separations *seps, int idx, fz_colorspace *dst_cs, float *dst_color, fz_colorspace *prf, fz_color_params color_params); ^~~~~~~~~~~~~ /usr/include/mupdf/fitz/separation.h:56:146: error: 'fz_color_params' has not been declared fz_separations *seps, int idx, fz_colorspace *dst_cs, float *dst_color, fz_colorspace *prf, fz_color_params color_params); ^~~~~~~~~~~~~~~ In file included from /usr/include/mupdf/fitz/image.h:7, from /usr/include/mupdf/fitz/device.h:7, from /usr/include/mupdf/fitz/display-list.h:7, from sources/fitzmodel.cpp:35: /usr/include/mupdf/fitz/pixmap.h:19:48: error: 'fz_pixmap' does not name a type; did you mean 'QPixmap'? fz_irect fz_pixmap_bbox(fz_context *ctx, const fz_pixmap *pix); ^~~~~~~~~ QPixmap /usr/include/mupdf/fitz/pixmap.h:21:38: error: 'fz_pixmap' has not been declared int fz_pixmap_width(fz_context *ctx, fz_pixmap *pix); ^~~~~~~~~ /usr/include/mupdf/fitz/pixmap.h:23:39: error: 'fz_pixmap' has not been declared int fz_pixmap_height(fz_context *ctx, fz_pixmap *pix); ^~~~~~~~~ /usr/include/mupdf/fitz/pixmap.h:25:34: error: 'fz_pixmap' has not been declared int fz_pixmap_x(fz_context *ctx, fz_pixmap *pix); ^~~~~~~~~ /usr/include/mupdf/fitz/pixmap.h:27:34: error: 'fz_pixmap' has not been declared int fz_pixmap_y(fz_context *ctx, fz_pixmap *pix); ^~~~~~~~~ /usr/include/mupdf/fitz/pixmap.h:29:1: error: 'fz_pixmap' does not name a type; did you mean 'fz_pixmap_y'? fz_pixmap *fz_new_pixmap(fz_context *ctx, fz_colorspace *cs, int w, int h, fz_separations *seps, int alpha); ^~~~~~~~~ fz_pixmap_y /usr/include/mupdf/fitz/pixmap.h:31:1: error: 'fz_pixmap' does not name a type; did you mean 'fz_pixmap_y'? fz_pixmap *fz_new_pixmap_with_bbox(fz_context *ctx, fz_colorspace *colorspace, fz_irect bbox, fz_separations *seps, int alpha); ^~~~~~~~~ fz_pixmap_y In file included from /usr/include/mupdf/fitz/image.h:7, from /usr/include/mupdf/fitz/device.h:7, from /usr/include/mupdf/fitz/display-list.h:7, from sources/fitzmodel.cpp:35: /usr/include/mupdf/fitz/pixmap.h:33:1: error: 'fz_pixmap' does not name a type; did you mean 'fz_pixmap_y'? fz_pixmap *fz_new_pixmap_with_data(fz_context *ctx, fz_colorspace *colorspace, int w, int h, fz_separations *seps, int alpha, int stride, unsigned char *samples); ^~~~~~~~~ fz_pixmap_y /usr/include/mupdf/fitz/pixmap.h:35:1: error: 'fz_pixmap' does not name a type; did you mean 'fz_pixmap_y'? fz_pixmap *fz_new_pixmap_with_bbox_and_data(fz_context *ctx, fz_colorspace *colorspace, fz_irect rect, fz_separations *seps, int alpha, unsigned char *samples); ^~~~~~~~~ fz_pixmap_y /usr/include/mupdf/fitz/pixmap.h:37:1: error: 'fz_pixmap' does not name a type; did you mean 'fz_pixmap_y'? fz_pixmap *fz_new_pixmap_from_pixmap(fz_context *ctx, fz_pixmap *pixmap, const fz_irect *rect); ^~~~~~~~~ fz_pixmap_y /usr/include/mupdf/fitz/pixmap.h:38:1: error: 'fz_pixmap' does not name a type; did you mean 'fz_pixmap_y'? fz_pixmap *fz_clone_pixmap(fz_context *ctx, fz_pixmap *old); ^~~~~~~~~ fz_pixmap_y /usr/include/mupdf/fitz/pixmap.h:40:1: error: 'fz_pixmap' does not name a type; did you mean 'fz_pixmap_y'? fz_pixmap *fz_keep_pixmap(fz_context *ctx, fz_pixmap *pix); ^~~~~~~~~ fz_pixmap_y /usr/include/mupdf/fitz/pixmap.h:41:38: error: 'fz_pixmap' has not been declared void fz_drop_pixmap(fz_context *ctx, fz_pixmap *pix); ^~~~~~~~~ /usr/include/mupdf/fitz/pixmap.h:43:1: error: 'fz_colorspace' does not name a type; did you mean 'fz_cleanname'? fz_colorspace *fz_pixmap_colorspace(fz_context *ctx, fz_pixmap *pix); ^~~~~~~~~~~~~ fz_cleanname /usr/include/mupdf/fitz/pixmap.h:45:43: error: 'fz_pixmap' has not been declared int fz_pixmap_components(fz_context *ctx, fz_pixmap *pix); ^~~~~~~~~ /usr/include/mupdf/fitz/pixmap.h:47:42: error: 'fz_pixmap' has not been declared int fz_pixmap_colorants(fz_context *ctx, fz_pixmap *pix); ^~~~~~~~~ /usr/include/mupdf/fitz/pixmap.h:49:38: error: 'fz_pixmap' has not been declared int fz_pixmap_spots(fz_context *ctx, fz_pixmap *pix); ^~~~~~~~~ /usr/include/mupdf/fitz/pixmap.h:51:38: error: 'fz_pixmap' has not been declared int fz_pixmap_alpha(fz_context *ctx, fz_pixmap *pix); ^~~~~~~~~ /usr/include/mupdf/fitz/pixmap.h:53:51: error: 'fz_pixmap' has not been declared unsigned char *fz_pixmap_samples(fz_context *ctx, fz_pixmap *pix); ^~~~~~~~~ /usr/include/mupdf/fitz/pixmap.h:55:39: error: 'fz_pixmap' has not been declared int fz_pixmap_stride(fz_context *ctx, fz_pixmap *pix); ^~~~~~~~~ /usr/include/mupdf/fitz/pixmap.h:57:48: error: 'fz_pixmap' has not been declared void fz_set_pixmap_resolution(fz_context *ctx, fz_pixmap *pix, int xres, int yres); ^~~~~~~~~ /usr/include/mupdf/fitz/pixmap.h:59:50: error: 'fz_pixmap' has not been declared void fz_clear_pixmap_with_value(fz_context *ctx, fz_pixmap *pix, int value); ^~~~~~~~~ /usr/include/mupdf/fitz/pixmap.h:61:49: error: 'fz_pixmap' has not been declared void fz_fill_pixmap_with_color(fz_context *ctx, fz_pixmap *pix, fz_colorspace *colorspace, float *color, fz_color_params color_params); ^~~~~~~~~ /usr/include/mupdf/fitz/pixmap.h:61:65: error: 'fz_colorspace' has not been declared void fz_fill_pixmap_with_color(fz_context *ctx, fz_pixmap *pix, fz_colorspace *colorspace, float *color, fz_color_params color_params); ^~~~~~~~~~~~~ /usr/include/mupdf/fitz/pixmap.h:61:106: error: 'fz_color_params' has not been declared pixmap_with_color(fz_context *ctx, fz_pixmap *pix, fz_colorspace *colorspace, float *color, fz_color_params color_params); ^~~~~~~~~~~~~~~ /usr/include/mupdf/fitz/pixmap.h:63:55: error: 'fz_pixmap' has not been declared void fz_clear_pixmap_rect_with_value(fz_context *ctx, fz_pixmap *pix, int value, fz_irect r); ^~~~~~~~~ /usr/include/mupdf/fitz/pixmap.h:65:39: error: 'fz_pixmap' has not been declared void fz_clear_pixmap(fz_context *ctx, fz_pixmap *pix); ^~~~~~~~~ /usr/include/mupdf/fitz/pixmap.h:67:50: error: 'fz_pixmap' has not been declared void fz_invert_pixmap_luminance(fz_context *ctx, fz_pixmap *pix); ^~~~~~~~~ /usr/include/mupdf/fitz/pixmap.h:68:40: error: 'fz_pixmap' has not been declared void fz_invert_pixmap(fz_context *ctx, fz_pixmap *pix); ^~~~~~~~~ /usr/include/mupdf/fitz/pixmap.h:70:38: error: 'fz_pixmap' has not been declared void fz_tint_pixmap(fz_context *ctx, fz_pixmap *pix, int black, int white); ^~~~~~~~~ /usr/include/mupdf/fitz/pixmap.h:72:45: error: 'fz_pixmap' has not been declared void fz_invert_pixmap_rect(fz_context *ctx, fz_pixmap *image, fz_irect rect); ^~~~~~~~~ /usr/include/mupdf/fitz/pixmap.h:74:39: error: 'fz_pixmap' has not been declared void fz_gamma_pixmap(fz_context *ctx, fz_pixmap *pix, float gamma); ^~~~~~~~~ /usr/include/mupdf/fitz/pixmap.h:76:1: error: 'fz_pixmap' does not name a type; did you mean 'fz_pixmap_y'? fz_pixmap *fz_convert_pixmap(fz_context *ctx, fz_pixmap *pix, fz_colorspace *cs_des, fz_colorspace *prf, fz_default_colorspaces *default_cs, fz_color_params color_params, int keep_alpha); ^~~~~~~~~ fz_pixmap_y /usr/include/mupdf/fitz/pixmap.h:127:2: error: 'fz_colorspace' does not name a type; did you mean 'fz_cleanname'? fz_colorspace *colorspace; ^~~~~~~~~~~~~ fz_cleanname /usr/include/mupdf/fitz/pixmap.h:129:2: error: 'fz_pixmap' does not name a type; did you mean 'fz_pixmap_s'? fz_pixmap *underlying; ^~~~~~~~~ fz_pixmap_s /usr/include/mupdf/fitz/pixmap.h:140:43: error: 'fz_pixmap' has not been declared void fz_copy_pixmap_rect(fz_context *ctx, fz_pixmap *dest, fz_pixmap *src, fz_irect r, const fz_default_colorspaces *default_cs); ^~~~~~~~~ /usr/include/mupdf/fitz/pixmap.h:140:60: error: 'fz_pixmap' has not been declared void fz_copy_pixmap_rect(fz_context *ctx, fz_pixmap *dest, fz_pixmap *src, fz_irect r, const fz_default_colorspaces *default_cs); ^~~~~~~~~ /usr/include/mupdf/fitz/pixmap.h:140:94: error: 'fz_default_colorspaces' does not name a type; did you mean 'fz_pixmap_colorants'? oid fz_copy_pixmap_rect(fz_context *ctx, fz_pixmap *dest, fz_pixmap *src, fz_irect r, const fz_default_colorspaces *default_cs); ^~~~~~~~~~~~~~~~~~~~~~ fz_pixmap_colorants /usr/include/mupdf/fitz/pixmap.h:141:45: error: 'fz_pixmap' has not been declared void fz_premultiply_pixmap(fz_context *ctx, fz_pixmap *pix); ^~~~~~~~~ /usr/include/mupdf/fitz/pixmap.h:142:1: error: 'fz_pixmap' does not name a type; did you mean 'fz_pixmap_s'? fz_pixmap *fz_alpha_from_gray(fz_context *ctx, fz_pixmap *gray); ^~~~~~~~~ fz_pixmap_s /usr/include/mupdf/fitz/pixmap.h:143:40: error: 'fz_pixmap' has not been declared size_t fz_pixmap_size(fz_context *ctx, fz_pixmap *pix); ^~~~~~~~~ /usr/include/mupdf/fitz/pixmap.h:145:1: error: 'fz_pixmap' does not name a type; did you mean 'fz_pixmap_s'? fz_pixmap *fz_scale_pixmap(fz_context *ctx, fz_pixmap *src, float x, float y, float w, float h, const fz_irect *clip); ^~~~~~~~~ fz_pixmap_s /usr/include/mupdf/fitz/pixmap.h:151:1: error: 'fz_pixmap' does not name a type; did you mean 'fz_pixmap_s'? fz_pixmap *fz_scale_pixmap_cached(fz_context *ctx, const fz_pixmap *src, float x, float y, float w, float h, const fz_irect *clip, fz_scale_cache *cache_x, fz_scale_cache *cache_y); ^~~~~~~~~ fz_pixmap_s /usr/include/mupdf/fitz/pixmap.h:153:43: error: 'fz_pixmap' has not been declared void fz_subsample_pixmap(fz_context *ctx, fz_pixmap *tile, int factor); ^~~~~~~~~ /usr/include/mupdf/fitz/pixmap.h:155:38: error: 'fz_pixmap' does not name a type; did you mean 'fz_pixmap_s'? fz_irect fz_pixmap_bbox_no_ctx(const fz_pixmap *src); ^~~~~~~~~ fz_pixmap_s /usr/include/mupdf/fitz/pixmap.h:157:38: error: 'fz_pixmap' has not been declared void fz_decode_tile(fz_context *ctx, fz_pixmap *pix, const float *decode); ^~~~~~~~~ /usr/include/mupdf/fitz/pixmap.h:158:46: error: 'fz_pixmap' has not been declared void fz_decode_indexed_tile(fz_context *ctx, fz_pixmap *pix, const float *decode, int maxval); ^~~~~~~~~ /usr/include/mupdf/fitz/pixmap.h:159:38: error: 'fz_pixmap' has not been declared void fz_unpack_tile(fz_context *ctx, fz_pixmap *dst, unsigned char *src, int n, int depth, size_t stride, int scale); ^~~~~~~~~ /usr/include/mupdf/fitz/pixmap.h:161:37: error: 'fz_pixmap' has not been declared void fz_md5_pixmap(fz_context *ctx, fz_pixmap *pixmap, unsigned char digest[16]); ^~~~~~~~~ /usr/include/mupdf/fitz/pixmap.h:163:1: error: 'fz_pixmap' does not name a type; did you mean 'fz_pixmap_s'? fz_pixmap *fz_new_pixmap_from_8bpp_data(fz_context *ctx, int x, int y, int w, int h, unsigned char *sp, int span); ^~~~~~~~~ fz_pixmap_s /usr/include/mupdf/fitz/pixmap.h:164:1: error: 'fz_pixmap' does not name a type; did you mean 'fz_pixmap_s'? fz_pixmap *fz_new_pixmap_from_1bpp_data(fz_context *ctx, int x, int y, int w, int h, unsigned char *sp, int span); ^~~~~~~~~ fz_pixmap_s /usr/include/mupdf/fitz/pixmap.h:172:1: error: 'fz_pixmap' does not name a type; did you mean 'fz_pixmap_s'? fz_pixmap *fz_clone_pixmap_area_with_different_seps(fz_context *ctx, fz_pixmap *src, const fz_irect *bbox, fz_colorspace *dcs, fz_separations *seps, fz_color_params color_params, fz_default_colorspaces *default_cs); ^~~~~~~~~ fz_pixmap_s /usr/include/mupdf/fitz/pixmap.h:173:1: error: 'fz_pixmap' does not name a type; did you mean 'fz_pixmap_s'? fz_pixmap *fz_copy_pixmap_area_converting_seps(fz_context *ctx, fz_pixmap *src, fz_pixmap *dst, fz_colorspace *prf, fz_color_params color_params, fz_default_colorspaces *default_cs); ^~~~~~~~~ fz_pixmap_s In file included from /usr/include/mupdf/fitz/device.h:7, from /usr/include/mupdf/fitz/display-list.h:7, from sources/fitzmodel.cpp:35: /usr/include/mupdf/fitz/image.h:23:1: error: 'fz_pixmap' does not name a type; did you mean 'fz_pixmap_s'? fz_pixmap *fz_get_pixmap_from_image(fz_context *ctx, fz_image *image, const fz_irect *subarea, fz_matrix *ctm, int *w, int *h); ^~~~~~~~~ fz_pixmap_s In file included from /usr/include/mupdf/fitz/device.h:7, from /usr/include/mupdf/fitz/display-list.h:7, from sources/fitzmodel.cpp:35: /usr/include/mupdf/fitz/image.h:60:9: error: 'fz_pixmap' does not name a type; did you mean 'fz_pixmap_s'? typedef fz_pixmap *(fz_image_get_pixmap_fn)(fz_context *ctx, fz_image *im, fz_irect *subarea, int w, int h, int *l2factor); ^~~~~~~~~ fz_pixmap_s /usr/include/mupdf/fitz/image.h:74:3: error: 'fz_colorspace' has not been declared fz_colorspace *colorspace, ^~~~~~~~~~~~~ /usr/include/mupdf/fitz/image.h:83:3: error: 'fz_image_get_pixmap_fn' has not been declared fz_image_get_pixmap_fn *get_pixmap, ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/mupdf/fitz/image.h:90:87: error: 'fz_colorspace' has not been declared fz_image *fz_new_image_from_compressed_buffer(fz_context *ctx, int w, int h, int bpc, fz_colorspace *colorspace, int xres, int yres, int interpolate, int imagemask, float *decode, int *colorkey, fz_compressed_buffer *buffer, fz_image *mask); ^~~~~~~~~~~~~ /usr/include/mupdf/fitz/image.h:92:53: error: 'fz_pixmap' has not been declared fz_image *fz_new_image_from_pixmap(fz_context *ctx, fz_pixmap *pixmap, fz_image *mask); ^~~~~~~~~ /usr/include/mupdf/fitz/image.h:100:1: error: 'fz_pixmap' does not name a type; did you mean 'fz_pixmap_s'? fz_pixmap *fz_decomp_image_from_stream(fz_context *ctx, fz_stream *stm, fz_compressed_image *image, fz_irect *subarea, int indexed, int l2factor); ^~~~~~~~~ fz_pixmap_s /usr/include/mupdf/fitz/image.h:101:1: error: 'fz_pixmap' does not name a type; did you mean 'fz_pixmap_s'? fz_pixmap *fz_convert_indexed_pixmap_to_base(fz_context *ctx, const fz_pixmap *src); ^~~~~~~~~ fz_pixmap_s /usr/include/mupdf/fitz/image.h:102:1: error: 'fz_pixmap' does not name a type; did you mean 'fz_pixmap_s'? fz_pixmap *fz_convert_separation_pixmap_to_base(fz_context *ctx, const fz_pixmap *src); ^~~~~~~~~ fz_pixmap_s /usr/include/mupdf/fitz/image.h:125:2: error: 'fz_colorspace' does not name a type; did you mean 'fz_cleanname'? fz_colorspace *colorspace; ^~~~~~~~~~~~~ fz_cleanname /usr/include/mupdf/fitz/image.h:127:2: error: 'fz_image_get_pixmap_fn' does not name a type; did you mean 'fz_image_get_size_fn'? fz_image_get_pixmap_fn *get_pixmap; ^~~~~~~~~~~~~~~~~~~~~~ fz_image_get_size_fn /usr/include/mupdf/fitz/image.h:129:15: error: 'FZ_MAX_COLORS' was not declared in this scope int colorkey[FZ_MAX_COLORS * 2]; ^~~~~~~~~~~~~ /usr/include/mupdf/fitz/image.h:130:15: error: 'FZ_MAX_COLORS' was not declared in this scope float decode[FZ_MAX_COLORS * 2]; ^~~~~~~~~~~~~ /usr/include/mupdf/fitz/image.h:133:1: error: 'fz_pixmap' does not name a type; did you mean 'fz_pixmap_s'? fz_pixmap *fz_load_jpeg(fz_context *ctx, const unsigned char *data, size_t size); ^~~~~~~~~ fz_pixmap_s /usr/include/mupdf/fitz/image.h:134:1: error: 'fz_pixmap' does not name a type; did you mean 'fz_pixmap_s'? fz_pixmap *fz_load_jpx(fz_context *ctx, const unsigned char *data, size_t size, fz_colorspace *cs); ^~~~~~~~~ fz_pixmap_s /usr/include/mupdf/fitz/image.h:135:1: error: 'fz_pixmap' does not name a type; did you mean 'fz_pixmap_s'? fz_pixmap *fz_load_png(fz_context *ctx, const unsigned char *data, size_t size); ^~~~~~~~~ fz_pixmap_s /usr/include/mupdf/fitz/image.h:136:1: error: 'fz_pixmap' does not name a type; did you mean 'fz_pixmap_s'? fz_pixmap *fz_load_tiff(fz_context *ctx, const unsigned char *data, size_t size); ^~~~~~~~~ fz_pixmap_s /usr/include/mupdf/fitz/image.h:137:1: error: 'fz_pixmap' does not name a type; did you mean 'fz_pixmap_s'? fz_pixmap *fz_load_jxr(fz_context *ctx, const unsigned char *data, size_t size); ^~~~~~~~~ fz_pixmap_s /usr/include/mupdf/fitz/image.h:138:1: error: 'fz_pixmap' does not name a type; did you mean 'fz_pixmap_s'? fz_pixmap *fz_load_gif(fz_context *ctx, const unsigned char *data, size_t size); ^~~~~~~~~ fz_pixmap_s /usr/include/mupdf/fitz/image.h:139:1: error: 'fz_pixmap' does not name a type; did you mean 'fz_pixmap_s'? fz_pixmap *fz_load_bmp(fz_context *ctx, const unsigned char *data, size_t size); ^~~~~~~~~ fz_pixmap_s /usr/include/mupdf/fitz/image.h:140:1: error: 'fz_pixmap' does not name a type; did you mean 'fz_pixmap_s'? fz_pixmap *fz_load_pnm(fz_context *ctx, const unsigned char *data, size_t size); ^~~~~~~~~ fz_pixmap_s /usr/include/mupdf/fitz/image.h:141:1: error: 'fz_pixmap' does not name a type; did you mean 'fz_pixmap_s'? fz_pixmap *fz_load_jbig2(fz_context *ctx, const unsigned char *data, size_t size); ^~~~~~~~~ fz_pixmap_s /usr/include/mupdf/fitz/image.h:143:119: error: 'fz_colorspace' has not been declared context *ctx, const unsigned char *data, size_t size, int *w, int *h, int *xres, int *yres, fz_colorspace **cspace); ^~~~~~~~~~~~~ /usr/include/mupdf/fitz/image.h:144:118: error: 'fz_colorspace' has not been declared context *ctx, const unsigned char *data, size_t size, int *w, int *h, int *xres, int *yres, fz_colorspace **cspace); ^~~~~~~~~~~~~ /usr/include/mupdf/fitz/image.h:145:118: error: 'fz_colorspace' has not been declared context *ctx, const unsigned char *data, size_t size, int *w, int *h, int *xres, int *yres, fz_colorspace **cspace); ^~~~~~~~~~~~~ /usr/include/mupdf/fitz/image.h:146:119: error: 'fz_colorspace' has not been declared context *ctx, const unsigned char *data, size_t size, int *w, int *h, int *xres, int *yres, fz_colorspace **cspace); ^~~~~~~~~~~~~ /usr/include/mupdf/fitz/image.h:147:118: error: 'fz_colorspace' has not been declared context *ctx, const unsigned char *data, size_t size, int *w, int *h, int *xres, int *yres, fz_colorspace **cspace); ^~~~~~~~~~~~~ /usr/include/mupdf/fitz/image.h:148:118: error: 'fz_colorspace' has not been declared context *ctx, const unsigned char *data, size_t size, int *w, int *h, int *xres, int *yres, fz_colorspace **cspace); ^~~~~~~~~~~~~ /usr/include/mupdf/fitz/image.h:149:118: error: 'fz_colorspace' has not been declared context *ctx, const unsigned char *data, size_t size, int *w, int *h, int *xres, int *yres, fz_colorspace **cspace); ^~~~~~~~~~~~~ /usr/include/mupdf/fitz/image.h:150:118: error: 'fz_colorspace' has not been declared context *ctx, const unsigned char *data, size_t size, int *w, int *h, int *xres, int *yres, fz_colorspace **cspace); ^~~~~~~~~~~~~ /usr/include/mupdf/fitz/image.h:151:120: error: 'fz_colorspace' has not been declared context *ctx, const unsigned char *data, size_t size, int *w, int *h, int *xres, int *yres, fz_colorspace **cspace); ^~~~~~~~~~~~~ /usr/include/mupdf/fitz/image.h:154:1: error: 'fz_pixmap' does not name a type; did you mean 'fz_pixmap_s'? fz_pixmap *fz_load_tiff_subimage(fz_context *ctx, const unsigned char *buf, size_t len, int subimage); ^~~~~~~~~ fz_pixmap_s /usr/include/mupdf/fitz/image.h:156:1: error: 'fz_pixmap' does not name a type; did you mean 'fz_pixmap_s'? fz_pixmap *fz_load_pnm_subimage(fz_context *ctx, const unsigned char *buf, size_t len, int subimage); ^~~~~~~~~ fz_pixmap_s /usr/include/mupdf/fitz/image.h:158:1: error: 'fz_pixmap' does not name a type; did you mean 'fz_pixmap_s'? fz_pixmap *fz_load_jbig2_subimage(fz_context *ctx, const unsigned char *buf, size_t len, int subimage); ^~~~~~~~~ fz_pixmap_s /usr/include/mupdf/fitz/image.h:162:1: error: 'fz_pixmap' does not name a type; did you mean 'fz_pixmap_s'? fz_pixmap *fz_compressed_image_tile(fz_context *ctx, fz_compressed_image *cimg); ^~~~~~~~~ fz_pixmap_s /usr/include/mupdf/fitz/image.h:163:79: error: 'fz_pixmap' has not been declared void fz_set_compressed_image_tile(fz_context *ctx, fz_compressed_image *cimg, fz_pixmap *pix); ^~~~~~~~~ /usr/include/mupdf/fitz/image.h:168:1: error: 'fz_pixmap' does not name a type; did you mean 'fz_pixmap_s'? fz_pixmap *fz_pixmap_image_tile(fz_context *ctx, fz_pixmap_image *cimg); ^~~~~~~~~ fz_pixmap_s /usr/include/mupdf/fitz/image.h:169:71: error: 'fz_pixmap' has not been declared void fz_set_pixmap_image_tile(fz_context *ctx, fz_pixmap_image *cimg, fz_pixmap *pix); ^~~~~~~~~ In file included from /usr/include/mupdf/fitz/device.h:8, from /usr/include/mupdf/fitz/display-list.h:7, from sources/fitzmodel.cpp:35: /usr/include/mupdf/fitz/shade.h:35:2: error: 'fz_colorspace' does not name a type; did you mean 'fz_cleanname'? fz_colorspace *colorspace; ^~~~~~~~~~~~~ fz_cleanname /usr/include/mupdf/fitz/shade.h:39:19: error: 'FZ_MAX_COLORS' was not declared in this scope float background[FZ_MAX_COLORS]; ^~~~~~~~~~~~~ /usr/include/mupdf/fitz/shade.h:47:22: error: 'FZ_MAX_COLORS' was not declared in this scope float function[256][FZ_MAX_COLORS + 1]; ^~~~~~~~~~~~~ /usr/include/mupdf/fitz/shade.h:65:13: error: 'FZ_MAX_COLORS' was not declared in this scope float c0[FZ_MAX_COLORS]; ^~~~~~~~~~~~~ /usr/include/mupdf/fitz/shade.h:66:13: error: 'FZ_MAX_COLORS' was not declared in this scope float c1[FZ_MAX_COLORS]; ^~~~~~~~~~~~~ /usr/include/mupdf/fitz/shade.h:88:55: error: 'fz_colorspace' has not been declared void fz_paint_shade(fz_context *ctx, fz_shade *shade, fz_colorspace *override_cs, fz_matrix ctm, fz_pixmap *dest, fz_color_params color_params, fz_irect bbox, const fz_overprint *eop); ^~~~~~~~~~~~~ /usr/include/mupdf/fitz/shade.h:88:98: error: 'fz_pixmap' has not been declared fz_paint_shade(fz_context *ctx, fz_shade *shade, fz_colorspace *override_cs, fz_matrix ctm, fz_pixmap *dest, fz_color_params color_params, fz_irect bbox, const fz_overprint *eop); ^~~~~~~~~ /usr/include/mupdf/fitz/shade.h:88:115: error: 'fz_color_params' has not been declared _context *ctx, fz_shade *shade, fz_colorspace *override_cs, fz_matrix ctm, fz_pixmap *dest, fz_color_params color_params, fz_irect bbox, const fz_overprint *eop); ^~~~~~~~~~~~~~~ In file included from /usr/include/mupdf/fitz/device.h:8, from /usr/include/mupdf/fitz/display-list.h:7, from sources/fitzmodel.cpp:35: /usr/include/mupdf/fitz/shade.h:98:10: error: 'FZ_MAX_COLORS' was not declared in this scope float c[FZ_MAX_COLORS]; ^~~~~~~~~~~~~ In file included from /usr/include/mupdf/fitz/text.h:6, from /usr/include/mupdf/fitz/device.h:10, from /usr/include/mupdf/fitz/display-list.h:7, from sources/fitzmodel.cpp:35: /usr/include/mupdf/fitz/font.h:123:136: error: 'fz_default_colorspaces' has not been declared void *resources, fz_buffer *contents, struct fz_device_s *dev, fz_matrix ctm, void *gstate, fz_default_colorspaces *default_cs); ^~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/mupdf/fitz/display-list.h:7, from sources/fitzmodel.cpp:35: /usr/include/mupdf/fitz/device.h:102:89: error: 'fz_colorspace' has not been declared void (*fill_path)(fz_context *, fz_device *, const fz_path *, int even_odd, fz_matrix, fz_colorspace *, const float *color, float alpha, fz_color_params ); ^~~~~~~~~~~~~ In file included from /usr/include/mupdf/fitz/display-list.h:7, from sources/fitzmodel.cpp:35: /usr/include/mupdf/fitz/device.h:102:139: error: 'fz_color_params' has not been declared const fz_path *, int even_odd, fz_matrix, fz_colorspace *, const float *color, float alpha, fz_color_params ); ^~~~~~~~~~~~~~~ /usr/include/mupdf/fitz/device.h:103:102: error: 'fz_colorspace' has not been declared troke_path)(fz_context *, fz_device *, const fz_path *, const fz_stroke_state *, fz_matrix, fz_colorspace *, const float *color, float alpha, fz_color_params ); ^~~~~~~~~~~~~ /usr/include/mupdf/fitz/device.h:103:152: error: 'fz_color_params' has not been declared th *, const fz_stroke_state *, fz_matrix, fz_colorspace *, const float *color, float alpha, fz_color_params ); ^~~~~~~~~~~~~~~ /usr/include/mupdf/fitz/device.h:107:75: error: 'fz_colorspace' has not been declared void (*fill_text)(fz_context *, fz_device *, const fz_text *, fz_matrix, fz_colorspace *, const float *color, float alpha, fz_color_params ); ^~~~~~~~~~~~~ /usr/include/mupdf/fitz/device.h:107:125: error: 'fz_color_params' has not been declared fz_device *, const fz_text *, fz_matrix, fz_colorspace *, const float *color, float alpha, fz_color_params ); ^~~~~~~~~~~~~~~ /usr/include/mupdf/fitz/device.h:108:102: error: 'fz_colorspace' has not been declared troke_text)(fz_context *, fz_device *, const fz_text *, const fz_stroke_state *, fz_matrix, fz_colorspace *, const float *color, float alpha, fz_color_params ); ^~~~~~~~~~~~~ /usr/include/mupdf/fitz/device.h:108:152: error: 'fz_color_params' has not been declared xt *, const fz_stroke_state *, fz_matrix, fz_colorspace *, const float *color, float alpha, fz_color_params ); ^~~~~~~~~~~~~~~ /usr/include/mupdf/fitz/device.h:113:91: error: 'fz_color_params' has not been declared void (*fill_shade)(fz_context *, fz_device *, fz_shade *shd, fz_matrix ctm, float alpha, fz_color_params color_params); ^~~~~~~~~~~~~~~ /usr/include/mupdf/fitz/device.h:114:91: error: 'fz_color_params' has not been declared void (*fill_image)(fz_context *, fz_device *, fz_image *img, fz_matrix ctm, float alpha, fz_color_params color_params); ^~~~~~~~~~~~~~~ /usr/include/mupdf/fitz/device.h:115:83: error: 'fz_colorspace' has not been declared void (*fill_image_mask)(fz_context *, fz_device *, fz_image *img, fz_matrix ctm, fz_colorspace *, const float *color, float alpha, fz_color_params color_params); ^~~~~~~~~~~~~ /usr/include/mupdf/fitz/device.h:115:133: error: 'fz_color_params' has not been declared z_device *, fz_image *img, fz_matrix ctm, fz_colorspace *, const float *color, float alpha, fz_color_params color_params); ^~~~~~~~~~~~~~~ /usr/include/mupdf/fitz/device.h:120:78: error: 'fz_colorspace' has not been declared void (*begin_mask)(fz_context *, fz_device *, fz_rect area, int luminosity, fz_colorspace *, const float *bc, fz_color_params ); ^~~~~~~~~~~~~ /usr/include/mupdf/fitz/device.h:120:112: error: 'fz_color_params' has not been declared (fz_context *, fz_device *, fz_rect area, int luminosity, fz_colorspace *, const float *bc, fz_color_params ); ^~~~~~~~~~~~~~~ /usr/include/mupdf/fitz/device.h:122:63: error: 'fz_colorspace' has not been declared void (*begin_group)(fz_context *, fz_device *, fz_rect area, fz_colorspace *cs, int isolated, int knockout, int blendmode, float alpha); ^~~~~~~~~~~~~ /usr/include/mupdf/fitz/device.h:129:61: error: 'fz_default_colorspaces' has not been declared void (*set_default_colorspaces)(fz_context *, fz_device *, fz_default_colorspaces *); ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/mupdf/fitz/device.h:141:102: error: 'fz_colorspace' has not been declared ill_path(fz_context *ctx, fz_device *dev, const fz_path *path, int even_odd, fz_matrix ctm, fz_colorspace *colorspace, const float *color, float alpha, fz_color_params color_params); ^~~~~~~~~~~~~ /usr/include/mupdf/fitz/device.h:141:162: error: 'fz_color_params' has not been declared h, int even_odd, fz_matrix ctm, fz_colorspace *colorspace, const float *color, float alpha, fz_color_params color_params); ^~~~~~~~~~~~~~~ /usr/include/mupdf/fitz/device.h:142:121: error: 'fz_colorspace' has not been declared xt *ctx, fz_device *dev, const fz_path *path, const fz_stroke_state *stroke, fz_matrix ctm, fz_colorspace *colorspace, const float *color, float alpha, fz_color_params color_params); ^~~~~~~~~~~~~ /usr/include/mupdf/fitz/device.h:142:181: error: 'fz_color_params' has not been declared e_state *stroke, fz_matrix ctm, fz_colorspace *colorspace, const float *color, float alpha, fz_color_params color_params); ^~~~~~~~~~~~~~~ /usr/include/mupdf/fitz/device.h:145:88: error: 'fz_colorspace' has not been declared void fz_fill_text(fz_context *ctx, fz_device *dev, const fz_text *text, fz_matrix ctm, fz_colorspace *colorspace, const float *color, float alpha, fz_color_params color_params); ^~~~~~~~~~~~~ /usr/include/mupdf/fitz/device.h:145:148: error: 'fz_color_params' has not been declared t fz_text *text, fz_matrix ctm, fz_colorspace *colorspace, const float *color, float alpha, fz_color_params color_params); ^~~~~~~~~~~~~~~ /usr/include/mupdf/fitz/device.h:146:121: error: 'fz_colorspace' has not been declared xt *ctx, fz_device *dev, const fz_text *text, const fz_stroke_state *stroke, fz_matrix ctm, fz_colorspace *colorspace, const float *color, float alpha, fz_color_params color_params); ^~~~~~~~~~~~~ /usr/include/mupdf/fitz/device.h:146:181: error: 'fz_color_params' has not been declared e_state *stroke, fz_matrix ctm, fz_colorspace *colorspace, const float *color, float alpha, fz_color_params color_params); ^~~~~~~~~~~~~~~ /usr/include/mupdf/fitz/device.h:151:98: error: 'fz_color_params' has not been declared fz_fill_shade(fz_context *ctx, fz_device *dev, fz_shade *shade, fz_matrix ctm, float alpha, fz_color_params color_params); ^~~~~~~~~~~~~~~ /usr/include/mupdf/fitz/device.h:152:98: error: 'fz_color_params' has not been declared fz_fill_image(fz_context *ctx, fz_device *dev, fz_image *image, fz_matrix ctm, float alpha, fz_color_params color_params); ^~~~~~~~~~~~~~~ /usr/include/mupdf/fitz/device.h:153:90: error: 'fz_colorspace' has not been declared void fz_fill_image_mask(fz_context *ctx, fz_device *dev, fz_image *image, fz_matrix ctm, fz_colorspace *colorspace, const float *color, float alpha, fz_color_params color_params); ^~~~~~~~~~~~~ /usr/include/mupdf/fitz/device.h:153:150: error: 'fz_color_params' has not been declared fz_image *image, fz_matrix ctm, fz_colorspace *colorspace, const float *color, float alpha, fz_color_params color_params); ^~~~~~~~~~~~~~~ /usr/include/mupdf/fitz/device.h:155:83: error: 'fz_colorspace' has not been declared void fz_begin_mask(fz_context *ctx, fz_device *dev, fz_rect area, int luminosity, fz_colorspace *colorspace, const float *bc, fz_color_params color_params); ^~~~~~~~~~~~~ /usr/include/mupdf/fitz/device.h:155:127: error: 'fz_color_params' has not been declared , fz_device *dev, fz_rect area, int luminosity, fz_colorspace *colorspace, const float *bc, fz_color_params color_params); ^~~~~~~~~~~~~~~ /usr/include/mupdf/fitz/device.h:157:68: error: 'fz_colorspace' has not been declared void fz_begin_group(fz_context *ctx, fz_device *dev, fz_rect area, fz_colorspace *cs, int isolated, int knockout, int blendmode, float alpha); ^~~~~~~~~~~~~ /usr/include/mupdf/fitz/device.h:163:66: error: 'fz_default_colorspaces' has not been declared void fz_set_default_colorspaces(fz_context *ctx, fz_device *dev, fz_default_colorspaces *default_cs); ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/mupdf/fitz/device.h:260:69: error: 'fz_pixmap' has not been declared fz_device *fz_new_draw_device(fz_context *ctx, fz_matrix transform, fz_pixmap *dest); ^~~~~~~~~ /usr/include/mupdf/fitz/device.h:262:79: error: 'fz_pixmap' has not been declared fz_device *fz_new_draw_device_with_bbox(fz_context *ctx, fz_matrix transform, fz_pixmap *dest, const fz_irect *clip); ^~~~~~~~~ /usr/include/mupdf/fitz/device.h:264:80: error: 'fz_pixmap' has not been declared fz_device *fz_new_draw_device_with_proof(fz_context *ctx, fz_matrix transform, fz_pixmap *dest, fz_colorspace *proof_cs); ^~~~~~~~~ /usr/include/mupdf/fitz/device.h:264:97: error: 'fz_colorspace' has not been declared evice *fz_new_draw_device_with_proof(fz_context *ctx, fz_matrix transform, fz_pixmap *dest, fz_colorspace *proof_cs); ^~~~~~~~~~~~~ /usr/include/mupdf/fitz/device.h:266:85: error: 'fz_pixmap' has not been declared fz_device *fz_new_draw_device_with_bbox_proof(fz_context *ctx, fz_matrix transform, fz_pixmap *dest, const fz_irect *clip, fz_colorspace *cs); ^~~~~~~~~ /usr/include/mupdf/fitz/device.h:266:124: error: 'fz_colorspace' has not been declared ith_bbox_proof(fz_context *ctx, fz_matrix transform, fz_pixmap *dest, const fz_irect *clip, fz_colorspace *cs); ^~~~~~~~~~~~~ /usr/include/mupdf/fitz/device.h:268:75: error: 'fz_pixmap' has not been declared fz_device *fz_new_draw_device_type3(fz_context *ctx, fz_matrix transform, fz_pixmap *dest); ^~~~~~~~~ /usr/include/mupdf/fitz/device.h:282:2: error: 'fz_colorspace' does not name a type; did you mean 'fz_closepath'? fz_colorspace *colorspace; ^~~~~~~~~~~~~ fz_closepath /usr/include/mupdf/fitz/device.h:292:111: error: 'fz_pixmap' has not been declared draw_device_with_options(fz_context *ctx, const fz_draw_options *options, fz_rect mediabox, fz_pixmap **pixmap); ^~~~~~~~~ In file included from /usr/include/mupdf/fitz/document.h:8, from sources/fitzmodel.cpp:36: /usr/include/mupdf/fitz/transition.h:41:45: error: 'fz_pixmap' has not been declared int fz_generate_transition(fz_context *ctx, fz_pixmap *tpix, fz_pixmap *opix, fz_pixmap *npix, int time, fz_transition *trans); ^~~~~~~~~ /usr/include/mupdf/fitz/transition.h:41:62: error: 'fz_pixmap' has not been declared int fz_generate_transition(fz_context *ctx, fz_pixmap *tpix, fz_pixmap *opix, fz_pixmap *npix, int time, fz_transition *trans); ^~~~~~~~~ /usr/include/mupdf/fitz/transition.h:41:79: error: 'fz_pixmap' has not been declared int fz_generate_transition(fz_context *ctx, fz_pixmap *tpix, fz_pixmap *opix, fz_pixmap *npix, int time, fz_transition *trans); ^~~~~~~~~ In file included from sources/fitzmodel.cpp:36: /usr/include/mupdf/fitz/document.h:143:9: error: 'fz_colorspace' does not name a type; did you mean 'fz_closepath'? typedef fz_colorspace* (fz_document_output_intent_fn)(fz_context *ctx, fz_document *doc); ^~~~~~~~~~~~~ fz_closepath In file included from sources/fitzmodel.cpp:36: /usr/include/mupdf/fitz/document.h:263:2: error: 'fz_document_output_intent_fn' does not name a type; did you mean 'fz_document_count_pages_fn'? fz_document_output_intent_fn *get_output_intent; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ fz_document_count_pages_fn /usr/include/mupdf/fitz/document.h:377:1: error: 'fz_colorspace' does not name a type; did you mean 'fz_closepath'? fz_colorspace *fz_document_output_intent(fz_context *ctx, fz_document *doc); ^~~~~~~~~~~~~ fz_closepath sources/fitzmodel.cpp: In member function 'virtual QSizeF qpdfview::Model::FitzPage::size() const': sources/fitzmodel.cpp:116:53: error: too many arguments to function 'fz_rect fz_bound_page(fz_context*, fz_page*)' fz_bound_page(m_parent->m_context, m_page, &rect); ^ In file included from sources/fitzmodel.cpp:36: /usr/include/mupdf/fitz/document.h:354:9: note: declared here fz_rect fz_bound_page(fz_context *ctx, fz_page *page); ^~~~~~~~~~~~~ sources/fitzmodel.cpp: In member function 'virtual QImage qpdfview::Model::FitzPage::render(qreal, qreal, qpdfview::Rotation, QRect) const': sources/fitzmodel.cpp:127:14: error: cannot convert 'fz_matrix*' {aka 'fz_matrix_s*'} to 'float' fz_scale(&matrix, horizontalResolution / 72.0f, verticalResolution / 72.0f); ^~~~~~~ In file included from /usr/include/mupdf/fitz/context.h:6, from sources/fitzmodel.h:31, from sources/fitzmodel.cpp:24: /usr/include/mupdf/fitz/geometry.h:285:26: note:  initializing argument 1 of 'fz_matrix fz_scale(float, float)' fz_matrix fz_scale(float sx, float sy); ~~~~~~^~ sources/fitzmodel.cpp:133:23: error: could not convert '& matrix' from 'fz_matrix*' {aka 'fz_matrix_s*'} to 'fz_matrix' {aka 'fz_matrix_s'} fz_pre_rotate(&matrix, 0.0); ^~~~~~~ sources/fitzmodel.cpp:136:23: error: could not convert '& matrix' from 'fz_matrix*' {aka 'fz_matrix_s*'} to 'fz_matrix' {aka 'fz_matrix_s'} fz_pre_rotate(&matrix, 90.0); ^~~~~~~ sources/fitzmodel.cpp:139:23: error: could not convert '& matrix' from 'fz_matrix*' {aka 'fz_matrix_s*'} to 'fz_matrix' {aka 'fz_matrix_s'} fz_pre_rotate(&matrix, 180.0); ^~~~~~~ sources/fitzmodel.cpp:142:23: error: could not convert '& matrix' from 'fz_matrix*' {aka 'fz_matrix_s*'} to 'fz_matrix' {aka 'fz_matrix_s'} fz_pre_rotate(&matrix, 270.0); ^~~~~~~ sources/fitzmodel.cpp:147:53: error: too many arguments to function 'fz_rect fz_bound_page(fz_context*, fz_page*)' fz_bound_page(m_parent->m_context, m_page, &rect); ^ In file included from sources/fitzmodel.cpp:36: /usr/include/mupdf/fitz/document.h:354:9: note: declared here fz_rect fz_bound_page(fz_context *ctx, fz_page *page); ^~~~~~~~~~~~~ sources/fitzmodel.cpp:148:23: error: could not convert '& rect' from 'fz_rect*' {aka 'fz_rect_s*'} to 'fz_rect' {aka 'fz_rect_s'} fz_transform_rect(&rect, &matrix); ^~~~~ sources/fitzmodel.cpp:151:19: error: could not convert '& irect' from 'fz_irect*' {aka 'fz_irect_s*'} to 'fz_rect' {aka 'fz_rect_s'} fz_round_rect(&irect, &rect); ^~~~~~ sources/fitzmodel.cpp:155:66: error: could not convert '& rect' from 'fz_rect*' {aka 'fz_rect_s*'} to 'fz_rect' {aka 'fz_rect_s'} fz_display_list* display_list = fz_new_display_list(context, &rect); ^~~~~ sources/fitzmodel.cpp:158:54: error: could not convert '& matrix' from 'fz_matrix*' {aka 'fz_matrix_s*'} to 'fz_matrix' {aka 'fz_matrix_s'} fz_run_page(m_parent->m_context, m_page, device, &matrix, 0); ^~~~~~~ sources/fitzmodel.cpp:167:18: error: cannot convert 'fz_matrix*' {aka 'fz_matrix_s*'} to 'float' fz_translate(&tileMatrix, -rect.x0, -rect.y0); ^~~~~~~~~~~ In file included from /usr/include/mupdf/fitz/context.h:6, from sources/fitzmodel.h:31, from sources/fitzmodel.cpp:24: /usr/include/mupdf/fitz/geometry.h:299:30: note:  initializing argument 1 of 'fz_matrix fz_translate(float, float)' fz_matrix fz_translate(float tx, float ty); ~~~~~~^~ sources/fitzmodel.cpp:176:26: error: could not convert '& tileMatrix' from 'fz_matrix*' {aka 'fz_matrix_s*'} to 'fz_matrix' {aka 'fz_matrix_s'} fz_pre_translate(&tileMatrix, -boundingRect.x(), -boundingRect.y()); ^~~~~~~~~~~ sources/fitzmodel.cpp:192:5: error: 'fz_pixmap' was not declared in this scope fz_pixmap* pixmap = fz_new_pixmap_with_data(context, fz_device_bgr(context), image.width(), image.height(), 0, 1, image.bytesPerLine(), image.bits()); ^~~~~~~~~ sources/fitzmodel.cpp:192:5: note: suggested alternative: 'fz_pixmap_s' fz_pixmap* pixmap = fz_new_pixmap_with_data(context, fz_device_bgr(context), image.width(), image.height(), 0, 1, image.bytesPerLine(), image.bits()); ^~~~~~~~~ fz_pixmap_s sources/fitzmodel.cpp:192:16: error: 'pixmap' was not declared in this scope fz_pixmap* pixmap = fz_new_pixmap_with_data(context, fz_device_bgr(context), image.width(), image.height(), 0, 1, image.bytesPerLine(), image.bits()); ^~~~~~ sources/fitzmodel.cpp:192:16: note: suggested alternative: 'QPixmap' fz_pixmap* pixmap = fz_new_pixmap_with_data(context, fz_device_bgr(context), image.width(), image.height(), 0, 1, image.bytesPerLine(), image.bits()); ^~~~~~ QPixmap sources/fitzmodel.cpp:192:58: error: 'fz_device_bgr' was not declared in this scope fz_pixmap* pixmap = fz_new_pixmap_with_data(context, fz_device_bgr(context), image.width(), image.height(), 0, 1, image.bytesPerLine(), image.bits()); ^~~~~~~~~~~~~ sources/fitzmodel.cpp:192:58: note: suggested alternative: 'fz_device_s' fz_pixmap* pixmap = fz_new_pixmap_with_data(context, fz_device_bgr(context), image.width(), image.height(), 0, 1, image.bytesPerLine(), image.bits()); ^~~~~~~~~~~~~ fz_device_s sources/fitzmodel.cpp:192:25: error: 'fz_new_pixmap_with_data' was not declared in this scope fz_pixmap* pixmap = fz_new_pixmap_with_data(context, fz_device_bgr(context), image.width(), image.height(), 0, 1, image.bytesPerLine(), image.bits()); ^~~~~~~~~~~~~~~~~~~~~~~ sources/fitzmodel.cpp:192:25: note: suggested alternative: 'fz_clear_pixmap_with_value' fz_pixmap* pixmap = fz_new_pixmap_with_data(context, fz_device_bgr(context), image.width(), image.height(), 0, 1, image.bytesPerLine(), image.bits()); ^~~~~~~~~~~~~~~~~~~~~~~ fz_clear_pixmap_with_value sources/fitzmodel.cpp:195:56: error: could not convert '& fz_identity' from 'const fz_matrix*' {aka 'const fz_matrix_s*'} to 'fz_matrix' {aka 'fz_matrix_s'} fz_run_display_list(context, display_list, device, &fz_identity, &tileRect, 0); ^~~~~~~~~~~~ sources/fitzmodel.cpp: In member function 'virtual QList qpdfview::Model::FitzPage::links() const': sources/fitzmodel.cpp:213:53: error: too many arguments to function 'fz_rect fz_bound_page(fz_context*, fz_page*)' fz_bound_page(m_parent->m_context, m_page, &rect); ^ In file included from sources/fitzmodel.cpp:36: /usr/include/mupdf/fitz/document.h:354:9: note: declared here fz_rect fz_bound_page(fz_context *ctx, fz_page *page); ^~~~~~~~~~~~~ sources/fitzmodel.cpp: In member function 'virtual QString qpdfview::Model::FitzPage::text(const QRectF&) const': sources/fitzmodel.cpp:259:70: error: could not convert '& mediaBox' from 'fz_rect*' {aka 'fz_rect_s*'} to 'fz_rect' {aka 'fz_rect_s'} fz_stext_page* textPage = fz_new_stext_page(m_parent->m_context, &mediaBox); ^~~~~~~~~ sources/fitzmodel.cpp:261:54: error: could not convert '& fz_identity' from 'const fz_matrix*' {aka 'const fz_matrix_s*'} to 'fz_matrix' {aka 'fz_matrix_s'} fz_run_page(m_parent->m_context, m_page, device, &fz_identity, 0); ^~~~~~~~~~~~ sources/fitzmodel.cpp: In member function 'virtual QList qpdfview::Model::FitzPage::search(const QString&, bool, bool) const': sources/fitzmodel.cpp:290:53: error: too many arguments to function 'fz_rect fz_bound_page(fz_context*, fz_page*)' fz_bound_page(m_parent->m_context, m_page, &rect); ^ In file included from sources/fitzmodel.cpp:36: /usr/include/mupdf/fitz/document.h:354:9: note: declared here fz_rect fz_bound_page(fz_context *ctx, fz_page *page); ^~~~~~~~~~~~~ sources/fitzmodel.cpp:292:70: error: could not convert '& rect' from 'fz_rect*' {aka 'fz_rect_s*'} to 'fz_rect' {aka 'fz_rect_s'} fz_stext_page* textPage = fz_new_stext_page(m_parent->m_context, &rect); ^~~~~ sources/fitzmodel.cpp:294:54: error: could not convert '& fz_identity' from 'const fz_matrix*' {aka 'const fz_matrix_s*'} to 'fz_matrix' {aka 'fz_matrix_s'} fz_run_page(m_parent->m_context, m_page, device, &fz_identity, 0); ^~~~~~~~~~~~ sources/fitzmodel.cpp:301:105: error: cannot convert 'fz_rect_s*' to 'fz_quad*' {aka 'fz_quad_s*'} erOfHits = fz_search_stext_page(m_parent->m_context, textPage, needle.constData(), hits.data(), hits.size()); ~~~~~~~~~^~ In file included from sources/fitzmodel.cpp:38: /usr/include/mupdf/fitz/structured-text.h:162:93: note:  initializing argument 4 of 'int fz_search_stext_page(fz_context*, fz_stext_page*, const char*, fz_quad*, int)' int fz_search_stext_page(fz_context *ctx, fz_stext_page *text, const char *needle, fz_quad *quads, int max_quads); ~~~~~~~~~^~~~~ sources/fitzmodel.cpp:306:105: error: cannot convert 'fz_rect_s*' to 'fz_quad*' {aka 'fz_quad_s*'} erOfHits = fz_search_stext_page(m_parent->m_context, textPage, needle.constData(), hits.data(), hits.size()); ~~~~~~~~~^~ In file included from sources/fitzmodel.cpp:38: /usr/include/mupdf/fitz/structured-text.h:162:93: note:  initializing argument 4 of 'int fz_search_stext_page(fz_context*, fz_stext_page*, const char*, fz_quad*, int)' int fz_search_stext_page(fz_context *ctx, fz_stext_page *text, const char *needle, fz_quad *quads, int max_quads); ~~~~~~~~~^~~~~ make[1]: *** [Makefile.fitz-plugin:373: objects-fitz/fitzmodel.o] Error 1 make[1]: *** Waiting for unfinished jobs.... make[1]: Leaving directory '/var/tmp/portage/app-text/qpdfview-0.4.18_pre4/work/qpdfview-0.4.18_pre4' make: *** [Makefile:76: sub-fitz-plugin-pro-make_first-ordered] Error 2 * ERROR: app-text/qpdfview-0.4.18_pre4::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=app-text/qpdfview-0.4.18_pre4::gentoo'`, * the complete build log and the output of `emerge -pqv '=app-text/qpdfview-0.4.18_pre4::gentoo'`. * The complete build log is located at '/var/log/portage/build/app-text/qpdfview-0.4.18_pre4:20191014-095631.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/app-text/qpdfview-0.4.18_pre4/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/app-text/qpdfview-0.4.18_pre4/temp/environment'. * Working directory: '/var/tmp/portage/app-text/qpdfview-0.4.18_pre4/work/qpdfview-0.4.18_pre4' * S: '/var/tmp/portage/app-text/qpdfview-0.4.18_pre4/work/qpdfview-0.4.18_pre4'