Cook: fbpdf-mupdf 20130411 ================================================================================ QA: checking package receipt... Checking build dependencies... Installing (pkg/local): libjpeg-turbo-2.0.1-i486 Installing (pkg/local): libtiff-4.0.10-i486 Installing (pkg/local): djvulibre-3.5.27-i486 chroot: can't execute '/usr/bin/update-mime-database': No such file or directory Installing (pkg/local): jpeg-turbo-2.0.1-i486 Installing (pkg/local): libjpeg-turbo-dev-2.0.1-any Installing (pkg/local): djvulibre-dev-3.5.27-any Installing (pkg/local): libpcre-8.42-i486 Installing (pkg/local): util-linux-smartcols-2.33.1-i486 Installing (pkg/local): util-linux-uuid-2.33.1-i486 Installing (pkg/local): util-linux-blkid-2.33.1-i486 Installing (pkg/local): util-linux-mount-2.33.1-i486 Installing (pkg/local): glib-2.64.3-i486 Installing (pkg/local): libharfbuzz-1.8.4-i486 Installing (pkg/local): libpng-1.6.36-i486 Installing (pkg/local): freetype-2.10.2-i486 Installing (pkg/local): jbig2dec-0.15-i486 Installing (pkg/local): libunistring-0.9.10-i486 Installing (pkg/local): libidn2-2.1.0-i486 Installing (pkg/local): libcurl-7.63.0-i486 Installing (pkg/local): openjpeg2-2.3.0-i486 Installing (pkg/local): libxau-1.0.8-i486 Installing (pkg/local): libxdmcp-1.1.2-i486 Installing (pkg/local): libxcb-1.13.1-i486 Installing (pkg/local): libx11-1.6.7-i486 Installing (pkg/local): libxext-1.3.3-i486 Installing (pkg/local): mupdf-1.13.0-i486 Installing (pkg/local): libxi-1.7.9-i486 Installing (pkg/local): libxxf86vm-1.1.4-i486 Installing (pkg/local): dbus-1.12.18-i486 Installing (pkg/local): eudev-3.2.9-i486 Installing (pkg/local): linux-agp-4.17.7-i486 Installing (pkg/local): linux-drm-4.17.7-i486 Installing (pkg/local): libpciaccess-0.14-i486 Installing (pkg/local): libdrm-2.4.96-i486 Installing (pkg/local): libxdamage-1.1.4-i486 Installing (pkg/local): libxfixes-5.0.3-i486 Installing (pkg/local): libxshmfence-1.3-i486 Installing (pkg/local): mesa-18.3.1-i486 Installing (pkg/local): freeglut-3.2.1-i486 Installing (pkg/local): mupdf-gl-1.13.0-i486 Installing (pkg/local): mupdf-tools-1.13.0-i486 Installing (pkg/local): mupdf-dev-1.13.0-i486 Extracting source archive "fbpdf-20130411.tar.gz" Executing: compile_rules CFLAGS : -march=i486 -Os -pipe -mindirect-branch=thunk CXXLAGS : -march=i486 -Os -pipe -mindirect-branch=thunk CPPFLAGS : -D_GLIBCXX_USE_C99_MATH=1 LDFLAGS : -Wl,-Os,--as-needed cc -c -Wall -O2 -I./include -I/usr/include/mupdf fbpdf.c cc -c -Wall -O2 -I./include -I/usr/include/mupdf mupdf.c cc -c -Wall -O2 -I./include -I/usr/include/mupdf draw.c cc -c -Wall -O2 -I./include -I/usr/include/mupdf djvulibre.c mupdf.c: In function 'doc_draw': mupdf.c:26:31: warning: passing argument 1 of 'fz_load_page' from incompatible pointer type [-Wincompatible-pointer-types] if (!(page = fz_load_page(doc->pdf, p - 1))) ~~~^~~~~ In file included from /usr/include/mupdf/fitz.h:56, from mupdf.c:3: /usr/include/mupdf/fitz/document.h:446:10: note: expected 'fz_context *' {aka 'struct fz_context_s *'} but argument is of type 'fz_document *' {aka 'struct fz_document_s *'} fz_page *fz_load_page(fz_context *ctx, fz_document *doc, int number); ^~~~~~~~~~~~ mupdf.c:26:40: warning: passing argument 2 of 'fz_load_page' makes pointer from integer without a cast [-Wint-conversion] if (!(page = fz_load_page(doc->pdf, p - 1))) ~~^~~ In file included from /usr/include/mupdf/fitz.h:56, from mupdf.c:3: /usr/include/mupdf/fitz/document.h:446:10: note: expected 'fz_document *' {aka 'struct fz_document_s *'} but argument is of type 'int' fz_page *fz_load_page(fz_context *ctx, fz_document *doc, int number); ^~~~~~~~~~~~ mupdf.c:26:15: error: too few arguments to function 'fz_load_page' if (!(page = fz_load_page(doc->pdf, p - 1))) ^~~~~~~~~~~~ In file included from /usr/include/mupdf/fitz.h:56, from mupdf.c:3: /usr/include/mupdf/fitz/document.h:446:10: note: declared here fz_page *fz_load_page(fz_context *ctx, fz_document *doc, int number); ^~~~~~~~~~~~ mupdf.c:30:19: warning: passing argument 1 of 'fz_bound_page' from incompatible pointer type [-Wincompatible-pointer-types] fz_bound_page(doc->pdf, page, &rect); ~~~^~~~~ In file included from /usr/include/mupdf/fitz.h:56, from mupdf.c:3: /usr/include/mupdf/fitz/document.h:472:10: note: expected 'fz_context *' {aka 'struct fz_context_s *'} but argument is of type 'fz_document *' {aka 'struct fz_document_s *'} fz_rect *fz_bound_page(fz_context *ctx, fz_page *page, fz_rect *rect); ^~~~~~~~~~~~~ mupdf.c:36:42: warning: passing argument 2 of 'fz_new_pixmap_with_bbox' from incompatible pointer type [-Wincompatible-pointer-types] pix = fz_new_pixmap_with_bbox(doc->ctx, fz_device_rgb, &bbox); ^~~~~~~~~~~~~ In file included from /usr/include/mupdf/fitz.h:35, from mupdf.c:3: /usr/include/mupdf/fitz/pixmap.h:86:12: note: expected 'fz_colorspace *' {aka 'struct fz_colorspace_s *'} but argument is of type 'fz_colorspace * (*)(fz_context *)' {aka 'struct fz_colorspace_s * (*)(struct fz_context_s *)'} fz_pixmap *fz_new_pixmap_with_bbox(fz_context *ctx, fz_colorspace *colorspace, const fz_irect *bbox, fz_separations *seps, int alpha); ^~~~~~~~~~~~~~~~~~~~~~~ mupdf.c:36:8: error: too few arguments to function 'fz_new_pixmap_with_bbox' pix = fz_new_pixmap_with_bbox(doc->ctx, fz_device_rgb, &bbox); ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/mupdf/fitz.h:35, from mupdf.c:3: /usr/include/mupdf/fitz/pixmap.h:86:12: note: declared here fz_pixmap *fz_new_pixmap_with_bbox(fz_context *ctx, fz_colorspace *colorspace, const fz_irect *bbox, fz_separations *seps, int alpha); ^~~~~~~~~~~~~~~~~~~~~~~ mupdf.c:39:37: warning: passing argument 2 of 'fz_new_draw_device' from incompatible pointer type [-Wincompatible-pointer-types] dev = fz_new_draw_device(doc->ctx, pix); ^~~ In file included from /usr/include/mupdf/fitz.h:46, from mupdf.c:3: /usr/include/mupdf/fitz/device.h:329:12: note: expected 'const fz_matrix *' {aka 'const struct fz_matrix_s *'} but argument is of type 'fz_pixmap *' {aka 'struct fz_pixmap_s *'} fz_device *fz_new_draw_device(fz_context *ctx, const fz_matrix *transform, fz_pixmap *dest); ^~~~~~~~~~~~~~~~~~ mupdf.c:39:8: error: too few arguments to function 'fz_new_draw_device' dev = fz_new_draw_device(doc->ctx, pix); ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/mupdf/fitz.h:46, from mupdf.c:3: /usr/include/mupdf/fitz/device.h:329:12: note: declared here fz_device *fz_new_draw_device(fz_context *ctx, const fz_matrix *transform, fz_pixmap *dest); ^~~~~~~~~~~~~~~~~~ mupdf.c:40:17: warning: passing argument 1 of 'fz_run_page' from incompatible pointer type [-Wincompatible-pointer-types] fz_run_page(doc->pdf, page, dev, &ctm, NULL); ~~~^~~~~ In file included from /usr/include/mupdf/fitz.h:56, from mupdf.c:3: /usr/include/mupdf/fitz/document.h:493:30: note: expected 'fz_context *' {aka 'struct fz_context_s *'} but argument is of type 'fz_document *' {aka 'struct fz_document_s *'} void fz_run_page(fz_context *ctx, fz_page *page, fz_device *dev, const fz_matrix *transform, fz_cookie *cookie); ~~~~~~~~~~~~^~~ mupdf.c:41:2: warning: implicit declaration of function 'fz_free_device'; did you mean 'fz_keep_device'? [-Wimplicit-function-declaration] fz_free_device(dev); ^~~~~~~~~~~~~~ fz_keep_device mupdf.c:53:2: warning: implicit declaration of function 'fz_free_page'; did you mean 'fz_drop_page'? [-Wimplicit-function-declaration] fz_free_page(doc->pdf, page); ^~~~~~~~~~~~ fz_drop_page mupdf.c: In function 'doc_pages': mupdf.c:61:27: warning: passing argument 1 of 'fz_count_pages' from incompatible pointer type [-Wincompatible-pointer-types] return fz_count_pages(doc->pdf); ~~~^~~~~ In file included from /usr/include/mupdf/fitz.h:56, from mupdf.c:3: /usr/include/mupdf/fitz/document.h:426:32: note: expected 'fz_context *' {aka 'struct fz_context_s *'} but argument is of type 'fz_document *' {aka 'struct fz_document_s *'} int fz_count_pages(fz_context *ctx, fz_document *doc); ~~~~~~~~~~~~^~~ mupdf.c:61:9: error: too few arguments to function 'fz_count_pages' return fz_count_pages(doc->pdf); ^~~~~~~~~~~~~~ In file included from /usr/include/mupdf/fitz.h:56, from mupdf.c:3: /usr/include/mupdf/fitz/document.h:426:5: note: declared here int fz_count_pages(fz_context *ctx, fz_document *doc); ^~~~~~~~~~~~~~ mupdf.c: In function 'doc_open': mupdf.c:69:38: warning: passing argument 1 of 'fz_count_pages' from incompatible pointer type [-Wincompatible-pointer-types] if (!doc->pdf || !fz_count_pages(doc->pdf)) { ~~~^~~~~ In file included from /usr/include/mupdf/fitz.h:56, from mupdf.c:3: /usr/include/mupdf/fitz/document.h:426:32: note: expected 'fz_context *' {aka 'struct fz_context_s *'} but argument is of type 'fz_document *' {aka 'struct fz_document_s *'} int fz_count_pages(fz_context *ctx, fz_document *doc); ~~~~~~~~~~~~^~~ mupdf.c:69:20: error: too few arguments to function 'fz_count_pages' if (!doc->pdf || !fz_count_pages(doc->pdf)) { ^~~~~~~~~~~~~~ In file included from /usr/include/mupdf/fitz.h:56, from mupdf.c:3: /usr/include/mupdf/fitz/document.h:426:5: note: declared here int fz_count_pages(fz_context *ctx, fz_document *doc); ^~~~~~~~~~~~~~ mupdf.c: In function 'doc_close': mupdf.c:78:2: warning: implicit declaration of function 'fz_close_document'; did you mean 'fz_drop_document'? [-Wimplicit-function-declaration] fz_close_document(doc->pdf); ^~~~~~~~~~~~~~~~~ fz_drop_document mupdf.c:79:2: warning: implicit declaration of function 'fz_free_context'; did you mean 'fz_user_context'? [-Wimplicit-function-declaration] fz_free_context(doc->ctx); ^~~~~~~~~~~~~~~ fz_user_context mupdf.c: In function 'doc_pages': mupdf.c:62:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ make: *** [Makefile:8: mupdf.o] Error 1 make: *** Waiting for unfinished jobs.... Build dependencies to remove: 42 Removing: dbus djvulibre djvulibre-dev eudev freeglut freetype glib jbig2dec jpeg-turbo libcurl libdrm libharfbuzz libidn2 libjpeg-turbo libjpeg-turbo-dev libpciaccess libpcre libpng libtiff libunistring libx11 libxau libxcb libxdamage libxdmcp libxext libxfixes libxi libxshmfence libxxf86vm linux-agp linux-drm mesa mupdf mupdf-dev mupdf-gl mupdf-tools openjpeg2 util-linux-blkid util-linux-mount util-linux-smartcols util-linux-uuid Debug information ret1. ================================================================================ Cook date: 2020-09-12 07:04 Wasted time : 39s 9:chroot: can't execute '/usr/bin/update-mime-database': No such file or directory 78:mupdf.c:26:15: error: too few arguments to function 'fz_load_page' 102:mupdf.c:36:8: error: too few arguments to function 'fz_new_pixmap_with_bbox' 118:mupdf.c:39:8: error: too few arguments to function 'fz_new_draw_device' 151:mupdf.c:61:9: error: too few arguments to function 'fz_count_pages' 168:mupdf.c:69:20: error: too few arguments to function 'fz_count_pages' ================================================================================ Post-check ================================================================================ Checking build... Failed Updating activity log... Done ================================================================================