d_shaper': pangox.c:1380:3: warning: 'pango_script_for_unichar' is deprecated: Use 'g_unichar_get_script' instead [-Wdeprecated-declarations] 1380 | script = pango_script_for_unichar (ch); | ^~~~~~ In file included from /usr/include/pango-1.0/pango/pango-gravity.h:112, from /usr/include/pango-1.0/pango/pango-types.h:196, from /usr/include/pango-1.0/pango/pango-font.h:26, from /usr/include/pango-1.0/pango/pango-attributes.h:25, from /usr/include/pango-1.0/pango/pango.h:25, from pango-impl-utils.h:28, from pangox.c:29: /usr/include/pango-1.0/pango/pango-script.h:310:13: note: declared here 310 | PangoScript pango_script_for_unichar (gunichar ch) G_GNUC_CONST; | ^~~~~~~~~~~~~~~~~~~~~~~~ pangox.c:1381:3: warning: 'pango_map_get_engine' is deprecated [-Wdeprecated-declarations] 1381 | return (PangoEngineShape *)pango_map_get_engine (shape_map, script); | ^~~~~~ In file included from pangox-private.h:26, from pangox.c:30: /usr/include/pango-1.0/pango/pango-modules.h:63:16: note: declared here 63 | PangoEngine * pango_map_get_engine (PangoMap *map, | ^~~~~~~~~~~~~~~~~~~~ make: *** [Makefile:428: libpangox_1_0_la-pangox.lo] Error 1 make: *** Waiting for unfinished jobs.... 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.AEXiPP (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.AEXiPP (%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