Mock Version: 1.4.9 Mock Version: 1.4.9 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/python-PyMuPDF.spec'], chrootPath='/var/lib/mock/f29-build-15639-7395/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': 'en_US.UTF-8'}shell=Falselogger=timeout=345600uid=998gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --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': 'en_US.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 Wrote: /builddir/build/SRPMS/python-PyMuPDF-1.13.10-1.fc29.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/python-PyMuPDF.spec'], chrootPath='/var/lib/mock/f29-build-15639-7395/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': 'en_US.UTF-8'}shell=Falselogger=timeout=345600uid=998gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --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': 'en_US.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.udzGrQ + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf PyMuPDF-1.13.10 + /usr/bin/gzip -dc /builddir/build/SOURCES/PyMuPDF-1.13.10.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd PyMuPDF-1.13.10 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/cat /builddir/build/SOURCES/fix-library-linking.patch + /usr/bin/patch -s --fuzz=0 --no-backup-if-mismatch + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.H7sCn1 + umask 022 + cd /builddir/build/BUILD + cd PyMuPDF-1.13.10 + CFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + LDFLAGS='-Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + /usr/bin/python2 setup.py build '--executable=/usr/bin/python2 -s' running build running build_py creating build creating build/lib.linux-riscv64-2.7 creating build/lib.linux-riscv64-2.7/fitz copying fitz/__init__.py -> build/lib.linux-riscv64-2.7/fitz copying fitz/fitz.py -> build/lib.linux-riscv64-2.7/fitz copying fitz/utils.py -> build/lib.linux-riscv64-2.7/fitz running build_ext building 'fitz._fitz' extension creating build/temp.linux-riscv64-2.7 creating build/temp.linux-riscv64-2.7/fitz gcc -pthread -fno-strict-aliasing -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv -DNDEBUG -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -I/usr/include/mupdf -I/usr/local/include/mupdf -I/usr/local/thirdparty/zlib -I/usr/include/python2.7 -c fitz/fitz_wrap.c -o build/temp.linux-riscv64-2.7/fitz/fitz_wrap.o BUILDSTDERR: fitz/fitz_wrap.c: In function 'JM_style_end_dict': BUILDSTDERR: fitz/fitz_wrap.c:3436:47: warning: passing argument 3 of 'fz_buffer_storage' from incompatible pointer type [-Wincompatible-pointer-types] BUILDSTDERR: size_t len = fz_buffer_storage(ctx, buff, &text); BUILDSTDERR: ^~~~~ BUILDSTDERR: In file included from /usr/include/mupdf/fitz/output.h:6, BUILDSTDERR: from /usr/include/mupdf/fitz/hash.h:6, BUILDSTDERR: from /usr/include/mupdf/fitz.h:16, BUILDSTDERR: from fitz/fitz_wrap.c:3063: BUILDSTDERR: /usr/include/mupdf/fitz/buffer.h:34:75: note: expected 'unsigned char **' but argument is of type 'char **' BUILDSTDERR: size_t fz_buffer_storage(fz_context *ctx, fz_buffer *buf, unsigned char **datap); BUILDSTDERR: ~~~~~~~~~~~~~~~~^~~~~ BUILDSTDERR: fitz/fitz_wrap.c: In function 'JM_extract_stext_imageblock_as_dict': BUILDSTDERR: fitz/fitz_wrap.c:3544:45: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] BUILDSTDERR: case(FZ_IMAGE_BMP): strcpy(ext, "bmp"); break; BUILDSTDERR: ^~~ BUILDSTDERR: In file included from /usr/include/features.h:428, BUILDSTDERR: from /usr/include/bits/libc-header-start.h:33, BUILDSTDERR: from /usr/include/limits.h:26, BUILDSTDERR: from /usr/lib/gcc/riscv64-redhat-linux/8/include/limits.h:194, BUILDSTDERR: from /usr/lib/gcc/riscv64-redhat-linux/8/include/syslimits.h:7, BUILDSTDERR: from /usr/lib/gcc/riscv64-redhat-linux/8/include/limits.h:34, BUILDSTDERR: from /usr/include/python2.7/Python.h:19, BUILDSTDERR: from fitz/fitz_wrap.c:149: BUILDSTDERR: /usr/include/bits/string_fortified.h:88:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' BUILDSTDERR: __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) BUILDSTDERR: ^~~~~ BUILDSTDERR: fitz/fitz_wrap.c:3545:45: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] BUILDSTDERR: case(FZ_IMAGE_GIF): strcpy(ext, "gif"); break; BUILDSTDERR: ^~~ BUILDSTDERR: In file included from /usr/include/features.h:428, BUILDSTDERR: from /usr/include/bits/libc-header-start.h:33, BUILDSTDERR: from /usr/include/limits.h:26, BUILDSTDERR: from /usr/lib/gcc/riscv64-redhat-linux/8/include/limits.h:194, BUILDSTDERR: from /usr/lib/gcc/riscv64-redhat-linux/8/include/syslimits.h:7, BUILDSTDERR: from /usr/lib/gcc/riscv64-redhat-linux/8/include/limits.h:34, BUILDSTDERR: from /usr/include/python2.7/Python.h:19, BUILDSTDERR: from fitz/fitz_wrap.c:149: BUILDSTDERR: /usr/include/bits/string_fortified.h:88:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' BUILDSTDERR: __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) BUILDSTDERR: ^~~~~ BUILDSTDERR: fitz/fitz_wrap.c:3546:45: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] BUILDSTDERR: case(FZ_IMAGE_JPEG): strcpy(ext, "jpeg"); break; BUILDSTDERR: ^~~ BUILDSTDERR: In file included from /usr/include/features.h:428, BUILDSTDERR: from /usr/include/bits/libc-header-start.h:33, BUILDSTDERR: from /usr/include/limits.h:26, BUILDSTDERR: from /usr/lib/gcc/riscv64-redhat-linux/8/include/limits.h:194, BUILDSTDERR: from /usr/lib/gcc/riscv64-redhat-linux/8/include/syslimits.h:7, BUILDSTDERR: from /usr/lib/gcc/riscv64-redhat-linux/8/include/limits.h:34, BUILDSTDERR: from /usr/include/python2.7/Python.h:19, BUILDSTDERR: from fitz/fitz_wrap.c:149: BUILDSTDERR: /usr/include/bits/string_fortified.h:88:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' BUILDSTDERR: __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) BUILDSTDERR: ^~~~~ BUILDSTDERR: fitz/fitz_wrap.c:3547:45: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] BUILDSTDERR: case(FZ_IMAGE_JPX): strcpy(ext, "jpx"); break; BUILDSTDERR: ^~~ BUILDSTDERR: In file included from /usr/include/features.h:428, BUILDSTDERR: from /usr/include/bits/libc-header-start.h:33, BUILDSTDERR: from /usr/include/limits.h:26, BUILDSTDERR: from /usr/lib/gcc/riscv64-redhat-linux/8/include/limits.h:194, BUILDSTDERR: from /usr/lib/gcc/riscv64-redhat-linux/8/include/syslimits.h:7, BUILDSTDERR: from /usr/lib/gcc/riscv64-redhat-linux/8/include/limits.h:34, BUILDSTDERR: from /usr/include/python2.7/Python.h:19, BUILDSTDERR: from fitz/fitz_wrap.c:149: BUILDSTDERR: /usr/include/bits/string_fortified.h:88:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' BUILDSTDERR: __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) BUILDSTDERR: ^~~~~ BUILDSTDERR: fitz/fitz_wrap.c:3548:45: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] BUILDSTDERR: case(FZ_IMAGE_JXR): strcpy(ext, "jxr"); break; BUILDSTDERR: ^~~ BUILDSTDERR: In file included from /usr/include/features.h:428, BUILDSTDERR: from /usr/include/bits/libc-header-start.h:33, BUILDSTDERR: from /usr/include/limits.h:26, BUILDSTDERR: from /usr/lib/gcc/riscv64-redhat-linux/8/include/limits.h:194, BUILDSTDERR: from /usr/lib/gcc/riscv64-redhat-linux/8/include/syslimits.h:7, BUILDSTDERR: from /usr/lib/gcc/riscv64-redhat-linux/8/include/limits.h:34, BUILDSTDERR: from /usr/include/python2.7/Python.h:19, BUILDSTDERR: from fitz/fitz_wrap.c:149: BUILDSTDERR: /usr/include/bits/string_fortified.h:88:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' BUILDSTDERR: __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) BUILDSTDERR: ^~~~~ BUILDSTDERR: fitz/fitz_wrap.c:3549:45: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] BUILDSTDERR: case(FZ_IMAGE_PNM): strcpy(ext, "pnm"); break; BUILDSTDERR: ^~~ BUILDSTDERR: In file included from /usr/include/features.h:428, BUILDSTDERR: from /usr/include/bits/libc-header-start.h:33, BUILDSTDERR: from /usr/include/limits.h:26, BUILDSTDERR: from /usr/lib/gcc/riscv64-redhat-linux/8/include/limits.h:194, BUILDSTDERR: from /usr/lib/gcc/riscv64-redhat-linux/8/include/syslimits.h:7, BUILDSTDERR: from /usr/lib/gcc/riscv64-redhat-linux/8/include/limits.h:34, BUILDSTDERR: from /usr/include/python2.7/Python.h:19, BUILDSTDERR: from fitz/fitz_wrap.c:149: BUILDSTDERR: /usr/include/bits/string_fortified.h:88:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' BUILDSTDERR: __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) BUILDSTDERR: ^~~~~ BUILDSTDERR: fitz/fitz_wrap.c:3550:45: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] BUILDSTDERR: case(FZ_IMAGE_TIFF): strcpy(ext, "tiff"); break; BUILDSTDERR: ^~~ BUILDSTDERR: In file included from /usr/include/features.h:428, BUILDSTDERR: from /usr/include/bits/libc-header-start.h:33, BUILDSTDERR: from /usr/include/limits.h:26, BUILDSTDERR: from /usr/lib/gcc/riscv64-redhat-linux/8/include/limits.h:194, BUILDSTDERR: from /usr/lib/gcc/riscv64-redhat-linux/8/include/syslimits.h:7, BUILDSTDERR: from /usr/lib/gcc/riscv64-redhat-linux/8/include/limits.h:34, BUILDSTDERR: from /usr/include/python2.7/Python.h:19, BUILDSTDERR: from fitz/fitz_wrap.c:149: BUILDSTDERR: /usr/include/bits/string_fortified.h:88:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' BUILDSTDERR: __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) BUILDSTDERR: ^~~~~ BUILDSTDERR: fitz/fitz_wrap.c:3551:45: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] BUILDSTDERR: default: strcpy(ext, "png"); break; BUILDSTDERR: ^~~ BUILDSTDERR: In file included from /usr/include/features.h:428, BUILDSTDERR: from /usr/include/bits/libc-header-start.h:33, BUILDSTDERR: from /usr/include/limits.h:26, BUILDSTDERR: from /usr/lib/gcc/riscv64-redhat-linux/8/include/limits.h:194, BUILDSTDERR: from /usr/lib/gcc/riscv64-redhat-linux/8/include/syslimits.h:7, BUILDSTDERR: from /usr/lib/gcc/riscv64-redhat-linux/8/include/limits.h:34, BUILDSTDERR: from /usr/include/python2.7/Python.h:19, BUILDSTDERR: from fitz/fitz_wrap.c:149: BUILDSTDERR: /usr/include/bits/string_fortified.h:88:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' BUILDSTDERR: __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) BUILDSTDERR: ^~~~~ BUILDSTDERR: fitz/fitz_wrap.c:3557:20: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] BUILDSTDERR: strcpy(ext, "png"); BUILDSTDERR: ^~~ BUILDSTDERR: In file included from /usr/include/features.h:428, BUILDSTDERR: from /usr/include/bits/libc-header-start.h:33, BUILDSTDERR: from /usr/include/limits.h:26, BUILDSTDERR: from /usr/lib/gcc/riscv64-redhat-linux/8/include/limits.h:194, BUILDSTDERR: from /usr/lib/gcc/riscv64-redhat-linux/8/include/syslimits.h:7, BUILDSTDERR: from /usr/lib/gcc/riscv64-redhat-linux/8/include/limits.h:34, BUILDSTDERR: from /usr/include/python2.7/Python.h:19, BUILDSTDERR: from fitz/fitz_wrap.c:149: BUILDSTDERR: /usr/include/bits/string_fortified.h:88:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' BUILDSTDERR: __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) BUILDSTDERR: ^~~~~ BUILDSTDERR: fitz/fitz_wrap.c:3564:64: warning: pointer targets in passing argument 1 of 'PyString_FromString' differ in signedness [-Wpointer-sign] BUILDSTDERR: PyDict_SetItemString(dict, "ext", PyString_FromString(ext)); BUILDSTDERR: ^~~ BUILDSTDERR: In file included from /usr/include/python2.7/Python.h:97, BUILDSTDERR: from fitz/fitz_wrap.c:149: BUILDSTDERR: /usr/include/python2.7/stringobject.h:63:24: note: expected 'const char *' but argument is of type 'unsigned char *' BUILDSTDERR: PyAPI_FUNC(PyObject *) PyString_FromString(const char *); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~ BUILDSTDERR: fitz/fitz_wrap.c: In function 'page_merge': BUILDSTDERR: fitz/fitz_wrap.c:3919:40: warning: unused variable 'subt' [-Wunused-variable] BUILDSTDERR: pdf_obj *obj = NULL, *ref = NULL, *subt = NULL; BUILDSTDERR: ^~~~ BUILDSTDERR: fitz/fitz_wrap.c: In function 'merge_range': BUILDSTDERR: fitz/fitz_wrap.c:3994:26: warning: variable 'count' set but not used [-Wunused-but-set-variable] BUILDSTDERR: int page, afterpage, count; BUILDSTDERR: ^~~~~ BUILDSTDERR: fitz/fitz_wrap.c: In function 'fontbuffer': BUILDSTDERR: fitz/fitz_wrap.c:4072:11: warning: variable 'ext' set but not used [-Wunused-but-set-variable] BUILDSTDERR: char *ext = ""; BUILDSTDERR: ^~~ BUILDSTDERR: fitz/fitz_wrap.c: In function 'fontextension': BUILDSTDERR: fitz/fitz_wrap.c:4144:39: warning: variable 'stream' set but not used [-Wunused-but-set-variable] BUILDSTDERR: pdf_obj *o, *obj = NULL, *desft, *stream = NULL; BUILDSTDERR: ^~~~~~ BUILDSTDERR: fitz/fitz_wrap.c: In function 'JM_update_xobject_contents': BUILDSTDERR: fitz/fitz_wrap.c:4641:53: warning: passing argument 3 of 'fz_buffer_storage' from incompatible pointer type [-Wincompatible-pointer-types] BUILDSTDERR: c_len = (size_t) fz_buffer_storage(ctx, buffer, &content_str); BUILDSTDERR: ^~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/mupdf/fitz/output.h:6, BUILDSTDERR: from /usr/include/mupdf/fitz/hash.h:6, BUILDSTDERR: from /usr/include/mupdf/fitz.h:16, BUILDSTDERR: from fitz/fitz_wrap.c:3063: BUILDSTDERR: /usr/include/mupdf/fitz/buffer.h:34:75: note: expected 'unsigned char **' but argument is of type 'char **' BUILDSTDERR: size_t fz_buffer_storage(fz_context *ctx, fz_buffer *buf, unsigned char **datap); BUILDSTDERR: ~~~~~~~~~~~~~~~~^~~~~ BUILDSTDERR: fitz/fitz_wrap.c:4642:31: warning: pointer targets in passing argument 2 of 'JM_deflatebuf' differ in signedness [-Wpointer-sign] BUILDSTDERR: nres = JM_deflatebuf(ctx, content_str, c_len); BUILDSTDERR: ^~~~~~~~~~~ BUILDSTDERR: fitz/fitz_wrap.c:3833:12: note: expected 'unsigned char *' but argument is of type 'char *' BUILDSTDERR: fz_buffer *JM_deflatebuf(fz_context *ctx, unsigned char *p, size_t n) BUILDSTDERR: ^~~~~~~~~~~~~ BUILDSTDERR: fitz/fitz_wrap.c: In function 'JM_extend_contents': BUILDSTDERR: fitz/fitz_wrap.c:4752:54: warning: passing argument 3 of 'fz_buffer_storage' from incompatible pointer type [-Wincompatible-pointer-types] BUILDSTDERR: c_len = (size_t) fz_buffer_storage(ctx, res, &content_str); BUILDSTDERR: ^~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/mupdf/fitz/output.h:6, BUILDSTDERR: from /usr/include/mupdf/fitz/hash.h:6, BUILDSTDERR: from /usr/include/mupdf/fitz.h:16, BUILDSTDERR: from fitz/fitz_wrap.c:3063: BUILDSTDERR: /usr/include/mupdf/fitz/buffer.h:34:75: note: expected 'unsigned char **' but argument is of type 'char **' BUILDSTDERR: size_t fz_buffer_storage(fz_context *ctx, fz_buffer *buf, unsigned char **datap); BUILDSTDERR: ~~~~~~~~~~~~~~~~^~~~~ BUILDSTDERR: fitz/fitz_wrap.c:4753:35: warning: pointer targets in passing argument 2 of 'JM_deflatebuf' differ in signedness [-Wpointer-sign] BUILDSTDERR: nres = JM_deflatebuf(ctx, content_str, c_len); BUILDSTDERR: ^~~~~~~~~~~ BUILDSTDERR: fitz/fitz_wrap.c:3833:12: note: expected 'unsigned char *' but argument is of type 'char *' BUILDSTDERR: fz_buffer *JM_deflatebuf(fz_context *ctx, unsigned char *p, size_t n) BUILDSTDERR: ^~~~~~~~~~~~~ BUILDSTDERR: fitz/fitz_wrap.c: In function 'new_fz_document_s': BUILDSTDERR: fitz/fitz_wrap.c:5312:49: warning: pointer targets in passing argument 2 of 'fz_open_memory' differ in signedness [-Wpointer-sign] BUILDSTDERR: data = fz_open_memory(gctx, streamdata, streamlen); BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/mupdf/fitz/output.h:8, BUILDSTDERR: from /usr/include/mupdf/fitz/hash.h:6, BUILDSTDERR: from /usr/include/mupdf/fitz.h:16, BUILDSTDERR: from fitz/fitz_wrap.c:3063: BUILDSTDERR: /usr/include/mupdf/fitz/stream.h:59:12: note: expected 'const unsigned char *' but argument is of type 'char *' BUILDSTDERR: fz_stream *fz_open_memory(fz_context *ctx, const unsigned char *data, size_t len); BUILDSTDERR: ^~~~~~~~~~~~~~ BUILDSTDERR: fitz/fitz_wrap.c: In function 'fz_document_s_embeddedFileInfo': BUILDSTDERR: fitz/fitz_wrap.c:5565:19: warning: unused variable 'sname' [-Wunused-variable] BUILDSTDERR: char *sname = NULL; BUILDSTDERR: ^~~~~ BUILDSTDERR: fitz/fitz_wrap.c:5562:24: warning: unused variable 'name_len' [-Wunused-variable] BUILDSTDERR: Py_ssize_t name_len = 0; BUILDSTDERR: ^~~~~~~~ BUILDSTDERR: fitz/fitz_wrap.c: In function 'fz_document_s_embeddedFileAdd': BUILDSTDERR: fitz/fitz_wrap.c:5679:61: warning: pointer targets in passing argument 2 of 'fz_new_buffer_from_shared_data' differ in signedness [-Wpointer-sign] BUILDSTDERR: data = fz_new_buffer_from_shared_data(gctx, buffdata, size); BUILDSTDERR: ^~~~~~~~ BUILDSTDERR: In file included from /usr/include/mupdf/fitz/output.h:6, BUILDSTDERR: from /usr/include/mupdf/fitz/hash.h:6, BUILDSTDERR: from /usr/include/mupdf/fitz.h:16, BUILDSTDERR: from fitz/fitz_wrap.c:3063: BUILDSTDERR: /usr/include/mupdf/fitz/buffer.h:69:12: note: expected 'const unsigned char *' but argument is of type 'char *' BUILDSTDERR: fz_buffer *fz_new_buffer_from_shared_data(fz_context *ctx, const unsigned char *data, size_t size); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: fitz/fitz_wrap.c:5683:28: warning: unused variable 'len' [-Wunused-variable] BUILDSTDERR: Py_ssize_t len = 0; BUILDSTDERR: ^~~ BUILDSTDERR: fitz/fitz_wrap.c: In function 'fz_document_s__getCharWidths': BUILDSTDERR: fitz/fitz_wrap.c:6008:30: warning: pointer targets in assignment from 'const unsigned char *' to 'const char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: data = fz_lookup_base14_font(gctx, bfname, &size); BUILDSTDERR: ^ BUILDSTDERR: fitz/fitz_wrap.c:6011:74: warning: pointer targets in passing argument 3 of 'fz_new_font_from_memory' differ in signedness [-Wpointer-sign] BUILDSTDERR: font = fz_new_font_from_memory(gctx, bfname, data, size, 0, 0); BUILDSTDERR: ^~~~ BUILDSTDERR: In file included from /usr/include/mupdf/fitz.h:40, BUILDSTDERR: from fitz/fitz_wrap.c:3063: BUILDSTDERR: /usr/include/mupdf/fitz/font.h:410:10: note: expected 'const unsigned char *' but argument is of type 'const char *' BUILDSTDERR: fz_font *fz_new_font_from_memory(fz_context *ctx, const char *name, const unsigned char *data, int len, int index, int use_glyph_bbox); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: fitz/fitz_wrap.c:5990:17: warning: unused variable 'cwlen' [-Wunused-variable] BUILDSTDERR: int cwlen = 0; BUILDSTDERR: ^~~~~ BUILDSTDERR: fitz/fitz_wrap.c: In function 'fz_document_s_extractFont': BUILDSTDERR: fitz/fitz_wrap.c:6105:24: warning: unused variable 'len' [-Wunused-variable] BUILDSTDERR: Py_ssize_t len = 0; BUILDSTDERR: ^~~ BUILDSTDERR: fitz/fitz_wrap.c: In function 'fz_document_s_extractImage': BUILDSTDERR: fitz/fitz_wrap.c:6185:57: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] BUILDSTDERR: case(FZ_IMAGE_BMP): strcpy(ext, "bmp"); break; BUILDSTDERR: ^~~ BUILDSTDERR: In file included from /usr/include/features.h:428, BUILDSTDERR: from /usr/include/bits/libc-header-start.h:33, BUILDSTDERR: from /usr/include/limits.h:26, BUILDSTDERR: from /usr/lib/gcc/riscv64-redhat-linux/8/include/limits.h:194, BUILDSTDERR: from /usr/lib/gcc/riscv64-redhat-linux/8/include/syslimits.h:7, BUILDSTDERR: from /usr/lib/gcc/riscv64-redhat-linux/8/include/limits.h:34, BUILDSTDERR: from /usr/include/python2.7/Python.h:19, BUILDSTDERR: from fitz/fitz_wrap.c:149: BUILDSTDERR: /usr/include/bits/string_fortified.h:88:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' BUILDSTDERR: __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) BUILDSTDERR: ^~~~~ BUILDSTDERR: fitz/fitz_wrap.c:6186:57: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] BUILDSTDERR: case(FZ_IMAGE_GIF): strcpy(ext, "gif"); break; BUILDSTDERR: ^~~ BUILDSTDERR: In file included from /usr/include/features.h:428, BUILDSTDERR: from /usr/include/bits/libc-header-start.h:33, BUILDSTDERR: from /usr/include/limits.h:26, BUILDSTDERR: from /usr/lib/gcc/riscv64-redhat-linux/8/include/limits.h:194, BUILDSTDERR: from /usr/lib/gcc/riscv64-redhat-linux/8/include/syslimits.h:7, BUILDSTDERR: from /usr/lib/gcc/riscv64-redhat-linux/8/include/limits.h:34, BUILDSTDERR: from /usr/include/python2.7/Python.h:19, BUILDSTDERR: from fitz/fitz_wrap.c:149: BUILDSTDERR: /usr/include/bits/string_fortified.h:88:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' BUILDSTDERR: __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) BUILDSTDERR: ^~~~~ BUILDSTDERR: fitz/fitz_wrap.c:6187:57: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] BUILDSTDERR: case(FZ_IMAGE_JPEG): strcpy(ext, "jpeg"); break; BUILDSTDERR: ^~~ BUILDSTDERR: In file included from /usr/include/features.h:428, BUILDSTDERR: from /usr/include/bits/libc-header-start.h:33, BUILDSTDERR: from /usr/include/limits.h:26, BUILDSTDERR: from /usr/lib/gcc/riscv64-redhat-linux/8/include/limits.h:194, BUILDSTDERR: from /usr/lib/gcc/riscv64-redhat-linux/8/include/syslimits.h:7, BUILDSTDERR: from /usr/lib/gcc/riscv64-redhat-linux/8/include/limits.h:34, BUILDSTDERR: from /usr/include/python2.7/Python.h:19, BUILDSTDERR: from fitz/fitz_wrap.c:149: BUILDSTDERR: /usr/include/bits/string_fortified.h:88:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' BUILDSTDERR: __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) BUILDSTDERR: ^~~~~ BUILDSTDERR: fitz/fitz_wrap.c:6188:57: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] BUILDSTDERR: case(FZ_IMAGE_JPX): strcpy(ext, "jpx"); break; BUILDSTDERR: ^~~ BUILDSTDERR: In file included from /usr/include/features.h:428, BUILDSTDERR: from /usr/include/bits/libc-header-start.h:33, BUILDSTDERR: from /usr/include/limits.h:26, BUILDSTDERR: from /usr/lib/gcc/riscv64-redhat-linux/8/include/limits.h:194, BUILDSTDERR: from /usr/lib/gcc/riscv64-redhat-linux/8/include/syslimits.h:7, BUILDSTDERR: from /usr/lib/gcc/riscv64-redhat-linux/8/include/limits.h:34, BUILDSTDERR: from /usr/include/python2.7/Python.h:19, BUILDSTDERR: from fitz/fitz_wrap.c:149: BUILDSTDERR: /usr/include/bits/string_fortified.h:88:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' BUILDSTDERR: __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) BUILDSTDERR: ^~~~~ BUILDSTDERR: fitz/fitz_wrap.c:6189:57: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] BUILDSTDERR: case(FZ_IMAGE_JXR): strcpy(ext, "jxr"); break; BUILDSTDERR: ^~~ BUILDSTDERR: In file included from /usr/include/features.h:428, BUILDSTDERR: from /usr/include/bits/libc-header-start.h:33, BUILDSTDERR: from /usr/include/limits.h:26, BUILDSTDERR: from /usr/lib/gcc/riscv64-redhat-linux/8/include/limits.h:194, BUILDSTDERR: from /usr/lib/gcc/riscv64-redhat-linux/8/include/syslimits.h:7, BUILDSTDERR: from /usr/lib/gcc/riscv64-redhat-linux/8/include/limits.h:34, BUILDSTDERR: from /usr/include/python2.7/Python.h:19, BUILDSTDERR: from fitz/fitz_wrap.c:149: BUILDSTDERR: /usr/include/bits/string_fortified.h:88:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' BUILDSTDERR: __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) BUILDSTDERR: ^~~~~ BUILDSTDERR: fitz/fitz_wrap.c:6190:57: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] BUILDSTDERR: case(FZ_IMAGE_PNM): strcpy(ext, "pnm"); break; BUILDSTDERR: ^~~ BUILDSTDERR: In file included from /usr/include/features.h:428, BUILDSTDERR: from /usr/include/bits/libc-header-start.h:33, BUILDSTDERR: from /usr/include/limits.h:26, BUILDSTDERR: from /usr/lib/gcc/riscv64-redhat-linux/8/include/limits.h:194, BUILDSTDERR: from /usr/lib/gcc/riscv64-redhat-linux/8/include/syslimits.h:7, BUILDSTDERR: from /usr/lib/gcc/riscv64-redhat-linux/8/include/limits.h:34, BUILDSTDERR: from /usr/include/python2.7/Python.h:19, BUILDSTDERR: from fitz/fitz_wrap.c:149: BUILDSTDERR: /usr/include/bits/string_fortified.h:88:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' BUILDSTDERR: __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) BUILDSTDERR: ^~~~~ BUILDSTDERR: fitz/fitz_wrap.c:6191:57: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] BUILDSTDERR: case(FZ_IMAGE_TIFF): strcpy(ext, "tiff"); break; BUILDSTDERR: ^~~ BUILDSTDERR: In file included from /usr/include/features.h:428, BUILDSTDERR: from /usr/include/bits/libc-header-start.h:33, BUILDSTDERR: from /usr/include/limits.h:26, BUILDSTDERR: from /usr/lib/gcc/riscv64-redhat-linux/8/include/limits.h:194, BUILDSTDERR: from /usr/lib/gcc/riscv64-redhat-linux/8/include/syslimits.h:7, BUILDSTDERR: from /usr/lib/gcc/riscv64-redhat-linux/8/include/limits.h:34, BUILDSTDERR: from /usr/include/python2.7/Python.h:19, BUILDSTDERR: from fitz/fitz_wrap.c:149: BUILDSTDERR: /usr/include/bits/string_fortified.h:88:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' BUILDSTDERR: __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) BUILDSTDERR: ^~~~~ BUILDSTDERR: fitz/fitz_wrap.c:6192:57: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] BUILDSTDERR: default: strcpy(ext, "png"); break; BUILDSTDERR: ^~~ BUILDSTDERR: In file included from /usr/include/features.h:428, BUILDSTDERR: from /usr/include/bits/libc-header-start.h:33, BUILDSTDERR: from /usr/include/limits.h:26, BUILDSTDERR: from /usr/lib/gcc/riscv64-redhat-linux/8/include/limits.h:194, BUILDSTDERR: from /usr/lib/gcc/riscv64-redhat-linux/8/include/syslimits.h:7, BUILDSTDERR: from /usr/lib/gcc/riscv64-redhat-linux/8/include/limits.h:34, BUILDSTDERR: from /usr/include/python2.7/Python.h:19, BUILDSTDERR: from fitz/fitz_wrap.c:149: BUILDSTDERR: /usr/include/bits/string_fortified.h:88:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' BUILDSTDERR: __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) BUILDSTDERR: ^~~~~ BUILDSTDERR: fitz/fitz_wrap.c:6198:32: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign] BUILDSTDERR: strcpy(ext, "png"); BUILDSTDERR: ^~~ BUILDSTDERR: In file included from /usr/include/features.h:428, BUILDSTDERR: from /usr/include/bits/libc-header-start.h:33, BUILDSTDERR: from /usr/include/limits.h:26, BUILDSTDERR: from /usr/lib/gcc/riscv64-redhat-linux/8/include/limits.h:194, BUILDSTDERR: from /usr/lib/gcc/riscv64-redhat-linux/8/include/syslimits.h:7, BUILDSTDERR: from /usr/lib/gcc/riscv64-redhat-linux/8/include/limits.h:34, BUILDSTDERR: from /usr/include/python2.7/Python.h:19, BUILDSTDERR: from fitz/fitz_wrap.c:149: BUILDSTDERR: /usr/include/bits/string_fortified.h:88:1: note: expected 'char * restrict' but argument is of type 'unsigned char *' BUILDSTDERR: __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) BUILDSTDERR: ^~~~~ BUILDSTDERR: fitz/fitz_wrap.c: In function 'fz_document_s__updateStream': BUILDSTDERR: fitz/fitz_wrap.c:6413:43: warning: pointer targets in passing argument 2 of 'JM_deflatebuf' differ in signedness [-Wpointer-sign] BUILDSTDERR: res = JM_deflatebuf(gctx, c, len); BUILDSTDERR: ^ BUILDSTDERR: fitz/fitz_wrap.c:3833:12: note: expected 'unsigned char *' but argument is of type 'char *' BUILDSTDERR: fz_buffer *JM_deflatebuf(fz_context *ctx, unsigned char *p, size_t n) BUILDSTDERR: ^~~~~~~~~~~~~ BUILDSTDERR: fitz/fitz_wrap.c: In function 'fz_page_s_getSVGimage': BUILDSTDERR: fitz/fitz_wrap.c:6491:35: warning: pointer targets in passing argument 1 of 'PyUnicodeUCS4_DecodeUTF8' differ in signedness [-Wpointer-sign] BUILDSTDERR: text = JM_UNICODE(data, res_len); BUILDSTDERR: ^~~~ BUILDSTDERR: fitz/fitz_wrap.c:3048:52: note: in definition of macro 'JM_UNICODE' BUILDSTDERR: #define JM_UNICODE(data, len) PyUnicode_DecodeUTF8(data, (Py_ssize_t) len, "replace") BUILDSTDERR: ^~~~ BUILDSTDERR: In file included from /usr/include/python2.7/Python.h:88, BUILDSTDERR: from fitz/fitz_wrap.c:149: BUILDSTDERR: /usr/include/python2.7/unicodeobject.h:261:31: note: expected 'const char *' but argument is of type 'unsigned char *' BUILDSTDERR: # define PyUnicode_DecodeUTF8 PyUnicodeUCS4_DecodeUTF8 BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /usr/include/python2.7/unicodeobject.h:750:23: note: in expansion of macro 'PyUnicode_DecodeUTF8' BUILDSTDERR: PyAPI_FUNC(PyObject*) PyUnicode_DecodeUTF8( BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: fitz/fitz_wrap.c:6475:29: warning: unused variable 'seps' [-Wunused-variable] BUILDSTDERR: fz_separations *seps = NULL; BUILDSTDERR: ^~~~ BUILDSTDERR: fitz/fitz_wrap.c: In function 'fz_page_s_addLineAnnot': BUILDSTDERR: fitz/fitz_wrap.c:6517:31: warning: unused variable 'pdf' [-Wunused-variable] BUILDSTDERR: pdf_document *pdf = page->doc; BUILDSTDERR: ^~~ BUILDSTDERR: fitz/fitz_wrap.c: In function 'fz_page_s_insertImage': BUILDSTDERR: fitz/fitz_wrap.c:7021:64: warning: passing argument 2 of 'JM_CharFromBytesOrArray' from incompatible pointer type [-Wincompatible-pointer-types] BUILDSTDERR: size_t streamlen = JM_CharFromBytesOrArray(stream, &streamdata); BUILDSTDERR: ^~~~~~~~~~~ BUILDSTDERR: fitz/fitz_wrap.c:3864:57: note: expected 'char **' but argument is of type 'unsigned char **' BUILDSTDERR: size_t JM_CharFromBytesOrArray(PyObject *stream, char **data) BUILDSTDERR: ~~~~~~~^~~~ BUILDSTDERR: fitz/fitz_wrap.c:7117:34: warning: pointer targets in passing argument 3 of 'hexlify' differ in signedness [-Wpointer-sign] BUILDSTDERR: hexlify(16, md5, md5hex); // md5 as 32 hex bytes BUILDSTDERR: ^~~~~~ BUILDSTDERR: fitz/fitz_wrap.c:3766:6: note: expected 'unsigned char *' but argument is of type 'char *' BUILDSTDERR: void hexlify(int n, unsigned char *in, unsigned char *out) BUILDSTDERR: ^~~~~~~ BUILDSTDERR: fitz/fitz_wrap.c:7029:24: warning: unused variable 'name_len' [-Wunused-variable] BUILDSTDERR: Py_ssize_t name_len = 0; BUILDSTDERR: ^~~~~~~~ BUILDSTDERR: fitz/fitz_wrap.c:7027:19: warning: unused variable 'cont' [-Wunused-variable] BUILDSTDERR: char *cont = NULL; BUILDSTDERR: ^~~~ BUILDSTDERR: fitz/fitz_wrap.c:7024:24: warning: unused variable 'c_len' [-Wunused-variable] BUILDSTDERR: Py_ssize_t c_len = 0; BUILDSTDERR: ^~~~~ BUILDSTDERR: fitz/fitz_wrap.c:7018:24: warning: unused variable 'res' [-Wunused-variable] BUILDSTDERR: fz_buffer *res = NULL, *nres = NULL, *imgbuf = NULL; BUILDSTDERR: ^~~ BUILDSTDERR: fitz/fitz_wrap.c:7016:29: warning: unused variable 'seps' [-Wunused-variable] BUILDSTDERR: fz_separations *seps = NULL; BUILDSTDERR: ^~~~ BUILDSTDERR: fitz/fitz_wrap.c: In function 'fz_page_s_insertFont': BUILDSTDERR: fitz/fitz_wrap.c:7157:22: warning: pointer targets in assignment from 'const unsigned char *' to 'const char *' differ in signedness [-Wpointer-sign] BUILDSTDERR: data = fz_lookup_base14_font(gctx, fontname, &size); BUILDSTDERR: ^ BUILDSTDERR: fitz/fitz_wrap.c:7160:68: warning: pointer targets in passing argument 3 of 'fz_new_font_from_memory' differ in signedness [-Wpointer-sign] BUILDSTDERR: font = fz_new_font_from_memory(gctx, fontname, data, size, 0, 0); BUILDSTDERR: ^~~~ BUILDSTDERR: In file included from /usr/include/mupdf/fitz.h:40, BUILDSTDERR: from fitz/fitz_wrap.c:3063: BUILDSTDERR: /usr/include/mupdf/fitz/font.h:410:10: note: expected 'const unsigned char *' but argument is of type 'const char *' BUILDSTDERR: fz_font *fz_new_font_from_memory(fz_context *ctx, const char *name, const unsigned char *data, int len, int index, int use_glyph_bbox); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: fitz/fitz_wrap.c:7176:68: warning: pointer targets in passing argument 3 of 'fz_new_font_from_memory' differ in signedness [-Wpointer-sign] BUILDSTDERR: font = fz_new_font_from_memory(gctx, NULL, data, size, idx, 0); BUILDSTDERR: ^~~~ BUILDSTDERR: In file included from /usr/include/mupdf/fitz.h:40, BUILDSTDERR: from fitz/fitz_wrap.c:3063: BUILDSTDERR: /usr/include/mupdf/fitz/font.h:410:10: note: expected 'const unsigned char *' but argument is of type 'const char *' BUILDSTDERR: fz_font *fz_new_font_from_memory(fz_context *ctx, const char *name, const unsigned char *data, int len, int index, int use_glyph_bbox); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: fitz/fitz_wrap.c:7197:27: warning: unused variable 'idxo' [-Wunused-variable] BUILDSTDERR: PyObject *idxo = PyInt_FromLong((long) idx); BUILDSTDERR: ^~~~ BUILDSTDERR: fitz/fitz_wrap.c: In function 'new_fz_pixmap_s__SWIG_4': BUILDSTDERR: fitz/fitz_wrap.c:7610:83: warning: pointer targets in passing argument 8 of 'fz_new_pixmap_with_data' differ in signedness [-Wpointer-sign] BUILDSTDERR: pm = fz_new_pixmap_with_data(gctx, cs, w, h, seps, alpha, stride, data); BUILDSTDERR: ^~~~ BUILDSTDERR: In file included from /usr/include/mupdf/fitz.h:35, BUILDSTDERR: from fitz/fitz_wrap.c:3063: BUILDSTDERR: /usr/include/mupdf/fitz/pixmap.h:111:12: note: expected 'unsigned char *' but argument is of type 'char *' BUILDSTDERR: fz_pixmap *fz_new_pixmap_with_data(fz_context *ctx, fz_colorspace *colorspace, int w, int h, fz_separations *seps, int alpha, int stride, unsigned char *samples); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: fitz/fitz_wrap.c: In function 'new_fz_pixmap_s__SWIG_6': BUILDSTDERR: fitz/fitz_wrap.c:7638:31: warning: pointer targets in passing argument 2 of 'fz_new_buffer_from_shared_data' differ in signedness [-Wpointer-sign] BUILDSTDERR: streamdata, size); BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/mupdf/fitz/output.h:6, BUILDSTDERR: from /usr/include/mupdf/fitz/hash.h:6, BUILDSTDERR: from /usr/include/mupdf/fitz.h:16, BUILDSTDERR: from fitz/fitz_wrap.c:3063: BUILDSTDERR: /usr/include/mupdf/fitz/buffer.h:69:12: note: expected 'const unsigned char *' but argument is of type 'char *' BUILDSTDERR: fz_buffer *fz_new_buffer_from_shared_data(fz_context *ctx, const unsigned char *data, size_t size); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: fitz/fitz_wrap.c: In function 'fz_pixmap_s_setAlpha': BUILDSTDERR: fitz/fitz_wrap.c:7755:69: warning: passing argument 2 of 'JM_CharFromBytesOrArray' from incompatible pointer type [-Wincompatible-pointer-types] BUILDSTDERR: data_len = JM_CharFromBytesOrArray(alphavalues, &data); BUILDSTDERR: ^~~~~ BUILDSTDERR: fitz/fitz_wrap.c:3864:57: note: expected 'char **' but argument is of type 'unsigned char **' BUILDSTDERR: size_t JM_CharFromBytesOrArray(PyObject *stream, char **data) BUILDSTDERR: ~~~~~~~^~~~ BUILDSTDERR: fitz/fitz_wrap.c: In function 'fz_annot_s__setAP': BUILDSTDERR: fitz/fitz_wrap.c:8059:43: warning: pointer targets in passing argument 2 of 'JM_deflatebuf' differ in signedness [-Wpointer-sign] BUILDSTDERR: res = JM_deflatebuf(gctx, c, len); BUILDSTDERR: ^ BUILDSTDERR: fitz/fitz_wrap.c:3833:12: note: expected 'unsigned char *' but argument is of type 'char *' BUILDSTDERR: fz_buffer *JM_deflatebuf(fz_context *ctx, unsigned char *p, size_t n) BUILDSTDERR: ^~~~~~~~~~~~~ BUILDSTDERR: fitz/fitz_wrap.c: In function 'fz_annot_s_fileUpd': BUILDSTDERR: fitz/fitz_wrap.c:8458:43: warning: pointer targets in passing argument 2 of 'JM_deflatebuf' differ in signedness [-Wpointer-sign] BUILDSTDERR: res = JM_deflatebuf(gctx, data, size); BUILDSTDERR: ^~~~ BUILDSTDERR: fitz/fitz_wrap.c:3833:12: note: expected 'unsigned char *' but argument is of type 'char *' BUILDSTDERR: fz_buffer *JM_deflatebuf(fz_context *ctx, unsigned char *p, size_t n) BUILDSTDERR: ^~~~~~~~~~~~~ BUILDSTDERR: fitz/fitz_wrap.c: In function 'fz_stext_page_s__extractTextBlocks_AsList': BUILDSTDERR: fitz/fitz_wrap.c:8955:43: warning: pointer targets in passing argument 1 of 'PyUnicodeUCS4_DecodeUTF8' differ in signedness [-Wpointer-sign] BUILDSTDERR: text = JM_UNICODE(data, res_len); BUILDSTDERR: ^~~~ BUILDSTDERR: fitz/fitz_wrap.c:3048:52: note: in definition of macro 'JM_UNICODE' BUILDSTDERR: #define JM_UNICODE(data, len) PyUnicode_DecodeUTF8(data, (Py_ssize_t) len, "replace") BUILDSTDERR: ^~~~ BUILDSTDERR: In file included from /usr/include/python2.7/Python.h:88, BUILDSTDERR: from fitz/fitz_wrap.c:149: BUILDSTDERR: /usr/include/python2.7/unicodeobject.h:261:31: note: expected 'const char *' but argument is of type 'unsigned char *' BUILDSTDERR: # define PyUnicode_DecodeUTF8 PyUnicodeUCS4_DecodeUTF8 BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /usr/include/python2.7/unicodeobject.h:750:23: note: in expansion of macro 'PyUnicode_DecodeUTF8' BUILDSTDERR: PyAPI_FUNC(PyObject*) PyUnicode_DecodeUTF8( BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: fitz/fitz_wrap.c: In function 'fz_stext_page_s__extractTextWords_AsList': BUILDSTDERR: fitz/fitz_wrap.c:9013:68: warning: passing argument 3 of 'fz_buffer_storage' from incompatible pointer type [-Wincompatible-pointer-types] BUILDSTDERR: buflen = fz_buffer_storage(gctx, buff, &word); BUILDSTDERR: ^~~~~ BUILDSTDERR: In file included from /usr/include/mupdf/fitz/output.h:6, BUILDSTDERR: from /usr/include/mupdf/fitz/hash.h:6, BUILDSTDERR: from /usr/include/mupdf/fitz.h:16, BUILDSTDERR: from fitz/fitz_wrap.c:3063: BUILDSTDERR: /usr/include/mupdf/fitz/buffer.h:34:75: note: expected 'unsigned char **' but argument is of type 'char **' BUILDSTDERR: size_t fz_buffer_storage(fz_context *ctx, fz_buffer *buf, unsigned char **datap); BUILDSTDERR: ~~~~~~~~~~~~~~~~^~~~~ BUILDSTDERR: fitz/fitz_wrap.c:9037:64: warning: passing argument 3 of 'fz_buffer_storage' from incompatible pointer type [-Wincompatible-pointer-types] BUILDSTDERR: buflen = fz_buffer_storage(gctx, buff, &word); BUILDSTDERR: ^~~~~ BUILDSTDERR: In file included from /usr/include/mupdf/fitz/output.h:6, BUILDSTDERR: from /usr/include/mupdf/fitz/hash.h:6, BUILDSTDERR: from /usr/include/mupdf/fitz.h:16, BUILDSTDERR: from fitz/fitz_wrap.c:3063: BUILDSTDERR: /usr/include/mupdf/fitz/buffer.h:34:75: note: expected 'unsigned char **' but argument is of type 'char **' BUILDSTDERR: size_t fz_buffer_storage(fz_context *ctx, fz_buffer *buf, unsigned char **datap); BUILDSTDERR: ~~~~~~~~~~~~~~~~^~~~~ BUILDSTDERR: fitz/fitz_wrap.c: In function 'fz_stext_page_s__extractText': BUILDSTDERR: fitz/fitz_wrap.c:9089:39: warning: pointer targets in passing argument 1 of 'PyUnicodeUCS4_DecodeUTF8' differ in signedness [-Wpointer-sign] BUILDSTDERR: text = JM_UNICODE(data, res_len); BUILDSTDERR: ^~~~ BUILDSTDERR: fitz/fitz_wrap.c:3048:52: note: in definition of macro 'JM_UNICODE' BUILDSTDERR: #define JM_UNICODE(data, len) PyUnicode_DecodeUTF8(data, (Py_ssize_t) len, "replace") BUILDSTDERR: ^~~~ BUILDSTDERR: In file included from /usr/include/python2.7/Python.h:88, BUILDSTDERR: from fitz/fitz_wrap.c:149: BUILDSTDERR: /usr/include/python2.7/unicodeobject.h:261:31: note: expected 'const char *' but argument is of type 'unsigned char *' BUILDSTDERR: # define PyUnicode_DecodeUTF8 PyUnicodeUCS4_DecodeUTF8 BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: /usr/include/python2.7/unicodeobject.h:750:23: note: in expansion of macro 'PyUnicode_DecodeUTF8' BUILDSTDERR: PyAPI_FUNC(PyObject*) PyUnicode_DecodeUTF8( BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~ gcc -pthread -shared -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection build/temp.linux-riscv64-2.7/fitz/fitz_wrap.o -L/usr/lib64 -lmupdf -lmupdfthird -ljbig2dec -lopenjp2 -ljpeg -lfreetype -lharfbuzz -lpython2.7 -o build/lib.linux-riscv64-2.7/fitz/_fitz.so + sleep 1 + CFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + LDFLAGS='-Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + /usr/bin/python3 setup.py build '--executable=/usr/bin/python3 -s' running build running build_py creating build/lib.linux-riscv64-3.6 creating build/lib.linux-riscv64-3.6/fitz copying fitz/__init__.py -> build/lib.linux-riscv64-3.6/fitz copying fitz/fitz.py -> build/lib.linux-riscv64-3.6/fitz copying fitz/utils.py -> build/lib.linux-riscv64-3.6/fitz running build_ext building 'fitz._fitz' extension creating build/temp.linux-riscv64-3.6 creating build/temp.linux-riscv64-3.6/fitz gcc -pthread -DNDEBUG -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -I/usr/include/mupdf -I/usr/local/include/mupdf -I/usr/local/thirdparty/zlib -I/usr/include/python3.6m -c fitz/fitz_wrap.c -o build/temp.linux-riscv64-3.6/fitz/fitz_wrap.o BUILDSTDERR: fitz/fitz_wrap.c: In function ‘JM_style_end_dict’: BUILDSTDERR: fitz/fitz_wrap.c:3436:47: warning: passing argument 3 of ‘fz_buffer_storage’ from incompatible pointer type [-Wincompatible-pointer-types] BUILDSTDERR: size_t len = fz_buffer_storage(ctx, buff, &text); BUILDSTDERR: ^~~~~ BUILDSTDERR: In file included from /usr/include/mupdf/fitz/output.h:6, BUILDSTDERR: from /usr/include/mupdf/fitz/hash.h:6, BUILDSTDERR: from /usr/include/mupdf/fitz.h:16, BUILDSTDERR: from fitz/fitz_wrap.c:3063: BUILDSTDERR: /usr/include/mupdf/fitz/buffer.h:34:75: note: expected ‘unsigned char **’ but argument is of type ‘char **’ BUILDSTDERR: size_t fz_buffer_storage(fz_context *ctx, fz_buffer *buf, unsigned char **datap); BUILDSTDERR: ~~~~~~~~~~~~~~~~^~~~~ BUILDSTDERR: fitz/fitz_wrap.c: In function ‘JM_extract_stext_imageblock_as_dict’: BUILDSTDERR: fitz/fitz_wrap.c:3544:45: warning: pointer targets in passing argument 1 of ‘strcpy’ differ in signedness [-Wpointer-sign] BUILDSTDERR: case(FZ_IMAGE_BMP): strcpy(ext, "bmp"); break; BUILDSTDERR: ^~~ BUILDSTDERR: In file included from /usr/include/features.h:428, BUILDSTDERR: from /usr/include/bits/libc-header-start.h:33, BUILDSTDERR: from /usr/include/limits.h:26, BUILDSTDERR: from /usr/lib/gcc/riscv64-redhat-linux/8/include/limits.h:194, BUILDSTDERR: from /usr/lib/gcc/riscv64-redhat-linux/8/include/syslimits.h:7, BUILDSTDERR: from /usr/lib/gcc/riscv64-redhat-linux/8/include/limits.h:34, BUILDSTDERR: from /usr/include/python3.6m/Python.h:11, BUILDSTDERR: from fitz/fitz_wrap.c:149: BUILDSTDERR: /usr/include/bits/string_fortified.h:88:1: note: expected ‘char * restrict’ but argument is of type ‘unsigned char *’ BUILDSTDERR: __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) BUILDSTDERR: ^~~~~ BUILDSTDERR: fitz/fitz_wrap.c:3545:45: warning: pointer targets in passing argument 1 of ‘strcpy’ differ in signedness [-Wpointer-sign] BUILDSTDERR: case(FZ_IMAGE_GIF): strcpy(ext, "gif"); break; BUILDSTDERR: ^~~ BUILDSTDERR: In file included from /usr/include/features.h:428, BUILDSTDERR: from /usr/include/bits/libc-header-start.h:33, BUILDSTDERR: from /usr/include/limits.h:26, BUILDSTDERR: from /usr/lib/gcc/riscv64-redhat-linux/8/include/limits.h:194, BUILDSTDERR: from /usr/lib/gcc/riscv64-redhat-linux/8/include/syslimits.h:7, BUILDSTDERR: from /usr/lib/gcc/riscv64-redhat-linux/8/include/limits.h:34, BUILDSTDERR: from /usr/include/python3.6m/Python.h:11, BUILDSTDERR: from fitz/fitz_wrap.c:149: BUILDSTDERR: /usr/include/bits/string_fortified.h:88:1: note: expected ‘char * restrict’ but argument is of type ‘unsigned char *’ BUILDSTDERR: __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) BUILDSTDERR: ^~~~~ BUILDSTDERR: fitz/fitz_wrap.c:3546:45: warning: pointer targets in passing argument 1 of ‘strcpy’ differ in signedness [-Wpointer-sign] BUILDSTDERR: case(FZ_IMAGE_JPEG): strcpy(ext, "jpeg"); break; BUILDSTDERR: ^~~ BUILDSTDERR: In file included from /usr/include/features.h:428, BUILDSTDERR: from /usr/include/bits/libc-header-start.h:33, BUILDSTDERR: from /usr/include/limits.h:26, BUILDSTDERR: from /usr/lib/gcc/riscv64-redhat-linux/8/include/limits.h:194, BUILDSTDERR: from /usr/lib/gcc/riscv64-redhat-linux/8/include/syslimits.h:7, BUILDSTDERR: from /usr/lib/gcc/riscv64-redhat-linux/8/include/limits.h:34, BUILDSTDERR: from /usr/include/python3.6m/Python.h:11, BUILDSTDERR: from fitz/fitz_wrap.c:149: BUILDSTDERR: /usr/include/bits/string_fortified.h:88:1: note: expected ‘char * restrict’ but argument is of type ‘unsigned char *’ BUILDSTDERR: __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) BUILDSTDERR: ^~~~~ BUILDSTDERR: fitz/fitz_wrap.c:3547:45: warning: pointer targets in passing argument 1 of ‘strcpy’ differ in signedness [-Wpointer-sign] BUILDSTDERR: case(FZ_IMAGE_JPX): strcpy(ext, "jpx"); break; BUILDSTDERR: ^~~ BUILDSTDERR: In file included from /usr/include/features.h:428, BUILDSTDERR: from /usr/include/bits/libc-header-start.h:33, BUILDSTDERR: from /usr/include/limits.h:26, BUILDSTDERR: from /usr/lib/gcc/riscv64-redhat-linux/8/include/limits.h:194, BUILDSTDERR: from /usr/lib/gcc/riscv64-redhat-linux/8/include/syslimits.h:7, BUILDSTDERR: from /usr/lib/gcc/riscv64-redhat-linux/8/include/limits.h:34, BUILDSTDERR: from /usr/include/python3.6m/Python.h:11, BUILDSTDERR: from fitz/fitz_wrap.c:149: BUILDSTDERR: /usr/include/bits/string_fortified.h:88:1: note: expected ‘char * restrict’ but argument is of type ‘unsigned char *’ BUILDSTDERR: __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) BUILDSTDERR: ^~~~~ BUILDSTDERR: fitz/fitz_wrap.c:3548:45: warning: pointer targets in passing argument 1 of ‘strcpy’ differ in signedness [-Wpointer-sign] BUILDSTDERR: case(FZ_IMAGE_JXR): strcpy(ext, "jxr"); break; BUILDSTDERR: ^~~ BUILDSTDERR: In file included from /usr/include/features.h:428, BUILDSTDERR: from /usr/include/bits/libc-header-start.h:33, BUILDSTDERR: from /usr/include/limits.h:26, BUILDSTDERR: from /usr/lib/gcc/riscv64-redhat-linux/8/include/limits.h:194, BUILDSTDERR: from /usr/lib/gcc/riscv64-redhat-linux/8/include/syslimits.h:7, BUILDSTDERR: from /usr/lib/gcc/riscv64-redhat-linux/8/include/limits.h:34, BUILDSTDERR: from /usr/include/python3.6m/Python.h:11, BUILDSTDERR: from fitz/fitz_wrap.c:149: BUILDSTDERR: /usr/include/bits/string_fortified.h:88:1: note: expected ‘char * restrict’ but argument is of type ‘unsigned char *’ BUILDSTDERR: __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) BUILDSTDERR: ^~~~~ BUILDSTDERR: fitz/fitz_wrap.c:3549:45: warning: pointer targets in passing argument 1 of ‘strcpy’ differ in signedness [-Wpointer-sign] BUILDSTDERR: case(FZ_IMAGE_PNM): strcpy(ext, "pnm"); break; BUILDSTDERR: ^~~ BUILDSTDERR: In file included from /usr/include/features.h:428, BUILDSTDERR: from /usr/include/bits/libc-header-start.h:33, BUILDSTDERR: from /usr/include/limits.h:26, BUILDSTDERR: from /usr/lib/gcc/riscv64-redhat-linux/8/include/limits.h:194, BUILDSTDERR: from /usr/lib/gcc/riscv64-redhat-linux/8/include/syslimits.h:7, BUILDSTDERR: from /usr/lib/gcc/riscv64-redhat-linux/8/include/limits.h:34, BUILDSTDERR: from /usr/include/python3.6m/Python.h:11, BUILDSTDERR: from fitz/fitz_wrap.c:149: BUILDSTDERR: /usr/include/bits/string_fortified.h:88:1: note: expected ‘char * restrict’ but argument is of type ‘unsigned char *’ BUILDSTDERR: __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) BUILDSTDERR: ^~~~~ BUILDSTDERR: fitz/fitz_wrap.c:3550:45: warning: pointer targets in passing argument 1 of ‘strcpy’ differ in signedness [-Wpointer-sign] BUILDSTDERR: case(FZ_IMAGE_TIFF): strcpy(ext, "tiff"); break; BUILDSTDERR: ^~~ BUILDSTDERR: In file included from /usr/include/features.h:428, BUILDSTDERR: from /usr/include/bits/libc-header-start.h:33, BUILDSTDERR: from /usr/include/limits.h:26, BUILDSTDERR: from /usr/lib/gcc/riscv64-redhat-linux/8/include/limits.h:194, BUILDSTDERR: from /usr/lib/gcc/riscv64-redhat-linux/8/include/syslimits.h:7, BUILDSTDERR: from /usr/lib/gcc/riscv64-redhat-linux/8/include/limits.h:34, BUILDSTDERR: from /usr/include/python3.6m/Python.h:11, BUILDSTDERR: from fitz/fitz_wrap.c:149: BUILDSTDERR: /usr/include/bits/string_fortified.h:88:1: note: expected ‘char * restrict’ but argument is of type ‘unsigned char *’ BUILDSTDERR: __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) BUILDSTDERR: ^~~~~ BUILDSTDERR: fitz/fitz_wrap.c:3551:45: warning: pointer targets in passing argument 1 of ‘strcpy’ differ in signedness [-Wpointer-sign] BUILDSTDERR: default: strcpy(ext, "png"); break; BUILDSTDERR: ^~~ BUILDSTDERR: In file included from /usr/include/features.h:428, BUILDSTDERR: from /usr/include/bits/libc-header-start.h:33, BUILDSTDERR: from /usr/include/limits.h:26, BUILDSTDERR: from /usr/lib/gcc/riscv64-redhat-linux/8/include/limits.h:194, BUILDSTDERR: from /usr/lib/gcc/riscv64-redhat-linux/8/include/syslimits.h:7, BUILDSTDERR: from /usr/lib/gcc/riscv64-redhat-linux/8/include/limits.h:34, BUILDSTDERR: from /usr/include/python3.6m/Python.h:11, BUILDSTDERR: from fitz/fitz_wrap.c:149: BUILDSTDERR: /usr/include/bits/string_fortified.h:88:1: note: expected ‘char * restrict’ but argument is of type ‘unsigned char *’ BUILDSTDERR: __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) BUILDSTDERR: ^~~~~ BUILDSTDERR: fitz/fitz_wrap.c:3557:20: warning: pointer targets in passing argument 1 of ‘strcpy’ differ in signedness [-Wpointer-sign] BUILDSTDERR: strcpy(ext, "png"); BUILDSTDERR: ^~~ BUILDSTDERR: In file included from /usr/include/features.h:428, BUILDSTDERR: from /usr/include/bits/libc-header-start.h:33, BUILDSTDERR: from /usr/include/limits.h:26, BUILDSTDERR: from /usr/lib/gcc/riscv64-redhat-linux/8/include/limits.h:194, BUILDSTDERR: from /usr/lib/gcc/riscv64-redhat-linux/8/include/syslimits.h:7, BUILDSTDERR: from /usr/lib/gcc/riscv64-redhat-linux/8/include/limits.h:34, BUILDSTDERR: from /usr/include/python3.6m/Python.h:11, BUILDSTDERR: from fitz/fitz_wrap.c:149: BUILDSTDERR: /usr/include/bits/string_fortified.h:88:1: note: expected ‘char * restrict’ but argument is of type ‘unsigned char *’ BUILDSTDERR: __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) BUILDSTDERR: ^~~~~ BUILDSTDERR: fitz/fitz_wrap.c:3564:64: warning: pointer targets in passing argument 1 of ‘PyUnicode_FromString’ differ in signedness [-Wpointer-sign] BUILDSTDERR: PyDict_SetItemString(dict, "ext", PyString_FromString(ext)); BUILDSTDERR: ^~~ BUILDSTDERR: fitz/fitz_wrap.c:751:53: note: in definition of macro ‘PyString_FromString’ BUILDSTDERR: #define PyString_FromString(x) PyUnicode_FromString(x) BUILDSTDERR: ^ BUILDSTDERR: In file included from /usr/include/python3.6m/Python.h:80, BUILDSTDERR: from fitz/fitz_wrap.c:149: BUILDSTDERR: /usr/include/python3.6m/unicodeobject.h:702:23: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ BUILDSTDERR: PyAPI_FUNC(PyObject*) PyUnicode_FromString( BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: fitz/fitz_wrap.c: In function ‘page_merge’: BUILDSTDERR: fitz/fitz_wrap.c:3919:40: warning: unused variable ‘subt’ [-Wunused-variable] BUILDSTDERR: pdf_obj *obj = NULL, *ref = NULL, *subt = NULL; BUILDSTDERR: ^~~~ BUILDSTDERR: fitz/fitz_wrap.c: In function ‘merge_range’: BUILDSTDERR: fitz/fitz_wrap.c:3994:26: warning: variable ‘count’ set but not used [-Wunused-but-set-variable] BUILDSTDERR: int page, afterpage, count; BUILDSTDERR: ^~~~~ BUILDSTDERR: fitz/fitz_wrap.c: In function ‘fontbuffer’: BUILDSTDERR: fitz/fitz_wrap.c:4072:11: warning: variable ‘ext’ set but not used [-Wunused-but-set-variable] BUILDSTDERR: char *ext = ""; BUILDSTDERR: ^~~ BUILDSTDERR: fitz/fitz_wrap.c: In function ‘fontextension’: BUILDSTDERR: fitz/fitz_wrap.c:4144:39: warning: variable ‘stream’ set but not used [-Wunused-but-set-variable] BUILDSTDERR: pdf_obj *o, *obj = NULL, *desft, *stream = NULL; BUILDSTDERR: ^~~~~~ BUILDSTDERR: fitz/fitz_wrap.c: In function ‘JM_update_xobject_contents’: BUILDSTDERR: fitz/fitz_wrap.c:4641:53: warning: passing argument 3 of ‘fz_buffer_storage’ from incompatible pointer type [-Wincompatible-pointer-types] BUILDSTDERR: c_len = (size_t) fz_buffer_storage(ctx, buffer, &content_str); BUILDSTDERR: ^~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/mupdf/fitz/output.h:6, BUILDSTDERR: from /usr/include/mupdf/fitz/hash.h:6, BUILDSTDERR: from /usr/include/mupdf/fitz.h:16, BUILDSTDERR: from fitz/fitz_wrap.c:3063: BUILDSTDERR: /usr/include/mupdf/fitz/buffer.h:34:75: note: expected ‘unsigned char **’ but argument is of type ‘char **’ BUILDSTDERR: size_t fz_buffer_storage(fz_context *ctx, fz_buffer *buf, unsigned char **datap); BUILDSTDERR: ~~~~~~~~~~~~~~~~^~~~~ BUILDSTDERR: fitz/fitz_wrap.c:4642:31: warning: pointer targets in passing argument 2 of ‘JM_deflatebuf’ differ in signedness [-Wpointer-sign] BUILDSTDERR: nres = JM_deflatebuf(ctx, content_str, c_len); BUILDSTDERR: ^~~~~~~~~~~ BUILDSTDERR: fitz/fitz_wrap.c:3833:12: note: expected ‘unsigned char *’ but argument is of type ‘char *’ BUILDSTDERR: fz_buffer *JM_deflatebuf(fz_context *ctx, unsigned char *p, size_t n) BUILDSTDERR: ^~~~~~~~~~~~~ BUILDSTDERR: fitz/fitz_wrap.c: In function ‘JM_extend_contents’: BUILDSTDERR: fitz/fitz_wrap.c:4752:54: warning: passing argument 3 of ‘fz_buffer_storage’ from incompatible pointer type [-Wincompatible-pointer-types] BUILDSTDERR: c_len = (size_t) fz_buffer_storage(ctx, res, &content_str); BUILDSTDERR: ^~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/mupdf/fitz/output.h:6, BUILDSTDERR: from /usr/include/mupdf/fitz/hash.h:6, BUILDSTDERR: from /usr/include/mupdf/fitz.h:16, BUILDSTDERR: from fitz/fitz_wrap.c:3063: BUILDSTDERR: /usr/include/mupdf/fitz/buffer.h:34:75: note: expected ‘unsigned char **’ but argument is of type ‘char **’ BUILDSTDERR: size_t fz_buffer_storage(fz_context *ctx, fz_buffer *buf, unsigned char **datap); BUILDSTDERR: ~~~~~~~~~~~~~~~~^~~~~ BUILDSTDERR: fitz/fitz_wrap.c:4753:35: warning: pointer targets in passing argument 2 of ‘JM_deflatebuf’ differ in signedness [-Wpointer-sign] BUILDSTDERR: nres = JM_deflatebuf(ctx, content_str, c_len); BUILDSTDERR: ^~~~~~~~~~~ BUILDSTDERR: fitz/fitz_wrap.c:3833:12: note: expected ‘unsigned char *’ but argument is of type ‘char *’ BUILDSTDERR: fz_buffer *JM_deflatebuf(fz_context *ctx, unsigned char *p, size_t n) BUILDSTDERR: ^~~~~~~~~~~~~ BUILDSTDERR: fitz/fitz_wrap.c: In function ‘new_fz_document_s’: BUILDSTDERR: fitz/fitz_wrap.c:5312:49: warning: pointer targets in passing argument 2 of ‘fz_open_memory’ differ in signedness [-Wpointer-sign] BUILDSTDERR: data = fz_open_memory(gctx, streamdata, streamlen); BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/mupdf/fitz/output.h:8, BUILDSTDERR: from /usr/include/mupdf/fitz/hash.h:6, BUILDSTDERR: from /usr/include/mupdf/fitz.h:16, BUILDSTDERR: from fitz/fitz_wrap.c:3063: BUILDSTDERR: /usr/include/mupdf/fitz/stream.h:59:12: note: expected ‘const unsigned char *’ but argument is of type ‘char *’ BUILDSTDERR: fz_stream *fz_open_memory(fz_context *ctx, const unsigned char *data, size_t len); BUILDSTDERR: ^~~~~~~~~~~~~~ BUILDSTDERR: fitz/fitz_wrap.c: In function ‘fz_document_s_embeddedFileInfo’: BUILDSTDERR: fitz/fitz_wrap.c:5565:19: warning: unused variable ‘sname’ [-Wunused-variable] BUILDSTDERR: char *sname = NULL; BUILDSTDERR: ^~~~~ BUILDSTDERR: fitz/fitz_wrap.c:5562:24: warning: unused variable ‘name_len’ [-Wunused-variable] BUILDSTDERR: Py_ssize_t name_len = 0; BUILDSTDERR: ^~~~~~~~ BUILDSTDERR: fitz/fitz_wrap.c: In function ‘fz_document_s_embeddedFileAdd’: BUILDSTDERR: fitz/fitz_wrap.c:5679:61: warning: pointer targets in passing argument 2 of ‘fz_new_buffer_from_shared_data’ differ in signedness [-Wpointer-sign] BUILDSTDERR: data = fz_new_buffer_from_shared_data(gctx, buffdata, size); BUILDSTDERR: ^~~~~~~~ BUILDSTDERR: In file included from /usr/include/mupdf/fitz/output.h:6, BUILDSTDERR: from /usr/include/mupdf/fitz/hash.h:6, BUILDSTDERR: from /usr/include/mupdf/fitz.h:16, BUILDSTDERR: from fitz/fitz_wrap.c:3063: BUILDSTDERR: /usr/include/mupdf/fitz/buffer.h:69:12: note: expected ‘const unsigned char *’ but argument is of type ‘char *’ BUILDSTDERR: fz_buffer *fz_new_buffer_from_shared_data(fz_context *ctx, const unsigned char *data, size_t size); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: fitz/fitz_wrap.c:5683:28: warning: unused variable ‘len’ [-Wunused-variable] BUILDSTDERR: Py_ssize_t len = 0; BUILDSTDERR: ^~~ BUILDSTDERR: fitz/fitz_wrap.c: In function ‘fz_document_s__getCharWidths’: BUILDSTDERR: fitz/fitz_wrap.c:6008:30: warning: pointer targets in assignment from ‘const unsigned char *’ to ‘const char *’ differ in signedness [-Wpointer-sign] BUILDSTDERR: data = fz_lookup_base14_font(gctx, bfname, &size); BUILDSTDERR: ^ BUILDSTDERR: fitz/fitz_wrap.c:6011:74: warning: pointer targets in passing argument 3 of ‘fz_new_font_from_memory’ differ in signedness [-Wpointer-sign] BUILDSTDERR: font = fz_new_font_from_memory(gctx, bfname, data, size, 0, 0); BUILDSTDERR: ^~~~ BUILDSTDERR: In file included from /usr/include/mupdf/fitz.h:40, BUILDSTDERR: from fitz/fitz_wrap.c:3063: BUILDSTDERR: /usr/include/mupdf/fitz/font.h:410:10: note: expected ‘const unsigned char *’ but argument is of type ‘const char *’ BUILDSTDERR: fz_font *fz_new_font_from_memory(fz_context *ctx, const char *name, const unsigned char *data, int len, int index, int use_glyph_bbox); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: fitz/fitz_wrap.c:5990:17: warning: unused variable ‘cwlen’ [-Wunused-variable] BUILDSTDERR: int cwlen = 0; BUILDSTDERR: ^~~~~ BUILDSTDERR: fitz/fitz_wrap.c: In function ‘fz_document_s_extractFont’: BUILDSTDERR: fitz/fitz_wrap.c:6105:24: warning: unused variable ‘len’ [-Wunused-variable] BUILDSTDERR: Py_ssize_t len = 0; BUILDSTDERR: ^~~ BUILDSTDERR: fitz/fitz_wrap.c: In function ‘fz_document_s_extractImage’: BUILDSTDERR: fitz/fitz_wrap.c:6185:57: warning: pointer targets in passing argument 1 of ‘strcpy’ differ in signedness [-Wpointer-sign] BUILDSTDERR: case(FZ_IMAGE_BMP): strcpy(ext, "bmp"); break; BUILDSTDERR: ^~~ BUILDSTDERR: In file included from /usr/include/features.h:428, BUILDSTDERR: from /usr/include/bits/libc-header-start.h:33, BUILDSTDERR: from /usr/include/limits.h:26, BUILDSTDERR: from /usr/lib/gcc/riscv64-redhat-linux/8/include/limits.h:194, BUILDSTDERR: from /usr/lib/gcc/riscv64-redhat-linux/8/include/syslimits.h:7, BUILDSTDERR: from /usr/lib/gcc/riscv64-redhat-linux/8/include/limits.h:34, BUILDSTDERR: from /usr/include/python3.6m/Python.h:11, BUILDSTDERR: from fitz/fitz_wrap.c:149: BUILDSTDERR: /usr/include/bits/string_fortified.h:88:1: note: expected ‘char * restrict’ but argument is of type ‘unsigned char *’ BUILDSTDERR: __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) BUILDSTDERR: ^~~~~ BUILDSTDERR: fitz/fitz_wrap.c:6186:57: warning: pointer targets in passing argument 1 of ‘strcpy’ differ in signedness [-Wpointer-sign] BUILDSTDERR: case(FZ_IMAGE_GIF): strcpy(ext, "gif"); break; BUILDSTDERR: ^~~ BUILDSTDERR: In file included from /usr/include/features.h:428, BUILDSTDERR: from /usr/include/bits/libc-header-start.h:33, BUILDSTDERR: from /usr/include/limits.h:26, BUILDSTDERR: from /usr/lib/gcc/riscv64-redhat-linux/8/include/limits.h:194, BUILDSTDERR: from /usr/lib/gcc/riscv64-redhat-linux/8/include/syslimits.h:7, BUILDSTDERR: from /usr/lib/gcc/riscv64-redhat-linux/8/include/limits.h:34, BUILDSTDERR: from /usr/include/python3.6m/Python.h:11, BUILDSTDERR: from fitz/fitz_wrap.c:149: BUILDSTDERR: /usr/include/bits/string_fortified.h:88:1: note: expected ‘char * restrict’ but argument is of type ‘unsigned char *’ BUILDSTDERR: __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) BUILDSTDERR: ^~~~~ BUILDSTDERR: fitz/fitz_wrap.c:6187:57: warning: pointer targets in passing argument 1 of ‘strcpy’ differ in signedness [-Wpointer-sign] BUILDSTDERR: case(FZ_IMAGE_JPEG): strcpy(ext, "jpeg"); break; BUILDSTDERR: ^~~ BUILDSTDERR: In file included from /usr/include/features.h:428, BUILDSTDERR: from /usr/include/bits/libc-header-start.h:33, BUILDSTDERR: from /usr/include/limits.h:26, BUILDSTDERR: from /usr/lib/gcc/riscv64-redhat-linux/8/include/limits.h:194, BUILDSTDERR: from /usr/lib/gcc/riscv64-redhat-linux/8/include/syslimits.h:7, BUILDSTDERR: from /usr/lib/gcc/riscv64-redhat-linux/8/include/limits.h:34, BUILDSTDERR: from /usr/include/python3.6m/Python.h:11, BUILDSTDERR: from fitz/fitz_wrap.c:149: BUILDSTDERR: /usr/include/bits/string_fortified.h:88:1: note: expected ‘char * restrict’ but argument is of type ‘unsigned char *’ BUILDSTDERR: __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) BUILDSTDERR: ^~~~~ BUILDSTDERR: fitz/fitz_wrap.c:6188:57: warning: pointer targets in passing argument 1 of ‘strcpy’ differ in signedness [-Wpointer-sign] BUILDSTDERR: case(FZ_IMAGE_JPX): strcpy(ext, "jpx"); break; BUILDSTDERR: ^~~ BUILDSTDERR: In file included from /usr/include/features.h:428, BUILDSTDERR: from /usr/include/bits/libc-header-start.h:33, BUILDSTDERR: from /usr/include/limits.h:26, BUILDSTDERR: from /usr/lib/gcc/riscv64-redhat-linux/8/include/limits.h:194, BUILDSTDERR: from /usr/lib/gcc/riscv64-redhat-linux/8/include/syslimits.h:7, BUILDSTDERR: from /usr/lib/gcc/riscv64-redhat-linux/8/include/limits.h:34, BUILDSTDERR: from /usr/include/python3.6m/Python.h:11, BUILDSTDERR: from fitz/fitz_wrap.c:149: BUILDSTDERR: /usr/include/bits/string_fortified.h:88:1: note: expected ‘char * restrict’ but argument is of type ‘unsigned char *’ BUILDSTDERR: __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) BUILDSTDERR: ^~~~~ BUILDSTDERR: fitz/fitz_wrap.c:6189:57: warning: pointer targets in passing argument 1 of ‘strcpy’ differ in signedness [-Wpointer-sign] BUILDSTDERR: case(FZ_IMAGE_JXR): strcpy(ext, "jxr"); break; BUILDSTDERR: ^~~ BUILDSTDERR: In file included from /usr/include/features.h:428, BUILDSTDERR: from /usr/include/bits/libc-header-start.h:33, BUILDSTDERR: from /usr/include/limits.h:26, BUILDSTDERR: from /usr/lib/gcc/riscv64-redhat-linux/8/include/limits.h:194, BUILDSTDERR: from /usr/lib/gcc/riscv64-redhat-linux/8/include/syslimits.h:7, BUILDSTDERR: from /usr/lib/gcc/riscv64-redhat-linux/8/include/limits.h:34, BUILDSTDERR: from /usr/include/python3.6m/Python.h:11, BUILDSTDERR: from fitz/fitz_wrap.c:149: BUILDSTDERR: /usr/include/bits/string_fortified.h:88:1: note: expected ‘char * restrict’ but argument is of type ‘unsigned char *’ BUILDSTDERR: __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) BUILDSTDERR: ^~~~~ BUILDSTDERR: fitz/fitz_wrap.c:6190:57: warning: pointer targets in passing argument 1 of ‘strcpy’ differ in signedness [-Wpointer-sign] BUILDSTDERR: case(FZ_IMAGE_PNM): strcpy(ext, "pnm"); break; BUILDSTDERR: ^~~ BUILDSTDERR: In file included from /usr/include/features.h:428, BUILDSTDERR: from /usr/include/bits/libc-header-start.h:33, BUILDSTDERR: from /usr/include/limits.h:26, BUILDSTDERR: from /usr/lib/gcc/riscv64-redhat-linux/8/include/limits.h:194, BUILDSTDERR: from /usr/lib/gcc/riscv64-redhat-linux/8/include/syslimits.h:7, BUILDSTDERR: from /usr/lib/gcc/riscv64-redhat-linux/8/include/limits.h:34, BUILDSTDERR: from /usr/include/python3.6m/Python.h:11, BUILDSTDERR: from fitz/fitz_wrap.c:149: BUILDSTDERR: /usr/include/bits/string_fortified.h:88:1: note: expected ‘char * restrict’ but argument is of type ‘unsigned char *’ BUILDSTDERR: __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) BUILDSTDERR: ^~~~~ BUILDSTDERR: fitz/fitz_wrap.c:6191:57: warning: pointer targets in passing argument 1 of ‘strcpy’ differ in signedness [-Wpointer-sign] BUILDSTDERR: case(FZ_IMAGE_TIFF): strcpy(ext, "tiff"); break; BUILDSTDERR: ^~~ BUILDSTDERR: In file included from /usr/include/features.h:428, BUILDSTDERR: from /usr/include/bits/libc-header-start.h:33, BUILDSTDERR: from /usr/include/limits.h:26, BUILDSTDERR: from /usr/lib/gcc/riscv64-redhat-linux/8/include/limits.h:194, BUILDSTDERR: from /usr/lib/gcc/riscv64-redhat-linux/8/include/syslimits.h:7, BUILDSTDERR: from /usr/lib/gcc/riscv64-redhat-linux/8/include/limits.h:34, BUILDSTDERR: from /usr/include/python3.6m/Python.h:11, BUILDSTDERR: from fitz/fitz_wrap.c:149: BUILDSTDERR: /usr/include/bits/string_fortified.h:88:1: note: expected ‘char * restrict’ but argument is of type ‘unsigned char *’ BUILDSTDERR: __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) BUILDSTDERR: ^~~~~ BUILDSTDERR: fitz/fitz_wrap.c:6192:57: warning: pointer targets in passing argument 1 of ‘strcpy’ differ in signedness [-Wpointer-sign] BUILDSTDERR: default: strcpy(ext, "png"); break; BUILDSTDERR: ^~~ BUILDSTDERR: In file included from /usr/include/features.h:428, BUILDSTDERR: from /usr/include/bits/libc-header-start.h:33, BUILDSTDERR: from /usr/include/limits.h:26, BUILDSTDERR: from /usr/lib/gcc/riscv64-redhat-linux/8/include/limits.h:194, BUILDSTDERR: from /usr/lib/gcc/riscv64-redhat-linux/8/include/syslimits.h:7, BUILDSTDERR: from /usr/lib/gcc/riscv64-redhat-linux/8/include/limits.h:34, BUILDSTDERR: from /usr/include/python3.6m/Python.h:11, BUILDSTDERR: from fitz/fitz_wrap.c:149: BUILDSTDERR: /usr/include/bits/string_fortified.h:88:1: note: expected ‘char * restrict’ but argument is of type ‘unsigned char *’ BUILDSTDERR: __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) BUILDSTDERR: ^~~~~ BUILDSTDERR: fitz/fitz_wrap.c:6198:32: warning: pointer targets in passing argument 1 of ‘strcpy’ differ in signedness [-Wpointer-sign] BUILDSTDERR: strcpy(ext, "png"); BUILDSTDERR: ^~~ BUILDSTDERR: In file included from /usr/include/features.h:428, BUILDSTDERR: from /usr/include/bits/libc-header-start.h:33, BUILDSTDERR: from /usr/include/limits.h:26, BUILDSTDERR: from /usr/lib/gcc/riscv64-redhat-linux/8/include/limits.h:194, BUILDSTDERR: from /usr/lib/gcc/riscv64-redhat-linux/8/include/syslimits.h:7, BUILDSTDERR: from /usr/lib/gcc/riscv64-redhat-linux/8/include/limits.h:34, BUILDSTDERR: from /usr/include/python3.6m/Python.h:11, BUILDSTDERR: from fitz/fitz_wrap.c:149: BUILDSTDERR: /usr/include/bits/string_fortified.h:88:1: note: expected ‘char * restrict’ but argument is of type ‘unsigned char *’ BUILDSTDERR: __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) BUILDSTDERR: ^~~~~ BUILDSTDERR: fitz/fitz_wrap.c: In function ‘fz_document_s__updateStream’: BUILDSTDERR: fitz/fitz_wrap.c:6413:43: warning: pointer targets in passing argument 2 of ‘JM_deflatebuf’ differ in signedness [-Wpointer-sign] BUILDSTDERR: res = JM_deflatebuf(gctx, c, len); BUILDSTDERR: ^ BUILDSTDERR: fitz/fitz_wrap.c:3833:12: note: expected ‘unsigned char *’ but argument is of type ‘char *’ BUILDSTDERR: fz_buffer *JM_deflatebuf(fz_context *ctx, unsigned char *p, size_t n) BUILDSTDERR: ^~~~~~~~~~~~~ BUILDSTDERR: fitz/fitz_wrap.c: In function ‘fz_page_s_getSVGimage’: BUILDSTDERR: fitz/fitz_wrap.c:6491:35: warning: pointer targets in passing argument 1 of ‘PyUnicode_DecodeUTF8’ differ in signedness [-Wpointer-sign] BUILDSTDERR: text = JM_UNICODE(data, res_len); BUILDSTDERR: ^~~~ BUILDSTDERR: fitz/fitz_wrap.c:3048:52: note: in definition of macro ‘JM_UNICODE’ BUILDSTDERR: #define JM_UNICODE(data, len) PyUnicode_DecodeUTF8(data, (Py_ssize_t) len, "replace") BUILDSTDERR: ^~~~ BUILDSTDERR: In file included from /usr/include/python3.6m/Python.h:80, BUILDSTDERR: from fitz/fitz_wrap.c:149: BUILDSTDERR: /usr/include/python3.6m/unicodeobject.h:1304:23: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ BUILDSTDERR: PyAPI_FUNC(PyObject*) PyUnicode_DecodeUTF8( BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: fitz/fitz_wrap.c:6475:29: warning: unused variable ‘seps’ [-Wunused-variable] BUILDSTDERR: fz_separations *seps = NULL; BUILDSTDERR: ^~~~ BUILDSTDERR: fitz/fitz_wrap.c: In function ‘fz_page_s_addLineAnnot’: BUILDSTDERR: fitz/fitz_wrap.c:6517:31: warning: unused variable ‘pdf’ [-Wunused-variable] BUILDSTDERR: pdf_document *pdf = page->doc; BUILDSTDERR: ^~~ BUILDSTDERR: fitz/fitz_wrap.c: In function ‘fz_page_s_insertImage’: BUILDSTDERR: fitz/fitz_wrap.c:7021:64: warning: passing argument 2 of ‘JM_CharFromBytesOrArray’ from incompatible pointer type [-Wincompatible-pointer-types] BUILDSTDERR: size_t streamlen = JM_CharFromBytesOrArray(stream, &streamdata); BUILDSTDERR: ^~~~~~~~~~~ BUILDSTDERR: fitz/fitz_wrap.c:3864:57: note: expected ‘char **’ but argument is of type ‘unsigned char **’ BUILDSTDERR: size_t JM_CharFromBytesOrArray(PyObject *stream, char **data) BUILDSTDERR: ~~~~~~~^~~~ BUILDSTDERR: fitz/fitz_wrap.c:7117:34: warning: pointer targets in passing argument 3 of ‘hexlify’ differ in signedness [-Wpointer-sign] BUILDSTDERR: hexlify(16, md5, md5hex); // md5 as 32 hex bytes BUILDSTDERR: ^~~~~~ BUILDSTDERR: fitz/fitz_wrap.c:3766:6: note: expected ‘unsigned char *’ but argument is of type ‘char *’ BUILDSTDERR: void hexlify(int n, unsigned char *in, unsigned char *out) BUILDSTDERR: ^~~~~~~ BUILDSTDERR: fitz/fitz_wrap.c:7029:24: warning: unused variable ‘name_len’ [-Wunused-variable] BUILDSTDERR: Py_ssize_t name_len = 0; BUILDSTDERR: ^~~~~~~~ BUILDSTDERR: fitz/fitz_wrap.c:7027:19: warning: unused variable ‘cont’ [-Wunused-variable] BUILDSTDERR: char *cont = NULL; BUILDSTDERR: ^~~~ BUILDSTDERR: fitz/fitz_wrap.c:7024:24: warning: unused variable ‘c_len’ [-Wunused-variable] BUILDSTDERR: Py_ssize_t c_len = 0; BUILDSTDERR: ^~~~~ BUILDSTDERR: fitz/fitz_wrap.c:7018:24: warning: unused variable ‘res’ [-Wunused-variable] BUILDSTDERR: fz_buffer *res = NULL, *nres = NULL, *imgbuf = NULL; BUILDSTDERR: ^~~ BUILDSTDERR: fitz/fitz_wrap.c:7016:29: warning: unused variable ‘seps’ [-Wunused-variable] BUILDSTDERR: fz_separations *seps = NULL; BUILDSTDERR: ^~~~ BUILDSTDERR: fitz/fitz_wrap.c: In function ‘fz_page_s_insertFont’: BUILDSTDERR: fitz/fitz_wrap.c:7157:22: warning: pointer targets in assignment from ‘const unsigned char *’ to ‘const char *’ differ in signedness [-Wpointer-sign] BUILDSTDERR: data = fz_lookup_base14_font(gctx, fontname, &size); BUILDSTDERR: ^ BUILDSTDERR: fitz/fitz_wrap.c:7160:68: warning: pointer targets in passing argument 3 of ‘fz_new_font_from_memory’ differ in signedness [-Wpointer-sign] BUILDSTDERR: font = fz_new_font_from_memory(gctx, fontname, data, size, 0, 0); BUILDSTDERR: ^~~~ BUILDSTDERR: In file included from /usr/include/mupdf/fitz.h:40, BUILDSTDERR: from fitz/fitz_wrap.c:3063: BUILDSTDERR: /usr/include/mupdf/fitz/font.h:410:10: note: expected ‘const unsigned char *’ but argument is of type ‘const char *’ BUILDSTDERR: fz_font *fz_new_font_from_memory(fz_context *ctx, const char *name, const unsigned char *data, int len, int index, int use_glyph_bbox); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: fitz/fitz_wrap.c:7176:68: warning: pointer targets in passing argument 3 of ‘fz_new_font_from_memory’ differ in signedness [-Wpointer-sign] BUILDSTDERR: font = fz_new_font_from_memory(gctx, NULL, data, size, idx, 0); BUILDSTDERR: ^~~~ BUILDSTDERR: In file included from /usr/include/mupdf/fitz.h:40, BUILDSTDERR: from fitz/fitz_wrap.c:3063: BUILDSTDERR: /usr/include/mupdf/fitz/font.h:410:10: note: expected ‘const unsigned char *’ but argument is of type ‘const char *’ BUILDSTDERR: fz_font *fz_new_font_from_memory(fz_context *ctx, const char *name, const unsigned char *data, int len, int index, int use_glyph_bbox); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: fitz/fitz_wrap.c:7197:27: warning: unused variable ‘idxo’ [-Wunused-variable] BUILDSTDERR: PyObject *idxo = PyInt_FromLong((long) idx); BUILDSTDERR: ^~~~ BUILDSTDERR: fitz/fitz_wrap.c: In function ‘new_fz_pixmap_s__SWIG_4’: BUILDSTDERR: fitz/fitz_wrap.c:7610:83: warning: pointer targets in passing argument 8 of ‘fz_new_pixmap_with_data’ differ in signedness [-Wpointer-sign] BUILDSTDERR: pm = fz_new_pixmap_with_data(gctx, cs, w, h, seps, alpha, stride, data); BUILDSTDERR: ^~~~ BUILDSTDERR: In file included from /usr/include/mupdf/fitz.h:35, BUILDSTDERR: from fitz/fitz_wrap.c:3063: BUILDSTDERR: /usr/include/mupdf/fitz/pixmap.h:111:12: note: expected ‘unsigned char *’ but argument is of type ‘char *’ BUILDSTDERR: fz_pixmap *fz_new_pixmap_with_data(fz_context *ctx, fz_colorspace *colorspace, int w, int h, fz_separations *seps, int alpha, int stride, unsigned char *samples); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: fitz/fitz_wrap.c: In function ‘new_fz_pixmap_s__SWIG_6’: BUILDSTDERR: fitz/fitz_wrap.c:7638:31: warning: pointer targets in passing argument 2 of ‘fz_new_buffer_from_shared_data’ differ in signedness [-Wpointer-sign] BUILDSTDERR: streamdata, size); BUILDSTDERR: ^~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/mupdf/fitz/output.h:6, BUILDSTDERR: from /usr/include/mupdf/fitz/hash.h:6, BUILDSTDERR: from /usr/include/mupdf/fitz.h:16, BUILDSTDERR: from fitz/fitz_wrap.c:3063: BUILDSTDERR: /usr/include/mupdf/fitz/buffer.h:69:12: note: expected ‘const unsigned char *’ but argument is of type ‘char *’ BUILDSTDERR: fz_buffer *fz_new_buffer_from_shared_data(fz_context *ctx, const unsigned char *data, size_t size); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: fitz/fitz_wrap.c: In function ‘fz_pixmap_s_setAlpha’: BUILDSTDERR: fitz/fitz_wrap.c:7755:69: warning: passing argument 2 of ‘JM_CharFromBytesOrArray’ from incompatible pointer type [-Wincompatible-pointer-types] BUILDSTDERR: data_len = JM_CharFromBytesOrArray(alphavalues, &data); BUILDSTDERR: ^~~~~ BUILDSTDERR: fitz/fitz_wrap.c:3864:57: note: expected ‘char **’ but argument is of type ‘unsigned char **’ BUILDSTDERR: size_t JM_CharFromBytesOrArray(PyObject *stream, char **data) BUILDSTDERR: ~~~~~~~^~~~ BUILDSTDERR: fitz/fitz_wrap.c: In function ‘fz_annot_s__setAP’: BUILDSTDERR: fitz/fitz_wrap.c:8059:43: warning: pointer targets in passing argument 2 of ‘JM_deflatebuf’ differ in signedness [-Wpointer-sign] BUILDSTDERR: res = JM_deflatebuf(gctx, c, len); BUILDSTDERR: ^ BUILDSTDERR: fitz/fitz_wrap.c:3833:12: note: expected ‘unsigned char *’ but argument is of type ‘char *’ BUILDSTDERR: fz_buffer *JM_deflatebuf(fz_context *ctx, unsigned char *p, size_t n) BUILDSTDERR: ^~~~~~~~~~~~~ BUILDSTDERR: fitz/fitz_wrap.c: In function ‘fz_annot_s_fileUpd’: BUILDSTDERR: fitz/fitz_wrap.c:8458:43: warning: pointer targets in passing argument 2 of ‘JM_deflatebuf’ differ in signedness [-Wpointer-sign] BUILDSTDERR: res = JM_deflatebuf(gctx, data, size); BUILDSTDERR: ^~~~ BUILDSTDERR: fitz/fitz_wrap.c:3833:12: note: expected ‘unsigned char *’ but argument is of type ‘char *’ BUILDSTDERR: fz_buffer *JM_deflatebuf(fz_context *ctx, unsigned char *p, size_t n) BUILDSTDERR: ^~~~~~~~~~~~~ BUILDSTDERR: fitz/fitz_wrap.c: In function ‘fz_stext_page_s__extractTextBlocks_AsList’: BUILDSTDERR: fitz/fitz_wrap.c:8955:43: warning: pointer targets in passing argument 1 of ‘PyUnicode_DecodeUTF8’ differ in signedness [-Wpointer-sign] BUILDSTDERR: text = JM_UNICODE(data, res_len); BUILDSTDERR: ^~~~ BUILDSTDERR: fitz/fitz_wrap.c:3048:52: note: in definition of macro ‘JM_UNICODE’ BUILDSTDERR: #define JM_UNICODE(data, len) PyUnicode_DecodeUTF8(data, (Py_ssize_t) len, "replace") BUILDSTDERR: ^~~~ BUILDSTDERR: In file included from /usr/include/python3.6m/Python.h:80, BUILDSTDERR: from fitz/fitz_wrap.c:149: BUILDSTDERR: /usr/include/python3.6m/unicodeobject.h:1304:23: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ BUILDSTDERR: PyAPI_FUNC(PyObject*) PyUnicode_DecodeUTF8( BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: fitz/fitz_wrap.c: In function ‘fz_stext_page_s__extractTextWords_AsList’: BUILDSTDERR: fitz/fitz_wrap.c:9013:68: warning: passing argument 3 of ‘fz_buffer_storage’ from incompatible pointer type [-Wincompatible-pointer-types] BUILDSTDERR: buflen = fz_buffer_storage(gctx, buff, &word); BUILDSTDERR: ^~~~~ BUILDSTDERR: In file included from /usr/include/mupdf/fitz/output.h:6, BUILDSTDERR: from /usr/include/mupdf/fitz/hash.h:6, BUILDSTDERR: from /usr/include/mupdf/fitz.h:16, BUILDSTDERR: from fitz/fitz_wrap.c:3063: BUILDSTDERR: /usr/include/mupdf/fitz/buffer.h:34:75: note: expected ‘unsigned char **’ but argument is of type ‘char **’ BUILDSTDERR: size_t fz_buffer_storage(fz_context *ctx, fz_buffer *buf, unsigned char **datap); BUILDSTDERR: ~~~~~~~~~~~~~~~~^~~~~ BUILDSTDERR: fitz/fitz_wrap.c:9037:64: warning: passing argument 3 of ‘fz_buffer_storage’ from incompatible pointer type [-Wincompatible-pointer-types] BUILDSTDERR: buflen = fz_buffer_storage(gctx, buff, &word); BUILDSTDERR: ^~~~~ BUILDSTDERR: In file included from /usr/include/mupdf/fitz/output.h:6, BUILDSTDERR: from /usr/include/mupdf/fitz/hash.h:6, BUILDSTDERR: from /usr/include/mupdf/fitz.h:16, BUILDSTDERR: from fitz/fitz_wrap.c:3063: BUILDSTDERR: /usr/include/mupdf/fitz/buffer.h:34:75: note: expected ‘unsigned char **’ but argument is of type ‘char **’ BUILDSTDERR: size_t fz_buffer_storage(fz_context *ctx, fz_buffer *buf, unsigned char **datap); BUILDSTDERR: ~~~~~~~~~~~~~~~~^~~~~ BUILDSTDERR: fitz/fitz_wrap.c: In function ‘fz_stext_page_s__extractText’: BUILDSTDERR: fitz/fitz_wrap.c:9089:39: warning: pointer targets in passing argument 1 of ‘PyUnicode_DecodeUTF8’ differ in signedness [-Wpointer-sign] BUILDSTDERR: text = JM_UNICODE(data, res_len); BUILDSTDERR: ^~~~ BUILDSTDERR: fitz/fitz_wrap.c:3048:52: note: in definition of macro ‘JM_UNICODE’ BUILDSTDERR: #define JM_UNICODE(data, len) PyUnicode_DecodeUTF8(data, (Py_ssize_t) len, "replace") BUILDSTDERR: ^~~~ BUILDSTDERR: In file included from /usr/include/python3.6m/Python.h:80, BUILDSTDERR: from fitz/fitz_wrap.c:149: BUILDSTDERR: /usr/include/python3.6m/unicodeobject.h:1304:23: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ BUILDSTDERR: PyAPI_FUNC(PyObject*) PyUnicode_DecodeUTF8( BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~ gcc -pthread -shared -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -g -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection build/temp.linux-riscv64-3.6/fitz/fitz_wrap.o -L/usr/lib64 -lmupdf -lmupdfthird -ljbig2dec -lopenjp2 -ljpeg -lfreetype -lharfbuzz -lpython3.6m -o build/lib.linux-riscv64-3.6/fitz/_fitz.cpython-36m-riscv64-linux-gnu.so + sleep 1 + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.R1N3I1 + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/python-PyMuPDF-1.13.10-1.fc29.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/python-PyMuPDF-1.13.10-1.fc29.riscv64 BUILDSTDERR: ++ dirname /builddir/build/BUILDROOT/python-PyMuPDF-1.13.10-1.fc29.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/python-PyMuPDF-1.13.10-1.fc29.riscv64 + cd PyMuPDF-1.13.10 + CFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + LDFLAGS='-Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + /usr/bin/python2 setup.py install -O1 --skip-build --root /builddir/build/BUILDROOT/python-PyMuPDF-1.13.10-1.fc29.riscv64 running install running install_lib creating /builddir/build/BUILDROOT/python-PyMuPDF-1.13.10-1.fc29.riscv64/usr creating /builddir/build/BUILDROOT/python-PyMuPDF-1.13.10-1.fc29.riscv64/usr/lib64 creating /builddir/build/BUILDROOT/python-PyMuPDF-1.13.10-1.fc29.riscv64/usr/lib64/python2.7 creating /builddir/build/BUILDROOT/python-PyMuPDF-1.13.10-1.fc29.riscv64/usr/lib64/python2.7/site-packages creating /builddir/build/BUILDROOT/python-PyMuPDF-1.13.10-1.fc29.riscv64/usr/lib64/python2.7/site-packages/fitz copying build/lib.linux-riscv64-2.7/fitz/_fitz.so -> /builddir/build/BUILDROOT/python-PyMuPDF-1.13.10-1.fc29.riscv64/usr/lib64/python2.7/site-packages/fitz copying build/lib.linux-riscv64-2.7/fitz/fitz.py -> /builddir/build/BUILDROOT/python-PyMuPDF-1.13.10-1.fc29.riscv64/usr/lib64/python2.7/site-packages/fitz copying build/lib.linux-riscv64-2.7/fitz/utils.py -> /builddir/build/BUILDROOT/python-PyMuPDF-1.13.10-1.fc29.riscv64/usr/lib64/python2.7/site-packages/fitz copying build/lib.linux-riscv64-2.7/fitz/__init__.py -> /builddir/build/BUILDROOT/python-PyMuPDF-1.13.10-1.fc29.riscv64/usr/lib64/python2.7/site-packages/fitz byte-compiling /builddir/build/BUILDROOT/python-PyMuPDF-1.13.10-1.fc29.riscv64/usr/lib64/python2.7/site-packages/fitz/fitz.py to fitz.pyc byte-compiling /builddir/build/BUILDROOT/python-PyMuPDF-1.13.10-1.fc29.riscv64/usr/lib64/python2.7/site-packages/fitz/utils.py to utils.pyc byte-compiling /builddir/build/BUILDROOT/python-PyMuPDF-1.13.10-1.fc29.riscv64/usr/lib64/python2.7/site-packages/fitz/__init__.py to __init__.pyc writing byte-compilation script '/tmp/tmpuBN9zS.py' /usr/bin/python2 -O /tmp/tmpuBN9zS.py removing /tmp/tmpuBN9zS.py running install_egg_info Writing /builddir/build/BUILDROOT/python-PyMuPDF-1.13.10-1.fc29.riscv64/usr/lib64/python2.7/site-packages/PyMuPDF-1.13.10-py2.7.egg-info + CFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + LDFLAGS='-Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + /usr/bin/python3 setup.py install -O1 --skip-build --root /builddir/build/BUILDROOT/python-PyMuPDF-1.13.10-1.fc29.riscv64 running install running install_lib creating /builddir/build/BUILDROOT/python-PyMuPDF-1.13.10-1.fc29.riscv64/usr/lib64/python3.6 creating /builddir/build/BUILDROOT/python-PyMuPDF-1.13.10-1.fc29.riscv64/usr/lib64/python3.6/site-packages creating /builddir/build/BUILDROOT/python-PyMuPDF-1.13.10-1.fc29.riscv64/usr/lib64/python3.6/site-packages/fitz copying build/lib.linux-riscv64-3.6/fitz/fitz.py -> /builddir/build/BUILDROOT/python-PyMuPDF-1.13.10-1.fc29.riscv64/usr/lib64/python3.6/site-packages/fitz copying build/lib.linux-riscv64-3.6/fitz/_fitz.cpython-36m-riscv64-linux-gnu.so -> /builddir/build/BUILDROOT/python-PyMuPDF-1.13.10-1.fc29.riscv64/usr/lib64/python3.6/site-packages/fitz copying build/lib.linux-riscv64-3.6/fitz/utils.py -> /builddir/build/BUILDROOT/python-PyMuPDF-1.13.10-1.fc29.riscv64/usr/lib64/python3.6/site-packages/fitz copying build/lib.linux-riscv64-3.6/fitz/__init__.py -> /builddir/build/BUILDROOT/python-PyMuPDF-1.13.10-1.fc29.riscv64/usr/lib64/python3.6/site-packages/fitz byte-compiling /builddir/build/BUILDROOT/python-PyMuPDF-1.13.10-1.fc29.riscv64/usr/lib64/python3.6/site-packages/fitz/fitz.py to fitz.cpython-36.pyc byte-compiling /builddir/build/BUILDROOT/python-PyMuPDF-1.13.10-1.fc29.riscv64/usr/lib64/python3.6/site-packages/fitz/utils.py to utils.cpython-36.pyc byte-compiling /builddir/build/BUILDROOT/python-PyMuPDF-1.13.10-1.fc29.riscv64/usr/lib64/python3.6/site-packages/fitz/__init__.py to __init__.cpython-36.pyc writing byte-compilation script '/tmp/tmpkvkrzpj7.py' /usr/bin/python3 /tmp/tmpkvkrzpj7.py removing /tmp/tmpkvkrzpj7.py running install_egg_info Writing /builddir/build/BUILDROOT/python-PyMuPDF-1.13.10-1.fc29.riscv64/usr/lib64/python3.6/site-packages/PyMuPDF-1.13.10-py3.6.egg-info + /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 1.13.10-1.fc29 --unique-debug-suffix -1.13.10-1.fc29.riscv64 --unique-debug-src-base python-PyMuPDF-1.13.10-1.fc29.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/PyMuPDF-1.13.10 extracting debug info from /builddir/build/BUILDROOT/python-PyMuPDF-1.13.10-1.fc29.riscv64/usr/lib64/python2.7/site-packages/fitz/_fitz.so extracting debug info from /builddir/build/BUILDROOT/python-PyMuPDF-1.13.10-1.fc29.riscv64/usr/lib64/python3.6/site-packages/fitz/_fitz.cpython-36m-riscv64-linux-gnu.so /usr/lib/rpm/sepdebugcrcfix: Updated 2 CRC32s, 0 CRC32s did match. BUILDSTDERR: 1416 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig BUILDSTDERR: /sbin/ldconfig: Warning: ignoring configuration file that cannot be opened: /etc/ld.so.conf: No such file or directory + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 Bytecompiling .py files below /builddir/build/BUILDROOT/python-PyMuPDF-1.13.10-1.fc29.riscv64/usr/lib/debug/usr/lib64/python2.7 using /usr/bin/python2.7 Bytecompiling .py files below /builddir/build/BUILDROOT/python-PyMuPDF-1.13.10-1.fc29.riscv64/usr/lib/debug/usr/lib64/python3.6 using /usr/bin/python3.6 Bytecompiling .py files below /builddir/build/BUILDROOT/python-PyMuPDF-1.13.10-1.fc29.riscv64/usr/lib64/python2.7 using /usr/bin/python2.7 Bytecompiling .py files below /builddir/build/BUILDROOT/python-PyMuPDF-1.13.10-1.fc29.riscv64/usr/lib64/python3.6 using /usr/bin/python3.6 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Processing files: python2-PyMuPDF-1.13.10-1.fc29.riscv64 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.xBUYpo + umask 022 + cd /builddir/build/BUILD + cd PyMuPDF-1.13.10 + LICENSEDIR=/builddir/build/BUILDROOT/python-PyMuPDF-1.13.10-1.fc29.riscv64/usr/share/licenses/python2-PyMuPDF + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/python-PyMuPDF-1.13.10-1.fc29.riscv64/usr/share/licenses/python2-PyMuPDF + cp -pr COPYING /builddir/build/BUILDROOT/python-PyMuPDF-1.13.10-1.fc29.riscv64/usr/share/licenses/python2-PyMuPDF + cp -pr 'GNU AFFERO GPL V3' /builddir/build/BUILDROOT/python-PyMuPDF-1.13.10-1.fc29.riscv64/usr/share/licenses/python2-PyMuPDF + exit 0 Provides: python-PyMuPDF = 1.13.10-1.fc29 python-PyMuPDF(riscv-64) = 1.13.10-1.fc29 python2-PyMuPDF = 1.13.10-1.fc29 python2-PyMuPDF(riscv-64) = 1.13.10-1.fc29 python2.7dist(pymupdf) = 1.13.10 python2dist(pymupdf) = 1.13.10 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: ld-linux-riscv64-lp64d.so.1()(64bit) ld-linux-riscv64-lp64d.so.1(GLIBC_2.27)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(64bit) libfreetype.so.6()(64bit) libharfbuzz.so.0()(64bit) libjbig2dec.so.0()(64bit) libjpeg.so.62()(64bit) libjpeg.so.62(LIBJPEG_6.2)(64bit) libopenjp2.so.7()(64bit) libpthread.so.0()(64bit) libpthread.so.0(GLIBC_2.27)(64bit) libpython2.7.so.1.0()(64bit) python(abi) = 2.7 rtld(GNU_HASH) Obsoletes: python-PyMuPDF < 1.13.10-1.fc29 Processing files: python3-PyMuPDF-1.13.10-1.fc29.riscv64 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.jN9p0f + umask 022 + cd /builddir/build/BUILD + cd PyMuPDF-1.13.10 + LICENSEDIR=/builddir/build/BUILDROOT/python-PyMuPDF-1.13.10-1.fc29.riscv64/usr/share/licenses/python3-PyMuPDF + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/python-PyMuPDF-1.13.10-1.fc29.riscv64/usr/share/licenses/python3-PyMuPDF + cp -pr COPYING /builddir/build/BUILDROOT/python-PyMuPDF-1.13.10-1.fc29.riscv64/usr/share/licenses/python3-PyMuPDF + cp -pr 'GNU AFFERO GPL V3' /builddir/build/BUILDROOT/python-PyMuPDF-1.13.10-1.fc29.riscv64/usr/share/licenses/python3-PyMuPDF + exit 0 Provides: python3-PyMuPDF = 1.13.10-1.fc29 python3-PyMuPDF(riscv-64) = 1.13.10-1.fc29 python3.6dist(pymupdf) = 1.13.10 python3dist(pymupdf) = 1.13.10 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: ld-linux-riscv64-lp64d.so.1()(64bit) ld-linux-riscv64-lp64d.so.1(GLIBC_2.27)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(64bit) libfreetype.so.6()(64bit) libharfbuzz.so.0()(64bit) libjbig2dec.so.0()(64bit) libjpeg.so.62()(64bit) libjpeg.so.62(LIBJPEG_6.2)(64bit) libopenjp2.so.7()(64bit) libpthread.so.0()(64bit) libpthread.so.0(GLIBC_2.27)(64bit) libpython3.6m.so.1.0()(64bit) python(abi) = 3.6 rtld(GNU_HASH) Processing files: python-PyMuPDF-doc-1.13.10-1.fc29.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.k0pI3V + umask 022 + cd /builddir/build/BUILD + cd PyMuPDF-1.13.10 + DOCDIR=/builddir/build/BUILDROOT/python-PyMuPDF-1.13.10-1.fc29.riscv64/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.13.10-1.fc29.riscv64/usr/share/doc/python-PyMuPDF-doc + cp -pr demo /builddir/build/BUILDROOT/python-PyMuPDF-1.13.10-1.fc29.riscv64/usr/share/doc/python-PyMuPDF-doc + cp -pr doc/PyMuPDF.pdf /builddir/build/BUILDROOT/python-PyMuPDF-1.13.10-1.fc29.riscv64/usr/share/doc/python-PyMuPDF-doc + cp -pr examples /builddir/build/BUILDROOT/python-PyMuPDF-1.13.10-1.fc29.riscv64/usr/share/doc/python-PyMuPDF-doc + cp -pr README.md /builddir/build/BUILDROOT/python-PyMuPDF-1.13.10-1.fc29.riscv64/usr/share/doc/python-PyMuPDF-doc + exit 0 Provides: python-PyMuPDF-doc = 1.13.10-1.fc29 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.13.10-1.fc29.riscv64 Provides: python-PyMuPDF-debugsource = 1.13.10-1.fc29 python-PyMuPDF-debugsource(riscv-64) = 1.13.10-1.fc29 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: python-PyMuPDF-debuginfo-1.13.10-1.fc29.riscv64 Provides: python-PyMuPDF-debuginfo = 1.13.10-1.fc29 python-PyMuPDF-debuginfo(riscv-64) = 1.13.10-1.fc29 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: python-PyMuPDF-debugsource(riscv-64) = 1.13.10-1.fc29 Processing files: python2-PyMuPDF-debuginfo-1.13.10-1.fc29.riscv64 Provides: debuginfo(build-id) = bff2af1109398b82657b7dc2125fa844855b0a33 python2-PyMuPDF-debuginfo = 1.13.10-1.fc29 python2-PyMuPDF-debuginfo(riscv-64) = 1.13.10-1.fc29 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: python-PyMuPDF-debugsource(riscv-64) = 1.13.10-1.fc29 Processing files: python3-PyMuPDF-debuginfo-1.13.10-1.fc29.riscv64 Provides: debuginfo(build-id) = 562fd49286cf37564665c1f51c58a0fbf8cafb76 python3-PyMuPDF-debuginfo = 1.13.10-1.fc29 python3-PyMuPDF-debuginfo(riscv-64) = 1.13.10-1.fc29 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: python-PyMuPDF-debugsource(riscv-64) = 1.13.10-1.fc29 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/python-PyMuPDF-1.13.10-1.fc29.riscv64 Wrote: /builddir/build/RPMS/python2-PyMuPDF-1.13.10-1.fc29.riscv64.rpm Wrote: /builddir/build/RPMS/python3-PyMuPDF-1.13.10-1.fc29.riscv64.rpm Wrote: /builddir/build/RPMS/python-PyMuPDF-doc-1.13.10-1.fc29.noarch.rpm Wrote: /builddir/build/RPMS/python-PyMuPDF-debugsource-1.13.10-1.fc29.riscv64.rpm Wrote: /builddir/build/RPMS/python-PyMuPDF-debuginfo-1.13.10-1.fc29.riscv64.rpm Wrote: /builddir/build/RPMS/python2-PyMuPDF-debuginfo-1.13.10-1.fc29.riscv64.rpm Wrote: /builddir/build/RPMS/python3-PyMuPDF-debuginfo-1.13.10-1.fc29.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.ad3baS + umask 022 + cd /builddir/build/BUILD + cd PyMuPDF-1.13.10 + /usr/bin/rm -rf /builddir/build/BUILDROOT/python-PyMuPDF-1.13.10-1.fc29.riscv64 + exit 0 Child return code was: 0