Mock Version: 1.4.9 Mock Version: 1.4.9 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/pangox-compat.spec'], chrootPath='/var/lib/mock/f31-build-93100-32390/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8', 'http_proxy': 'http://192.168.0.254:3128', 'https_proxy': 'http://192.168.0.254:3128'}shell=Falselogger=timeout=345600uid=998gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/pangox-compat.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8', 'http_proxy': 'http://192.168.0.254:3128', 'https_proxy': 'http://192.168.0.254:3128'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1564099200 Wrote: /builddir/build/SRPMS/pangox-compat-0.0.2-15.fc31.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/pangox-compat.spec'], chrootPath='/var/lib/mock/f31-build-93100-32390/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8', 'http_proxy': 'http://192.168.0.254:3128', 'https_proxy': 'http://192.168.0.254:3128'}shell=Falselogger=timeout=345600uid=998gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/pangox-compat.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8', 'http_proxy': 'http://192.168.0.254:3128', 'https_proxy': 'http://192.168.0.254:3128'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1564099200 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.lEP7NX + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf pangox-compat-0.0.2 + /usr/bin/xz -dc /builddir/build/SOURCES/pangox-compat-0.0.2.tar.xz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd pangox-compat-0.0.2 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.zHVod1 + umask 022 + cd /builddir/build/BUILD + cd pangox-compat-0.0.2 + CFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + '[' 1 = 1 ']' BUILDSTDERR: +++ dirname ./configure BUILDSTDERR: ++ find . -name config.guess -o -name config.sub + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) BUILDSTDERR: ++ basename ./config.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /usr/bin/rm -f ./config.sub BUILDSTDERR: ++ basename ./config.sub + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ./config.sub + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) BUILDSTDERR: ++ basename ./config.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /usr/bin/rm -f ./config.guess BUILDSTDERR: ++ basename ./config.guess + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ./config.guess + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' ']' BUILDSTDERR: ++ find . -name ltmain.sh + for i in $(find . -name ltmain.sh) + /usr/bin/sed -i.backup -e 's~compiler_flags=$~compiler_flags="-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld"~' ./ltmain.sh + ./configure --build=riscv64-redhat-linux-gnu --host=riscv64-redhat-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --disable-static '/usr/lib/rpm/redhat/config.sub' -> './config.sub' '/usr/lib/rpm/redhat/config.guess' -> './config.guess' checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking for riscv64-redhat-linux-gnu-gcc... no checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking for style of include used by make... GNU checking dependency style of gcc... none checking build system type... riscv64-redhat-linux-gnu checking host system type... riscv64-redhat-linux-gnu checking how to print strings... printf checking for a sed that does not truncate output... /usr/bin/sed checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for fgrep... /usr/bin/grep -F checking for ld used by gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 1572864 checking whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... yes checking how to convert riscv64-redhat-linux-gnu file names to riscv64-redhat-linux-gnu format... func_convert_file_noop checking how to convert riscv64-redhat-linux-gnu file names to toolchain format... func_convert_file_noop checking for /usr/bin/ld option to reload object files... -r checking for riscv64-redhat-linux-gnu-objdump... no checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for riscv64-redhat-linux-gnu-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for riscv64-redhat-linux-gnu-ar... no checking for ar... ar checking for archiver @FILE support... @ checking for riscv64-redhat-linux-gnu-strip... no checking for strip... strip checking for riscv64-redhat-linux-gnu-ranlib... no checking for ranlib... ranlib checking command to parse /usr/bin/nm -B output from gcc object... ok checking for sysroot... no checking for riscv64-redhat-linux-gnu-mt... no checking for mt... no checking if : is a manifest tool... no checking how to run the C preprocessor... gcc -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking for dlfcn.h... yes checking for objdir... .libs checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... yes checking if gcc static flag -static works... no checking if gcc supports -c -o file.o... yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no checking for riscv64-redhat-linux-gnu-pkg-config... /usr/bin/riscv64-redhat-linux-gnu-pkg-config BUILDSTDERR: checking + make -j4 BUILDSTDERR: In file included from basic-x.c:28: BUILDSTDERR: pangox-private.h:34:13: error: field 'font' has incomplete type BUILDSTDERR: 34 | PangoFont font; BUILDSTDERR: | ^~~~ BUILDSTDERR: In file included from pangox.c:30: BUILDSTDERR: pangox-private.h:34:13: error: field 'font' has incomplete type BUILDSTDERR: 34 | PangoFont font; BUILDSTDERR: | ^~~~ BUILDSTDERR: pangox.c:66:3: error: unknown type name 'PangoFontClass' BUILDSTDERR: 66 | PangoFontClass parent_class; BUILDSTDERR: | ^~~~~~~~~~~~~~ BUILDSTDERR: pangox.c:69:8: error: unknown type name 'PangoFontClass' BUILDSTDERR: 69 | static PangoFontClass *parent_class; /* Parent class structure for PangoXFont */ BUILDSTDERR: | ^~~~~~~~~~~~~~ BUILDSTDERR: pangox.c: In function 'pango_x_font_class_init': BUILDSTDERR: pangox.c:273:3: error: unknown type name 'PangoFontClass'; did you mean 'PangoXFontClass'? BUILDSTDERR: 273 | PangoFontClass *font_class = PANGO_FONT_CLASS (class); BUILDSTDERR: | ^~~~~~~~~~~~~~ BUILDSTDERR: | PangoXFontClass BUILDSTDERR: In file included from pangox-fontmap.c:39: BUILDSTDERR: pangox-private.h:34:13: error: field 'font' has incomplete type BUILDSTDERR: 34 | PangoFont font; BUILDSTDERR: | ^~~~ BUILDSTDERR: pangox-fontmap.c:74:19: error: field 'parent_instance' has incomplete type BUILDSTDERR: 74 | PangoFontFamily parent_instance; BUILDSTDERR: | ^~~~~~~~~~~~~~~ BUILDSTDERR: pangox-fontmap.c:82:17: error: field 'parent_instance' has incomplete type BUILDSTDERR: 82 | PangoFontFace parent_instance; BUILDSTDERR: | ^~~~~~~~~~~~~~~ BUILDSTDERR: pangox-fontmap.c:173:8: error: unknown type name 'PangoFontClass' BUILDSTDERR: 173 | static PangoFontClass *font_map_parent_class; /* Parent class structure for PangoXFontMap */ BUILDSTDERR: | ^~~~~~~~~~~~~~ BUILDSTDERR: pangox-fontmap.c: In function 'pango_x_font_map_for_display': BUILDSTDERR: pangox-fontmap.c:299:2: warning: 'pango_module_register' is deprecated [-Wdeprecated-declarations] BUILDSTDERR: 299 | pango_module_register (&_pango_included_x_modules[i]); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from pangox-private.h:26, BUILDSTDERR: from pangox-fontmap.c:39: BUILDSTDERR: /usr/include/pango-1.0/pango/pango-modules.h:71:16: note: declared here BUILDSTDERR: 71 | void pango_module_register (PangoIncludedModule *module); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: pangox-fontmap.c:303:3: warning: 'g_type_init' is deprecated [-Wdeprecated-declarations] BUILDSTDERR: 303 | g_type_init (); BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/glib-2.0/gobject/gobject.h:24, BUILDSTDERR: from /usr/include/glib-2.0/gobject/gbinding.h:29, BUILDSTDERR: from /usr/include/glib-2.0/glib-object.h:23, BUILDSTDERR: from /usr/include/pango-1.0/pango/pango-types.h:26, BUILDSTDERR: from /usr/include/pango-1.0/pango/pango-engine.h:25, BUILDSTDERR: from pangox-fontmap.c:33: BUILDSTDERR: /usr/include/glib-2.0/gobject/gtype.h:688:23: note: declared here BUILDSTDERR: 688 | void g_type_init (void); BUILDSTDERR: | ^~~~~~~~~~~ BUILDSTDERR: pangox.c:273:32: warning: implicit declaration of function 'PANGO_FONT_CLASS'; did you mean 'PANGO_X_FONT_CLASS'? [-Wimplicit-function-declaration] BUILDSTDERR: 273 | PangoFontClass *font_class = PANGO_FONT_CLASS (class); BUILDSTDERR: | ^~~~~~~~~~~~~~~~ BUILDSTDERR: | PANGO_X_FONT_CLASS BUILDSTDERR: pangox.c:273:32: warning: initialization of 'int *' from 'int' makes pointer from integer without a cast [-Wint-conversion] BUILDSTDERR: pangox.c:280:13: error: request for member 'describe' in something not a structure or union BUILDSTDERR: 280 | font_class->describe = pango_x_font_describe; BUILDSTDERR: | ^~ BUILDSTDERR: pangox.c:281:13: error: request for member 'get_coverage' in something not a structure or union BUILDSTDERR: 281 | font_class->get_coverage = pango_x_font_get_coverage; BUILDSTDERR: | ^~ BUILDSTDERR: pangox.c:282:13: error: request for member 'find_shaper' in something not a structure or union BUILDSTDERR: 282 | font_class->find_shaper = pango_x_font_find_shaper; BUILDSTDERR: | ^~ BUILDSTDERR: pangox.c:283:13: error: request for member 'get_glyph_extents' in something not a structure or union BUILDSTDERR: 283 | font_class->get_glyph_extents = pango_x_font_get_glyph_extents; BUILDSTDERR: | ^~ BUILDSTDERR: pangox.c:284:13: error: request for member 'get_metrics' in something not a structure or union BUILDSTDERR: 284 | font_class->get_metrics = pango_x_font_get_metrics; BUILDSTDERR: | ^~ BUILDSTDERR: pangox.c:285:13: error: request for member 'get_font_map' in something not a structure or union BUILDSTDERR: 285 | font_class->get_font_map = pango_x_font_get_font_map; BUILDSTDERR: | ^~ BUILDSTDERR: In file included from /usr/include/pango-1.0/pango/pango-font.h:26, BUILDSTDERR: from /usr/include/pango-1.0/pango/pango-attributes.h:25, BUILDSTDERR: from /usr/include/pango-1.0/pango/pango.h:25, BUILDSTDERR: from pango-impl-utils.h:28, BUILDSTDERR: from pangox.c:29: BUILDSTDERR: pangox.c: In function 'pango_x_render': BUILDSTDERR: pangox.c:465:44: error: dereferencing pointer to incomplete type 'PangoFontMetrics' {aka 'struct _PangoFontMetrics'} BUILDSTDERR: 465 | y1 = glyph_y - PANGO_PIXELS (metrics->ascent); BUILDSTDERR: | ^~ BUILDSTDERR: /usr/include/pango-1.0/pango/pango-types.h:93:33: note: in definition of macro 'PANGO_PIXELS' BUILDSTDERR: 93 | #define PANGO_PIXELS(d) (((int)(d) + 512) >> 10) BUILDSTDERR: | ^ BUILDSTDERR: pangox-fontmap.c: In function 'pango_x_get_cached_coverage': BUILDSTDERR: pangox-fontmap.c:740:6: warning: 'pango_coverage_from_bytes' is deprecated [-Wdeprecated-declarations] BUILDSTDERR: 740 | result = pango_coverage_from_bytes (data, n_items); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: In file included from /usr/include/pango-1.0/pango/pango-font.h:25, BUILDSTDERR: from /usr/include/pango-1.0/pango/pango-attributes.h:25, BUILDSTDERR: from /usr/include/pango-1.0/pango/pango-item.h:26, BUILDSTDERR: from /usr/include/pango-1.0/pango/pango-engine.h:26, BUILDSTDERR: from pangox-fontmap.c:33: BUILDSTDERR: /usr/include/pango-1.0/pango/pango-coverage.h:92:16: note: declared here BUILDSTDERR: 92 | PangoCoverage *pango_coverage_from_bytes (guchar *bytes, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: pangox-fontmap.c: In function 'pango_x_store_cached_coverage': BUILDSTDERR: pangox-fontmap.c:773:3: warning: 'pango_coverage_to_bytes' is deprecated [-Wdeprecated-declarations] BUILDSTDERR: 773 | pango_coverage_to_bytes (coverage, &bytes, &size); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/pango-1.0/pango/pango-font.h:25, BUILDSTDERR: from /usr/include/pango-1.0/pango/pango-attributes.h:25, BUILDSTDERR: from /usr/include/pango-1.0/pango/pango-item.h:26, BUILDSTDERR: from /usr/include/pango-1.0/pango/pango-engine.h:26, BUILDSTDERR: from pangox-fontmap.c:33: BUILDSTDERR: /usr/include/pango-1.0/pango/pango-coverage.h:88:16: note: declared here BUILDSTDERR: 88 | void pango_coverage_to_bytes (PangoCoverage *coverage, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: pangox-fontmap.c: In function 'pango_x_font_map_read_alias_file': BUILDSTDERR: pangox-fontmap.c:826:7: warning: 'pango_read_line' is deprecated [-Wdeprecated-declarations] BUILDSTDERR: 826 | while ((lines_read = pango_read_line (infile, line_buf))) BUILDSTDERR: | ^~~~~ BUILDSTDERR: In file included from /usr/include/pango-1.0/pango/pango.h:47, BUILDSTDERR: from pango-impl-utils.h:28, BUILDSTDERR: from pangox-fontmap.c:35: BUILDSTDERR: /usr/include/pango-1.0/pango/pango-utils.h:37:10: note: declared here BUILDSTDERR: 37 | gint pango_read_line (FILE *stream, BUILDSTDERR: | ^~~~~~~~~~~~~~~ BUILDSTDERR: pangox-fontmap.c:838:4: warning: 'pango_skip_space' is deprecated [-Wdeprecated-declarations] BUILDSTDERR: 838 | if (!pango_skip_space (&p)) BUILDSTDERR: | ^~ BUILDSTDERR: In file included from /usr/include/pango-1.0/pango/pango.h:47, BUILDSTDERR: from pango-impl-utils.h:28, BUILDSTDERR: from pangox-fontmap.c:35: BUILDSTDERR: /usr/include/pango-1.0/pango/pango-utils.h:40:10: note: declared here BUILDSTDERR: 40 | gboolean pango_skip_space (const char **pos); BUILDSTDERR: | ^~~~~~~~~~~~~~~~ BUILDSTDERR: pangox-fontmap.c:841:4: warning: 'pango_scan_string' is deprecated [-Wdeprecated-declarations] BUILDSTDERR: 841 | if (!pango_scan_string (&p, tmp_buf)) BUILDSTDERR: | ^~ BUILDSTDERR: In file included from /usr/include/pango-1.0/pango/pango.h:47, BUILDSTDERR: from pango-impl-utils.h:28, BUILDSTDERR: from pangox-fontmap.c:35: BUILDSTDERR: /usr/include/pango-1.0/pango/pango-utils.h:45:10: note: declared here BUILDSTDERR: 45 | gboolean pango_scan_string (const char **pos, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~ BUILDSTDERR: pangox-fontmap.c:851:4: warning: 'pango_scan_string' is deprecated [-Wdeprecated-declarations] BUILDSTDERR: 851 | if (!pango_scan_string (&p, tmp_buf)) BUILDSTDERR: | ^~ BUILDSTDERR: In file included from /usr/include/pango-1.0/pango/pango.h:47, BUILDSTDERR: from pango-impl-utils.h:28, BUILDSTDERR: from pangox-fontmap.c:35: BUILDSTDERR: /usr/include/pango-1.0/pango/pango-utils.h:45:10: note: declared here BUILDSTDERR: 45 | gboolean pango_scan_string (const char **pos, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~ BUILDSTDERR: pangox-fontmap.c:858:4: warning: 'pango_scan_string' is deprecated [-Wdeprecated-declarations] BUILDSTDERR: 858 | if (!pango_scan_string (&p, tmp_buf)) BUILDSTDERR: | ^~ BUILDSTDERR: In file included from /usr/include/pango-1.0/pango/pango.h:47, BUILDSTDERR: from pango-impl-utils.h:28, BUILDSTDERR: from pangox-fontmap.c:35: BUILDSTDERR: /usr/include/pango-1.0/pango/pango-utils.h:45:10: note: declared here BUILDSTDERR: 45 | gboolean pango_scan_string (const char **pos, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~ BUILDSTDERR: pangox-fontmap.c:865:4: warning: 'pango_scan_string' is deprecated [-Wdeprecated-declarations] BUILDSTDERR: 865 | if (!pango_scan_string (&p, tmp_buf)) BUILDSTDERR: | ^~ BUILDSTDERR: In file included from /usr/include/pango-1.0/pango/pango.h:47, BUILDSTDERR: from pango-impl-utils.h:28, BUILDSTDERR: from pangox-fontmap.c:35: BUILDSTDERR: /usr/include/pango-1.0/pango/pango-utils.h:45:10: note: declared here BUILDSTDERR: 45 | gboolean pango_scan_string (const char **pos, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~ BUILDSTDERR: pangox-fontmap.c:872:4: warning: 'pango_scan_string' is deprecated [-Wdeprecated-declarations] BUILDSTDERR: 872 | if (!pango_scan_string (&p, tmp_buf)) BUILDSTDERR: | ^~ BUILDSTDERR: In file included from /usr/include/pango-1.0/pango/pango.h:47, BUILDSTDERR: from pango-impl-utils.h:28, BUILDSTDERR: from pangox-fontmap.c:35: BUILDSTDERR: /usr/include/pango-1.0/pango/pango-utils.h:45:10: note: declared here BUILDSTDERR: 45 | gboolean pango_scan_string (const char **pos, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~ BUILDSTDERR: pangox.c: In function 'itemize_string_foreach': BUILDSTDERR: pangox.c:758:4: warning: 'pango_font_find_shaper' is deprecated [-Wdeprecated-declarations] BUILDSTDERR: 758 | shaper = pango_font_find_shaper (font, language, wc); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: pangox-fontmap.c:879:4: warning: 'pango_scan_string' is deprecated [-Wdeprecated-declarations] BUILDSTDERR: 879 | if (!pango_scan_string (&p, tmp_buf)) BUILDSTDERR: | ^~ BUILDSTDERR: In file included from /usr/include/pango-1.0/pango/pango.h:47, BUILDSTDERR: from pango-impl-utils.h:28, BUILDSTDERR: from pangox-fontmap.c:35: BUILDSTDERR: /usr/include/pango-1.0/pango/pango-utils.h:45:10: note: declared here BUILDSTDERR: 45 | gboolean pango_scan_string (const char **pos, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/pango-1.0/pango/pango-attributes.h:25, BUILDSTDERR: from /usr/include/pango-1.0/pango/pango.h:25, BUILDSTDERR: from pango-impl-utils.h:28, BUILDSTDERR: from pangox.c:29: BUILDSTDERR: /usr/include/pango-1.0/pango/pango-font.h:474:23: note: declared here BUILDSTDERR: 474 | PangoEngineShape * pango_font_find_shaper (PangoFont *font, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: pangox-fontmap.c:887:8: warning: 'pango_trim_string' is deprecated [-Wdeprecated-declarations] BUILDSTDERR: 887 | char *trimmed = pango_trim_string (xlfds[i]); BUILDSTDERR: | ^~~~ BUILDSTDERR: In file included from /usr/include/pango-1.0/pango/pango.h:47, BUILDSTDERR: from pango-impl-utils.h:28, BUILDSTDERR: from pangox-fontmap.c:35: BUILDSTDERR: /usr/include/pango-1.0/pango/pango-utils.h:35:10: note: declared here BUILDSTDERR: 35 | char *pango_trim_string (const char *str); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~ BUILDSTDERR: pangox.c: In function 'pango_x_font_get_metrics': BUILDSTDERR: pangox.c:983:17: warning: implicit declaration of function 'pango_font_metrics_new'; did you mean 'pango_font_metrics_ref'? [-Wimplicit-function-declaration] BUILDSTDERR: 983 | metrics = pango_font_metrics_new (); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: | pango_font_metrics_ref BUILDSTDERR: pangox.c:983:15: warning: assignment to 'PangoFontMetrics *' {aka 'struct _PangoFontMetrics *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] BUILDSTDERR: 983 | metrics = pango_font_metrics_new (); BUILDSTDERR: | ^ BUILDSTDERR: pangox.c: In function 'pango_x_get_shaper_map': BUILDSTDERR: pangox.c:1359:3: warning: 'pango_find_map' is deprecated [-Wdeprecated-declarations] BUILDSTDERR: 1359 | return pango_find_map (language, engine_type_id, render_type_id); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: pangox-fontmap.c: In function 'pango_x_font_map_read_aliases': BUILDSTDERR: In file included from pangox-private.h:26, BUILDSTDERR: from pangox.c:30: BUILDSTDERR: /usr/include/pango-1.0/pango/pango-modules.h:59:16: note: declared here BUILDSTDERR: 59 | PangoMap * pango_find_map (PangoLanguage *language, BUILDSTDERR: | ^~~~~~~~~~~~~~ BUILDSTDERR: pangox-fontmap.c:944:21: warning: implicit declaration of function 'pango_config_key_get'; did you mean 'pango_coverage_get'? [-Wimplicit-function-declaration] BUILDSTDERR: 944 | char *files_str = pango_config_key_get ("PangoX/AliasFiles"); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: | pango_coverage_get BUILDSTDERR: pangox-fontmap.c:944:21: warning: initialization of 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] BUILDSTDERR: pangox.c: In function 'pango_x_font_find_shaper': BUILDSTDERR: pangox.c:1380:3: warning: 'pango_script_for_unichar' is deprecated: Use 'g_unichar_get_script' instead [-Wdeprecated-declarations] BUILDSTDERR: 1380 | script = pango_script_for_unichar (ch); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: pangox-fontmap.c:950:3: warning: 'pango_split_file_list' is deprecated [-Wdeprecated-declarations] BUILDSTDERR: 950 | files = pango_split_file_list (files_str); BUILDSTDERR: | ^~~~~ BUILDSTDERR: In file included from /usr/include/pango-1.0/pango/pango.h:47, BUILDSTDERR: from pango-impl-utils.h:28, BUILDSTDERR: from pangox-fontmap.c:35: BUILDSTDERR: /usr/include/pango-1.0/pango/pango-utils.h:32:10: note: declared here BUILDSTDERR: 32 | char ** pango_split_file_list (const char *str); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/pango-1.0/pango/pango-gravity.h:112, BUILDSTDERR: from /usr/include/pango-1.0/pango/pango-types.h:196, BUILDSTDERR: from /usr/include/pango-1.0/pango/pango-font.h:26, BUILDSTDERR: from /usr/include/pango-1.0/pango/pango-attributes.h:25, BUILDSTDERR: from /usr/include/pango-1.0/pango/pango.h:25, BUILDSTDERR: from pango-impl-utils.h:28, BUILDSTDERR: from pangox.c:29: BUILDSTDERR: /usr/include/pango-1.0/pango/pango-script.h:310:13: note: declared here BUILDSTDERR: 310 | PangoScript pango_script_for_unichar (gunichar ch) G_GNUC_CONST; BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: pangox.c:1381:3: warning: 'pango_map_get_engine' is deprecated [-Wdeprecated-declarations] BUILDSTDERR: 1381 | return (PangoEngineShape *)pango_map_get_engine (shape_map, script); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: In file included from pangox-private.h:26, BUILDSTDERR: from pangox.c:30: BUILDSTDERR: /usr/include/pango-1.0/pango/pango-modules.h:63:16: note: declared here BUILDSTDERR: 63 | PangoEngine * pango_map_get_engine (PangoMap *map, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: pangox-fontmap.c: At top level: BUILDSTDERR: pangox-fontmap.c:1506:26: error: unknown type name 'PangoFontFaceClass'; did you mean 'PangoFontMapClass'? BUILDSTDERR: 1506 | pango_x_face_class_init (PangoFontFaceClass *class) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~ BUILDSTDERR: | PangoFontMapClass BUILDSTDERR: pangox-fontmap.c: In function 'pango_x_face_get_type': BUILDSTDERR: pangox-fontmap.c:1521:10: error: 'PangoFontFaceClass' undeclared (first use in this function); did you mean 'PangoFontMapClass'? BUILDSTDERR: 1521 | sizeof (PangoFontFaceClass), BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~ BUILDSTDERR: | PangoFontMapClass BUILDSTDERR: pangox-fontmap.c:1521:10: note: each undeclared identifier is reported only once for each function it appears in BUILDSTDERR: make: *** [Makefile:428: libpangox_1_0_la-pangox.lo] Error 1 BUILDSTDERR: make: *** Waiting for unfinished jobs.... BUILDSTDERR: pangox-fontmap.c:1524:19: error: 'pango_x_face_class_init' undeclared (first use in this function); did you mean 'pango_x_font_map_class_init'? BUILDSTDERR: 1524 | (GClassInitFunc) pango_x_face_class_init, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: | pango_x_font_map_class_init BUILDSTDERR: pangox-fontmap.c: In function 'engine_shape_covers': BUILDSTDERR: pangox-fontmap.c:1548:3: warning: 'pango_engine_shape_get_type' is deprecated [-Wdeprecated-declarations] BUILDSTDERR: 1548 | g_return_val_if_fail (PANGO_IS_ENGINE_SHAPE (engine), PANGO_COVERAGE_NONE); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from pangox-fontmap.c:33: 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: pangox-fontmap.c: In function 'pango_x_face_get_coverage': BUILDSTDERR: pangox-fontmap.c:1597:7: warning: 'pango_map_get_engine' is deprecated [-Wdeprecated-declarations] BUILDSTDERR: 1597 | engine = (PangoEngineShape *)pango_map_get_engine (shape_map, PANGO_SCRIPT_COMMON); BUILDSTDERR: | ^~~~~~ BUILDSTDERR: In file included from pangox-private.h:26, BUILDSTDERR: from pangox-fontmap.c:39: BUILDSTDERR: /usr/include/pango-1.0/pango/pango-modules.h:63:16: note: declared here BUILDSTDERR: 63 | PangoEngine * pango_map_get_engine (PangoMap *map, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: pangox-fontmap.c: At top level: BUILDSTDERR: pangox-fontmap.c:1665:28: error: unknown type name 'PangoFontFamilyClass'; did you mean 'PangoFontMapClass'? BUILDSTDERR: 1665 | pango_x_family_class_init (PangoFontFamilyClass *class) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: | PangoFontMapClass BUILDSTDERR: pangox-fontmap.c: In function 'pango_x_family_get_type': BUILDSTDERR: pangox-fontmap.c:1680:10: error: 'PangoFontFamilyClass' undeclared (first use in this function); did you mean 'PangoFontMapClass'? BUILDSTDERR: 1680 | sizeof (PangoFontFamilyClass), BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: | PangoFontMapClass BUILDSTDERR: pangox-fontmap.c:1683:19: error: 'pango_x_family_class_init' undeclared (first use in this function); did you mean 'pango_x_font_map_class_init'? BUILDSTDERR: 1683 | (GClassInitFunc) pango_x_family_class_init, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: | pango_x_font_map_class_init BUILDSTDERR: At top level: BUILDSTDERR: pangox-fontmap.c:1657:1: warning: 'pango_x_family_get_name' defined but not used [-Wunused-function] BUILDSTDERR: 1657 | pango_x_family_get_name (PangoFontFamily *family) BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: pangox-fontmap.c:1633:1: warning: 'pango_x_family_list_faces' defined but not used [-Wunused-function] BUILDSTDERR: 1633 | pango_x_family_list_faces (PangoFontFamily *family, BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: pangox-fontmap.c:1487:1: warning: 'pango_x_face_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: make: *** [Makefile:449: libpangox_1_0_la-basic-x.lo] Error 1 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: BUILDSTDERR: error: Bad exit status from /var/tmp/rpm-tmp.zHVod1 (%build) BUILDSTDERR: Bad exit status from /var/tmp/rpm-tmp.zHVod1 (%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/pangox-compat.spec