DSTDERR: drawkblibs/drawkblibs-cairo.c:1103:3: note: in expansion of macro 'g_return_val_if_fail' BUILDSTDERR: 1103 | g_return_val_if_fail (fontmap != NULL, NULL); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: drawkblibs/drawkblibs-cairo.c: In function 'local_pango_cairo_create_context': BUILDSTDERR: /usr/include/glib-2.0/glib/gmacros.h:312:39: error: ISO C does not support '__FUNCTION__' predefined identifier [-Wpedantic] BUILDSTDERR: 312 | #define G_STRFUNC ((const char*) (__FUNCTION__)) BUILDSTDERR: | ^~~~~~~~~~~~ BUILDSTDERR: /usr/include/glib-2.0/glib/gmessages.h:604:35: note: in expansion of macro 'G_STRFUNC' BUILDSTDERR: 604 | G_STRFUNC, \ BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: drawkblibs/drawkblibs-cairo.c:1117:2: note: in expansion of macro 'g_return_val_if_fail' BUILDSTDERR: 1117 | g_return_val_if_fail (cr != NULL, NULL); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: make[1]: *** [: drawkblibs/drawkblibs-cairo.o] Error 1 BUILDSTDERR: make: *** [Makefile:60: all] Error 2 4/glib-2.0/include -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -pthread -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -DPANGO_ENABLE_BACKEND -ggdb -fPIC -DVEXTRA=\"""\" -c -o drawkblib.o drawkblib.c gcc -lgdk_pixbuf_xlib-2.0 -lgdk_pixbuf-2.0 -lgobject-2.0 -lglib-2.0 -lImlib2 -lX11 -lXrender -lX11 -lXext -lpangocairo-1.0 -lpango-1.0 -lgobject-2.0 -lglib-2.0 -lharfbuzz -lcairo -shared -o drawkblibs/drawkblibs-xlib.so drawkblibs/drawkblibs-xlib.o gcc -D LIB_PREFIX=\"/usr/lib64/\" -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wno-return-type -Wno-unused-result -Wno-maybe-uninitialized -Wno-deprecated-declarations -Wno-unused-variable -std=c99 -pedantic-errors -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -pthread -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -DPANGO_ENABLE_BACKEND -ggdb -fPIC -DVEXTRA=\"""\" -c -o drawkblibs/drawkblibs-cairo.o drawkblibs/drawkblibs-cairo.c gcc -lX11 -lm -ldl -L/usr/X11R6/lib -L/usr/X11/lib -lXft -lXinerama -o superkb superkb.o main.o superkbrc.o imagelib.o drawkblib.o debug.o timeval.o screeninfo-xinerama.o Superkb has been successfully compiled! Please proceed to installation by issuing 'make install' as root. (If you wish to use the program without installing, edit the 'configuration' file and replace '=m' values with '=y' and recompile.) make[1]: Leaving directory '/builddir/build/BUILD/superkb-0.22' RPM build errors: BUILDSTDERR: error: Bad exit status from /var/tmp/rpm-tmp.xAk2dl (%build) BUILDSTDERR: Bad exit status from /var/tmp/rpm-tmp.xAk2dl (%build) Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.7/site-packages/mockbuild/trace_decorator.py", line 96, in trace result = func(*args, **kw) File "/usr/lib/python3.7/site-packages/mockbuild/util.py", line 700, in do 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/superkb.spec