+ exec + rm -rf /rpmbuild + mkdir -p /rpmbuild + su -c 'rpmbuild -ba /builddir/build/SPECS/summain.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.rpCqug + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf summain-0.20 + /usr/bin/tar -xof - + /usr/bin/xz -dc /builddir/build/SOURCES/summain_0.20.orig.tar.xz + STATUS=0 + '[' 0 -ne 0 ']' + cd summain-0.20 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.rs4ne9 + umask 022 + cd /builddir/build/BUILD + cd summain-0.20 + 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 ' + /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.linux-riscv64-2.7 copying summainlib.py -> build/lib.linux-riscv64-2.7 running build_ext building '_summain' extension 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 -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 -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 -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 -fPIC -I/usr/include/python2.7 -c _summainmodule.c -o build/temp.linux-riscv64-2.7/_summainmodule.o gcc -pthread -shared -Wl,-z,relro -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 build/temp.linux-riscv64-2.7/_summainmodule.o -L/usr/lib64 -lpython2.7 -o build/lib.linux-riscv64-2.7/_summain.so running build_scripts creating build/scripts-2.7 copying and adjusting summain -> build/scripts-2.7 changing mode of build/scripts-2.7/summain from 644 to 755 + make summain.1 python setup.py build_ext -i 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_ext building '_summain' 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 -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 -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 -D_GNU_SOURCE -fPIC -fwrapv -fPIC -I/usr/include/python2.7 -c _summainmodule.c -o build/temp.linux-riscv64-2.7/_summainmodule.o gcc -pthread -shared -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld build/temp.linux-riscv64-2.7/_summainmodule.o -L/usr/lib64 -lpython2.7 -o /builddir/build/BUILD/summain-0.20/_summain.so python summain --generate-manpage=summain.1.in > summain.1 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 + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.WPrXaV + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/summain-0.20-6.fc28.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/summain-0.20-6.fc28.riscv64 ++ dirname /builddir/build/BUILDROOT/summain-0.20-6.fc28.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/summain-0.20-6.fc28.riscv64 + cd summain-0.20 + /usr/bin/python setup.py install -O1 --skip-build --root /builddir/build/BUILDROOT/summain-0.20-6.fc28.riscv64 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/summain-0.20-6.fc28.riscv64/usr creating /builddir/build/BUILDROOT/summain-0.20-6.fc28.riscv64/usr/lib64 creating /builddir/build/BUILDROOT/summain-0.20-6.fc28.riscv64/usr/lib64/python2.7 creating /builddir/build/BUILDROOT/summain-0.20-6.fc28.riscv64/usr/lib64/python2.7/site-packages copying build/lib.linux-riscv64-2.7/_summain.so -> /builddir/build/BUILDROOT/summain-0.20-6.fc28.riscv64/usr/lib64/python2.7/site-packages copying build/lib.linux-riscv64-2.7/summainlib.py -> /builddir/build/BUILDROOT/summain-0.20-6.fc28.riscv64/usr/lib64/python2.7/site-packages byte-compiling /builddir/build/BUILDROOT/summain-0.20-6.fc28.riscv64/usr/lib64/python2.7/site-packages/summainlib.py to summainlib.pyc writing byte-compilation script '/tmp/tmpGvXRwG.py' /usr/bin/python -O /tmp/tmpGvXRwG.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/tmpGvXRwG.py running install_scripts creating /builddir/build/BUILDROOT/summain-0.20-6.fc28.riscv64/usr/bin copying build/scripts-2.7/summain -> /builddir/build/BUILDROOT/summain-0.20-6.fc28.riscv64/usr/bin changing mode of /builddir/build/BUILDROOT/summain-0.20-6.fc28.riscv64/usr/bin/summain to 755 running install_data creating /builddir/build/BUILDROOT/summain-0.20-6.fc28.riscv64/usr/share creating /builddir/build/BUILDROOT/summain-0.20-6.fc28.riscv64/usr/share/man creating /builddir/build/BUILDROOT/summain-0.20-6.fc28.riscv64/usr/share/man/man1 copying summain.1 -> /builddir/build/BUILDROOT/summain-0.20-6.fc28.riscv64/usr/share/man/man1 running install_egg_info Writing /builddir/build/BUILDROOT/summain-0.20-6.fc28.riscv64/usr/lib64/python2.7/site-packages/summain-0.20-py2.7.egg-info + chmod 755 /builddir/build/BUILDROOT/summain-0.20-6.fc28.riscv64/usr/lib64/python2.7/site-packages/_summain.so + /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/summain-0.20-6.fc28.riscv64/usr/lib64/python2.7 using /usr/bin/python2.7 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs *** WARNING: mangling shebang in ./usr/bin/summain from #!/usr/bin/python to #!/usr/bin/python2. This will become an ERROR, fix it manually! Processing files: summain-0.20-6.fc28.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.nRsaWZ + umask 022 + cd /builddir/build/BUILD + cd summain-0.20 + DOCDIR=/builddir/build/BUILDROOT/summain-0.20-6.fc28.riscv64/usr/share/doc/summain + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/summain-0.20-6.fc28.riscv64/usr/share/doc/summain + cp -pr NEWS /builddir/build/BUILDROOT/summain-0.20-6.fc28.riscv64/usr/share/doc/summain + cp -pr README /builddir/build/BUILDROOT/summain-0.20-6.fc28.riscv64/usr/share/doc/summain + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.btOTlo + umask 022 + cd /builddir/build/BUILD + cd summain-0.20 + LICENSEDIR=/builddir/build/BUILDROOT/summain-0.20-6.fc28.riscv64/usr/share/licenses/summain + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/summain-0.20-6.fc28.riscv64/usr/share/licenses/summain + cp -pr COPYING /builddir/build/BUILDROOT/summain-0.20-6.fc28.riscv64/usr/share/licenses/summain + exit 0 warning: Deprecated external dependency generator is used! Finding Provides: /bin/sh -c " /usr/bin/grep -v '/usr/lib64/python2.7/site-packages/_summain.so' | while read FILE; do echo "${FILE}" | /usr/lib/rpm/rpmdeps -P; done | /bin/sort -u " Finding Requires(interp): Finding Requires(rpmlib): Finding Requires(verify): Finding Requires(pre): Finding Requires(post): Finding Requires(preun): Finding Requires(postun): Finding Requires(pretrans): Finding Requires(posttrans): Finding Requires: /bin/sh -c " while read FILE; do echo "${FILE}" | /usr/lib/rpm/rpmdeps -R; done | /bin/sort -u " Finding Conflicts: Finding Obsoletes: Finding Recommends: Finding Suggests: Finding Supplements: Finding Enhances: Provides: python2.7dist(summain) = 0.20 python2dist(summain) = 0.20 summain = 0.20-6.fc28 summain(riscv-64) = 0.20-6.fc28 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: /usr/bin/python2 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) libpthread.so.0(GLIBC_2.27)(64bit) libpython2.7.so.1.0()(64bit) python(abi) = 2.7 rtld(GNU_HASH) Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/summain-0.20-6.fc28.riscv64 Wrote: /builddir/build/SRPMS/summain-0.20-6.fc28.src.rpm Wrote: /builddir/build/RPMS/riscv64/summain-0.20-6.fc28.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.3A8BQR + umask 022 + cd /builddir/build/BUILD + cd summain-0.20 + /usr/bin/rm -rf /builddir/build/BUILDROOT/summain-0.20-6.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