ntf(format, ...) fprintf(output, (format), ## __VA_ARGS__) | ^~~~~~~~~~~ shigofumi.c:655:13: note: each undeclared identifier is reported only once for each function it appears in 655 | xmlParserVersion, rl_library_version); | ^~~~~~~~~~~~~~~~ ui.h:12:59: note: in definition of macro ‘oprintf’ 12 | #define oprintf(format, ...) fprintf(output, (format), ## __VA_ARGS__) | ^~~~~~~~~~~ make[2]: *** [Makefile:434: shigofumi.o] Error 1 make[2]: *** Waiting for unfinished jobs.... make[2]: Entering directory '/builddir/build/BUILD/shigofumi-0.9/src' gcc -DHAVE_CONFIG_H -I. -I/usr/include/libxml2 -DLOCALEDIR=\"/usr/share/locale\" -O2 -flto=auto -ffat-lto-objects -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 -Werror -std=c99 -Wall -c -o io.o io.c make[2]: Leaving directory '/builddir/build/BUILD/shigofumi-0.9/src' io.c: In function ‘load_xml_subtree_from_memory’: io.c:452:11: error: implicit declaration of function ‘xmlParseMemory’ [-Werror=implicit-function-declaration] 452 | xml = xmlParseMemory(buffer, length); | ^~~~~~~~~~~~~~ io.c:452:9: error: assignment to ‘xmlDocPtr’ {aka ‘struct _xmlDoc *’} from ‘int’ makes pointer from integer without a cast [-Werror=int-conversion] 452 | xml = xmlParseMemory(buffer, length); | ^ cc1: all warnings being treated as errors make[2]: *** [Makefile:434: io.o] Error 1 make[2]: Entering directory '/builddir/build/BUILD/shigofumi-0.9/src' gcc -DHAVE_CONFIG_H -I. -I/usr/include/libxml2 -DLOCALEDIR=\"/usr/share/locale\" -O2 -flto=auto -ffat-lto-objects -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 -Werror -std=c99 -Wall -c -o completion.o completion.c make[2]: Leaving directory '/builddir/build/BUILD/shigofumi-0.9/src' make[2]: Entering directory '/builddir/build/BUILD/shigofumi-0.9/src' gcc -DHAVE_CONFIG_H -I. -I/usr/include/libxml2 -DLOCALEDIR=\"/usr/share/locale\" -O2 -flto=auto -ffat-lto-objects -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 -Werror -std=c99 -Wall -c -o data.o data.c make[2]: Leaving directory '/builddir/build/BUILD/shigofumi-0.9/src' make[1]: *** [Makefile:315: all] Error 2 make: *** [Makefile:386: all-recursive] Error 1 RPM build errors: error: Bad exit status from /var/tmp/rpm-tmp.Pq5KYG (%build) Bad exit status from /var/tmp/rpm-tmp.Pq5KYG (%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/shigofumi.spec