I/usr/include/QtDesigner -I/usr/include/QtDeclarative -I/usr/include/QtDBus -I/usr/include/Qt3Support -I/usr/include/QtGui -I/usr/include/QtCore -I/usr/include/Qt -I/usr/lib64/qt4/mkspecs/default -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -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 -fstack-clash-protection -Wno-long-long -std=iso9899:1990 -Wundef -Wcast-align -Werror-implicit-function-declaration -Wchar-subscripts -Wall -W -Wpointer-arith -Wwrite-strings -Wformat-security -Wmissing-format-attribute -fno-common -O2 -DNDEBUG -DQT_NO_DEBUG -fPIC -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -o CMakeFiles/kdefakes.dir/fakes.c.o -c /builddir/build/BUILD/kdelibs-4.14.38/kdecore/fakes.c /builddir/build/BUILD/kdelibs-4.14.38/kdecore/auth/backends/polkit-1/Polkit1Backend.h:41: Error: Undefined interface automoc4: process for /builddir/build/BUILD/kdelibs-4.14.38/riscv64-redhat-linux-gnu/kdecore/moc_Polkit1Backend.cpp failed: Unknown error pid to wait for: 0 returning failed.. make[2]: *** [kdecore/CMakeFiles/kauth_backend_plugin_automoc.dir/build.make:80: kdecore/CMakeFiles/kauth_backend_plugin_automoc] Error 1 make[2]: Leaving directory '/builddir/build/BUILD/kdelibs-4.14.38/riscv64-redhat-linux-gnu' make[1]: *** [CMakeFiles/Makefile2:5108: kdecore/CMakeFiles/kauth_backend_plugin_automoc.dir/all] Error 2 make[1]: *** Waiting for unfinished jobs.... [ 0%] Built target kdecore_automoc [ 0%] Built target kauth-policy-gen_automoc [ 0%] Linking C shared library ../lib/libkdefakes.so cd /builddir/build/BUILD/kdelibs-4.14.38/riscv64-redhat-linux-gnu/kdecore && /usr/bin/cmake -E cmake_link_script CMakeFiles/kdefakes.dir/link.txt --verbose=1 /usr/bin/cc -fPIC -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -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 -fstack-clash-protection -Wno-long-long -std=iso9899:1990 -Wundef -Wcast-align -Werror-implicit-function-declaration -Wchar-subscripts -Wall -W -Wpointer-arith -Wwrite-strings -Wformat-security -Wmissing-format-attribute -fno-common -O2 -DNDEBUG -DQT_NO_DEBUG -Wl,--enable-new-dtags -Wl,--fatal-warnings -Wl,--no-undefined -lc -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -shared -Wl,-soname,libkdefakes.so.5 -o ../lib/libkdefakes.so.5.14.38 CMakeFiles/kdefakes.dir/fakes.c.o cd /builddir/build/BUILD/kdelibs-4.14.38/riscv64-redhat-linux-gnu/kdecore && /usr/bin/cmake -E cmake_symlink_library ../lib/libkdefakes.so.5.14.38 ../lib/libkdefakes.so.5 ../lib/libkdefakes.so make[2]: Leaving directory '/builddir/build/BUILD/kdelibs-4.14.38/riscv64-redhat-linux-gnu' [ 0%] Built target kdefakes make[1]: Leaving directory '/builddir/build/BUILD/kdelibs-4.14.38/riscv64-redhat-linux-gnu' make: *** [Makefile:186: all] Error 2 make: Leaving directory '/builddir/build/BUILD/kdelibs-4.14.38/riscv64-redhat-linux-gnu' error: Bad exit status from /var/tmp/rpm-tmp.opVt8f (%build) RPM build errors: Macro expanded in comment on line 106: %{?_isa} if plasma-workspace) Macro expanded in comment on line 107: %{?_isa} if plasma-desktop) Bad exit status from /var/tmp/rpm-tmp.opVt8f (%build) Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.8/site-packages/mockbuild/trace_decorator.py", line 95, in trace result = func(*args, **kw) File "/usr/lib/python3.8/site-packages/mockbuild/util.py", line 746, 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/kdelibs.spec