s -ffunction-sections -fvisibility=hidden -fvisibility-inlines-hidden -fPIC -include wsjtx_config.h -o CMakeFiles/wsjt_qt.dir/PollingTransceiver.cpp.o -c /builddir/build/BUILD/wsjtx-2.1.2/wsjtx/PollingTransceiver.cpp make[2]: Leaving directory '/builddir/build/BUILD/wsjtx-2.1.2/wsjtx/build' make[2]: Entering directory '/builddir/build/BUILD/wsjtx-2.1.2/wsjtx/build' [ 88%] Building CXX object CMakeFiles/wsjt_qt.dir/HamlibTransceiver.cpp.o /usr/bin/c++ -DBIGSYM=1 -DCMAKE_BUILD -DQT5 -DQT_CORE_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_NO_DEBUG -DQT_NO_DEBUG_OUTPUT -DQT_NO_WARNING_OUTPUT -DQT_PRINTSUPPORT_LIB -DQT_SQL_LIB -DQT_WIDGETS_LIB -DUDP_STATIC_DEFINE -DUNIX -I/builddir/build/BUILD/wsjtx-2.1.2/wsjtx/build -I/builddir/build/BUILD/wsjtx-2.1.2/wsjtx -I/builddir/build/BUILD/wsjtx-2.1.2/wsjtx/build/wsjt_qt_autogen/include -I/usr/include/libusb-1.0 -I/builddir/build/BUILD/wsjtx-2.1.2/wsjtx/qcustomplot-source -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtWidgets -isystem /usr/include/qt5/QtGui -isystem /usr/include/qt5/QtCore -isystem /usr/lib64/qt5/mkspecs/linux-g++ -isystem /usr/include/qt5/QtPrintSupport -isystem /usr/include/qt5/QtNetwork -isystem /usr/include/qt5/QtSql -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 -Wall -Wextra -fexceptions -frtti -Wno-pragmas -fopenmp --std=gnu++11 -pthread -DNDEBUG -fdata-sections -ffunction-sections -fvisibility=hidden -fvisibility-inlines-hidden -fPIC -include wsjtx_config.h -o CMakeFiles/wsjt_qt.dir/HamlibTransceiver.cpp.o -c /builddir/build/BUILD/wsjtx-2.1.2/wsjtx/HamlibTransceiver.cpp make[2]: Leaving directory '/builddir/build/BUILD/wsjtx-2.1.2/wsjtx/build' In file included from /builddir/build/BUILD/wsjtx-2.1.2/wsjtx/HamlibTransceiver.cpp:1: /builddir/build/BUILD/wsjtx-2.1.2/wsjtx/HamlibTransceiver.hpp:19:24: error: conflicting declaration 'typedef struct s_rig RIG' 19 | typedef struct s_rig RIG; | ^~~ In file included from /builddir/build/BUILD/wsjtx-2.1.2/wsjtx/HamlibTransceiver.hpp:12, from /builddir/build/BUILD/wsjtx-2.1.2/wsjtx/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/wsjtx-2.1.2/wsjtx/HamlibTransceiver.cpp:1: /builddir/build/BUILD/wsjtx-2.1.2/wsjtx/HamlibTransceiver.hpp:21:24: error: conflicting declaration 'typedef unsigned int vfo_t' 21 | typedef unsigned int vfo_t; | ^~~~~ In file included from /builddir/build/BUILD/wsjtx-2.1.2/wsjtx/HamlibTransceiver.hpp:12, from /builddir/build/BUILD/wsjtx-2.1.2/wsjtx/HamlibTransceiver.cpp:1: /usr/include/hamlib/rig.h:350:13: note: previous declaration as 'typedef int vfo_t' 350 | typedef int vfo_t; | ^~~~~ make[2]: *** [CMakeFiles/wsjt_qt.dir/build.make:456: CMakeFiles/wsjt_qt.dir/HamlibTransceiver.cpp.o] Error 1 make[1]: *** [CMakeFiles/Makefile2:656: CMakeFiles/wsjt_qt.dir/all] Error 2 make: *** [Makefile:155: all] Error 2 RPM build errors: error: Bad exit status from /var/tmp/rpm-tmp.0Lzh9u (%build) Bad exit status from /var/tmp/rpm-tmp.0Lzh9u (%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/wsjtx.spec