2: error: conflicting declaration of C function 'bool operator!=(const QStringRef&, const char*)' BUILDSTDERR: inline QT_ASCII_CAST_WARN bool operator!=(const QStringRef &s1, const char *s2) BUILDSTDERR: ^~~~~~~~ BUILDSTDERR: In file included from /usr/include/QtCore/qstring.h:46, BUILDSTDERR: from /usr/include/QtCore/QString:1, BUILDSTDERR: from /builddir/build/BUILD/ufw-kde-0.5.0/kcm/strings.h:27, BUILDSTDERR: from /usr/include/string.h:431, BUILDSTDERR: from /usr/include/QtCore/qlist.h:60, BUILDSTDERR: from /usr/include/QtCore/QList:1, BUILDSTDERR: from /builddir/build/BUILD/ufw-kde-0.5.0/kcm/appprofiles.h:27, BUILDSTDERR: from /builddir/build/BUILD/ufw-kde-0.5.0/kcm/appprofiles.cpp:24: BUILDSTDERR: /usr/include/QtCore/qbytearray.h:533:13: note: previous declaration 'bool operator!=(const QByteArray&, const QByteArray&)' BUILDSTDERR: inline bool operator!=(const QByteArray &a1, const QByteArray &a2) BUILDSTDERR: ^~~~~~~~ BUILDSTDERR: In file included from /usr/include/QtCore/QString:1, BUILDSTDERR: from /builddir/build/BUILD/ufw-kde-0.5.0/kcm/strings.h:27, BUILDSTDERR: from /usr/include/string.h:431, BUILDSTDERR: from /usr/include/QtCore/qlist.h:60, BUILDSTDERR: from /usr/include/QtCore/QList:1, BUILDSTDERR: from /builddir/build/BUILD/ufw-kde-0.5.0/kcm/appprofiles.h:27, BUILDSTDERR: from /builddir/build/BUILD/ufw-kde-0.5.0/kcm/appprofiles.cpp:24: BUILDSTDERR: /usr/include/QtCore/qstring.h:1242:32: error: conflicting declaration of C function 'bool operator!=(const QStringRef&, const char*)' BUILDSTDERR: inline QT_ASCII_CAST_WARN bool operator!=(const QStringRef &s1, const char *s2) BUILDSTDERR: ^~~~~~~~ BUILDSTDERR: In file included from /usr/include/QtCore/qstring.h:45, BUILDSTDERR: from /usr/include/QtCore/QString:1, BUILDSTDERR: from /builddir/build/BUILD/ufw-kde-0.5.0/kcm/strings.h:27, BUILDSTDERR: from /usr/include/string.h:431, BUILDSTDERR: from /usr/include/QtCore/qlist.h:60, BUILDSTDERR: from /usr/include/QtCore/QList:1, BUILDSTDERR: from /builddir/build/BUILD/ufw-kde-0.5.0/kcm/appprofiles.h:27, BUILDSTDERR: from /builddir/build/BUILD/ufw-kde-0.5.0/kcm/appprofiles.cpp:24: BUILDSTDERR: /usr/include/QtCore/qchar.h:393:13: note: previous declaration 'bool operator!=(QChar, QChar)' BUILDSTDERR: inline bool operator!=(QChar c1, QChar c2) { return c1.unicode() != c2.unicode(); } BUILDSTDERR: ^~~~~~~~ make[2]: Leaving directory '/builddir/build/BUILD/ufw-kde-0.5.0/riscv64-redhat-linux-gnu' BUILDSTDERR: make[2]: *** [kcm/CMakeFiles/kcm_ufw.dir/build.make:178: kcm/CMakeFiles/kcm_ufw.dir/appprofiles.cpp.o] Error 1 BUILDSTDERR: make[1]: *** [CMakeFiles/Makefile2:249: kcm/CMakeFiles/kcm_ufw.dir/all] Error 2 BUILDSTDERR: make: *** [Makefile:133: all] Error 2 make[1]: Leaving directory '/builddir/build/BUILD/ufw-kde-0.5.0/riscv64-redhat-linux-gnu' make: Leaving directory '/builddir/build/BUILD/ufw-kde-0.5.0/riscv64-redhat-linux-gnu' RPM build errors: BUILDSTDERR: error: Bad exit status from /var/tmp/rpm-tmp.7ZH6Ut (%build) BUILDSTDERR: Bad exit status from /var/tmp/rpm-tmp.7ZH6Ut (%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/ufw-kde.spec