lude '' or provide a declaration of 'free' addhelper.c: In function 'addhelperInitScreen': addhelper.c:365:10: warning: incompatible implicit declaration of built-in function 'malloc' [-Wbuiltin-declaration-mismatch] 365 | as = malloc (sizeof (AddHelperScreen)); | ^~~~~~ addhelper.c:365:10: note: include '' or provide a declaration of 'malloc' addhelper.c:372:9: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 372 | free (as); | ^~~~ addhelper.c:372:9: note: include '' or provide a declaration of 'free' addhelper.c: In function 'addhelperFiniScreen': addhelper.c:398:5: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 398 | free (as); | ^~~~ addhelper.c:398:5: note: include '' or provide a declaration of 'free' addhelper.c: In function 'addhelperInitDisplay': addhelper.c:410:10: warning: incompatible implicit declaration of built-in function 'malloc' [-Wbuiltin-declaration-mismatch] 410 | ad = malloc (sizeof (AddHelperDisplay)); | ^~~~~~ addhelper.c:410:10: note: include '' or provide a declaration of 'malloc' addhelper.c:417:9: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 417 | free (ad); | ^~~~ addhelper.c:417:9: note: include '' or provide a declaration of 'free' addhelper.c: In function 'addhelperFiniDisplay': addhelper.c:449:5: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 449 | free (ad); | ^~~~ addhelper.c:449:5: note: include '' or provide a declaration of 'free' cc1: some warnings being treated as errors make[4]: *** [Makefile:524: addhelper.lo] Error 1 make[4]: *** Waiting for unfinished jobs.... libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I/usr/include/libxml2 -I/usr/include/startup-notification-1.0 -I/usr/include/compiz -I/usr/include/uuid -DDATADIR=\"\" -DLIBDIR=\"/usr/lib64\" -DLOCALEDIR=\"/usr/share/locale\" -DIMAGEDIR=\"/usr/share/compiz\" -I../../include -O2 -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 -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -fno-strict-aliasing -c addhelper_options.c -o addhelper_options.o >/dev/null 2>&1 make[4]: Leaving directory '/builddir/build/BUILD/compiz-plugins-extra-v0.8.18/src/addhelper' make[3]: *** [Makefile:418: all] Error 2 make[3]: Leaving directory '/builddir/build/BUILD/compiz-plugins-extra-v0.8.18/src/addhelper' make[2]: *** [Makefile:451: all-recursive] Error 1 make[2]: Leaving directory '/builddir/build/BUILD/compiz-plugins-extra-v0.8.18/src' make[1]: *** [Makefile:545: all-recursive] Error 1 make[1]: Leaving directory '/builddir/build/BUILD/compiz-plugins-extra-v0.8.18' make: *** [Makefile:454: all] Error 2 error: Bad exit status from /var/tmp/rpm-tmp.HAc9t7 (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.HAc9t7 (%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/compiz-plugins-extra.spec