nchronous-unwind-tables -fno-omit-frame-pointer -c -o LyXRC.o LyXRC.cpp LyXRC.cpp: In function ‘void lyx::actOnUpdatedPrefs(const LyXRC&, const LyXRC&)’: LyXRC.cpp:3077:42: warning: comparison between two arrays [-Warray-compare] 3077 | || lyxrc_orig.font_sizes != lyxrc_new.font_sizes | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ LyXRC.cpp:3077:42: note: use unary ‘+’ which decays operands to pointers or ‘&‘component_ref’ not supported by dump_decl[0] != &‘component_ref’ not supported by dump_decl[0]’ to compare the addresses make[4]: Leaving directory '/builddir/build/BUILD/lyx-2.3.7/src' make[4]: Entering directory '/builddir/build/BUILD/lyx-2.3.7/src' g++ -DHAVE_CONFIG_H -I. -I.. -I../src -I/usr/include/enchant -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -I/usr/include/hunspell -DQT_NO_STL -DQT_NO_KEYWORDS -DQT_CORE_LIB -I/usr/include/qt5/QtCore -I/usr/include/qt5 -fPIC -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -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 -std=c++14 -std=c++14 -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 -c -o lyxfind.o lyxfind.cpp In file included from insets/InsetLayout.h:18, from insets/Inset.h:20, from insets/InsetQuotes.h:16, from BufferParams.h:26, from lyxfind.cpp:22: ./Layout.h:102:29: warning: identifier ‘requires’ is a keyword in C++20 [-Wc++20-compat] 102 | std::string requires; | ^~~~~~~~ lyxfind.cpp:75:28: warning: ‘template struct std::binary_function’ is deprecated [-Wdeprecated-declarations] 75 | class MatchString : public binary_function | ^~~~~~~~~~~~~~~ In file included from /usr/include/c++/13/string:49, from support/strfwd.h:42, from lyxfind.h:19, from lyxfind.cpp:17: /usr/include/c++/13/bits/stl_function.h:131:12: note: declared here 131 | struct binary_function | ^~~~~~~~~~~~~~~ make[4]: Leaving directory '/builddir/build/BUILD/lyx-2.3.7/src' make[3]: *** [Makefile:2806: all-recursive] Error 1 make[2]: *** [Makefile:1900: all] Error 2 make[1]: *** [Makefile:579: all-recursive] Error 1 make: *** [Makefile:474: all] Error 2 RPM build warnings: RPM build errors: error: Bad exit status from /var/tmp/rpm-tmp.mfN4NT (%build) This package uses obsolete macros that will go away soon. Please convert to the spec templates provided by fonts-rpm-templates! This package uses obsolete macros that will go away soon. Please convert to the spec templates provided by fonts-rpm-templates! Bad exit status from /var/tmp/rpm-tmp.mfN4NT (%build) 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/lyx.spec