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-25774-13413/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.16-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-25774-13413/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.mbzvgt + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf PyMuPDF-1.13.16 + /usr/bin/gzip -dc /builddir/build/SOURCES/PyMuPDF-1.13.16.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd PyMuPDF-1.13.16 + /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.LNBFeA + umask 022 + cd /builddir/build/BUILD + cd PyMuPDF-1.13.16 + 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_update_stream': BUILDSTDERR: fitz/fitz_wrap.c:3128:42: warning: passing argument 3 of 'fz_buffer_storage' from incompatible pointer type [-Wincompatible-pointer-types] BUILDSTDERR: len = fz_buffer_storage(ctx, buffer, &data); 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:3066: 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:3132:35: warning: pointer targets in passing argument 2 of 'JM_deflatebuf' differ in signedness [-Wpointer-sign] BUILDSTDERR: nres = JM_deflatebuf(ctx, data, len); BUILDSTDERR: ^~~~ BUILDSTDERR: fitz/fitz_wrap.c:3092: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 'page_merge': BUILDSTDERR: fitz/fitz_wrap.c:3275: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:3350: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:3429:11: warning: variable 'ext' set but not used [-Wunused-but-set-variable] BUILDSTDERR: char *ext = ""; BUILDSTDERR: ^~~ BUILDSTDERR: fitz/fitz_wrap.c: In function 'JM_AnnotCircleOrRect': BUILDSTDERR: fitz/fitz_wrap.c:3799:23: warning: unused variable 'pdf' [-Wunused-variable] BUILDSTDERR: pdf_document *pdf = page->doc; BUILDSTDERR: ^~~ BUILDSTDERR: fitz/fitz_wrap.c: In function 'JM_extract_stext_imageblock_as_dict': BUILDSTDERR: fitz/fitz_wrap.c:4201: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:4202: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:4203: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:4204: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:4205: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:4206: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:4207: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:4208: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:4214: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:4221: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 'JM_set_widget_properties': BUILDSTDERR: fitz/fitz_wrap.c:4566:9: warning: variable 'result' set but not used [-Wunused-but-set-variable] BUILDSTDERR: int result = 0; BUILDSTDERR: ^~~~~~ BUILDSTDERR: fitz/fitz_wrap.c:4403:32: warning: unused variable 'text_col' [-Wunused-variable] BUILDSTDERR: pdf_obj *fill_col = NULL, *text_col = NULL, *border_col = NULL; BUILDSTDERR: ^~~~~~~~ BUILDSTDERR: fitz/fitz_wrap.c: In function 'JM_make_ap_object': BUILDSTDERR: fitz/fitz_wrap.c:5267:58: warning: pointer targets in passing argument 2 of 'fz_new_buffer_from_copied_data' differ in signedness [-Wpointer-sign] BUILDSTDERR: contbuffer = fz_new_buffer_from_copied_data(ctx, c, strlen(c)); 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:3066: BUILDSTDERR: /usr/include/mupdf/fitz/buffer.h:75:1: note: expected 'const unsigned char *' but argument is of type 'char *' BUILDSTDERR: fz_new_buffer_from_copied_data(fz_context *ctx, const unsigned char *data, size_t size); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: fitz/fitz_wrap.c:5242:33: warning: unused variable 'extgstate' [-Wunused-variable] BUILDSTDERR: pdf_obj *xobj, *ca = NULL, *extgstate = NULL; BUILDSTDERR: ^~~~~~~~~ BUILDSTDERR: fitz/fitz_wrap.c: In function 'new_fz_document_s': BUILDSTDERR: fitz/fitz_wrap.c:5872: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:3066: 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:6082:19: warning: unused variable 'sname' [-Wunused-variable] BUILDSTDERR: char *sname = NULL; BUILDSTDERR: ^~~~~ BUILDSTDERR: fitz/fitz_wrap.c:6079: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_embeddedFileUpd': BUILDSTDERR: fitz/fitz_wrap.c:6146:64: warning: pointer targets in passing argument 2 of 'fz_new_buffer_from_copied_data' differ in signedness [-Wpointer-sign] BUILDSTDERR: res = fz_new_buffer_from_copied_data(gctx, data, len); 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:3066: BUILDSTDERR: /usr/include/mupdf/fitz/buffer.h:75:1: note: expected 'const unsigned char *' but argument is of type 'char *' BUILDSTDERR: fz_new_buffer_from_copied_data(fz_context *ctx, const unsigned char *data, size_t size); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: fitz/fitz_wrap.c: In function 'fz_document_s_embeddedFileAdd': BUILDSTDERR: fitz/fitz_wrap.c:6238:61: warning: pointer targets in passing argument 2 of 'fz_new_buffer_from_copied_data' differ in signedness [-Wpointer-sign] BUILDSTDERR: data = fz_new_buffer_from_copied_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:3066: BUILDSTDERR: /usr/include/mupdf/fitz/buffer.h:75:1: note: expected 'const unsigned char *' but argument is of type 'char *' BUILDSTDERR: fz_new_buffer_from_copied_data(fz_context *ctx, const unsigned char *data, size_t size); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: fitz/fitz_wrap.c: In function 'fz_document_s__getCharWidths': BUILDSTDERR: fitz/fitz_wrap.c:6572: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:6575: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:3066: 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:6554: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:6671: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:6750: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:6751: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:6752: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:6753: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:6754: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:6755: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:6756: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:6757: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:6763: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:7017:60: warning: pointer targets in passing argument 2 of 'fz_new_buffer_from_copied_data' differ in signedness [-Wpointer-sign] BUILDSTDERR: res = fz_new_buffer_from_copied_data(gctx, c, len); 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:3066: BUILDSTDERR: /usr/include/mupdf/fitz/buffer.h:75:1: note: expected 'const unsigned char *' but argument is of type 'char *' BUILDSTDERR: fz_new_buffer_from_copied_data(fz_context *ctx, const unsigned char *data, size_t size); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: fitz/fitz_wrap.c: In function 'fz_page_s_getSVGimage': BUILDSTDERR: fitz/fitz_wrap.c:7080: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:7120:31: warning: unused variable 'pdf' [-Wunused-variable] BUILDSTDERR: pdf_document *pdf = page->doc; BUILDSTDERR: ^~~ BUILDSTDERR: fitz/fitz_wrap.c: In function 'fz_page_s_addFileAnnot': BUILDSTDERR: fitz/fitz_wrap.c:7171:64: warning: pointer targets in passing argument 2 of 'fz_new_buffer_from_shared_data' differ in signedness [-Wpointer-sign] BUILDSTDERR: filebuf = fz_new_buffer_from_shared_data(gctx, data, len); 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:3066: 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_page_s_insertImage': BUILDSTDERR: fitz/fitz_wrap.c:7685: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:3219: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:7689:24: warning: unused variable 'name_len' [-Wunused-variable] BUILDSTDERR: Py_ssize_t name_len = 0; BUILDSTDERR: ^~~~~~~~ BUILDSTDERR: fitz/fitz_wrap.c:7688:19: warning: unused variable 'cont' [-Wunused-variable] BUILDSTDERR: char *cont = NULL; BUILDSTDERR: ^~~~ BUILDSTDERR: fitz/fitz_wrap.c:7682:24: warning: unused variable 'res' [-Wunused-variable] BUILDSTDERR: fz_buffer *res = NULL, *nres = NULL, *imgbuf = NULL; BUILDSTDERR: ^~~ BUILDSTDERR: fitz/fitz_wrap.c:7680: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:7814: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:7817: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:3066: 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:7833: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:3066: 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:7854: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:8267: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:3066: 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:8295: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:3066: 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:8412: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:3219: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:8717:60: warning: pointer targets in passing argument 2 of 'fz_new_buffer_from_copied_data' differ in signedness [-Wpointer-sign] BUILDSTDERR: res = fz_new_buffer_from_copied_data(gctx, c, len); 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:3066: BUILDSTDERR: /usr/include/mupdf/fitz/buffer.h:75:1: note: expected 'const unsigned char *' but argument is of type 'char *' BUILDSTDERR: fz_new_buffer_from_copied_data(fz_context *ctx, const unsigned char *data, size_t size); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: fitz/fitz_wrap.c: In function 'fz_annot_s_fileUpd': BUILDSTDERR: fitz/fitz_wrap.c:9167:47: 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:3092: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__updateWidget': BUILDSTDERR: fitz/fitz_wrap.c:9475:27: warning: unused variable 'pdf' [-Wunused-variable] BUILDSTDERR: pdf_document *pdf = pdf_get_bound_document(gctx, annot->obj); BUILDSTDERR: ^~~ BUILDSTDERR: fitz/fitz_wrap.c: In function 'fz_document_s_embeddedFileDel': BUILDSTDERR: fitz/fitz_wrap.c:6075:20: warning: 'm' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: return m; 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.7 creating build/lib.linux-riscv64-3.7/fitz copying fitz/__init__.py -> build/lib.linux-riscv64-3.7/fitz copying fitz/fitz.py -> build/lib.linux-riscv64-3.7/fitz copying fitz/utils.py -> build/lib.linux-riscv64-3.7/fitz running build_ext building 'fitz._fitz' extension creating build/temp.linux-riscv64-3.7 creating build/temp.linux-riscv64-3.7/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.7m -c fitz/fitz_wrap.c -o build/temp.linux-riscv64-3.7/fitz/fitz_wrap.o BUILDSTDERR: fitz/fitz_wrap.c: In function ‘JM_update_stream’: BUILDSTDERR: fitz/fitz_wrap.c:3128:42: warning: passing argument 3 of ‘fz_buffer_storage’ from incompatible pointer type [-Wincompatible-pointer-types] BUILDSTDERR: len = fz_buffer_storage(ctx, buffer, &data); 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:3066: 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:3132:35: warning: pointer targets in passing argument 2 of ‘JM_deflatebuf’ differ in signedness [-Wpointer-sign] BUILDSTDERR: nres = JM_deflatebuf(ctx, data, len); BUILDSTDERR: ^~~~ BUILDSTDERR: fitz/fitz_wrap.c:3092: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 ‘page_merge’: BUILDSTDERR: fitz/fitz_wrap.c:3275: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:3350: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:3429:11: warning: variable ‘ext’ set but not used [-Wunused-but-set-variable] BUILDSTDERR: char *ext = ""; BUILDSTDERR: ^~~ BUILDSTDERR: fitz/fitz_wrap.c: In function ‘JM_AnnotCircleOrRect’: BUILDSTDERR: fitz/fitz_wrap.c:3799:23: warning: unused variable ‘pdf’ [-Wunused-variable] BUILDSTDERR: pdf_document *pdf = page->doc; BUILDSTDERR: ^~~ BUILDSTDERR: fitz/fitz_wrap.c: In function ‘JM_extract_stext_imageblock_as_dict’: BUILDSTDERR: fitz/fitz_wrap.c:4201: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.7m/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:4202: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.7m/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:4203: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.7m/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:4204: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.7m/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:4205: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.7m/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:4206: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.7m/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:4207: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.7m/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:4208: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.7m/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:4214: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.7m/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:4221: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.7m/Python.h:80, BUILDSTDERR: from fitz/fitz_wrap.c:149: BUILDSTDERR: /usr/include/python3.7m/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 ‘JM_set_widget_properties’: BUILDSTDERR: fitz/fitz_wrap.c:4566:9: warning: variable ‘result’ set but not used [-Wunused-but-set-variable] BUILDSTDERR: int result = 0; BUILDSTDERR: ^~~~~~ BUILDSTDERR: fitz/fitz_wrap.c:4403:32: warning: unused variable ‘text_col’ [-Wunused-variable] BUILDSTDERR: pdf_obj *fill_col = NULL, *text_col = NULL, *border_col = NULL; BUILDSTDERR: ^~~~~~~~ BUILDSTDERR: fitz/fitz_wrap.c: In function ‘JM_make_ap_object’: BUILDSTDERR: fitz/fitz_wrap.c:5267:58: warning: pointer targets in passing argument 2 of ‘fz_new_buffer_from_copied_data’ differ in signedness [-Wpointer-sign] BUILDSTDERR: contbuffer = fz_new_buffer_from_copied_data(ctx, c, strlen(c)); 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:3066: BUILDSTDERR: /usr/include/mupdf/fitz/buffer.h:75:1: note: expected ‘const unsigned char *’ but argument is of type ‘char *’ BUILDSTDERR: fz_new_buffer_from_copied_data(fz_context *ctx, const unsigned char *data, size_t size); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: fitz/fitz_wrap.c:5242:33: warning: unused variable ‘extgstate’ [-Wunused-variable] BUILDSTDERR: pdf_obj *xobj, *ca = NULL, *extgstate = NULL; BUILDSTDERR: ^~~~~~~~~ BUILDSTDERR: fitz/fitz_wrap.c: In function ‘new_fz_document_s’: BUILDSTDERR: fitz/fitz_wrap.c:5872: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:3066: 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:6082:19: warning: unused variable ‘sname’ [-Wunused-variable] BUILDSTDERR: char *sname = NULL; BUILDSTDERR: ^~~~~ BUILDSTDERR: fitz/fitz_wrap.c:6079: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_embeddedFileUpd’: BUILDSTDERR: fitz/fitz_wrap.c:6146:64: warning: pointer targets in passing argument 2 of ‘fz_new_buffer_from_copied_data’ differ in signedness [-Wpointer-sign] BUILDSTDERR: res = fz_new_buffer_from_copied_data(gctx, data, len); 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:3066: BUILDSTDERR: /usr/include/mupdf/fitz/buffer.h:75:1: note: expected ‘const unsigned char *’ but argument is of type ‘char *’ BUILDSTDERR: fz_new_buffer_from_copied_data(fz_context *ctx, const unsigned char *data, size_t size); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: fitz/fitz_wrap.c: In function ‘fz_document_s_embeddedFileAdd’: BUILDSTDERR: fitz/fitz_wrap.c:6238:61: warning: pointer targets in passing argument 2 of ‘fz_new_buffer_from_copied_data’ differ in signedness [-Wpointer-sign] BUILDSTDERR: data = fz_new_buffer_from_copied_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:3066: BUILDSTDERR: /usr/include/mupdf/fitz/buffer.h:75:1: note: expected ‘const unsigned char *’ but argument is of type ‘char *’ BUILDSTDERR: fz_new_buffer_from_copied_data(fz_context *ctx, const unsigned char *data, size_t size); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: fitz/fitz_wrap.c: In function ‘fz_document_s__getCharWidths’: BUILDSTDERR: fitz/fitz_wrap.c:6572: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:6575: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:3066: 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:6554: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:6671: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:6750: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.7m/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:6751: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.7m/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:6752: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.7m/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:6753: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.7m/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:6754: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.7m/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:6755: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.7m/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:6756: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.7m/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:6757: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.7m/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:6763: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.7m/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:7017:60: warning: pointer targets in passing argument 2 of ‘fz_new_buffer_from_copied_data’ differ in signedness [-Wpointer-sign] BUILDSTDERR: res = fz_new_buffer_from_copied_data(gctx, c, len); 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:3066: BUILDSTDERR: /usr/include/mupdf/fitz/buffer.h:75:1: note: expected ‘const unsigned char *’ but argument is of type ‘char *’ BUILDSTDERR: fz_new_buffer_from_copied_data(fz_context *ctx, const unsigned char *data, size_t size); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: fitz/fitz_wrap.c: In function ‘fz_page_s_getSVGimage’: BUILDSTDERR: fitz/fitz_wrap.c:7080: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:7120:31: warning: unused variable ‘pdf’ [-Wunused-variable] BUILDSTDERR: pdf_document *pdf = page->doc; BUILDSTDERR: ^~~ BUILDSTDERR: fitz/fitz_wrap.c: In function ‘fz_page_s_addFileAnnot’: BUILDSTDERR: fitz/fitz_wrap.c:7171:64: warning: pointer targets in passing argument 2 of ‘fz_new_buffer_from_shared_data’ differ in signedness [-Wpointer-sign] BUILDSTDERR: filebuf = fz_new_buffer_from_shared_data(gctx, data, len); 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:3066: 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_page_s_insertImage’: BUILDSTDERR: fitz/fitz_wrap.c:7685: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:3219: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:7689:24: warning: unused variable ‘name_len’ [-Wunused-variable] BUILDSTDERR: Py_ssize_t name_len = 0; BUILDSTDERR: ^~~~~~~~ BUILDSTDERR: fitz/fitz_wrap.c:7688:19: warning: unused variable ‘cont’ [-Wunused-variable] BUILDSTDERR: char *cont = NULL; BUILDSTDERR: ^~~~ BUILDSTDERR: fitz/fitz_wrap.c:7682:24: warning: unused variable ‘res’ [-Wunused-variable] BUILDSTDERR: fz_buffer *res = NULL, *nres = NULL, *imgbuf = NULL; BUILDSTDERR: ^~~ BUILDSTDERR: fitz/fitz_wrap.c:7680: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:7814: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:7817: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:3066: 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:7833: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:3066: 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:7854: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:8267: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:3066: 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:8295: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:3066: 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:8412: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:3219: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:8717:60: warning: pointer targets in passing argument 2 of ‘fz_new_buffer_from_copied_data’ differ in signedness [-Wpointer-sign] BUILDSTDERR: res = fz_new_buffer_from_copied_data(gctx, c, len); 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:3066: BUILDSTDERR: /usr/include/mupdf/fitz/buffer.h:75:1: note: expected ‘const unsigned char *’ but argument is of type ‘char *’ BUILDSTDERR: fz_new_buffer_from_copied_data(fz_context *ctx, const unsigned char *data, size_t size); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: fitz/fitz_wrap.c: In function ‘fz_annot_s_fileUpd’: BUILDSTDERR: fitz/fitz_wrap.c:9167:47: 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:3092: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__updateWidget’: BUILDSTDERR: fitz/fitz_wrap.c:9475:27: warning: unused variable ‘pdf’ [-Wunused-variable] BUILDSTDERR: pdf_document *pdf = pdf_get_bound_document(gctx, annot->obj); BUILDSTDERR: ^~~ BUILDSTDERR: fitz/fitz_wrap.c: In function ‘fz_document_s_embeddedFileDel’: BUILDSTDERR: fitz/fitz_wrap.c:6075:20: warning: ‘m’ may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: return m; BUILDSTDERR: ^ gcc -pthread -shared -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -g -flto -fuse-linker-plugin -ffat-lto-objects -flto-partition=none -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.7/fitz/fitz_wrap.o -L/usr/lib64 -lmupdf -lmupdfthird -ljbig2dec -lopenjp2 -ljpeg -lfreetype -lharfbuzz -lpython3.7m -o build/lib.linux-riscv64-3.7/fitz/_fitz.cpython-37m-riscv64-linux-gnu.so + sleep 1 + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.XeBSs4 + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/python-PyMuPDF-1.13.16-1.fc29.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/python-PyMuPDF-1.13.16-1.fc29.riscv64 BUILDSTDERR: ++ dirname /builddir/build/BUILDROOT/python-PyMuPDF-1.13.16-1.fc29.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/python-PyMuPDF-1.13.16-1.fc29.riscv64 + cd PyMuPDF-1.13.16 + 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.16-1.fc29.riscv64 running install running install_lib creating /builddir/build/BUILDROOT/python-PyMuPDF-1.13.16-1.fc29.riscv64/usr creating /builddir/build/BUILDROOT/python-PyMuPDF-1.13.16-1.fc29.riscv64/usr/lib64 creating /builddir/build/BUILDROOT/python-PyMuPDF-1.13.16-1.fc29.riscv64/usr/lib64/python2.7 creating /builddir/build/BUILDROOT/python-PyMuPDF-1.13.16-1.fc29.riscv64/usr/lib64/python2.7/site-packages creating /builddir/build/BUILDROOT/python-PyMuPDF-1.13.16-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.16-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.16-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.16-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.16-1.fc29.riscv64/usr/lib64/python2.7/site-packages/fitz byte-compiling /builddir/build/BUILDROOT/python-PyMuPDF-1.13.16-1.fc29.riscv64/usr/lib64/python2.7/site-packages/fitz/fitz.py to fitz.pyc byte-compiling /builddir/build/BUILDROOT/python-PyMuPDF-1.13.16-1.fc29.riscv64/usr/lib64/python2.7/site-packages/fitz/utils.py to utils.pyc byte-compiling /builddir/build/BUILDROOT/python-PyMuPDF-1.13.16-1.fc29.riscv64/usr/lib64/python2.7/site-packages/fitz/__init__.py to __init__.pyc writing byte-compilation script '/tmp/tmpOq0xsa.py' /usr/bin/python2 -O /tmp/tmpOq0xsa.py removing /tmp/tmpOq0xsa.py running install_egg_info Writing /builddir/build/BUILDROOT/python-PyMuPDF-1.13.16-1.fc29.riscv64/usr/lib64/python2.7/site-packages/PyMuPDF-1.13.16-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.16-1.fc29.riscv64 running install running install_lib creating /builddir/build/BUILDROOT/python-PyMuPDF-1.13.16-1.fc29.riscv64/usr/lib64/python3.7 creating /builddir/build/BUILDROOT/python-PyMuPDF-1.13.16-1.fc29.riscv64/usr/lib64/python3.7/site-packages creating /builddir/build/BUILDROOT/python-PyMuPDF-1.13.16-1.fc29.riscv64/usr/lib64/python3.7/site-packages/fitz copying build/lib.linux-riscv64-3.7/fitz/_fitz.cpython-37m-riscv64-linux-gnu.so -> /builddir/build/BUILDROOT/python-PyMuPDF-1.13.16-1.fc29.riscv64/usr/lib64/python3.7/site-packages/fitz copying build/lib.linux-riscv64-3.7/fitz/fitz.py -> /builddir/build/BUILDROOT/python-PyMuPDF-1.13.16-1.fc29.riscv64/usr/lib64/python3.7/site-packages/fitz copying build/lib.linux-riscv64-3.7/fitz/utils.py -> /builddir/build/BUILDROOT/python-PyMuPDF-1.13.16-1.fc29.riscv64/usr/lib64/python3.7/site-packages/fitz copying build/lib.linux-riscv64-3.7/fitz/__init__.py -> /builddir/build/BUILDROOT/python-PyMuPDF-1.13.16-1.fc29.riscv64/usr/lib64/python3.7/site-packages/fitz byte-compiling /builddir/build/BUILDROOT/python-PyMuPDF-1.13.16-1.fc29.riscv64/usr/lib64/python3.7/site-packages/fitz/fitz.py to fitz.cpython-37.pyc byte-compiling /builddir/build/BUILDROOT/python-PyMuPDF-1.13.16-1.fc29.riscv64/usr/lib64/python3.7/site-packages/fitz/utils.py to utils.cpython-37.pyc byte-compiling /builddir/build/BUILDROOT/python-PyMuPDF-1.13.16-1.fc29.riscv64/usr/lib64/python3.7/site-packages/fitz/__init__.py to __init__.cpython-37.pyc writing byte-compilation script '/tmp/tmphlgl1ux4.py' /usr/bin/python3 /tmp/tmphlgl1ux4.py removing /tmp/tmphlgl1ux4.py running install_egg_info Writing /builddir/build/BUILDROOT/python-PyMuPDF-1.13.16-1.fc29.riscv64/usr/lib64/python3.7/site-packages/PyMuPDF-1.13.16-py3.7.egg-info + /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 1.13.16-1.fc29 --unique-debug-suffix -1.13.16-1.fc29.riscv64 --unique-debug-src-base python-PyMuPDF-1.13.16-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.16 explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/python-PyMuPDF-1.13.16-1.fc29.riscv64/usr/lib64/python2.7/site-packages/fitz/_fitz.so explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/python-PyMuPDF-1.13.16-1.fc29.riscv64/usr/lib64/python3.7/site-packages/fitz/_fitz.cpython-37m-riscv64-linux-gnu.so extracting debug info from /builddir/build/BUILDROOT/python-PyMuPDF-1.13.16-1.fc29.riscv64/usr/lib64/python3.7/site-packages/fitz/_fitz.cpython-37m-riscv64-linux-gnu.so extracting debug info from /builddir/build/BUILDROOT/python-PyMuPDF-1.13.16-1.fc29.riscv64/usr/lib64/python2.7/site-packages/fitz/_fitz.so /usr/lib/rpm/sepdebugcrcfix: Updated 2 CRC32s, 0 CRC32s did match. BUILDSTDERR: 1513 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 1 Bytecompiling .py files below /builddir/build/BUILDROOT/python-PyMuPDF-1.13.16-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.16-1.fc29.riscv64/usr/lib/debug/usr/lib64/python3.7 using /usr/bin/python3.7 Bytecompiling .py files below /builddir/build/BUILDROOT/python-PyMuPDF-1.13.16-1.fc29.riscv64/usr/lib64/python2.7 using /usr/bin/python2.7 Bytecompiling .py files below /builddir/build/BUILDROOT/python-PyMuPDF-1.13.16-1.fc29.riscv64/usr/lib64/python3.7 using /usr/bin/python3.7 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Processing files: python2-PyMuPDF-1.13.16-1.fc29.riscv64 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.TGHEJd + umask 022 + cd /builddir/build/BUILD + cd PyMuPDF-1.13.16 + LICENSEDIR=/builddir/build/BUILDROOT/python-PyMuPDF-1.13.16-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.16-1.fc29.riscv64/usr/share/licenses/python2-PyMuPDF + cp -pr COPYING /builddir/build/BUILDROOT/python-PyMuPDF-1.13.16-1.fc29.riscv64/usr/share/licenses/python2-PyMuPDF + cp -pr 'GNU AFFERO GPL V3' /builddir/build/BUILDROOT/python-PyMuPDF-1.13.16-1.fc29.riscv64/usr/share/licenses/python2-PyMuPDF + exit 0 Provides: python-PyMuPDF = 1.13.16-1.fc29 python-PyMuPDF(riscv-64) = 1.13.16-1.fc29 python2-PyMuPDF = 1.13.16-1.fc29 python2-PyMuPDF(riscv-64) = 1.13.16-1.fc29 python2.7dist(pymupdf) = 1.13.16 python2dist(pymupdf) = 1.13.16 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PartialHardlinkSets) <= 4.0.4-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: 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.16-1.fc29 Processing files: python3-PyMuPDF-1.13.16-1.fc29.riscv64 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.p87nnZ + umask 022 + cd /builddir/build/BUILD + cd PyMuPDF-1.13.16 + LICENSEDIR=/builddir/build/BUILDROOT/python-PyMuPDF-1.13.16-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.16-1.fc29.riscv64/usr/share/licenses/python3-PyMuPDF + cp -pr COPYING /builddir/build/BUILDROOT/python-PyMuPDF-1.13.16-1.fc29.riscv64/usr/share/licenses/python3-PyMuPDF + cp -pr 'GNU AFFERO GPL V3' /builddir/build/BUILDROOT/python-PyMuPDF-1.13.16-1.fc29.riscv64/usr/share/licenses/python3-PyMuPDF + exit 0 Provides: python3-PyMuPDF = 1.13.16-1.fc29 python3-PyMuPDF(riscv-64) = 1.13.16-1.fc29 python3.7dist(pymupdf) = 1.13.16 python3dist(pymupdf) = 1.13.16 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PartialHardlinkSets) <= 4.0.4-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: 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.7m.so.1.0()(64bit) python(abi) = 3.7 rtld(GNU_HASH) Processing files: python-PyMuPDF-doc-1.13.16-1.fc29.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.6ElFtl + umask 022 + cd /builddir/build/BUILD + cd PyMuPDF-1.13.16 + DOCDIR=/builddir/build/BUILDROOT/python-PyMuPDF-1.13.16-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.16-1.fc29.riscv64/usr/share/doc/python-PyMuPDF-doc + cp -pr demo /builddir/build/BUILDROOT/python-PyMuPDF-1.13.16-1.fc29.riscv64/usr/share/doc/python-PyMuPDF-doc + cp -pr doc/PyMuPDF.pdf /builddir/build/BUILDROOT/python-PyMuPDF-1.13.16-1.fc29.riscv64/usr/share/doc/python-PyMuPDF-doc + cp -pr examples /builddir/build/BUILDROOT/python-PyMuPDF-1.13.16-1.fc29.riscv64/usr/share/doc/python-PyMuPDF-doc + cp -pr README.md /builddir/build/BUILDROOT/python-PyMuPDF-1.13.16-1.fc29.riscv64/usr/share/doc/python-PyMuPDF-doc + exit 0 Provides: python-PyMuPDF-doc = 1.13.16-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.16-1.fc29.riscv64 Provides: python-PyMuPDF-debugsource = 1.13.16-1.fc29 python-PyMuPDF-debugsource(riscv-64) = 1.13.16-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.16-1.fc29.riscv64 Provides: python-PyMuPDF-debuginfo = 1.13.16-1.fc29 python-PyMuPDF-debuginfo(riscv-64) = 1.13.16-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.16-1.fc29 Processing files: python2-PyMuPDF-debuginfo-1.13.16-1.fc29.riscv64 Provides: debuginfo(build-id) = 60d450ecd848a393112db1b04664d68bf9a4d5c7 python2-PyMuPDF-debuginfo = 1.13.16-1.fc29 python2-PyMuPDF-debuginfo(riscv-64) = 1.13.16-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.16-1.fc29 Processing files: python3-PyMuPDF-debuginfo-1.13.16-1.fc29.riscv64 Provides: debuginfo(build-id) = e31abfc3109d51505c041caa268df22a333045de python3-PyMuPDF-debuginfo = 1.13.16-1.fc29 python3-PyMuPDF-debuginfo(riscv-64) = 1.13.16-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.16-1.fc29 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/python-PyMuPDF-1.13.16-1.fc29.riscv64 Wrote: /builddir/build/RPMS/python2-PyMuPDF-1.13.16-1.fc29.riscv64.rpm Wrote: /builddir/build/RPMS/python3-PyMuPDF-1.13.16-1.fc29.riscv64.rpm Wrote: /builddir/build/RPMS/python-PyMuPDF-doc-1.13.16-1.fc29.noarch.rpm Wrote: /builddir/build/RPMS/python-PyMuPDF-debugsource-1.13.16-1.fc29.riscv64.rpm Wrote: /builddir/build/RPMS/python-PyMuPDF-debuginfo-1.13.16-1.fc29.riscv64.rpm Wrote: /builddir/build/RPMS/python2-PyMuPDF-debuginfo-1.13.16-1.fc29.riscv64.rpm Wrote: /builddir/build/RPMS/python3-PyMuPDF-debuginfo-1.13.16-1.fc29.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.6jODkX + umask 022 + cd /builddir/build/BUILD + cd PyMuPDF-1.13.16 + /usr/bin/rm -rf /builddir/build/BUILDROOT/python-PyMuPDF-1.13.16-1.fc29.riscv64 + exit 0 Child return code was: 0