Mock Version: 1.4.21 Mock Version: 1.4.21 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/python-pikepdf.spec'], chrootPath='/var/lib/mock/f33-build-631976-67960/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=432000uid=987gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/python-pikepdf.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 setting SOURCE_DATE_EPOCH=1617235200 Wrote: /builddir/build/SRPMS/python-pikepdf-1.19.4-2.fc33.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/python-pikepdf.spec'], chrootPath='/var/lib/mock/f33-build-631976-67960/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=432000uid=987gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/python-pikepdf.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 setting SOURCE_DATE_EPOCH=1617235200 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.e2S5Hx + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf pikepdf-1.19.4 + /usr/bin/gzip -dc /builddir/build/SOURCES/pikepdf-1.19.4.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd pikepdf-1.19.4 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/cat /builddir/build/SOURCES/0001-Relax-some-test-requirements.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/0002-Fix-externalize_inline_images-for-qpdf-10.1.0.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/0003-libqpdf-10.1.0-raises-different-exception.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/0004-Fix-test_tokenfilter_is_abstract.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /builddir/build/SOURCES/0005-Fix-XXE-vulnerability-in-XMP-metadata-parsing.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + rm -rf src/pikepdf.egg-info + sed -i -e 's/release = .\+/release = '\''1.19.4'\''/g' docs/conf.py + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.bSg7Ru + umask 022 + cd /builddir/build/BUILD + cd pikepdf-1.19.4 + 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 -fasynchronous-unwind-tables -fstack-clash-protection' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -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 creating build/lib.linux-riscv64-3.9 creating build/lib.linux-riscv64-3.9/pikepdf copying src/pikepdf/_cpphelpers.py -> build/lib.linux-riscv64-3.9/pikepdf copying src/pikepdf/_methods.py -> build/lib.linux-riscv64-3.9/pikepdf copying src/pikepdf/_xml.py -> build/lib.linux-riscv64-3.9/pikepdf copying src/pikepdf/jbig2.py -> build/lib.linux-riscv64-3.9/pikepdf copying src/pikepdf/_version.py -> build/lib.linux-riscv64-3.9/pikepdf copying src/pikepdf/__init__.py -> build/lib.linux-riscv64-3.9/pikepdf copying src/pikepdf/objects.py -> build/lib.linux-riscv64-3.9/pikepdf copying src/pikepdf/codec.py -> build/lib.linux-riscv64-3.9/pikepdf creating build/lib.linux-riscv64-3.9/pikepdf/models copying src/pikepdf/models/metadata.py -> build/lib.linux-riscv64-3.9/pikepdf/models copying src/pikepdf/models/outlines.py -> build/lib.linux-riscv64-3.9/pikepdf/models copying src/pikepdf/models/image.py -> build/lib.linux-riscv64-3.9/pikepdf/models copying src/pikepdf/models/matrix.py -> build/lib.linux-riscv64-3.9/pikepdf/models copying src/pikepdf/models/encryption.py -> build/lib.linux-riscv64-3.9/pikepdf/models copying src/pikepdf/models/__init__.py -> build/lib.linux-riscv64-3.9/pikepdf/models running build_ext gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -I/usr/include/python3.9 -c /tmp/has_flag__xx9w13io/flagcheck.cpp -o /tmp/has_flag__xx9w13io/flagcheck.o -std=c++14 gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -I/usr/include/python3.9 -c /tmp/has_flag__8pvrlfpy/flagcheck.cpp -o /tmp/has_flag__8pvrlfpy/flagcheck.o -fvisibility=hidden building 'pikepdf._qpdf' extension creating build/temp.linux-riscv64-3.9 creating build/temp.linux-riscv64-3.9/src creating build/temp.linux-riscv64-3.9/src/qpdf gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -DVERSION_INFO="1.19.4" -I/usr/include/pybind11 -I/usr/include/python3.9 -c src/qpdf/annotation.cpp -o build/temp.linux-riscv64-3.9/src/qpdf/annotation.o -std=c++14 -fvisibility=hidden gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -DVERSION_INFO="1.19.4" -I/usr/include/pybind11 -I/usr/include/python3.9 -c src/qpdf/object.cpp -o build/temp.linux-riscv64-3.9/src/qpdf/object.o -std=c++14 -fvisibility=hidden gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -DVERSION_INFO="1.19.4" -I/usr/include/pybind11 -I/usr/include/python3.9 -c src/qpdf/object_convert.cpp -o build/temp.linux-riscv64-3.9/src/qpdf/object_convert.o -std=c++14 -fvisibility=hidden gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -DVERSION_INFO="1.19.4" -I/usr/include/pybind11 -I/usr/include/python3.9 -c src/qpdf/object_repr.cpp -o build/temp.linux-riscv64-3.9/src/qpdf/object_repr.o -std=c++14 -fvisibility=hidden gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -DVERSION_INFO="1.19.4" -I/usr/include/pybind11 -I/usr/include/python3.9 -c src/qpdf/page.cpp -o build/temp.linux-riscv64-3.9/src/qpdf/page.o -std=c++14 -fvisibility=hidden gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -DVERSION_INFO="1.19.4" -I/usr/include/pybind11 -I/usr/include/python3.9 -c src/qpdf/pikepdf.cpp -o build/temp.linux-riscv64-3.9/src/qpdf/pikepdf.o -std=c++14 -fvisibility=hidden gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -DVERSION_INFO="1.19.4" -I/usr/include/pybind11 -I/usr/include/python3.9 -c src/qpdf/pipeline.cpp -o build/temp.linux-riscv64-3.9/src/qpdf/pipeline.o -std=c++14 -fvisibility=hidden gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -DVERSION_INFO="1.19.4" -I/usr/include/pybind11 -I/usr/include/python3.9 -c src/qpdf/qpdf.cpp -o build/temp.linux-riscv64-3.9/src/qpdf/qpdf.o -std=c++14 -fvisibility=hidden gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -DVERSION_INFO="1.19.4" -I/usr/include/pybind11 -I/usr/include/python3.9 -c src/qpdf/qpdf_pagelist.cpp -o build/temp.linux-riscv64-3.9/src/qpdf/qpdf_pagelist.o -std=c++14 -fvisibility=hidden gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -DVERSION_INFO="1.19.4" -I/usr/include/pybind11 -I/usr/include/python3.9 -c src/qpdf/utils.cpp -o build/temp.linux-riscv64-3.9/src/qpdf/utils.o -std=c++14 -fvisibility=hidden building using 4 processes g++ -pthread -shared -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -g -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -g -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -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 -fasynchronous-unwind-tables -fstack-clash-protection build/temp.linux-riscv64-3.9/src/qpdf/annotation.o build/temp.linux-riscv64-3.9/src/qpdf/object.o build/temp.linux-riscv64-3.9/src/qpdf/object_convert.o build/temp.linux-riscv64-3.9/src/qpdf/object_repr.o build/temp.linux-riscv64-3.9/src/qpdf/page.o build/temp.linux-riscv64-3.9/src/qpdf/pikepdf.o build/temp.linux-riscv64-3.9/src/qpdf/pipeline.o build/temp.linux-riscv64-3.9/src/qpdf/qpdf.o build/temp.linux-riscv64-3.9/src/qpdf/qpdf_pagelist.o build/temp.linux-riscv64-3.9/src/qpdf/utils.o -L/usr/lib64 -lqpdf -o build/lib.linux-riscv64-3.9/pikepdf/_qpdf.cpython-39-riscv64-linux-gnu.so + pushd docs ~/build/BUILD/pikepdf-1.19.4/docs ~/build/BUILD/pikepdf-1.19.4 ++ ls -d /builddir/build/BUILD/pikepdf-1.19.4/docs/../build/lib.linux-riscv64-3.9 + PYTHONPATH=/builddir/build/BUILD/pikepdf-1.19.4/docs/../build/lib.linux-riscv64-3.9 + sphinx-build-3 . ../html Running Sphinx v3.2.1 making output directory... done WARNING: html_static_path entry '_static' does not exist loading intersphinx inventory from https://docs.python.org/objects.inv... WARNING: failed to reach any of the inventories with the following issues: intersphinx inventory 'https://docs.python.org/objects.inv' not fetchable due to : HTTPSConnectionPool(host='docs.python.org', port=443): Max retries exceeded with url: /objects.inv (Caused by NewConnectionError(': Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')) [autosummary] generating autosummary for: api/filters.rst, api/main.rst, api/models.rst, index.rst, installation.rst, references/arch.rst, references/contributing.rst, references/debugging.rst, references/resources.rst, release_notes.rst, topics/content_streams.rst, topics/encoding.rst, topics/images.rst, topics/metadata.rst, topics/objects.rst, topics/outlines.rst, topics/page.rst, topics/pages.rst, topics/streams.rst, tutorial.rst building [mo]: targets for 0 po files that are out of date building [html]: targets for 20 source files that are out of date updating environment: [new config] 20 added, 0 changed, 0 removed reading sources... [ 5%] api/filters reading sources... [ 10%] api/main reading sources... [ 15%] api/models reading sources... [ 20%] index reading sources... [ 25%] installation reading sources... [ 30%] references/arch reading sources... [ 35%] references/contributing reading sources... [ 40%] references/debugging reading sources... [ 45%] references/resources reading sources... [ 50%] release_notes reading sources... [ 55%] topics/content_streams reading sources... [ 60%] topics/encoding reading sources... [ 65%] topics/images reading sources... [ 70%] topics/metadata reading sources... [ 75%] topics/objects reading sources... [ 80%] topics/outlines reading sources... [ 85%] topics/page reading sources... [ 90%] topics/pages reading sources... [ 95%] topics/streams reading sources... [100%] tutorial looking for now-outdated files... none found pickling environment... done checking consistency... done preparing documents... done writing output... [ 5%] api/filters writing output... [ 10%] api/main writing output... [ 15%] api/models writing output... [ 20%] index writing output... [ 25%] installation writing output... [ 30%] references/arch writing output... [ 35%] references/contributing writing output... [ 40%] references/debugging writing output... [ 45%] references/resources writing output... [ 50%] release_notes writing output... [ 55%] topics/content_streams writing output... [ 60%] topics/encoding writing output... [ 65%] topics/images writing output... [ 70%] topics/metadata writing output... [ 75%] topics/objects writing output... [ 80%] topics/outlines writing output... [ 85%] topics/page writing output... [ 90%] topics/pages writing output... [ 95%] topics/streams writing output... [100%] tutorial generating indices... genindexdone writing additional pages... searchdone copying images... [ 10%] images/pike.jpg copying images... [ 20%] images/pike-cartoon.png copying images... [ 30%] images/pikemen.jpg copying images... [ 40%] images/pike-tree.jpg copying images... [ 50%] images/sushi.jpg copying images... [ 60%] images/pike-release.jpg copying images... [ 70%] images/pdfcoords.svg copying images... [ 80%] images/congress_im0.jpg copying images... [ 90%] images/28fish.jpg copying images... [100%] images/save-pike.jpg copying static files... ... done copying extra files... done dumping search index in English (code: en)... done dumping object inventory... done build succeeded, 2 warnings. The HTML pages are in ../html. + popd ~/build/BUILD/pikepdf-1.19.4 + rm -rf html/.doctrees html/.buildinfo + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.UzhnCw + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/python-pikepdf-1.19.4-2.fc33.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/python-pikepdf-1.19.4-2.fc33.riscv64 ++ dirname /builddir/build/BUILDROOT/python-pikepdf-1.19.4-2.fc33.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/python-pikepdf-1.19.4-2.fc33.riscv64 + cd pikepdf-1.19.4 + 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 -fasynchronous-unwind-tables -fstack-clash-protection' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -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-pikepdf-1.19.4-2.fc33.riscv64 running install running install_lib creating /builddir/build/BUILDROOT/python-pikepdf-1.19.4-2.fc33.riscv64/usr creating /builddir/build/BUILDROOT/python-pikepdf-1.19.4-2.fc33.riscv64/usr/lib64 creating /builddir/build/BUILDROOT/python-pikepdf-1.19.4-2.fc33.riscv64/usr/lib64/python3.9 creating /builddir/build/BUILDROOT/python-pikepdf-1.19.4-2.fc33.riscv64/usr/lib64/python3.9/site-packages creating /builddir/build/BUILDROOT/python-pikepdf-1.19.4-2.fc33.riscv64/usr/lib64/python3.9/site-packages/pikepdf copying build/lib.linux-riscv64-3.9/pikepdf/_cpphelpers.py -> /builddir/build/BUILDROOT/python-pikepdf-1.19.4-2.fc33.riscv64/usr/lib64/python3.9/site-packages/pikepdf copying build/lib.linux-riscv64-3.9/pikepdf/_methods.py -> /builddir/build/BUILDROOT/python-pikepdf-1.19.4-2.fc33.riscv64/usr/lib64/python3.9/site-packages/pikepdf copying build/lib.linux-riscv64-3.9/pikepdf/_xml.py -> /builddir/build/BUILDROOT/python-pikepdf-1.19.4-2.fc33.riscv64/usr/lib64/python3.9/site-packages/pikepdf creating /builddir/build/BUILDROOT/python-pikepdf-1.19.4-2.fc33.riscv64/usr/lib64/python3.9/site-packages/pikepdf/models copying build/lib.linux-riscv64-3.9/pikepdf/models/metadata.py -> /builddir/build/BUILDROOT/python-pikepdf-1.19.4-2.fc33.riscv64/usr/lib64/python3.9/site-packages/pikepdf/models copying build/lib.linux-riscv64-3.9/pikepdf/models/outlines.py -> /builddir/build/BUILDROOT/python-pikepdf-1.19.4-2.fc33.riscv64/usr/lib64/python3.9/site-packages/pikepdf/models copying build/lib.linux-riscv64-3.9/pikepdf/models/image.py -> /builddir/build/BUILDROOT/python-pikepdf-1.19.4-2.fc33.riscv64/usr/lib64/python3.9/site-packages/pikepdf/models copying build/lib.linux-riscv64-3.9/pikepdf/models/matrix.py -> /builddir/build/BUILDROOT/python-pikepdf-1.19.4-2.fc33.riscv64/usr/lib64/python3.9/site-packages/pikepdf/models copying build/lib.linux-riscv64-3.9/pikepdf/models/encryption.py -> /builddir/build/BUILDROOT/python-pikepdf-1.19.4-2.fc33.riscv64/usr/lib64/python3.9/site-packages/pikepdf/models copying build/lib.linux-riscv64-3.9/pikepdf/models/__init__.py -> /builddir/build/BUILDROOT/python-pikepdf-1.19.4-2.fc33.riscv64/usr/lib64/python3.9/site-packages/pikepdf/models creating /builddir/build/BUILDROOT/python-pikepdf-1.19.4-2.fc33.riscv64/usr/lib64/python3.9/site-packages/pikepdf/models/__pycache__ copying build/lib.linux-riscv64-3.9/pikepdf/models/__pycache__/matrix.cpython-39.pyc -> /builddir/build/BUILDROOT/python-pikepdf-1.19.4-2.fc33.riscv64/usr/lib64/python3.9/site-packages/pikepdf/models/__pycache__ copying build/lib.linux-riscv64-3.9/pikepdf/models/__pycache__/__init__.cpython-39.pyc -> /builddir/build/BUILDROOT/python-pikepdf-1.19.4-2.fc33.riscv64/usr/lib64/python3.9/site-packages/pikepdf/models/__pycache__ copying build/lib.linux-riscv64-3.9/pikepdf/models/__pycache__/image.cpython-39.pyc -> /builddir/build/BUILDROOT/python-pikepdf-1.19.4-2.fc33.riscv64/usr/lib64/python3.9/site-packages/pikepdf/models/__pycache__ copying build/lib.linux-riscv64-3.9/pikepdf/models/__pycache__/outlines.cpython-39.pyc -> /builddir/build/BUILDROOT/python-pikepdf-1.19.4-2.fc33.riscv64/usr/lib64/python3.9/site-packages/pikepdf/models/__pycache__ copying build/lib.linux-riscv64-3.9/pikepdf/models/__pycache__/encryption.cpython-39.pyc -> /builddir/build/BUILDROOT/python-pikepdf-1.19.4-2.fc33.riscv64/usr/lib64/python3.9/site-packages/pikepdf/models/__pycache__ copying build/lib.linux-riscv64-3.9/pikepdf/models/__pycache__/metadata.cpython-39.pyc -> /builddir/build/BUILDROOT/python-pikepdf-1.19.4-2.fc33.riscv64/usr/lib64/python3.9/site-packages/pikepdf/models/__pycache__ copying build/lib.linux-riscv64-3.9/pikepdf/jbig2.py -> /builddir/build/BUILDROOT/python-pikepdf-1.19.4-2.fc33.riscv64/usr/lib64/python3.9/site-packages/pikepdf copying build/lib.linux-riscv64-3.9/pikepdf/_version.py -> /builddir/build/BUILDROOT/python-pikepdf-1.19.4-2.fc33.riscv64/usr/lib64/python3.9/site-packages/pikepdf copying build/lib.linux-riscv64-3.9/pikepdf/__init__.py -> /builddir/build/BUILDROOT/python-pikepdf-1.19.4-2.fc33.riscv64/usr/lib64/python3.9/site-packages/pikepdf copying build/lib.linux-riscv64-3.9/pikepdf/objects.py -> /builddir/build/BUILDROOT/python-pikepdf-1.19.4-2.fc33.riscv64/usr/lib64/python3.9/site-packages/pikepdf creating /builddir/build/BUILDROOT/python-pikepdf-1.19.4-2.fc33.riscv64/usr/lib64/python3.9/site-packages/pikepdf/__pycache__ copying build/lib.linux-riscv64-3.9/pikepdf/__pycache__/_version.cpython-39.pyc -> /builddir/build/BUILDROOT/python-pikepdf-1.19.4-2.fc33.riscv64/usr/lib64/python3.9/site-packages/pikepdf/__pycache__ copying build/lib.linux-riscv64-3.9/pikepdf/__pycache__/_xml.cpython-39.pyc -> /builddir/build/BUILDROOT/python-pikepdf-1.19.4-2.fc33.riscv64/usr/lib64/python3.9/site-packages/pikepdf/__pycache__ copying build/lib.linux-riscv64-3.9/pikepdf/__pycache__/__init__.cpython-39.pyc -> /builddir/build/BUILDROOT/python-pikepdf-1.19.4-2.fc33.riscv64/usr/lib64/python3.9/site-packages/pikepdf/__pycache__ copying build/lib.linux-riscv64-3.9/pikepdf/__pycache__/codec.cpython-39.pyc -> /builddir/build/BUILDROOT/python-pikepdf-1.19.4-2.fc33.riscv64/usr/lib64/python3.9/site-packages/pikepdf/__pycache__ copying build/lib.linux-riscv64-3.9/pikepdf/__pycache__/jbig2.cpython-39.pyc -> /builddir/build/BUILDROOT/python-pikepdf-1.19.4-2.fc33.riscv64/usr/lib64/python3.9/site-packages/pikepdf/__pycache__ copying build/lib.linux-riscv64-3.9/pikepdf/__pycache__/_cpphelpers.cpython-39.pyc -> /builddir/build/BUILDROOT/python-pikepdf-1.19.4-2.fc33.riscv64/usr/lib64/python3.9/site-packages/pikepdf/__pycache__ copying build/lib.linux-riscv64-3.9/pikepdf/__pycache__/objects.cpython-39.pyc -> /builddir/build/BUILDROOT/python-pikepdf-1.19.4-2.fc33.riscv64/usr/lib64/python3.9/site-packages/pikepdf/__pycache__ copying build/lib.linux-riscv64-3.9/pikepdf/__pycache__/_methods.cpython-39.pyc -> /builddir/build/BUILDROOT/python-pikepdf-1.19.4-2.fc33.riscv64/usr/lib64/python3.9/site-packages/pikepdf/__pycache__ copying build/lib.linux-riscv64-3.9/pikepdf/_qpdf.cpython-39-riscv64-linux-gnu.so -> /builddir/build/BUILDROOT/python-pikepdf-1.19.4-2.fc33.riscv64/usr/lib64/python3.9/site-packages/pikepdf copying build/lib.linux-riscv64-3.9/pikepdf/codec.py -> /builddir/build/BUILDROOT/python-pikepdf-1.19.4-2.fc33.riscv64/usr/lib64/python3.9/site-packages/pikepdf writing byte-compilation script '/tmp/tmpfyae902a.py' /usr/bin/python3 /tmp/tmpfyae902a.py removing /tmp/tmpfyae902a.py running install_egg_info running egg_info creating src/pikepdf.egg-info writing src/pikepdf.egg-info/PKG-INFO writing dependency_links to src/pikepdf.egg-info/dependency_links.txt writing requirements to src/pikepdf.egg-info/requires.txt writing top-level names to src/pikepdf.egg-info/top_level.txt writing manifest file 'src/pikepdf.egg-info/SOURCES.txt' reading manifest file 'src/pikepdf.egg-info/SOURCES.txt' writing manifest file 'src/pikepdf.egg-info/SOURCES.txt' Copying src/pikepdf.egg-info to /builddir/build/BUILDROOT/python-pikepdf-1.19.4-2.fc33.riscv64/usr/lib64/python3.9/site-packages/pikepdf-1.19.4-py3.9.egg-info running install_scripts + rm -rfv /builddir/build/BUILDROOT/python-pikepdf-1.19.4-2.fc33.riscv64/usr/bin/__pycache__ + /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 1.19.4-2.fc33 --unique-debug-suffix -1.19.4-2.fc33.riscv64 --unique-debug-src-base python-pikepdf-1.19.4-2.fc33.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/pikepdf-1.19.4 explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/python-pikepdf-1.19.4-2.fc33.riscv64/usr/lib64/python3.9/site-packages/pikepdf/_qpdf.cpython-39-riscv64-linux-gnu.so extracting debug info from /builddir/build/BUILDROOT/python-pikepdf-1.19.4-2.fc33.riscv64/usr/lib64/python3.9/site-packages/pikepdf/_qpdf.cpython-39-riscv64-linux-gnu.so original debug info size: 44028kB, size after compression: 41704kB /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. 274 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/redhat/brp-python-bytecompile '' 1 0 Bytecompiling .py files below /builddir/build/BUILDROOT/python-pikepdf-1.19.4-2.fc33.riscv64/usr/lib/debug/usr/lib64/python3.9 using python3.9 Bytecompiling .py files below /builddir/build/BUILDROOT/python-pikepdf-1.19.4-2.fc33.riscv64/usr/lib64/python3.9 using python3.9 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.up539u + umask 022 + cd /builddir/build/BUILD + cd pikepdf-1.19.4 + 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 -fasynchronous-unwind-tables -fstack-clash-protection' + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld ' + PATH=/builddir/build/BUILDROOT/python-pikepdf-1.19.4-2.fc33.riscv64/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin + PYTHONPATH=/builddir/build/BUILDROOT/python-pikepdf-1.19.4-2.fc33.riscv64/usr/lib64/python3.9/site-packages:/builddir/build/BUILDROOT/python-pikepdf-1.19.4-2.fc33.riscv64/usr/lib/python3.9/site-packages + PYTHONDONTWRITEBYTECODE=1 + /usr/bin/pytest -ra ============================= test session starts ============================== platform linux -- Python 3.9.7, pytest-6.0.2, py-1.10.0, pluggy-0.13.1 rootdir: /builddir/build/BUILD/pikepdf-1.19.4, configfile: setup.cfg, testpaths: tests plugins: hypothesis-5.43.9, helpers-namespace-2019.1.8, xdist-1.34.0, forked-1.3.0, timeout-1.4.2 collected 341 items tests/test_codec.py .. [ 0%] tests/test_decimal.py ..... [ 2%] tests/test_dictionary.py .. [ 2%] tests/test_encrypt.py ................................. [ 12%] tests/test_filters.py ....... [ 14%] tests/test_formxobject.py . [ 14%] tests/test_image_access.py ..............................sss. [ 24%] tests/test_io.py ...............F [ 29%] tests/test_ipython.py .... [ 30%] tests/test_metadata.py ................................................. [ 44%] ............. [ 48%] tests/test_object.py ................................................... [ 63%] .............. [ 67%] tests/test_outlines.py ................. [ 72%] tests/test_page.py .. [ 73%] tests/test_pages.py .............................. [ 82%] tests/test_parsers.py ......... [ 84%] tests/test_pdf.py .................................. [ 94%] tests/test_pdfa.py ss [ 95%] tests/test_private_pdfs.py s [ 95%] tests/test_refcount.py ..... [ 97%] tests/test_sanity.py .......... [100%] =================================== FAILURES =================================== ______________________________ test_save_bytesio _______________________________ resources = PosixPath('/builddir/build/BUILD/pikepdf-1.19.4/tests/resources') outpdf = PosixPath('/tmp/pytest-of-mockbuild/pytest-0/test_save_bytesio0/out.pdf') def test_save_bytesio(resources, outpdf): with Pdf.open(resources / 'fourpages.pdf') as input_: pdf = Pdf.new() for page in input_.pages: pdf.pages.append(page) bio = BytesIO() pdf.save(bio) bio_value = bio.getvalue() assert bio_value != b'' pdf.save(outpdf) > assert outpdf.read_bytes() == bio_value E AssertionError: assert b'%PDF-1.3\n%...1673\n%%EOF\n' == b'%PDF-1.3\n%...1673\n%%EOF\n' E At index 1981 diff: b'3' != b'1' E Use -v to get the full diff tests/test_io.py:224: AssertionError =========================== short test summary info ============================ SKIPPED [1] tests/test_image_access.py:418: jbig2dec not installed SKIPPED [1] tests/test_image_access.py:427: jbig2dec not installed SKIPPED [1] tests/test_image_access.py:436: jbig2dec not installed SKIPPED [1] tests/test_pdfa.py:33: verapdf not found SKIPPED [1] tests/test_pdfa.py:45: verapdf not found SKIPPED [1] tests/test_private_pdfs.py:25: private resources not available FAILED tests/test_io.py::test_save_bytesio - AssertionError: assert b'%PDF-1.... ============= 1 failed, 334 passed, 6 skipped in 279.59s (0:04:39) ============= RPM build errors: error: Bad exit status from /var/tmp/rpm-tmp.up539u (%check) Bad exit status from /var/tmp/rpm-tmp.up539u (%check) Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.8/site-packages/mockbuild/trace_decorator.py", line 95, in trace result = func(*args, **kw) File "/usr/lib/python3.8/site-packages/mockbuild/util.py", line 746, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode) mockbuild.exception.Error: Command failed: # bash --login -c /usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/python-pikepdf.spec