| ^~~~~~~~~~~~~~~~~~~~~~ misc.c:1633:5: warning: 'GtkStock' is deprecated [-Wdeprecated-declarations] misc.c: In function 'gtkpod_shutdown': misc.c:1801:5: error: implicit declaration of function 'xmlCleanupParser' [-Werror=implicit-function-declaration] 1801 | xmlCleanupParser(); | ^~~~~~~~~~~~~~~~ CC misc_conversion.lo CC clientserver.lo CC directories.lo cc1: some warnings being treated as errors In file included from misc_conversion.c:42: misc.h:86:1: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 86 | float get_ms_since (GTimeVal *old_time, gboolean update); | ^~~~~ In file included from /usr/include/glib-2.0/glib/galloca.h:34, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gtk-3.0/gdk/gdkconfig.h:8, from /usr/include/gtk-3.0/gdk/gdk.h:30, from /usr/include/gtk-3.0/gtk/gtk.h:30, from misc_conversion.c:36: /usr/include/glib-2.0/glib/gtypes.h:580:8: note: declared here 580 | struct _GTimeVal | ^~~~~~~~~ make[2]: *** [Makefile:650: misc.lo] Error 1 make[2]: *** Waiting for unfinished jobs.... In file included from clientserver.c:32: misc.h:86:1: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 86 | float get_ms_since (GTimeVal *old_time, gboolean update); | ^~~~~ In file included from /usr/include/glib-2.0/glib/galloca.h:34, from /usr/include/glib-2.0/glib.h:32, from clientserver.h:37, from clientserver.c:30: /usr/include/glib-2.0/glib/gtypes.h:580:8: note: declared here 580 | struct _GTimeVal | ^~~~~~~~~ clientserver.c: In function 'register_playcount': clientserver.c:126:21: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 126 | write(fd, SOCKET_PLYC, strlen(SOCKET_PLYC)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ clientserver.c:128:25: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 128 | write(fd, sha1, strlen(sha1)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ clientserver.c:129:21: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 129 | write(fd, " ", 1); | ^~~~~~~~~~~~~~~~~ clientserver.c:130:21: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 130 | write(fd, file, strlen(file)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ clientserver.c:131:21: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 131 | write(fd, "\n", 1); | ^~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/builddir/build/BUILD/gtkpod-2.1.5/libgtkpod' make[1]: *** [Makefile:600: all-recursive] Error 1 make[1]: Leaving directory '/builddir/build/BUILD/gtkpod-2.1.5' make: *** [Makefile:488: all] Error 2 error: Bad exit status from /var/tmp/rpm-tmp.M8BwEB (%build) RPM build warnings: RPM build errors: %patchN is deprecated (1 usages found), use %patch N (or %patch -P N) Bad exit status from /var/tmp/rpm-tmp.M8BwEB (%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/gtkpod.spec