| ^ /usr/include/glib-2.0/glib/gmem.h:234:1: note: declared here 234 | g_steal_pointer (gpointer pp) | ^~~~~~~~~~~~~~~ CCLD libglnx.la CCLD libgsystem.la GISCAN GSystem-1.0.gir src/gsystem-glib-compat.h:34: Warning: GSystem: symbol='g_clear_pointer': Skipping foreign symbol from namespace Gio /builddir/build/BUILD/libgsystem-2015.2/tmp-introspecto8lpsc2n/GSystem-1.0.c: In function ‘dump_properties’: /builddir/build/BUILD/libgsystem-2015.2/tmp-introspecto8lpsc2n/GSystem-1.0.c:229:7: error: ISO C90 forbids mixed declarations and code [-Werror=declaration-after-statement] 229 | const GValue *v = g_param_spec_get_default_value (prop); | ^~~~~ cc1: some warnings being treated as errors Traceback (most recent call last): File "/usr/lib/python3.12/site-packages/setuptools/_distutils/unixccompiler.py", line 185, in _compile self.spawn(compiler_so + cc_args + [src, '-o', obj] + extra_postargs) File "/usr/lib/python3.12/site-packages/setuptools/_distutils/ccompiler.py", line 1041, in spawn spawn(cmd, dry_run=self.dry_run, **kwargs) File "/usr/lib/python3.12/site-packages/setuptools/_distutils/spawn.py", line 70, in spawn raise DistutilsExecError( distutils.errors.DistutilsExecError: command '/usr/bin/gcc' failed with exit code 1 During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/usr/bin/g-ir-scanner", line 104, in sys.exit(scanner_main(sys.argv)) ^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib64/gobject-introspection/giscanner/scannermain.py", line 609, in scanner_main shlibs = create_binary(transformer, options, args) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib64/gobject-introspection/giscanner/scannermain.py", line 430, in create_binary binary = compile_introspection_binary(options, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib64/gobject-introspection/giscanner/dumper.py", line 294, in compile_introspection_binary return dc.run() ^^^^^^^^ File "/usr/lib64/gobject-introspection/giscanner/dumper.py", line 163, in run introspection_obj = self._compile(c_path) ^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib64/gobject-introspection/giscanner/dumper.py", line 189, in _compile return self._compiler.compile(cflags, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib64/gobject-introspection/giscanner/ccompiler.py", line 348, in compile return self.compiler.compile(sources=source, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/site-packages/setuptools/_distutils/ccompiler.py", line 600, in compile self._compile(obj, src, ext, cc_args, extra_postargs, pp_opts) File "/usr/lib/python3.12/site-packages/setuptools/_distutils/unixccompiler.py", line 187, in _compile raise CompileError(msg) distutils.errors.CompileError: command '/usr/bin/gcc' failed with exit code 1 make[2]: Leaving directory '/builddir/build/BUILD/libgsystem-2015.2' make[2]: *** [/usr/share/gobject-introspection-1.0/Makefile.introspection:156: GSystem-1.0.gir] Error 1 make[1]: *** [Makefile:1771: all-recursive] Error 1 make[1]: Leaving directory '/builddir/build/BUILD/libgsystem-2015.2' make: *** [Makefile:949: all] Error 2 error: Bad exit status from /var/tmp/rpm-tmp.Q8vwEb (%build) Bad exit status from /var/tmp/rpm-tmp.Q8vwEb (%build) RPM build errors: 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/libgsystem.spec