ang -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 -DNETSNMP_ENABLE_IPV6 -fno-strict-aliasing -DNETSNMP_REMOVE_U64 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -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 -Ulinux -Dlinux=linux -D_REENTRANT -D_GNU_SOURCE -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -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 -fwrapv -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/lib64/perl5/CORE -I. -I/usr/include -c xmlmod.c -fPIC -DPIC -o .libs/xmlmod.o xmlmod.c: In function 'xmlmod_destroy': xmlmod.c:990:17: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 990 | free(plugin->logfile); | ^~~~ xmlmod.c:32:1: note: include '' or provide a declaration of 'free' 31 | #include "prelude-manager.h" +++ |+#include 32 | xmlmod.c:992:9: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 992 | free(plugin); | ^~~~ xmlmod.c:992:9: note: include '' or provide a declaration of 'free' xmlmod.c: In function 'xmlmod_activate': xmlmod.c:1008:15: error: implicit declaration of function 'calloc' [-Werror=implicit-function-declaration] 1008 | new = calloc(1, sizeof(*new)); | ^~~~~~ xmlmod.c:1008:15: note: include '' or provide a declaration of 'calloc' xmlmod.c:1008:15: warning: incompatible implicit declaration of built-in function 'calloc' [-Wbuiltin-declaration-mismatch] xmlmod.c:1008:15: note: include '' or provide a declaration of 'calloc' xmlmod.c:1015:17: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 1015 | free(new); | ^~~~ xmlmod.c:1015:17: note: include '' or provide a declaration of 'free' cc1: some warnings being treated as errors make[4]: *** [Makefile:1389: xmlmod.lo] Error 1 make[4]: Leaving directory '/builddir/build/BUILD/prelude-manager-5.2.0/plugins/reports/xmlmod' make[3]: *** [Makefile:1302: all-recursive] Error 1 make[2]: *** [Makefile:1302: all-recursive] Error 1 make[1]: *** [Makefile:1377: all-recursive] Error 1 make: *** [Makefile:1306: all] Error 2 RPM build warnings: RPM build errors: error: Bad exit status from /var/tmp/rpm-tmp.QK6Eia (%build) bogus date in %changelog: Mon Jun 08 2024 David Abdurachmanov - 5.2.0-10.0.riscv64 Bad exit status from /var/tmp/rpm-tmp.QK6Eia (%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/prelude-manager.spec