make: *** [Makefile:428: libpangox_1_0_la-pangox.lo] Error 1 make: *** Waiting for unfinished jobs.... pangox-fontmap.c: In function 'engine_shape_covers': pangox-fontmap.c:1548:3: warning: 'pango_engine_shape_get_type' is deprecated [-Wdeprecated-declarations] 1548 | g_return_val_if_fail (PANGO_IS_ENGINE_SHAPE (engine), PANGO_COVERAGE_NONE); | ^~~~~~~~~~~~~~~~~~~~ In file included from pangox-fontmap.c:33: /usr/include/pango-1.0/pango/pango-engine.h:238:7: note: declared here 238 | GType pango_engine_shape_get_type (void) G_GNUC_CONST; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ pangox-fontmap.c: In function 'pango_x_face_get_coverage': pangox-fontmap.c:1597:7: warning: 'pango_map_get_engine' is deprecated [-Wdeprecated-declarations] 1597 | engine = (PangoEngineShape *)pango_map_get_engine (shape_map, PANGO_SCRIPT_COMMON); | ^~~~~~ In file included from pangox-private.h:26, from pangox-fontmap.c:39: /usr/include/pango-1.0/pango/pango-modules.h:63:16: note: declared here 63 | PangoEngine * pango_map_get_engine (PangoMap *map, | ^~~~~~~~~~~~~~~~~~~~ pangox-fontmap.c: At top level: pangox-fontmap.c:1656:13: warning: Deprecated pre-processor symbol, replace with 1656 | static G_CONST_RETURN char * | ^~~~~~~~~~~~~~~~ basic-x.c: In function 'basic_engine_shape': basic-x.c:592:2: warning: 'pango_get_mirror_char' is deprecated: Use 'g_unichar_get_mirror_char' instead [-Wdeprecated-declarations] 592 | if (pango_get_mirror_char (wc, &mirrored_ch)) | ^~ In file included from /usr/include/pango-1.0/pango/pango-types.h:200, from /usr/include/pango-1.0/pango/pango-engine.h:25, from basic-x.c:24: /usr/include/pango-1.0/pango/pango-bidi-type.h:99:16: note: declared here 99 | gboolean pango_get_mirror_char (gunichar ch, | ^~~~~~~~~~~~~~~~~~~~~ basic-x.c: In function 'basic_engine_x_class_init': basic-x.c:687:23: warning: assignment to 'void (*)(PangoEngineShape *, PangoFont *, const char *, unsigned int, const PangoAnalysis *, PangoGlyphString *, const char *, unsigned int)' {aka 'void (*)(struct _PangoEngineShape *, struct _PangoFont *, const char *, unsigned int, const struct _PangoAnalysis *, struct _PangoGlyphString *, const char *, unsigned int)'} from incompatible pointer type 'void (*)(PangoEngineShape *, PangoFont *, const char *, gint, const PangoAnalysis *, PangoGlyphString *)' {aka 'void (*)(struct _PangoEngineShape *, struct _PangoFont *, const char *, int, const struct _PangoAnalysis *, struct _PangoGlyphString *)'} [-Wincompatible-pointer-types] 687 | class->script_shape = basic_engine_shape; | ^ basic-x.c: In function 'basic_engine_x_compat_register_type': basic-x.c:690:1: warning: 'pango_engine_shape_get_type' is deprecated [-Wdeprecated-declarations] 690 | PANGO_ENGINE_SHAPE_DEFINE_TYPE (BasicEngineXCompat, basic_engine_x_compat, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from basic-x.c:24: /usr/include/pango-1.0/pango/pango-engine.h:238:7: note: declared here 238 | GType pango_engine_shape_get_type (void) G_GNUC_CONST; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ error: Bad exit status from /var/tmp/rpm-tmp.N75YZH (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.N75YZH (%build) Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.8/site-packages/mockbuild/trace_decorator.py", line 95, in trace result = func(*args, **kw) File "/usr/lib/python3.8/site-packages/mockbuild/util.py", line 746, 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/pangox-compat.spec