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-libarchive.spec'], chrootPath='/var/lib/mock/f29-build-8416-2842/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', 'http_proxy': 'http://192.168.0.254:3128', 'https_proxy': 'http://192.168.0.254:3128'}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-libarchive.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', 'http_proxy': 'http://192.168.0.254:3128', 'https_proxy': 'http://192.168.0.254:3128'} and shell False BUILDSTDERR: sh: /usr/bin/python: No such file or directory Building target platforms: riscv64 Building for target riscv64 Wrote: /builddir/build/SRPMS/python-libarchive-3.1.2.1-15.fc29.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/python-libarchive.spec'], chrootPath='/var/lib/mock/f29-build-8416-2842/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', 'http_proxy': 'http://192.168.0.254:3128', 'https_proxy': 'http://192.168.0.254:3128'}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-libarchive.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', 'http_proxy': 'http://192.168.0.254:3128', 'https_proxy': 'http://192.168.0.254:3128'} and shell False Building target platforms: riscv64 Building for target riscv64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.zl4Q5M + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf python-libarchive-3.1.2-1 + /usr/bin/gzip -dc /builddir/build/SOURCES/python-libarchive-3.1.2-1.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd python-libarchive-3.1.2-1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (python-libarchive-3.1.2-libarchiverebase.patch):' Patch #0 (python-libarchive-3.1.2-libarchiverebase.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file libarchive/Makefile patching file setup.py + rm -rf libarchive.egg-info + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.d1cKGR + umask 022 + cd /builddir/build/BUILD + cd python-libarchive-3.1.2-1 + /usr/bin/python setup.py build BUILDSTDERR: DEPRECATION WARNING: python2 invoked with /usr/bin/python. BUILDSTDERR: Use /usr/bin/python3 or /usr/bin/python2 BUILDSTDERR: /usr/bin/python will be removed or switched to Python 3 in the future. BUILDSTDERR: If you cannot make the switch now, please follow instructions at https://fedoraproject.org/wiki/Changes/Avoid_usr_bin_python_in_RPM_Build#Quick_Opt-Out BUILDSTDERR: /usr/lib/python2.7/site-packages/setuptools/dist.py:398: UserWarning: Normalizing '3.1.2-1' to '3.1.2.post1' BUILDSTDERR: normalized_version, running build running build_py creating build creating build/lib.linux-riscv64-2.7 creating build/lib.linux-riscv64-2.7/libarchive copying libarchive/tar.py -> build/lib.linux-riscv64-2.7/libarchive copying libarchive/zip.py -> build/lib.linux-riscv64-2.7/libarchive copying libarchive/_libarchive.py -> build/lib.linux-riscv64-2.7/libarchive copying libarchive/__init__.py -> build/lib.linux-riscv64-2.7/libarchive running build_ext building 'libarchive.__libarchive' extension creating build/temp.linux-riscv64-2.7 creating build/temp.linux-riscv64-2.7/libarchive 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 -fPIC -Ilibarchive -I/usr/include/python2.7 -c libarchive/_libarchive_wrap.c -o build/temp.linux-riscv64-2.7/libarchive/_libarchive_wrap.o BUILDSTDERR: libarchive/_libarchive_wrap.c: In function 'init__libarchive': BUILDSTDERR: libarchive/_libarchive_wrap.c:6245:21: warning: variable 'md' set but not used [-Wunused-but-set-variable] BUILDSTDERR: PyObject *m, *d, *md; BUILDSTDERR: ^~ gcc -pthread -shared -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld build/temp.linux-riscv64-2.7/libarchive/_libarchive_wrap.o -L/usr/lib64 -larchive -lpython2.7 -o build/lib.linux-riscv64-2.7/libarchive/__libarchive.so -larchive + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.Lullgl + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/python-libarchive-3.1.2.1-15.fc29.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/python-libarchive-3.1.2.1-15.fc29.riscv64 BUILDSTDERR: ++ dirname /builddir/build/BUILDROOT/python-libarchive-3.1.2.1-15.fc29.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/python-libarchive-3.1.2.1-15.fc29.riscv64 + cd python-libarchive-3.1.2-1 + /usr/bin/python setup.py install --skip-build --root /builddir/build/BUILDROOT/python-libarchive-3.1.2.1-15.fc29.riscv64 BUILDSTDERR: DEPRECATION WARNING: python2 invoked with /usr/bin/python. BUILDSTDERR: Use /usr/bin/python3 or /usr/bin/python2 BUILDSTDERR: /usr/bin/python will be removed or switched to Python 3 in the future. BUILDSTDERR: If you cannot make the switch now, please follow instructions at https://fedoraproject.org/wiki/Changes/Avoid_usr_bin_python_in_RPM_Build#Quick_Opt-Out BUILDSTDERR: /usr/lib/python2.7/site-packages/setuptools/dist.py:398: UserWarning: Normalizing '3.1.2-1' to '3.1.2.post1' BUILDSTDERR: normalized_version, running install running install_lib creating /builddir/build/BUILDROOT/python-libarchive-3.1.2.1-15.fc29.riscv64/usr creating /builddir/build/BUILDROOT/python-libarchive-3.1.2.1-15.fc29.riscv64/usr/lib64 creating /builddir/build/BUILDROOT/python-libarchive-3.1.2.1-15.fc29.riscv64/usr/lib64/python2.7 creating /builddir/build/BUILDROOT/python-libarchive-3.1.2.1-15.fc29.riscv64/usr/lib64/python2.7/site-packages creating /builddir/build/BUILDROOT/python-libarchive-3.1.2.1-15.fc29.riscv64/usr/lib64/python2.7/site-packages/libarchive copying build/lib.linux-riscv64-2.7/libarchive/tar.py -> /builddir/build/BUILDROOT/python-libarchive-3.1.2.1-15.fc29.riscv64/usr/lib64/python2.7/site-packages/libarchive copying build/lib.linux-riscv64-2.7/libarchive/zip.py -> /builddir/build/BUILDROOT/python-libarchive-3.1.2.1-15.fc29.riscv64/usr/lib64/python2.7/site-packages/libarchive copying build/lib.linux-riscv64-2.7/libarchive/__libarchive.so -> /builddir/build/BUILDROOT/python-libarchive-3.1.2.1-15.fc29.riscv64/usr/lib64/python2.7/site-packages/libarchive copying build/lib.linux-riscv64-2.7/libarchive/_libarchive.py -> /builddir/build/BUILDROOT/python-libarchive-3.1.2.1-15.fc29.riscv64/usr/lib64/python2.7/site-packages/libarchive copying build/lib.linux-riscv64-2.7/libarchive/__init__.py -> /builddir/build/BUILDROOT/python-libarchive-3.1.2.1-15.fc29.riscv64/usr/lib64/python2.7/site-packages/libarchive byte-compiling /builddir/build/BUILDROOT/python-libarchive-3.1.2.1-15.fc29.riscv64/usr/lib64/python2.7/site-packages/libarchive/tar.py to tar.pyc byte-compiling /builddir/build/BUILDROOT/python-libarchive-3.1.2.1-15.fc29.riscv64/usr/lib64/python2.7/site-packages/libarchive/zip.py to zip.pyc byte-compiling /builddir/build/BUILDROOT/python-libarchive-3.1.2.1-15.fc29.riscv64/usr/lib64/python2.7/site-packages/libarchive/_libarchive.py to _libarchive.pyc byte-compiling /builddir/build/BUILDROOT/python-libarchive-3.1.2.1-15.fc29.riscv64/usr/lib64/python2.7/site-packages/libarchive/__init__.py to __init__.pyc running install_egg_info running egg_info writing python_libarchive.egg-info/PKG-INFO writing top-level names to python_libarchive.egg-info/top_level.txt writing dependency_links to python_libarchive.egg-info/dependency_links.txt reading manifest file 'python_libarchive.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' writing manifest file 'python_libarchive.egg-info/SOURCES.txt' Copying python_libarchive.egg-info to /builddir/build/BUILDROOT/python-libarchive-3.1.2.1-15.fc29.riscv64/usr/lib64/python2.7/site-packages/python_libarchive-3.1.2.post1-py2.7.egg-info running install_scripts + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /builddir/build/BUILDROOT/python-libarchive-3.1.2.1-15.fc29.riscv64 + /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 3.1.2.1-15.fc29 --unique-debug-suffix -3.1.2.1-15.fc29.riscv64 --unique-debug-src-base python-libarchive-3.1.2.1-15.fc29.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/python-libarchive-3.1.2-1 extracting debug info from /builddir/build/BUILDROOT/python-libarchive-3.1.2.1-15.fc29.riscv64/usr/lib64/python2.7/site-packages/libarchive/__libarchive.so /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. BUILDSTDERR: 551 blocks + /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-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 Bytecompiling .py files below /builddir/build/BUILDROOT/python-libarchive-3.1.2.1-15.fc29.riscv64/usr/lib/debug/usr/lib64/python2.7 using /usr/bin/python2.7 Bytecompiling .py files below /builddir/build/BUILDROOT/python-libarchive-3.1.2.1-15.fc29.riscv64/usr/lib64/python2.7 using /usr/bin/python2.7 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.gWlTBd Processing files: python2-libarchive-3.1.2.1-15.fc29.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.gfH8yu + umask 022 + cd /builddir/build/BUILD + cd python-libarchive-3.1.2-1 + DOCDIR=/builddir/build/BUILDROOT/python-libarchive-3.1.2.1-15.fc29.riscv64/usr/share/doc/python2-libarchive + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/python-libarchive-3.1.2.1-15.fc29.riscv64/usr/share/doc/python2-libarchive + cp -pr README.rst /builddir/build/BUILDROOT/python-libarchive-3.1.2.1-15.fc29.riscv64/usr/share/doc/python2-libarchive + exit 0 Provides: python-libarchive = 3.1.2.1-15.fc29 python-libarchive(riscv-64) = 3.1.2.1-15.fc29 python2-libarchive = 3.1.2.1-15.fc29 python2-libarchive(riscv-64) = 3.1.2.1-15.fc29 python2.7dist(python-libarchive) = 3.1.2.post1 python2dist(python-libarchive) = 3.1.2.post1 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PartialHardlinkSets) <= 4.0.4-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ld-linux-riscv64-lp64d.so.1()(64bit) ld-linux-riscv64-lp64d.so.1(GLIBC_2.27)(64bit) libarchive.so.13()(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(64bit) libpthread.so.0()(64bit) libpython2.7.so.1.0()(64bit) python(abi) = 2.7 rtld(GNU_HASH) Obsoletes: python-libarchive < 3.1.2.1-15.fc29 Processing files: python-libarchive-debugsource-3.1.2.1-15.fc29.riscv64 Provides: python-libarchive-debugsource = 3.1.2.1-15.fc29 python-libarchive-debugsource(riscv-64) = 3.1.2.1-15.fc29 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: python2-libarchive-debuginfo-3.1.2.1-15.fc29.riscv64 Provides: debuginfo(build-id) = 44cba15c365b595b844410cc7a7afa0433b49cb5 python2-libarchive-debuginfo = 3.1.2.1-15.fc29 python2-libarchive-debuginfo(riscv-64) = 3.1.2.1-15.fc29 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: python-libarchive-debugsource(riscv-64) = 3.1.2.1-15.fc29 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/python-libarchive-3.1.2.1-15.fc29.riscv64 Wrote: /builddir/build/RPMS/python2-libarchive-3.1.2.1-15.fc29.riscv64.rpm Wrote: /builddir/build/RPMS/python-libarchive-debugsource-3.1.2.1-15.fc29.riscv64.rpm Wrote: /builddir/build/RPMS/python2-libarchive-debuginfo-3.1.2.1-15.fc29.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.C7zXYT + umask 022 + cd /builddir/build/BUILD + cd python-libarchive-3.1.2-1 + /usr/bin/rm -rf /builddir/build/BUILDROOT/python-libarchive-3.1.2.1-15.fc29.riscv64 + exit 0 Child return code was: 0