' set but not used [-Wunused-but-set-variable] BUILDSTDERR: gint size; BUILDSTDERR: ^~~~ BUILDSTDERR: gtksourceview.c: In function 'gtk_source_view_get_visual_column': BUILDSTDERR: gtksourceview.c:5019:17: warning: variable 'buffer' set but not used [-Wunused-but-set-variable] BUILDSTDERR: GtkTextBuffer *buffer; BUILDSTDERR: ^~~~~~ CC gtksourceview-typebuiltins.lo /bin/sh ../libtool --silent --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -DDATADIR=\""/usr/share"\" -DG_LOG_DOMAIN=\"GtkSourceView\" -I.. -I. -DG_DISABLE_DEPRECATED -DGDK_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED -DGDK_PIXBUF_DISABLE_DEPRECATED -DGNOME_DISABLE_DEPRECATED -Wall -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wno-sign-compare -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/uuid -I/usr/include/harfbuzz -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/atk-1.0 -pthread -I/usr/include/libxml2 -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 -c -o gtksourceview-typebuiltins.lo gtksourceview-typebuiltins.c CCLD libgtksourceview-2.0.la GISCAN GtkSource-2.0.gir BUILDSTDERR: /usr/include/glib-2.0/gobject/gobject.h:725: syntax error, unexpected ')' in ' ((__typeof__(new_object)) (g_object_ref) (new_object));' at ')' Package cairo-gobject was not found in the pkg-config search path. Perhaps you should add the directory containing `cairo-gobject.pc' to the PKG_CONFIG_PATH environment variable Package 'cairo-gobject', required by 'virtual:world', not found Package 'gtksourceview-2.0', required by 'virtual:world', not found Package gtksourceview-2.0 was not found in the pkg-config search path. Perhaps you should add the directory containing `gtksourceview-2.0.pc' to the PKG_CONFIG_PATH environment variable Package 'gtksourceview-2.0', required by 'virtual:world', not found Package gtksourceview-2.0 was not found in the pkg-config search path. Perhaps you should add the directory containing `gtksourceview-2.0.pc' to the PKG_CONFIG_PATH environment variable Package 'gtksourceview-2.0', required by 'virtual:world', not found BUILDSTDERR: ERROR: can't resolve libraries to shared libraries: gthread-2.0 make[4]: Leaving directory '/builddir/build/BUILD/gtksourceview-2.11.2/gtksourceview' BUILDSTDERR: make[4]: *** [/usr/share/gobject-introspection-1.0/Makefile.introspection:156: GtkSource-2.0.gir] Error 1 BUILDSTDERR: make[3]: *** [Makefile:676: all-recursive] Error 1 make[3]: Leaving directory '/builddir/build/BUILD/gtksourceview-2.11.2/gtksourceview' make[2]: Leaving directory '/builddir/build/BUILD/gtksourceview-2.11.2/gtksourceview' BUILDSTDERR: make[2]: *** [Makefile:474: all] Error 2 make[1]: Leaving directory '/builddir/build/BUILD/gtksourceview-2.11.2' BUILDSTDERR: make[1]: *** [Makefile:437: all-recursive] Error 1 BUILDSTDERR: make: *** [Makefile:342: all] Error 2 RPM build errors: BUILDSTDERR: error: Bad exit status from /var/tmp/rpm-tmp.HhGe5Y (%build) BUILDSTDERR: Bad exit status from /var/tmp/rpm-tmp.HhGe5Y (%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 636, 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/gtksourceview2.spec