+ exec + rm -rf /rpmbuild + mkdir -p /rpmbuild + su -c 'rpmbuild -ba /builddir/build/SPECS/python-pymtp.spec --define "debug_package %{nil}" --undefine _annotated_build --define "_missing_doc_files_terminate_build %{nil}" --define "_emacs_sitestartdir /usr/share/emacs/site-lisp/site-start.d" --define "_emacs_sitelispdir /usr/share/emacs/site-lisp" --nocheck ' mockbuild Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.I05HmM + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf PyMTP-0.0.6 + /usr/bin/gzip -dc /builddir/build/SOURCES/PyMTP-0.0.6.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd PyMTP-0.0.6 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + chmod -x examples/deleteobject.py examples/detectdevices.py examples/deviceinfo.py examples/mtpshell.py examples/newfolder.py examples/newplaylist.py examples/sendfile.py examples/sendtrack.py + sed -i 1d pymtp.py + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.Fl8kFw + umask 022 + cd /builddir/build/BUILD + cd PyMTP-0.0.6 + /usr/bin/python setup.py build DEPRECATION WARNING: python2 invoked with /usr/bin/python. Use /usr/bin/python3 or /usr/bin/python2 /usr/bin/python will be removed or switched to Python 3 in the future. 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 copying pymtp.py -> build/lib + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.ASbZr7 + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/python-pymtp-0.0.6-7.fc28.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/python-pymtp-0.0.6-7.fc28.riscv64 ++ dirname /builddir/build/BUILDROOT/python-pymtp-0.0.6-7.fc28.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/python-pymtp-0.0.6-7.fc28.riscv64 + cd PyMTP-0.0.6 + rm -rf /builddir/build/BUILDROOT/python-pymtp-0.0.6-7.fc28.riscv64 + /usr/bin/python setup.py install -O1 --skip-build --install-purelib /builddir/build/BUILDROOT/python-pymtp-0.0.6-7.fc28.riscv64/usr/lib64/python2.7/site-packages DEPRECATION WARNING: python2 invoked with /usr/bin/python. Use /usr/bin/python3 or /usr/bin/python2 /usr/bin/python will be removed or switched to Python 3 in the future. 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-pymtp-0.0.6-7.fc28.riscv64 creating /builddir/build/BUILDROOT/python-pymtp-0.0.6-7.fc28.riscv64/usr creating /builddir/build/BUILDROOT/python-pymtp-0.0.6-7.fc28.riscv64/usr/lib64 creating /builddir/build/BUILDROOT/python-pymtp-0.0.6-7.fc28.riscv64/usr/lib64/python2.7 creating /builddir/build/BUILDROOT/python-pymtp-0.0.6-7.fc28.riscv64/usr/lib64/python2.7/site-packages copying build/lib/pymtp.py -> /builddir/build/BUILDROOT/python-pymtp-0.0.6-7.fc28.riscv64/usr/lib64/python2.7/site-packages byte-compiling /builddir/build/BUILDROOT/python-pymtp-0.0.6-7.fc28.riscv64/usr/lib64/python2.7/site-packages/pymtp.py to pymtp.pyc writing byte-compilation script '/tmp/tmp4SToIj.py' /usr/bin/python -O /tmp/tmp4SToIj.py DEPRECATION WARNING: python2 invoked with /usr/bin/python. Use /usr/bin/python3 or /usr/bin/python2 /usr/bin/python will be removed or switched to Python 3 in the future. 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/tmp4SToIj.py running install_egg_info Writing /builddir/build/BUILDROOT/python-pymtp-0.0.6-7.fc28.riscv64/usr/lib64/python2.7/site-packages/PyMTP-0.0.6-py2.7.egg-info + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig /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-pymtp-0.0.6-7.fc28.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: python-pymtp-0.0.6-7.fc28.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.GvkK5N + umask 022 + cd /builddir/build/BUILD + cd PyMTP-0.0.6 + DOCDIR=/builddir/build/BUILDROOT/python-pymtp-0.0.6-7.fc28.riscv64/usr/share/doc/python-pymtp + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/python-pymtp-0.0.6-7.fc28.riscv64/usr/share/doc/python-pymtp + cp -pr README /builddir/build/BUILDROOT/python-pymtp-0.0.6-7.fc28.riscv64/usr/share/doc/python-pymtp + cp -pr COPYING /builddir/build/BUILDROOT/python-pymtp-0.0.6-7.fc28.riscv64/usr/share/doc/python-pymtp + cp -pr examples /builddir/build/BUILDROOT/python-pymtp-0.0.6-7.fc28.riscv64/usr/share/doc/python-pymtp + exit 0 Provides: python-pymtp = 0.0.6-7.fc28 python-pymtp(riscv-64) = 0.0.6-7.fc28 python2.7dist(pymtp) = 0.0.6 python2dist(pymtp) = 0.0.6 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: python(abi) = 2.7 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/python-pymtp-0.0.6-7.fc28.riscv64 Wrote: /builddir/build/SRPMS/python-pymtp-0.0.6-7.fc28.src.rpm Wrote: /builddir/build/RPMS/riscv64/python-pymtp-0.0.6-7.fc28.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.eYjS3Y + umask 022 + cd /builddir/build/BUILD + cd PyMTP-0.0.6 + rm -rf /builddir/build/BUILDROOT/python-pymtp-0.0.6-7.fc28.riscv64 + exit 0 + touch /buildok + cleanup + set +e + sync + sleep 5 + sync + poweroff Terminated ++ cleanup ++ set +e ++ sync Terminated +++ cleanup +++ set +e +++ sync +++ sleep 5 +++ sync +++ poweroff