ibTransceiver.hpp:8, from /builddir/build/BUILD/js8call-2.2.0/HamlibTransceiver.cpp:1: /usr/include/hamlib/rig.h:146:20: note: previous declaration as 'typedef struct rig RIG' 146 | typedef struct rig RIG; | ^~~ In file included from /builddir/build/BUILD/js8call-2.2.0/HamlibTransceiver.cpp:1: /builddir/build/BUILD/js8call-2.2.0/HamlibTransceiver.hpp:24:24: error: conflicting declaration 'typedef unsigned int vfo_t' 24 | typedef unsigned int vfo_t; | ^~~~~ In file included from /builddir/build/BUILD/js8call-2.2.0/HamlibTransceiver.hpp:8, from /builddir/build/BUILD/js8call-2.2.0/HamlibTransceiver.cpp:1: /usr/include/hamlib/rig.h:350:13: note: previous declaration as 'typedef int vfo_t' 350 | typedef int vfo_t; | ^~~~~ /builddir/build/BUILD/js8call-2.2.0/HamlibTransceiver.cpp: In function 'int {anonymous}::debug_callback(rig_debug_level_e, void*, const char*, va_list)': /builddir/build/BUILD/js8call-2.2.0/HamlibTransceiver.cpp:38:43: warning: 'QString& QString::vsprintf(const char*, va_list)' is deprecated: Use vasprintf(), arg() or QTextStream instead [-Wdeprecated-declarations] 38 | message = message.vsprintf (format, ap).trimmed (); | ^ In file included from /usr/include/qt5/QtCore/QString:1, from /builddir/build/BUILD/js8call-2.2.0/HamlibTransceiver.hpp:6, from /builddir/build/BUILD/js8call-2.2.0/HamlibTransceiver.cpp:1: /usr/include/qt5/QtCore/qstring.h:380:14: note: declared here 380 | QString &vsprintf(const char *format, va_list ap) Q_ATTRIBUTE_FORMAT_PRINTF(2, 0); | ^~~~~~~~ /builddir/build/BUILD/js8call-2.2.0/HRDTransceiver.cpp: In static member function 'static void* HRDMessage::operator new(size_t, const QString&)': /builddir/build/BUILD/js8call-2.2.0/HRDTransceiver.cpp:37:59: warning: 'OutputIterator qCopy(InputIterator, InputIterator, OutputIterator) [with InputIterator = const short unsigned int*; OutputIterator = QChar*]' is deprecated: Use std::copy [-Wdeprecated-declarations] 37 | qCopy (pl, pl + payload.size () + 1, storage->payload_); // copy terminator too | ^ In file included from /usr/include/qt5/QtCore/qlist.h:43, from /usr/include/qt5/QtCore/qstringlist.h:41, from /usr/include/qt5/QtCore/QStringList:1, from /builddir/build/BUILD/js8call-2.2.0/HRDTransceiver.hpp:10, from /builddir/build/BUILD/js8call-2.2.0/HRDTransceiver.cpp:1: /usr/include/qt5/QtCore/qalgorithms.h:82:56: note: declared here 82 | QT_DEPRECATED_X("Use std::copy") inline OutputIterator qCopy(InputIterator begin, InputIterator end, OutputIterator dest) | ^~~~~ gmake[2]: *** [CMakeFiles/wsjt_qt.dir/build.make:453: CMakeFiles/wsjt_qt.dir/HamlibTransceiver.cpp.o] Error 1 gmake[2]: Leaving directory '/builddir/build/BUILD/js8call-2.2.0/riscv64-redhat-linux-gnu' gmake[1]: *** [CMakeFiles/Makefile2:420: CMakeFiles/wsjt_qt.dir/all] Error 2 gmake[1]: Leaving directory '/builddir/build/BUILD/js8call-2.2.0/riscv64-redhat-linux-gnu' gmake: *** [Makefile:174: all] Error 2 error: Bad exit status from /var/tmp/rpm-tmp.3XkTDQ (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.3XkTDQ (%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/js8call.spec