n-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 -c -o libcoco_la-coco-theme.lo `test -f 'coco-theme.c' || echo './'`coco-theme.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../.. -I/usr/include/pango-1.0 -I/usr/include/gtk-3.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/cairo -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/atk-1.0 -I/usr/include/libxml2 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/at-spi2-atk/2.0 -I/usr/include/cloudproviders -I/usr/include/blkid -I/usr/include/at-spi-2.0 -I/usr/include/webp -I/usr/include/gio-unix-2.0 -I/usr/include/libmount -I/usr/include/pixman-1 -I/usr/include/fribidi -I/usr/include/sysprof-6 -pthread -I/usr/include/libpng16 -Wall -Wmissing-prototypes -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 -c coco-theme.c -fPIC -DPIC -o .libs/libcoco_la-coco-theme.o coco-theme.c: In function 'set_notification_text': coco-theme.c:509:9: error: implicit declaration of function 'xmlInitParser' [-Werror=implicit-function-declaration] 509 | xmlInitParser(); | ^~~~~~~~~~~~~ coco-theme.c:513:15: error: implicit declaration of function 'xmlReadMemory'; did you mean 'xmlInitMemory'? [-Werror=implicit-function-declaration] 513 | doc = xmlReadMemory(str, (int) str_len, "noname.xml", NULL, 0); | ^~~~~~~~~~~~~ | xmlInitMemory coco-theme.c:513:13: warning: assignment to 'xmlDocPtr' {aka 'struct _xmlDoc *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] 513 | doc = xmlReadMemory(str, (int) str_len, "noname.xml", NULL, 0); | ^ coco-theme.c:561:9: error: implicit declaration of function 'xmlCleanupParser' [-Werror=implicit-function-declaration] 561 | xmlCleanupParser (); | ^~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors make[4]: *** [Makefile:501: libcoco_la-coco-theme.lo] Error 1 make[4]: Leaving directory '/builddir/build/BUILD/mate-notification-daemon-1.26.1/src/themes/coco' make[3]: *** [Makefile:407: all-recursive] Error 1 make[3]: Leaving directory '/builddir/build/BUILD/mate-notification-daemon-1.26.1/src/themes' make[2]: *** [Makefile:407: all-recursive] Error 1 make[2]: Leaving directory '/builddir/build/BUILD/mate-notification-daemon-1.26.1/src' make[1]: *** [Makefile:491: all-recursive] Error 1 make[1]: Leaving directory '/builddir/build/BUILD/mate-notification-daemon-1.26.1' make: *** [Makefile:423: all] Error 2 error: Bad exit status from /var/tmp/rpm-tmp.zaOtxu (%build) RPM build warnings: extra tokens at the end of %else directive in line 57: %else # 0%{?rel_build} extra tokens at the end of %endif directive in line 60: %endif # 0%{?rel_build} RPM build errors: Bad exit status from /var/tmp/rpm-tmp.zaOtxu (%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/mate-notification-daemon.spec