ce_get_face_name' defined but not used [-Wunused-function] BUILDSTDERR: 1487 | pango_x_face_get_face_name (PangoFontFace *face) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: pangox-fontmap.c:1479:1: warning: 'pango_x_face_describe' defined but not used [-Wunused-function] BUILDSTDERR: 1479 | pango_x_face_describe (PangoFontFace *face) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: make: *** [Makefile:442: libpangox_1_0_la-pangox-fontmap.lo] Error 1 BUILDSTDERR: basic-x.c: In function 'basic_engine_shape': BUILDSTDERR: basic-x.c:592:2: warning: 'pango_get_mirror_char' is deprecated: Use 'g_unichar_get_mirror_char' instead [-Wdeprecated-declarations] BUILDSTDERR: 592 | if (pango_get_mirror_char (wc, &mirrored_ch)) BUILDSTDERR: | ^~ BUILDSTDERR: In file included from /usr/include/pango-1.0/pango/pango-types.h:200, BUILDSTDERR: from /usr/include/pango-1.0/pango/pango-engine.h:25, BUILDSTDERR: from basic-x.c:24: BUILDSTDERR: /usr/include/pango-1.0/pango/pango-bidi-type.h:99:16: note: declared here BUILDSTDERR: 99 | gboolean pango_get_mirror_char (gunichar ch, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: basic-x.c: In function 'basic_engine_x_class_init': BUILDSTDERR: 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] BUILDSTDERR: 687 | class->script_shape = basic_engine_shape; BUILDSTDERR: | ^ BUILDSTDERR: basic-x.c: In function 'basic_engine_x_compat_register_type': BUILDSTDERR: basic-x.c:690:1: warning: 'pango_engine_shape_get_type' is deprecated [-Wdeprecated-declarations] BUILDSTDERR: 690 | PANGO_ENGINE_SHAPE_DEFINE_TYPE (BasicEngineXCompat, basic_engine_x_compat, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from basic-x.c:24: BUILDSTDERR: /usr/include/pango-1.0/pango/pango-engine.h:238:7: note: declared here BUILDSTDERR: 238 | GType pango_engine_shape_get_type (void) G_GNUC_CONST; BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: error: Bad exit status from /var/tmp/rpm-tmp.q8WuQA (%build) BUILDSTDERR: Bad exit status from /var/tmp/rpm-tmp.q8WuQA (%build) pkg-config is at least version 0.9.0... yes checking for PANGO... yes checking for X... libraries , headers checking for gethostbyname... yes checking for connect... yes checking for remove... yes checking for shmat... yes checking for IceConnectionNumber in -lICE... no configure: creating ./config.status config.status: creating Makefile config.status: creating pangox.pc config.status: executing depfiles commands config.status: executing libtool commands CC libpangox_1_0_la-pangox.lo CC libpangox_1_0_la-pangox-fontcache.lo CC libpangox_1_0_la-pangox-fontmap.lo CC libpangox_1_0_la-basic-x.lo RPM build errors: Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.7/site-packages/mockbuild/trace_decorator.py", line 96, in trace result = func(*args, **kw) File "/usr/lib/python3.7/site-packages/mockbuild/util.py", line 700, 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/pangox-compat.spec