Mock Version: 3.1 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/python-PyMuPDF.spec'], chrootPath='/var/lib/mock/fedora-rawhide-x86_64-1660424136.713451/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=0uid=1000gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.gx7i7z1n:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.gx7i7z1n:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', 'f64f1fdb8e4c40a485251741e6c8aae5', '-D', '/var/lib/mock/fedora-rawhide-x86_64-1660424136.713451/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.gx7i7z1n:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/python-PyMuPDF.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1660262400 Wrote: /builddir/build/SRPMS/python-PyMuPDF-1.20.2-1.fc37.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/python-PyMuPDF.spec'], chrootPath='/var/lib/mock/fedora-rawhide-x86_64-1660424136.713451/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=0uid=1000gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.gx7i7z1n:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.gx7i7z1n:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '4bd871f421fd484b82af65521eea2931', '-D', '/var/lib/mock/fedora-rawhide-x86_64-1660424136.713451/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.gx7i7z1n:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/python-PyMuPDF.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1660262400 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.XbwAj6 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf PyMuPDF-1.20.2 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/PyMuPDF-1.20.2.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd PyMuPDF-1.20.2 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + sed -ie '/or '\''install'\'' in sys.argv/d' setup.py + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.o9n0D4 + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -Wl,-dT,/builddir/build/BUILD/PyMuPDF-1.20.2/.package_note-python-PyMuPDF-1.20.2-1.fc37.x86_64.ld' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + '[' -f /usr/lib/rpm/generate-rpm-note.sh ']' + /usr/lib/rpm/generate-rpm-note.sh python-PyMuPDF 1.20.2-1.fc37 x86_64 + cd PyMuPDF-1.20.2 + export PYMUPDF_SETUP_MUPDF_BUILD= + PYMUPDF_SETUP_MUPDF_BUILD= + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -Wl,-dT,/builddir/build/BUILD/PyMuPDF-1.20.2/.package_note-python-PyMuPDF-1.20.2-1.fc37.x86_64.ld' + /usr/bin/python3 setup.py build '--executable=/usr/bin/python3 -sP' PyMuPDF/setup.py: sys.argv: ['setup.py', 'build', '--executable=/usr/bin/python3 -sP'] PyMuPDF/setup.py: os.getcwd(): /builddir/build/BUILD/PyMuPDF-1.20.2 PyMuPDF/setup.py: __file__: /builddir/build/BUILD/PyMuPDF-1.20.2/setup.py PyMuPDF/setup.py: $PYTHON_ARCH: None PyMuPDF/setup.py: os.environ (48): PyMuPDF/setup.py: CFLAGS: -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection PyMuPDF/setup.py: LDFLAGS: -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -Wl,-dT,/builddir/build/BUILD/PyMuPDF-1.20.2/.package_note-python-PyMuPDF-1.20.2-1.fc37.x86_64.ld PyMuPDF/setup.py: SHELL: /bin/bash PyMuPDF/setup.py: RPM_SOURCE_DIR: /builddir/build/SOURCES PyMuPDF/setup.py: HISTCONTROL: ignoredups PyMuPDF/setup.py: PKG_CONFIG_PATH: :/usr/lib64/pkgconfig:/usr/share/pkgconfig PyMuPDF/setup.py: HOSTNAME: 4bd871f421fd484b82af65521eea2931 PyMuPDF/setup.py: HISTSIZE: 1000 PyMuPDF/setup.py: container_host_version_id: 35 PyMuPDF/setup.py: FFLAGS: -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules PyMuPDF/setup.py: PWD: /builddir/build/BUILD/PyMuPDF-1.20.2 PyMuPDF/setup.py: SOURCE_DATE_EPOCH: 1660262400 PyMuPDF/setup.py: LOGNAME: mockbuild PyMuPDF/setup.py: CXX: g++ PyMuPDF/setup.py: CXXFLAGS: -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection PyMuPDF/setup.py: RPM_ARCH: x86_64 PyMuPDF/setup.py: container: systemd-nspawn PyMuPDF/setup.py: HOME: /builddir PyMuPDF/setup.py: LANG: C PyMuPDF/setup.py: RPM_LD_FLAGS: -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -Wl,-dT,/builddir/build/BUILD/PyMuPDF-1.20.2/.package_note-python-PyMuPDF-1.20.2-1.fc37.x86_64.ld PyMuPDF/setup.py: PROMPT_COMMAND: printf "\033]0;\007" PyMuPDF/setup.py: PYMUPDF_SETUP_MUPDF_BUILD: PyMuPDF/setup.py: RPM_PACKAGE_RELEASE: 1.fc37 PyMuPDF/setup.py: RPM_OS: linux PyMuPDF/setup.py: LT_SYS_LIBRARY_PATH: /usr/lib64: PyMuPDF/setup.py: FCFLAGS: -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules PyMuPDF/setup.py: TERM: vt100 PyMuPDF/setup.py: USER: mockbuild PyMuPDF/setup.py: NOTIFY_SOCKET: /run/host/notify PyMuPDF/setup.py: SHLVL: 1 PyMuPDF/setup.py: RPM_BUILD_DIR: /builddir/build/BUILD PyMuPDF/setup.py: container_host_id: fedora PyMuPDF/setup.py: RPM_OPT_FLAGS: -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection PyMuPDF/setup.py: RPM_DOC_DIR: /usr/share/doc PyMuPDF/setup.py: RPM_PACKAGE_VERSION: 1.20.2 PyMuPDF/setup.py: DEBUGINFOD_URLS: https://debuginfod.fedoraproject.org/ PyMuPDF/setup.py: container_host_variant_id: cloud PyMuPDF/setup.py: CONFIG_SITE: NONE PyMuPDF/setup.py: PATH: /builddir/.local/bin:/builddir/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin PyMuPDF/setup.py: CC: gcc PyMuPDF/setup.py: MAIL: /var/spool/mail/mockbuild PyMuPDF/setup.py: RPM_BUILD_NCPUS: 2 PyMuPDF/setup.py: container_uuid: 12964f3a-771b-4de0-a999-43ee25146d86 PyMuPDF/setup.py: RPM_PACKAGE_NAME: python-PyMuPDF PyMuPDF/setup.py: RPM_BUILD_ROOT: /builddir/build/BUILDROOT/python-PyMuPDF-1.20.2-1.fc37.x86_64 PyMuPDF/setup.py: OLDPWD: /builddir/build/BUILD PyMuPDF/setup.py: _: /usr/bin/python3 PyMuPDF/setup.py: LC_CTYPE: C.UTF-8 PyMuPDF/setup.py: PYMUPDF_SETUP_MUPDF_BUILD="", using system mupdf PyMuPDF/setup.py: mupdf_local=None PyMuPDF/setup.py: Using system mupdf. PyMuPDF/setup.py: sys.platform='linux' PyMuPDF/setup.py: library_dirs=[] PyMuPDF/setup.py: libraries=['mupdf', 'mupdf-third', 'jbig2dec', 'openjp2', 'jpeg', 'freetype', 'gumbo', 'harfbuzz', 'leptonica', 'tesseract'] PyMuPDF/setup.py: include_dirs=['/usr/include/mupdf', '/usr/local/include/mupdf', '/usr/include/freetype2'] PyMuPDF/setup.py: extra_link_args=[] running build running build_py running build_ext building 'fitz._fitz' extension swigging fitz/fitz.i to fitz/fitz_wrap.c swig -python -o fitz/fitz_wrap.c fitz/fitz.i creating build creating build/temp.linux-x86_64-cpython-311 creating build/temp.linux-x86_64-cpython-311/fitz gcc -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC -I/usr/include/mupdf -I/usr/local/include/mupdf -I/usr/include/freetype2 -I/usr/include/python3.11 -c fitz/fitz_wrap.c -o build/temp.linux-x86_64-cpython-311/fitz/fitz_wrap.o fitz/fitz_wrap.c: In function ‘JM_get_page_labels’: fitz/fitz_wrap.c:4363:37: warning: passing argument 3 of ‘fz_buffer_storage’ from incompatible pointer type [-Wincompatible-pointer-types] 4363 | fz_buffer_storage(ctx, res, &c); | ^~ | | | char ** In file included from /usr/include/mupdf/fitz/output.h:28, from /usr/include/mupdf/fitz.h:34, from fitz/fitz_wrap.c:2763: /usr/include/mupdf/fitz/buffer.h:72:75: note: expected ‘unsigned char **’ but argument is of type ‘char **’ 72 | size_t fz_buffer_storage(fz_context *ctx, fz_buffer *buf, unsigned char **datap); | ~~~~~~~~~~~~~~~~^~~~~ fitz/fitz_wrap.c: In function ‘JM_get_fontbuffer’: fitz/fitz_wrap.c:4955:11: warning: variable ‘ext’ set but not used [-Wunused-but-set-variable] 4955 | char *ext = NULL; | ^~~ fitz/fitz_wrap.c: In function ‘JM_invert_pixmap_rect’: fitz/fitz_wrap.c:5517:19: warning: operation on ‘s’ may be undefined [-Wsequence-point] 5517 | *s++ = 255 - *s; | ~^~ fitz/fitz_wrap.c:5518:30: warning: value computed is not used [-Wunused-value] 5518 | if (dest->alpha) *s++; | ^~~~ fitz/fitz_wrap.c: In function ‘JM_image_profile’: fitz/fitz_wrap.c:5557:11: warning: pointer targets in assignment from ‘char *’ to ‘unsigned char *’ differ in signedness [-Wpointer-sign] 5557 | c = PyBytes_AS_STRING(imagedata); | ^ fitz/fitz_wrap.c:5560:11: warning: pointer targets in assignment from ‘char *’ to ‘unsigned char *’ differ in signedness [-Wpointer-sign] 5560 | c = PyByteArray_AS_STRING(imagedata); | ^ fitz/fitz_wrap.c: In function ‘JM_color_count’: fitz/fitz_wrap.c:5801:55: warning: pointer targets in passing argument 1 of ‘PyBytes_FromStringAndSize’ differ in signedness [-Wpointer-sign] 5801 | pixel = PyBytes_FromStringAndSize(oldpix, n); | ^~~~~~ | | | unsigned char * In file included from /usr/include/python3.11/Python.h:50, from fitz/fitz_wrap.c:154: /usr/include/python3.11/bytesobject.h:34:50: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 34 | PyAPI_FUNC(PyObject *) PyBytes_FromStringAndSize(const char *, Py_ssize_t); | ^~~~~~~~~~~~ fitz/fitz_wrap.c:5814:43: warning: pointer targets in passing argument 1 of ‘PyBytes_FromStringAndSize’ differ in signedness [-Wpointer-sign] 5814 | pixel = PyBytes_FromStringAndSize(oldpix, n); | ^~~~~~ | | | unsigned char * /usr/include/python3.11/bytesobject.h:34:50: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 34 | PyAPI_FUNC(PyObject *) PyBytes_FromStringAndSize(const char *, Py_ssize_t); | ^~~~~~~~~~~~ fitz/fitz_wrap.c: In function ‘JM_new_javascript’: fitz/fitz_wrap.c:6340:47: warning: pointer targets in passing argument 2 of ‘fz_new_buffer_from_copied_data’ differ in signedness [-Wpointer-sign] 6340 | res = fz_new_buffer_from_copied_data(ctx, data, strlen(data)); | ^~~~ | | | char * /usr/include/mupdf/fitz/buffer.h:105:81: note: expected ‘const unsigned char *’ but argument is of type ‘char *’ 105 | fz_buffer *fz_new_buffer_from_copied_data(fz_context *ctx, const unsigned char *data, size_t size); | ~~~~~~~~~~~~~~~~~~~~~^~~~ fitz/fitz_wrap.c: In function ‘JM_choice_options’: fitz/fitz_wrap.c:6672:19: warning: unused variable ‘pdf’ [-Wunused-variable] 6672 | pdf_document *pdf = pdf_get_bound_document(ctx, annot_obj); | ^~~ fitz/fitz_wrap.c: In function ‘JM_get_widget_properties’: fitz/fitz_wrap.c:6743:16: warning: unused variable ‘res’ [-Wunused-variable] 6743 | fz_buffer *res = NULL; | ^~~ fitz/fitz_wrap.c:6742:39: warning: unused variable ‘o’ [-Wunused-variable] 6742 | pdf_obj *obj = NULL, *js = NULL, *o = NULL; | ^ fitz/fitz_wrap.c:6742:27: warning: unused variable ‘js’ [-Wunused-variable] 6742 | pdf_obj *obj = NULL, *js = NULL, *o = NULL; | ^~ fitz/fitz_wrap.c: In function ‘JM_set_widget_properties’: fitz/fitz_wrap.c:6878:9: warning: variable ‘result’ set but not used [-Wunused-but-set-variable] 6878 | int result = 0; | ^~~~~~ fitz/fitz_wrap.c: In function ‘JM_embed_file’: fitz/fitz_wrap.c:7158:64: warning: pointer targets in passing argument 2 of ‘fz_new_buffer_from_copied_data’ differ in signedness [-Wpointer-sign] 7158 | fz_new_buffer_from_copied_data(ctx, " ", 1), | ^~~~ | | | char * /usr/include/mupdf/fitz/buffer.h:105:81: note: expected ‘const unsigned char *’ but argument is of type ‘char *’ 105 | fz_buffer *fz_new_buffer_from_copied_data(fz_context *ctx, const unsigned char *data, size_t size); | ~~~~~~~~~~~~~~~~~~~~~^~~~ fitz/fitz_wrap.c: In function ‘JM_append_rune’: fitz/fitz_wrap.c:7645:18: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 7645 | if (ch >= 32 && ch <= 255 || ch == 10) { | ~~~~~~~~~^~~~~~~~~~~~ fitz/fitz_wrap.c: In function ‘JM_set_ocg_arrays’: fitz/fitz_wrap.c:9013:40: warning: unused variable ‘indobj’ [-Wunused-variable] 9013 | pdf_obj *arr = NULL, *obj = NULL, *indobj = NULL; | ^~~~~~ fitz/fitz_wrap.c: In function ‘jm_append_merge’: fitz/fitz_wrap.c:9933:40: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 9933 | if (strcmp(prevtype, "f") != 0 && strcmp(prevtype, "s") != 0 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fitz/fitz_wrap.c: In function ‘JM_new_tracedraw_device’: fitz/fitz_wrap.c:10216:30: warning: assignment to ‘void (*)(fz_context *, fz_device *, const fz_text *, fz_matrix, fz_colorspace *, const float *, float, fz_color_params)’ from incompatible pointer type ‘void (*)(fz_context *, fz_device *, ...)’ [-Wincompatible-pointer-types] 10216 | dev->super.fill_text = jm_increase_seqno; | ^ fitz/fitz_wrap.c:10217:32: warning: assignment to ‘void (*)(fz_context *, fz_device *, const fz_text *, const fz_stroke_state *, fz_matrix, fz_colorspace *, const float *, float, fz_color_params)’ from incompatible pointer type ‘void (*)(fz_context *, fz_device *, ...)’ [-Wincompatible-pointer-types] 10217 | dev->super.stroke_text = jm_increase_seqno; | ^ fitz/fitz_wrap.c:10220:32: warning: assignment to ‘void (*)(fz_context *, fz_device *, const fz_text *, fz_matrix)’ from incompatible pointer type ‘void (*)(fz_context *, fz_device *, ...)’ [-Wincompatible-pointer-types] 10220 | dev->super.ignore_text = jm_increase_seqno; | ^ fitz/fitz_wrap.c:10222:31: warning: assignment to ‘void (*)(fz_context *, fz_device *, fz_shade *, fz_matrix, float, fz_color_params)’ from incompatible pointer type ‘void (*)(fz_context *, fz_device *, ...)’ [-Wincompatible-pointer-types] 10222 | dev->super.fill_shade = jm_increase_seqno; | ^ fitz/fitz_wrap.c:10223:31: warning: assignment to ‘void (*)(fz_context *, fz_device *, fz_image *, fz_matrix, float, fz_color_params)’ from incompatible pointer type ‘void (*)(fz_context *, fz_device *, ...)’ [-Wincompatible-pointer-types] 10223 | dev->super.fill_image = jm_increase_seqno; | ^ fitz/fitz_wrap.c:10224:36: warning: assignment to ‘void (*)(fz_context *, fz_device *, fz_image *, fz_matrix, fz_colorspace *, const float *, float, fz_color_params)’ from incompatible pointer type ‘void (*)(fz_context *, fz_device *, ...)’ [-Wincompatible-pointer-types] 10224 | dev->super.fill_image_mask = jm_increase_seqno; | ^ fitz/fitz_wrap.c: In function ‘JM_new_tracetext_device’: fitz/fitz_wrap.c:10252:30: warning: assignment to ‘void (*)(fz_context *, fz_device *, const fz_path *, int, fz_matrix, fz_colorspace *, const float *, float, fz_color_params)’ from incompatible pointer type ‘void (*)(fz_context *, fz_device *, ...)’ [-Wincompatible-pointer-types] 10252 | dev->super.fill_path = jm_increase_seqno; | ^ fitz/fitz_wrap.c:10263:31: warning: assignment to ‘void (*)(fz_context *, fz_device *, fz_shade *, fz_matrix, float, fz_color_params)’ from incompatible pointer type ‘void (*)(fz_context *, fz_device *, ...)’ [-Wincompatible-pointer-types] 10263 | dev->super.fill_shade = jm_increase_seqno; | ^ fitz/fitz_wrap.c:10264:31: warning: assignment to ‘void (*)(fz_context *, fz_device *, fz_image *, fz_matrix, float, fz_color_params)’ from incompatible pointer type ‘void (*)(fz_context *, fz_device *, ...)’ [-Wincompatible-pointer-types] 10264 | dev->super.fill_image = jm_increase_seqno; | ^ fitz/fitz_wrap.c:10265:36: warning: assignment to ‘void (*)(fz_context *, fz_device *, fz_image *, fz_matrix, fz_colorspace *, const float *, float, fz_color_params)’ from incompatible pointer type ‘void (*)(fz_context *, fz_device *, ...)’ [-Wincompatible-pointer-types] 10265 | dev->super.fill_image_mask = jm_increase_seqno; | ^ fitz/fitz_wrap.c: In function ‘JM_new_bbox_device’: fitz/fitz_wrap.c:10362:30: warning: assignment to ‘void (*)(fz_context *, fz_device *, const fz_text *, fz_matrix, fz_colorspace *, const float *, float, fz_color_params)’ from incompatible pointer type ‘void (*)(fz_context *, fz_device *, const fz_text *, fz_matrix, ...)’ [-Wincompatible-pointer-types] 10362 | dev->super.fill_text = jm_bbox_fill_text; | ^ fitz/fitz_wrap.c:10363:32: warning: assignment to ‘void (*)(fz_context *, fz_device *, const fz_text *, const fz_stroke_state *, fz_matrix, fz_colorspace *, const float *, float, fz_color_params)’ from incompatible pointer type ‘void (*)(fz_context *, fz_device *, const fz_text *, const fz_stroke_state *, fz_matrix, ...)’ [-Wincompatible-pointer-types] 10363 | dev->super.stroke_text = jm_bbox_stroke_text; | ^ fitz/fitz_wrap.c: At top level: fitz/fitz_wrap.c:10397:40: warning: ‘struct Document’ declared inside parameter list will not be visible outside of this definition or declaration 10397 | SWIGINTERN void delete_Document(struct Document *self){ | ^~~~~~~~ fitz/fitz_wrap.c: In function ‘Document_load_page’: fitz/fitz_wrap.c:10531:23: warning: unused variable ‘val’ [-Wunused-variable] 10531 | PyObject *val = NULL; | ^~~ fitz/fitz_wrap.c: In function ‘Document__embfile_add’: fitz/fitz_wrap.c:11063:20: warning: variable ‘size’ set but not used [-Wunused-but-set-variable] 11063 | size_t size = 0; | ^~~~ fitz/fitz_wrap.c:11062:17: warning: unused variable ‘entry’ [-Wunused-variable] 11062 | int entry = 0; | ^~~~~ fitz/fitz_wrap.c: In function ‘Document_next_location’: fitz/fitz_wrap.c:11215:17: warning: unused variable ‘page_n’ [-Wunused-variable] 11215 | int page_n = -1; | ^~~~~~ fitz/fitz_wrap.c: In function ‘Document__getPDFfileid’: fitz/fitz_wrap.c:11479:68: warning: pointer targets in passing argument 1 of ‘JM_UnicodeFromStr’ differ in signedness [-Wpointer-sign] 11479 | LIST_APPEND_DROP(idlist, JM_UnicodeFromStr(hex)); | ^~~ | | | unsigned char * fitz/fitz_wrap.c:4395:41: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 4395 | PyObject *JM_UnicodeFromStr(const char *c) | ~~~~~~~~~~~~^ fitz/fitz_wrap.c: At top level: fitz/fitz_wrap.c:11586:194: warning: ‘struct Graftmap’ declared inside parameter list will not be visible outside of this definition or declaration 11586 | SWIGINTERN PyObject *Document_insert_pdf(struct Document *self,struct Document *docsrc,int from_page,int to_page,int start_at,int rotate,int links,int annots,int show_progress,int final,struct Graftmap *_gmap){ | ^~~~~~~~ fitz/fitz_wrap.c: In function ‘Document__get_char_widths’: fitz/fitz_wrap.c:11876:36: warning: unused variable ‘fb_font’ [-Wunused-variable] 11876 | fz_font *font = NULL, *fb_font= NULL; | ^~~~~~~ fitz/fitz_wrap.c:11873:17: warning: unused variable ‘lang’ [-Wunused-variable] 11873 | int lang = 0; | ^~~~ fitz/fitz_wrap.c:11872:17: warning: unused variable ‘cwlen’ [-Wunused-variable] 11872 | int cwlen = 0; | ^~~~~ fitz/fitz_wrap.c: In function ‘Document_extract_font’: fitz/fitz_wrap.c:12028:24: warning: unused variable ‘len’ [-Wunused-variable] 12028 | Py_ssize_t len = 0; | ^~~ fitz/fitz_wrap.c: In function ‘Document_fullcopy_page’: fitz/fitz_wrap.c:12691:69: warning: pointer targets in passing argument 2 of ‘fz_new_buffer_from_copied_data’ differ in signedness [-Wpointer-sign] 12691 | fz_new_buffer_from_copied_data(gctx, " ", 1), NULL, 0); | ^~~~ | | | char * /usr/include/mupdf/fitz/buffer.h:105:81: note: expected ‘const unsigned char *’ but argument is of type ‘char *’ 105 | fz_buffer *fz_new_buffer_from_copied_data(fz_context *ctx, const unsigned char *data, size_t size); | ~~~~~~~~~~~~~~~~~~~~~^~~~ fitz/fitz_wrap.c:12649:22: warning: unused variable ‘page2’ [-Wunused-variable] 12649 | pdf_obj *page2 = NULL; | ^~~~~ fitz/fitz_wrap.c: In function ‘Document__move_copy_page’: fitz/fitz_wrap.c:12727:26: warning: unused variable ‘page2’ [-Wunused-variable] 12727 | pdf_obj *page2 = pdf_lookup_page_loc(gctx, pdf, nb, &parent2, &i2); | ^~~~~ fitz/fitz_wrap.c: In function ‘Document__get_page_labels’: fitz/fitz_wrap.c:12863:24: warning: unused variable ‘res’ [-Wunused-variable] 12863 | fz_buffer *res = NULL; | ^~~ fitz/fitz_wrap.c: At top level: fitz/fitz_wrap.c:13300:68: warning: ‘struct TextPage’ declared inside parameter list will not be visible outside of this definition or declaration 13300 | SWIGINTERN PyObject *Page_extend_textpage(struct Page *self,struct TextPage *tpage,int flags,PyObject *matrix){ | ^~~~~~~~ fitz/fitz_wrap.c: In function ‘Page_get_svg_image’: fitz/fitz_wrap.c:13378:29: warning: unused variable ‘seps’ [-Wunused-variable] 13378 | fz_separations *seps = NULL; | ^~~~ fitz/fitz_wrap.c: At top level: fitz/fitz_wrap.c:13966:104: warning: ‘struct Colorspace’ declared inside parameter list will not be visible outside of this definition or declaration 13966 | SWIGINTERN struct Pixmap *Page__makePixmap(struct Page *self,struct Document *doc,PyObject *ctm,struct Colorspace *cs,int alpha,int annots,PyObject *clip){ | ^~~~~~~~~~ fitz/fitz_wrap.c:14199:151: warning: ‘struct Graftmap’ declared inside parameter list will not be visible outside of this definition or declaration 14199 | SWIGINTERN PyObject *Page__show_pdf_page(struct Page *self,struct Page *fz_srcpage,int overlay,PyObject *matrix,int xref,int oc,PyObject *clip,struct Graftmap *graftmap,char *_imgname){ | ^~~~~~~~ fitz/fitz_wrap.c: In function ‘Page__insert_image’: fitz/fitz_wrap.c:14309:52: warning: pointer targets in passing argument 1 of ‘PyBytes_FromStringAndSize’ differ in signedness [-Wpointer-sign] 14309 | md5_py = PyBytes_FromStringAndSize(digest, 16); | ^~~~~~ | | | unsigned char * /usr/include/python3.11/bytesobject.h:34:50: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 34 | PyAPI_FUNC(PyObject *) PyBytes_FromStringAndSize(const char *, Py_ssize_t); | ^~~~~~~~~~~~ fitz/fitz_wrap.c:14338:52: warning: pointer targets in passing argument 1 of ‘PyBytes_FromStringAndSize’ differ in signedness [-Wpointer-sign] 14338 | md5_py = PyBytes_FromStringAndSize(digest, 16); | ^~~~~~ | | | unsigned char * /usr/include/python3.11/bytesobject.h:34:50: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 34 | PyAPI_FUNC(PyObject *) PyBytes_FromStringAndSize(const char *, Py_ssize_t); | ^~~~~~~~~~~~ fitz/fitz_wrap.c:14358:13: warning: label ‘have_imask’ defined but not used [-Wunused-label] 14358 | have_imask:; | ^~~~~~~~~~ fitz/fitz_wrap.c: In function ‘Page_get_contents’: fitz/fitz_wrap.c:14485:35: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 14485 | for (i = 0; i < n; i++) { | ^ fitz/fitz_wrap.c: At top level: fitz/fitz_wrap.c:14511:53: warning: ‘struct Colorspace’ declared inside parameter list will not be visible outside of this definition or declaration 14511 | SWIGINTERN struct Pixmap *new_Pixmap__SWIG_0(struct Colorspace *cs,PyObject *bbox,int alpha){ | ^~~~~~~~~~ fitz/fitz_wrap.c:14521:53: warning: ‘struct Colorspace’ declared inside parameter list will not be visible outside of this definition or declaration 14521 | SWIGINTERN struct Pixmap *new_Pixmap__SWIG_1(struct Colorspace *cs,struct Pixmap *spix){ | ^~~~~~~~~~ fitz/fitz_wrap.c:14626:53: warning: ‘struct Colorspace’ declared inside parameter list will not be visible outside of this definition or declaration 14626 | SWIGINTERN struct Pixmap *new_Pixmap__SWIG_5(struct Colorspace *cs,int w,int h,PyObject *samples,int alpha){ | ^~~~~~~~~~ fitz/fitz_wrap.c: In function ‘new_Pixmap__SWIG_5’: fitz/fitz_wrap.c:14640:32: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 14640 | if (stride * h != size) { | ^~ fitz/fitz_wrap.c: In function ‘Pixmap_set_alpha’: fitz/fitz_wrap.c:14806:83: warning: comparison of integer expressions of different signedness: ‘Py_ssize_t’ {aka ‘long int’} and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 14806 | if (opaque && PySequence_Check(opaque) && PySequence_Size(opaque) == n) { | ^~ fitz/fitz_wrap.c:14814:80: warning: comparison of integer expressions of different signedness: ‘Py_ssize_t’ {aka ‘long int’} and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 14814 | if (matte && PySequence_Check(matte) && PySequence_Size(matte) == n) { | ^~ fitz/fitz_wrap.c: In function ‘Pixmap_digest’: fitz/fitz_wrap.c:15115:46: warning: pointer targets in passing argument 1 of ‘PyBytes_FromStringAndSize’ differ in signedness [-Wpointer-sign] 15115 | return PyBytes_FromStringAndSize(digest, 16); | ^~~~~~ | | | unsigned char * /usr/include/python3.11/bytesobject.h:34:50: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 34 | PyAPI_FUNC(PyObject *) PyBytes_FromStringAndSize(const char *, Py_ssize_t); | ^~~~~~~~~~~~ fitz/fitz_wrap.c: In function ‘Annot__update_appearance’: fitz/fitz_wrap.c:15826:21: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] 15826 | && type != PDF_ANNOT_POLYGON | ^ fitz/fitz_wrap.c: In function ‘Annot_update_file’: fitz/fitz_wrap.c:16103:21: warning: unused variable ‘size’ [-Wunused-variable] 16103 | int64_t size = 0; | ^~~~ fitz/fitz_wrap.c:16100:19: warning: unused variable ‘data’ [-Wunused-variable] 16100 | char *data = NULL; // for new file content | ^~~~ fitz/fitz_wrap.c: In function ‘TextPage_extractIMGINFO’: fitz/fitz_wrap.c:16549:63: warning: pointer targets in passing argument 1 of ‘PyBytes_FromStringAndSize’ differ in signedness [-Wpointer-sign] 16549 | PyBytes_FromStringAndSize(digest, 16)); | ^~~~~~ | | | unsigned char * /usr/include/python3.11/bytesobject.h:34:50: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 34 | PyAPI_FUNC(PyObject *) PyBytes_FromStringAndSize(const char *, Py_ssize_t); | ^~~~~~~~~~~~ fitz/fitz_wrap.c: In function ‘TextPage_extractBLOCKS’: fitz/fitz_wrap.c:16584:31: warning: unused variable ‘last_y0’ [-Wunused-variable] 16584 | float last_y0 = 0.0; | ^~~~~~~ fitz/fitz_wrap.c: At top level: fitz/fitz_wrap.c:16784:40: warning: ‘struct Graftmap’ declared inside parameter list will not be visible outside of this definition or declaration 16784 | SWIGINTERN void delete_Graftmap(struct Graftmap *self){ | ^~~~~~~~ fitz/fitz_wrap.c: In function ‘new_Graftmap’: fitz/fitz_wrap.c:16800:20: warning: returning ‘pdf_graft_map *’ from a function with incompatible return type ‘struct Graftmap *’ [-Wincompatible-pointer-types] 16800 | return map; | ^~~ fitz/fitz_wrap.c: At top level: fitz/fitz_wrap.c:16802:42: warning: ‘struct TextWriter’ declared inside parameter list will not be visible outside of this definition or declaration 16802 | SWIGINTERN void delete_TextWriter(struct TextWriter *self){ | ^~~~~~~~~~ fitz/fitz_wrap.c:16818:96: warning: ‘struct Font’ declared inside parameter list will not be visible outside of this definition or declaration 16818 | SWIGINTERN PyObject *TextWriter_append(struct TextWriter *self,PyObject *pos,char *text,struct Font *font,float fontsize,char *language,int right_to_left,int small_caps){ | ^~~~ fitz/fitz_wrap.c:16888:36: warning: ‘struct Font’ declared inside parameter list will not be visible outside of this definition or declaration 16888 | SWIGINTERN void delete_Font(struct Font *self){ | ^~~~ fitz/fitz_wrap.c: In function ‘Font_buffer’: fitz/fitz_wrap.c:17074:39: warning: pointer targets in passing argument 1 of ‘PyBytes_FromStringAndSize’ differ in signedness [-Wpointer-sign] 17074 | return JM_BinFromCharSize(data, len); | ^~~~ | | | unsigned char * fitz/fitz_wrap.c:2761:60: note: in definition of macro ‘JM_BinFromCharSize’ 2761 | #define JM_BinFromCharSize(x, y) PyBytes_FromStringAndSize(x, (Py_ssize_t) y) | ^ /usr/include/python3.11/bytesobject.h:34:50: note: expected ‘const char *’ but argument is of type ‘unsigned char *’ 34 | PyAPI_FUNC(PyObject *) PyBytes_FromStringAndSize(const char *, Py_ssize_t); | ^~~~~~~~~~~~ fitz/fitz_wrap.c: In function ‘_wrap_delete_Document’: fitz/fitz_wrap.c:17685:19: warning: passing argument 1 of ‘delete_Document’ from incompatible pointer type [-Wincompatible-pointer-types] 17685 | delete_Document(arg1); | ^~~~ | | | struct Document * fitz/fitz_wrap.c:10397:50: note: expected ‘struct Document *’ but argument is of type ‘struct Document *’ 10397 | SWIGINTERN void delete_Document(struct Document *self){ | ~~~~~~~~~~~~~~~~~^~~~ fitz/fitz_wrap.c: In function ‘_wrap_Document_insert_pdf’: fitz/fitz_wrap.c:19641:97: warning: passing argument 11 of ‘Document_insert_pdf’ from incompatible pointer type [-Wincompatible-pointer-types] 19641 | result = (PyObject *)Document_insert_pdf(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10,arg11); | ^~~~~ | | | struct Graftmap * fitz/fitz_wrap.c:11586:204: note: expected ‘struct Graftmap *’ but argument is of type ‘struct Graftmap *’ 11586 | SWIGINTERN PyObject *Document_insert_pdf(struct Document *self,struct Document *docsrc,int from_page,int to_page,int start_at,int rotate,int links,int annots,int show_progress,int final,struct Graftmap *_gmap){ | ~~~~~~~~~~~~~~~~~^~~~~ fitz/fitz_wrap.c: In function ‘_wrap_Page_extend_textpage’: fitz/fitz_wrap.c:21962:52: warning: passing argument 2 of ‘Page_extend_textpage’ from incompatible pointer type [-Wincompatible-pointer-types] 21962 | result = (PyObject *)Page_extend_textpage(arg1,arg2,arg3,arg4); | ^~~~ | | | struct TextPage * fitz/fitz_wrap.c:13300:78: note: expected ‘struct TextPage *’ but argument is of type ‘struct TextPage *’ 13300 | SWIGINTERN PyObject *Page_extend_textpage(struct Page *self,struct TextPage *tpage,int flags,PyObject *matrix){ | ~~~~~~~~~~~~~~~~~^~~~~ fitz/fitz_wrap.c: In function ‘_wrap_Page__makePixmap’: fitz/fitz_wrap.c:23181:63: warning: passing argument 4 of ‘Page__makePixmap’ from incompatible pointer type [-Wincompatible-pointer-types] 23181 | result = (struct Pixmap *)Page__makePixmap(arg1,arg2,arg3,arg4,arg5,arg6,arg7); | ^~~~ | | | struct Colorspace * fitz/fitz_wrap.c:13966:116: note: expected ‘struct Colorspace *’ but argument is of type ‘struct Colorspace *’ 13966 | SWIGINTERN struct Pixmap *Page__makePixmap(struct Page *self,struct Document *doc,PyObject *ctm,struct Colorspace *cs,int alpha,int annots,PyObject *clip){ | ~~~~~~~~~~~~~~~~~~~^~ fitz/fitz_wrap.c: In function ‘_wrap_Page__show_pdf_page’: fitz/fitz_wrap.c:23629:81: warning: passing argument 8 of ‘Page__show_pdf_page’ from incompatible pointer type [-Wincompatible-pointer-types] 23629 | result = (PyObject *)Page__show_pdf_page(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9); | ^~~~ | | | struct Graftmap * fitz/fitz_wrap.c:14199:161: note: expected ‘struct Graftmap *’ but argument is of type ‘struct Graftmap *’ 14199 | SWIGINTERN PyObject *Page__show_pdf_page(struct Page *self,struct Page *fz_srcpage,int overlay,PyObject *matrix,int xref,int oc,PyObject *clip,struct Graftmap *graftmap,char *_imgname){ | ~~~~~~~~~~~~~~~~~^~~~~~~~ fitz/fitz_wrap.c: In function ‘_wrap_new_Pixmap__SWIG_0’: fitz/fitz_wrap.c:24018:50: warning: passing argument 1 of ‘new_Pixmap__SWIG_0’ from incompatible pointer type [-Wincompatible-pointer-types] 24018 | result = (struct Pixmap *)new_Pixmap__SWIG_0(arg1,arg2,arg3); | ^~~~ | | | struct Colorspace * fitz/fitz_wrap.c:14511:65: note: expected ‘struct Colorspace *’ but argument is of type ‘struct Colorspace *’ 14511 | SWIGINTERN struct Pixmap *new_Pixmap__SWIG_0(struct Colorspace *cs,PyObject *bbox,int alpha){ | ~~~~~~~~~~~~~~~~~~~^~ fitz/fitz_wrap.c: In function ‘_wrap_new_Pixmap__SWIG_1’: fitz/fitz_wrap.c:24052:50: warning: passing argument 1 of ‘new_Pixmap__SWIG_1’ from incompatible pointer type [-Wincompatible-pointer-types] 24052 | result = (struct Pixmap *)new_Pixmap__SWIG_1(arg1,arg2); | ^~~~ | | | struct Colorspace * fitz/fitz_wrap.c:14521:65: note: expected ‘struct Colorspace *’ but argument is of type ‘struct Colorspace *’ 14521 | SWIGINTERN struct Pixmap *new_Pixmap__SWIG_1(struct Colorspace *cs,struct Pixmap *spix){ | ~~~~~~~~~~~~~~~~~~~^~ fitz/fitz_wrap.c: In function ‘_wrap_new_Pixmap__SWIG_5’: fitz/fitz_wrap.c:24222:50: warning: passing argument 1 of ‘new_Pixmap__SWIG_5’ from incompatible pointer type [-Wincompatible-pointer-types] 24222 | result = (struct Pixmap *)new_Pixmap__SWIG_5(arg1,arg2,arg3,arg4,arg5); | ^~~~ | | | struct Colorspace * fitz/fitz_wrap.c:14626:65: note: expected ‘struct Colorspace *’ but argument is of type ‘struct Colorspace *’ 14626 | SWIGINTERN struct Pixmap *new_Pixmap__SWIG_5(struct Colorspace *cs,int w,int h,PyObject *samples,int alpha){ | ~~~~~~~~~~~~~~~~~~~^~ fitz/fitz_wrap.c: In function ‘_wrap_delete_Graftmap’: fitz/fitz_wrap.c:28615:19: warning: passing argument 1 of ‘delete_Graftmap’ from incompatible pointer type [-Wincompatible-pointer-types] 28615 | delete_Graftmap(arg1); | ^~~~ | | | struct Graftmap * fitz/fitz_wrap.c:16784:50: note: expected ‘struct Graftmap *’ but argument is of type ‘struct Graftmap *’ 16784 | SWIGINTERN void delete_Graftmap(struct Graftmap *self){ | ~~~~~~~~~~~~~~~~~^~~~ fitz/fitz_wrap.c: In function ‘_wrap_delete_TextWriter’: fitz/fitz_wrap.c:28676:21: warning: passing argument 1 of ‘delete_TextWriter’ from incompatible pointer type [-Wincompatible-pointer-types] 28676 | delete_TextWriter(arg1); | ^~~~ | | | struct TextWriter * fitz/fitz_wrap.c:16802:54: note: expected ‘struct TextWriter *’ but argument is of type ‘struct TextWriter *’ 16802 | SWIGINTERN void delete_TextWriter(struct TextWriter *self){ | ~~~~~~~~~~~~~~~~~~~^~~~ fitz/fitz_wrap.c: In function ‘_wrap_TextWriter_append’: fitz/fitz_wrap.c:28796:59: warning: passing argument 4 of ‘TextWriter_append’ from incompatible pointer type [-Wincompatible-pointer-types] 28796 | result = (PyObject *)TextWriter_append(arg1,arg2,arg3,arg4,arg5,arg6,arg7,arg8); | ^~~~ | | | struct Font * fitz/fitz_wrap.c:16818:102: note: expected ‘struct Font *’ but argument is of type ‘struct Font *’ 16818 | SWIGINTERN PyObject *TextWriter_append(struct TextWriter *self,PyObject *pos,char *text,struct Font *font,float fontsize,char *language,int right_to_left,int small_caps){ | ~~~~~~~~~~~~~^~~~ fitz/fitz_wrap.c: In function ‘_wrap_delete_Font’: fitz/fitz_wrap.c:28947:15: warning: passing argument 1 of ‘delete_Font’ from incompatible pointer type [-Wincompatible-pointer-types] 28947 | delete_Font(arg1); | ^~~~ | | | struct Font * fitz/fitz_wrap.c:16888:42: note: expected ‘struct Font *’ but argument is of type ‘struct Font *’ 16888 | SWIGINTERN void delete_Font(struct Font *self){ | ~~~~~~~~~~~~~^~~~ In function ‘JM_py_from_point’, inlined from ‘JM_make_spanlist’ at fitz/fitz_wrap.c:8124:17, inlined from ‘JM_make_text_block’ at fitz/fitz_wrap.c:8269:29, inlined from ‘JM_make_textpage_dict’ at fitz/fitz_wrap.c:8309:13: fitz/fitz_wrap.c:4119:12: warning: ‘span_origin.x’ may be used uninitialized [-Wmaybe-uninitialized] 4119 | return Py_BuildValue("ff", p.x, p.y); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fitz/fitz_wrap.c: In function ‘JM_make_textpage_dict’: fitz/fitz_wrap.c:8085:14: note: ‘span_origin.x’ was declared here 8085 | fz_point span_origin; | ^~~~~~~~~~~ In function ‘JM_py_from_point’, inlined from ‘JM_make_spanlist’ at fitz/fitz_wrap.c:8124:17, inlined from ‘JM_make_text_block’ at fitz/fitz_wrap.c:8269:29, inlined from ‘JM_make_textpage_dict’ at fitz/fitz_wrap.c:8309:13: fitz/fitz_wrap.c:4119:12: warning: ‘span_origin.y’ may be used uninitialized [-Wmaybe-uninitialized] 4119 | return Py_BuildValue("ff", p.x, p.y); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fitz/fitz_wrap.c: In function ‘JM_make_textpage_dict’: fitz/fitz_wrap.c:8085:14: note: ‘span_origin.y’ was declared here 8085 | fz_point span_origin; | ^~~~~~~~~~~ creating build/lib.linux-x86_64-cpython-311 creating build/lib.linux-x86_64-cpython-311/fitz g++ -shared -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -Wl,--build-id=sha1 -g -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -Wl,--build-id=sha1 -g -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -Wl,-dT,/builddir/build/BUILD/PyMuPDF-1.20.2/.package_note-python-PyMuPDF-1.20.2-1.fc37.x86_64.ld -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection build/temp.linux-x86_64-cpython-311/fitz/fitz_wrap.o -L/usr/lib64 -lmupdf -lmupdf-third -ljbig2dec -lopenjp2 -ljpeg -lfreetype -lgumbo -lharfbuzz -lleptonica -ltesseract -o build/lib.linux-x86_64-cpython-311/fitz/_fitz.cpython-311-x86_64-linux-gnu.so copying fitz/__init__.py -> build/lib.linux-x86_64-cpython-311/fitz copying fitz/fitz.py -> build/lib.linux-x86_64-cpython-311/fitz copying fitz/utils.py -> build/lib.linux-x86_64-cpython-311/fitz copying fitz/__main__.py -> build/lib.linux-x86_64-cpython-311/fitz + sphinx-build docs docs_built Running Sphinx v5.0.2 making output directory... done building [mo]: targets for 0 po files that are out of date building [html]: targets for 52 source files that are out of date updating environment: [new config] 52 added, 0 changed, 0 removed reading sources... [ 1%] algebra reading sources... [ 3%] annot reading sources... [ 5%] app1 reading sources... [ 7%] app2 reading sources... [ 9%] app3 reading sources... [ 11%] changes reading sources... [ 13%] classes reading sources... [ 15%] colors reading sources... [ 17%] colorspace reading sources... [ 19%] coop_low reading sources... [ 21%] deprecated reading sources... [ 23%] device reading sources... [ 25%] displaylist reading sources... [ 26%] document reading sources... [ 28%] faq reading sources... [ 30%] font reading sources... [ 32%] functions reading sources... [ 34%] glossary reading sources... [ 36%] identity reading sources... [ 38%] index reading sources... [ 40%] installation reading sources... [ 42%] intro reading sources... [ 44%] irect reading sources... [ 46%] link reading sources... [ 48%] linkdest reading sources... [ 50%] lowlevel reading sources... [ 51%] matrix reading sources... [ 53%] module reading sources... [ 55%] outline reading sources... [ 57%] page reading sources... [ 59%] pixmap reading sources... [ 61%] point reading sources... [ 63%] quad reading sources... [ 65%] recipes-annotations reading sources... [ 67%] recipes-common-issues-and-their-solutions reading sources... [ 69%] recipes-drawing-and-graphics reading sources... [ 71%] recipes-general reading sources... [ 73%] recipes-images reading sources... [ 75%] recipes-journalling reading sources... [ 76%] recipes-low-level-interfaces reading sources... [ 78%] recipes-multiprocessing reading sources... [ 80%] recipes-text reading sources... [ 82%] rect reading sources... [ 84%] shape reading sources... [ 86%] textpage reading sources... [ 88%] textwriter reading sources... [ 90%] tools reading sources... [ 92%] tutorial reading sources... [ 94%] vars reading sources... [ 96%] version reading sources... [ 98%] widget reading sources... [100%] znames /builddir/build/BUILD/PyMuPDF-1.20.2/docs/changes.rst:2: WARNING: Duplicate explicit target name: "#1417". /builddir/build/BUILD/PyMuPDF-1.20.2/docs/device.rst:23: WARNING: duplicate object description of Device.__init__, other instance in device, use :noindex: for one of them /builddir/build/BUILD/PyMuPDF-1.20.2/docs/document.rst:5: WARNING: Duplicate explicit target name: "here". /builddir/build/BUILD/PyMuPDF-1.20.2/docs/font.rst:5: WARNING: Duplicate explicit target name: "here". /builddir/build/BUILD/PyMuPDF-1.20.2/docs/font.rst:40: WARNING: invalid pair index entry 'Font, fontfile' /builddir/build/BUILD/PyMuPDF-1.20.2/docs/font.rst:129: WARNING: invalid pair index entry 'Font.has_glyph, language' /builddir/build/BUILD/PyMuPDF-1.20.2/docs/font.rst:180: WARNING: invalid pair index entry 'Font.glyph_advance, language' /builddir/build/BUILD/PyMuPDF-1.20.2/docs/font.rst:208: WARNING: invalid pair index entry 'Font.glyph_bbox, language' /builddir/build/BUILD/PyMuPDF-1.20.2/docs/font.rst:231: WARNING: invalid pair index entry 'text_length, fontsize' /builddir/build/BUILD/PyMuPDF-1.20.2/docs/font.rst:255: WARNING: invalid pair index entry 'char_lengths, fontsize' /builddir/build/BUILD/PyMuPDF-1.20.2/docs/functions.rst:688: WARNING: duplicate object description of recover_quad, other instance in functions, use :noindex: for one of them /builddir/build/BUILD/PyMuPDF-1.20.2/docs/irect.rst:42: WARNING: duplicate object description of IRect.__init__, other instance in irect, use :noindex: for one of them /builddir/build/BUILD/PyMuPDF-1.20.2/docs/irect.rst:44: WARNING: duplicate object description of IRect.__init__, other instance in irect, use :noindex: for one of them looking for now-outdated files... none found pickling environment... /builddir/build/BUILD/PyMuPDF-1.20.2/docs/irect.rst:46: WARNING: duplicate object description of IRect.__init__, other instance in irect, use :noindex: for one of them /builddir/build/BUILD/PyMuPDF-1.20.2/docs/matrix.rst:46: WARNING: duplicate object description of Matrix.__init__, other instance in matrix, use :noindex: for one of them /builddir/build/BUILD/PyMuPDF-1.20.2/docs/matrix.rst:48: WARNING: duplicate object description of Matrix.__init__, other instance in matrix, use :noindex: for one of them /builddir/build/BUILD/PyMuPDF-1.20.2/docs/matrix.rst:50: WARNING: duplicate object description of Matrix.__init__, other instance in matrix, use :noindex: for one of them /builddir/build/BUILD/PyMuPDF-1.20.2/docs/matrix.rst:52: WARNING: duplicate object description of Matrix.__init__, other instance in matrix, use :noindex: for one of them /builddir/build/BUILD/PyMuPDF-1.20.2/docs/matrix.rst:54: WARNING: duplicate object description of Matrix.__init__, other instance in matrix, use :noindex: for one of them /builddir/build/BUILD/PyMuPDF-1.20.2/docs/matrix.rst:56: WARNING: duplicate object description of Matrix.__init__, other instance in matrix, use :noindex: for one of them /builddir/build/BUILD/PyMuPDF-1.20.2/docs/page.rst:5: WARNING: Duplicate explicit target name: "this". /builddir/build/BUILD/PyMuPDF-1.20.2/docs/pixmap.rst:83: WARNING: duplicate object description of Pixmap.__init__, other instance in pixmap, use :noindex: for one of them /builddir/build/BUILD/PyMuPDF-1.20.2/docs/pixmap.rst:93: WARNING: duplicate object description of Pixmap.__init__, other instance in pixmap, use :noindex: for one of them /builddir/build/BUILD/PyMuPDF-1.20.2/docs/pixmap.rst:105: WARNING: duplicate object description of Pixmap.__init__, other instance in pixmap, use :noindex: for one of them /builddir/build/BUILD/PyMuPDF-1.20.2/docs/pixmap.rst:120: WARNING: duplicate object description of Pixmap.__init__, other instance in pixmap, use :noindex: for one of them /builddir/build/BUILD/PyMuPDF-1.20.2/docs/pixmap.rst:137: WARNING: duplicate object description of Pixmap.__init__, other instance in pixmap, use :noindex: for one of them /builddir/build/BUILD/PyMuPDF-1.20.2/docs/pixmap.rst:143: WARNING: duplicate object description of Pixmap.__init__, other instance in pixmap, use :noindex: for one of them /builddir/build/BUILD/PyMuPDF-1.20.2/docs/pixmap.rst:152: WARNING: duplicate object description of Pixmap.__init__, other instance in pixmap, use :noindex: for one of them /builddir/build/BUILD/PyMuPDF-1.20.2/docs/pixmap.rst:175: WARNING: duplicate object description of Pixmap.__init__, other instance in pixmap, use :noindex: for one of them /builddir/build/BUILD/PyMuPDF-1.20.2/docs/point.rst:27: WARNING: duplicate object description of Point.__init__, other instance in point, use :noindex: for one of them /builddir/build/BUILD/PyMuPDF-1.20.2/docs/point.rst:29: WARNING: duplicate object description of Point.__init__, other instance in point, use :noindex: for one of them /builddir/build/BUILD/PyMuPDF-1.20.2/docs/point.rst:31: WARNING: duplicate object description of Point.__init__, other instance in point, use :noindex: for one of them /builddir/build/BUILD/PyMuPDF-1.20.2/docs/quad.rst:43: WARNING: duplicate object description of Quad.__init__, other instance in quad, use :noindex: for one of them /builddir/build/BUILD/PyMuPDF-1.20.2/docs/quad.rst:45: WARNING: duplicate object description of Quad.__init__, other instance in quad, use :noindex: for one of them /builddir/build/BUILD/PyMuPDF-1.20.2/docs/quad.rst:47: WARNING: duplicate object description of Quad.__init__, other instance in quad, use :noindex: for one of them /builddir/build/BUILD/PyMuPDF-1.20.2/docs/recipes-general.rst:5: WARNING: Duplicate explicit target name: "article". /builddir/build/BUILD/PyMuPDF-1.20.2/docs/recipes-images.rst:5: WARNING: Duplicate explicit target name: "here". /builddir/build/BUILD/PyMuPDF-1.20.2/docs/recipes-images.rst:5: WARNING: Duplicate explicit target name: "here". /builddir/build/BUILD/PyMuPDF-1.20.2/docs/rect.rst:88: WARNING: duplicate object description of Rect.__init__, other instance in rect, use :noindex: for one of them /builddir/build/BUILD/PyMuPDF-1.20.2/docs/rect.rst:90: WARNING: duplicate object description of Rect.__init__, other instance in rect, use :noindex: for one of them /builddir/build/BUILD/PyMuPDF-1.20.2/docs/rect.rst:92: WARNING: duplicate object description of Rect.__init__, other instance in rect, use :noindex: for one of them /builddir/build/BUILD/PyMuPDF-1.20.2/docs/rect.rst:94: WARNING: duplicate object description of Rect.__init__, other instance in rect, use :noindex: for one of them /builddir/build/BUILD/PyMuPDF-1.20.2/docs/rect.rst:96: WARNING: duplicate object description of Rect.__init__, other instance in rect, use :noindex: for one of them /builddir/build/BUILD/PyMuPDF-1.20.2/docs/rect.rst:98: WARNING: duplicate object description of Rect.__init__, other instance in rect, use :noindex: for one of them /builddir/build/BUILD/PyMuPDF-1.20.2/docs/tutorial.rst:5: WARNING: Duplicate explicit target name: "import (pdf only)". /builddir/build/BUILD/PyMuPDF-1.20.2/docs/tutorial.rst:5: WARNING: Duplicate explicit target name: "export". /builddir/build/BUILD/PyMuPDF-1.20.2/docs/tutorial.rst:5: WARNING: Duplicate explicit target name: "wiki". done checking consistency... /builddir/build/BUILD/PyMuPDF-1.20.2/docs/faq.rst: WARNING: document isn't included in any toctree done preparing documents... done writing output... [ 1%] algebra writing output... [ 3%] annot writing output... [ 5%] app1 writing output... [ 7%] app2 writing output... [ 9%] app3 writing output... [ 11%] changes writing output... [ 13%] classes writing output... [ 15%] colors writing output... [ 17%] colorspace writing output... [ 19%] coop_low writing output... [ 21%] deprecated writing output... [ 23%] device writing output... [ 25%] displaylist writing output... [ 26%] document writing output... [ 28%] faq writing output... [ 30%] font writing output... [ 32%] functions writing output... [ 34%] glossary writing output... [ 36%] identity writing output... [ 38%] index writing output... [ 40%] installation writing output... [ 42%] intro writing output... [ 44%] irect writing output... [ 46%] link writing output... [ 48%] linkdest writing output... [ 50%] lowlevel writing output... [ 51%] matrix writing output... [ 53%] module writing output... [ 55%] outline writing output... [ 57%] page writing output... [ 59%] pixmap writing output... [ 61%] point writing output... [ 63%] quad writing output... [ 65%] recipes-annotations writing output... [ 67%] recipes-common-issues-and-their-solutions writing output... [ 69%] recipes-drawing-and-graphics writing output... [ 71%] recipes-general writing output... [ 73%] recipes-images writing output... [ 75%] recipes-journalling writing output... [ 76%] recipes-low-level-interfaces writing output... [ 78%] recipes-multiprocessing writing output... [ 80%] recipes-text writing output... [ 82%] rect writing output... [ 84%] shape writing output... [ 86%] textpage writing output... [ 88%] textwriter writing output... [ 90%] tools writing output... [ 92%] tutorial writing output... [ 94%] vars writing output... [ 96%] version writing output... [ 98%] widget writing output... [100%] znames /builddir/build/BUILD/PyMuPDF-1.20.2/docs/document.rst:1630: WARNING: Could not lex literal_block as "python". Highlighting skipped. /builddir/build/BUILD/PyMuPDF-1.20.2/docs/document.rst:1642: WARNING: Could not lex literal_block as "python". Highlighting skipped. /builddir/build/BUILD/PyMuPDF-1.20.2/docs/recipes-general.rst:36: WARNING: undefined label: appendix 3 /builddir/build/BUILD/PyMuPDF-1.20.2/docs/tutorial.rst:303: WARNING: undefined label: appendix 3 generating indices... genindex done writing additional pages... search done copying images... [ 1%] images/img-opacity.jpg copying images... [ 2%] images/mupdf-icons.jpg copying images... [ 3%] images/img-circle.png copying images... [ 5%] images/img-colordb.png copying images... [ 6%] images/img-make-table.jpg copying images... [ 7%] images/img-planish.png copying images... [ 9%] images/pymupdf-logo.png copying images... [ 10%] images/img-matrix.png copying images... [ 11%] images/img-original.png copying images... [ 13%] images/img-e-is-100.png copying images... [ 14%] images/img-f-is-100.png copying images... [ 15%] images/img-a-is--1.png copying images... [ 17%] images/img-d-is--1.png copying images... [ 18%] images/img-b-is-0.5.png copying images... [ 19%] images/img-c-is-0.5.png copying images... [ 21%] images/img-rot-60.png copying images... [ 22%] images/img-layout-text.jpg copying images... [ 23%] images/img-caret-annot.jpg copying images... [ 25%] images/img-redact.jpg copying images... [ 26%] images/img-polyline.png copying images... [ 27%] images/img-markers.jpg copying images... [ 28%] images/img-stampannot.jpg copying images... [ 30%] images/img-alpha-1.png copying images... [ 31%] images/img-alpha-0.png copying images... [ 32%] images/img-showpdfpage.jpg copying images... [ 34%] images/img-pixmapcopy.jpg copying images... [ 35%] images/img-warp.png copying images... [ 36%] images/img-point-unit.jpg copying images... [ 38%] images/img-quads.jpg copying images... [ 39%] images/img-convexity.png copying images... [ 40%] images/img-annots.jpg copying images... [ 42%] images/img-freetext.jpg copying images... [ 43%] images/img-inkannot.jpg copying images... [ 44%] images/img-symbols.jpg copying images... [ 46%] images/img-getdrawings.png copying images... [ 47%] images/img-pdfjoiner.jpg copying images... [ 48%] images/img-posterize.png copying images... [ 50%] images/img-4up.png copying images... [ 51%] images/img-encrypting.jpg copying images... [ 52%] images/img-clip.jpg copying images... [ 53%] images/img-extract-imga.jpg copying images... [ 55%] images/img-extract-imgb.jpg copying images... [ 56%] images/img-stencil.jpg copying images... [ 57%] images/img-import-progress.jpg copying images... [ 59%] images/img-embed-progress.jpg copying images... [ 60%] images/img-attach-result.jpg copying images... [ 61%] images/img-7edges.png copying images... [ 63%] images/img-target.png copying images... [ 64%] images/img-sierpinski.png copying images... [ 65%] images/img-markedpdf.jpg copying images... [ 67%] images/img-textmarker.jpg copying images... [ 68%] images/img-linequad.jpg copying images... [ 69%] images/img-pdftext.jpg copying images... [ 71%] images/img-inserttext.jpg copying images... [ 72%] images/img-textbox.jpg copying images... [ 73%] images/img-encoding.jpg copying images... [ 75%] images/img-rect-contains.png copying images... [ 76%] images/img-breadth.png copying images... [ 77%] images/img-squiggly.png copying images... [ 78%] images/img-drawBezier.png copying images... [ 80%] images/img-drawquad.jpg copying images... [ 81%] images/img-drawcircle.jpg copying images... [ 82%] images/img-drawCurve.png copying images... [ 84%] images/img-drawSector1.png copying images... [ 85%] images/img-drawSector2.png copying images... [ 86%] images/img-even-odd.png copying images... [ 88%] images/img-rotate.png copying images... [ 89%] images/img-rot+morph.png copying images... [ 90%] images/img-cake.png copying images... [ 92%] images/img-rendermode.jpg copying images... [ 93%] images/img-textpage.png copying images... [ 94%] images/img-line-dir.png copying images... [ 96%] images/img-asc-desc.png copying images... [ 97%] images/img-span-rect.png copying images... [ 98%] images/img-textpage-char.png copying images... [100%] images/img-smallcaps.jpg copying static files... done copying extra files... done dumping search index in English (code: en)... done dumping object inventory... done build succeeded, 52 warnings. The HTML pages are in docs_built. + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.I0jIhj + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/python-PyMuPDF-1.20.2-1.fc37.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/python-PyMuPDF-1.20.2-1.fc37.x86_64 ++ dirname /builddir/build/BUILDROOT/python-PyMuPDF-1.20.2-1.fc37.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/python-PyMuPDF-1.20.2-1.fc37.x86_64 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -Wl,-dT,/builddir/build/BUILD/PyMuPDF-1.20.2/.package_note-python-PyMuPDF-1.20.2-1.fc37.x86_64.ld' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd PyMuPDF-1.20.2 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -Wl,-dT,/builddir/build/BUILD/PyMuPDF-1.20.2/.package_note-python-PyMuPDF-1.20.2-1.fc37.x86_64.ld' + /usr/bin/python3 setup.py install -O1 --skip-build --root /builddir/build/BUILDROOT/python-PyMuPDF-1.20.2-1.fc37.x86_64 --prefix /usr PyMuPDF/setup.py: sys.argv: ['setup.py', 'install', '-O1', '--skip-build', '--root', '/builddir/build/BUILDROOT/python-PyMuPDF-1.20.2-1.fc37.x86_64', '--prefix', '/usr'] PyMuPDF/setup.py: os.getcwd(): /builddir/build/BUILD/PyMuPDF-1.20.2 PyMuPDF/setup.py: __file__: /builddir/build/BUILD/PyMuPDF-1.20.2/setup.py PyMuPDF/setup.py: $PYTHON_ARCH: None PyMuPDF/setup.py: os.environ (47): PyMuPDF/setup.py: CFLAGS: -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection PyMuPDF/setup.py: LDFLAGS: -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -Wl,-dT,/builddir/build/BUILD/PyMuPDF-1.20.2/.package_note-python-PyMuPDF-1.20.2-1.fc37.x86_64.ld PyMuPDF/setup.py: SHELL: /bin/bash PyMuPDF/setup.py: RPM_SOURCE_DIR: /builddir/build/SOURCES PyMuPDF/setup.py: HISTCONTROL: ignoredups PyMuPDF/setup.py: PKG_CONFIG_PATH: :/usr/lib64/pkgconfig:/usr/share/pkgconfig PyMuPDF/setup.py: HOSTNAME: 4bd871f421fd484b82af65521eea2931 PyMuPDF/setup.py: HISTSIZE: 1000 PyMuPDF/setup.py: container_host_version_id: 35 PyMuPDF/setup.py: FFLAGS: -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules PyMuPDF/setup.py: PWD: /builddir/build/BUILD/PyMuPDF-1.20.2 PyMuPDF/setup.py: SOURCE_DATE_EPOCH: 1660262400 PyMuPDF/setup.py: LOGNAME: mockbuild PyMuPDF/setup.py: CXX: g++ PyMuPDF/setup.py: CXXFLAGS: -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection PyMuPDF/setup.py: RPM_ARCH: x86_64 PyMuPDF/setup.py: container: systemd-nspawn PyMuPDF/setup.py: HOME: /builddir PyMuPDF/setup.py: LANG: C PyMuPDF/setup.py: RPM_LD_FLAGS: -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -Wl,-dT,/builddir/build/BUILD/PyMuPDF-1.20.2/.package_note-python-PyMuPDF-1.20.2-1.fc37.x86_64.ld PyMuPDF/setup.py: PROMPT_COMMAND: printf "\033]0;\007" PyMuPDF/setup.py: RPM_PACKAGE_RELEASE: 1.fc37 PyMuPDF/setup.py: RPM_OS: linux PyMuPDF/setup.py: LT_SYS_LIBRARY_PATH: /usr/lib64: PyMuPDF/setup.py: FCFLAGS: -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules PyMuPDF/setup.py: TERM: vt100 PyMuPDF/setup.py: USER: mockbuild PyMuPDF/setup.py: NOTIFY_SOCKET: /run/host/notify PyMuPDF/setup.py: SHLVL: 1 PyMuPDF/setup.py: RPM_BUILD_DIR: /builddir/build/BUILD PyMuPDF/setup.py: container_host_id: fedora PyMuPDF/setup.py: RPM_OPT_FLAGS: -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection PyMuPDF/setup.py: RPM_DOC_DIR: /usr/share/doc PyMuPDF/setup.py: RPM_PACKAGE_VERSION: 1.20.2 PyMuPDF/setup.py: DEBUGINFOD_URLS: https://debuginfod.fedoraproject.org/ PyMuPDF/setup.py: container_host_variant_id: cloud PyMuPDF/setup.py: CONFIG_SITE: NONE PyMuPDF/setup.py: PATH: /builddir/.local/bin:/builddir/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin PyMuPDF/setup.py: CC: gcc PyMuPDF/setup.py: MAIL: /var/spool/mail/mockbuild PyMuPDF/setup.py: RPM_BUILD_NCPUS: 2 PyMuPDF/setup.py: container_uuid: 12964f3a-771b-4de0-a999-43ee25146d86 PyMuPDF/setup.py: RPM_PACKAGE_NAME: python-PyMuPDF PyMuPDF/setup.py: RPM_BUILD_ROOT: /builddir/build/BUILDROOT/python-PyMuPDF-1.20.2-1.fc37.x86_64 PyMuPDF/setup.py: OLDPWD: /builddir/build/BUILD PyMuPDF/setup.py: _: /usr/bin/python3 PyMuPDF/setup.py: LC_CTYPE: C.UTF-8 running install /usr/lib/python3.11/site-packages/setuptools/command/install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools. warnings.warn( running install_lib creating /builddir/build/BUILDROOT/python-PyMuPDF-1.20.2-1.fc37.x86_64/usr creating /builddir/build/BUILDROOT/python-PyMuPDF-1.20.2-1.fc37.x86_64/usr/lib64 creating /builddir/build/BUILDROOT/python-PyMuPDF-1.20.2-1.fc37.x86_64/usr/lib64/python3.11 creating /builddir/build/BUILDROOT/python-PyMuPDF-1.20.2-1.fc37.x86_64/usr/lib64/python3.11/site-packages creating /builddir/build/BUILDROOT/python-PyMuPDF-1.20.2-1.fc37.x86_64/usr/lib64/python3.11/site-packages/fitz copying build/lib.linux-x86_64-cpython-311/fitz/__main__.py -> /builddir/build/BUILDROOT/python-PyMuPDF-1.20.2-1.fc37.x86_64/usr/lib64/python3.11/site-packages/fitz copying build/lib.linux-x86_64-cpython-311/fitz/utils.py -> /builddir/build/BUILDROOT/python-PyMuPDF-1.20.2-1.fc37.x86_64/usr/lib64/python3.11/site-packages/fitz copying build/lib.linux-x86_64-cpython-311/fitz/fitz.py -> /builddir/build/BUILDROOT/python-PyMuPDF-1.20.2-1.fc37.x86_64/usr/lib64/python3.11/site-packages/fitz copying build/lib.linux-x86_64-cpython-311/fitz/__init__.py -> /builddir/build/BUILDROOT/python-PyMuPDF-1.20.2-1.fc37.x86_64/usr/lib64/python3.11/site-packages/fitz copying build/lib.linux-x86_64-cpython-311/fitz/_fitz.cpython-311-x86_64-linux-gnu.so -> /builddir/build/BUILDROOT/python-PyMuPDF-1.20.2-1.fc37.x86_64/usr/lib64/python3.11/site-packages/fitz byte-compiling /builddir/build/BUILDROOT/python-PyMuPDF-1.20.2-1.fc37.x86_64/usr/lib64/python3.11/site-packages/fitz/__main__.py to __main__.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/python-PyMuPDF-1.20.2-1.fc37.x86_64/usr/lib64/python3.11/site-packages/fitz/utils.py to utils.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/python-PyMuPDF-1.20.2-1.fc37.x86_64/usr/lib64/python3.11/site-packages/fitz/fitz.py to fitz.cpython-311.pyc byte-compiling /builddir/build/BUILDROOT/python-PyMuPDF-1.20.2-1.fc37.x86_64/usr/lib64/python3.11/site-packages/fitz/__init__.py to __init__.cpython-311.pyc writing byte-compilation script '/tmp/tmp7p36hwcq.py' /usr/bin/python3 /tmp/tmp7p36hwcq.py removing /tmp/tmp7p36hwcq.py running install_egg_info running egg_info creating PyMuPDF.egg-info writing PyMuPDF.egg-info/PKG-INFO writing dependency_links to PyMuPDF.egg-info/dependency_links.txt writing top-level names to PyMuPDF.egg-info/top_level.txt writing manifest file 'PyMuPDF.egg-info/SOURCES.txt' reading manifest file 'PyMuPDF.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no files found matching 'mupdf.tgz' warning: no previously-included files matching '__pycache__/*' found anywhere in distribution adding license file 'COPYING' writing manifest file 'PyMuPDF.egg-info/SOURCES.txt' Copying PyMuPDF.egg-info to /builddir/build/BUILDROOT/python-PyMuPDF-1.20.2-1.fc37.x86_64/usr/lib64/python3.11/site-packages/PyMuPDF-1.20.2-py3.11.egg-info running install_scripts + rm -rfv /builddir/build/BUILDROOT/python-PyMuPDF-1.20.2-1.fc37.x86_64/usr/bin/__pycache__ + rm -f /builddir/build/BUILDROOT/python-PyMuPDF-1.20.2-1.fc37.x86_64/usr/README.md + /usr/bin/find-debuginfo -j2 --strict-build-id -m -i --build-id-seed 1.20.2-1.fc37 --unique-debug-suffix -1.20.2-1.fc37.x86_64 --unique-debug-src-base python-PyMuPDF-1.20.2-1.fc37.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 -S debugsourcefiles.list /builddir/build/BUILD/PyMuPDF-1.20.2 extracting debug info from /builddir/build/BUILDROOT/python-PyMuPDF-1.20.2-1.fc37.x86_64/usr/lib64/python3.11/site-packages/fitz/_fitz.cpython-311-x86_64-linux-gnu.so original debug info size: 3480kB, size after compression: 3416kB /usr/bin/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. 2235 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/redhat/brp-mangle-shebangs + /usr/lib/rpm/brp-remove-la-files + /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 Bytecompiling .py files below /builddir/build/BUILDROOT/python-PyMuPDF-1.20.2-1.fc37.x86_64/usr/lib/debug/usr/lib64/python3.11 using python3.11 Bytecompiling .py files below /builddir/build/BUILDROOT/python-PyMuPDF-1.20.2-1.fc37.x86_64/usr/lib64/python3.11 using python3.11 + /usr/lib/rpm/redhat/brp-python-hardlink Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.EOWqPa + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -Wl,-dT,/builddir/build/BUILD/PyMuPDF-1.20.2/.package_note-python-PyMuPDF-1.20.2-1.fc37.x86_64.ld' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + '[' -f /usr/lib/rpm/generate-rpm-note.sh ']' + /usr/lib/rpm/generate-rpm-note.sh python-PyMuPDF 1.20.2-1.fc37 x86_64 + cd PyMuPDF-1.20.2 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -Wl,-dT,/builddir/build/BUILD/PyMuPDF-1.20.2/.package_note-python-PyMuPDF-1.20.2-1.fc37.x86_64.ld' + PATH=/builddir/build/BUILDROOT/python-PyMuPDF-1.20.2-1.fc37.x86_64/usr/bin:/builddir/.local/bin:/builddir/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin + PYTHONPATH=/builddir/build/BUILDROOT/python-PyMuPDF-1.20.2-1.fc37.x86_64/usr/lib64/python3.11/site-packages:/builddir/build/BUILDROOT/python-PyMuPDF-1.20.2-1.fc37.x86_64/usr/lib/python3.11/site-packages + PYTHONDONTWRITEBYTECODE=1 + /usr/bin/pytest ============================= test session starts ============================== platform linux -- Python 3.11.0b5, pytest-7.1.2, pluggy-1.0.0 rootdir: /builddir/build/BUILD/PyMuPDF-1.20.2 collected 91 items tests/test_annots.py ................Fatal Python error: Segmentation fault Current thread 0x00007fe5014c2740 (most recent call first): File "/builddir/build/BUILDROOT/python-PyMuPDF-1.20.2-1.fc37.x86_64/usr/lib64/python3.11/site-packages/fitz/fitz.py", line 6204 in _apply_redactions File "/builddir/build/BUILDROOT/python-PyMuPDF-1.20.2-1.fc37.x86_64/usr/lib64/python3.11/site-packages/fitz/utils.py", line 3999 in apply_redactions File "/builddir/build/BUILD/PyMuPDF-1.20.2/tests/test_annots.py", line 200 in test_1824 File "/usr/lib/python3.11/site-packages/_pytest/python.py", line 192 in pytest_pyfunc_call File "/usr/lib/python3.11/site-packages/pluggy/_callers.py", line 39 in _multicall File "/usr/lib/python3.11/site-packages/pluggy/_manager.py", line 80 in _hookexec File "/usr/lib/python3.11/site-packages/pluggy/_hooks.py", line 265 in __call__ File "/usr/lib/python3.11/site-packages/_pytest/python.py", line 1761 in runtest File "/usr/lib/python3.11/site-packages/_pytest/runner.py", line 166 in pytest_runtest_call File "/usr/lib/python3.11/site-packages/pluggy/_callers.py", line 39 in _multicall File "/usr/lib/python3.11/site-packages/pluggy/_manager.py", line 80 in _hookexec File "/usr/lib/python3.11/site-packages/pluggy/_hooks.py", line 265 in __call__ File "/usr/lib/python3.11/site-packages/_pytest/runner.py", line 259 in File "/usr/lib/python3.11/site-packages/_pytest/runner.py", line 338 in from_call File "/usr/lib/python3.11/site-packages/_pytest/runner.py", line 258 in call_runtest_hook File "/usr/lib/python3.11/site-packages/_pytest/runner.py", line 219 in call_and_report File "/usr/lib/python3.11/site-packages/_pytest/runner.py", line 130 in runtestprotocol File "/usr/lib/python3.11/site-packages/_pytest/runner.py", line 111 in pytest_runtest_protocol File "/usr/lib/python3.11/site-packages/pluggy/_callers.py", line 39 in _multicall File "/usr/lib/python3.11/site-packages/pluggy/_manager.py", line 80 in _hookexec File "/usr/lib/python3.11/site-packages/pluggy/_hooks.py", line 265 in __call__ File "/usr/lib/python3.11/site-packages/_pytest/main.py", line 347 in pytest_runtestloop File "/usr/lib/python3.11/site-packages/pluggy/_callers.py", line 39 in _multicall File "/usr/lib/python3.11/site-packages/pluggy/_manager.py", line 80 in _hookexec File "/usr/lib/python3.11/site-packages/pluggy/_hooks.py", line 265 in __call__ File "/usr/lib/python3.11/site-packages/_pytest/main.py", line 322 in _main File "/usr/lib/python3.11/site-packages/_pytest/main.py", line 268 in wrap_session File "/usr/lib/python3.11/site-packages/_pytest/main.py", line 315 in pytest_cmdline_main File "/usr/lib/python3.11/site-packages/pluggy/_callers.py", line 39 in _multicall File "/usr/lib/python3.11/site-packages/pluggy/_manager.py", line 80 in _hookexec File "/usr/lib/python3.11/site-packages/pluggy/_hooks.py", line 265 in __call__ File "/usr/lib/python3.11/site-packages/_pytest/config/__init__.py", line 164 in main File "/usr/lib/python3.11/site-packages/_pytest/config/__init__.py", line 187 in console_main File "/usr/bin/pytest", line 8 in Extension modules: fitz._fitz (total: 1) /var/tmp/rpm-tmp.EOWqPa: line 49: 345 Segmentation fault (core dumped) CFLAGS="${CFLAGS:-${RPM_OPT_FLAGS}}" LDFLAGS="${LDFLAGS:-${RPM_LD_FLAGS}}" PATH="/builddir/build/BUILDROOT/python-PyMuPDF-1.20.2-1.fc37.x86_64/usr/bin:$PATH" PYTHONPATH="${PYTHONPATH:-/builddir/build/BUILDROOT/python-PyMuPDF-1.20.2-1.fc37.x86_64/usr/lib64/python3.11/site-packages:/builddir/build/BUILDROOT/python-PyMuPDF-1.20.2-1.fc37.x86_64/usr/lib/python3.11/site-packages}" PYTHONDONTWRITEBYTECODE=1 /usr/bin/pytest + : + RPM_EC=0 ++ jobs -p + exit 0 Processing files: python3-PyMuPDF-1.20.2-1.fc37.x86_64 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.6z8go1 + umask 022 + cd /builddir/build/BUILD + cd PyMuPDF-1.20.2 + LICENSEDIR=/builddir/build/BUILDROOT/python-PyMuPDF-1.20.2-1.fc37.x86_64/usr/share/licenses/python3-PyMuPDF + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/python-PyMuPDF-1.20.2-1.fc37.x86_64/usr/share/licenses/python3-PyMuPDF + cp -pr COPYING /builddir/build/BUILDROOT/python-PyMuPDF-1.20.2-1.fc37.x86_64/usr/share/licenses/python3-PyMuPDF + RPM_EC=0 ++ jobs -p + exit 0 Provides: python-PyMuPDF = 1.20.2-1.fc37 python3-PyMuPDF = 1.20.2-1.fc37 python3-PyMuPDF(x86-64) = 1.20.2-1.fc37 python3.11-PyMuPDF = 1.20.2-1.fc37 python3.11dist(pymupdf) = 1.20.2 python3dist(pymupdf) = 1.20.2 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PartialHardlinkSets) <= 4.0.4-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libc.so.6()(64bit) libc.so.6(GLIBC_2.11)(64bit) libc.so.6(GLIBC_2.14)(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.3)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.33)(64bit) libc.so.6(GLIBC_2.4)(64bit) libc.so.6(GLIBC_2.7)(64bit) libfreetype.so.6()(64bit) libgcc_s.so.1()(64bit) libgcc_s.so.1(GCC_3.0)(64bit) libgumbo.so.1()(64bit) libharfbuzz.so.0()(64bit) libjbig2dec.so.0()(64bit) libjpeg.so.62()(64bit) libjpeg.so.62(LIBJPEG_6.2)(64bit) libleptonica.so.5.4.0()(64bit) libm.so.6()(64bit) libm.so.6(GLIBC_2.2.5)(64bit) libm.so.6(GLIBC_2.27)(64bit) libm.so.6(GLIBC_2.29)(64bit) libm.so.6(GLIBC_2.35)(64bit) libopenjp2.so.7()(64bit) libstdc++.so.6()(64bit) libstdc++.so.6(CXXABI_1.3)(64bit) libstdc++.so.6(CXXABI_1.3.9)(64bit) libstdc++.so.6(GLIBCXX_3.4)(64bit) libstdc++.so.6(GLIBCXX_3.4.30)(64bit) libtesseract.so.5.2.0()(64bit) python(abi) = 3.11 rtld(GNU_HASH) Obsoletes: python-PyMuPDF < 1.20.2-1.fc37 Processing files: python-PyMuPDF-doc-1.20.2-1.fc37.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.3drljD + umask 022 + cd /builddir/build/BUILD + cd PyMuPDF-1.20.2 + DOCDIR=/builddir/build/BUILDROOT/python-PyMuPDF-1.20.2-1.fc37.x86_64/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.20.2-1.fc37.x86_64/usr/share/doc/python-PyMuPDF-doc + cp -pr docs_built/_images docs_built/_sources docs_built/_static docs_built/algebra.html docs_built/annot.html docs_built/app1.html docs_built/app2.html docs_built/app3.html docs_built/changes.html docs_built/classes.html docs_built/colors.html docs_built/colorspace.html docs_built/coop_low.html docs_built/deprecated.html docs_built/device.html docs_built/displaylist.html docs_built/document.html docs_built/faq.html docs_built/font.html docs_built/functions.html docs_built/genindex-A.html docs_built/genindex-B.html docs_built/genindex-C.html docs_built/genindex-D.html docs_built/genindex-E.html docs_built/genindex-F.html docs_built/genindex-G.html docs_built/genindex-H.html docs_built/genindex-I.html docs_built/genindex-J.html docs_built/genindex-K.html docs_built/genindex-L.html docs_built/genindex-M.html docs_built/genindex-N.html docs_built/genindex-O.html docs_built/genindex-P.html docs_built/genindex-Q.html docs_built/genindex-R.html docs_built/genindex-S.html docs_built/genindex-T.html docs_built/genindex-U.html docs_built/genindex-V.html docs_built/genindex-W.html docs_built/genindex-X.html docs_built/genindex-Y.html docs_built/genindex-Z.html docs_built/genindex-_.html docs_built/genindex-all.html docs_built/genindex.html docs_built/glossary.html docs_built/identity.html docs_built/index.html docs_built/installation.html docs_built/intro.html docs_built/irect.html docs_built/link.html docs_built/linkdest.html docs_built/lowlevel.html docs_built/matrix.html docs_built/module.html docs_built/objects.inv docs_built/outline.html docs_built/page.html docs_built/pixmap.html docs_built/point.html docs_built/quad.html docs_built/recipes-annotations.html docs_built/recipes-common-issues-and-their-solutions.html docs_built/recipes-drawing-and-graphics.html docs_built/recipes-general.html docs_built/recipes-images.html docs_built/recipes-journalling.html docs_built/recipes-low-level-interfaces.html docs_built/recipes-multiprocessing.html docs_built/recipes-text.html docs_built/rect.html docs_built/search.html docs_built/searchindex.js docs_built/shape.html docs_built/textpage.html docs_built/textwriter.html docs_built/tools.html docs_built/tutorial.html docs_built/vars.html docs_built/version.html docs_built/widget.html docs_built/znames.html /builddir/build/BUILDROOT/python-PyMuPDF-1.20.2-1.fc37.x86_64/usr/share/doc/python-PyMuPDF-doc + cp -pr README.md /builddir/build/BUILDROOT/python-PyMuPDF-1.20.2-1.fc37.x86_64/usr/share/doc/python-PyMuPDF-doc + RPM_EC=0 ++ jobs -p + exit 0 Provides: python-PyMuPDF-doc = 1.20.2-1.fc37 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.20.2-1.fc37.x86_64 Provides: python-PyMuPDF-debugsource = 1.20.2-1.fc37 python-PyMuPDF-debugsource(x86-64) = 1.20.2-1.fc37 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: python3-PyMuPDF-debuginfo-1.20.2-1.fc37.x86_64 Provides: debuginfo(build-id) = 410015e26fb43fff95501082cbf45065d3cd5617 python-PyMuPDF-debuginfo = 1.20.2-1.fc37 python3-PyMuPDF-debuginfo = 1.20.2-1.fc37 python3-PyMuPDF-debuginfo(x86-64) = 1.20.2-1.fc37 python3.11-PyMuPDF-debuginfo = 1.20.2-1.fc37 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: python-PyMuPDF-debugsource(x86-64) = 1.20.2-1.fc37 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/python-PyMuPDF-1.20.2-1.fc37.x86_64 Wrote: /builddir/build/RPMS/python-PyMuPDF-doc-1.20.2-1.fc37.noarch.rpm Wrote: /builddir/build/RPMS/python3-PyMuPDF-1.20.2-1.fc37.x86_64.rpm Wrote: /builddir/build/RPMS/python-PyMuPDF-debugsource-1.20.2-1.fc37.x86_64.rpm Wrote: /builddir/build/RPMS/python3-PyMuPDF-debuginfo-1.20.2-1.fc37.x86_64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.IKvven + umask 022 + cd /builddir/build/BUILD + cd PyMuPDF-1.20.2 + /usr/bin/rm -rf /builddir/build/BUILDROOT/python-PyMuPDF-1.20.2-1.fc37.x86_64 + RPM_EC=0 ++ jobs -p + exit 0 Executing(rmbuild): /bin/sh -e /var/tmp/rpm-tmp.BpFK7j + umask 022 + cd /builddir/build/BUILD + rm -rf PyMuPDF-1.20.2 PyMuPDF-1.20.2.gemspec + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0