h.c:465:5: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 465 | free (ad); | ^~~~ anaglyph.c:465:5: note: include '' or provide a declaration of 'free' anaglyph.c: In function 'anaglyphInitScreen': anaglyph.c:477:14: warning: incompatible implicit declaration of built-in function 'malloc' [-Wbuiltin-declaration-mismatch] 477 | as = malloc (sizeof (AnaglyphScreen)); | ^~~~~~ anaglyph.c:477:14: note: include '' or provide a declaration of 'malloc' anaglyph.c:484:17: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 484 | free(as); | ^~~~ anaglyph.c:484:17: note: include '' or provide a declaration of 'free' anaglyph.c: In function 'anaglyphFiniScreen': anaglyph.c:514:9: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 514 | free (as); | ^~~~ anaglyph.c:514:9: note: include '' or provide a declaration of 'free' anaglyph.c: In function 'anaglyphInitWindow': anaglyph.c:525:14: warning: incompatible implicit declaration of built-in function 'malloc' [-Wbuiltin-declaration-mismatch] 525 | aw = malloc(sizeof(AnaglyphWindow)); | ^~~~~~ anaglyph.c:525:14: note: include '' or provide a declaration of 'malloc' anaglyph.c: In function 'anaglyphFiniWindow': anaglyph.c:540:9: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 540 | free(aw); | ^~~~ anaglyph.c:540:9: note: include '' or provide a declaration of 'free' cc1: some warnings being treated as errors make[4]: *** [Makefile:530: anaglyph.lo] Error 1 make[4]: *** Waiting for unfinished jobs.... libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../../include -I/usr/include/libxml2 -I/usr/include/startup-notification-1.0 -I/usr/include/compiz -I/usr/include/uuid -DDATADIR=\"/usr/share/compiz\" -DLIBDIR=\"/usr/lib64\" -DLOCALEDIR=\"/usr/share/locale\" -DIMAGEDIR=\"/usr/share/compiz\" -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 anaglyph_options.c -o anaglyph_options.o >/dev/null 2>&1 make[4]: Leaving directory '/builddir/build/BUILD/compiz-plugins-experimental-v0.8.18/src/anaglyph' make[3]: Leaving directory '/builddir/build/BUILD/compiz-plugins-experimental-v0.8.18/src/anaglyph' make[3]: *** [Makefile:424: all] Error 2 make[2]: *** [Makefile:455: all-recursive] Error 1 make[2]: Leaving directory '/builddir/build/BUILD/compiz-plugins-experimental-v0.8.18/src' make[1]: *** [Makefile:493: all-recursive] Error 1 make[1]: Leaving directory '/builddir/build/BUILD/compiz-plugins-experimental-v0.8.18' make: *** [Makefile:425: all] Error 2 RPM build errors: error: Bad exit status from /var/tmp/rpm-tmp.Hy2YN9 (%build) Bad exit status from /var/tmp/rpm-tmp.Hy2YN9 (%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-experimental.spec