: (PW_STREAM_FLAG_DRIVER | BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: PW_STREAM_FLAG_NONE BUILDSTDERR: backends/meta-screen-cast-stream-src.c:374:32: note: each undeclared identifier is reported only once for each function it appears in BUILDSTDERR: backends/meta-screen-cast-stream-src.c:375:32: error: 'PW_STREAM_FLAG_MAP_BUFFERS' undeclared (first use in this function); did you mean 'PW_STREAM_FLAG_INACTIVE'? BUILDSTDERR: PW_STREAM_FLAG_MAP_BUFFERS), BUILDSTDERR: ^~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: PW_STREAM_FLAG_INACTIVE BUILDSTDERR: In file included from /usr/include/glib-2.0/glib/glist.h:32, BUILDSTDERR: from /usr/include/glib-2.0/glib/ghash.h:33, BUILDSTDERR: from /usr/include/glib-2.0/glib.h:50, BUILDSTDERR: from /usr/include/glib-2.0/gobject/gbinding.h:28, BUILDSTDERR: from /usr/include/glib-2.0/glib-object.h:23, BUILDSTDERR: from ./backends/meta-screen-cast-stream-src.h:26, BUILDSTDERR: from backends/meta-screen-cast-stream-src.c:25: BUILDSTDERR: backends/meta-screen-cast-stream-src.c: In function 'meta_screen_cast_stream_src_finalize': BUILDSTDERR: backends/meta-screen-cast-stream-src.c:581:44: warning: function called through a non-compatible type BUILDSTDERR: g_clear_pointer (&priv->pipewire_stream, (GDestroyNotify) pw_stream_destroy); BUILDSTDERR: /usr/include/glib-2.0/glib/gmem.h:120:8: note: in definition of macro 'g_clear_pointer' BUILDSTDERR: (destroy) (_ptr); \ BUILDSTDERR: ^~~~~~~ BUILDSTDERR: backends/meta-screen-cast-stream-src.c:582:44: warning: function called through a non-compatible type BUILDSTDERR: g_clear_pointer (&priv->pipewire_remote, (GDestroyNotify) pw_remote_destroy); BUILDSTDERR: /usr/include/glib-2.0/glib/gmem.h:120:8: note: in definition of macro 'g_clear_pointer' BUILDSTDERR: (destroy) (_ptr); \ BUILDSTDERR: ^~~~~~~ BUILDSTDERR: backends/meta-screen-cast-stream-src.c:583:42: warning: function called through a non-compatible type BUILDSTDERR: g_clear_pointer (&priv->pipewire_core, (GDestroyNotify) pw_core_destroy); BUILDSTDERR: /usr/include/glib-2.0/glib/gmem.h:120:8: note: in definition of macro 'g_clear_pointer' BUILDSTDERR: (destroy) (_ptr); \ BUILDSTDERR: ^~~~~~~ BUILDSTDERR: make[4]: *** [Makefile:2816: backends/meta-screen-cast-stream-src.lo] Error 1 BUILDSTDERR: make[4]: *** Waiting for unfinished jobs.... make[4]: Leaving directory '/builddir/build/BUILD/mutter-3.29.4/src' BUILDSTDERR: make[3]: *** [Makefile:2988: all-recursive] Error 1 make[3]: Leaving directory '/builddir/build/BUILD/mutter-3.29.4/src' make[2]: Leaving directory '/builddir/build/BUILD/mutter-3.29.4/src' BUILDSTDERR: make[2]: *** [Makefile:1835: all] Error 2 BUILDSTDERR: make[1]: *** [Makefile:492: all-recursive] Error 1 BUILDSTDERR: make: *** [Makefile:422: all] Error 2 make[1]: Leaving directory '/builddir/build/BUILD/mutter-3.29.4' RPM build errors: BUILDSTDERR: error: Bad exit status from /var/tmp/rpm-tmp.GkoyLl (%build) BUILDSTDERR: Bad exit status from /var/tmp/rpm-tmp.GkoyLl (%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/mutter.spec