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-openhpi.spec'], chrootPath='/var/lib/mock/f29-build-10023-4518/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-openhpi.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 BUILDSTDERR: warning: Macro expanded in comment on line 15: %{srcname}-%{version}.tar.gz BUILDSTDERR: warning: Macro expanded in comment on line 16: %{name} https://openhpi.svn.sourceforge.net/svnroot/openhpi/python/trunk %{svnrev} 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-openhpi-1.2-0.20.20120322svn7120.fc29.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/python-openhpi.spec'], chrootPath='/var/lib/mock/f29-build-10023-4518/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-openhpi.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 BUILDSTDERR: warning: Macro expanded in comment on line 15: %{srcname}-%{version}.tar.gz BUILDSTDERR: warning: Macro expanded in comment on line 16: %{name} https://openhpi.svn.sourceforge.net/svnroot/openhpi/python/trunk %{svnrev} Building target platforms: riscv64 Building for target riscv64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.62idRI + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf python-openhpi + /usr/bin/tar -xof - + /usr/bin/bzip2 -dc /builddir/build/SOURCES/python-openhpi-svn7120.tar.bz2 + STATUS=0 + '[' 0 -ne 0 ']' + cd python-openhpi + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . Patch #0 (python-openhpi-totaltests.patch): + echo 'Patch #0 (python-openhpi-totaltests.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .totaltests --fuzz=0 patching file openhpi.i Patch #1 (python-openhpi-fumirollback.patch): + echo 'Patch #1 (python-openhpi-fumirollback.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .fumirollback --fuzz=0 patching file sahpi.i Hunk #1 succeeded at 8598 (offset -2 lines). Patch #2 (python-openhpi-30fix.patch): + echo 'Patch #2 (python-openhpi-30fix.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .fix --fuzz=0 patching file ohpi.i + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.27Dppr + umask 022 + cd /builddir/build/BUILD + cd python-openhpi + 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 BUILDSTDERR: file openhpi.py (for module openhpi) not found BUILDSTDERR: file openhpi.py (for module openhpi) not found running build_ext building '_openhpi' extension swigging openhpi.i to openhpi_wrap.c swig -python -keyword -o openhpi_wrap.c openhpi.i BUILDSTDERR: sahpi_struct_utils.i:29: Warning 314: 'from' is a python keyword, renaming to '_from' BUILDSTDERR: sahpi_struct_utils.i:29: Warning 314: 'from' is a python keyword, renaming to '_from' BUILDSTDERR: sahpi_struct_utils.i:29: Warning 314: 'from' is a python keyword, renaming to '_from' BUILDSTDERR: sahpi_struct_utils.i:30: Warning 314: 'from' is a python keyword, renaming to '_from' BUILDSTDERR: sahpi_struct_utils.i:30: Warning 314: 'from' is a python keyword, renaming to '_from' BUILDSTDERR: sahpi_struct_utils.i:30: Warning 314: 'from' is a python keyword, renaming to '_from' BUILDSTDERR: sahpi_struct_utils.i:45: Warning 314: 'from' is a python keyword, renaming to '_from' BUILDSTDERR: sahpi_struct_utils.i:45: Warning 314: 'from' is a python keyword, renaming to '_from' BUILDSTDERR: sahpi_struct_utils.i:45: Warning 314: 'from' is a python keyword, renaming to '_from' BUILDSTDERR: sahpi_struct_utils.i:46: Warning 314: 'from' is a python keyword, renaming to '_from' BUILDSTDERR: sahpi_struct_utils.i:46: Warning 314: 'from' is a python keyword, renaming to '_from' BUILDSTDERR: sahpi_struct_utils.i:46: Warning 314: 'from' is a python keyword, renaming to '_from' 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 -I/usr/include/openhpi -I/usr/local/include/openhpi -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/python2.7 -c openhpi_wrap.c -o build/temp.linux-riscv64-2.7/openhpi_wrap.o BUILDSTDERR: openhpi_wrap.c: In function '_wrap_oHpiHandlerCreate': BUILDSTDERR: openhpi_wrap.c:39553:30: warning: passing argument 2 of 'PyDict_Next' from incompatible pointer type [-Wincompatible-pointer-types] BUILDSTDERR: while (PyDict_Next(obj1, &pos, &key, &value)) { BUILDSTDERR: ^~~~ BUILDSTDERR: In file included from /usr/include/python2.7/Python.h:104, BUILDSTDERR: from openhpi_wrap.c:149: BUILDSTDERR: /usr/include/python2.7/dictobject.h:119:31: note: expected 'Py_ssize_t *' {aka 'long int *'} but argument is of type 'int *' BUILDSTDERR: PyObject *mp, Py_ssize_t *pos, PyObject **key, PyObject **value); BUILDSTDERR: ~~~~~~~~~~~~^~~ 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/openhpi_wrap.o -L/usr/lib64 -lopenhpi -lpython2.7 -o build/lib.linux-riscv64-2.7/_openhpi.so -rdynamic + 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 copying openhpi.py -> build/lib.linux-riscv64-2.7 running build_ext + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.g2AAMB + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/python-openhpi-1.2-0.20.20120322svn7120.fc29.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/python-openhpi-1.2-0.20.20120322svn7120.fc29.riscv64 BUILDSTDERR: ++ dirname /builddir/build/BUILDROOT/python-openhpi-1.2-0.20.20120322svn7120.fc29.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/python-openhpi-1.2-0.20.20120322svn7120.fc29.riscv64 + cd python-openhpi + rm -rf /builddir/build/BUILDROOT/python-openhpi-1.2-0.20.20120322svn7120.fc29.riscv64 + /usr/bin/python setup.py install -O1 --skip-build --root /builddir/build/BUILDROOT/python-openhpi-1.2-0.20.20120322svn7120.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-openhpi-1.2-0.20.20120322svn7120.fc29.riscv64 creating /builddir/build/BUILDROOT/python-openhpi-1.2-0.20.20120322svn7120.fc29.riscv64/usr creating /builddir/build/BUILDROOT/python-openhpi-1.2-0.20.20120322svn7120.fc29.riscv64/usr/lib64 creating /builddir/build/BUILDROOT/python-openhpi-1.2-0.20.20120322svn7120.fc29.riscv64/usr/lib64/python2.7 creating /builddir/build/BUILDROOT/python-openhpi-1.2-0.20.20120322svn7120.fc29.riscv64/usr/lib64/python2.7/site-packages copying build/lib.linux-riscv64-2.7/_openhpi.so -> /builddir/build/BUILDROOT/python-openhpi-1.2-0.20.20120322svn7120.fc29.riscv64/usr/lib64/python2.7/site-packages copying build/lib.linux-riscv64-2.7/openhpi.py -> /builddir/build/BUILDROOT/python-openhpi-1.2-0.20.20120322svn7120.fc29.riscv64/usr/lib64/python2.7/site-packages byte-compiling /builddir/build/BUILDROOT/python-openhpi-1.2-0.20.20120322svn7120.fc29.riscv64/usr/lib64/python2.7/site-packages/openhpi.py to openhpi.pyc writing byte-compilation script '/tmp/tmpxFvy4Z.py' /usr/bin/python -O /tmp/tmpxFvy4Z.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/tmpxFvy4Z.py running install_egg_info Writing /builddir/build/BUILDROOT/python-openhpi-1.2-0.20.20120322svn7120.fc29.riscv64/usr/lib64/python2.7/site-packages/py_openhpi-1.2-py2.7.egg-info + chmod 0755 /builddir/build/BUILDROOT/python-openhpi-1.2-0.20.20120322svn7120.fc29.riscv64/usr/lib64/python2.7/site-packages/_openhpi.so + /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 1.2-0.20.20120322svn7120.fc29 --unique-debug-suffix -1.2-0.20.20120322svn7120.fc29.riscv64 --unique-debug-src-base python-openhpi-1.2-0.20.20120322svn7120.fc29.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/python-openhpi extracting debug info from /builddir/build/BUILDROOT/python-openhpi-1.2-0.20.20120322svn7120.fc29.riscv64/usr/lib64/python2.7/site-packages/_openhpi.so /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. BUILDSTDERR: 4125 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-openhpi-1.2-0.20.20120322svn7120.fc29.riscv64/usr/lib/debug/usr/lib64/python2.7 using /usr/bin/python2.7 Bytecompiling .py files below /builddir/build/BUILDROOT/python-openhpi-1.2-0.20.20120322svn7120.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-openhpi-1.2-0.20.20120322svn7120.fc29.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.mQmZZ1 + umask 022 + cd /builddir/build/BUILD + cd python-openhpi + DOCDIR=/builddir/build/BUILDROOT/python-openhpi-1.2-0.20.20120322svn7120.fc29.riscv64/usr/share/doc/python2-openhpi + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/python-openhpi-1.2-0.20.20120322svn7120.fc29.riscv64/usr/share/doc/python2-openhpi + cp -pr COPYING /builddir/build/BUILDROOT/python-openhpi-1.2-0.20.20120322svn7120.fc29.riscv64/usr/share/doc/python2-openhpi + cp -pr README /builddir/build/BUILDROOT/python-openhpi-1.2-0.20.20120322svn7120.fc29.riscv64/usr/share/doc/python2-openhpi + exit 0 Provides: python-openhpi = 1.2-0.20.20120322svn7120.fc29 python-openhpi(riscv-64) = 1.2-0.20.20120322svn7120.fc29 python2-openhpi = 1.2-0.20.20120322svn7120.fc29 python2-openhpi(riscv-64) = 1.2-0.20.20120322svn7120.fc29 python2.7dist(py-openhpi) = 1.2 python2dist(py-openhpi) = 1.2 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) libopenhpi.so.3()(64bit) libpthread.so.0()(64bit) libpython2.7.so.1.0()(64bit) python(abi) = 2.7 rtld(GNU_HASH) Obsoletes: python-openhpi < 1.2-0.20.20120322svn7120.fc29 Processing files: python-openhpi-debugsource-1.2-0.20.20120322svn7120.fc29.riscv64 Provides: python-openhpi-debugsource = 1.2-0.20.20120322svn7120.fc29 python-openhpi-debugsource(riscv-64) = 1.2-0.20.20120322svn7120.fc29 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: python2-openhpi-debuginfo-1.2-0.20.20120322svn7120.fc29.riscv64 Provides: debuginfo(build-id) = a23b6323301545dbdf9ffa66e9feee0d16bd0a44 python2-openhpi-debuginfo = 1.2-0.20.20120322svn7120.fc29 python2-openhpi-debuginfo(riscv-64) = 1.2-0.20.20120322svn7120.fc29 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: python-openhpi-debugsource(riscv-64) = 1.2-0.20.20120322svn7120.fc29 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/python-openhpi-1.2-0.20.20120322svn7120.fc29.riscv64 Wrote: /builddir/build/RPMS/python2-openhpi-1.2-0.20.20120322svn7120.fc29.riscv64.rpm Wrote: /builddir/build/RPMS/python-openhpi-debugsource-1.2-0.20.20120322svn7120.fc29.riscv64.rpm Wrote: /builddir/build/RPMS/python2-openhpi-debuginfo-1.2-0.20.20120322svn7120.fc29.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.BWtu3z + umask 022 + cd /builddir/build/BUILD + cd python-openhpi + rm -rf /builddir/build/BUILDROOT/python-openhpi-1.2-0.20.20120322svn7120.fc29.riscv64 + exit 0 Child return code was: 0