Mock Version: 1.4.9 Mock Version: 1.4.9 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/python-yara.spec'], chrootPath='/var/lib/mock/f29-build-1001-424/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=345600uid=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': 'en_US.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 Wrote: /builddir/build/SRPMS/python-yara-3.7.0-5.fc29.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/f29-build-1001-424/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=345600uid=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': 'en_US.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.QQq56w + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf yara-python-3.7.0 + /usr/bin/gzip -dc /builddir/build/SOURCES/python-yara-3.7.0.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd yara-python-3.7.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.LKOc3o + umask 022 + cd /builddir/build/BUILD + cd yara-python-3.7.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' + /usr/bin/python2 setup.py build '--executable=/usr/bin/python2 -s' --dynamic-linking running build running build_ext building 'yara' extension creating build creating build/temp.linux-riscv64-2.7 gcc -pthread -fno-strict-aliasing -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 -D_GNU_SOURCE -fPIC -fwrapv -DNDEBUG -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 -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/python2.7 -c yara-python.c -o build/temp.linux-riscv64-2.7/yara-python.o creating build/lib.linux-riscv64-2.7 gcc -pthread -shared -Wl,-z,relro -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-2.7/yara-python.o -L/usr/lib64 -lyara -lpython2.7 -o build/lib.linux-riscv64-2.7/yara.so + sleep 1 + 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' + /usr/bin/python3 setup.py build '--executable=/usr/bin/python3 -s' --dynamic-linking running build running build_ext building 'yara' extension creating build/temp.linux-riscv64-3.6 gcc -pthread -DNDEBUG -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 -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.6m -c yara-python.c -o build/temp.linux-riscv64-3.6/yara-python.o creating build/lib.linux-riscv64-3.6 gcc -pthread -shared -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -g -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.6/yara-python.o -L/usr/lib64 -lyara -lpython3.6m -o build/lib.linux-riscv64-3.6/yara.cpython-36m-riscv64-linux-gnu.so + sleep 1 + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.xzIGBl + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/python-yara-3.7.0-5.fc29.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/python-yara-3.7.0-5.fc29.riscv64 BUILDSTDERR: ++ dirname /builddir/build/BUILDROOT/python-yara-3.7.0-5.fc29.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/python-yara-3.7.0-5.fc29.riscv64 + cd yara-python-3.7.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' + /usr/bin/python2 setup.py install -O1 --skip-build --root /builddir/build/BUILDROOT/python-yara-3.7.0-5.fc29.riscv64 running install running install_lib creating /builddir/build/BUILDROOT/python-yara-3.7.0-5.fc29.riscv64/usr creating /builddir/build/BUILDROOT/python-yara-3.7.0-5.fc29.riscv64/usr/lib64 creating /builddir/build/BUILDROOT/python-yara-3.7.0-5.fc29.riscv64/usr/lib64/python2.7 creating /builddir/build/BUILDROOT/python-yara-3.7.0-5.fc29.riscv64/usr/lib64/python2.7/site-packages copying build/lib.linux-riscv64-2.7/yara.so -> /builddir/build/BUILDROOT/python-yara-3.7.0-5.fc29.riscv64/usr/lib64/python2.7/site-packages writing byte-compilation script '/tmp/tmp9kPmK7.py' /usr/bin/python2 -O /tmp/tmp9kPmK7.py removing /tmp/tmp9kPmK7.py running install_egg_info running egg_info creating yara_python.egg-info writing yara_python.egg-info/PKG-INFO writing top-level names to yara_python.egg-info/top_level.txt writing dependency_links to yara_python.egg-info/dependency_links.txt writing manifest file 'yara_python.egg-info/SOURCES.txt' reading manifest file 'yara_python.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' 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' writing manifest file 'yara_python.egg-info/SOURCES.txt' Copying yara_python.egg-info to /builddir/build/BUILDROOT/python-yara-3.7.0-5.fc29.riscv64/usr/lib64/python2.7/site-packages/yara_python-3.7.0-py2.7.egg-info running install_scripts + 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' + /usr/bin/python3 setup.py install -O1 --skip-build --root /builddir/build/BUILDROOT/python-yara-3.7.0-5.fc29.riscv64 running install running install_lib creating /builddir/build/BUILDROOT/python-yara-3.7.0-5.fc29.riscv64/usr/lib64/python3.6 creating /builddir/build/BUILDROOT/python-yara-3.7.0-5.fc29.riscv64/usr/lib64/python3.6/site-packages copying build/lib.linux-riscv64-3.6/yara.cpython-36m-riscv64-linux-gnu.so -> /builddir/build/BUILDROOT/python-yara-3.7.0-5.fc29.riscv64/usr/lib64/python3.6/site-packages writing byte-compilation script '/tmp/tmpjhh2wevy.py' /usr/bin/python3 /tmp/tmpjhh2wevy.py removing /tmp/tmpjhh2wevy.py running install_egg_info running 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 reading manifest file 'yara_python.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' 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' writing manifest file 'yara_python.egg-info/SOURCES.txt' Copying yara_python.egg-info to /builddir/build/BUILDROOT/python-yara-3.7.0-5.fc29.riscv64/usr/lib64/python3.6/site-packages/yara_python-3.7.0-py3.6.egg-info running install_scripts + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig BUILDSTDERR: /sbin/ldconfig: Warning: ignoring configuration file that cannot be opened: /etc/ld.so.conf: No such file or directory + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip /usr/bin/strip + /usr/lib/rpm/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 Bytecompiling .py files below /builddir/build/BUILDROOT/python-yara-3.7.0-5.fc29.riscv64/usr/lib64/python2.7 using /usr/bin/python2.7 Bytecompiling .py files below /builddir/build/BUILDROOT/python-yara-3.7.0-5.fc29.riscv64/usr/lib64/python3.6 using /usr/bin/python3.6 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.m2Am89 Processing files: python2-yara-3.7.0-5.fc29.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.En7Yla + umask 022 + cd /builddir/build/BUILD + cd yara-python-3.7.0 + DOCDIR=/builddir/build/BUILDROOT/python-yara-3.7.0-5.fc29.riscv64/usr/share/doc/python2-yara + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/python-yara-3.7.0-5.fc29.riscv64/usr/share/doc/python2-yara + cp -pr README.rst /builddir/build/BUILDROOT/python-yara-3.7.0-5.fc29.riscv64/usr/share/doc/python2-yara + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.KIcGHV + umask 022 + cd /builddir/build/BUILD + cd yara-python-3.7.0 + LICENSEDIR=/builddir/build/BUILDROOT/python-yara-3.7.0-5.fc29.riscv64/usr/share/licenses/python2-yara + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/python-yara-3.7.0-5.fc29.riscv64/usr/share/licenses/python2-yara + cp -pr LICENSE /builddir/build/BUILDROOT/python-yara-3.7.0-5.fc29.riscv64/usr/share/licenses/python2-yara + exit 0 Provides: python-yara = 3.7.0-5.fc29 python-yara(riscv-64) = 3.7.0-5.fc29 python2-yara = 3.7.0-5.fc29 python2-yara(riscv-64) = 3.7.0-5.fc29 python2.7dist(yara-python) = 3.7.0 python2dist(yara-python) = 3.7.0 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) libpthread.so.0()(64bit) libpython2.7.so.1.0()(64bit) libyara.so.3()(64bit) python(abi) = 2.7 rtld(GNU_HASH) Obsoletes: python-yara < 3.7.0-5.fc29 Processing files: python3-yara-3.7.0-5.fc29.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.SwjWBD + umask 022 + cd /builddir/build/BUILD + cd yara-python-3.7.0 + DOCDIR=/builddir/build/BUILDROOT/python-yara-3.7.0-5.fc29.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.7.0-5.fc29.riscv64/usr/share/doc/python3-yara + cp -pr README.rst /builddir/build/BUILDROOT/python-yara-3.7.0-5.fc29.riscv64/usr/share/doc/python3-yara + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.Bt3INN + umask 022 + cd /builddir/build/BUILD + cd yara-python-3.7.0 + LICENSEDIR=/builddir/build/BUILDROOT/python-yara-3.7.0-5.fc29.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.7.0-5.fc29.riscv64/usr/share/licenses/python3-yara + cp -pr LICENSE /builddir/build/BUILDROOT/python-yara-3.7.0-5.fc29.riscv64/usr/share/licenses/python3-yara + exit 0 Provides: python3-yara = 3.7.0-5.fc29 python3-yara(riscv-64) = 3.7.0-5.fc29 python3.6dist(yara-python) = 3.7.0 python3dist(yara-python) = 3.7.0 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) libpthread.so.0()(64bit) libpython3.6m.so.1.0()(64bit) libyara.so.3()(64bit) python(abi) = 3.6 rtld(GNU_HASH) Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/python-yara-3.7.0-5.fc29.riscv64 Wrote: /builddir/build/RPMS/python2-yara-3.7.0-5.fc29.riscv64.rpm Wrote: /builddir/build/RPMS/python3-yara-3.7.0-5.fc29.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.Ir16Yb + umask 022 + cd /builddir/build/BUILD + cd yara-python-3.7.0 + /usr/bin/rm -rf /builddir/build/BUILDROOT/python-yara-3.7.0-5.fc29.riscv64 + exit 0 Child return code was: 0