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-hidapi.spec'], chrootPath='/var/lib/mock/f33-build-138586-42205/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-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'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1580342400 Wrote: /builddir/build/SRPMS/python-hidapi-0.7.99.post20-15.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-hidapi.spec'], chrootPath='/var/lib/mock/f33-build-138586-42205/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-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'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1580342400 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.GLD6mH + 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 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.yxCldJ + 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' running build running build_ext cythoning hid.pyx to hid.c skipping 'hid.c' Cython extension (up-to-date) building 'hid' extension creating build creating build/temp.linux-riscv64-3.8 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/hidapi -I/usr/include/libusb-1.0 -I/usr/include/python3.8 -c hid.c -o build/temp.linux-riscv64-3.8/hid.o creating build/lib.linux-riscv64-3.8 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.8/hid.o -L/usr/lib64 -lusb-1.0 -ludev -lrt -lhidapi-libusb -o build/lib.linux-riscv64-3.8/hid.cpython-38-riscv64-linux-gnu.so 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 -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/hidapi -I/usr/include/python3.8 -c hid.c -o build/temp.linux-riscv64-3.8/hid.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 -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.8/hid.o -L/usr/lib64 -ludev -lrt -lhidapi-hidraw -o build/lib.linux-riscv64-3.8/hidraw.cpython-38-riscv64-linux-gnu.so /usr/lib64/python3.8/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 tree = Parsing.p_module(s, pxd, full_module_name) + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.W4ibNG + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/python-hidapi-0.7.99.post20-15.fc33.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/python-hidapi-0.7.99.post20-15.fc33.riscv64 ++ dirname /builddir/build/BUILDROOT/python-hidapi-0.7.99.post20-15.fc33.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/python-hidapi-0.7.99.post20-15.fc33.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-15.fc33.riscv64 running install running install_lib creating /builddir/build/BUILDROOT/python-hidapi-0.7.99.post20-15.fc33.riscv64/usr creating /builddir/build/BUILDROOT/python-hidapi-0.7.99.post20-15.fc33.riscv64/usr/lib64 creating /builddir/build/BUILDROOT/python-hidapi-0.7.99.post20-15.fc33.riscv64/usr/lib64/python3.8 creating /builddir/build/BUILDROOT/python-hidapi-0.7.99.post20-15.fc33.riscv64/usr/lib64/python3.8/site-packages copying build/lib.linux-riscv64-3.8/hidraw.cpython-38-riscv64-linux-gnu.so -> /builddir/build/BUILDROOT/python-hidapi-0.7.99.post20-15.fc33.riscv64/usr/lib64/python3.8/site-packages copying build/lib.linux-riscv64-3.8/hid.cpython-38-riscv64-linux-gnu.so -> /builddir/build/BUILDROOT/python-hidapi-0.7.99.post20-15.fc33.riscv64/usr/lib64/python3.8/site-packages writing byte-compilation script '/tmp/tmpcfvlj3lh.py' /usr/bin/python3 /tmp/tmpcfvlj3lh.py removing /tmp/tmpcfvlj3lh.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' warning: no files found matching 'hidapi/hidapi/hidapi.h' warning: no files found matching 'hidapi/libusb/hid.c' warning: no files found matching 'hidapi/linux/hid.c' warning: no files found matching 'hidapi/mac/hid.c' warning: no files found matching 'hidapi/windows/hid.c' writing manifest file 'hidapi.egg-info/SOURCES.txt' Copying hidapi.egg-info to /builddir/build/BUILDROOT/python-hidapi-0.7.99.post20-15.fc33.riscv64/usr/lib64/python3.8/site-packages/hidapi-0.7.99.post20-py3.8.egg-info running install_scripts + rm -rfv /builddir/build/BUILDROOT/python-hidapi-0.7.99.post20-15.fc33.riscv64/usr/bin/__pycache__ + /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 0.7.99.post20-15.fc33 --unique-debug-suffix -0.7.99.post20-15.fc33.riscv64 --unique-debug-src-base python-hidapi-0.7.99.post20-15.fc33.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 explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/python-hidapi-0.7.99.post20-15.fc33.riscv64/usr/lib64/python3.8/site-packages/hidraw.cpython-38-riscv64-linux-gnu.so explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/python-hidapi-0.7.99.post20-15.fc33.riscv64/usr/lib64/python3.8/site-packages/hid.cpython-38-riscv64-linux-gnu.so extracting debug info from /builddir/build/BUILDROOT/python-hidapi-0.7.99.post20-15.fc33.riscv64/usr/lib64/python3.8/site-packages/hidraw.cpython-38-riscv64-linux-gnu.so extracting debug info from /builddir/build/BUILDROOT/python-hidapi-0.7.99.post20-15.fc33.riscv64/usr/lib64/python3.8/site-packages/hid.cpython-38-riscv64-linux-gnu.so original debug info size: 556kB, size after compression: 528kB /usr/lib/rpm/sepdebugcrcfix: Updated 2 CRC32s, 0 CRC32s did match. 514 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/python-hidapi-0.7.99.post20-15.fc33.riscv64/usr/lib/debug/usr/lib64/python3.8 using /usr/bin/python3.8 Bytecompiling .py files below /builddir/build/BUILDROOT/python-hidapi-0.7.99.post20-15.fc33.riscv64/usr/lib64/python3.8 using /usr/bin/python3.8 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.LBIO4J + umask 022 + cd /builddir/build/BUILD + cd hidapi-0.7.99.post20 + export PYTHONPATH=/builddir/build/BUILDROOT/python-hidapi-0.7.99.post20-15.fc33.riscv64/usr/lib64/python3.8/site-packages + PYTHONPATH=/builddir/build/BUILDROOT/python-hidapi-0.7.99.post20-15.fc33.riscv64/usr/lib64/python3.8/site-packages + /usr/bin/python3 tests.py . ---------------------------------------------------------------------- Ran 1 test in 0.129s OK + RPM_EC=0 ++ jobs -p + exit 0 Processing files: python3-hidapi-0.7.99.post20-15.fc33.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.ZRdFLI + umask 022 + cd /builddir/build/BUILD + cd hidapi-0.7.99.post20 + DOCDIR=/builddir/build/BUILDROOT/python-hidapi-0.7.99.post20-15.fc33.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-15.fc33.riscv64/usr/share/doc/python3-hidapi + cp -pr PKG-INFO /builddir/build/BUILDROOT/python-hidapi-0.7.99.post20-15.fc33.riscv64/usr/share/doc/python3-hidapi + cp -pr README.rst /builddir/build/BUILDROOT/python-hidapi-0.7.99.post20-15.fc33.riscv64/usr/share/doc/python3-hidapi + cp -pr try.py /builddir/build/BUILDROOT/python-hidapi-0.7.99.post20-15.fc33.riscv64/usr/share/doc/python3-hidapi + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.XZ3YlJ + umask 022 + cd /builddir/build/BUILD + cd hidapi-0.7.99.post20 + LICENSEDIR=/builddir/build/BUILDROOT/python-hidapi-0.7.99.post20-15.fc33.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-15.fc33.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-15.fc33.riscv64/usr/share/licenses/python3-hidapi + RPM_EC=0 ++ jobs -p + exit 0 Provides: python-hidapi = 0.7.99.post20-15.fc33 python3-hidapi = 0.7.99.post20-15.fc33 python3-hidapi(riscv-64) = 0.7.99.post20-15.fc33 python3.8dist(hidapi) = 0.7.99.post20 python38-hidapi = 0.7.99.post20-15.fc33 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) libpthread.so.0()(64bit) python(abi) = 3.8 python3.8dist(setuptools) >= 19 rtld(GNU_HASH) Obsoletes: python-hidapi < 0.7.99.post20-15.fc33 Processing files: python-hidapi-debugsource-0.7.99.post20-15.fc33.riscv64 Provides: python-hidapi-debugsource = 0.7.99.post20-15.fc33 python-hidapi-debugsource(riscv-64) = 0.7.99.post20-15.fc33 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-15.fc33.riscv64 Provides: debuginfo(build-id) = c75bb0f46015ce9261a897cd68ea2b6fd67c2c33 debuginfo(build-id) = de13c945cbc4d21c36f580852a0e6d3029a30e30 python3-hidapi-debuginfo = 0.7.99.post20-15.fc33 python3-hidapi-debuginfo(riscv-64) = 0.7.99.post20-15.fc33 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-15.fc33 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/python-hidapi-0.7.99.post20-15.fc33.riscv64 Wrote: /builddir/build/RPMS/python3-hidapi-0.7.99.post20-15.fc33.riscv64.rpm Wrote: /builddir/build/RPMS/python3-hidapi-debuginfo-0.7.99.post20-15.fc33.riscv64.rpm Wrote: /builddir/build/RPMS/python-hidapi-debugsource-0.7.99.post20-15.fc33.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.4EbJIJ + 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-15.fc33.riscv64 + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0