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-yara.spec'], chrootPath='/var/lib/mock/f33-build-145396-42946/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-yara.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 warning: extra tokens at the end of %endif directive in line 49: %endif #Build_release warning: extra tokens at the end of %endif directive in line 104: %endif #build_release warning: extra tokens at the end of %endif directive in line 166: %endif # with_check Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1580342400 Wrote: /builddir/build/SRPMS/python-yara-3.11.0-3.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-yara.spec'], chrootPath='/var/lib/mock/f33-build-145396-42946/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-yara.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 warning: extra tokens at the end of %endif directive in line 49: %endif #Build_release warning: extra tokens at the end of %endif directive in line 104: %endif #build_release warning: extra tokens at the end of %endif directive in line 166: %endif # with_check Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1580342400 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.50Lw6D + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf yara-python-3.11.0 + /usr/bin/gzip -dc /builddir/build/SOURCES/python-yara-3.11.0.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd yara-python-3.11.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.krR1YC + umask 022 + cd /builddir/build/BUILD + cd yara-python-3.11.0 + 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' --dynamic-linking running build running build_ext building 'yara' 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 -DUSE_LINUX_PROC=1 -DHAVE_MEMMEM=1 -Iyara/libyara/include -Iyara/libyara/ -I. -I/usr/include/python3.8 -c yara-python.c -o build/temp.linux-riscv64-3.8/yara-python.o yara-python.c: In function ‘convert_object_to_python’: yara-python.c:426:27: warning: comparison of integer expressions of different signedness: ‘int64_t’ {aka ‘long int’} and ‘long long unsigned int’ [-Wsign-compare] 426 | if (object->value.i != UNDEFINED) | ^~ yara-python.c: In function ‘process_compile_externals’: yara-python.c:976:16: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 976 | identifier = PY_STRING_TO_C(key); | ^ yara-python.c:50:27: warning: initialization discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 50 | #define PY_STRING_TO_C(x) PyUnicode_AsUTF8(x) | ^~~~~~~~~~~~~~~~ yara-python.c:1005:19: note: in expansion of macro ‘PY_STRING_TO_C’ 1005 | char* str = PY_STRING_TO_C(value); | ^~~~~~~~~~~~~~ yara-python.c: In function ‘process_match_externals’: yara-python.c:1046:16: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 1046 | identifier = PY_STRING_TO_C(key); | ^ yara-python.c:50:27: warning: initialization discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 50 | #define PY_STRING_TO_C(x) PyUnicode_AsUTF8(x) | ^~~~~~~~~~~~~~~~ yara-python.c:1075:19: note: in expansion of macro ‘PY_STRING_TO_C’ 1075 | char* str = PY_STRING_TO_C(value); | ^~~~~~~~~~~~~~ yara-python.c: In function ‘yara_compile’: yara-python.c:2054:18: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 2054 | source = PY_STRING_TO_C(value); | ^ yara-python.c:2055:14: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 2055 | ns = PY_STRING_TO_C(key); | ^ yara-python.c:2087:20: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 2087 | filepath = PY_STRING_TO_C(value); | ^ yara-python.c:2088:14: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 2088 | ns = PY_STRING_TO_C(key); | ^ 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/yara-python.o -L/usr/lib64 -lyara -o build/lib.linux-riscv64-3.8/yara.cpython-38-riscv64-linux-gnu.so + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.AEMHYE + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/python-yara-3.11.0-3.fc33.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/python-yara-3.11.0-3.fc33.riscv64 ++ dirname /builddir/build/BUILDROOT/python-yara-3.11.0-3.fc33.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/python-yara-3.11.0-3.fc33.riscv64 + cd yara-python-3.11.0 + 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-yara-3.11.0-3.fc33.riscv64 running install running install_lib creating /builddir/build/BUILDROOT/python-yara-3.11.0-3.fc33.riscv64/usr creating /builddir/build/BUILDROOT/python-yara-3.11.0-3.fc33.riscv64/usr/lib64 creating /builddir/build/BUILDROOT/python-yara-3.11.0-3.fc33.riscv64/usr/lib64/python3.8 creating /builddir/build/BUILDROOT/python-yara-3.11.0-3.fc33.riscv64/usr/lib64/python3.8/site-packages copying build/lib.linux-riscv64-3.8/yara.cpython-38-riscv64-linux-gnu.so -> /builddir/build/BUILDROOT/python-yara-3.11.0-3.fc33.riscv64/usr/lib64/python3.8/site-packages writing byte-compilation script '/tmp/tmpurxst0gb.py' /usr/bin/python3 /tmp/tmpurxst0gb.py removing /tmp/tmpurxst0gb.py running install_egg_info running egg_info creating yara_python.egg-info writing yara_python.egg-info/PKG-INFO writing dependency_links to yara_python.egg-info/dependency_links.txt writing top-level names to yara_python.egg-info/top_level.txt writing manifest file 'yara_python.egg-info/SOURCES.txt' reading manifest file 'yara_python.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no files found matching 'yara/libyara/modules/module_list' warning: no files found matching '*.c' under directory 'yara' warning: no files found matching '*.h' under directory 'yara' writing manifest file 'yara_python.egg-info/SOURCES.txt' Copying yara_python.egg-info to /builddir/build/BUILDROOT/python-yara-3.11.0-3.fc33.riscv64/usr/lib64/python3.8/site-packages/yara_python-3.11.0-py3.8.egg-info running install_scripts + rm -rfv /builddir/build/BUILDROOT/python-yara-3.11.0-3.fc33.riscv64/usr/bin/__pycache__ + /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 3.11.0-3.fc33 --unique-debug-suffix -3.11.0-3.fc33.riscv64 --unique-debug-src-base python-yara-3.11.0-3.fc33.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/yara-python-3.11.0 explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/python-yara-3.11.0-3.fc33.riscv64/usr/lib64/python3.8/site-packages/yara.cpython-38-riscv64-linux-gnu.so extracting debug info from /builddir/build/BUILDROOT/python-yara-3.11.0-3.fc33.riscv64/usr/lib64/python3.8/site-packages/yara.cpython-38-riscv64-linux-gnu.so original debug info size: 140kB, size after compression: 140kB /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. 107 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-yara-3.11.0-3.fc33.riscv64/usr/lib/debug/usr/lib64/python3.8 using /usr/bin/python3.8 Bytecompiling .py files below /builddir/build/BUILDROOT/python-yara-3.11.0-3.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.9jeUjE + umask 022 + cd /builddir/build/BUILD + cd yara-python-3.11.0 + EXCLUDE='--exclude=^nothing$' ++ ls /usr/bin/nosetests-3.8 + NOSETESTS3=/usr/bin/nosetests-3.8 + PYTHONPATH=/builddir/build/BUILDROOT/python-yara-3.11.0-3.fc33.riscv64//usr/lib64/python3.8/site-packages/ + /usr/bin/nosetests-3.8 -v '--exclude=^nothing$' testAnonymousStrings (tests.TestYara) ... ok testArithmeticOperators (tests.TestYara) ... ok testAt (tests.TestYara) ... ok testBitwiseOperators (tests.TestYara) ... ok testBooleanOperators (tests.TestYara) ... ok testCallback (tests.TestYara) ... ok testCallbackAll (tests.TestYara) ... ok testComments (tests.TestYara) ... ok testCompare (tests.TestYara) ... ok testComparisonOperators (tests.TestYara) ... ok testCompileFile (tests.TestYara) ... ok testCompileFiles (tests.TestYara) ... ok testCount (tests.TestYara) ... ok testEntrypoint (tests.TestYara) ... ok testExternals (tests.TestYara) ... ok testFilesize (tests.TestYara) ... ok testFor (tests.TestYara) ... ok testHexStrings (tests.TestYara) ... ok testIn (tests.TestYara) ... ok testIncludeCallback (tests.TestYara) ... ok testIncludeFiles (tests.TestYara) ... ok testIntegerFunctions (tests.TestYara) ... ok testLength (tests.TestYara) ... ok testModuleData (tests.TestYara) ... ok testModules (tests.TestYara) ... ok testOf (tests.TestYara) ... ok testOffset (tests.TestYara) ... ok testRE (tests.TestYara) ... ok testRulesIterator (tests.TestYara) ... ok testSetConfig (tests.TestYara) ... ok testStringIO (tests.TestYara) ... ok testStrings (tests.TestYara) ... ok testSyntax (tests.TestYara) ... ok testWildcardStrings (tests.TestYara) ... ok ---------------------------------------------------------------------- Ran 34 tests in 2.244s OK + PYTHONPATH=/builddir/build/BUILDROOT/python-yara-3.11.0-3.fc33.riscv64//usr/lib64/python3.8/site-packages/ + /usr/bin/nosetests-3.8 -v ./tests.py:TestYara.testCompare ./tests.py:TestYara.testModuleData ./tests.py:TestYara.testEntrypoint ./tests.py:TestYara.testIn ./tests.py:TestYara.testIntegerFunctions ./tests.py:TestYara.testCompileFile testCompare (tests.TestYara) ... ok testModuleData (tests.TestYara) ... ok testEntrypoint (tests.TestYara) ... ok testIn (tests.TestYara) ... ok testIntegerFunctions (tests.TestYara) ... ok testCompileFile (tests.TestYara) ... ok ---------------------------------------------------------------------- Ran 6 tests in 0.165s OK + RPM_EC=0 ++ jobs -p + exit 0 Processing files: python3-yara-3.11.0-3.fc33.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.OJMoTB + umask 022 + cd /builddir/build/BUILD + cd yara-python-3.11.0 + DOCDIR=/builddir/build/BUILDROOT/python-yara-3.11.0-3.fc33.riscv64/usr/share/doc/python3-yara + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/python-yara-3.11.0-3.fc33.riscv64/usr/share/doc/python3-yara + cp -pr README.rst /builddir/build/BUILDROOT/python-yara-3.11.0-3.fc33.riscv64/usr/share/doc/python3-yara + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.sTAxdE + umask 022 + cd /builddir/build/BUILD + cd yara-python-3.11.0 + LICENSEDIR=/builddir/build/BUILDROOT/python-yara-3.11.0-3.fc33.riscv64/usr/share/licenses/python3-yara + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/python-yara-3.11.0-3.fc33.riscv64/usr/share/licenses/python3-yara + cp -pr LICENSE /builddir/build/BUILDROOT/python-yara-3.11.0-3.fc33.riscv64/usr/share/licenses/python3-yara + RPM_EC=0 ++ jobs -p + exit 0 Provides: python-yara = 3.11.0-3.fc33 python3-yara = 3.11.0-3.fc33 python3-yara(riscv-64) = 3.11.0-3.fc33 python3.8dist(yara-python) = 3.11 python38-yara = 3.11.0-3.fc33 python3dist(yara-python) = 3.11 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) libyara.so.3()(64bit) python(abi) = 3.8 rtld(GNU_HASH) Obsoletes: python-yara < 3.11.0-3.fc33 Processing files: python-yara-debugsource-3.11.0-3.fc33.riscv64 Provides: python-yara-debugsource = 3.11.0-3.fc33 python-yara-debugsource(riscv-64) = 3.11.0-3.fc33 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: python3-yara-debuginfo-3.11.0-3.fc33.riscv64 Provides: debuginfo(build-id) = d8cf87b581465f8d6660977cbe3a809f1dd3ebf4 python3-yara-debuginfo = 3.11.0-3.fc33 python3-yara-debuginfo(riscv-64) = 3.11.0-3.fc33 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: python-yara-debugsource(riscv-64) = 3.11.0-3.fc33 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/python-yara-3.11.0-3.fc33.riscv64 Wrote: /builddir/build/RPMS/python3-yara-3.11.0-3.fc33.riscv64.rpm Wrote: /builddir/build/RPMS/python-yara-debugsource-3.11.0-3.fc33.riscv64.rpm Wrote: /builddir/build/RPMS/python3-yara-debuginfo-3.11.0-3.fc33.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.4RkCQD + umask 022 + cd /builddir/build/BUILD + cd yara-python-3.11.0 + /usr/bin/rm -rf /builddir/build/BUILDROOT/python-yara-3.11.0-3.fc33.riscv64 + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0