edhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -Wall -Waggregate-return -Wcast-align -Wextra -Wformat=2 -Winit-self -Wlarger-than-65500 -Wmissing-declarations -Wmissing-format-attribute -Wmissing-include-dirs -Wmissing-noreturn -Wmissing-prototypes -Wnested-externs -Wold-style-definition -Wpacked -Wp,-D_FORTIFY_SOURCE=2 -Wpointer-arith -Wswitch-default -Wswitch-enum -Wundef -Wunsafe-loop-optimizations -Wwrite-strings -pthread -pthread -o rbgst.o -c rbgst.c BUILDSTDERR: In file included from /usr/include/ruby.h:33, BUILDSTDERR: from /usr/lib64/ruby/vendor_ruby/rb-gobject-introspection.h:24, BUILDSTDERR: from rbgst.h:23, BUILDSTDERR: from rbgst.c:21: BUILDSTDERR: rbgst.c: In function 'rg_gst_bus_func_callback': BUILDSTDERR: rbgst.c:52:26: warning: implicit declaration of function 'rb_gi_callback_data_get_rb_callback'; did you mean 'rb_gi_callback_data_free'? [-Wimplicit-function-declaration] BUILDSTDERR: rb_keep = rb_funcall(rb_gi_callback_data_get_rb_callback(callback_data), BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: rbgst.c:52:26: warning: nested extern declaration of 'rb_gi_callback_data_get_rb_callback' [-Wnested-externs] BUILDSTDERR: rbgst.c:56:9: warning: implicit declaration of function 'rb_gi_callback_data_get_metadata'; did you mean 'rb_gi_callback_data_free'? [-Wimplicit-function-declaration] BUILDSTDERR: if (rb_gi_callback_data_get_metadata(callback_data)->scope_type == GI_SCOPE_TYPE_ASYNC) { BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: rb_gi_callback_data_free BUILDSTDERR: rbgst.c:56:9: warning: nested extern declaration of 'rb_gi_callback_data_get_metadata' [-Wnested-externs] BUILDSTDERR: rbgst.c:56:56: error: invalid type argument of '->' (have 'int') BUILDSTDERR: if (rb_gi_callback_data_get_metadata(callback_data)->scope_type == GI_SCOPE_TYPE_ASYNC) { BUILDSTDERR: ^~ BUILDSTDERR: rbgst.c: In function 'rg_gst_bus_sync_handler_callback': BUILDSTDERR: rbgst.c:85:56: error: invalid type argument of '->' (have 'int') BUILDSTDERR: if (rb_gi_callback_data_get_metadata(callback_data)->scope_type == GI_SCOPE_TYPE_ASYNC) { BUILDSTDERR: ^~ BUILDSTDERR: rbgst.c: In function 'rg_gst_tag_foreach_func_callback': BUILDSTDERR: rbgst.c:118:56: error: invalid type argument of '->' (have 'int') BUILDSTDERR: if (rb_gi_callback_data_get_metadata(callback_data)->scope_type == GI_SCOPE_TYPE_ASYNC) { BUILDSTDERR: ^~ BUILDSTDERR: make: *** [Makefile:243: rbgst.o] Error 1 BUILDSTDERR: ERROR: Error installing gstreamer-3.2.7.gem: BUILDSTDERR: ERROR: Failed to build gem native extension. BUILDSTDERR: Building has failed. See above output for more information on the failure. BUILDSTDERR: make failed, exit code 2 BUILDSTDERR: Gem files will remain installed in /builddir/build/BUILD/gstreamer-3.2.7/usr/share/gems/gems/gstreamer-3.2.7 for inspection. BUILDSTDERR: Results logged to /builddir/build/BUILD/gstreamer-3.2.7/usr/lib64/gems/ruby/gstreamer-3.2.7/gem_make.out RPM build errors: BUILDSTDERR: error: Bad exit status from /var/tmp/rpm-tmp.0nPS9i (%build) BUILDSTDERR: Bad exit status from /var/tmp/rpm-tmp.0nPS9i (%build) Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.6/site-packages/mockbuild/trace_decorator.py", line 96, in trace result = func(*args, **kw) File "/usr/lib/python3.6/site-packages/mockbuild/util.py", line 626, 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/rubygem-gstreamer.spec