ynchronous-unwind-tables -fno-omit-frame-pointer -Wextra -pthread -Wno-unused-local-typedefs -Wno-maybe-uninitialized -Wtrampolines -fPIE -O3 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fno-omit-frame-pointer -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -D_REENTRANT -DHAVE_LIBDBUS -DHAVE_HISTORY -DHAVE_CONFIG_H -D_FORTIFY_SOURCE=2 -D_X11 -DFIFODIR='"/run/wesnothd"' -DWESNOTH_PATH='"/usr/share/wesnoth"' -DLOCALEDIR='"locale"' -DHAS_RELATIVE_LOCALEDIR -Ibuild -Isrc -isystem /usr/include/SDL2 -isystem /usr/include/cairo -isystem /usr/include/freetype2 -isystem /usr/include/pixman-1 -isystem /usr/include/libxml2 -isystem /usr/include/glib-2.0 -isystem /usr/lib64/glib-2.0/include -isystem /usr/include/sysprof-6 -isystem /usr/include/harfbuzz -isystem /usr/include/libpng16 -isystem /usr/include/pango-1.0 -isystem /usr/include/blkid -isystem /usr/include/libmount -isystem /usr/include/fribidi -isystem /usr/include/dbus-1.0 -isystem /usr/lib64/dbus-1.0/include src/gui/dialogs/migrate_version_selection.cpp g++ -o build/release/gui/dialogs/modal_dialog.o -c -Werror=non-virtual-dtor -std=c++17 -Wold-style-cast -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -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 -Wextra -pthread -Wno-unused-local-typedefs -Wno-maybe-uninitialized -Wtrampolines -fPIE -O3 -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fno-omit-frame-pointer -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -D_REENTRANT -DHAVE_LIBDBUS -DHAVE_HISTORY -DHAVE_CONFIG_H -D_FORTIFY_SOURCE=2 -D_X11 -DFIFODIR='"/run/wesnothd"' -DWESNOTH_PATH='"/usr/share/wesnoth"' -DLOCALEDIR='"locale"' -DHAS_RELATIVE_LOCALEDIR -Ibuild -Isrc -isystem /usr/include/SDL2 -isystem /usr/include/cairo -isystem /usr/include/freetype2 -isystem /usr/include/pixman-1 -isystem /usr/include/libxml2 -isystem /usr/include/glib-2.0 -isystem /usr/lib64/glib-2.0/include -isystem /usr/include/sysprof-6 -isystem /usr/include/harfbuzz -isystem /usr/include/libpng16 -isystem /usr/include/pango-1.0 -isystem /usr/include/blkid -isystem /usr/include/libmount -isystem /usr/include/fribidi -isystem /usr/include/dbus-1.0 -isystem /usr/lib64/dbus-1.0/include src/gui/dialogs/modal_dialog.cpp The bug is not reproducible, so it is likely a hardware or OS problem. scons: *** [build/release/gui/dialogs/log_settings.o] Error 1 scons: building terminated because of errors. error: Bad exit status from /var/tmp/rpm-tmp.97o0OM (%build) Bad exit status from /var/tmp/rpm-tmp.97o0OM (%build) RPM build errors: 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/wesnoth.spec