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-11896-5480/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.9-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-11896-5480/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.JSUrcY + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf PyMuPDF-1.13.9 + /usr/bin/gzip -dc /builddir/build/SOURCES/PyMuPDF-1.13.9.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd PyMuPDF-1.13.9 + /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.hX3Njv + umask 022 + cd /builddir/build/BUILD + cd PyMuPDF-1.13.9 + 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:3435: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:3543: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:3544: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:3545: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:3546: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:3547: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:3548: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:3549: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:3550: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:3556: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:3563: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:3918: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:3993: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:4071: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:4143: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:3832: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:3832: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:5311: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:5564:19: warning: unused variable 'sname' [-Wunused-variable] BUILDSTDERR: char *sname = NULL; BUILDSTDERR: ^~~~~ BUILDSTDERR: fitz/fitz_wrap.c:5561: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:5678: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:5682: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:6007: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:6010: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:5989: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:6104: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:6184: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:6185: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:6186: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:6187: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:6188: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:6189: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:6190: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:6191: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:6197: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:6412: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:3832: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:6490: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:6474: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:6516: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:7031: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:3863: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:7127: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:3765: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:7039:24: warning: unused variable 'name_len' [-Wunused-variable] BUILDSTDERR: Py_ssize_t name_len = 0; BUILDSTDERR: ^~~~~~~~ BUILDSTDERR: fitz/fitz_wrap.c:7037:19: warning: unused variable 'cont' [-Wunused-variable] BUILDSTDERR: char *cont = NULL; BUILDSTDERR: ^~~~ BUILDSTDERR: fitz/fitz_wrap.c:7034:24: warning: unused variable 'c_len' [-Wunused-variable] BUILDSTDERR: Py_ssize_t c_len = 0; BUILDSTDERR: ^~~~~ BUILDSTDERR: fitz/fitz_wrap.c:7028:24: warning: unused variable 'res' [-Wunused-variable] BUILDSTDERR: fz_buffer *res = NULL, *nres = NULL, *imgbuf = NULL; BUILDSTDERR: ^~~ BUILDSTDERR: fitz/fitz_wrap.c:7026: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:7167: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:7170: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:7186: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:7207: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:7627: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:7655: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:7772: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:3863: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:8076: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:3832: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:8476: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:3832: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:8933: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:8991: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:9015: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:9067: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:3435: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:3543: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:3544: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:3545: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:3546: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:3547: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:3548: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:3549: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:3550: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:3556: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:3563: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:3918: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:3993: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:4071: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:4143: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:3832: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:3832: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:5311: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:5564:19: warning: unused variable ‘sname’ [-Wunused-variable] BUILDSTDERR: char *sname = NULL; BUILDSTDERR: ^~~~~ BUILDSTDERR: fitz/fitz_wrap.c:5561: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:5678: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:5682: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:6007: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:6010: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:5989: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:6104: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:6184: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:6185: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:6186: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:6187: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:6188: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:6189: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:6190: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:6191: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:6197: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:6412: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:3832: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:6490: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:6474: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:6516: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:7031: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:3863: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:7127: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:3765: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:7039:24: warning: unused variable ‘name_len’ [-Wunused-variable] BUILDSTDERR: Py_ssize_t name_len = 0; BUILDSTDERR: ^~~~~~~~ BUILDSTDERR: fitz/fitz_wrap.c:7037:19: warning: unused variable ‘cont’ [-Wunused-variable] BUILDSTDERR: char *cont = NULL; BUILDSTDERR: ^~~~ BUILDSTDERR: fitz/fitz_wrap.c:7034:24: warning: unused variable ‘c_len’ [-Wunused-variable] BUILDSTDERR: Py_ssize_t c_len = 0; BUILDSTDERR: ^~~~~ BUILDSTDERR: fitz/fitz_wrap.c:7028:24: warning: unused variable ‘res’ [-Wunused-variable] BUILDSTDERR: fz_buffer *res = NULL, *nres = NULL, *imgbuf = NULL; BUILDSTDERR: ^~~ BUILDSTDERR: fitz/fitz_wrap.c:7026: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:7167: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:7170: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:7186: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:7207: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:7627: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:7655: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:7772: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:3863: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:8076: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:3832: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:8476: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:3832: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:8933: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:8991: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:9015: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:9067: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.wQvhms + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/python-PyMuPDF-1.13.9-1.fc29.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/python-PyMuPDF-1.13.9-1.fc29.riscv64 BUILDSTDERR: ++ dirname /builddir/build/BUILDROOT/python-PyMuPDF-1.13.9-1.fc29.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/python-PyMuPDF-1.13.9-1.fc29.riscv64 + cd PyMuPDF-1.13.9 + 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.9-1.fc29.riscv64 running install running install_lib creating /builddir/build/BUILDROOT/python-PyMuPDF-1.13.9-1.fc29.riscv64/usr creating /builddir/build/BUILDROOT/python-PyMuPDF-1.13.9-1.fc29.riscv64/usr/lib64 creating /builddir/build/BUILDROOT/python-PyMuPDF-1.13.9-1.fc29.riscv64/usr/lib64/python2.7 creating /builddir/build/BUILDROOT/python-PyMuPDF-1.13.9-1.fc29.riscv64/usr/lib64/python2.7/site-packages creating /builddir/build/BUILDROOT/python-PyMuPDF-1.13.9-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.9-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.9-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.9-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.9-1.fc29.riscv64/usr/lib64/python2.7/site-packages/fitz byte-compiling /builddir/build/BUILDROOT/python-PyMuPDF-1.13.9-1.fc29.riscv64/usr/lib64/python2.7/site-packages/fitz/fitz.py to fitz.pyc byte-compiling /builddir/build/BUILDROOT/python-PyMuPDF-1.13.9-1.fc29.riscv64/usr/lib64/python2.7/site-packages/fitz/utils.py to utils.pyc byte-compiling /builddir/build/BUILDROOT/python-PyMuPDF-1.13.9-1.fc29.riscv64/usr/lib64/python2.7/site-packages/fitz/__init__.py to __init__.pyc writing byte-compilation script '/tmp/tmpD_rQsa.py' /usr/bin/python2 -O /tmp/tmpD_rQsa.py removing /tmp/tmpD_rQsa.py running install_egg_info Writing /builddir/build/BUILDROOT/python-PyMuPDF-1.13.9-1.fc29.riscv64/usr/lib64/python2.7/site-packages/PyMuPDF-1.13.9-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.9-1.fc29.riscv64 running install running install_lib creating /builddir/build/BUILDROOT/python-PyMuPDF-1.13.9-1.fc29.riscv64/usr/lib64/python3.6 creating /builddir/build/BUILDROOT/python-PyMuPDF-1.13.9-1.fc29.riscv64/usr/lib64/python3.6/site-packages creating /builddir/build/BUILDROOT/python-PyMuPDF-1.13.9-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.9-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.9-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.9-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.9-1.fc29.riscv64/usr/lib64/python3.6/site-packages/fitz byte-compiling /builddir/build/BUILDROOT/python-PyMuPDF-1.13.9-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.9-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.9-1.fc29.riscv64/usr/lib64/python3.6/site-packages/fitz/__init__.py to __init__.cpython-36.pyc writing byte-compilation script '/tmp/tmpl5dvvrx8.py' /usr/bin/python3 /tmp/tmpl5dvvrx8.py removing /tmp/tmpl5dvvrx8.py running install_egg_info Writing /builddir/build/BUILDROOT/python-PyMuPDF-1.13.9-1.fc29.riscv64/usr/lib64/python3.6/site-packages/PyMuPDF-1.13.9-py3.6.egg-info + /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 1.13.9-1.fc29 --unique-debug-suffix -1.13.9-1.fc29.riscv64 --unique-debug-src-base python-PyMuPDF-1.13.9-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.9 extracting debug info from /builddir/build/BUILDROOT/python-PyMuPDF-1.13.9-1.fc29.riscv64/usr/lib64/python2.7/site-packages/fitz/_fitz.so extracting debug info from /builddir/build/BUILDROOT/python-PyMuPDF-1.13.9-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: 1409 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.9-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.9-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.9-1.fc29.riscv64/usr/lib64/python2.7 using /usr/bin/python2.7 Bytecompiling .py files below /builddir/build/BUILDROOT/python-PyMuPDF-1.13.9-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.9-1.fc29.riscv64 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.fx8VoE + umask 022 + cd /builddir/build/BUILD + cd PyMuPDF-1.13.9 + LICENSEDIR=/builddir/build/BUILDROOT/python-PyMuPDF-1.13.9-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.9-1.fc29.riscv64/usr/share/licenses/python2-PyMuPDF + cp -pr COPYING /builddir/build/BUILDROOT/python-PyMuPDF-1.13.9-1.fc29.riscv64/usr/share/licenses/python2-PyMuPDF + cp -pr 'GNU AFFERO GPL V3' /builddir/build/BUILDROOT/python-PyMuPDF-1.13.9-1.fc29.riscv64/usr/share/licenses/python2-PyMuPDF + exit 0 Provides: python-PyMuPDF = 1.13.9-1.fc29 python-PyMuPDF(riscv-64) = 1.13.9-1.fc29 python2-PyMuPDF = 1.13.9-1.fc29 python2-PyMuPDF(riscv-64) = 1.13.9-1.fc29 python2.7dist(pymupdf) = 1.13.9 python2dist(pymupdf) = 1.13.9 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.9-1.fc29 Processing files: python3-PyMuPDF-1.13.9-1.fc29.riscv64 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.XV5yFz + umask 022 + cd /builddir/build/BUILD + cd PyMuPDF-1.13.9 + LICENSEDIR=/builddir/build/BUILDROOT/python-PyMuPDF-1.13.9-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.9-1.fc29.riscv64/usr/share/licenses/python3-PyMuPDF + cp -pr COPYING /builddir/build/BUILDROOT/python-PyMuPDF-1.13.9-1.fc29.riscv64/usr/share/licenses/python3-PyMuPDF + cp -pr 'GNU AFFERO GPL V3' /builddir/build/BUILDROOT/python-PyMuPDF-1.13.9-1.fc29.riscv64/usr/share/licenses/python3-PyMuPDF + exit 0 Provides: python3-PyMuPDF = 1.13.9-1.fc29 python3-PyMuPDF(riscv-64) = 1.13.9-1.fc29 python3.6dist(pymupdf) = 1.13.9 python3dist(pymupdf) = 1.13.9 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.9-1.fc29.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.GNpYpc + umask 022 + cd /builddir/build/BUILD + cd PyMuPDF-1.13.9 + DOCDIR=/builddir/build/BUILDROOT/python-PyMuPDF-1.13.9-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.9-1.fc29.riscv64/usr/share/doc/python-PyMuPDF-doc + cp -pr demo /builddir/build/BUILDROOT/python-PyMuPDF-1.13.9-1.fc29.riscv64/usr/share/doc/python-PyMuPDF-doc + cp -pr doc/PyMuPDF.pdf /builddir/build/BUILDROOT/python-PyMuPDF-1.13.9-1.fc29.riscv64/usr/share/doc/python-PyMuPDF-doc + cp -pr examples /builddir/build/BUILDROOT/python-PyMuPDF-1.13.9-1.fc29.riscv64/usr/share/doc/python-PyMuPDF-doc + cp -pr README.md /builddir/build/BUILDROOT/python-PyMuPDF-1.13.9-1.fc29.riscv64/usr/share/doc/python-PyMuPDF-doc + exit 0 Provides: python-PyMuPDF-doc = 1.13.9-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.9-1.fc29.riscv64 Provides: python-PyMuPDF-debugsource = 1.13.9-1.fc29 python-PyMuPDF-debugsource(riscv-64) = 1.13.9-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.9-1.fc29.riscv64 Provides: python-PyMuPDF-debuginfo = 1.13.9-1.fc29 python-PyMuPDF-debuginfo(riscv-64) = 1.13.9-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.9-1.fc29 Processing files: python2-PyMuPDF-debuginfo-1.13.9-1.fc29.riscv64 Provides: debuginfo(build-id) = 37572079549766877efdea9e559e3247af7b50e4 python2-PyMuPDF-debuginfo = 1.13.9-1.fc29 python2-PyMuPDF-debuginfo(riscv-64) = 1.13.9-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.9-1.fc29 Processing files: python3-PyMuPDF-debuginfo-1.13.9-1.fc29.riscv64 Provides: debuginfo(build-id) = 120483d1550b675e2c37c5e9d3adcbfd814b9786 python3-PyMuPDF-debuginfo = 1.13.9-1.fc29 python3-PyMuPDF-debuginfo(riscv-64) = 1.13.9-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.9-1.fc29 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/python-PyMuPDF-1.13.9-1.fc29.riscv64 Wrote: /builddir/build/RPMS/python2-PyMuPDF-1.13.9-1.fc29.riscv64.rpm Wrote: /builddir/build/RPMS/python3-PyMuPDF-1.13.9-1.fc29.riscv64.rpm Wrote: /builddir/build/RPMS/python-PyMuPDF-doc-1.13.9-1.fc29.noarch.rpm Wrote: /builddir/build/RPMS/python-PyMuPDF-debugsource-1.13.9-1.fc29.riscv64.rpm Wrote: /builddir/build/RPMS/python-PyMuPDF-debuginfo-1.13.9-1.fc29.riscv64.rpm Wrote: /builddir/build/RPMS/python2-PyMuPDF-debuginfo-1.13.9-1.fc29.riscv64.rpm Wrote: /builddir/build/RPMS/python3-PyMuPDF-debuginfo-1.13.9-1.fc29.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.ebeKEr + umask 022 + cd /builddir/build/BUILD + cd PyMuPDF-1.13.9 + /usr/bin/rm -rf /builddir/build/BUILDROOT/python-PyMuPDF-1.13.9-1.fc29.riscv64 + exit 0 Child return code was: 0