on -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 -ansi -c -o dop.lo dop.c libtool: compile: gcc -DHAVE_CONFIG_H -DVERSION=\"1.2.9\" -DXMLCONFIG=\"/usr/share/wv/wvConfig.xml\" -DHTMLCONFIG=\"/usr/share/wv/wvHtml.xml\" -DWVDATADIR=\"/usr/share/wv\" -I. -I. -I. -I. -I/usr/include/libgsf-1 -I/usr/include/libxml2 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -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 -ansi -c dop.c -fPIC -DPIC -o .libs/dop.o field.c: In function ‘s_mapNameToToken’: field.c:56:22: error: implicit declaration of function ‘strcasecmp’; did you mean ‘g_strcasecmp’? [-Werror=implicit-function-declaration] 56 | else if (!(strcasecmp (s_Tokens[k].m_name, name))) | ^~~~~~~~~~ | g_strcasecmp /bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -DVERSION=\"1.2.9\" -DXMLCONFIG=\"/usr/share/wv/wvConfig.xml\" -DHTMLCONFIG=\"/usr/share/wv/wvHtml.xml\" -DWVDATADIR=\"/usr/share/wv\" -I. -I. -I. -I. -I/usr/include/libgsf-1 -I/usr/include/libxml2 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -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 -ansi -c -o roman.lo roman.c libtool: compile: gcc -DHAVE_CONFIG_H -DVERSION=\"1.2.9\" -DXMLCONFIG=\"/usr/share/wv/wvConfig.xml\" -DHTMLCONFIG=\"/usr/share/wv/wvHtml.xml\" -DWVDATADIR=\"/usr/share/wv\" -I. -I. -I. -I. -I/usr/include/libgsf-1 -I/usr/include/libxml2 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -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 -ansi -c roman.c -fPIC -DPIC -o .libs/roman.o cc1: some warnings being treated as errors make[2]: *** [GNUmakefile:785: field.lo] Error 1 make[2]: *** Waiting for unfinished jobs.... make[2]: Leaving directory '/builddir/build/BUILD/wv-1.2.9' make[1]: *** [GNUmakefile:843: all-recursive] Error 1 make[1]: Leaving directory '/builddir/build/BUILD/wv-1.2.9' make: *** [GNUmakefile:455: all] Error 2 error: Bad exit status from /var/tmp/rpm-tmp.wF5Hho (%build) %patchN is deprecated (2 usages found), use %patch N (or %patch -P N) RPM build warnings: RPM build errors: Bad exit status from /var/tmp/rpm-tmp.wF5Hho (%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/wv.spec