+ exec + rm -rf /rpmbuild + mkdir -p /rpmbuild + su -c 'rpmbuild -ba /builddir/build/SPECS/python-admesh.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.upIKTe + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf admesh-0.98.5 + /usr/bin/gzip -dc /builddir/build/SOURCES/admesh-0.98.5.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd admesh-0.98.5 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + rm -rf admesh.egg-info + rm -rf /builddir/build/BUILD/python3-python-admesh-0.98.5-3.fc28 + cp -a . /builddir/build/BUILD/python3-python-admesh-0.98.5-3.fc28 + find /builddir/build/BUILD/python3-python-admesh-0.98.5-3.fc28 -name '*.py' + xargs sed -i '1s|^#!python|#!/usr/bin/python3|' + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.1n4EJL + umask 022 + cd /builddir/build/BUILD + cd admesh-0.98.5 + /usr/bin/python2 setup.py build running build running build_ext generating cadmesh.pxd and admesh.pyx found /usr/include/admesh/stl.h cythoning admesh.pyx to admesh.c Error compiling Cython file: ------------------------------------------------------------ ... def write_edge(self, edge, label='admesh'): """stl_write_edge""" if not self._opened: raise AdmeshError('STL not opened') by_label = label.encode('UTF-8') stl_write_edge(&self._c_stl_file, by_label, edge) ^ ------------------------------------------------------------ admesh.pyx:169:52: Cannot convert Python object to 'stl_hash_edge' building 'admesh' extension 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 -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 admesh.c -o build/temp.linux-riscv64-2.7/admesh.o admesh.c:1:2: error: #error Do not use this file, it is the result of a failed Cython compilation. #error Do not use this file, it is the result of a failed Cython compilation. ^~~~~ error: command 'gcc' failed with exit status 1 error: Bad exit status from /var/tmp/rpm-tmp.1n4EJL (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.1n4EJL (%build) ++ cleanup ++ set +e ++ sync ++ sleep 5 ++ sync ++ poweroff Terminated +++ cleanup +++ set +e +++ sync +++ sleep 5 Terminated ++++ cleanup ++++ set +e ++++ sync ++++ sleep 5 ++++ sync ++++ poweroff