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-312006-57519/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: bogus date in %changelog: Fri Jun 06 2020 Michal Ambroz - 4.0.1-1 Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1595980800 Wrote: /builddir/build/SRPMS/python-yara-4.0.2-2.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-312006-57519/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: bogus date in %changelog: Fri Jun 06 2020 Michal Ambroz - 4.0.1-1 Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1595980800 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.JD78RE + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf yara-python-4.0.2 + /usr/bin/gzip -dc /builddir/build/SOURCES/python-yara-4.0.2.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd yara-python-4.0.2 + /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.Xd1XjG + umask 022 + cd /builddir/build/BUILD + cd yara-python-4.0.2 + 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' --dynamic-linking running build running build_ext building 'yara' extension creating build creating build/temp.linux-riscv64-3.9 gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -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 -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 -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 -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 -D_GNU_SOURCE=1 -DUSE_LINUX_PROC=1 -DHAVE_MEMMEM=1 -Iyara/libyara/include -Iyara/libyara/ -I. -I/usr/include/python3.9 -c yara-python.c -o build/temp.linux-riscv64-3.9/yara-python.o -std=c99 yara-python.c: In function ‘convert_object_to_python’: yara-python.c:442:27: warning: comparison of integer expressions of different signedness: ‘int64_t’ {aka ‘long int’} and ‘long long unsigned int’ [-Wsign-compare] 442 | if (object->value.i != YR_UNDEFINED) | ^~ yara-python.c: In function ‘process_compile_externals’: yara-python.c:993:16: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 993 | 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:1022:19: note: in expansion of macro ‘PY_STRING_TO_C’ 1022 | char* str = PY_STRING_TO_C(value); | ^~~~~~~~~~~~~~ yara-python.c: In function ‘process_match_externals’: yara-python.c:1063:16: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 1063 | 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:1092:19: note: in expansion of macro ‘PY_STRING_TO_C’ 1092 | char* str = PY_STRING_TO_C(value); | ^~~~~~~~~~~~~~ yara-python.c: In function ‘yara_compile’: yara-python.c:2089:18: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 2089 | source = PY_STRING_TO_C(value); | ^ yara-python.c:2090:14: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 2090 | ns = PY_STRING_TO_C(key); | ^ yara-python.c:2122:20: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 2122 | filepath = PY_STRING_TO_C(value); | ^ yara-python.c:2123:14: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 2123 | ns = PY_STRING_TO_C(key); | ^ 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/yara-python.o -L/usr/lib64 -lyara -o build/lib.linux-riscv64-3.9/yara.cpython-39-riscv64-linux-gnu.so + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.dcsXxG + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/python-yara-4.0.2-2.fc33.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/python-yara-4.0.2-2.fc33.riscv64 ++ dirname /builddir/build/BUILDROOT/python-yara-4.0.2-2.fc33.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/python-yara-4.0.2-2.fc33.riscv64 + cd yara-python-4.0.2 + 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-yara-4.0.2-2.fc33.riscv64 running install running install_lib creating /builddir/build/BUILDROOT/python-yara-4.0.2-2.fc33.riscv64/usr creating /builddir/build/BUILDROOT/python-yara-4.0.2-2.fc33.riscv64/usr/lib64 creating /builddir/build/BUILDROOT/python-yara-4.0.2-2.fc33.riscv64/usr/lib64/python3.9 creating /builddir/build/BUILDROOT/python-yara-4.0.2-2.fc33.riscv64/usr/lib64/python3.9/site-packages copying build/lib.linux-riscv64-3.9/yara.cpython-39-riscv64-linux-gnu.so -> /builddir/build/BUILDROOT/python-yara-4.0.2-2.fc33.riscv64/usr/lib64/python3.9/site-packages writing byte-compilation script '/tmp/tmptola7wai.py' /usr/bin/python3 /tmp/tmptola7wai.py removing /tmp/tmptola7wai.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-4.0.2-2.fc33.riscv64/usr/lib64/python3.9/site-packages/yara_python-4.0.2-py3.9.egg-info running install_scripts + rm -rfv /builddir/build/BUILDROOT/python-yara-4.0.2-2.fc33.riscv64/usr/bin/__pycache__ + /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 4.0.2-2.fc33 --unique-debug-suffix -4.0.2-2.fc33.riscv64 --unique-debug-src-base python-yara-4.0.2-2.fc33.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/yara-python-4.0.2 explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/python-yara-4.0.2-2.fc33.riscv64/usr/lib64/python3.9/site-packages/yara.cpython-39-riscv64-linux-gnu.so extracting debug info from /builddir/build/BUILDROOT/python-yara-4.0.2-2.fc33.riscv64/usr/lib64/python3.9/site-packages/yara.cpython-39-riscv64-linux-gnu.so original debug info size: 272kB, size after compression: 272kB /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. 109 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-yara-4.0.2-2.fc33.riscv64/usr/lib/debug/usr/lib64/python3.9 using /usr/bin/python3.9 Bytecompiling .py files below /builddir/build/BUILDROOT/python-yara-4.0.2-2.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.WbyhnF + umask 022 + cd /builddir/build/BUILD + cd yara-python-4.0.2 + EXCLUDE='--exclude=^nothing$' ++ ls /usr/bin/nosetests-3.9 + NOSETESTS3=/usr/bin/nosetests-3.9 + PYTHONPATH=/builddir/build/BUILDROOT/python-yara-4.0.2-2.fc33.riscv64//usr/lib64/python3.9/site-packages/ + /usr/bin/nosetests-3.9 -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 testGlobalPrivate (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 testMeta (tests.TestYara) ... ok testMetaNull (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 testScanMeta (tests.TestYara) ... ok testSetConfig (tests.TestYara) ... ok testStringIO (tests.TestYara) ... ok testStrings (tests.TestYara) ... ok testSyntax (tests.TestYara) ... ok testWildcardStrings (tests.TestYara) ... ok ---------------------------------------------------------------------- Ran 38 tests in 60.326s OK + PYTHONPATH=/builddir/build/BUILDROOT/python-yara-4.0.2-2.fc33.riscv64//usr/lib64/python3.9/site-packages/ + /usr/bin/nosetests-3.9 -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 1.765s OK + RPM_EC=0 ++ jobs -p + exit 0 Processing files: python3-yara-4.0.2-2.fc33.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.J1LGdG + umask 022 + cd /builddir/build/BUILD + cd yara-python-4.0.2 + DOCDIR=/builddir/build/BUILDROOT/python-yara-4.0.2-2.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-4.0.2-2.fc33.riscv64/usr/share/doc/python3-yara + cp -pr README.rst /builddir/build/BUILDROOT/python-yara-4.0.2-2.fc33.riscv64/usr/share/doc/python3-yara + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.H7mL8E + umask 022 + cd /builddir/build/BUILD + cd yara-python-4.0.2 + LICENSEDIR=/builddir/build/BUILDROOT/python-yara-4.0.2-2.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-4.0.2-2.fc33.riscv64/usr/share/licenses/python3-yara + cp -pr LICENSE /builddir/build/BUILDROOT/python-yara-4.0.2-2.fc33.riscv64/usr/share/licenses/python3-yara + RPM_EC=0 ++ jobs -p + exit 0 Provides: python-yara = 4.0.2-2.fc33 python3-yara = 4.0.2-2.fc33 python3-yara(riscv-64) = 4.0.2-2.fc33 python3.9-yara = 4.0.2-2.fc33 python3.9dist(yara-python) = 4.0.2 python3dist(yara-python) = 4.0.2 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.4()(64bit) python(abi) = 3.9 rtld(GNU_HASH) Obsoletes: python-yara < 4.0.2-2.fc33 Processing files: python-yara-debugsource-4.0.2-2.fc33.riscv64 Provides: python-yara-debugsource = 4.0.2-2.fc33 python-yara-debugsource(riscv-64) = 4.0.2-2.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-4.0.2-2.fc33.riscv64 Provides: debuginfo(build-id) = f6b1cbaa5660507d8c0bad0ed7aaab2c613c867e python-yara-debuginfo = 4.0.2-2.fc33 python3-yara-debuginfo = 4.0.2-2.fc33 python3-yara-debuginfo(riscv-64) = 4.0.2-2.fc33 python3.9-yara-debuginfo = 4.0.2-2.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) = 4.0.2-2.fc33 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/python-yara-4.0.2-2.fc33.riscv64 Wrote: /builddir/build/RPMS/python3-yara-4.0.2-2.fc33.riscv64.rpm Wrote: /builddir/build/RPMS/python-yara-debugsource-4.0.2-2.fc33.riscv64.rpm Wrote: /builddir/build/RPMS/python3-yara-debuginfo-4.0.2-2.fc33.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.WOVD3E + umask 022 + cd /builddir/build/BUILD + cd yara-python-4.0.2 + /usr/bin/rm -rf /builddir/build/BUILDROOT/python-yara-4.0.2-2.fc33.riscv64 + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0