Mock Version: 1.4.13 Mock Version: 1.4.13 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/python-yara.spec'], chrootPath='/var/lib/mock/f31-build-90228-32174/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': 'C.UTF-8'}shell=Falselogger=timeout=432000uid=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-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': 'C.UTF-8'} and shell False BUILDSTDERR: warning: extra tokens at the end of %endif directive in line 31: %endif #Build_release BUILDSTDERR: warning: extra tokens at the end of %endif directive in line 78: %endif #build_release BUILDSTDERR: warning: extra tokens at the end of %endif directive in line 132: %endif # with_check Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1564099200 Wrote: /builddir/build/SRPMS/python-yara-3.9.0-2.fc31.1.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/python-yara.spec'], chrootPath='/var/lib/mock/f31-build-90228-32174/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': 'C.UTF-8'}shell=Falselogger=timeout=432000uid=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-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': 'C.UTF-8'} and shell False BUILDSTDERR: warning: extra tokens at the end of %endif directive in line 31: %endif #Build_release BUILDSTDERR: warning: extra tokens at the end of %endif directive in line 78: %endif #build_release BUILDSTDERR: warning: extra tokens at the end of %endif directive in line 132: %endif # with_check Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1564099200 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.ZNnzTR + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf yara-python-3.9.0 + /usr/bin/gzip -dc /builddir/build/SOURCES/python-yara-3.9.0.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd yara-python-3.9.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.Y6M6hR + umask 022 + cd /builddir/build/BUILD + cd yara-python-3.9.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 BUILDSTDERR: yara-python.c: In function ‘convert_object_to_python’: BUILDSTDERR: 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] BUILDSTDERR: 426 | if (object->value.i != UNDEFINED) BUILDSTDERR: | ^~ BUILDSTDERR: yara-python.c: In function ‘process_compile_externals’: BUILDSTDERR: yara-python.c:976:16: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: 976 | identifier = PY_STRING_TO_C(key); BUILDSTDERR: | ^ BUILDSTDERR: yara-python.c:50:27: warning: initialization discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: 50 | #define PY_STRING_TO_C(x) PyUnicode_AsUTF8(x) BUILDSTDERR: | ^~~~~~~~~~~~~~~~ BUILDSTDERR: yara-python.c:1005:19: note: in expansion of macro ‘PY_STRING_TO_C’ BUILDSTDERR: 1005 | char* str = PY_STRING_TO_C(value); BUILDSTDERR: | ^~~~~~~~~~~~~~ BUILDSTDERR: yara-python.c: In function ‘process_match_externals’: BUILDSTDERR: yara-python.c:1046:16: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: 1046 | identifier = PY_STRING_TO_C(key); BUILDSTDERR: | ^ BUILDSTDERR: yara-python.c:50:27: warning: initialization discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: 50 | #define PY_STRING_TO_C(x) PyUnicode_AsUTF8(x) BUILDSTDERR: | ^~~~~~~~~~~~~~~~ BUILDSTDERR: yara-python.c:1075:19: note: in expansion of macro ‘PY_STRING_TO_C’ BUILDSTDERR: 1075 | char* str = PY_STRING_TO_C(value); BUILDSTDERR: | ^~~~~~~~~~~~~~ BUILDSTDERR: yara-python.c: In function ‘yara_compile’: BUILDSTDERR: yara-python.c:2054:18: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: 2054 | source = PY_STRING_TO_C(value); BUILDSTDERR: | ^ BUILDSTDERR: yara-python.c:2055:14: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: 2055 | ns = PY_STRING_TO_C(key); BUILDSTDERR: | ^ BUILDSTDERR: yara-python.c:2087:20: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: 2087 | filepath = PY_STRING_TO_C(value); BUILDSTDERR: | ^ BUILDSTDERR: yara-python.c:2088:14: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] BUILDSTDERR: 2088 | ns = PY_STRING_TO_C(key); BUILDSTDERR: | ^ + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 running build running build_ext building 'yara' 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 -DUSE_LINUX_PROC=1 -DHAVE_MEMMEM=1 -Iyara/libyara/include -Iyara/libyara/ -I. -I/usr/include/python3.7m -c yara-python.c -o build/temp.linux-riscv64-3.7/yara-python.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/yara-python.o -L/usr/lib64 -lyara -lpython3.7m -o build/lib.linux-riscv64-3.7/yara.cpython-37m-riscv64-linux-gnu.so Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.bW468Q + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/python-yara-3.9.0-2.fc31.1.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/python-yara-3.9.0-2.fc31.1.riscv64 BUILDSTDERR: ++ dirname /builddir/build/BUILDROOT/python-yara-3.9.0-2.fc31.1.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/python-yara-3.9.0-2.fc31.1.riscv64 + cd yara-python-3.9.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.9.0-2.fc31.1.riscv64 BUILDSTDERR: warning: no files found matching 'yara/libyara/modules/module_list' BUILDSTDERR: warning: no files found matching '*.c' under directory 'yara' BUILDSTDERR: warning: no files found matching '*.h' under directory 'yara' + /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 3.9.0-2.fc31.1 --unique-debug-suffix -3.9.0-2.fc31.1.riscv64 --unique-debug-src-base python-yara-3.9.0-2.fc31.1.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/yara-python-3.9.0 BUILDSTDERR: 107 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/redhat/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-yara-3.9.0-2.fc31.1.riscv64/usr creating /builddir/build/BUILDROOT/python-yara-3.9.0-2.fc31.1.riscv64/usr/lib64 creating /builddir/build/BUILDROOT/python-yara-3.9.0-2.fc31.1.riscv64/usr/lib64/python3.7 creating /builddir/build/BUILDROOT/python-yara-3.9.0-2.fc31.1.riscv64/usr/lib64/python3.7/site-packages copying build/lib.linux-riscv64-3.7/yara.cpython-37m-riscv64-linux-gnu.so -> /builddir/build/BUILDROOT/python-yara-3.9.0-2.fc31.1.riscv64/usr/lib64/python3.7/site-packages writing byte-compilation script '/tmp/tmpp27jyhcm.py' /usr/bin/python3 /tmp/tmpp27jyhcm.py removing /tmp/tmpp27jyhcm.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' writing manifest file 'yara_python.egg-info/SOURCES.txt' Copying yara_python.egg-info to /builddir/build/BUILDROOT/python-yara-3.9.0-2.fc31.1.riscv64/usr/lib64/python3.7/site-packages/yara_python-3.9.0-py3.7.egg-info running install_scripts explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/python-yara-3.9.0-2.fc31.1.riscv64/usr/lib64/python3.7/site-packages/yara.cpython-37m-riscv64-linux-gnu.so extracting debug info from /builddir/build/BUILDROOT/python-yara-3.9.0-2.fc31.1.riscv64/usr/lib64/python3.7/site-packages/yara.cpython-37m-riscv64-linux-gnu.so original debug info size: 136kB, size after compression: 136kB /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. Bytecompiling .py files below /builddir/build/BUILDROOT/python-yara-3.9.0-2.fc31.1.riscv64/usr/lib/debug/usr/lib64/python3.7 using /usr/bin/python3.7 Bytecompiling .py files below /builddir/build/BUILDROOT/python-yara-3.9.0-2.fc31.1.riscv64/usr/lib64/python3.7 using /usr/bin/python3.7 Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.mYq01U + umask 022 + cd /builddir/build/BUILD + cd yara-python-3.9.0 + EXCLUDE='--exclude=^nothing$' BUILDSTDERR: ++ ls /usr/bin/nosetests-3.7 + NOSETESTS3=/usr/bin/nosetests-3.7 + PYTHONPATH=/builddir/build/BUILDROOT/python-yara-3.9.0-2.fc31.1.riscv64//usr/lib64/python3.7/site-packages/ + /usr/bin/nosetests-3.7 -v '--exclude=^nothing$' BUILDSTDERR: testAnonymousStrings (tests.TestYara) ... ok BUILDSTDERR: testArithmeticOperators (tests.TestYara) ... ok BUILDSTDERR: testAt (tests.TestYara) ... ok BUILDSTDERR: testBitwiseOperators (tests.TestYara) ... ok BUILDSTDERR: testBooleanOperators (tests.TestYara) ... ok BUILDSTDERR: testCallback (tests.TestYara) ... ok BUILDSTDERR: testCallbackAll (tests.TestYara) ... ok BUILDSTDERR: testComments (tests.TestYara) ... ok BUILDSTDERR: testCompare (tests.TestYara) ... ok BUILDSTDERR: testComparisonOperators (tests.TestYara) ... ok BUILDSTDERR: testCompileFile (tests.TestYara) ... ok BUILDSTDERR: testCompileFiles (tests.TestYara) ... ok BUILDSTDERR: testCount (tests.TestYara) ... ok BUILDSTDERR: testEntrypoint (tests.TestYara) ... ok BUILDSTDERR: testExternals (tests.TestYara) ... ok BUILDSTDERR: testFilesize (tests.TestYara) ... ok BUILDSTDERR: testFor (tests.TestYara) ... ok BUILDSTDERR: testHexStrings (tests.TestYara) ... ok BUILDSTDERR: testIn (tests.TestYara) ... ok BUILDSTDERR: testIncludeCallback (tests.TestYara) ... ok BUILDSTDERR: testIncludeFiles (tests.TestYara) ... ok BUILDSTDERR: testIntegerFunctions (tests.TestYara) ... ok BUILDSTDERR: testLength (tests.TestYara) ... ok BUILDSTDERR: testModuleData (tests.TestYara) ... ok BUILDSTDERR: testModules (tests.TestYara) ... ok BUILDSTDERR: testOf (tests.TestYara) ... ok BUILDSTDERR: testOffset (tests.TestYara) ... ok BUILDSTDERR: testRE (tests.TestYara) ... ok BUILDSTDERR: testRulesIterator (tests.TestYara) ... ok BUILDSTDERR: testSetConfig (tests.TestYara) ... ok BUILDSTDERR: testStringIO (tests.TestYara) ... ok BUILDSTDERR: testStrings (tests.TestYara) ... ok BUILDSTDERR: testSyntax (tests.TestYara) ... ok BUILDSTDERR: testWildcardStrings (tests.TestYara) ... ok BUILDSTDERR: ---------------------------------------------------------------------- BUILDSTDERR: Ran 34 tests in 1.156s BUILDSTDERR: OK + PYTHONPATH=/builddir/build/BUILDROOT/python-yara-3.9.0-2.fc31.1.riscv64//usr/lib64/python3.7/site-packages/ + /usr/bin/nosetests-3.7 -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 BUILDSTDERR: testCompare (tests.TestYara) ... ok BUILDSTDERR: testModuleData (tests.TestYara) ... ok BUILDSTDERR: testEntrypoint (tests.TestYara) ... ok BUILDSTDERR: testIn (tests.TestYara) ... ok BUILDSTDERR: testIntegerFunctions (tests.TestYara) ... ok BUILDSTDERR: testCompileFile (tests.TestYara) ... ok BUILDSTDERR: ---------------------------------------------------------------------- BUILDSTDERR: Ran 6 tests in 0.057s BUILDSTDERR: OK + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Processing files: python3-yara-3.9.0-2.fc31.1.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.ssQuQU + umask 022 + cd /builddir/build/BUILD + cd yara-python-3.9.0 + DOCDIR=/builddir/build/BUILDROOT/python-yara-3.9.0-2.fc31.1.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.9.0-2.fc31.1.riscv64/usr/share/doc/python3-yara + cp -pr README.rst /builddir/build/BUILDROOT/python-yara-3.9.0-2.fc31.1.riscv64/usr/share/doc/python3-yara + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.PH8tzT + umask 022 + cd /builddir/build/BUILD + cd yara-python-3.9.0 + LICENSEDIR=/builddir/build/BUILDROOT/python-yara-3.9.0-2.fc31.1.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.9.0-2.fc31.1.riscv64/usr/share/licenses/python3-yara + cp -pr LICENSE /builddir/build/BUILDROOT/python-yara-3.9.0-2.fc31.1.riscv64/usr/share/licenses/python3-yara + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Provides: python-yara = 3.9.0-2.fc31.1 python3-yara = 3.9.0-2.fc31.1 python3-yara(riscv-64) = 3.9.0-2.fc31.1 python3.7dist(yara-python) = 3.9 python3dist(yara-python) = 3.9 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) libpython3.7m.so.1.0()(64bit) libyara.so.3()(64bit) python(abi) = 3.7 rtld(GNU_HASH) Obsoletes: python-yara < 3.9.0-2.fc31.1 Processing files: python-yara-debugsource-3.9.0-2.fc31.1.riscv64 Provides: python-yara-debugsource = 3.9.0-2.fc31.1 python-yara-debugsource(riscv-64) = 3.9.0-2.fc31.1 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.9.0-2.fc31.1.riscv64 Provides: debuginfo(build-id) = 7cd0ebee9d2c9c6383dc1b95657ebd93e2308f66 python3-yara-debuginfo = 3.9.0-2.fc31.1 python3-yara-debuginfo(riscv-64) = 3.9.0-2.fc31.1 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.9.0-2.fc31.1 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/python-yara-3.9.0-2.fc31.1.riscv64 Wrote: /builddir/build/RPMS/python3-yara-3.9.0-2.fc31.1.riscv64.rpm Wrote: /builddir/build/RPMS/python-yara-debugsource-3.9.0-2.fc31.1.riscv64.rpm Wrote: /builddir/build/RPMS/python3-yara-debuginfo-3.9.0-2.fc31.1.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.0ZE4kU + umask 022 + cd /builddir/build/BUILD + cd yara-python-3.9.0 + /usr/bin/rm -rf /builddir/build/BUILDROOT/python-yara-3.9.0-2.fc31.1.riscv64 + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Child return code was: 0