Mock Version: 2.11 Mock Version: 2.11 Mock Version: 2.11 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target s390x --nodeps /builddir/build/SPECS/python-PyMuPDF.spec'], chrootPath='/var/lib/mock/f35-build-29057526-3956073/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=201600uid=1000gid=425user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target s390x --nodeps /builddir/build/SPECS/python-PyMuPDF.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: s390x Building for target s390x setting SOURCE_DATE_EPOCH=1628467200 Wrote: /builddir/build/SRPMS/python-PyMuPDF-1.18.16-1.fc35.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target s390x --nodeps /builddir/build/SPECS/python-PyMuPDF.spec'], chrootPath='/var/lib/mock/f35-build-29057526-3956073/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=201600uid=1000gid=425user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target s390x --nodeps /builddir/build/SPECS/python-PyMuPDF.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: s390x Building for target s390x setting SOURCE_DATE_EPOCH=1628467200 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.LMP16r + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf PyMuPDF-1.18.16 + /usr/bin/gzip -dc /builddir/build/SOURCES/PyMuPDF-1.18.16.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd PyMuPDF-1.18.16 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.63o5J3 + umask 022 + cd /builddir/build/BUILD + cd PyMuPDF-1.18.16 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=zEC12 -mtune=z13 -fasynchronous-unwind-tables -fstack-clash-protection' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 ' + /usr/bin/python3 setup.py build '--executable=/usr/bin/python3 -s' /builddir/build/BUILD/PyMuPDF-1.18.16/setup.py:1: DeprecationWarning: The distutils package is deprecated and slated for removal in Python 3.12. Use setuptools or check PEP 632 for potential alternatives from distutils.core import setup, Extension 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-s390x-3.10 creating build/temp.linux-s390x-3.10/fitz gcc -Wno-unused-result -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -m64 -march=zEC12 -mtune=z13 -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -m64 -march=zEC12 -mtune=z13 -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -m64 -march=zEC12 -mtune=z13 -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=zEC12 -mtune=z13 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -I/usr/include/mupdf -I/usr/local/include/mupdf -Imupdf/thirdparty/freetype/include -I/usr/include/freetype2 -I/usr/include/python3.10 -c fitz/fitz_wrap.c -o build/temp.linux-s390x-3.10/fitz/fitz_wrap.o fitz/fitz_wrap.c: In function ‘JM_get_page_labels’: fitz/fitz_wrap.c:3624:37: warning: passing argument 3 of ‘fz_buffer_storage’ from incompatible pointer type [-Wincompatible-pointer-types] 3624 | fz_buffer_storage(ctx, res, &c); | ^~ | | | char ** In file included from /usr/include/mupdf/fitz/output.h:6, from /usr/include/mupdf/fitz.h:12, from fitz/fitz_wrap.c:2754: /usr/include/mupdf/fitz/buffer.h:50:75: note: expected ‘unsigned char **’ but argument is of type ‘char **’ 50 | size_t fz_buffer_storage(fz_context *ctx, fz_buffer *buf, unsigned char **datap); | ~~~~~~~~~~~~~~~~^~~~~ fitz/fitz_wrap.c: In function ‘JM_get_fontbuffer’: fitz/fitz_wrap.c:4209:11: warning: variable ‘ext’ set but not used [-Wunused-but-set-variable] 4209 | char *ext = NULL; | ^~~ fitz/fitz_wrap.c: In function ‘JM_invert_pixmap_rect’: fitz/fitz_wrap.c:4770:19: warning: operation on ‘s’ may be undefined [-Wsequence-point] 4770 | *s++ = 255 - *s; | ~^~ fitz/fitz_wrap.c:4771:30: warning: value computed is not used [-Wunused-value] 4771 | if (dest->alpha) *s++; | ^~~~ fitz/fitz_wrap.c: In function ‘JM_image_profile’: fitz/fitz_wrap.c:4810:11: warning: pointer targets in assignment from ‘char *’ to ‘unsigned char *’ differ in signedness [-Wpointer-sign] 4810 | c = PyBytes_AS_STRING(imagedata); | ^ fitz/fitz_wrap.c:4813:11: warning: pointer targets in assignment from ‘char *’ to ‘unsigned char *’ differ in signedness [-Wpointer-sign] 4813 | c = PyByteArray_AS_STRING(imagedata); | ^ fitz/fitz_wrap.c: In function ‘JM_delete_annot’: fitz/fitz_wrap.c:5283:18: warning: unused variable ‘popup’ [-Wunused-variable] 5283 | pdf_obj *popup = pdf_dict_get(ctx, annot->obj, PDF_NAME(Popup)); | ^~~~~ fitz/fitz_wrap.c: In function ‘JM_get_annot_by_xref’: fitz/fitz_wrap.c:5466:12: warning: unused variable ‘len’ [-Wunused-variable] 5466 | size_t len = 0; | ^~~ fitz/fitz_wrap.c: In function ‘JM_append_rune’: fitz/fitz_wrap.c:5561:18: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 5561 | if (ch >= 32 && ch <= 127 || ch == 10) { | ~~~~~~~~~^~~~~~~~~~~~ fitz/fitz_wrap.c: In function ‘JM_new_javascript’: fitz/fitz_wrap.c:6497:47: warning: pointer targets in passing argument 2 of ‘fz_new_buffer_from_copied_data’ differ in signedness [-Wpointer-sign] 6497 | 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:2754: /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:6876:19: warning: unused variable ‘pdf’ [-Wunused-variable] 6876 | pdf_document *pdf = pdf_get_bound_document(ctx, annot->obj); | ^~~ fitz/fitz_wrap.c: In function ‘JM_get_widget_properties’: fitz/fitz_wrap.c:6934:16: warning: unused variable ‘res’ [-Wunused-variable] 6934 | fz_buffer *res = NULL; | ^~~ fitz/fitz_wrap.c:6933:39: warning: unused variable ‘o’ [-Wunused-variable] 6933 | pdf_obj *obj = NULL, *js = NULL, *o = NULL; | ^ fitz/fitz_wrap.c:6933:27: warning: unused variable ‘js’ [-Wunused-variable] 6933 | pdf_obj *obj = NULL, *js = NULL, *o = NULL; | ^~ fitz/fitz_wrap.c: In function ‘JM_set_widget_properties’: fitz/fitz_wrap.c:7068:9: warning: variable ‘result’ set but not used [-Wunused-but-set-variable] 7068 | int result = 0; | ^~~~~~ fitz/fitz_wrap.c: In function ‘JM_embed_file’: fitz/fitz_wrap.c:7343:64: warning: pointer targets in passing argument 2 of ‘fz_new_buffer_from_copied_data’ differ in signedness [-Wpointer-sign] 7343 | 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:2754: /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:8172:40: warning: unused variable ‘indobj’ [-Wunused-variable] 8172 | pdf_obj *arr = NULL, *obj = NULL, *indobj = NULL; | ^~~~~~ fitz/fitz_wrap.c: At top level: fitz/fitz_wrap.c:9190:40: warning: ‘struct Document’ declared inside parameter list will not be visible outside of this definition or declaration 9190 | SWIGINTERN void delete_Document(struct Document *self){ | ^~~~~~~~ fitz/fitz_wrap.c: In function ‘Document_load_page’: fitz/fitz_wrap.c:9484:23: warning: unused variable ‘val’ [-Wunused-variable] 9484 | PyObject *val = NULL; | ^~~ fitz/fitz_wrap.c: In function ‘Document__embfile_add’: fitz/fitz_wrap.c:10106:20: warning: variable ‘size’ set but not used [-Wunused-but-set-variable] 10106 | size_t size = 0; | ^~~~ fitz/fitz_wrap.c:10105:17: warning: unused variable ‘entry’ [-Wunused-variable] 10105 | int entry = 0; | ^~~~~ fitz/fitz_wrap.c: In function ‘Document_next_location’: fitz/fitz_wrap.c:10241:17: warning: unused variable ‘page_n’ [-Wunused-variable] 10241 | int page_n = -1; | ^~~~~~ fitz/fitz_wrap.c: In function ‘Document__getPDFfileid’: fitz/fitz_wrap.c:10483:68: warning: pointer targets in passing argument 1 of ‘JM_UnicodeFromStr’ differ in signedness [-Wpointer-sign] 10483 | LIST_APPEND_DROP(idlist, JM_UnicodeFromStr(hex)); | ^~~ | | | unsigned char * fitz/fitz_wrap.c:3656:41: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 3656 | PyObject *JM_UnicodeFromStr(const char *c) | ~~~~~~~~~~~~^ fitz/fitz_wrap.c: At top level: fitz/fitz_wrap.c:10575:194: warning: ‘struct Graftmap’ declared inside parameter list will not be visible outside of this definition or declaration 10575 | SWIGINTERN PyObject *Document_insert_pdf(struct Document *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__get_char_widths’: fitz/fitz_wrap.c:10699:36: warning: unused variable ‘fb_font’ [-Wunused-variable] 10699 | fz_font *font = NULL, *fb_font= NULL; | ^~~~~~~ fitz/fitz_wrap.c:10696:17: warning: unused variable ‘lang’ [-Wunused-variable] 10696 | int lang = 0; | ^~~~ fitz/fitz_wrap.c:10695:17: warning: unused variable ‘cwlen’ [-Wunused-variable] 10695 | int cwlen = 0; | ^~~~~ fitz/fitz_wrap.c: In function ‘Document_extract_font’: fitz/fitz_wrap.c:10845:24: warning: unused variable ‘len’ [-Wunused-variable] 10845 | Py_ssize_t len = 0; | ^~~ fitz/fitz_wrap.c: In function ‘Document_fullcopy_page’: fitz/fitz_wrap.c:11465:69: warning: pointer targets in passing argument 2 of ‘fz_new_buffer_from_copied_data’ differ in signedness [-Wpointer-sign] 11465 | 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:2754: /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:11424:22: warning: unused variable ‘page2’ [-Wunused-variable] 11424 | pdf_obj *page2 = NULL; | ^~~~~ fitz/fitz_wrap.c: In function ‘Document__move_copy_page’: fitz/fitz_wrap.c:11501:26: warning: unused variable ‘page2’ [-Wunused-variable] 11501 | pdf_obj *page2 = pdf_lookup_page_loc(gctx, pdf, nb, &parent2, &i2); | ^~~~~ fitz/fitz_wrap.c: In function ‘Document__get_page_labels’: fitz/fitz_wrap.c:11637:24: warning: unused variable ‘res’ [-Wunused-variable] 11637 | fz_buffer *res = NULL; | ^~~ fitz/fitz_wrap.c: In function ‘Page_get_svg_image’: fitz/fitz_wrap.c:12116:29: warning: unused variable ‘seps’ [-Wunused-variable] 12116 | fz_separations *seps = NULL; | ^~~~ fitz/fitz_wrap.c: At top level: fitz/fitz_wrap.c:12659:104: warning: ‘struct Colorspace’ declared inside parameter list will not be visible outside of this definition or declaration 12659 | 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:12890:151: warning: ‘struct Graftmap’ declared inside parameter list will not be visible outside of this definition or declaration 12890 | SWIGINTERN PyObject *Page__show_pdf_page(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__insert_image’: fitz/fitz_wrap.c:12999:52: warning: pointer targets in passing argument 1 of ‘PyBytes_FromStringAndSize’ differ in signedness [-Wpointer-sign] 12999 | md5_py = PyBytes_FromStringAndSize(digest, 16); | ^~~~~~ | | | unsigned char * In file included from /usr/include/python3.10/Python.h:95, from fitz/fitz_wrap.c:154: /usr/include/python3.10/bytesobject.h:34:50: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 34 | PyAPI_FUNC(PyObject *) PyBytes_FromStringAndSize(const char *, Py_ssize_t); | ^~~~~~~~~~~~ fitz/fitz_wrap.c:13028:52: warning: pointer targets in passing argument 1 of ‘PyBytes_FromStringAndSize’ differ in signedness [-Wpointer-sign] 13028 | md5_py = PyBytes_FromStringAndSize(digest, 16); | ^~~~~~ | | | unsigned char * In file included from /usr/include/python3.10/Python.h:95, from fitz/fitz_wrap.c:154: /usr/include/python3.10/bytesobject.h:34:50: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 34 | PyAPI_FUNC(PyObject *) PyBytes_FromStringAndSize(const char *, Py_ssize_t); | ^~~~~~~~~~~~ fitz/fitz_wrap.c: In function ‘Page_get_contents’: fitz/fitz_wrap.c:13202:35: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 13202 | for (i = 0; i < n; i++) { | ^ fitz/fitz_wrap.c: At top level: fitz/fitz_wrap.c:13228:53: warning: ‘struct Colorspace’ declared inside parameter list will not be visible outside of this definition or declaration 13228 | SWIGINTERN struct Pixmap *new_Pixmap__SWIG_0(struct Colorspace *cs,PyObject *bbox,int alpha){ | ^~~~~~~~~~ fitz/fitz_wrap.c:13238:53: warning: ‘struct Colorspace’ declared inside parameter list will not be visible outside of this definition or declaration 13238 | SWIGINTERN struct Pixmap *new_Pixmap__SWIG_1(struct Colorspace *cs,struct Pixmap *spix){ | ^~~~~~~~~~ fitz/fitz_wrap.c:13307:53: warning: ‘struct Colorspace’ declared inside parameter list will not be visible outside of this definition or declaration 13307 | 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:13319:32: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 13319 | if (stride * h != size) THROWMSG(gctx, "bad samples length"); | ^~ fitz/fitz_wrap.c: In function ‘Pixmap_set_alpha’: fitz/fitz_wrap.c:13460:83: warning: comparison of integer expressions of different signedness: ‘Py_ssize_t’ {aka ‘long int’} and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 13460 | if (opaque && PySequence_Check(opaque) && PySequence_Size(opaque) == n) { | ^~ fitz/fitz_wrap.c: In function ‘Pixmap_digest’: fitz/fitz_wrap.c:13692:46: warning: pointer targets in passing argument 1 of ‘PyBytes_FromStringAndSize’ differ in signedness [-Wpointer-sign] 13692 | return PyBytes_FromStringAndSize(digest, 16); | ^~~~~~ | | | unsigned char * In file included from /usr/include/python3.10/Python.h:95, from fitz/fitz_wrap.c:154: /usr/include/python3.10/bytesobject.h:34:50: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 34 | PyAPI_FUNC(PyObject *) PyBytes_FromStringAndSize(const char *, Py_ssize_t); | ^~~~~~~~~~~~ fitz/fitz_wrap.c: In function ‘Annot__update_appearance’: fitz/fitz_wrap.c:14342:21: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 14342 | && type != PDF_ANNOT_POLYGON | ^ fitz/fitz_wrap.c: In function ‘Annot_update_file’: fitz/fitz_wrap.c:14605:21: warning: unused variable ‘size’ [-Wunused-variable] 14605 | int64_t size = 0; | ^~~~ fitz/fitz_wrap.c:14602:19: warning: unused variable ‘data’ [-Wunused-variable] 14602 | char *data = NULL; // for new file content | ^~~~ fitz/fitz_wrap.c: In function ‘TextPage_extractIMGINFO’: fitz/fitz_wrap.c:15039:63: warning: pointer targets in passing argument 1 of ‘PyBytes_FromStringAndSize’ differ in signedness [-Wpointer-sign] 15039 | PyBytes_FromStringAndSize(digest, 16)); | ^~~~~~ | | | unsigned char * In file included from /usr/include/python3.10/Python.h:95, from fitz/fitz_wrap.c:154: /usr/include/python3.10/bytesobject.h:34:50: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 34 | PyAPI_FUNC(PyObject *) PyBytes_FromStringAndSize(const char *, Py_ssize_t); | ^~~~~~~~~~~~ fitz/fitz_wrap.c: In function ‘TextPage_extractBLOCKS’: fitz/fitz_wrap.c:15074:31: warning: unused variable ‘last_y0’ [-Wunused-variable] 15074 | float last_y0 = 0.0; | ^~~~~~~ fitz/fitz_wrap.c: At top level: fitz/fitz_wrap.c:15246:40: warning: ‘struct Graftmap’ declared inside parameter list will not be visible outside of this definition or declaration 15246 | SWIGINTERN void delete_Graftmap(struct Graftmap *self){ | ^~~~~~~~ fitz/fitz_wrap.c:15263:42: warning: ‘struct TextWriter’ declared inside parameter list will not be visible outside of this definition or declaration 15263 | SWIGINTERN void delete_TextWriter(struct TextWriter *self){ | ^~~~~~~~~~ fitz/fitz_wrap.c:15278:96: warning: ‘struct Font’ declared inside parameter list will not be visible outside of this definition or declaration 15278 | SWIGINTERN PyObject *TextWriter_append(struct TextWriter *self,PyObject *pos,char *text,struct Font *font,float fontsize,char *language,int right_to_left,int small_caps){ | ^~~~ fitz/fitz_wrap.c:15349:36: warning: ‘struct Font’ declared inside parameter list will not be visible outside of this definition or declaration 15349 | SWIGINTERN void delete_Font(struct Font *self){ | ^~~~ fitz/fitz_wrap.c: In function ‘Font_buffer’: fitz/fitz_wrap.c:15506:39: warning: pointer targets in passing argument 1 of ‘PyBytes_FromStringAndSize’ differ in signedness [-Wpointer-sign] 15506 | return JM_BinFromCharSize(data, len); | ^~~~ | | | unsigned char * fitz/fitz_wrap.c:2752:60: note: in definition of macro ‘JM_BinFromCharSize’ 2752 | #define JM_BinFromCharSize(x, y) PyBytes_FromStringAndSize(x, (Py_ssize_t) y) | ^ In file included from /usr/include/python3.10/Python.h:95, from fitz/fitz_wrap.c:154: /usr/include/python3.10/bytesobject.h:34:50: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 34 | PyAPI_FUNC(PyObject *) PyBytes_FromStringAndSize(const char *, Py_ssize_t); | ^~~~~~~~~~~~ fitz/fitz_wrap.c: In function ‘_wrap_delete_Document’: fitz/fitz_wrap.c:15884:19: warning: passing argument 1 of ‘delete_Document’ from incompatible pointer type [-Wincompatible-pointer-types] 15884 | delete_Document(arg1); | ^~~~ | | | struct Document * fitz/fitz_wrap.c:9190:50: note: expected ‘struct Document *’ but argument is of type ‘struct Document *’ 9190 | SWIGINTERN void delete_Document(struct Document *self){ | ~~~~~~~~~~~~~~~~~^~~~ fitz/fitz_wrap.c: In function ‘_wrap_Document_insert_pdf’: fitz/fitz_wrap.c:17798:97: warning: passing argument 11 of ‘Document_insert_pdf’ from incompatible pointer type [-Wincompatible-pointer-types] 17798 | result = (PyObject *)Document_insert_pdf(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10,arg11); | ^~~~~ | | | struct Graftmap * fitz/fitz_wrap.c:10575:204: note: expected ‘struct Graftmap *’ but argument is of type ‘struct Graftmap *’ 10575 | SWIGINTERN PyObject *Document_insert_pdf(struct Document *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 ‘_wrap_Page__makePixmap’: fitz/fitz_wrap.c:20880:63: warning: passing argument 4 of ‘Page__makePixmap’ from incompatible pointer type [-Wincompatible-pointer-types] 20880 | result = (struct Pixmap *)Page__makePixmap(arg1,arg2,arg3,arg4,arg5,arg6,arg7); | ^~~~ | | | struct Colorspace * fitz/fitz_wrap.c:12659:116: note: expected ‘struct Colorspace *’ but argument is of type ‘struct Colorspace *’ 12659 | 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__show_pdf_page’: fitz/fitz_wrap.c:21324:81: warning: passing argument 8 of ‘Page__show_pdf_page’ from incompatible pointer type [-Wincompatible-pointer-types] 21324 | result = (PyObject *)Page__show_pdf_page(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9); | ^~~~ | | | struct Graftmap * fitz/fitz_wrap.c:12890:161: note: expected ‘struct Graftmap *’ but argument is of type ‘struct Graftmap *’ 12890 | SWIGINTERN PyObject *Page__show_pdf_page(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:21741:50: warning: passing argument 1 of ‘new_Pixmap__SWIG_0’ from incompatible pointer type [-Wincompatible-pointer-types] 21741 | result = (struct Pixmap *)new_Pixmap__SWIG_0(arg1,arg2,arg3); | ^~~~ | | | struct Colorspace * fitz/fitz_wrap.c:13228:65: note: expected ‘struct Colorspace *’ but argument is of type ‘struct Colorspace *’ 13228 | 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:21775:50: warning: passing argument 1 of ‘new_Pixmap__SWIG_1’ from incompatible pointer type [-Wincompatible-pointer-types] 21775 | result = (struct Pixmap *)new_Pixmap__SWIG_1(arg1,arg2); | ^~~~ | | | struct Colorspace * fitz/fitz_wrap.c:13238:65: note: expected ‘struct Colorspace *’ but argument is of type ‘struct Colorspace *’ 13238 | 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:21911:50: warning: passing argument 1 of ‘new_Pixmap__SWIG_4’ from incompatible pointer type [-Wincompatible-pointer-types] 21911 | result = (struct Pixmap *)new_Pixmap__SWIG_4(arg1,arg2,arg3,arg4,arg5); | ^~~~ | | | struct Colorspace * fitz/fitz_wrap.c:13307:65: note: expected ‘struct Colorspace *’ but argument is of type ‘struct Colorspace *’ 13307 | 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:25992:19: warning: passing argument 1 of ‘delete_Graftmap’ from incompatible pointer type [-Wincompatible-pointer-types] 25992 | delete_Graftmap(arg1); | ^~~~ | | | struct Graftmap * fitz/fitz_wrap.c:15246:50: note: expected ‘struct Graftmap *’ but argument is of type ‘struct Graftmap *’ 15246 | SWIGINTERN void delete_Graftmap(struct Graftmap *self){ | ~~~~~~~~~~~~~~~~~^~~~ fitz/fitz_wrap.c: In function ‘_wrap_delete_TextWriter’: fitz/fitz_wrap.c:26053:21: warning: passing argument 1 of ‘delete_TextWriter’ from incompatible pointer type [-Wincompatible-pointer-types] 26053 | delete_TextWriter(arg1); | ^~~~ | | | struct TextWriter * fitz/fitz_wrap.c:15263:54: note: expected ‘struct TextWriter *’ but argument is of type ‘struct TextWriter *’ 15263 | SWIGINTERN void delete_TextWriter(struct TextWriter *self){ | ~~~~~~~~~~~~~~~~~~~^~~~ fitz/fitz_wrap.c: In function ‘_wrap_TextWriter_append’: fitz/fitz_wrap.c:26173:59: warning: passing argument 4 of ‘TextWriter_append’ from incompatible pointer type [-Wincompatible-pointer-types] 26173 | result = (PyObject *)TextWriter_append(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8); | ^~~~ | | | struct Font * fitz/fitz_wrap.c:15278:102: note: expected ‘struct Font *’ but argument is of type ‘struct Font *’ 15278 | SWIGINTERN PyObject *TextWriter_append(struct TextWriter *self,PyObject *pos,char *text,struct Font *font,float fontsize,char *language,int right_to_left,int small_caps){ | ~~~~~~~~~~~~~^~~~ fitz/fitz_wrap.c: In function ‘_wrap_delete_Font’: fitz/fitz_wrap.c:26324:15: warning: passing argument 1 of ‘delete_Font’ from incompatible pointer type [-Wincompatible-pointer-types] 26324 | delete_Font(arg1); | ^~~~ | | | struct Font * fitz/fitz_wrap.c:15349:42: note: expected ‘struct Font *’ but argument is of type ‘struct Font *’ 15349 | SWIGINTERN void delete_Font(struct Font *self){ | ~~~~~~~~~~~~~^~~~ At top level: fitz/fitz_wrap.c:8906:1: warning: ‘jm_tracedraw_clip_path’ defined but not used [-Wunused-function] 8906 | 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:3408:12: warning: ‘span_origin.y’ may be used uninitialized in this function [-Wmaybe-uninitialized] 3408 | return Py_BuildValue("ff", p.x, p.y); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fitz/fitz_wrap.c:5979:14: note: ‘span_origin.y’ was declared here 5979 | fz_point span_origin; | ^~~~~~~~~~~ fitz/fitz_wrap.c:3408:12: warning: ‘span_origin.x’ may be used uninitialized in this function [-Wmaybe-uninitialized] 3408 | return Py_BuildValue("ff", p.x, p.y); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fitz/fitz_wrap.c:5979:14: note: ‘span_origin.x’ was declared here 5979 | fz_point span_origin; | ^~~~~~~~~~~ creating build/lib.linux-s390x-3.10 creating build/lib.linux-s390x-3.10/fitz gcc -shared -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -g -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -g -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=zEC12 -mtune=z13 -fasynchronous-unwind-tables -fstack-clash-protection build/temp.linux-s390x-3.10/fitz/fitz_wrap.o -L/usr/lib64 -lmupdf -lmupdf-third -ljbig2dec -lopenjp2 -ljpeg -lfreetype -lgumbo -lharfbuzz -o build/lib.linux-s390x-3.10/fitz/_fitz.cpython-310-s390x-linux-gnu.so copying fitz/__init__.py -> build/lib.linux-s390x-3.10/fitz copying fitz/fitz.py -> build/lib.linux-s390x-3.10/fitz copying fitz/utils.py -> build/lib.linux-s390x-3.10/fitz copying fitz/__main__.py -> build/lib.linux-s390x-3.10/fitz + sphinx-build docs docs_built Running Sphinx v4.1.2 making output directory... done building [mo]: targets for 0 po files that are out of date building [html]: targets for 44 source files that are out of date updating environment: [new config] 44 added, 0 changed, 0 removed reading sources... [ 2%] algebra reading sources... [ 4%] annot reading sources... [ 6%] app1 reading sources... [ 9%] app2 reading sources... [ 11%] app3 reading sources... [ 13%] app4 reading sources... [ 15%] changes reading sources... [ 18%] classes reading sources... [ 20%] colors reading sources... [ 22%] colorspace reading sources... [ 25%] coop_low reading sources... [ 27%] deprecated reading sources... [ 29%] device reading sources... [ 31%] displaylist reading sources... [ 34%] document reading sources... [ 36%] faq reading sources... [ 38%] font reading sources... [ 40%] functions reading sources... [ 43%] glossary reading sources... [ 45%] identity reading sources... [ 47%] index reading sources... [ 50%] installation reading sources... [ 52%] intro reading sources... [ 54%] irect reading sources... [ 56%] link reading sources... [ 59%] linkdest reading sources... [ 61%] lowlevel reading sources... [ 63%] matrix reading sources... [ 65%] module reading sources... [ 68%] outline reading sources... [ 70%] page reading sources... [ 72%] pixmap reading sources... [ 75%] point reading sources... [ 77%] quad reading sources... [ 79%] rect reading sources... [ 81%] shape reading sources... [ 84%] textpage reading sources... [ 86%] textwriter reading sources... [ 88%] tools reading sources... [ 90%] tutorial reading sources... [ 93%] vars reading sources... [ 95%] version reading sources... [ 97%] widget reading sources... [100%] znames /builddir/build/BUILD/PyMuPDF-1.18.16/docs/annot.rst:231: WARNING: Unknown target name: "stamp". /builddir/build/BUILD/PyMuPDF-1.18.16/docs/app1.rst:51: WARNING: Unexpected indentation. /builddir/build/BUILD/PyMuPDF-1.18.16/docs/app1.rst:56: WARNING: Unexpected indentation. /builddir/build/BUILD/PyMuPDF-1.18.16/docs/app1.rst:63: WARNING: Unexpected indentation. /builddir/build/BUILD/PyMuPDF-1.18.16/docs/app1.rst:70: WARNING: Unexpected indentation. /builddir/build/BUILD/PyMuPDF-1.18.16/docs/app1.rst:134: WARNING: Unexpected indentation. /builddir/build/BUILD/PyMuPDF-1.18.16/docs/app1.rst:138: WARNING: Unexpected indentation. /builddir/build/BUILD/PyMuPDF-1.18.16/docs/app1.rst:152: WARNING: Unexpected indentation. /builddir/build/BUILD/PyMuPDF-1.18.16/docs/app4.rst:5: WARNING: Duplicate explicit target name: "here". /builddir/build/BUILD/PyMuPDF-1.18.16/docs/device.rst:23: WARNING: duplicate object description of Device.__init__, other instance in device, use :noindex: for one of them /builddir/build/BUILD/PyMuPDF-1.18.16/docs/document.rst:594: WARNING: Inline strong start-string without end-string. /builddir/build/BUILD/PyMuPDF-1.18.16/docs/faq.rst:5: WARNING: Duplicate explicit target name: "here". /builddir/build/BUILD/PyMuPDF-1.18.16/docs/faq.rst:5: WARNING: Duplicate explicit target name: "here". /builddir/build/BUILD/PyMuPDF-1.18.16/docs/faq.rst:5: WARNING: Duplicate explicit target name: "article". /builddir/build/BUILD/PyMuPDF-1.18.16/docs/faq.rst:5: WARNING: Duplicate explicit target name: "here". /builddir/build/BUILD/PyMuPDF-1.18.16/docs/faq.rst:16: WARNING: Document or section may not begin with a transition. /builddir/build/BUILD/PyMuPDF-1.18.16/docs/faq.rst:641: WARNING: Document or section may not begin with a transition. /builddir/build/BUILD/PyMuPDF-1.18.16/docs/faq.rst:1394: WARNING: Unknown target name: "wikipedia article". /builddir/build/BUILD/PyMuPDF-1.18.16/docs/font.rst:5: WARNING: Duplicate explicit target name: "here". /builddir/build/BUILD/PyMuPDF-1.18.16/docs/functions.rst:672: WARNING: duplicate object description of recover_quad, other instance in functions, use :noindex: for one of them /builddir/build/BUILD/PyMuPDF-1.18.16/docs/irect.rst:41: WARNING: duplicate object description of IRect.__init__, other instance in irect, use :noindex: for one of them /builddir/build/BUILD/PyMuPDF-1.18.16/docs/irect.rst:43: WARNING: duplicate object description of IRect.__init__, other instance in irect, use :noindex: for one of them /builddir/build/BUILD/PyMuPDF-1.18.16/docs/irect.rst:45: WARNING: duplicate object description of IRect.__init__, other instance in irect, use :noindex: for one of them /builddir/build/BUILD/PyMuPDF-1.18.16/docs/matrix.rst:46: WARNING: duplicate object description of Matrix.__init__, other instance in matrix, use :noindex: for one of them /builddir/build/BUILD/PyMuPDF-1.18.16/docs/matrix.rst:48: WARNING: duplicate object description of Matrix.__init__, other instance in matrix, use :noindex: for one of them looking for now-outdated files... none found pickling environment... /builddir/build/BUILD/PyMuPDF-1.18.16/docs/matrix.rst:50: WARNING: duplicate object description of Matrix.__init__, other instance in matrix, use :noindex: for one of them /builddir/build/BUILD/PyMuPDF-1.18.16/docs/matrix.rst:52: WARNING: duplicate object description of Matrix.__init__, other instance in matrix, use :noindex: for one of them /builddir/build/BUILD/PyMuPDF-1.18.16/docs/matrix.rst:54: WARNING: duplicate object description of Matrix.__init__, other instance in matrix, use :noindex: for one of them /builddir/build/BUILD/PyMuPDF-1.18.16/docs/matrix.rst:56: WARNING: duplicate object description of Matrix.__init__, other instance in matrix, use :noindex: for one of them /builddir/build/BUILD/PyMuPDF-1.18.16/docs/pixmap.rst:74: WARNING: duplicate object description of Pixmap.__init__, other instance in pixmap, use :noindex: for one of them /builddir/build/BUILD/PyMuPDF-1.18.16/docs/pixmap.rst:84: WARNING: duplicate object description of Pixmap.__init__, other instance in pixmap, use :noindex: for one of them /builddir/build/BUILD/PyMuPDF-1.18.16/docs/pixmap.rst:99: WARNING: duplicate object description of Pixmap.__init__, other instance in pixmap, use :noindex: for one of them /builddir/build/BUILD/PyMuPDF-1.18.16/docs/pixmap.rst:116: WARNING: duplicate object description of Pixmap.__init__, other instance in pixmap, use :noindex: for one of them /builddir/build/BUILD/PyMuPDF-1.18.16/docs/pixmap.rst:122: WARNING: duplicate object description of Pixmap.__init__, other instance in pixmap, use :noindex: for one of them /builddir/build/BUILD/PyMuPDF-1.18.16/docs/pixmap.rst:131: WARNING: duplicate object description of Pixmap.__init__, other instance in pixmap, use :noindex: for one of them /builddir/build/BUILD/PyMuPDF-1.18.16/docs/pixmap.rst:154: WARNING: duplicate object description of Pixmap.__init__, other instance in pixmap, use :noindex: for one of them /builddir/build/BUILD/PyMuPDF-1.18.16/docs/point.rst:27: WARNING: duplicate object description of Point.__init__, other instance in point, use :noindex: for one of them /builddir/build/BUILD/PyMuPDF-1.18.16/docs/point.rst:29: WARNING: duplicate object description of Point.__init__, other instance in point, use :noindex: for one of them /builddir/build/BUILD/PyMuPDF-1.18.16/docs/point.rst:31: WARNING: duplicate object description of Point.__init__, other instance in point, use :noindex: for one of them /builddir/build/BUILD/PyMuPDF-1.18.16/docs/quad.rst:43: WARNING: duplicate object description of Quad.__init__, other instance in quad, use :noindex: for one of them /builddir/build/BUILD/PyMuPDF-1.18.16/docs/quad.rst:45: WARNING: duplicate object description of Quad.__init__, other instance in quad, use :noindex: for one of them /builddir/build/BUILD/PyMuPDF-1.18.16/docs/quad.rst:47: WARNING: duplicate object description of Quad.__init__, other instance in quad, use :noindex: for one of them /builddir/build/BUILD/PyMuPDF-1.18.16/docs/rect.rst:63: WARNING: duplicate object description of Rect.__init__, other instance in rect, use :noindex: for one of them /builddir/build/BUILD/PyMuPDF-1.18.16/docs/rect.rst:65: WARNING: duplicate object description of Rect.__init__, other instance in rect, use :noindex: for one of them /builddir/build/BUILD/PyMuPDF-1.18.16/docs/rect.rst:67: WARNING: duplicate object description of Rect.__init__, other instance in rect, use :noindex: for one of them /builddir/build/BUILD/PyMuPDF-1.18.16/docs/rect.rst:69: WARNING: duplicate object description of Rect.__init__, other instance in rect, use :noindex: for one of them /builddir/build/BUILD/PyMuPDF-1.18.16/docs/rect.rst:71: WARNING: duplicate object description of Rect.__init__, other instance in rect, use :noindex: for one of them /builddir/build/BUILD/PyMuPDF-1.18.16/docs/rect.rst:73: WARNING: duplicate object description of Rect.__init__, other instance in rect, use :noindex: for one of them /builddir/build/BUILD/PyMuPDF-1.18.16/docs/tutorial.rst:5: WARNING: Duplicate explicit target name: "import (pdf only)". /builddir/build/BUILD/PyMuPDF-1.18.16/docs/tutorial.rst:5: WARNING: Duplicate explicit target name: "export". /builddir/build/BUILD/PyMuPDF-1.18.16/docs/tutorial.rst:5: WARNING: Duplicate explicit target name: "wiki". done checking consistency... done preparing documents... done writing output... [ 2%] algebra writing output... [ 4%] annot writing output... [ 6%] app1 writing output... [ 9%] app2 writing output... [ 11%] app3 writing output... [ 13%] app4 writing output... [ 15%] changes writing output... [ 18%] classes writing output... [ 20%] colors writing output... [ 22%] colorspace writing output... [ 25%] coop_low writing output... [ 27%] deprecated writing output... [ 29%] device writing output... [ 31%] displaylist writing output... [ 34%] document writing output... [ 36%] faq writing output... [ 38%] font writing output... [ 40%] functions writing output... [ 43%] glossary writing output... [ 45%] identity writing output... [ 47%] index writing output... [ 50%] installation writing output... [ 52%] intro writing output... [ 54%] irect writing output... [ 56%] link writing output... [ 59%] linkdest writing output... [ 61%] lowlevel writing output... [ 63%] matrix writing output... [ 65%] module writing output... [ 68%] outline writing output... [ 70%] page writing output... [ 72%] pixmap writing output... [ 75%] point writing output... [ 77%] quad writing output... [ 79%] rect writing output... [ 81%] shape writing output... [ 84%] textpage writing output... [ 86%] textwriter writing output... [ 88%] tools writing output... [ 90%] tutorial writing output... [ 93%] vars writing output... [ 95%] version writing output... [ 97%] widget writing output... [100%] znames generating indices... genindex done writing additional pages... search done copying images... [ 1%] images/img-opacity.jpg copying images... [ 2%] images/mupdf-icons.jpg copying images... [ 3%] images/img-circle.png copying images... [ 5%] images/img-filesizes.png copying images... [ 6%] images/img-copy-speed-1.png copying images... [ 7%] images/img-copy-speed-2.png copying images... [ 9%] images/img-textperformance.png copying images... [ 10%] images/img-render-speed.png copying images... [ 11%] images/img-colordb.png copying images... [ 12%] images/img-clip.jpg copying images... [ 14%] images/img-extract-imga.jpg copying images... [ 15%] images/img-extract-imgb.jpg copying images... [ 16%] images/img-stencil.jpg copying images... [ 18%] images/img-import-progress.jpg copying images... [ 19%] images/img-embed-progress.jpg copying images... [ 20%] images/img-attach-result.jpg copying images... [ 22%] images/img-7edges.png copying images... [ 23%] images/img-target.png copying images... [ 24%] images/img-sierpinski.png copying images... [ 25%] images/img-markedpdf.jpg copying images... [ 27%] images/img-textmarker.jpg copying images... [ 28%] images/img-linequad.jpg copying images... [ 29%] images/img-pdftext.jpg copying images... [ 31%] images/img-inserttext.jpg copying images... [ 32%] images/img-textbox.jpg copying images... [ 33%] images/img-encoding.jpg copying images... [ 35%] images/img-annots.jpg copying images... [ 36%] images/img-freetext.jpg copying images... [ 37%] images/img-inkannot.jpg copying images... [ 38%] images/img-symbols.jpg copying images... [ 40%] images/img-getdrawings.png copying images... [ 41%] images/img-pdfjoiner.jpg copying images... [ 42%] images/img-posterize.png copying images... [ 44%] images/img-4up.png copying images... [ 45%] images/img-encrypting.jpg copying images... [ 46%] images/img-make-table.jpg copying images... [ 48%] images/img-planish.png copying images... [ 49%] images/img-pymupdf.jpg copying images... [ 50%] images/img-matrix.png copying images... [ 51%] images/img-original.png copying images... [ 53%] images/img-e-is-100.png copying images... [ 54%] images/img-f-is-100.png copying images... [ 55%] images/img-a-is--1.png copying images... [ 57%] images/img-d-is--1.png copying images... [ 58%] images/img-b-is-0.5.png copying images... [ 59%] images/img-c-is-0.5.png copying images... [ 61%] images/img-rot-60.png copying images... [ 62%] images/img-layout-text.jpg copying images... [ 63%] images/img-caret-annot.jpg copying images... [ 64%] images/img-redact.jpg copying images... [ 66%] images/img-polyline.png copying images... [ 67%] images/img-markers.jpg copying images... [ 68%] images/img-stampannot.jpg copying images... [ 70%] images/img-alpha-1.png copying images... [ 71%] images/img-alpha-0.png copying images... [ 72%] images/img-showpdfpage.jpg copying images... [ 74%] images/img-point-unit.jpg copying images... [ 75%] images/img-quads.jpg copying images... [ 76%] images/img-breadth.png copying images... [ 77%] images/img-squiggly.png copying images... [ 79%] images/img-drawBezier.png copying images... [ 80%] images/img-drawquad.jpg copying images... [ 81%] images/img-drawcircle.jpg copying images... [ 83%] images/img-drawCurve.png copying images... [ 84%] images/img-drawSector1.png copying images... [ 85%] images/img-drawSector2.png copying images... [ 87%] images/img-rotate.png copying images... [ 88%] images/img-rot+morph.png copying images... [ 89%] images/img-even-odd.png copying images... [ 90%] images/img-cake.png copying images... [ 92%] images/img-rendermode.jpg copying images... [ 93%] images/img-textpage.png copying images... [ 94%] images/img-line-dir.png copying images... [ 96%] images/img-asc-desc.png copying images... [ 97%] images/img-span-rect.png copying images... [ 98%] images/img-textpage-char.png copying images... [100%] images/img-smallcaps.jpg copying static files... done copying extra files... done dumping search index in English (code: en)... done dumping object inventory... done build succeeded, 51 warnings. The HTML pages are in docs_built. + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.nQEm9u + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/python-PyMuPDF-1.18.16-1.fc35.s390x '!=' / ']' + rm -rf /builddir/build/BUILDROOT/python-PyMuPDF-1.18.16-1.fc35.s390x ++ dirname /builddir/build/BUILDROOT/python-PyMuPDF-1.18.16-1.fc35.s390x + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/python-PyMuPDF-1.18.16-1.fc35.s390x + cd PyMuPDF-1.18.16 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=zEC12 -mtune=z13 -fasynchronous-unwind-tables -fstack-clash-protection' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 ' + /usr/bin/python3 setup.py install -O1 --skip-build --root /builddir/build/BUILDROOT/python-PyMuPDF-1.18.16-1.fc35.s390x /builddir/build/BUILD/PyMuPDF-1.18.16/setup.py:1: DeprecationWarning: The distutils package is deprecated and slated for removal in Python 3.12. Use setuptools or check PEP 632 for potential alternatives from distutils.core import setup, Extension running install running install_lib creating /builddir/build/BUILDROOT/python-PyMuPDF-1.18.16-1.fc35.s390x/usr creating /builddir/build/BUILDROOT/python-PyMuPDF-1.18.16-1.fc35.s390x/usr/lib64 creating /builddir/build/BUILDROOT/python-PyMuPDF-1.18.16-1.fc35.s390x/usr/lib64/python3.10 creating /builddir/build/BUILDROOT/python-PyMuPDF-1.18.16-1.fc35.s390x/usr/lib64/python3.10/site-packages creating /builddir/build/BUILDROOT/python-PyMuPDF-1.18.16-1.fc35.s390x/usr/lib64/python3.10/site-packages/fitz copying build/lib.linux-s390x-3.10/fitz/_fitz.cpython-310-s390x-linux-gnu.so -> /builddir/build/BUILDROOT/python-PyMuPDF-1.18.16-1.fc35.s390x/usr/lib64/python3.10/site-packages/fitz copying build/lib.linux-s390x-3.10/fitz/utils.py -> /builddir/build/BUILDROOT/python-PyMuPDF-1.18.16-1.fc35.s390x/usr/lib64/python3.10/site-packages/fitz copying build/lib.linux-s390x-3.10/fitz/fitz.py -> /builddir/build/BUILDROOT/python-PyMuPDF-1.18.16-1.fc35.s390x/usr/lib64/python3.10/site-packages/fitz copying build/lib.linux-s390x-3.10/fitz/__init__.py -> /builddir/build/BUILDROOT/python-PyMuPDF-1.18.16-1.fc35.s390x/usr/lib64/python3.10/site-packages/fitz copying build/lib.linux-s390x-3.10/fitz/__main__.py -> /builddir/build/BUILDROOT/python-PyMuPDF-1.18.16-1.fc35.s390x/usr/lib64/python3.10/site-packages/fitz byte-compiling /builddir/build/BUILDROOT/python-PyMuPDF-1.18.16-1.fc35.s390x/usr/lib64/python3.10/site-packages/fitz/utils.py to utils.cpython-310.pyc byte-compiling /builddir/build/BUILDROOT/python-PyMuPDF-1.18.16-1.fc35.s390x/usr/lib64/python3.10/site-packages/fitz/fitz.py to fitz.cpython-310.pyc byte-compiling /builddir/build/BUILDROOT/python-PyMuPDF-1.18.16-1.fc35.s390x/usr/lib64/python3.10/site-packages/fitz/__init__.py to __init__.cpython-310.pyc byte-compiling /builddir/build/BUILDROOT/python-PyMuPDF-1.18.16-1.fc35.s390x/usr/lib64/python3.10/site-packages/fitz/__main__.py to __main__.cpython-310.pyc writing byte-compilation script '/tmp/tmp3q9v0oes.py' /usr/bin/python3 -Wignore:The distutils package is deprecated and slated for removal in Python 3.12. Use setuptools or check PEP 632 for potential alternatives:DeprecationWarning /tmp/tmp3q9v0oes.py removing /tmp/tmp3q9v0oes.py running install_data warning: install_data: setup script did not provide a directory for 'README.md' -- installing right in '/builddir/build/BUILDROOT/python-PyMuPDF-1.18.16-1.fc35.s390x/usr' copying README.md -> /builddir/build/BUILDROOT/python-PyMuPDF-1.18.16-1.fc35.s390x/usr running install_egg_info Writing /builddir/build/BUILDROOT/python-PyMuPDF-1.18.16-1.fc35.s390x/usr/lib64/python3.10/site-packages/PyMuPDF-1.18.16-py3.10.egg-info + rm -rfv /builddir/build/BUILDROOT/python-PyMuPDF-1.18.16-1.fc35.s390x/usr/bin/__pycache__ + rm -f /builddir/build/BUILDROOT/python-PyMuPDF-1.18.16-1.fc35.s390x/usr/README.md + /usr/bin/find-debuginfo -j3 --strict-build-id -m -i --build-id-seed 1.18.16-1.fc35 --unique-debug-suffix -1.18.16-1.fc35.s390x --unique-debug-src-base python-PyMuPDF-1.18.16-1.fc35.s390x --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/PyMuPDF-1.18.16 extracting debug info from /builddir/build/BUILDROOT/python-PyMuPDF-1.18.16-1.fc35.s390x/usr/lib64/python3.10/site-packages/fitz/_fitz.cpython-310-s390x-linux-gnu.so original debug info size: 3180kB, size after compression: 3120kB /usr/bin/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. 2089 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/redhat/brp-mangle-shebangs + /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 Bytecompiling .py files below /builddir/build/BUILDROOT/python-PyMuPDF-1.18.16-1.fc35.s390x/usr/lib/debug/usr/lib64/python3.10 using python3.10 Bytecompiling .py files below /builddir/build/BUILDROOT/python-PyMuPDF-1.18.16-1.fc35.s390x/usr/lib64/python3.10 using python3.10 + /usr/lib/rpm/redhat/brp-python-hardlink Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.jeOwLc + umask 022 + cd /builddir/build/BUILD + cd PyMuPDF-1.18.16 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=zEC12 -mtune=z13 -fasynchronous-unwind-tables -fstack-clash-protection' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 ' + PATH=/builddir/build/BUILDROOT/python-PyMuPDF-1.18.16-1.fc35.s390x/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin + PYTHONPATH=/builddir/build/BUILDROOT/python-PyMuPDF-1.18.16-1.fc35.s390x/usr/lib64/python3.10/site-packages:/builddir/build/BUILDROOT/python-PyMuPDF-1.18.16-1.fc35.s390x/usr/lib/python3.10/site-packages + PYTHONDONTWRITEBYTECODE=1 + /usr/bin/pytest ============================= test session starts ============================== platform linux -- Python 3.10.0rc1, pytest-6.2.4, py-1.10.0, pluggy-0.13.1 rootdir: /builddir/build/BUILD/PyMuPDF-1.18.16 collected 80 items tests/test_annots.py ............... [ 18%] tests/test_badfonts.py . [ 20%] tests/test_crypting.py . [ 21%] tests/test_drawings.py .. [ 23%] tests/test_embeddedfiles.py . [ 25%] tests/test_font.py .. [ 27%] tests/test_general.py ............ [ 42%] tests/test_geometry.py ....... [ 51%] tests/test_imagebbox.py . [ 52%] tests/test_insertimage.py . [ 53%] tests/test_insertpdf.py . [ 55%] tests/test_linequad.py . [ 56%] tests/test_metadata.py .. [ 58%] tests/test_nonpdf.py ... [ 62%] tests/test_object_manipulation.py ... [ 66%] tests/test_optional_content.py .. [ 68%] tests/test_pagedelete.py . [ 70%] tests/test_pagelabels.py . [ 71%] tests/test_pixmap.py ...... [ 78%] tests/test_showpdfpage.py . [ 80%] tests/test_textbox.py .... [ 85%] tests/test_textextract.py . [ 86%] tests/test_textsearch.py . [ 87%] tests/test_toc.py ..... [ 93%] tests/test_widgets.py ..... [100%] =============================== warnings summary =============================== tests/test_textbox.py::test_textbox3 /usr/lib/python3.10/site-packages/fontTools/misc/py23.py:11: DeprecationWarning: The py23 module has been deprecated and will be removed in a future release. Please update your code. warnings.warn( -- Docs: https://docs.pytest.org/en/stable/warnings.html ======================== 80 passed, 1 warning in 1.60s ========================= + RPM_EC=0 ++ jobs -p + exit 0 Processing files: python3-PyMuPDF-1.18.16-1.fc35.s390x Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.xXdn4V + umask 022 + cd /builddir/build/BUILD + cd PyMuPDF-1.18.16 + LICENSEDIR=/builddir/build/BUILDROOT/python-PyMuPDF-1.18.16-1.fc35.s390x/usr/share/licenses/python3-PyMuPDF + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/python-PyMuPDF-1.18.16-1.fc35.s390x/usr/share/licenses/python3-PyMuPDF + cp -pr COPYING /builddir/build/BUILDROOT/python-PyMuPDF-1.18.16-1.fc35.s390x/usr/share/licenses/python3-PyMuPDF + RPM_EC=0 ++ jobs -p + exit 0 Provides: python-PyMuPDF = 1.18.16-1.fc35 python3-PyMuPDF = 1.18.16-1.fc35 python3-PyMuPDF(s390-64) = 1.18.16-1.fc35 python3.10-PyMuPDF = 1.18.16-1.fc35 python3.10dist(pymupdf) = 1.18.16 python3dist(pymupdf) = 1.18.16 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PartialHardlinkSets) <= 4.0.4-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libc.so.6()(64bit) libc.so.6(GLIBC_2.11)(64bit) libc.so.6(GLIBC_2.2)(64bit) libc.so.6(GLIBC_2.3)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.33)(64bit) libc.so.6(GLIBC_2.4)(64bit) libc.so.6(GLIBC_2.7)(64bit) libfreetype.so.6()(64bit) libgumbo.so.1()(64bit) libharfbuzz.so.0()(64bit) libjbig2dec.so.0()(64bit) libjpeg.so.62()(64bit) libjpeg.so.62(LIBJPEG_6.2)(64bit) libopenjp2.so.7()(64bit) python(abi) = 3.10 rtld(GNU_HASH) Obsoletes: python-PyMuPDF < 1.18.16-1.fc35 Processing files: python-PyMuPDF-doc-1.18.16-1.fc35.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.wjUHZ2 + umask 022 + cd /builddir/build/BUILD + cd PyMuPDF-1.18.16 + DOCDIR=/builddir/build/BUILDROOT/python-PyMuPDF-1.18.16-1.fc35.s390x/usr/share/doc/python-PyMuPDF-doc + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/python-PyMuPDF-1.18.16-1.fc35.s390x/usr/share/doc/python-PyMuPDF-doc + cp -pr demo /builddir/build/BUILDROOT/python-PyMuPDF-1.18.16-1.fc35.s390x/usr/share/doc/python-PyMuPDF-doc + cp -pr docs_built/_images docs_built/_sources docs_built/_static docs_built/algebra.html docs_built/annot.html docs_built/app1.html docs_built/app2.html docs_built/app3.html docs_built/app4.html docs_built/changes.html docs_built/classes.html docs_built/colors.html docs_built/colorspace.html docs_built/coop_low.html docs_built/deprecated.html docs_built/device.html docs_built/displaylist.html docs_built/document.html docs_built/faq.html docs_built/font.html docs_built/functions.html docs_built/genindex-A.html docs_built/genindex-B.html docs_built/genindex-C.html docs_built/genindex-D.html docs_built/genindex-E.html docs_built/genindex-F.html docs_built/genindex-G.html docs_built/genindex-H.html docs_built/genindex-I.html docs_built/genindex-J.html docs_built/genindex-K.html docs_built/genindex-L.html docs_built/genindex-M.html docs_built/genindex-N.html docs_built/genindex-O.html docs_built/genindex-P.html docs_built/genindex-Q.html docs_built/genindex-R.html docs_built/genindex-S.html docs_built/genindex-T.html docs_built/genindex-U.html docs_built/genindex-V.html docs_built/genindex-W.html docs_built/genindex-X.html docs_built/genindex-Y.html docs_built/genindex-Z.html docs_built/genindex-_.html docs_built/genindex-all.html docs_built/genindex.html docs_built/glossary.html docs_built/identity.html docs_built/index.html docs_built/installation.html docs_built/intro.html docs_built/irect.html docs_built/link.html docs_built/linkdest.html docs_built/lowlevel.html docs_built/matrix.html docs_built/module.html docs_built/objects.inv docs_built/outline.html docs_built/page.html docs_built/pixmap.html docs_built/point.html docs_built/quad.html docs_built/rect.html docs_built/search.html docs_built/searchindex.js docs_built/shape.html docs_built/textpage.html docs_built/textwriter.html docs_built/tools.html docs_built/tutorial.html docs_built/vars.html docs_built/version.html docs_built/widget.html docs_built/znames.html /builddir/build/BUILDROOT/python-PyMuPDF-1.18.16-1.fc35.s390x/usr/share/doc/python-PyMuPDF-doc + cp -pr README.md /builddir/build/BUILDROOT/python-PyMuPDF-1.18.16-1.fc35.s390x/usr/share/doc/python-PyMuPDF-doc + RPM_EC=0 ++ jobs -p + exit 0 Provides: python-PyMuPDF-doc = 1.18.16-1.fc35 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: python-PyMuPDF-debugsource-1.18.16-1.fc35.s390x Provides: python-PyMuPDF-debugsource = 1.18.16-1.fc35 python-PyMuPDF-debugsource(s390-64) = 1.18.16-1.fc35 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: python3-PyMuPDF-debuginfo-1.18.16-1.fc35.s390x Provides: debuginfo(build-id) = 4bfa5cc9444d6956e65e2481920d6d52d6904b8f python-PyMuPDF-debuginfo = 1.18.16-1.fc35 python3-PyMuPDF-debuginfo = 1.18.16-1.fc35 python3-PyMuPDF-debuginfo(s390-64) = 1.18.16-1.fc35 python3.10-PyMuPDF-debuginfo = 1.18.16-1.fc35 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: python-PyMuPDF-debugsource(s390-64) = 1.18.16-1.fc35 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/python-PyMuPDF-1.18.16-1.fc35.s390x Wrote: /builddir/build/RPMS/python3-PyMuPDF-debuginfo-1.18.16-1.fc35.s390x.rpm Wrote: /builddir/build/RPMS/python-PyMuPDF-debugsource-1.18.16-1.fc35.s390x.rpm Wrote: /builddir/build/RPMS/python3-PyMuPDF-1.18.16-1.fc35.s390x.rpm Wrote: /builddir/build/RPMS/python-PyMuPDF-doc-1.18.16-1.fc35.noarch.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.C6cx4F + umask 022 + cd /builddir/build/BUILD + cd PyMuPDF-1.18.16 + /usr/bin/rm -rf /builddir/build/BUILDROOT/python-PyMuPDF-1.18.16-1.fc35.s390x + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0