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/pysendfile.spec'], chrootPath='/var/lib/mock/f33-build-226818-49522/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/pysendfile.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=1590364800 Wrote: /builddir/build/SRPMS/pysendfile-2.0.1-17.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/pysendfile.spec'], chrootPath='/var/lib/mock/f33-build-226818-49522/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/pysendfile.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 sh: /usr/bin/python: No such file or directory Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1590364800 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.C3QBSr + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf pysendfile-2.0.1 + /usr/bin/gzip -dc /builddir/build/SOURCES/pysendfile-2.0.1.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd pysendfile-2.0.1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.8wIA2q + umask 022 + cd /builddir/build/BUILD + cd pysendfile-2.0.1 + CFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + LDFLAGS='-Wl,-z,relro -Wl,--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_ext building 'sendfile' extension creating build creating build/temp.linux-riscv64-3.9 gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -fasynchronous-unwind-tables -fstack-clash-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -I/usr/include/python3.9 -c sendfilemodule.c -o build/temp.linux-riscv64-3.9/sendfilemodule.o creating build/lib.linux-riscv64-3.9 gcc -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 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection build/temp.linux-riscv64-3.9/sendfilemodule.o -L/usr/lib64 -o build/lib.linux-riscv64-3.9/sendfile.cpython-39-riscv64-linux-gnu.so + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.GvtQ1t + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/pysendfile-2.0.1-17.fc33.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/pysendfile-2.0.1-17.fc33.riscv64 ++ dirname /builddir/build/BUILDROOT/pysendfile-2.0.1-17.fc33.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/pysendfile-2.0.1-17.fc33.riscv64 + cd pysendfile-2.0.1 + CFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + LDFLAGS='-Wl,-z,relro -Wl,--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/pysendfile-2.0.1-17.fc33.riscv64 running install running install_lib creating /builddir/build/BUILDROOT/pysendfile-2.0.1-17.fc33.riscv64/usr creating /builddir/build/BUILDROOT/pysendfile-2.0.1-17.fc33.riscv64/usr/lib64 creating /builddir/build/BUILDROOT/pysendfile-2.0.1-17.fc33.riscv64/usr/lib64/python3.9 creating /builddir/build/BUILDROOT/pysendfile-2.0.1-17.fc33.riscv64/usr/lib64/python3.9/site-packages copying build/lib.linux-riscv64-3.9/sendfile.cpython-39-riscv64-linux-gnu.so -> /builddir/build/BUILDROOT/pysendfile-2.0.1-17.fc33.riscv64/usr/lib64/python3.9/site-packages writing byte-compilation script '/tmp/tmpi4n6pnta.py' /usr/bin/python3 /tmp/tmpi4n6pnta.py removing /tmp/tmpi4n6pnta.py running install_egg_info running egg_info writing pysendfile.egg-info/PKG-INFO writing dependency_links to pysendfile.egg-info/dependency_links.txt writing top-level names to pysendfile.egg-info/top_level.txt reading manifest file 'pysendfile.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' writing manifest file 'pysendfile.egg-info/SOURCES.txt' Copying pysendfile.egg-info to /builddir/build/BUILDROOT/pysendfile-2.0.1-17.fc33.riscv64/usr/lib64/python3.9/site-packages/pysendfile-2.0.1-py3.9.egg-info running install_scripts + rm -rfv /builddir/build/BUILDROOT/pysendfile-2.0.1-17.fc33.riscv64/usr/bin/__pycache__ + /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 2.0.1-17.fc33 --unique-debug-suffix -2.0.1-17.fc33.riscv64 --unique-debug-src-base pysendfile-2.0.1-17.fc33.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/pysendfile-2.0.1 explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/pysendfile-2.0.1-17.fc33.riscv64/usr/lib64/python3.9/site-packages/sendfile.cpython-39-riscv64-linux-gnu.so extracting debug info from /builddir/build/BUILDROOT/pysendfile-2.0.1-17.fc33.riscv64/usr/lib64/python3.9/site-packages/sendfile.cpython-39-riscv64-linux-gnu.so original debug info size: 52kB, size after compression: 52kB /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. 21 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 /usr/bin/python 1 0 Bytecompiling .py files below /builddir/build/BUILDROOT/pysendfile-2.0.1-17.fc33.riscv64/usr/lib/debug/usr/lib64/python3.9 using /usr/bin/python3.9 Bytecompiling .py files below /builddir/build/BUILDROOT/pysendfile-2.0.1-17.fc33.riscv64/usr/lib64/python3.9 using /usr/bin/python3.9 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.xOKFlq + umask 022 + cd /builddir/build/BUILD + cd pysendfile-2.0.1 + PYTHONPATH=/builddir/build/BUILDROOT/pysendfile-2.0.1-17.fc33.riscv64/usr/lib64/python3.9/site-packages + /usr/bin/python3 test/test_sendfile.py test_empty_file (__main__.TestSendfile) ... ok test_invalid_offset (__main__.TestSendfile) ... ok test_non_socket (__main__.TestSendfile) ... ok test_offset_none (__main__.TestSendfile) ... ok test_offset_overflow (__main__.TestSendfile) ... ok test_send_from_certain_offset (__main__.TestSendfile) ... ok test_send_whole_file (__main__.TestSendfile) ... ok test_small_file (__main__.TestSendfile) ... ok test_small_file_and_offset_overflow (__main__.TestSendfile) ... ok test_big_file (__main__.TestLargeFile) ... creating file: 0% 1% 1% 2% 2% 3% 3% 4% 4% 5% 6% 6% 7% 7% 8% 8% 9% 10% 10% 11% 11% 12% 13% 13% 14% 14% 15% 16% 16% 17% 17% 18% 18% 19% 19% 20% 20% 21% 22% 22% 23% 24% 24% 25% 25% 26% 27% 27% 28% 28% 29% 29% 30% 31% 31% 32% 32% 33% 34% 34% 35% 35% 36% 36% 37% 38% 38% 39% 39% 40% 41% 41% 42% 43% 43% 44% 44% 45% 46% 46% 47% 48% 48% 49% 49% 50% 50% 51% 52% 52% 53% 53% 54% 55% 55% 56% 56% 57% 58% 58% 59% 60% 60% 61% 62% 62% 63% 64% 64% 65% 66% 66% 67% 67% 68% 69% 69% 70% 70% 71% 71% 72% 73% 73% 74% 74% 75% 75% 76% 77% 77% 78% 78% 79% 80% 80% 81% 81% 82% 83% 83% 84% 84% 85% 86% 86% 87% 87% 88% 89% 89% 90% 90% 91% 91% 92% 93% 93% 94% 94% 95% 95% 96% 96% 97% 97% 98% 98% 99% 99% starting transfer: 1% 1% 2% 3% 4% 5% 5% 6% 7% 8% 9% 10% 10% 11% 12% 13% 14% 14% 15% 16% 16% 17% 18% 19% 20% 21% 22% 22% 23% 24% 25% 26% 26% 27% 28% 29% 29% 30% 31% 32% 33% 34% 35% 36% 36% 37% 38% 38% 39% 40% 41% 42% 42% 43% 44% 45% 45% 46% 47% 47% 48% 49% 49% 50% 51% 51% 52% 53% 54% 55% 55% 56% 56% 57% 58% 59% 59% 60% 61% 61% 62% 63% 63% 64% 65% 65% 66% 67% 67% 68% 68% 69% 70% 70% 71% 72% 72% 73% 74% 75% 75% 76% 77% 77% 78% 79% 80% 81% 81% 82% 83% 84% 84% 85% 86% 86% 87% 88% 88% 89% 89% 90% 91% 91% 92% 93% 94% 94% 95% 96% 96% 97% 98% 98% 99% ok ---------------------------------------------------------------------- Ran 10 tests in 327.230s OK + RPM_EC=0 ++ jobs -p + exit 0 Processing files: python3-pysendfile-2.0.1-17.fc33.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.4aa7cu + umask 022 + cd /builddir/build/BUILD + cd pysendfile-2.0.1 + DOCDIR=/builddir/build/BUILDROOT/pysendfile-2.0.1-17.fc33.riscv64/usr/share/doc/python3-pysendfile + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/pysendfile-2.0.1-17.fc33.riscv64/usr/share/doc/python3-pysendfile + cp -pr README.rst /builddir/build/BUILDROOT/pysendfile-2.0.1-17.fc33.riscv64/usr/share/doc/python3-pysendfile + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.PnssIt + umask 022 + cd /builddir/build/BUILD + cd pysendfile-2.0.1 + LICENSEDIR=/builddir/build/BUILDROOT/pysendfile-2.0.1-17.fc33.riscv64/usr/share/licenses/python3-pysendfile + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/pysendfile-2.0.1-17.fc33.riscv64/usr/share/licenses/python3-pysendfile + cp -pr LICENSE /builddir/build/BUILDROOT/pysendfile-2.0.1-17.fc33.riscv64/usr/share/licenses/python3-pysendfile + RPM_EC=0 ++ jobs -p + exit 0 warning: Deprecated external dependency generator is used! Finding Provides: /bin/sh -c " /usr/bin/grep -v '' | while read FILE; do echo "${FILE}" | /usr/lib/rpm/rpmdeps -P; done | /bin/sort -u " Finding Requires(interp): Finding Requires(rpmlib): Finding Requires(verify): Finding Requires(pre): Finding Requires(post): Finding Requires(preun): Finding Requires(postun): Finding Requires(pretrans): Finding Requires(posttrans): Finding Requires: /bin/sh -c " while read FILE; do echo "${FILE}" | /usr/lib/rpm/rpmdeps -R; done | /bin/sort -u " Finding Conflicts: Finding Obsoletes: Finding Recommends: Finding Suggests: Finding Supplements: Finding Enhances: Provides: python-pysendfile = 2.0.1-17.fc33 python3-pysendfile = 2.0.1-17.fc33 python3-pysendfile(riscv-64) = 2.0.1-17.fc33 python3.9-pysendfile = 2.0.1-17.fc33 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ld-linux-riscv64-lp64d.so.1()(64bit) ld-linux-riscv64-lp64d.so.1(GLIBC_2.27)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(64bit) python(abi) = 3.9 rtld(GNU_HASH) Obsoletes: python-pysendfile < 2.0.1-17.fc33 Processing files: pysendfile-debugsource-2.0.1-17.fc33.riscv64 warning: Deprecated external dependency generator is used! Provides: pysendfile-debugsource = 2.0.1-17.fc33 pysendfile-debugsource(riscv-64) = 2.0.1-17.fc33 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: python3-pysendfile-debuginfo-2.0.1-17.fc33.riscv64 warning: Deprecated external dependency generator is used! Finding Provides: /bin/sh -c " /usr/bin/grep -v '' | while read FILE; do echo "${FILE}" | /usr/lib/rpm/rpmdeps -P; done | /bin/sort -u " Provides: python3-pysendfile-debuginfo = 2.0.1-17.fc33 python3-pysendfile-debuginfo(riscv-64) = 2.0.1-17.fc33 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: pysendfile-debugsource(riscv-64) = 2.0.1-17.fc33 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/pysendfile-2.0.1-17.fc33.riscv64 Wrote: /builddir/build/RPMS/pysendfile-debugsource-2.0.1-17.fc33.riscv64.rpm Wrote: /builddir/build/RPMS/python3-pysendfile-2.0.1-17.fc33.riscv64.rpm Wrote: /builddir/build/RPMS/python3-pysendfile-debuginfo-2.0.1-17.fc33.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.ORHIbr + umask 022 + cd /builddir/build/BUILD + cd pysendfile-2.0.1 + /usr/bin/rm -rf /builddir/build/BUILDROOT/pysendfile-2.0.1-17.fc33.riscv64 + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0