/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/builddir/build/BUILD/remctl-3.14 -DHAVE_CONFIG_H -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 -Wno-strict-prototypes -Wno-write-strings -Wno-missing-prototypes -Wno-unused-parameter -Wno-sign-compare -Wno-redundant-decls -Wno-old-style-definition -Wno-float-equal -Wno-strict-overflow -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -L/builddir/build/BUILD/remctl-3.14/client/.libs -lremctl -o remctl.la -export-dynamic -avoid-version -prefer-pic -module -rpath /builddir/build/BUILD/remctl-3.14/php/modules php_remctl.lo ) libtool: relink: cc -shared -fPIC -DPIC .libs/php_remctl.o -L/builddir/build/BUILD/remctl-3.14/client/.libs -L/usr/lib64 -lremctl -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -O2 -g -fstack-protector-strong -grecord-gcc-switches -Wl,-z -Wl,relro -Wl,-z -Wl,now -Wl,-soname -Wl,remctl.so -o .libs/remctl.so libtool: install: cp ./.libs/remctl.soT /builddir/build/BUILD/remctl-3.14/php/modules/remctl.so libtool: install: cp ./.libs/remctl.lai /builddir/build/BUILD/remctl-3.14/php/modules/remctl.la libtool: finish: PATH="/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin:/sbin" ldconfig -n /builddir/build/BUILD/remctl-3.14/php/modules ---------------------------------------------------------------------- Libraries have been installed in: /builddir/build/BUILD/remctl-3.14/php/modules If you ever happen to want to link against installed libraries in a given directory, LIBDIR, you must either use libtool, and specify the full pathname of the library, or use the '-LLIBDIR' flag during linking and do at least one of the following: - add LIBDIR to the 'LD_LIBRARY_PATH' environment variable during execution - add LIBDIR to the 'LD_RUN_PATH' environment variable during linking - use the '-Wl,-rpath -Wl,LIBDIR' linker flag - have your system administrator add LIBDIR to '/etc/ld.so.conf' See any operating system documentation about shared libraries for more information, such as the ld(1) and ld.so(8) manual pages. ---------------------------------------------------------------------- Build complete. Don't forget to run 'make test'. make[2]: Leaving directory '/builddir/build/BUILD/remctl-3.14/php' set -e; if [ x"." != x"." ] ; then \ for f in python/MANIFEST.in python/README python/_remctlmodule.c ; do \ cp "./$f" "./$f" ; \ done \ fi set -e; for python in python ; do \ cd python \ && 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 " \ "$python" setup.py build && cd .. ; \ done BUILDSTDERR: /bin/sh: line 2: python: command not found BUILDSTDERR: make[1]: *** [Makefile:4177: stamp-python] Error 127 make[1]: Leaving directory '/builddir/build/BUILD/remctl-3.14' BUILDSTDERR: make: *** [Makefile:1662: all] Error 2 BUILDSTDERR: error: Bad exit status from /var/tmp/rpm-tmp.KAYTmi (%build) RPM build errors: BUILDSTDERR: Bad exit status from /var/tmp/rpm-tmp.KAYTmi (%build) Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.6/site-packages/mockbuild/trace_decorator.py", line 96, in trace result = func(*args, **kw) File "/usr/lib/python3.6/site-packages/mockbuild/util.py", line 626, in do raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode) mockbuild.exception.Error: Command failed: # bash --login -c /usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/remctl.spec