ARSER | ^~~~~~~~~~~~~~~~~~ tclxml-libxml2.c: In function ‘ReaderParse’: tclxml-libxml2.c:447:5: warning: ‘xmlSubstituteEntitiesDefault’ is deprecated [-Wdeprecated-declarations] 447 | xmlSubstituteEntitiesDefault(1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/libxml2/libxml/parser.h:953:17: note: declared here 953 | xmlSubstituteEntitiesDefault(int val); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ tclxml-libxml2.c:449:5: warning: ‘xmlSubstituteEntitiesDefault’ is deprecated [-Wdeprecated-declarations] 449 | xmlSubstituteEntitiesDefault(0); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/libxml2/libxml/parser.h:953:17: note: declared here 953 | xmlSubstituteEntitiesDefault(int val); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ tclxml-libxml2.c: In function ‘TclXMLlibxml2Configure’: tclxml-libxml2.c:748:9: warning: variable ‘value’ set but not used [-Wunused-but-set-variable] 748 | char *value; | ^~~~~ gcc -DPACKAGE_NAME=\"Tclxml\" -DPACKAGE_TARNAME=\"tclxml\" -DPACKAGE_VERSION=\"3.2\" -DPACKAGE_STRING=\"Tclxml\ 3.2\" -DPACKAGE_BUGREPORT=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_LIMITS_H=1 -DHAVE_SYS_PARAM_H=1 -DUSE_THREAD_ALLOC=1 -D_REENTRANT=1 -D_THREAD_SAFE=1 -DTCL_THREADS=1 -D_LARGEFILE64_SOURCE=1 -DTCL_WIDE_INT_IS_LONG=1 -DUSE_TCL_STUBS=1 -I/usr/include/libxml2 -I/usr/include/libxml2 -DWITH_GZFILEOP -Iinclude -I"/usr/include" -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -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 -mno-omit-leaf-frame-pointer -pipe -O2 -fomit-frame-pointer -Wall -Wno-implicit-int -fPIC -c `echo tcldom-libxml2.c` -o tcldom-libxml2.o make: *** [Makefile:321: docObj.o] Error 1 make: *** Waiting for unfinished jobs.... tcldom-libxml2.c: In function ‘Tcldom_libxml2_Init’: tcldom-libxml2.c:303:3: warning: ‘xmlXPathInit’ is deprecated [-Wdeprecated-declarations] 303 | xmlXPathInit(); | ^~~~~~~~~~~~ In file included from tcldom-libxml2.c:19: /usr/include/libxml2/libxml/xpath.h:564:21: note: declared here 564 | xmlXPathInit (void); | ^~~~~~~~~~~~ tcldom-libxml2.c: In function ‘TclDOMSerializeCommand’: tcldom-libxml2.c:960:9: warning: variable ‘buf’ set but not used [-Wunused-but-set-variable] 960 | char *buf, *encoding; | ^~~ tcldom-libxml2.c: In function ‘TclDOM_DispatchEvent’: tcldom-libxml2.c:4594:9: warning: variable ‘phase’ set but not used [-Wunused-but-set-variable] 4594 | char *phase; | ^~~~~ tcldom-libxml2.c: In function ‘NodeTypeSetFromAny’: tcldom-libxml2.c:6766:22: warning: variable ‘node’ set but not used [-Wunused-but-set-variable] 6766 | char *id, doc[21], node[21]; | ^~~~ error: Bad exit status from /var/tmp/rpm-tmp.gnXp15 (%build) %patchN is deprecated (3 usages found), use %patch N (or %patch -P N) Bad exit status from /var/tmp/rpm-tmp.gnXp15 (%build) RPM build warnings: RPM build errors: 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/tcl-tclxml.spec