+ exec + rm -rf /rpmbuild + mkdir -p /rpmbuild + su -c 'rpmbuild -ba /builddir/build/SPECS/python-greenlet.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.OpUFCI + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf greenlet-0.4.11 + /usr/bin/tar -xof - + /usr/bin/gzip -dc /builddir/build/SOURCES/0.4.11.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd greenlet-0.4.11 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + chmod 644 benchmarks/chain.py + rm -rf /builddir/build/BUILD/python3-python-greenlet-0.4.11-2.fc28 + cp -a . /builddir/build/BUILD/python3-python-greenlet-0.4.11-2.fc28 + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.oe09Kl + umask 022 + cd /builddir/build/BUILD + cd greenlet-0.4.11 + 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/python2 setup.py build '--executable=/usr/bin/python2 -s' running build running build_ext building 'greenlet' 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 -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 greenlet.c -o build/temp.linux-riscv64-2.7/greenlet.o greenlet.c:332:2: error: #error "greenlet needs to be ported to this platform, or teached how to detect your compiler properly." #error "greenlet needs to be ported to this platform, or teached how to detect your compiler properly." ^~~~~ greenlet.c:292:30: warning: 'slp_switch' used but never defined static int GREENLET_NOINLINE(slp_switch)(void); ^ greenlet.c:281:59: note: in definition of macro 'GREENLET_NOINLINE' #define GREENLET_NOINLINE(name) __attribute__((noinline)) name ^~~~ greenlet.c:410:30: warning: 'slp_save_state' defined but not used [-Wunused-function] static int GREENLET_NOINLINE(slp_save_state)(char* stackref) ^ greenlet.c:281:59: note: in definition of macro 'GREENLET_NOINLINE' #define GREENLET_NOINLINE(name) __attribute__((noinline)) name ^~~~ greenlet.c:387:31: warning: 'slp_restore_state' defined but not used [-Wunused-function] static void GREENLET_NOINLINE(slp_restore_state)(void) ^ greenlet.c:281:59: note: in definition of macro 'GREENLET_NOINLINE' #define GREENLET_NOINLINE(name) __attribute__((noinline)) name ^~~~ error: command 'gcc' failed with exit status 1 error: Bad exit status from /var/tmp/rpm-tmp.oe09Kl (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.oe09Kl (%build) ++ cleanup ++ set +e ++ sync ++ sleep 5 ++ sync ++ poweroff Terminated +++ cleanup +++ set +e +++ sync ++++ cleanup ++++ set +e ++++ sync ++++ sleep 5 ++++ sync ++++ poweroff