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-chm.spec'], chrootPath='/var/lib/mock/f29-build-10219-4620/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-chm.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 BUILDSTDERR: sh: /usr/bin/python: No such file or directory Building target platforms: riscv64 Building for target riscv64 Wrote: /builddir/build/SRPMS/python-chm-0.8.4-26.fc29.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/python-chm.spec'], chrootPath='/var/lib/mock/f29-build-10219-4620/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-chm.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.jAi41K + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf pychm-0.8.4 + /usr/bin/gzip -dc /builddir/build/SOURCES/pychm-0.8.4.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd pychm-0.8.4 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.oXwbJf + umask 022 + cd /builddir/build/BUILD + cd pychm-0.8.4 + 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/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 running build running build_py creating build creating build/lib.linux-riscv64-2.7 creating build/lib.linux-riscv64-2.7/chm copying chm/__init__.py -> build/lib.linux-riscv64-2.7/chm copying chm/chm.py -> build/lib.linux-riscv64-2.7/chm copying chm/chmlib.py -> build/lib.linux-riscv64-2.7/chm running build_ext building 'chm._chmlib' extension creating build/temp.linux-riscv64-2.7 creating build/temp.linux-riscv64-2.7/chm 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 -I/usr/include/python2.7 -c chm/swig_chm.c -o build/temp.linux-riscv64-2.7/chm/swig_chm.o -DSWIG_COBJECT_TYPES BUILDSTDERR: chm/swig_chm.c: In function '_wrap_chm_retrieve_object': BUILDSTDERR: chm/swig_chm.c:1074:40: warning: pointer targets in passing argument 1 of 'PyString_FromStringAndSize' differ in signedness [-Wpointer-sign] BUILDSTDERR: o = PyString_FromStringAndSize(arg3, arg5); BUILDSTDERR: ^~~~ BUILDSTDERR: In file included from /usr/include/python2.7/Python.h:97, BUILDSTDERR: from chm/swig_chm.c:13: BUILDSTDERR: /usr/include/python2.7/stringobject.h:62:24: note: expected 'const char *' but argument is of type 'unsigned char *' BUILDSTDERR: PyAPI_FUNC(PyObject *) PyString_FromStringAndSize(const char *, Py_ssize_t); BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: At top level: BUILDSTDERR: chm/swig_chm.c:515:1: warning: 'SWIG_ConvertPacked' defined but not used [-Wunused-function] BUILDSTDERR: SWIG_ConvertPacked(PyObject *obj, void *ptr, int sz, swig_type_info *ty, int flags) { BUILDSTDERR: ^~~~~~~~~~~~~~~~~~ BUILDSTDERR: chm/swig_chm.c:369:1: warning: 'SWIG_addvarlink' defined but not used [-Wunused-function] BUILDSTDERR: SWIG_addvarlink(PyObject *p, char *name, BUILDSTDERR: ^~~~~~~~~~~~~~~ BUILDSTDERR: chm/swig_chm.c:188:1: warning: 'SWIG_TypeQuery' defined but not used [-Wunused-function] BUILDSTDERR: SWIG_TypeQuery(const char *name) { BUILDSTDERR: ^~~~~~~~~~~~~~ BUILDSTDERR: chm/swig_chm.c:182:1: warning: 'SWIG_TypeName' defined but not used [-Wunused-function] BUILDSTDERR: SWIG_TypeName(const swig_type_info *ty) { BUILDSTDERR: ^~~~~~~~~~~~~ BUILDSTDERR: chm/swig_chm.c:169:1: warning: 'SWIG_TypeDynamicCast' defined but not used [-Wunused-function] BUILDSTDERR: SWIG_TypeDynamicCast(swig_type_info *ty, void **ptr) BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~ 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/chm/swig_chm.o -L/usr/lib64 -lchm -lpython2.7 -o build/lib.linux-riscv64-2.7/chm/_chmlib.so building 'chm.extra' extension 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 -I/usr/include/python2.7 -c chm/extra.c -o build/temp.linux-riscv64-2.7/chm/extra.o -D__PYTHON__ BUILDSTDERR: chm/extra.c: In function 'pychm_process_wlc': BUILDSTDERR: chm/extra.c:357:23: warning: pointer targets in passing argument 1 of 'strdup' differ in signedness [-Wpointer-sign] BUILDSTDERR: topic = strdup (combuf); BUILDSTDERR: ^~~~~~ BUILDSTDERR: In file included from /usr/include/python2.7/Python.h:38, BUILDSTDERR: from chm/extra.c:31: BUILDSTDERR: /usr/include/string.h:166:14: note: expected 'const char *' but argument is of type 'unsigned char *' BUILDSTDERR: extern char *strdup (const char *__s) BUILDSTDERR: ^~~~~~ BUILDSTDERR: chm/extra.c:381:19: warning: pointer targets in passing argument 1 of 'strdup' differ in signedness [-Wpointer-sign] BUILDSTDERR: url = strdup (combuf); BUILDSTDERR: ^~~~~~ BUILDSTDERR: In file included from /usr/include/python2.7/Python.h:38, BUILDSTDERR: from chm/extra.c:31: BUILDSTDERR: /usr/include/string.h:166:14: note: expected 'const char *' but argument is of type 'unsigned char *' BUILDSTDERR: extern char *strdup (const char *__s) BUILDSTDERR: ^~~~~~ 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/chm/extra.o -L/usr/lib64 -lchm -lpython2.7 -o build/lib.linux-riscv64-2.7/chm/extra.so + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.V1huJM + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/python-chm-0.8.4-26.fc29.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/python-chm-0.8.4-26.fc29.riscv64 BUILDSTDERR: ++ dirname /builddir/build/BUILDROOT/python-chm-0.8.4-26.fc29.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/python-chm-0.8.4-26.fc29.riscv64 + cd pychm-0.8.4 + rm -rf /builddir/build/BUILDROOT/python-chm-0.8.4-26.fc29.riscv64 + /usr/bin/python setup.py install -O1 --skip-build --root /builddir/build/BUILDROOT/python-chm-0.8.4-26.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 running install running install_lib creating /builddir/build/BUILDROOT/python-chm-0.8.4-26.fc29.riscv64 creating /builddir/build/BUILDROOT/python-chm-0.8.4-26.fc29.riscv64/usr creating /builddir/build/BUILDROOT/python-chm-0.8.4-26.fc29.riscv64/usr/lib64 creating /builddir/build/BUILDROOT/python-chm-0.8.4-26.fc29.riscv64/usr/lib64/python2.7 creating /builddir/build/BUILDROOT/python-chm-0.8.4-26.fc29.riscv64/usr/lib64/python2.7/site-packages creating /builddir/build/BUILDROOT/python-chm-0.8.4-26.fc29.riscv64/usr/lib64/python2.7/site-packages/chm copying build/lib.linux-riscv64-2.7/chm/extra.so -> /builddir/build/BUILDROOT/python-chm-0.8.4-26.fc29.riscv64/usr/lib64/python2.7/site-packages/chm copying build/lib.linux-riscv64-2.7/chm/_chmlib.so -> /builddir/build/BUILDROOT/python-chm-0.8.4-26.fc29.riscv64/usr/lib64/python2.7/site-packages/chm copying build/lib.linux-riscv64-2.7/chm/chmlib.py -> /builddir/build/BUILDROOT/python-chm-0.8.4-26.fc29.riscv64/usr/lib64/python2.7/site-packages/chm copying build/lib.linux-riscv64-2.7/chm/chm.py -> /builddir/build/BUILDROOT/python-chm-0.8.4-26.fc29.riscv64/usr/lib64/python2.7/site-packages/chm copying build/lib.linux-riscv64-2.7/chm/__init__.py -> /builddir/build/BUILDROOT/python-chm-0.8.4-26.fc29.riscv64/usr/lib64/python2.7/site-packages/chm byte-compiling /builddir/build/BUILDROOT/python-chm-0.8.4-26.fc29.riscv64/usr/lib64/python2.7/site-packages/chm/chmlib.py to chmlib.pyc byte-compiling /builddir/build/BUILDROOT/python-chm-0.8.4-26.fc29.riscv64/usr/lib64/python2.7/site-packages/chm/chm.py to chm.pyc byte-compiling /builddir/build/BUILDROOT/python-chm-0.8.4-26.fc29.riscv64/usr/lib64/python2.7/site-packages/chm/__init__.py to __init__.pyc writing byte-compilation script '/tmp/tmpEASpdo.py' /usr/bin/python -O /tmp/tmpEASpdo.py 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 removing /tmp/tmpEASpdo.py running install_egg_info Writing /builddir/build/BUILDROOT/python-chm-0.8.4-26.fc29.riscv64/usr/lib64/python2.7/site-packages/pychm-0.8.4-py2.7.egg-info + /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 0.8.4-26.fc29 --unique-debug-suffix -0.8.4-26.fc29.riscv64 --unique-debug-src-base python-chm-0.8.4-26.fc29.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/pychm-0.8.4 extracting debug info from /builddir/build/BUILDROOT/python-chm-0.8.4-26.fc29.riscv64/usr/lib64/python2.7/site-packages/chm/extra.so extracting debug info from /builddir/build/BUILDROOT/python-chm-0.8.4-26.fc29.riscv64/usr/lib64/python2.7/site-packages/chm/_chmlib.so /usr/lib/rpm/sepdebugcrcfix: Updated 2 CRC32s, 0 CRC32s did match. BUILDSTDERR: 107 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-chm-0.8.4-26.fc29.riscv64/usr/lib/debug/usr/lib64/python2.7 using /usr/bin/python2.7 Bytecompiling .py files below /builddir/build/BUILDROOT/python-chm-0.8.4-26.fc29.riscv64/usr/lib64/python2.7 using /usr/bin/python2.7 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Processing files: python2-chm-0.8.4-26.fc29.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.5kYayE + umask 022 + cd /builddir/build/BUILD + cd pychm-0.8.4 + DOCDIR=/builddir/build/BUILDROOT/python-chm-0.8.4-26.fc29.riscv64/usr/share/doc/python2-chm + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/python-chm-0.8.4-26.fc29.riscv64/usr/share/doc/python2-chm + cp -pr COPYING /builddir/build/BUILDROOT/python-chm-0.8.4-26.fc29.riscv64/usr/share/doc/python2-chm + cp -pr NEWS /builddir/build/BUILDROOT/python-chm-0.8.4-26.fc29.riscv64/usr/share/doc/python2-chm + cp -pr README /builddir/build/BUILDROOT/python-chm-0.8.4-26.fc29.riscv64/usr/share/doc/python2-chm + exit 0 Provides: python-chm = 0.8.4-26.fc29 python-chm(riscv-64) = 0.8.4-26.fc29 python2-chm = 0.8.4-26.fc29 python2-chm(riscv-64) = 0.8.4-26.fc29 python2.7dist(pychm) = 0.8.4 python2dist(pychm) = 0.8.4 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) libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(64bit) libchm.so.0()(64bit) libpthread.so.0()(64bit) libpython2.7.so.1.0()(64bit) python(abi) = 2.7 rtld(GNU_HASH) Obsoletes: python-chm < 0.8.4-26.fc29 Processing files: python-chm-debugsource-0.8.4-26.fc29.riscv64 Provides: python-chm-debugsource = 0.8.4-26.fc29 python-chm-debugsource(riscv-64) = 0.8.4-26.fc29 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: python2-chm-debuginfo-0.8.4-26.fc29.riscv64 Provides: debuginfo(build-id) = 50a047d7e7ab0bd21b2dfa92cf0d6d4456cfb0ed debuginfo(build-id) = f27c81c2ffb0b7aaa891e2c2dbaa8d4064ca6f77 python2-chm-debuginfo = 0.8.4-26.fc29 python2-chm-debuginfo(riscv-64) = 0.8.4-26.fc29 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: python-chm-debugsource(riscv-64) = 0.8.4-26.fc29 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/python-chm-0.8.4-26.fc29.riscv64 Wrote: /builddir/build/RPMS/python2-chm-0.8.4-26.fc29.riscv64.rpm Wrote: /builddir/build/RPMS/python-chm-debugsource-0.8.4-26.fc29.riscv64.rpm Wrote: /builddir/build/RPMS/python2-chm-debuginfo-0.8.4-26.fc29.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.UVb82L + umask 022 + cd /builddir/build/BUILD + cd pychm-0.8.4 + /usr/bin/rm -rf /builddir/build/BUILDROOT/python-chm-0.8.4-26.fc29.riscv64 + exit 0 Child return code was: 0