Mock Version: 1.4.14 Mock Version: 1.4.14 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/python-petlink.spec'], chrootPath='/var/lib/mock/f31-build-47645-26903/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'}shell=Falselogger=timeout=345600uid=986gid=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=1554854400 Wrote: /builddir/build/SRPMS/python-petlink-0.3.4-1.fc31.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/python-petlink.spec'], chrootPath='/var/lib/mock/f31-build-47645-26903/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'}shell=Falselogger=timeout=345600uid=986gid=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=1554854400 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.bBGDSN + 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 + rm -rfv petlink.egg-info + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 '/builddir/build/SOURCES/LICENSE.petlink' -> 'LICENSE' removed 'petlink.egg-info/PKG-INFO' removed 'petlink.egg-info/top_level.txt' removed 'petlink.egg-info/dependency_links.txt' removed 'petlink.egg-info/requires.txt' removed 'petlink.egg-info/SOURCES.txt' removed directory 'petlink.egg-info' Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.pxkqpN + umask 022 + cd /builddir/build/BUILD + cd petlink-0.3.4 + 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' + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 running build running build_py creating build creating build/lib.linux-riscv64-3.7 creating build/lib.linux-riscv64-3.7/petlink copying petlink/__init__.py -> build/lib.linux-riscv64-3.7/petlink copying petlink/petlink.py -> build/lib.linux-riscv64-3.7/petlink creating build/lib.linux-riscv64-3.7/petlink/examples copying petlink/examples/__init__.py -> build/lib.linux-riscv64-3.7/petlink/examples creating build/lib.linux-riscv64-3.7/petlink/tests copying petlink/tests/__init__.py -> build/lib.linux-riscv64-3.7/petlink/tests copying petlink/tests/test_all.py -> build/lib.linux-riscv64-3.7/petlink/tests running build_ext building 'petlink.petlink32_c' extension creating build/temp.linux-riscv64-3.7 creating build/temp.linux-riscv64-3.7/petlink 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 -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.7m -c petlink/petlink32_c.c -o build/temp.linux-riscv64-3.7/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 -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection build/temp.linux-riscv64-3.7/petlink/petlink32_c.o -L/usr/lib64 -lpython3.7m -o build/lib.linux-riscv64-3.7/petlink/petlink32_c.cpython-37m-riscv64-linux-gnu.so Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.BHBTMM + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/python-petlink-0.3.4-1.fc31.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/python-petlink-0.3.4-1.fc31.riscv64 BUILDSTDERR: ++ dirname /builddir/build/BUILDROOT/python-petlink-0.3.4-1.fc31.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/python-petlink-0.3.4-1.fc31.riscv64 + cd petlink-0.3.4 + 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/python-petlink-0.3.4-1.fc31.riscv64 + /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 0.3.4-1.fc31 --unique-debug-suffix -0.3.4-1.fc31.riscv64 --unique-debug-src-base python-petlink-0.3.4-1.fc31.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/petlink-0.3.4 BUILDSTDERR: 15 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 0 running install running install_lib creating /builddir/build/BUILDROOT/python-petlink-0.3.4-1.fc31.riscv64/usr creating /builddir/build/BUILDROOT/python-petlink-0.3.4-1.fc31.riscv64/usr/lib64 creating /builddir/build/BUILDROOT/python-petlink-0.3.4-1.fc31.riscv64/usr/lib64/python3.7 creating /builddir/build/BUILDROOT/python-petlink-0.3.4-1.fc31.riscv64/usr/lib64/python3.7/site-packages creating /builddir/build/BUILDROOT/python-petlink-0.3.4-1.fc31.riscv64/usr/lib64/python3.7/site-packages/petlink creating /builddir/build/BUILDROOT/python-petlink-0.3.4-1.fc31.riscv64/usr/lib64/python3.7/site-packages/petlink/tests copying build/lib.linux-riscv64-3.7/petlink/tests/__init__.py -> /builddir/build/BUILDROOT/python-petlink-0.3.4-1.fc31.riscv64/usr/lib64/python3.7/site-packages/petlink/tests copying build/lib.linux-riscv64-3.7/petlink/tests/test_all.py -> /builddir/build/BUILDROOT/python-petlink-0.3.4-1.fc31.riscv64/usr/lib64/python3.7/site-packages/petlink/tests copying build/lib.linux-riscv64-3.7/petlink/__init__.py -> /builddir/build/BUILDROOT/python-petlink-0.3.4-1.fc31.riscv64/usr/lib64/python3.7/site-packages/petlink creating /builddir/build/BUILDROOT/python-petlink-0.3.4-1.fc31.riscv64/usr/lib64/python3.7/site-packages/petlink/examples copying build/lib.linux-riscv64-3.7/petlink/examples/__init__.py -> /builddir/build/BUILDROOT/python-petlink-0.3.4-1.fc31.riscv64/usr/lib64/python3.7/site-packages/petlink/examples copying build/lib.linux-riscv64-3.7/petlink/petlink.py -> /builddir/build/BUILDROOT/python-petlink-0.3.4-1.fc31.riscv64/usr/lib64/python3.7/site-packages/petlink copying build/lib.linux-riscv64-3.7/petlink/petlink32_c.cpython-37m-riscv64-linux-gnu.so -> /builddir/build/BUILDROOT/python-petlink-0.3.4-1.fc31.riscv64/usr/lib64/python3.7/site-packages/petlink byte-compiling /builddir/build/BUILDROOT/python-petlink-0.3.4-1.fc31.riscv64/usr/lib64/python3.7/site-packages/petlink/tests/__init__.py to __init__.cpython-37.pyc byte-compiling /builddir/build/BUILDROOT/python-petlink-0.3.4-1.fc31.riscv64/usr/lib64/python3.7/site-packages/petlink/tests/test_all.py to test_all.cpython-37.pyc byte-compiling /builddir/build/BUILDROOT/python-petlink-0.3.4-1.fc31.riscv64/usr/lib64/python3.7/site-packages/petlink/__init__.py to __init__.cpython-37.pyc byte-compiling /builddir/build/BUILDROOT/python-petlink-0.3.4-1.fc31.riscv64/usr/lib64/python3.7/site-packages/petlink/examples/__init__.py to __init__.cpython-37.pyc byte-compiling /builddir/build/BUILDROOT/python-petlink-0.3.4-1.fc31.riscv64/usr/lib64/python3.7/site-packages/petlink/petlink.py to petlink.cpython-37.pyc writing byte-compilation script '/tmp/tmpntvtf2o5.py' /usr/bin/python3 /tmp/tmpntvtf2o5.py removing /tmp/tmpntvtf2o5.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-1.fc31.riscv64/usr/lib64/python3.7/site-packages/petlink-0.3.4-py3.7.egg-info running install_scripts explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/python-petlink-0.3.4-1.fc31.riscv64/usr/lib64/python3.7/site-packages/petlink/petlink32_c.cpython-37m-riscv64-linux-gnu.so extracting debug info from /builddir/build/BUILDROOT/python-petlink-0.3.4-1.fc31.riscv64/usr/lib64/python3.7/site-packages/petlink/petlink32_c.cpython-37m-riscv64-linux-gnu.so original debug info size: 56kB, size after compression: 56kB /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. Bytecompiling .py files below /builddir/build/BUILDROOT/python-petlink-0.3.4-1.fc31.riscv64/usr/lib/debug/usr/lib64/python3.7 using /usr/bin/python3.7 BUILDSTDERR: Bytecompiling .py files below /builddir/build/BUILDROO+ /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs BUILDSTDERR: *** WARNING: ./usr/src/debug/python-petlink-0.3.4-1.fc31.riscv64/petlink/petlink32_c.c is executable but has empty or no shebang, removing executable bit T/python-petlink-0.3.4-1.fc31.riscv64/usr/lib64/python3.7 using /usr/bin/python3.7 Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.fmXxqM Processing files: python3-petlink-0.3.4-1.fc31.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.dmY7fQ + umask 022 + cd /builddir/build/BUILD + cd petlink-0.3.4 + DOCDIR=/builddir/build/BUILDROOT/python-petlink-0.3.4-1.fc31.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-1.fc31.riscv64/usr/share/doc/python3-petlink + cp -pr README.rst /builddir/build/BUILDROOT/python-petlink-0.3.4-1.fc31.riscv64/usr/share/doc/python3-petlink + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.WEKHUO + umask 022 + cd /builddir/build/BUILD + cd petlink-0.3.4 + LICENSEDIR=/builddir/build/BUILDROOT/python-petlink-0.3.4-1.fc31.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-1.fc31.riscv64/usr/share/licenses/python3-petlink + cp -pr LICENSE /builddir/build/BUILDROOT/python-petlink-0.3.4-1.fc31.riscv64/usr/share/licenses/python3-petlink + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Provides: python-petlink = 0.3.4-1.fc31 python3-petlink = 0.3.4-1.fc31 python3-petlink(riscv-64) = 0.3.4-1.fc31 python3.7dist(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.7 python3.7dist(numpy) >= 1.6 python3.7dist(simplewrap) >= 0.3 rtld(GNU_HASH) Obsoletes: python-petlink < 0.3.4-1.fc31 Processing files: python-petlink-debugsource-0.3.4-1.fc31.riscv64 Provides: python-petlink-debugsource = 0.3.4-1.fc31 python-petlink-debugsource(riscv-64) = 0.3.4-1.fc31 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-1.fc31.riscv64 Provides: debuginfo(build-id) = 53a640c58863d2a5245745b63acd3be7211ef1af python3-petlink-debuginfo = 0.3.4-1.fc31 python3-petlink-debuginfo(riscv-64) = 0.3.4-1.fc31 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-1.fc31 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/python-petlink-0.3.4-1.fc31.riscv64 Wrote: /builddir/build/RPMS/python-petlink-debugsource-0.3.4-1.fc31.riscv64.rpm Wrote: /builddir/build/RPMS/python3-petlink-debuginfo-0.3.4-1.fc31.riscv64.rpm Wrote: /builddir/build/RPMS/python3-petlink-0.3.4-1.fc31.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.hjV8aO + umask 022 + cd /builddir/build/BUILD + cd petlink-0.3.4 + /usr/bin/rm -rf /builddir/build/BUILDROOT/python-petlink-0.3.4-1.fc31.riscv64 + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Child return code was: 0