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-petlink.spec'], chrootPath='/var/lib/mock/f33-build-299293-56314/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-petlink.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=1595980800 Wrote: /builddir/build/SRPMS/python-petlink-0.3.4-7.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-petlink.spec'], chrootPath='/var/lib/mock/f33-build-299293-56314/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-petlink.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=1595980800 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.2Qw19B + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf petlink-0.3.4 + /usr/bin/gzip -dc /builddir/build/SOURCES/petlink-0.3.4.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd petlink-0.3.4 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + cp -v /builddir/build/SOURCES/LICENSE.petlink LICENSE '/builddir/build/SOURCES/LICENSE.petlink' -> 'LICENSE' + rm -rfv petlink.egg-info removed 'petlink.egg-info/dependency_links.txt' removed 'petlink.egg-info/requires.txt' removed 'petlink.egg-info/SOURCES.txt' removed 'petlink.egg-info/PKG-INFO' removed 'petlink.egg-info/top_level.txt' removed directory 'petlink.egg-info' + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.l4mlYB + umask 022 + cd /builddir/build/BUILD + cd petlink-0.3.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/petlink copying petlink/__init__.py -> build/lib.linux-riscv64-3.9/petlink copying petlink/petlink.py -> build/lib.linux-riscv64-3.9/petlink creating build/lib.linux-riscv64-3.9/petlink/examples copying petlink/examples/__init__.py -> build/lib.linux-riscv64-3.9/petlink/examples creating build/lib.linux-riscv64-3.9/petlink/tests copying petlink/tests/test_all.py -> build/lib.linux-riscv64-3.9/petlink/tests copying petlink/tests/__init__.py -> build/lib.linux-riscv64-3.9/petlink/tests running build_ext building 'petlink.petlink32_c' extension creating build/temp.linux-riscv64-3.9 creating build/temp.linux-riscv64-3.9/petlink gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -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 -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 -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 -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 petlink/petlink32_c.c -o build/temp.linux-riscv64-3.9/petlink/petlink32_c.o 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 -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/petlink/petlink32_c.o -L/usr/lib64 -o build/lib.linux-riscv64-3.9/petlink/petlink32_c.cpython-39-riscv64-linux-gnu.so + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.1zeulA + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/python-petlink-0.3.4-7.fc33.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/python-petlink-0.3.4-7.fc33.riscv64 ++ dirname /builddir/build/BUILDROOT/python-petlink-0.3.4-7.fc33.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/python-petlink-0.3.4-7.fc33.riscv64 + cd petlink-0.3.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-petlink-0.3.4-7.fc33.riscv64 running install running install_lib creating /builddir/build/BUILDROOT/python-petlink-0.3.4-7.fc33.riscv64/usr creating /builddir/build/BUILDROOT/python-petlink-0.3.4-7.fc33.riscv64/usr/lib64 creating /builddir/build/BUILDROOT/python-petlink-0.3.4-7.fc33.riscv64/usr/lib64/python3.9 creating /builddir/build/BUILDROOT/python-petlink-0.3.4-7.fc33.riscv64/usr/lib64/python3.9/site-packages creating /builddir/build/BUILDROOT/python-petlink-0.3.4-7.fc33.riscv64/usr/lib64/python3.9/site-packages/petlink creating /builddir/build/BUILDROOT/python-petlink-0.3.4-7.fc33.riscv64/usr/lib64/python3.9/site-packages/petlink/tests copying build/lib.linux-riscv64-3.9/petlink/tests/test_all.py -> /builddir/build/BUILDROOT/python-petlink-0.3.4-7.fc33.riscv64/usr/lib64/python3.9/site-packages/petlink/tests copying build/lib.linux-riscv64-3.9/petlink/tests/__init__.py -> /builddir/build/BUILDROOT/python-petlink-0.3.4-7.fc33.riscv64/usr/lib64/python3.9/site-packages/petlink/tests copying build/lib.linux-riscv64-3.9/petlink/__init__.py -> /builddir/build/BUILDROOT/python-petlink-0.3.4-7.fc33.riscv64/usr/lib64/python3.9/site-packages/petlink copying build/lib.linux-riscv64-3.9/petlink/petlink32_c.cpython-39-riscv64-linux-gnu.so -> /builddir/build/BUILDROOT/python-petlink-0.3.4-7.fc33.riscv64/usr/lib64/python3.9/site-packages/petlink copying build/lib.linux-riscv64-3.9/petlink/petlink.py -> /builddir/build/BUILDROOT/python-petlink-0.3.4-7.fc33.riscv64/usr/lib64/python3.9/site-packages/petlink creating /builddir/build/BUILDROOT/python-petlink-0.3.4-7.fc33.riscv64/usr/lib64/python3.9/site-packages/petlink/examples copying build/lib.linux-riscv64-3.9/petlink/examples/__init__.py -> /builddir/build/BUILDROOT/python-petlink-0.3.4-7.fc33.riscv64/usr/lib64/python3.9/site-packages/petlink/examples byte-compiling /builddir/build/BUILDROOT/python-petlink-0.3.4-7.fc33.riscv64/usr/lib64/python3.9/site-packages/petlink/tests/test_all.py to test_all.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-petlink-0.3.4-7.fc33.riscv64/usr/lib64/python3.9/site-packages/petlink/tests/__init__.py to __init__.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-petlink-0.3.4-7.fc33.riscv64/usr/lib64/python3.9/site-packages/petlink/__init__.py to __init__.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-petlink-0.3.4-7.fc33.riscv64/usr/lib64/python3.9/site-packages/petlink/petlink.py to petlink.cpython-39.pyc byte-compiling /builddir/build/BUILDROOT/python-petlink-0.3.4-7.fc33.riscv64/usr/lib64/python3.9/site-packages/petlink/examples/__init__.py to __init__.cpython-39.pyc writing byte-compilation script '/tmp/tmpobn71ami.py' /usr/bin/python3 /tmp/tmpobn71ami.py removing /tmp/tmpobn71ami.py running install_egg_info running egg_info creating petlink.egg-info writing petlink.egg-info/PKG-INFO writing dependency_links to petlink.egg-info/dependency_links.txt writing requirements to petlink.egg-info/requires.txt writing top-level names to petlink.egg-info/top_level.txt writing manifest file 'petlink.egg-info/SOURCES.txt' reading manifest file 'petlink.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' writing manifest file 'petlink.egg-info/SOURCES.txt' Copying petlink.egg-info to /builddir/build/BUILDROOT/python-petlink-0.3.4-7.fc33.riscv64/usr/lib64/python3.9/site-packages/petlink-0.3.4-py3.9.egg-info running install_scripts + rm -rfv /builddir/build/BUILDROOT/python-petlink-0.3.4-7.fc33.riscv64/usr/bin/__pycache__ + /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 0.3.4-7.fc33 --unique-debug-suffix -0.3.4-7.fc33.riscv64 --unique-debug-src-base python-petlink-0.3.4-7.fc33.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/petlink-0.3.4 explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/python-petlink-0.3.4-7.fc33.riscv64/usr/lib64/python3.9/site-packages/petlink/petlink32_c.cpython-39-riscv64-linux-gnu.so extracting debug info from /builddir/build/BUILDROOT/python-petlink-0.3.4-7.fc33.riscv64/usr/lib64/python3.9/site-packages/petlink/petlink32_c.cpython-39-riscv64-linux-gnu.so original debug info size: 76kB, size after compression: 76kB /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. 15 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-petlink-0.3.4-7.fc33.riscv64/usr/lib/debug/usr/lib64/python3.9 using /usr/bin/python3.9 Bytecompiling .py files below /builddir/build/BUILDROOT/python-petlink-0.3.4-7.fc33.riscv64/usr/lib64/python3.9 using /usr/bin/python3.9 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs *** WARNING: ./usr/src/debug/python-petlink-0.3.4-7.fc33.riscv64/petlink/petlink32_c.c is executable but has no shebang, removing executable bit Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.kx2kYB + umask 022 + cd /builddir/build/BUILD + cd petlink-0.3.4 + /usr/bin/python3 setup.py test running test WARNING: Testing via this command is deprecated and will be removed in a future version. Users looking for a generic test entry point independent of test runner are encouraged to use tox. running egg_info writing petlink.egg-info/PKG-INFO writing dependency_links to petlink.egg-info/dependency_links.txt writing requirements to petlink.egg-info/requires.txt writing top-level names to petlink.egg-info/top_level.txt reading manifest file 'petlink.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' writing manifest file 'petlink.egg-info/SOURCES.txt' running build_ext copying build/lib.linux-riscv64-3.9/petlink/petlink32_c.cpython-39-riscv64-linux-gnu.so -> petlink test_load_c_libraries (petlink.tests.test_all.TestPetlink) Check if the C libraries have been built and linked without problems. ... ok test_petlink32_info (petlink.tests.test_all.TestPetlink) Test function petlink32_info ... ok ---------------------------------------------------------------------- Ran 2 tests in 0.045s OK + RPM_EC=0 ++ jobs -p + exit 0 Processing files: python3-petlink-0.3.4-7.fc33.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.ECFJJA + umask 022 + cd /builddir/build/BUILD + cd petlink-0.3.4 + DOCDIR=/builddir/build/BUILDROOT/python-petlink-0.3.4-7.fc33.riscv64/usr/share/doc/python3-petlink + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/python-petlink-0.3.4-7.fc33.riscv64/usr/share/doc/python3-petlink + cp -pr README.rst /builddir/build/BUILDROOT/python-petlink-0.3.4-7.fc33.riscv64/usr/share/doc/python3-petlink + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.sSsZUC + umask 022 + cd /builddir/build/BUILD + cd petlink-0.3.4 + LICENSEDIR=/builddir/build/BUILDROOT/python-petlink-0.3.4-7.fc33.riscv64/usr/share/licenses/python3-petlink + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/python-petlink-0.3.4-7.fc33.riscv64/usr/share/licenses/python3-petlink + cp -pr LICENSE /builddir/build/BUILDROOT/python-petlink-0.3.4-7.fc33.riscv64/usr/share/licenses/python3-petlink + RPM_EC=0 ++ jobs -p + exit 0 Provides: python-petlink = 0.3.4-7.fc33 python3-petlink = 0.3.4-7.fc33 python3-petlink(riscv-64) = 0.3.4-7.fc33 python3.9-petlink = 0.3.4-7.fc33 python3.9dist(petlink) = 0.3.4 python3dist(petlink) = 0.3.4 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PartialHardlinkSets) <= 4.0.4-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ld-linux-riscv64-lp64d.so.1()(64bit) ld-linux-riscv64-lp64d.so.1(GLIBC_2.27)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(64bit) python(abi) = 3.9 python3.9dist(numpy) >= 1.6 python3.9dist(simplewrap) >= 0.3 rtld(GNU_HASH) Obsoletes: python-petlink < 0.3.4-7.fc33 Processing files: python-petlink-debugsource-0.3.4-7.fc33.riscv64 Provides: python-petlink-debugsource = 0.3.4-7.fc33 python-petlink-debugsource(riscv-64) = 0.3.4-7.fc33 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: python3-petlink-debuginfo-0.3.4-7.fc33.riscv64 Provides: debuginfo(build-id) = a5af531fd79c9955110a3ea80ffede463d07b956 python-petlink-debuginfo = 0.3.4-7.fc33 python3-petlink-debuginfo = 0.3.4-7.fc33 python3-petlink-debuginfo(riscv-64) = 0.3.4-7.fc33 python3.9-petlink-debuginfo = 0.3.4-7.fc33 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: python-petlink-debugsource(riscv-64) = 0.3.4-7.fc33 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/python-petlink-0.3.4-7.fc33.riscv64 Wrote: /builddir/build/RPMS/python-petlink-debugsource-0.3.4-7.fc33.riscv64.rpm Wrote: /builddir/build/RPMS/python3-petlink-debuginfo-0.3.4-7.fc33.riscv64.rpm Wrote: /builddir/build/RPMS/python3-petlink-0.3.4-7.fc33.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.MZTJ5B + umask 022 + cd /builddir/build/BUILD + cd petlink-0.3.4 + /usr/bin/rm -rf /builddir/build/BUILDROOT/python-petlink-0.3.4-7.fc33.riscv64 + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0