RTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -std=gnu++98 -fpermissive -fno-exceptions -fno-check-new -fno-common -c -o param_cmds.lo param_cmds.cpp /bin/sh ../../../libtool --silent --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../.. -DDOCS_PATH=\"/usr/doc/xsldbg\" -I.. -I/usr/include/libxml2 -I/usr/include/kde -I/usr/lib64/qt-3.3/include -I. -DQT_THREAD_SUPPORT -D_REENTRANT -DKOMMANDER -DDESIGNER -DQT_NO_SQL -DHAVE_KDE -DNDEBUG -DNO_DEBUG -O2 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -std=gnu++98 -fpermissive -fno-exceptions -fno-check-new -fno-common -c -o os_cmds.lo os_cmds.cpp /bin/sh ../../../libtool --silent --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../.. -DDOCS_PATH=\"/usr/doc/xsldbg\" -I.. -I/usr/include/libxml2 -I/usr/include/kde -I/usr/lib64/qt-3.3/include -I. -DQT_THREAD_SUPPORT -D_REENTRANT -DKOMMANDER -DDESIGNER -DQT_NO_SQL -DHAVE_KDE -DNDEBUG -DNO_DEBUG -O2 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fno-omit-frame-pointer -std=gnu++98 -fpermissive -fno-exceptions -fno-check-new -fno-common -c -o options_unix.lo options_unix.cpp os_cmds.cpp: In function 'int xslDbgShellExecute(xmlChar*, int)': os_cmds.cpp:71:9: error: 'system' was not declared in this scope 71 | if (system(NULL) == 0) { | ^~~~~~ make[4]: *** [Makefile:630: os_cmds.lo] Error 1 make[4]: *** Waiting for unfinished jobs.... options_unix.cpp: In function 'int optionsLoad()': options_unix.cpp:95:9: warning: variable 'result' set but not used [-Wunused-but-set-variable] 95 | int result = 0; | ^~~~~~ make[4]: Leaving directory '/builddir/build/BUILD/kdewebdev-3.5.10/kxsldbg/kxsldbgpart/libxsldbg' make[3]: *** [Makefile:856: all-recursive] Error 1 make[3]: Leaving directory '/builddir/build/BUILD/kdewebdev-3.5.10/kxsldbg/kxsldbgpart' make[2]: *** [Makefile:829: all-recursive] Error 1 make[2]: Leaving directory '/builddir/build/BUILD/kdewebdev-3.5.10/kxsldbg' make[1]: *** [Makefile:593: all-recursive] Error 1 make[1]: Leaving directory '/builddir/build/BUILD/kdewebdev-3.5.10' make: *** [Makefile:510: all] Error 2 error: Bad exit status from /var/tmp/rpm-tmp.RO1hEA (%build) RPM build warnings: RPM build errors: Macro expanded in comment on line 67: %{kommander_ver}-%{release} Macro expanded in comment on line 92: %{name} < %{?epoch:%{epoch}:}%{version}-%{release} Macro expanded in comment on line 93: %{name} = %{?epoch:%{epoch}:}%{version}-%{release} %patchN is deprecated (13 usages found), use %patch N (or %patch -P N) Bad exit status from /var/tmp/rpm-tmp.RO1hEA (%build) Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.9/site-packages/mockbuild/util.py", line 600, in do_with_status 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/kdewebdev.spec