Mock Version: 1.4.21 Mock Version: 1.4.21 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/pangox-compat.spec'], chrootPath='/var/lib/mock/f33-build-255599-50780/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'}shell=Falselogger=timeout=432000uid=987gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=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'} 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.fc33.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/pangox-compat.spec'], chrootPath='/var/lib/mock/f33-build-255599-50780/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'}shell=Falselogger=timeout=432000uid=987gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=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'} 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.qT3nXM + 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 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.AEXiPP + umask 022 + cd /builddir/build/BUILD + cd pangox-compat-0.0.2 + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -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 + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + '[' '%{_lto_cflags}x' '!=' x ']' ++ find . -type f -name configure -print + for file in $(find . -type f -name configure -print) + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\) = /__attribute__ ((used)) char (*f) () = /g' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\);/__attribute__ ((used)) char (*f) ();/g' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed -r --in-place=.backup 's/^char \$2 \(\);/__attribute__ ((used)) char \$2 ();/g' ./configure + diff -u ./configure.backup ./configure --- ./configure.backup 2012-10-16 21:46:59.000000000 -0400 +++ ./configure 2020-06-05 20:55:28.147445750 -0400 @@ -1739,7 +1739,7 @@ #ifdef __cplusplus extern "C" #endif -char $2 (); +__attribute__ ((used)) char $2 (); /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ + /usr/bin/sed --in-place=.backup '1{$!N;$!N};$!N;s/int x = 1;\nint y = 0;\nint z;\nint nan;/volatile int x = 1; volatile int y = 0; volatile int z, nan;/;P;D' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed --in-place=.backup 's#^lt_cv_sys_global_symbol_to_cdecl=.*#lt_cv_sys_global_symbol_to_cdecl="sed -n -e '\''s/^T .* \\(.*\\)$/extern int \\1();/p'\'' -e '\''s/^$symcode* .* \\(.*\\)$/extern char \\1;/p'\''"#' ./configure + diff -u ./configure.backup ./configure --- ./configure.backup 2020-06-05 20:55:28.147445750 -0400 +++ ./configure 2020-06-05 20:55:28.907445622 -0400 @@ -12949,7 +12949,7 @@ compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`' GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`' lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`' -lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`' +lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'" lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`' lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`' nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`' + '[' 1 = 1 ']' +++ dirname ./configure ++ find . -name config.guess -o -name config.sub + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./config.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /usr/bin/rm -f ./config.sub ++ basename ./config.sub + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ./config.sub '/usr/lib/rpm/redhat/config.sub' -> './config.sub' + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./config.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /usr/bin/rm -f ./config.guess ++ basename ./config.guess + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ./config.guess '/usr/lib/rpm/redhat/config.guess' -> './config.guess' + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' ']' ++ 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 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... 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 checking 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 + make -j4 CC libpangox_1_0_la-pangox.lo CC libpangox_1_0_la-pangox-fontmap.lo CC libpangox_1_0_la-pangox-fontcache.lo CC libpangox_1_0_la-basic-x.lo pangox-fontmap.c: In function 'pango_x_font_map_for_display': pangox-fontmap.c:299:2: warning: 'pango_module_register' is deprecated [-Wdeprecated-declarations] 299 | pango_module_register (&_pango_included_x_modules[i]); | ^~~~~~~~~~~~~~~~~~~~~ In file included from pangox-private.h:26, from pangox-fontmap.c:39: /usr/include/pango-1.0/pango/pango-modules.h:71:16: note: declared here 71 | void pango_module_register (PangoIncludedModule *module); | ^~~~~~~~~~~~~~~~~~~~~ pangox-fontmap.c:303:3: warning: 'g_type_init' is deprecated [-Wdeprecated-declarations] 303 | g_type_init (); | ^~~~~~~~~~~ In file included from /usr/include/glib-2.0/gobject/gobject.h:24, from /usr/include/glib-2.0/gobject/gbinding.h:29, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/pango-1.0/pango/pango-types.h:26, from /usr/include/pango-1.0/pango/pango-engine.h:25, from pangox-fontmap.c:33: /usr/include/glib-2.0/gobject/gtype.h:691:23: note: declared here 691 | void g_type_init (void); | ^~~~~~~~~~~ pangox-fontmap.c: In function 'pango_x_get_cached_coverage': pangox-fontmap.c:740:6: warning: 'pango_coverage_from_bytes' is deprecated [-Wdeprecated-declarations] 740 | result = pango_coverage_from_bytes (data, n_items); | ^~~~~~ In file included from /usr/include/pango-1.0/pango/pango-font.h:25, from /usr/include/pango-1.0/pango/pango-attributes.h:25, from /usr/include/pango-1.0/pango/pango-item.h:26, from /usr/include/pango-1.0/pango/pango-engine.h:26, from pangox-fontmap.c:33: /usr/include/pango-1.0/pango/pango-coverage.h:92:16: note: declared here 92 | PangoCoverage *pango_coverage_from_bytes (guchar *bytes, | ^~~~~~~~~~~~~~~~~~~~~~~~~ pangox-fontmap.c: In function 'pango_x_store_cached_coverage': pangox-fontmap.c:773:3: warning: 'pango_coverage_to_bytes' is deprecated [-Wdeprecated-declarations] 773 | pango_coverage_to_bytes (coverage, &bytes, &size); | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/pango-1.0/pango/pango-font.h:25, from /usr/include/pango-1.0/pango/pango-attributes.h:25, from /usr/include/pango-1.0/pango/pango-item.h:26, from /usr/include/pango-1.0/pango/pango-engine.h:26, from pangox-fontmap.c:33: /usr/include/pango-1.0/pango/pango-coverage.h:88:16: note: declared here 88 | void pango_coverage_to_bytes (PangoCoverage *coverage, | ^~~~~~~~~~~~~~~~~~~~~~~ pangox-fontmap.c: In function 'pango_x_font_map_read_alias_file': pangox-fontmap.c:826:7: warning: 'pango_read_line' is deprecated [-Wdeprecated-declarations] 826 | while ((lines_read = pango_read_line (infile, line_buf))) | ^~~~~ In file included from /usr/include/pango-1.0/pango/pango.h:47, from pango-impl-utils.h:28, from pangox-fontmap.c:35: /usr/include/pango-1.0/pango/pango-utils.h:37:10: note: declared here 37 | gint pango_read_line (FILE *stream, | ^~~~~~~~~~~~~~~ pangox-fontmap.c:838:4: warning: 'pango_skip_space' is deprecated [-Wdeprecated-declarations] 838 | if (!pango_skip_space (&p)) | ^~ In file included from /usr/include/pango-1.0/pango/pango.h:47, from pango-impl-utils.h:28, from pangox-fontmap.c:35: /usr/include/pango-1.0/pango/pango-utils.h:40:10: note: declared here 40 | gboolean pango_skip_space (const char **pos); | ^~~~~~~~~~~~~~~~ pangox-fontmap.c:841:4: warning: 'pango_scan_string' is deprecated [-Wdeprecated-declarations] 841 | if (!pango_scan_string (&p, tmp_buf)) | ^~ In file included from /usr/include/pango-1.0/pango/pango.h:47, from pango-impl-utils.h:28, from pangox-fontmap.c:35: /usr/include/pango-1.0/pango/pango-utils.h:45:10: note: declared here 45 | gboolean pango_scan_string (const char **pos, | ^~~~~~~~~~~~~~~~~ pangox-fontmap.c:851:4: warning: 'pango_scan_string' is deprecated [-Wdeprecated-declarations] 851 | if (!pango_scan_string (&p, tmp_buf)) | ^~ In file included from /usr/include/pango-1.0/pango/pango.h:47, from pango-impl-utils.h:28, from pangox-fontmap.c:35: /usr/include/pango-1.0/pango/pango-utils.h:45:10: note: declared here 45 | gboolean pango_scan_string (const char **pos, | ^~~~~~~~~~~~~~~~~ pangox-fontmap.c:858:4: warning: 'pango_scan_string' is deprecated [-Wdeprecated-declarations] 858 | if (!pango_scan_string (&p, tmp_buf)) | ^~ In file included from /usr/include/pango-1.0/pango/pango.h:47, from pango-impl-utils.h:28, from pangox-fontmap.c:35: /usr/include/pango-1.0/pango/pango-utils.h:45:10: note: declared here 45 | gboolean pango_scan_string (const char **pos, | ^~~~~~~~~~~~~~~~~ pangox-fontmap.c:865:4: warning: 'pango_scan_string' is deprecated [-Wdeprecated-declarations] 865 | if (!pango_scan_string (&p, tmp_buf)) | ^~ In file included from /usr/include/pango-1.0/pango/pango.h:47, from pango-impl-utils.h:28, from pangox-fontmap.c:35: /usr/include/pango-1.0/pango/pango-utils.h:45:10: note: declared here 45 | gboolean pango_scan_string (const char **pos, | ^~~~~~~~~~~~~~~~~ pangox-fontmap.c:872:4: warning: 'pango_scan_string' is deprecated [-Wdeprecated-declarations] 872 | if (!pango_scan_string (&p, tmp_buf)) | ^~ In file included from /usr/include/pango-1.0/pango/pango.h:47, from pango-impl-utils.h:28, from pangox-fontmap.c:35: /usr/include/pango-1.0/pango/pango-utils.h:45:10: note: declared here 45 | gboolean pango_scan_string (const char **pos, | ^~~~~~~~~~~~~~~~~ pangox-fontmap.c:879:4: warning: 'pango_scan_string' is deprecated [-Wdeprecated-declarations] 879 | if (!pango_scan_string (&p, tmp_buf)) | ^~ In file included from /usr/include/pango-1.0/pango/pango.h:47, from pango-impl-utils.h:28, from pangox-fontmap.c:35: /usr/include/pango-1.0/pango/pango-utils.h:45:10: note: declared here 45 | gboolean pango_scan_string (const char **pos, | ^~~~~~~~~~~~~~~~~ pangox-fontmap.c:887:8: warning: 'pango_trim_string' is deprecated [-Wdeprecated-declarations] 887 | char *trimmed = pango_trim_string (xlfds[i]); | ^~~~ In file included from /usr/include/pango-1.0/pango/pango.h:47, from pango-impl-utils.h:28, from pangox-fontmap.c:35: /usr/include/pango-1.0/pango/pango-utils.h:35:10: note: declared here 35 | char *pango_trim_string (const char *str); | ^~~~~~~~~~~~~~~~~ pangox-fontmap.c: In function 'pango_x_font_map_read_aliases': pangox-fontmap.c:944:21: warning: implicit declaration of function 'pango_config_key_get'; did you mean 'pango_coverage_get'? [-Wimplicit-function-declaration] 944 | char *files_str = pango_config_key_get ("PangoX/AliasFiles"); | ^~~~~~~~~~~~~~~~~~~~ | pango_coverage_get pangox-fontmap.c:944:21: warning: initialization of 'char *' from 'int' makes pointer from integer without a cast [-Wint-conversion] pangox-fontmap.c:950:3: warning: 'pango_split_file_list' is deprecated [-Wdeprecated-declarations] 950 | files = pango_split_file_list (files_str); | ^~~~~ In file included from /usr/include/pango-1.0/pango/pango.h:47, from pango-impl-utils.h:28, from pangox-fontmap.c:35: /usr/include/pango-1.0/pango/pango-utils.h:32:10: note: declared here 32 | char ** pango_split_file_list (const char *str); | ^~~~~~~~~~~~~~~~~~~~~ pangox-fontmap.c: At top level: pangox-fontmap.c:1452:13: warning: Deprecated pre-processor symbol, replace with 1452 | G_CONST_RETURN char * | ^~~~~~~~~ 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 * | ^~~~~~~~~~~~~~~~ pangox.c: In function 'pango_x_font_class_init': pangox.c:282:13: error: 'PangoFontClass' {aka 'struct _PangoFontClass'} has no member named 'find_shaper' 282 | font_class->find_shaper = pango_x_font_find_shaper; | ^~ pangox.c: In function 'itemize_string_foreach': pangox.c:758:4: warning: 'pango_font_find_shaper' is deprecated [-Wdeprecated-declarations] 758 | shaper = pango_font_find_shaper (font, language, wc); | ^~~~~~ In file included 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-font.h:625:23: note: declared here 625 | PangoEngineShape * pango_font_find_shaper (PangoFont *font, | ^~~~~~~~~~~~~~~~~~~~~~ pangox.c: In function 'pango_x_font_get_metrics': pangox.c:983:17: warning: implicit declaration of function 'pango_font_metrics_new'; did you mean 'pango_font_metrics_ref'? [-Wimplicit-function-declaration] 983 | metrics = pango_font_metrics_new (); | ^~~~~~~~~~~~~~~~~~~~~~ | pango_font_metrics_ref pangox.c:983:15: warning: assignment to 'PangoFontMetrics *' {aka 'struct _PangoFontMetrics *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] 983 | metrics = pango_font_metrics_new (); | ^ pangox.c: In function 'pango_x_get_shaper_map': pangox.c:1359:3: warning: 'pango_find_map' is deprecated [-Wdeprecated-declarations] 1359 | return pango_find_map (language, engine_type_id, render_type_id); | ^~~~~~ In file included from pangox-private.h:26, from pangox.c:30: /usr/include/pango-1.0/pango/pango-modules.h:59:16: note: declared here 59 | PangoMap * pango_find_map (PangoLanguage *language, | ^~~~~~~~~~~~~~ pangox.c: In function 'pango_x_font_find_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