Last active
November 24, 2020 21:26
-
-
Save je-vv/5eba2d3662cc4a8ccb2a85a87dc7033f to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Note: Changed the hardoced home directory to $HOME in this log | |
==== | |
==> Retrieving sources... | |
-> Downloading PyMuPDF-1.18.4.tar.gz... | |
% Total % Received % Xferd Average Speed Time Time Time Current | |
Dload Upload Total Spent Left Speed | |
100 123 100 123 0 0 183 0 --:--:-- --:--:-- --:--:-- 183 | |
100 3741k 0 3741k 0 0 1302k 0 --:--:-- 0:00:02 --:--:-- 2085k | |
==> Validating source files with sha256sums... | |
PyMuPDF-1.18.4.tar.gz ... Passed | |
==> Extracting sources... | |
-> Extracting PyMuPDF-1.18.4.tar.gz with bsdtar | |
==> Starting prepare()... | |
==> Starting build()... | |
running build | |
running build_py | |
running build_ext | |
building 'fitz._fitz' extension | |
swigging fitz/fitz.i to fitz/fitz_wrap.c | |
swig -python -o fitz/fitz_wrap.c fitz/fitz.i | |
creating build | |
creating build/temp.linux-x86_64-3.8 | |
creating build/temp.linux-x86_64-3.8/fitz | |
gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -march=x86-64 -mtune=generic -O3 -pipe -fno-plt -fno-semantic-interposition -march=x86-64 -mtune=generic -O3 -pipe -fno-plt -march=x86-64 -mtune=generic -O3 -pipe -fno-plt -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/mupdf -I/usr/local/include/mupdf -I/usr/include/freetype2 -I/usr/include/python3.8 -c fitz/fitz_wrap.c -o build/temp.linux-x86_64-3.8/fitz/fitz_wrap.o | |
fitz/fitz_wrap.c: In function ‘JM_get_fontbuffer’: | |
fitz/fitz_wrap.c:4128:11: warning: variable ‘ext’ set but not used [-Wunused-but-set-variable] | |
4128 | char *ext = NULL; | |
| ^~~ | |
fitz/fitz_wrap.c: In function ‘JM_invert_pixmap_rect’: | |
fitz/fitz_wrap.c:4522:19: warning: operation on ‘s’ may be undefined [-Wsequence-point] | |
4522 | *s++ = 255 - *s; | |
| ~^~ | |
fitz/fitz_wrap.c:4523:30: warning: value computed is not used [-Wunused-value] | |
4523 | if (dest->alpha) *s++; | |
| ^~~~ | |
fitz/fitz_wrap.c: In function ‘JM_image_profile’: | |
fitz/fitz_wrap.c:4562:11: warning: pointer targets in assignment from ‘char *’ to ‘unsigned char *’ differ in signedness [-Wpointer-sign] | |
4562 | c = PyBytes_AS_STRING(imagedata); | |
| ^ | |
fitz/fitz_wrap.c:4565:11: warning: pointer targets in assignment from ‘char *’ to ‘unsigned char *’ differ in signedness [-Wpointer-sign] | |
4565 | c = PyByteArray_AS_STRING(imagedata); | |
| ^ | |
fitz/fitz_wrap.c: In function ‘JM_delete_annot’: | |
fitz/fitz_wrap.c:5019:18: warning: unused variable ‘popup’ [-Wunused-variable] | |
5019 | pdf_obj *popup = pdf_dict_get(ctx, annot->obj, PDF_NAME(Popup)); | |
| ^~~~~ | |
fitz/fitz_wrap.c: In function ‘JM_get_annot_xref_list’: | |
fitz/fitz_wrap.c:5110:14: warning: unused variable ‘name’ [-Wunused-variable] | |
5110 | pdf_obj *name = NULL; | |
| ^~~~ | |
fitz/fitz_wrap.c: In function ‘JM_get_annot_by_xref’: | |
fitz/fitz_wrap.c:5203:12: warning: unused variable ‘len’ [-Wunused-variable] | |
5203 | size_t len = 0; | |
| ^~~ | |
fitz/fitz_wrap.c: In function ‘JM_append_rune’: | |
fitz/fitz_wrap.c:5268:18: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] | |
5268 | if (ch >= 32 && ch <= 127 || ch == 10) { | |
| ~~~~~~~~~^~~~~~~~~~~~ | |
fitz/fitz_wrap.c: In function ‘JM_new_javascript’: | |
fitz/fitz_wrap.c:6081:47: warning: pointer targets in passing argument 2 of ‘fz_new_buffer_from_copied_data’ differ in signedness [-Wpointer-sign] | |
6081 | res = fz_new_buffer_from_copied_data(ctx, data, strlen(data)); | |
| ^~~~ | |
| | | |
| char * | |
In file included from /usr/include/mupdf/fitz/output.h:6, | |
from /usr/include/mupdf/fitz.h:12, | |
from fitz/fitz_wrap.c:2766: | |
/usr/include/mupdf/fitz/buffer.h:83:81: note: expected ‘const unsigned char *’ but argument is of type ‘char *’ | |
83 | fz_buffer *fz_new_buffer_from_copied_data(fz_context *ctx, const unsigned char *data, size_t size); | |
| ~~~~~~~~~~~~~~~~~~~~~^~~~ | |
fitz/fitz_wrap.c: In function ‘JM_choice_options’: | |
fitz/fitz_wrap.c:6467:19: warning: unused variable ‘pdf’ [-Wunused-variable] | |
6467 | pdf_document *pdf = pdf_get_bound_document(ctx, annot->obj); | |
| ^~~ | |
fitz/fitz_wrap.c: In function ‘JM_get_widget_properties’: | |
fitz/fitz_wrap.c:6524:16: warning: unused variable ‘res’ [-Wunused-variable] | |
6524 | fz_buffer *res = NULL; | |
| ^~~ | |
fitz/fitz_wrap.c:6523:39: warning: unused variable ‘o’ [-Wunused-variable] | |
6523 | pdf_obj *obj = NULL, *js = NULL, *o = NULL; | |
| ^ | |
fitz/fitz_wrap.c:6523:27: warning: unused variable ‘js’ [-Wunused-variable] | |
6523 | pdf_obj *obj = NULL, *js = NULL, *o = NULL; | |
| ^~ | |
fitz/fitz_wrap.c: In function ‘JM_set_widget_properties’: | |
fitz/fitz_wrap.c:6658:9: warning: variable ‘result’ set but not used [-Wunused-but-set-variable] | |
6658 | int result = 0; | |
| ^~~~~~ | |
fitz/fitz_wrap.c: In function ‘JM_embed_file’: | |
fitz/fitz_wrap.c:6928:64: warning: pointer targets in passing argument 2 of ‘fz_new_buffer_from_copied_data’ differ in signedness [-Wpointer-sign] | |
6928 | fz_new_buffer_from_copied_data(ctx, " ", 1), | |
| ^~~~ | |
| | | |
| char * | |
In file included from /usr/include/mupdf/fitz/output.h:6, | |
from /usr/include/mupdf/fitz.h:12, | |
from fitz/fitz_wrap.c:2766: | |
/usr/include/mupdf/fitz/buffer.h:83:81: note: expected ‘const unsigned char *’ but argument is of type ‘char *’ | |
83 | fz_buffer *fz_new_buffer_from_copied_data(fz_context *ctx, const unsigned char *data, size_t size); | |
| ~~~~~~~~~~~~~~~~~~~~~^~~~ | |
fitz/fitz_wrap.c: In function ‘JM_set_ocg_arrays’: | |
fitz/fitz_wrap.c:7721:40: warning: unused variable ‘indobj’ [-Wunused-variable] | |
7721 | pdf_obj *arr = NULL, *obj = NULL, *indobj = NULL; | |
| ^~~~~~ | |
fitz/fitz_wrap.c: At top level: | |
fitz/fitz_wrap.c:8402:40: warning: ‘struct Document’ declared inside parameter list will not be visible outside of this definition or declaration | |
8402 | SWIGINTERN void delete_Document(struct Document *self){ | |
| ^~~~~~~~ | |
fitz/fitz_wrap.c: In function ‘Document__embeddedFileAdd’: | |
fitz/fitz_wrap.c:9027:20: warning: variable ‘size’ set but not used [-Wunused-but-set-variable] | |
9027 | size_t size = 0; | |
| ^~~~ | |
fitz/fitz_wrap.c:9026:17: warning: unused variable ‘entry’ [-Wunused-variable] | |
9026 | int entry = 0; | |
| ^~~~~ | |
fitz/fitz_wrap.c: In function ‘Document_nextLocation’: | |
fitz/fitz_wrap.c:9228:17: warning: unused variable ‘page_n’ [-Wunused-variable] | |
9228 | int page_n = -1; | |
| ^~~~~~ | |
fitz/fitz_wrap.c: In function ‘Document__getPDFfileid’: | |
fitz/fitz_wrap.c:9466:68: warning: pointer targets in passing argument 1 of ‘JM_UnicodeFromStr’ differ in signedness [-Wpointer-sign] | |
9466 | LIST_APPEND_DROP(idlist, JM_UnicodeFromStr(hex)); | |
| ^~~ | |
| | | |
| unsigned char * | |
fitz/fitz_wrap.c:3518:41: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ | |
3518 | PyObject *JM_UnicodeFromStr(const char *c) | |
| ~~~~~~~~~~~~^ | |
fitz/fitz_wrap.c: At top level: | |
fitz/fitz_wrap.c:9599:193: warning: ‘struct Graftmap’ declared inside parameter list will not be visible outside of this definition or declaration | |
9599 | nt *self,struct Document *docsrc,int from_page,int to_page,int start_at,int rotate,int links,int annots,int show_progress,int final,struct Graftmap *_gmap){ | |
| ^~~~~~~~ | |
fitz/fitz_wrap.c: In function ‘Document__getCharWidths’: | |
fitz/fitz_wrap.c:9723:36: warning: unused variable ‘fb_font’ [-Wunused-variable] | |
9723 | fz_font *font = NULL, *fb_font= NULL; | |
| ^~~~~~~ | |
fitz/fitz_wrap.c:9720:17: warning: unused variable ‘lang’ [-Wunused-variable] | |
9720 | int lang = 0; | |
| ^~~~ | |
fitz/fitz_wrap.c:9719:17: warning: unused variable ‘cwlen’ [-Wunused-variable] | |
9719 | int cwlen = 0; | |
| ^~~~~ | |
fitz/fitz_wrap.c: In function ‘Document_extractFont’: | |
fitz/fitz_wrap.c:9862:24: warning: unused variable ‘len’ [-Wunused-variable] | |
9862 | Py_ssize_t len = 0; | |
| ^~~ | |
fitz/fitz_wrap.c: In function ‘Document_fullcopyPage’: | |
fitz/fitz_wrap.c:10539:69: warning: pointer targets in passing argument 2 of ‘fz_new_buffer_from_copied_data’ differ in signedness [-Wpointer-sign] | |
10539 | fz_new_buffer_from_copied_data(gctx, " ", 1), NULL, 0); | |
| ^~~~ | |
| | | |
| char * | |
In file included from /usr/include/mupdf/fitz/output.h:6, | |
from /usr/include/mupdf/fitz.h:12, | |
from fitz/fitz_wrap.c:2766: | |
/usr/include/mupdf/fitz/buffer.h:83:81: note: expected ‘const unsigned char *’ but argument is of type ‘char *’ | |
83 | fz_buffer *fz_new_buffer_from_copied_data(fz_context *ctx, const unsigned char *data, size_t size); | |
| ~~~~~~~~~~~~~~~~~~~~~^~~~ | |
fitz/fitz_wrap.c:10498:22: warning: unused variable ‘page2’ [-Wunused-variable] | |
10498 | pdf_obj *page2 = NULL; | |
| ^~~~~ | |
fitz/fitz_wrap.c: In function ‘Document__move_copy_page’: | |
fitz/fitz_wrap.c:10575:26: warning: unused variable ‘page2’ [-Wunused-variable] | |
10575 | pdf_obj *page2 = pdf_lookup_page_loc(gctx, pdf, nb, &parent2, &i2); | |
| ^~~~~ | |
fitz/fitz_wrap.c: In function ‘Page_getSVGimage’: | |
fitz/fitz_wrap.c:11093:29: warning: unused variable ‘seps’ [-Wunused-variable] | |
11093 | fz_separations *seps = NULL; | |
| ^~~~ | |
fitz/fitz_wrap.c: At top level: | |
fitz/fitz_wrap.c:11609:104: warning: ‘struct Colorspace’ declared inside parameter list will not be visible outside of this definition or declaration | |
11609 | SWIGINTERN struct Pixmap *Page__makePixmap(struct Page *self,struct Document *doc,PyObject *ctm,struct Colorspace *cs,int alpha,int annots,PyObject *clip){ | |
| ^~~~~~~~~~ | |
fitz/fitz_wrap.c:11861:149: warning: ‘struct Graftmap’ declared inside parameter list will not be visible outside of this definition or declaration | |
11861 | N PyObject *Page__showPDFpage(struct Page *self,struct Page *fz_srcpage,int overlay,PyObject *matrix,int xref,int oc,PyObject *clip,struct Graftmap *graftmap,char *_imgname){ | |
| ^~~~~~~~ | |
fitz/fitz_wrap.c: In function ‘Page__insertImage’: | |
fitz/fitz_wrap.c:11934:29: warning: unused variable ‘seps’ [-Wunused-variable] | |
11934 | fz_separations *seps = NULL; | |
| ^~~~ | |
fitz/fitz_wrap.c: In function ‘Page__getContents’: | |
fitz/fitz_wrap.c:12198:35: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] | |
12198 | for (i = 0; i < n; i++) { | |
| ^ | |
fitz/fitz_wrap.c: At top level: | |
fitz/fitz_wrap.c:12246:53: warning: ‘struct Colorspace’ declared inside parameter list will not be visible outside of this definition or declaration | |
12246 | SWIGINTERN struct Pixmap *new_Pixmap__SWIG_0(struct Colorspace *cs,PyObject *bbox,int alpha){ | |
| ^~~~~~~~~~ | |
fitz/fitz_wrap.c:12256:53: warning: ‘struct Colorspace’ declared inside parameter list will not be visible outside of this definition or declaration | |
12256 | SWIGINTERN struct Pixmap *new_Pixmap__SWIG_1(struct Colorspace *cs,struct Pixmap *spix){ | |
| ^~~~~~~~~~ | |
fitz/fitz_wrap.c:12325:53: warning: ‘struct Colorspace’ declared inside parameter list will not be visible outside of this definition or declaration | |
12325 | SWIGINTERN struct Pixmap *new_Pixmap__SWIG_4(struct Colorspace *cs,int w,int h,PyObject *samples,int alpha){ | |
| ^~~~~~~~~~ | |
fitz/fitz_wrap.c: In function ‘new_Pixmap__SWIG_4’: | |
fitz/fitz_wrap.c:12337:32: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] | |
12337 | if (stride * h != size) THROWMSG(gctx, "bad samples length"); | |
| ^~ | |
fitz/fitz_wrap.c: In function ‘Annot_update_file’: | |
fitz/fitz_wrap.c:13595:21: warning: unused variable ‘size’ [-Wunused-variable] | |
13595 | int64_t size = 0; | |
| ^~~~ | |
fitz/fitz_wrap.c:13592:19: warning: unused variable ‘data’ [-Wunused-variable] | |
13592 | char *data = NULL; // for new file content | |
| ^~~~ | |
fitz/fitz_wrap.c: In function ‘TextPage_extractBLOCKS’: | |
fitz/fitz_wrap.c:14018:31: warning: unused variable ‘last_y0’ [-Wunused-variable] | |
14018 | float last_y0 = 0.0; | |
| ^~~~~~~ | |
fitz/fitz_wrap.c: At top level: | |
fitz/fitz_wrap.c:14198:40: warning: ‘struct Graftmap’ declared inside parameter list will not be visible outside of this definition or declaration | |
14198 | SWIGINTERN void delete_Graftmap(struct Graftmap *self){ | |
| ^~~~~~~~ | |
fitz/fitz_wrap.c:14215:42: warning: ‘struct TextWriter’ declared inside parameter list will not be visible outside of this definition or declaration | |
14215 | SWIGINTERN void delete_TextWriter(struct TextWriter *self){ | |
| ^~~~~~~~~~ | |
fitz/fitz_wrap.c:14230:96: warning: ‘struct Font’ declared inside parameter list will not be visible outside of this definition or declaration | |
14230 | SWIGINTERN PyObject *TextWriter_append(struct TextWriter *self,PyObject *pos,char *text,struct Font *font,float fontsize,char *language){ | |
| ^~~~ | |
fitz/fitz_wrap.c:14293:36: warning: ‘struct Font’ declared inside parameter list will not be visible outside of this definition or declaration | |
14293 | SWIGINTERN void delete_Font(struct Font *self){ | |
| ^~~~ | |
fitz/fitz_wrap.c: In function ‘Font_buffer’: | |
fitz/fitz_wrap.c:14372:39: warning: pointer targets in passing argument 1 of ‘PyBytes_FromStringAndSize’ differ in signedness [-Wpointer-sign] | |
14372 | return JM_BinFromCharSize(data, len); | |
| ^~~~ | |
| | | |
| unsigned char * | |
fitz/fitz_wrap.c:2760:64: note: in definition of macro ‘JM_BinFromCharSize’ | |
2760 | #define JM_BinFromCharSize(x, y) PyBytes_FromStringAndSize(x, (Py_ssize_t) y) | |
| ^ | |
In file included from /usr/include/python3.8/Python.h:96, | |
from fitz/fitz_wrap.c:154: | |
/usr/include/python3.8/bytesobject.h:51:50: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ | |
51 | PyAPI_FUNC(PyObject *) PyBytes_FromStringAndSize(const char *, Py_ssize_t); | |
| ^~~~~~~~~~~~ | |
fitz/fitz_wrap.c: In function ‘_wrap_delete_Document’: | |
fitz/fitz_wrap.c:14696:19: warning: passing argument 1 of ‘delete_Document’ from incompatible pointer type [-Wincompatible-pointer-types] | |
14696 | delete_Document(arg1); | |
| ^~~~ | |
| | | |
| struct Document * | |
fitz/fitz_wrap.c:8402:50: note: expected ‘struct Document *’ but argument is of type ‘struct Document *’ | |
8402 | SWIGINTERN void delete_Document(struct Document *self){ | |
| ~~~~~~~~~~~~~~~~~^~~~ | |
fitz/fitz_wrap.c: In function ‘_wrap_Document_insertPDF’: | |
fitz/fitz_wrap.c:16643:96: warning: passing argument 11 of ‘Document_insertPDF’ from incompatible pointer type [-Wincompatible-pointer-types] | |
16643 | result = (PyObject *)Document_insertPDF(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10,arg11); | |
| ^~~~~ | |
| | | |
| struct Graftmap * | |
fitz/fitz_wrap.c:9599:203: note: expected ‘struct Graftmap *’ but argument is of type ‘struct Graftmap *’ | |
9599 | lf,struct Document *docsrc,int from_page,int to_page,int start_at,int rotate,int links,int annots,int show_progress,int final,struct Graftmap *_gmap){ | |
| ~~~~~~~~~~~~~~~~~^~~~~ | |
fitz/fitz_wrap.c: In function ‘_wrap_Page__makePixmap’: | |
fitz/fitz_wrap.c:19732:63: warning: passing argument 4 of ‘Page__makePixmap’ from incompatible pointer type [-Wincompatible-pointer-types] | |
19732 | result = (struct Pixmap *)Page__makePixmap(arg1,arg2,arg3,arg4,arg5,arg6,arg7); | |
| ^~~~ | |
| | | |
| struct Colorspace * | |
fitz/fitz_wrap.c:11609:116: note: expected ‘struct Colorspace *’ but argument is of type ‘struct Colorspace *’ | |
11609 | SWIGINTERN struct Pixmap *Page__makePixmap(struct Page *self,struct Document *doc,PyObject *ctm,struct Colorspace *cs,int alpha,int annots,PyObject *clip){ | |
| ~~~~~~~~~~~~~~~~~~~^~ | |
fitz/fitz_wrap.c: In function ‘_wrap_Page__showPDFpage’: | |
fitz/fitz_wrap.c:20199:79: warning: passing argument 8 of ‘Page__showPDFpage’ from incompatible pointer type [-Wincompatible-pointer-types] | |
20199 | result = (PyObject *)Page__showPDFpage(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9); | |
| ^~~~ | |
| | | |
| struct Graftmap * | |
fitz/fitz_wrap.c:11861:159: note: expected ‘struct Graftmap *’ but argument is of type ‘struct Graftmap *’ | |
11861 | *Page__showPDFpage(struct Page *self,struct Page *fz_srcpage,int overlay,PyObject *matrix,int xref,int oc,PyObject *clip,struct Graftmap *graftmap,char *_imgname){ | |
| ~~~~~~~~~~~~~~~~~^~~~~~~~ | |
fitz/fitz_wrap.c: In function ‘_wrap_new_Pixmap__SWIG_0’: | |
fitz/fitz_wrap.c:20609:50: warning: passing argument 1 of ‘new_Pixmap__SWIG_0’ from incompatible pointer type [-Wincompatible-pointer-types] | |
20609 | result = (struct Pixmap *)new_Pixmap__SWIG_0(arg1,arg2,arg3); | |
| ^~~~ | |
| | | |
| struct Colorspace * | |
fitz/fitz_wrap.c:12246:65: note: expected ‘struct Colorspace *’ but argument is of type ‘struct Colorspace *’ | |
12246 | SWIGINTERN struct Pixmap *new_Pixmap__SWIG_0(struct Colorspace *cs,PyObject *bbox,int alpha){ | |
| ~~~~~~~~~~~~~~~~~~~^~ | |
fitz/fitz_wrap.c: In function ‘_wrap_new_Pixmap__SWIG_1’: | |
fitz/fitz_wrap.c:20644:50: warning: passing argument 1 of ‘new_Pixmap__SWIG_1’ from incompatible pointer type [-Wincompatible-pointer-types] | |
20644 | result = (struct Pixmap *)new_Pixmap__SWIG_1(arg1,arg2); | |
| ^~~~ | |
| | | |
| struct Colorspace * | |
fitz/fitz_wrap.c:12256:65: note: expected ‘struct Colorspace *’ but argument is of type ‘struct Colorspace *’ | |
12256 | SWIGINTERN struct Pixmap *new_Pixmap__SWIG_1(struct Colorspace *cs,struct Pixmap *spix){ | |
| ~~~~~~~~~~~~~~~~~~~^~ | |
fitz/fitz_wrap.c: In function ‘_wrap_new_Pixmap__SWIG_4’: | |
fitz/fitz_wrap.c:20783:50: warning: passing argument 1 of ‘new_Pixmap__SWIG_4’ from incompatible pointer type [-Wincompatible-pointer-types] | |
20783 | result = (struct Pixmap *)new_Pixmap__SWIG_4(arg1,arg2,arg3,arg4,arg5); | |
| ^~~~ | |
| | | |
| struct Colorspace * | |
fitz/fitz_wrap.c:12325:65: note: expected ‘struct Colorspace *’ but argument is of type ‘struct Colorspace *’ | |
12325 | SWIGINTERN struct Pixmap *new_Pixmap__SWIG_4(struct Colorspace *cs,int w,int h,PyObject *samples,int alpha){ | |
| ~~~~~~~~~~~~~~~~~~~^~ | |
fitz/fitz_wrap.c: In function ‘_wrap_delete_Graftmap’: | |
fitz/fitz_wrap.c:24902:19: warning: passing argument 1 of ‘delete_Graftmap’ from incompatible pointer type [-Wincompatible-pointer-types] | |
24902 | delete_Graftmap(arg1); | |
| ^~~~ | |
| | | |
| struct Graftmap * | |
fitz/fitz_wrap.c:14198:50: note: expected ‘struct Graftmap *’ but argument is of type ‘struct Graftmap *’ | |
14198 | SWIGINTERN void delete_Graftmap(struct Graftmap *self){ | |
| ~~~~~~~~~~~~~~~~~^~~~ | |
fitz/fitz_wrap.c: In function ‘_wrap_delete_TextWriter’: | |
fitz/fitz_wrap.c:24964:21: warning: passing argument 1 of ‘delete_TextWriter’ from incompatible pointer type [-Wincompatible-pointer-types] | |
24964 | delete_TextWriter(arg1); | |
| ^~~~ | |
| | | |
| struct TextWriter * | |
fitz/fitz_wrap.c:14215:54: note: expected ‘struct TextWriter *’ but argument is of type ‘struct TextWriter *’ | |
14215 | SWIGINTERN void delete_TextWriter(struct TextWriter *self){ | |
| ~~~~~~~~~~~~~~~~~~~^~~~ | |
fitz/fitz_wrap.c: In function ‘_wrap_TextWriter_append’: | |
fitz/fitz_wrap.c:25065:59: warning: passing argument 4 of ‘TextWriter_append’ from incompatible pointer type [-Wincompatible-pointer-types] | |
25065 | result = (PyObject *)TextWriter_append(arg1,arg2,arg3,arg4,arg5,arg6); | |
| ^~~~ | |
| | | |
| struct Font * | |
fitz/fitz_wrap.c:14230:102: note: expected ‘struct Font *’ but argument is of type ‘struct Font *’ | |
14230 | SWIGINTERN PyObject *TextWriter_append(struct TextWriter *self,PyObject *pos,char *text,struct Font *font,float fontsize,char *language){ | |
| ~~~~~~~~~~~~~^~~~ | |
fitz/fitz_wrap.c: In function ‘_wrap_delete_Font’: | |
fitz/fitz_wrap.c:25214:15: warning: passing argument 1 of ‘delete_Font’ from incompatible pointer type [-Wincompatible-pointer-types] | |
25214 | delete_Font(arg1); | |
| ^~~~ | |
| | | |
| struct Font * | |
fitz/fitz_wrap.c:14293:42: note: expected ‘struct Font *’ but argument is of type ‘struct Font *’ | |
14293 | SWIGINTERN void delete_Font(struct Font *self){ | |
| ~~~~~~~~~~~~~^~~~ | |
At top level: | |
fitz/fitz_wrap.c:8330:1: warning: ‘jm_tracedraw_clip_path’ defined but not used [-Wunused-function] | |
8330 | jm_tracedraw_clip_path(fz_context *ctx, fz_device *dev_, const fz_path *path, int even_odd, fz_matrix ctm, fz_rect scissor) | |
| ^~~~~~~~~~~~~~~~~~~~~~ | |
fitz/fitz_wrap.c: In function ‘JM_make_textpage_dict’: | |
fitz/fitz_wrap.c:3380:12: warning: ‘span_origin.x’ may be used uninitialized in this function [-Wmaybe-uninitialized] | |
3380 | return Py_BuildValue("ff", p.x, p.y); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
fitz/fitz_wrap.c:5619:14: note: ‘span_origin.x’ was declared here | |
5619 | fz_point span_origin; | |
| ^~~~~~~~~~~ | |
fitz/fitz_wrap.c:3380:12: warning: ‘span_origin.y’ may be used uninitialized in this function [-Wmaybe-uninitialized] | |
3380 | return Py_BuildValue("ff", p.x, p.y); | |
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
fitz/fitz_wrap.c:5619:14: note: ‘span_origin.y’ was declared here | |
5619 | fz_point span_origin; | |
| ^~~~~~~~~~~ | |
creating build/lib.linux-x86_64-3.8 | |
creating build/lib.linux-x86_64-3.8/fitz | |
gcc -pthread -shared -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -fno-semantic-interposition -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -D_FORTIFY_SOURCE=2 build/temp.linux-x86_64-3.8/fitz/fitz_wrap.o -L/usr/lib -lmupdf -lmupdf-third -o build/lib.linux-x86_64-3.8/fitz/_fitz.cpython-38-x86_64-linux-gnu.so | |
copying fitz/__init__.py -> build/lib.linux-x86_64-3.8/fitz | |
copying fitz/fitz.py -> build/lib.linux-x86_64-3.8/fitz | |
copying fitz/utils.py -> build/lib.linux-x86_64-3.8/fitz | |
copying fitz/__main__.py -> build/lib.linux-x86_64-3.8/fitz | |
Running Sphinx v3.2.1 | |
making output directory... done | |
building [mo]: targets for 0 po files that are out of date | |
building [html]: targets for 42 source files that are out of date | |
updating environment: [new config] 42 added, 0 changed, 0 removed | |
reading sources... [100%] widget | |
$HOME/.cache/aurutils/sync/python-pymupdf/src/PyMuPDF-1.18.4/docs/annot.rst:230: WARNING: Unknown target name: "stamp". | |
$HOME/.cache/aurutils/sync/python-pymupdf/src/PyMuPDF-1.18.4/docs/app1.rst:51: WARNING: Unexpected indentation. | |
$HOME/.cache/aurutils/sync/python-pymupdf/src/PyMuPDF-1.18.4/docs/app1.rst:56: WARNING: Unexpected indentation. | |
$HOME/.cache/aurutils/sync/python-pymupdf/src/PyMuPDF-1.18.4/docs/app1.rst:63: WARNING: Unexpected indentation. | |
$HOME/.cache/aurutils/sync/python-pymupdf/src/PyMuPDF-1.18.4/docs/app1.rst:70: WARNING: Unexpected indentation. | |
$HOME/.cache/aurutils/sync/python-pymupdf/src/PyMuPDF-1.18.4/docs/app1.rst:134: WARNING: Unexpected indentation. | |
$HOME/.cache/aurutils/sync/python-pymupdf/src/PyMuPDF-1.18.4/docs/app1.rst:138: WARNING: Unexpected indentation. | |
$HOME/.cache/aurutils/sync/python-pymupdf/src/PyMuPDF-1.18.4/docs/app1.rst:152: WARNING: Unexpected indentation. | |
$HOME/.cache/aurutils/sync/python-pymupdf/src/PyMuPDF-1.18.4/docs/app4.rst:5: WARNING: Duplicate explicit target name: "here". | |
$HOME/.cache/aurutils/sync/python-pymupdf/src/PyMuPDF-1.18.4/docs/device.rst:23: WARNING: duplicate object description of Device.__init__, other instance in device, use :noindex: for one of them | |
$HOME/.cache/aurutils/sync/python-pymupdf/src/PyMuPDF-1.18.4/docs/document.rst:533: WARNING: Inline strong start-string without end-string. | |
$HOME/.cache/aurutils/sync/python-pymupdf/src/PyMuPDF-1.18.4/docs/document.rst:543: WARNING: Inline strong start-string without end-string. | |
$HOME/.cache/aurutils/sync/python-pymupdf/src/PyMuPDF-1.18.4/docs/document.rst:824: WARNING: Inline literal start-string without end-string. | |
$HOME/.cache/aurutils/sync/python-pymupdf/src/PyMuPDF-1.18.4/docs/faq.rst:5: WARNING: Duplicate explicit target name: "here". | |
$HOME/.cache/aurutils/sync/python-pymupdf/src/PyMuPDF-1.18.4/docs/faq.rst:5: WARNING: Duplicate explicit target name: "here". | |
$HOME/.cache/aurutils/sync/python-pymupdf/src/PyMuPDF-1.18.4/docs/faq.rst:5: WARNING: Duplicate explicit target name: "article". | |
$HOME/.cache/aurutils/sync/python-pymupdf/src/PyMuPDF-1.18.4/docs/faq.rst:5: WARNING: Duplicate explicit target name: "here". | |
$HOME/.cache/aurutils/sync/python-pymupdf/src/PyMuPDF-1.18.4/docs/faq.rst:16: WARNING: Document or section may not begin with a transition. | |
$HOME/.cache/aurutils/sync/python-pymupdf/src/PyMuPDF-1.18.4/docs/faq.rst:554: WARNING: Document or section may not begin with a transition. | |
$HOME/.cache/aurutils/sync/python-pymupdf/src/PyMuPDF-1.18.4/docs/font.rst:220: WARNING: Field list ends without a blank line; unexpected unindent. | |
$HOME/.cache/aurutils/sync/python-pymupdf/src/PyMuPDF-1.18.4/docs/font.rst:225: WARNING: Field list ends without a blank line; unexpected unindent. | |
$HOME/.cache/aurutils/sync/python-pymupdf/src/PyMuPDF-1.18.4/docs/font.rst:242: WARNING: Field list ends without a blank line; unexpected unindent. | |
$HOME/.cache/aurutils/sync/python-pymupdf/src/PyMuPDF-1.18.4/docs/font.rst:247: WARNING: Field list ends without a blank line; unexpected unindent. | |
$HOME/.cache/aurutils/sync/python-pymupdf/src/PyMuPDF-1.18.4/docs/font.rst:252: WARNING: Field list ends without a blank line; unexpected unindent. | |
$HOME/.cache/aurutils/sync/python-pymupdf/src/PyMuPDF-1.18.4/docs/font.rst:259: WARNING: Field list ends without a blank line; unexpected unindent. | |
$HOME/.cache/aurutils/sync/python-pymupdf/src/PyMuPDF-1.18.4/docs/font.rst:266: WARNING: Field list ends without a blank line; unexpected unindent. | |
$HOME/.cache/aurutils/sync/python-pymupdf/src/PyMuPDF-1.18.4/docs/font.rst:5: WARNING: Duplicate explicit target name: "here". | |
$HOME/.cache/aurutils/sync/python-pymupdf/src/PyMuPDF-1.18.4/docs/font.rst:273: WARNING: Field list ends without a blank line; unexpected unindent. | |
$HOME/.cache/aurutils/sync/python-pymupdf/src/PyMuPDF-1.18.4/docs/irect.rst:43: WARNING: duplicate object description of IRect.__init__, other instance in irect, use :noindex: for one of them | |
$HOME/.cache/aurutils/sync/python-pymupdf/src/PyMuPDF-1.18.4/docs/irect.rst:45: WARNING: duplicate object description of IRect.__init__, other instance in irect, use :noindex: for one of them | |
$HOME/.cache/aurutils/sync/python-pymupdf/src/PyMuPDF-1.18.4/docs/irect.rst:47: WARNING: duplicate object description of IRect.__init__, other instance in irect, use :noindex: for one of them | |
$HOME/.cache/aurutils/sync/python-pymupdf/src/PyMuPDF-1.18.4/docs/matrix.rst:46: WARNING: duplicate object description of Matrix.__init__, other instance in matrix, use :noindex: for one of them | |
$HOME/.cache/aurutils/sync/python-pymupdf/src/PyMuPDF-1.18.4/docs/matrix.rst:48: WARNING: duplicate object description of Matrix.__init__, other instance in matrix, use :noindex: for one of them | |
$HOME/.cache/aurutils/sync/python-pymupdf/src/PyMuPDF-1.18.4/docs/matrix.rst:50: WARNING: duplicate object description of Matrix.__init__, other instance in matrix, use :noindex: for one of them | |
$HOME/.cache/aurutils/sync/python-pymupdf/src/PyMuPDF-1.18.4/docs/matrix.rst:52: WARNING: duplicate object description of Matrix.__init__, other instance in matrix, use :noindex: for one of them | |
$HOME/.cache/aurutils/sync/python-pymupdf/src/PyMuPDF-1.18.4/docs/matrix.rst:54: WARNING: duplicate object description of Matrix.__init__, other instance in matrix, use :noindex: for one of them | |
$HOME/.cache/aurutils/sync/python-pymupdf/src/PyMuPDF-1.18.4/docs/matrix.rst:56: WARNING: duplicate object description of Matrix.__init__, other instance in matrix, use :noindex: for one of them | |
$HOME/.cache/aurutils/sync/python-pymupdf/src/PyMuPDF-1.18.4/docs/pixmap.rst:75: WARNING: duplicate object description of Pixmap.__init__, other instance in pixmap, use :noindex: for one of them | |
$HOME/.cache/aurutils/sync/python-pymupdf/src/PyMuPDF-1.18.4/docs/pixmap.rst:85: WARNING: duplicate object description of Pixmap.__init__, other instance in pixmap, use :noindex: for one of them | |
$HOME/.cache/aurutils/sync/python-pymupdf/src/PyMuPDF-1.18.4/docs/pixmap.rst:100: WARNING: duplicate object description of Pixmap.__init__, other instance in pixmap, use :noindex: for one of them | |
$HOME/.cache/aurutils/sync/python-pymupdf/src/PyMuPDF-1.18.4/docs/pixmap.rst:117: WARNING: duplicate object description of Pixmap.__init__, other instance in pixmap, use :noindex: for one of them | |
$HOME/.cache/aurutils/sync/python-pymupdf/src/PyMuPDF-1.18.4/docs/pixmap.rst:123: WARNING: duplicate object description of Pixmap.__init__, other instance in pixmap, use :noindex: for one of them | |
$HOME/.cache/aurutils/sync/python-pymupdf/src/PyMuPDF-1.18.4/docs/pixmap.rst:132: WARNING: duplicate object description of Pixmap.__init__, other instance in pixmap, use :noindex: for one of them | |
$HOME/.cache/aurutils/sync/python-pymupdf/src/PyMuPDF-1.18.4/docs/pixmap.rst:155: WARNING: duplicate object description of Pixmap.__init__, other instance in pixmap, use :noindex: for one of them | |
$HOME/.cache/aurutils/sync/python-pymupdf/src/PyMuPDF-1.18.4/docs/point.rst:27: WARNING: duplicate object description of Point.__init__, other instance in point, use :noindex: for one of them | |
$HOME/.cache/aurutils/sync/python-pymupdf/src/PyMuPDF-1.18.4/docs/point.rst:29: WARNING: duplicate object description of Point.__init__, other instance in point, use :noindex: for one of them | |
$HOME/.cache/aurutils/sync/python-pymupdf/src/PyMuPDF-1.18.4/docs/point.rst:31: WARNING: duplicate object description of Point.__init__, other instance in point, use :noindex: for one of them | |
$HOME/.cache/aurutils/sync/python-pymupdf/src/PyMuPDF-1.18.4/docs/quad.rst:41: WARNING: duplicate object description of Quad.__init__, other instance in quad, use :noindex: for one of them | |
$HOME/.cache/aurutils/sync/python-pymupdf/src/PyMuPDF-1.18.4/docs/quad.rst:43: WARNING: duplicate object description of Quad.__init__, other instance in quad, use :noindex: for one of them | |
$HOME/.cache/aurutils/sync/python-pymupdf/src/PyMuPDF-1.18.4/docs/quad.rst:45: WARNING: duplicate object description of Quad.__init__, other instance in quad, use :noindex: for one of them | |
$HOME/.cache/aurutils/sync/python-pymupdf/src/PyMuPDF-1.18.4/docs/rect.rst:60: WARNING: duplicate object description of Rect.__init__, other instance in rect, use :noindex: for one of them | |
$HOME/.cache/aurutils/sync/python-pymupdf/src/PyMuPDF-1.18.4/docs/rect.rst:62: WARNING: duplicate object description of Rect.__init__, other instance in rect, use :noindex: for one of them | |
$HOME/.cache/aurutils/sync/python-pymupdf/src/PyMuPDF-1.18.4/docs/rect.rst:64: WARNING: duplicate object description of Rect.__init__, other instance in rect, use :noindex: for one of them | |
$HOME/.cache/aurutils/sync/python-pymupdf/src/PyMuPDF-1.18.4/docs/rect.rst:66: WARNING: duplicate object description of Rect.__init__, other instance in rect, use :noindex: for one of them | |
$HOME/.cache/aurutils/sync/python-pymupdf/src/PyMuPDF-1.18.4/docs/rect.rst:68: WARNING: duplicate object description of Rect.__init__, other instance in rect, use :noindex: for one of them | |
$HOME/.cache/aurutils/sync/python-pymupdf/src/PyMuPDF-1.18.4/docs/rect.rst:70: WARNING: duplicate object description of Rect.__init__, other instance in rect, use :noindex: for one of them | |
$HOME/.cache/aurutils/sync/python-pymupdf/src/PyMuPDF-1.18.4/docs/textwriter.rst:117: WARNING: Field list ends without a blank line; unexpected unindent. | |
$HOME/.cache/aurutils/sync/python-pymupdf/src/PyMuPDF-1.18.4/docs/textwriter.rst:122: WARNING: Field list ends without a blank line; unexpected unindent. | |
$HOME/.cache/aurutils/sync/python-pymupdf/src/PyMuPDF-1.18.4/docs/tutorial.rst:5: WARNING: Duplicate explicit target name: "import (pdf only)". | |
$HOME/.cache/aurutils/sync/python-pymupdf/src/PyMuPDF-1.18.4/docs/tutorial.rst:5: WARNING: Duplicate explicit target name: "export". | |
$HOME/.cache/aurutils/sync/python-pymupdf/src/PyMuPDF-1.18.4/docs/tutorial.rst:5: WARNING: Duplicate explicit target name: "wiki". | |
looking for now-outdated files... none found | |
pickling environment... done | |
checking consistency... done | |
preparing documents... done | |
writing output... [100%] widget | |
$HOME/.cache/aurutils/sync/python-pymupdf/src/PyMuPDF-1.18.4/docs/page.rst:472: WARNING: undefined label: showpdfpage (if the link has no caption the label must precede a section header) | |
generating indices... genindexdone | |
writing additional pages... searchdone | |
copying images... [100%] images/img-textpage-char.png | |
copying static files... ... done | |
copying extra files... done | |
dumping search index in English (code: en)... done | |
dumping object inventory... done | |
build succeeded, 62 warnings. | |
The HTML pages are in docs_built. | |
==> Starting check()... | |
Traceback (most recent call last): | |
File "<string>", line 1, in <module> | |
File "$HOME/.cache/aurutils/sync/python-pymupdf/src/PyMuPDF-1.18.4/build/lib.linux-x86_64-3.8/fitz/__init__.py", line 3, in <module> | |
from fitz.fitz import * | |
File "$HOME/.cache/aurutils/sync/python-pymupdf/src/PyMuPDF-1.18.4/build/lib.linux-x86_64-3.8/fitz/fitz.py", line 18, in <module> | |
from . import _fitz | |
ImportError: $HOME/.cache/aurutils/sync/python-pymupdf/src/PyMuPDF-1.18.4/build/lib.linux-x86_64-3.8/fitz/_fitz.cpython-38-x86_64-linux-gnu.so: undefined symbol: jbig2_page_out | |
==> ERROR: A failure occurred in check(). | |
Aborting... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment