Mock Version: 1.4.9 Mock Version: 1.4.9 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/python-hidapi.spec'], chrootPath='/var/lib/mock/f31-build-63442-29353/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', 'http_proxy': 'http://192.168.0.254:3128', 'https_proxy': 'http://192.168.0.254:3128'}shell=Falselogger=timeout=345600uid=998gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/python-hidapi.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', 'http_proxy': 'http://192.168.0.254:3128', 'https_proxy': 'http://192.168.0.254:3128'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1564099200 Wrote: /builddir/build/SRPMS/python-hidapi-0.7.99.post20-13.fc31.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/python-hidapi.spec'], chrootPath='/var/lib/mock/f31-build-63442-29353/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', 'http_proxy': 'http://192.168.0.254:3128', 'https_proxy': 'http://192.168.0.254:3128'}shell=Falselogger=timeout=345600uid=998gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/python-hidapi.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', 'http_proxy': 'http://192.168.0.254:3128', 'https_proxy': 'http://192.168.0.254:3128'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1564099200 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.U2OE7y + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf hidapi-0.7.99.post20 + /usr/bin/gzip -dc /builddir/build/SOURCES/hidapi-0.7.99.post20.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd hidapi-0.7.99.post20 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/rm -fr hidapi hidapi.egg-info + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.kX6ZCy + umask 022 + cd /builddir/build/BUILD + cd hidapi-0.7.99.post20 + 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 --with-system-hidapi build '--executable=/usr/bin/python3 -s' BUILDSTDERR: /usr/lib64/python3.7/site-packages/Cython/Compiler/Main.py:369: FutureWarning: Cython directive 'language_level' not set, using 2 for now (Py2). This will change in a later release! File: /builddir/build/BUILD/hidapi-0.7.99.post20/hid.pyx BUILDSTDERR: tree = Parsing.p_module(s, pxd, full_module_name) + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 running build running build_ext cythoning hid.pyx to hid.c building 'hid' extension creating build creating build/temp.linux-riscv64-3.7 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/hidapi -I/usr/include/libusb-1.0 -I/usr/include/python3.7m -c hid.c -o build/temp.linux-riscv64-3.7/hid.o creating build/lib.linux-riscv64-3.7 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/hid.o -L/usr/lib64 -lusb-1.0 -ludev -lrt -lhidapi-libusb -lpython3.7m -o build/lib.linux-riscv64-3.7/hid.cpython-37m-riscv64-linux-gnu.so skipping 'hid.c' Cython extension (up-to-date) building 'hidraw' extension 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/hidapi -I/usr/include/python3.7m -c hid.c -o build/temp.linux-riscv64-3.7/hid.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/hid.o -L/usr/lib64 -ludev -lrt -lhidapi-hidraw -lpython3.7m -o build/lib.linux-riscv64-3.7/hidraw.cpython-37m-riscv64-linux-gnu.so Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.mqf70A + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/python-hidapi-0.7.99.post20-13.fc31.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/python-hidapi-0.7.99.post20-13.fc31.riscv64 BUILDSTDERR: ++ dirname /builddir/build/BUILDROOT/python-hidapi-0.7.99.post20-13.fc31.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/python-hidapi-0.7.99.post20-13.fc31.riscv64 + cd hidapi-0.7.99.post20 + 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 --with-system-hidapi install -O1 --skip-build --root /builddir/build/BUILDROOT/python-hidapi-0.7.99.post20-13.fc31.riscv64 BUILDSTDERR: warning: no files found matching 'hidapi/hidapi/hidapi.h' BUILDSTDERR: warning: no files found matching 'hidapi/libusb/hid.c' BUILDSTDERR: warning: no files found matching 'hidapi/linux/hid.c' BUILDSTDERR: warning: no files found matching 'hidapi/mac/hid.c' BUILDSTDERR: warning: no files found matching 'hidapi/windows/hid.c' + /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 0.7.99.post20-13.fc31 --unique-debug-suffix -0.7.99.post20-13.fc31.riscv64 --unique-debug-src-base python-hidapi-0.7.99.post20-13.fc31.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/hidapi-0.7.99.post20 BUILDSTDERR: 514 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 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs running install running install_lib creating /builddir/build/BUILDROOT/python-hidapi-0.7.99.post20-13.fc31.riscv64/usr creating /builddir/build/BUILDROOT/python-hidapi-0.7.99.post20-13.fc31.riscv64/usr/lib64 creating /builddir/build/BUILDROOT/python-hidapi-0.7.99.post20-13.fc31.riscv64/usr/lib64/python3.7 creating /builddir/build/BUILDROOT/python-hidapi-0.7.99.post20-13.fc31.riscv64/usr/lib64/python3.7/site-packages copying build/lib.linux-riscv64-3.7/hid.cpython-37m-riscv64-linux-gnu.so -> /builddir/build/BUILDROOT/python-hidapi-0.7.99.post20-13.fc31.riscv64/usr/lib64/python3.7/site-packages copying build/lib.linux-riscv64-3.7/hidraw.cpython-37m-riscv64-linux-gnu.so -> /builddir/build/BUILDROOT/python-hidapi-0.7.99.post20-13.fc31.riscv64/usr/lib64/python3.7/site-packages writing byte-compilation script '/tmp/tmp0tbkdltj.py' /usr/bin/python3 /tmp/tmp0tbkdltj.py removing /tmp/tmp0tbkdltj.py running install_egg_info running egg_info creating hidapi.egg-info writing hidapi.egg-info/PKG-INFO writing dependency_links to hidapi.egg-info/dependency_links.txt writing requirements to hidapi.egg-info/requires.txt writing top-level names to hidapi.egg-info/top_level.txt writing manifest file 'hidapi.egg-info/SOURCES.txt' reading manifest file 'hidapi.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' writing manifest file 'hidapi.egg-info/SOURCES.txt' Copying hidapi.egg-info to /builddir/build/BUILDROOT/python-hidapi-0.7.99.post20-13.fc31.riscv64/usr/lib64/python3.7/site-packages/hidapi-0.7.99.post20-py3.7.egg-info running install_scripts explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/python-hidapi-0.7.99.post20-13.fc31.riscv64/usr/lib64/python3.7/site-packages/hid.cpython-37m-riscv64-linux-gnu.so explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/python-hidapi-0.7.99.post20-13.fc31.riscv64/usr/lib64/python3.7/site-packages/hidraw.cpython-37m-riscv64-linux-gnu.so extracting debug info from /builddir/build/BUILDROOT/python-hidapi-0.7.99.post20-13.fc31.riscv64/usr/lib64/python3.7/site-packages/hidraw.cpython-37m-riscv64-linux-gnu.so extracting debug info from /builddir/build/BUILDROOT/python-hidapi-0.7.99.post20-13.fc31.riscv64/usr/lib64/python3.7/site-packages/hid.cpython-37m-riscv64-linux-gnu.so original debug info size: 700kB, size after compression: 648kB /usr/lib/rpm/sepdebugcrcfix: Updated 2 CRC32s, 0 CRC32s did match. Bytecompiling .py files below /builddir/build/BUILDROOT/python-hidapi-0.7.99.post20-13.fc31.riscv64/usr/lib/debug/usr/lib64/python3.7 using /usr/bin/python3.7 Bytecompiling .py files below /builddir/build/BUILDROOT/python-hidapi-0.7.99.post20-13.fc31.riscv64/usr/lib64/python3.7 using /usr/bin/python3.7 Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.fHEpCB Processing files: python3-hidapi-0.7.99.post20-13.fc31.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.dtLimC + umask 022 + cd /builddir/build/BUILD + cd hidapi-0.7.99.post20 + DOCDIR=/builddir/build/BUILDROOT/python-hidapi-0.7.99.post20-13.fc31.riscv64/usr/share/doc/python3-hidapi + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/python-hidapi-0.7.99.post20-13.fc31.riscv64/usr/share/doc/python3-hidapi + cp -pr PKG-INFO /builddir/build/BUILDROOT/python-hidapi-0.7.99.post20-13.fc31.riscv64/usr/share/doc/python3-hidapi + cp -pr README.rst /builddir/build/BUILDROOT/python-hidapi-0.7.99.post20-13.fc31.riscv64/usr/share/doc/python3-hidapi + cp -pr try.py /builddir/build/BUILDROOT/python-hidapi-0.7.99.post20-13.fc31.riscv64/usr/share/doc/python3-hidapi + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.UvLyiy + umask 022 + cd /builddir/build/BUILD + cd hidapi-0.7.99.post20 + LICENSEDIR=/builddir/build/BUILDROOT/python-hidapi-0.7.99.post20-13.fc31.riscv64/usr/share/licenses/python3-hidapi + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/python-hidapi-0.7.99.post20-13.fc31.riscv64/usr/share/licenses/python3-hidapi + cp -pr LICENSE-bsd.txt LICENSE-gpl3.txt LICENSE-orig.txt LICENSE.txt /builddir/build/BUILDROOT/python-hidapi-0.7.99.post20-13.fc31.riscv64/usr/share/licenses/python3-hidapi + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Provides: python-hidapi = 0.7.99.post20-13.fc31 python3-hidapi = 0.7.99.post20-13.fc31 python3-hidapi(riscv-64) = 0.7.99.post20-13.fc31 python3.7dist(hidapi) = 0.7.99.post20 python3dist(hidapi) = 0.7.99.post20 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) libhidapi-hidraw.so.0()(64bit) libhidapi-libusb.so.0()(64bit) libpython3.7m.so.1.0()(64bit) python(abi) = 3.7 python3.7dist(setuptools) >= 19 rtld(GNU_HASH) Obsoletes: python-hidapi < 0.7.99.post20-13.fc31 Processing files: python-hidapi-debugsource-0.7.99.post20-13.fc31.riscv64 Provides: python-hidapi-debugsource = 0.7.99.post20-13.fc31 python-hidapi-debugsource(riscv-64) = 0.7.99.post20-13.fc31 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: python3-hidapi-debuginfo-0.7.99.post20-13.fc31.riscv64 Provides: debuginfo(build-id) = 913a64b03c3a979f2f0832e08800e77b9a8d6f8f debuginfo(build-id) = 9bcac0572096e3de3691cb339d4e982acec56a25 python3-hidapi-debuginfo = 0.7.99.post20-13.fc31 python3-hidapi-debuginfo(riscv-64) = 0.7.99.post20-13.fc31 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: python-hidapi-debugsource(riscv-64) = 0.7.99.post20-13.fc31 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/python-hidapi-0.7.99.post20-13.fc31.riscv64 Wrote: /builddir/build/RPMS/python3-hidapi-0.7.99.post20-13.fc31.riscv64.rpm Wrote: /builddir/build/RPMS/python3-hidapi-debuginfo-0.7.99.post20-13.fc31.riscv64.rpm Wrote: /builddir/build/RPMS/python-hidapi-debugsource-0.7.99.post20-13.fc31.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.86xsNC + umask 022 + cd /builddir/build/BUILD + cd hidapi-0.7.99.post20 + /usr/bin/rm -rf /builddir/build/BUILDROOT/python-hidapi-0.7.99.post20-13.fc31.riscv64 + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Child return code was: 0