declared here 1495 | void g_type_class_add_private (gpointer g_class, | ^~~~~~~~~~~~~~~~~~~~~~~~ mn-mailboxes.c: In function ‘mn_mailboxes_init’: mn-mailboxes.c:488:13: warning: Deprecated pre-processor symbol: replace with "G_ADD_PRIVATE" src/mn-mailboxes.gob: In function ‘mn_mailboxes_load_real’: src/mn-mailboxes.gob:363:20: warning: pointer targets in passing argument 1 of ‘strcmp’ differ in signedness [-Wpointer-sign] 363 | if (strcmp(root->name, "mailboxes")) | ~~~~^~~~~~ | | | const xmlChar * {aka const unsigned char *} /usr/include/string.h:156:32: note: expected ‘const char *’ but argument is of type ‘const xmlChar *’ {aka ‘const unsigned char *’} 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ src/mn-mailboxes.gob:372:28: warning: pointer targets in passing argument 1 of ‘strcmp’ differ in signedness [-Wpointer-sign] 372 | if (! strcmp(node->name, "mailbox")) | ~~~~^~~~~~ | | | const xmlChar * {aka const unsigned char *} /usr/include/string.h:156:32: note: expected ‘const char *’ but argument is of type ‘const xmlChar *’ {aka ‘const unsigned char *’} 156 | extern int strcmp (const char *__s1, const char *__s2) | ~~~~~~~~~~~~^~~~ src/mn-mailboxes.gob: In function ‘mn_mailboxes_save_real’: src/mn-mailboxes.gob:446:14: error: ‘xmlIndentTreeOutput’ undeclared (first use in this function) 446 | indent = xmlIndentTreeOutput; | ^~~~~~~~~~~~~~~~~~~ src/mn-mailboxes.gob:446:14: note: each undeclared identifier is reported only once for each function it appears in src/mn-mailboxes.gob:449:21: warning: pointer targets in passing argument 1 of ‘xmlNewDoc’ differ in signedness [-Wpointer-sign] 449 | doc = xmlNewDoc("1.0"); | ^~~~~ | | | char * In file included from build/src/mn-mailbox.h:9, from build/src/mn-mailboxes.h:7: /usr/include/libxml2/libxml/tree.h:808:57: note: expected ‘const xmlChar *’ {aka ‘const unsigned char *’} but argument is of type ‘char *’ 808 | xmlNewDoc (const xmlChar *version); | ~~~~~~~~~~~~~~~^~~~~~~ src/mn-mailboxes.gob:450:29: warning: pointer targets in passing argument 2 of ‘xmlNewNode’ differ in signedness [-Wpointer-sign] 450 | root = xmlNewNode(NULL, "mailboxes"); | ^~~~~~~~~~~ | | | char * /usr/include/libxml2/libxml/tree.h:866:57: note: expected ‘const xmlChar *’ {aka ‘const unsigned char *’} but argument is of type ‘char *’ 866 | const xmlChar *name); | ~~~~~~~~~~~~~~~^~~~ RPM build warnings: RPM build errors: ERROR: command failed error: Bad exit status from /var/tmp/rpm-tmp.IlSE5x (%build) Macro expanded in comment on line 13: %{version}.tar.bz2 %patchN is deprecated (6 usages found), use %patch N (or %patch -P N) Bad exit status from /var/tmp/rpm-tmp.IlSE5x (%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/mail-notification.spec