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-llfuse.spec'], chrootPath='/var/lib/mock/f33-build-470336-63708/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-llfuse.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-llfuse-1.3.6-4.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-llfuse.spec'], chrootPath='/var/lib/mock/f33-build-470336-63708/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-llfuse.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.Nq3qi6 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf llfuse-1.3.6 + /usr/bin/tar -xof - + /usr/bin/bzip2 -dc /builddir/build/SOURCES/llfuse-1.3.6.tar.bz2 + STATUS=0 + '[' 0 -ne 0 ']' + cd llfuse-1.3.6 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + rm doc/html/.buildinfo + rm -rf src/llfuse.egg-info ++ grep -rl '/\* Generated by Cython' + rm src/llfuse.c + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.Ho3Wv7 + umask 022 + cd /builddir/build/BUILD + cd llfuse-1.3.6 + /usr/bin/python3 setup.py build_cython running build_cython Compiling /builddir/build/BUILD/llfuse-1.3.6/src/llfuse.pyx + 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_ext building 'llfuse' extension creating build creating build/temp.linux-riscv64-3.9 creating build/temp.linux-riscv64-3.9/src gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -O2 -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 -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 -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 src/llfuse.c -o build/temp.linux-riscv64-3.9/src/llfuse.o -I/usr/include/fuse -D_FILE_OFFSET_BITS=64 -DFUSE_USE_VERSION=29 -Wall -Wextra -Wconversion -Wsign-compare -DLLFUSE_VERSION="1.3.6" -Wno-unused-function -Wno-implicit-fallthrough -Wno-unused-parameter src/llfuse.c: In function ‘__pyx_f_6llfuse_session_loop_mt’: src/llfuse.c:42419:3: warning: ‘PyEval_InitThreads’ is deprecated [-Wdeprecated-declarations] 42419 | PyEval_InitThreads(); | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/python3.9/Python.h:145, from src/llfuse.c:4: /usr/include/python3.9/ceval.h:130:37: note: declared here 130 | Py_DEPRECATED(3.9) PyAPI_FUNC(void) PyEval_InitThreads(void); | ^~~~~~~~~~~~~~~~~~ gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -O2 -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 -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 -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 src/lock.c -o build/temp.linux-riscv64-3.9/src/lock.o -I/usr/include/fuse -D_FILE_OFFSET_BITS=64 -DFUSE_USE_VERSION=29 -Wall -Wextra -Wconversion -Wsign-compare -DLLFUSE_VERSION="1.3.6" -Wno-unused-function -Wno-implicit-fallthrough -Wno-unused-parameter 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 -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/src/llfuse.o build/temp.linux-riscv64-3.9/src/lock.o -L/usr/lib64 -o build/lib.linux-riscv64-3.9/llfuse.cpython-39-riscv64-linux-gnu.so -lfuse -pthread -lpthread -lrt + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.fcaG93 + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/python-llfuse-1.3.6-4.fc33.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/python-llfuse-1.3.6-4.fc33.riscv64 ++ dirname /builddir/build/BUILDROOT/python-llfuse-1.3.6-4.fc33.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/python-llfuse-1.3.6-4.fc33.riscv64 + cd llfuse-1.3.6 + 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-llfuse-1.3.6-4.fc33.riscv64 running install running install_lib creating /builddir/build/BUILDROOT/python-llfuse-1.3.6-4.fc33.riscv64/usr creating /builddir/build/BUILDROOT/python-llfuse-1.3.6-4.fc33.riscv64/usr/lib64 creating /builddir/build/BUILDROOT/python-llfuse-1.3.6-4.fc33.riscv64/usr/lib64/python3.9 creating /builddir/build/BUILDROOT/python-llfuse-1.3.6-4.fc33.riscv64/usr/lib64/python3.9/site-packages copying build/lib.linux-riscv64-3.9/llfuse.cpython-39-riscv64-linux-gnu.so -> /builddir/build/BUILDROOT/python-llfuse-1.3.6-4.fc33.riscv64/usr/lib64/python3.9/site-packages writing byte-compilation script '/tmp/tmplid72rqm.py' /usr/bin/python3 /tmp/tmplid72rqm.py removing /tmp/tmplid72rqm.py running install_egg_info running egg_info creating src/llfuse.egg-info writing src/llfuse.egg-info/PKG-INFO writing dependency_links to src/llfuse.egg-info/dependency_links.txt writing top-level names to src/llfuse.egg-info/top_level.txt writing manifest file 'src/llfuse.egg-info/SOURCES.txt' reading manifest file 'src/llfuse.egg-info/SOURCES.txt' writing manifest file 'src/llfuse.egg-info/SOURCES.txt' Copying src/llfuse.egg-info to /builddir/build/BUILDROOT/python-llfuse-1.3.6-4.fc33.riscv64/usr/lib64/python3.9/site-packages/llfuse-1.3.6-py3.9.egg-info running install_scripts + rm -rfv /builddir/build/BUILDROOT/python-llfuse-1.3.6-4.fc33.riscv64/usr/bin/__pycache__ + /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 1.3.6-4.fc33 --unique-debug-suffix -1.3.6-4.fc33.riscv64 --unique-debug-src-base python-llfuse-1.3.6-4.fc33.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/llfuse-1.3.6 explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/python-llfuse-1.3.6-4.fc33.riscv64/usr/lib64/python3.9/site-packages/llfuse.cpython-39-riscv64-linux-gnu.so extracting debug info from /builddir/build/BUILDROOT/python-llfuse-1.3.6-4.fc33.riscv64/usr/lib64/python3.9/site-packages/llfuse.cpython-39-riscv64-linux-gnu.so original debug info size: 8584kB, size after compression: 8520kB /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. 4861 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-llfuse-1.3.6-4.fc33.riscv64/usr/lib/debug/usr/lib64/python3.9 using /usr/bin/python3.9 Bytecompiling .py files below /builddir/build/BUILDROOT/python-llfuse-1.3.6-4.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.sOG8N7 + umask 022 + cd /builddir/build/BUILD + cd llfuse-1.3.6 + PYTHONPATH=/builddir/build/BUILDROOT/python-llfuse-1.3.6-4.fc33.riscv64/usr/lib64/python3.9/site-packages + py.test-3 -v test ============================= test session starts ============================== platform linux -- Python 3.9.1, pytest-6.0.2, py-1.10.0, pluggy-0.13.1 -- /usr/bin/python3 cachedir: .pytest_cache rootdir: /builddir/build/BUILD/llfuse-1.3.6/test, configfile: pytest.ini collecting ... collected 14 items test/test_api.py::test_inquire_bits ERROR [ 7%] test/test_api.py::test_inquire_bits ERROR [ 7%] ==================================== ERRORS ==================================== _____________________ ERROR at setup of test_inquire_bits ______________________ Traceback (most recent call last): File "/builddir/build/BUILD/llfuse-1.3.6/test/pytest_checklogs.py", line 135, in pytest_runtest_setup check_output(item) File "/builddir/build/BUILD/llfuse-1.3.6/test/pytest_checklogs.py", line 131, in check_output check_test_log(item.catch_log_handler) AttributeError: 'Function' object has no attribute 'catch_log_handler' ____________________ ERROR at teardown of test_inquire_bits ____________________ Traceback (most recent call last): File "/builddir/build/BUILD/llfuse-1.3.6/test/pytest_checklogs.py", line 141, in pytest_runtest_teardown check_output(item) File "/builddir/build/BUILD/llfuse-1.3.6/test/pytest_checklogs.py", line 131, in check_output check_test_log(item.catch_log_handler) AttributeError: 'Function' object has no attribute 'catch_log_handler' =========================== short test summary info ============================ ERROR test/test_api.py::test_inquire_bits - AttributeError: 'Function' object... ERROR test/test_api.py::test_inquire_bits - AttributeError: 'Function' object... !!!!!!!!!!!!!!!!!!!!!!!!!! stopping after 2 failures !!!!!!!!!!!!!!!!!!!!!!!!!!! ============================== 2 errors in 4.43s =============================== error: Bad exit status from /var/tmp/rpm-tmp.sOG8N7 (%check) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.sOG8N7 (%check) Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.8/site-packages/mockbuild/trace_decorator.py", line 95, in trace result = func(*args, **kw) File "/usr/lib/python3.8/site-packages/mockbuild/util.py", line 746, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode) mockbuild.exception.Error: Command failed: # bash --login -c /usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/python-llfuse.spec