Mock Version: 3.5
Mock Version: 3.5
Mock Version: 3.5
ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target riscv64 --nodeps /builddir/build/SPECS/libgsystem.spec'], chrootPath='/var/lib/mock/f38-build-side-42-init-devel-1222430-30639/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=<mockbuild.trace_decorator.getLog object at 0xffffff73f86250>timeout=864000uid=996gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False)
Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target riscv64 --nodeps /builddir/build/SPECS/libgsystem.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False
Building target platforms: riscv64
Building for target riscv64
setting SOURCE_DATE_EPOCH=1674086400
Wrote: /builddir/build/SRPMS/libgsystem-2015.2-17.fc38.src.rpm
Child return code was: 0
ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target riscv64 --nodeps /builddir/build/SPECS/libgsystem.spec'], chrootPath='/var/lib/mock/f38-build-side-42-init-devel-1222430-30639/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=<mockbuild.trace_decorator.getLog object at 0xffffff73f86250>timeout=864000uid=996gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False)
Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target riscv64 --nodeps /builddir/build/SPECS/libgsystem.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;<mock-chroot>\\007"', 'PS1': '<mock-chroot> \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False
Building target platforms: riscv64
Building for target riscv64
setting SOURCE_DATE_EPOCH=1674086400
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.ZlDNa2
+ umask 022
+ cd /builddir/build/BUILD
+ cd /builddir/build/BUILD
+ rm -rf libgsystem-2015.2
+ /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/libgsystem-2015.2.tar.xz
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd libgsystem-2015.2
+ /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ /usr/bin/git init -q
+ /usr/bin/git config user.name rpm-build
+ /usr/bin/git config user.email '<rpm-build>'
+ /usr/bin/git config gc.auto 0
+ /usr/bin/git add --force .
+ /usr/bin/git commit -q --allow-empty -a --author 'rpm-build <rpm-build>' -m 'libgsystem-2015.2 base'
+ /usr/bin/git checkout --track -b rpm-build
Switched to a new branch 'rpm-build'
branch 'rpm-build' set up to track 'master'.
+ RPM_EC=0
++ jobs -p
+ exit 0
Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.n9u9Cr
+ umask 022
+ cd /builddir/build/BUILD
+ CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer '
+ export CFLAGS
+ CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer '
+ export CXXFLAGS
+ FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules '
+ export FFLAGS
+ FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules '
+ export FCFLAGS
+ VALAFLAGS=-g
+ export VALAFLAGS
+ LDFLAGS='-Wl,-z,relro -Wl,--as-needed  -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes '
+ export LDFLAGS
+ LT_SYS_LIBRARY_PATH=/usr/lib64:
+ export LT_SYS_LIBRARY_PATH
+ CC=gcc
+ export CC
+ CXX=g++
+ export CXX
+ cd libgsystem-2015.2
+ env NOCONFIGURE=1 ./autogen.sh
grep: warning: stray \ before ,
grep: warning: stray \ before white space
autoreconf: export WARNINGS=
autoreconf: Entering directory '.'
autoreconf: configure.ac: not using Gettext
autoreconf: running: aclocal --force -I buildutil ${ACLOCAL_FLAGS}
autoreconf: configure.ac: tracing
autoreconf: configure.ac: creating directory build-aux
autoreconf: running: libtoolize --copy --force
libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, 'build-aux'.
libtoolize: copying file 'build-aux/ltmain.sh'
libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'buildutil'.
libtoolize: copying file 'buildutil/libtool.m4'
libtoolize: copying file 'buildutil/ltoptions.m4'
libtoolize: copying file 'buildutil/ltsugar.m4'
libtoolize: copying file 'buildutil/ltversion.m4'
libtoolize: copying file 'buildutil/lt~obsolete.m4'
autoreconf: configure.ac: not using Intltool
autoreconf: running: gtkdocize --copy
grep: warning: stray \ before ,
grep: warning: stray \ before white space
autoreconf: running: aclocal --force -I buildutil ${ACLOCAL_FLAGS}
autoreconf: running: /usr/bin/autoconf --force
configure.ac:3: warning: The macro `AC_CONFIG_HEADER' is obsolete.
configure.ac:3: You should run autoupdate.
./lib/autoconf/status.m4:719: AC_CONFIG_HEADER is expanded from...
configure.ac:3: the top level
autoreconf: running: /usr/bin/autoheader --force
autoreconf: running: automake --add-missing --copy --force-missing
configure.ac:10: installing 'build-aux/compile'
configure.ac:30: installing 'build-aux/config.guess'
configure.ac:30: installing 'build-aux/config.sub'
configure.ac:7: installing 'build-aux/install-sh'
configure.ac:7: installing 'build-aux/missing'
buildutil/glib-tap.mk:19: warning: noinst_PROGRAMS multiply defined in condition TRUE ...
Makefile.am:41:   'Makefile-tests.am' included from here
Makefile-tests.am:1:   'buildutil/glib-tap.mk' included from here
Makefile-decls.am:34: ... 'noinst_PROGRAMS' previously defined here
Makefile.am:18:   'Makefile-decls.am' included from here
libglnx/Makefile-libglnx.am:20: warning: source file '$(libglnx_srcpath)/glnx-local-alloc.c' is in a subdirectory,
libglnx/Makefile-libglnx.am:20: but option 'subdir-objects' is disabled
Makefile.am:39:   'libglnx/Makefile-libglnx.am' included from here
automake: warning: possible forward-incompatibility.
automake: At least one source file is in a subdirectory, but the 'subdir-objects'
automake: automake option hasn't been enabled.  For now, the corresponding output
automake: object file(s) will be placed in the top-level directory.  However, this
automake: behavior may change in a future Automake major version, with object
automake: files being placed in the same subdirectory as the corresponding sources.
automake: You are advised to start using 'subdir-objects' option throughout your
automake: project, to avoid future incompatibilities.
libglnx/Makefile-libglnx.am:20: warning: source file '$(libglnx_srcpath)/glnx-errors.c' is in a subdirectory,
libglnx/Makefile-libglnx.am:20: but option 'subdir-objects' is disabled
Makefile.am:39:   'libglnx/Makefile-libglnx.am' included from here
libglnx/Makefile-libglnx.am:20: warning: source file '$(libglnx_srcpath)/glnx-console.c' is in a subdirectory,
libglnx/Makefile-libglnx.am:20: but option 'subdir-objects' is disabled
Makefile.am:39:   'libglnx/Makefile-libglnx.am' included from here
libglnx/Makefile-libglnx.am:20: warning: source file '$(libglnx_srcpath)/glnx-dirfd.c' is in a subdirectory,
libglnx/Makefile-libglnx.am:20: but option 'subdir-objects' is disabled
Makefile.am:39:   'libglnx/Makefile-libglnx.am' included from here
libglnx/Makefile-libglnx.am:20: warning: source file '$(libglnx_srcpath)/glnx-fdio.c' is in a subdirectory,
libglnx/Makefile-libglnx.am:20: but option 'subdir-objects' is disabled
Makefile.am:39:   'libglnx/Makefile-libglnx.am' included from here
libglnx/Makefile-libglnx.am:20: warning: source file '$(libglnx_srcpath)/glnx-libcontainer.c' is in a subdirectory,
libglnx/Makefile-libglnx.am:20: but option 'subdir-objects' is disabled
Makefile.am:39:   'libglnx/Makefile-libglnx.am' included from here
libglnx/Makefile-libglnx.am:20: warning: source file '$(libglnx_srcpath)/glnx-xattrs.c' is in a subdirectory,
libglnx/Makefile-libglnx.am:20: but option 'subdir-objects' is disabled
Makefile.am:39:   'libglnx/Makefile-libglnx.am' included from here
libglnx/Makefile-libglnx.am:20: warning: source file '$(libglnx_srcpath)/glnx-shutil.c' is in a subdirectory,
libglnx/Makefile-libglnx.am:20: but option 'subdir-objects' is disabled
Makefile.am:39:   'libglnx/Makefile-libglnx.am' included from here
Makefile-libgsystem.am:34: warning: source file 'src/gsystem-local-alloc.c' is in a subdirectory,
Makefile-libgsystem.am:34: but option 'subdir-objects' is disabled
Makefile.am:40:   'Makefile-libgsystem.am' included from here
Makefile-libgsystem.am:34: warning: source file 'src/gsystem-console.c' is in a subdirectory,
Makefile-libgsystem.am:34: but option 'subdir-objects' is disabled
Makefile.am:40:   'Makefile-libgsystem.am' included from here
Makefile-libgsystem.am:34: warning: source file 'src/gsystem-file-utils.c' is in a subdirectory,
Makefile-libgsystem.am:34: but option 'subdir-objects' is disabled
Makefile.am:40:   'Makefile-libgsystem.am' included from here
Makefile-libgsystem.am:34: warning: source file 'src/gsystem-shutil.c' is in a subdirectory,
Makefile-libgsystem.am:34: but option 'subdir-objects' is disabled
Makefile.am:40:   'Makefile-libgsystem.am' included from here
Makefile-libgsystem.am:34: warning: source file 'src/gsystem-errors.c' is in a subdirectory,
Makefile-libgsystem.am:34: but option 'subdir-objects' is disabled
Makefile.am:40:   'Makefile-libgsystem.am' included from here
Makefile-libgsystem.am:34: warning: source file 'src/gsystem-log.c' is in a subdirectory,
Makefile-libgsystem.am:34: but option 'subdir-objects' is disabled
Makefile.am:40:   'Makefile-libgsystem.am' included from here
Makefile-libgsystem.am:34: warning: source file 'src/gsystem-subprocess-context.c' is in a subdirectory,
Makefile-libgsystem.am:34: but option 'subdir-objects' is disabled
Makefile.am:40:   'Makefile-libgsystem.am' included from here
Makefile-libgsystem.am:34: warning: source file 'src/gsystem-subprocess.c' is in a subdirectory,
Makefile-libgsystem.am:34: but option 'subdir-objects' is disabled
Makefile.am:40:   'Makefile-libgsystem.am' included from here
automake: warning: source file 'tests/localalloc.c' is in a subdirectory,
automake: but option 'subdir-objects' is disabled
Makefile.am:41:   'Makefile-tests.am' included from here
Makefile-tests.am:11:   while processing program 'tests/localalloc'
automake: warning: source file 'tests/shutil.c' is in a subdirectory,
automake: but option 'subdir-objects' is disabled
Makefile.am:41:   'Makefile-tests.am' included from here
Makefile-tests.am:11:   while processing program 'tests/shutil'
Makefile.am: installing 'build-aux/depcomp'
parallel-tests: installing 'build-aux/test-driver'
autoreconf: Leaving directory '.'
+ CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer '
+ export CFLAGS
+ CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer '
+ export CXXFLAGS
+ FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules '
+ export FFLAGS
+ FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -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 -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules '
+ export FCFLAGS
+ VALAFLAGS=-g
+ export VALAFLAGS
+ LDFLAGS='-Wl,-z,relro -Wl,--as-needed  -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes '
+ export LDFLAGS
+ LT_SYS_LIBRARY_PATH=/usr/lib64:
+ export LT_SYS_LIBRARY_PATH
+ CC=gcc
+ export CC
+ CXX=g++
+ export CXX
+ '[' '-flto=auto -ffat-lto-objectsx' '!=' 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	2023-09-01 08:02:54.736570574 -0400
+++ ./configure	2023-09-01 08:03:28.156571433 -0400
@@ -1800,7 +1800,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	2023-09-01 08:03:28.156571433 -0400
+++ ./configure	2023-09-01 08:03:28.876571451 -0400
@@ -8287,7 +8287,7 @@
 # Transform an extracted symbol line into a proper C declaration.
 # Some systems (esp. on ia64) link data and code symbols differently,
 # so use this general approach.
-lt_cv_sys_global_symbol_to_cdecl="$SED -n"\
+lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
 $lt_cdecl_hook\
 " -e 's/^T .* \(.*\)$/extern int \1();/p'"\
 " -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'"
@@ -15924,7 +15924,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_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`'
 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"`'
+ '[' 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 ./build-aux/config.sub
+ '[' -f /usr/lib/rpm/redhat/config.sub ']'
+ /usr/bin/rm -f ./build-aux/config.sub
++ basename ./build-aux/config.sub
+ /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ./build-aux/config.sub
'/usr/lib/rpm/redhat/config.sub' -> './build-aux/config.sub'
+ for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub)
++ basename ./build-aux/config.guess
+ '[' -f /usr/lib/rpm/redhat/config.guess ']'
+ /usr/bin/rm -f ./build-aux/config.guess
++ basename ./build-aux/config.guess
+ /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ./build-aux/config.guess
'/usr/lib/rpm/redhat/config.guess' -> './build-aux/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"~' ./build-aux/ltmain.sh
++ grep -q runstatedir=DIR ./configure
++ echo --runstatedir=/run
+ ./configure --build=riscv64-koji-linux-gnu --host=riscv64-koji-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 --runstatedir=/run --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 race-free mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether UID '996' is supported by ustar format... yes
checking whether GID '135' is supported by ustar format... yes
checking how to create a ustar tar archive... gnutar
checking whether to enable maintainer-specific portions of Makefiles... yes
checking whether make supports nested variables... (cached) yes
checking whether make supports the include directive... yes (GNU style)
checking for riscv64-koji-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 the compiler supports GNU C... yes
checking whether gcc accepts -g... yes
checking for gcc option to enable C11 features... none needed
checking whether gcc understands -c and -o together... yes
checking dependency style of gcc... none
checking for stdio.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for strings.h... yes
checking for sys/stat.h... yes
checking for sys/types.h... yes
checking for unistd.h... yes
checking for wchar.h... yes
checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... yes
checking whether _XOPEN_SOURCE should be defined... no
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking for riscv64-koji-linux-gnu-gcc... (cached) gcc
checking whether the compiler supports GNU C... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to enable C11 features... (cached) none needed
checking whether gcc understands -c and -o together... (cached) yes
checking dependency style of gcc... (cached) none
checking build system type... riscv64-koji-linux-gnu
checking host system type... riscv64-koji-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 how to convert riscv64-koji-linux-gnu file names to riscv64-koji-linux-gnu format... func_convert_file_noop
checking how to convert riscv64-koji-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-koji-linux-gnu-file... no
checking for file... file
checking for riscv64-koji-linux-gnu-objdump... no
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for riscv64-koji-linux-gnu-dlltool... no
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for riscv64-koji-linux-gnu-ar... no
checking for ar... ar
checking for archiver @FILE support... @
checking for riscv64-koji-linux-gnu-strip... no
checking for strip... strip
checking for riscv64-koji-linux-gnu-ranlib... no
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ./configure: line 8293:  -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^[ABCDGIRSTW][ABCDGIRSTW]* .* \(.*\)$/extern char \1;/p': No such file or directory
ok
checking for sysroot... no
checking for a working dd... /usr/bin/dd
checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1
checking for riscv64-koji-linux-gnu-mt... no
checking for mt... no
checking if : is a manifest tool... no
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 attr/xattr.h... yes
checking for riscv64-koji-linux-gnu-pkg-config... no
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for BUILDDEP_GIO_UNIX... yes
checking for gtk-doc... yes
checking for gtkdoc-check... gtkdoc-check.test
checking for gtkdoc-check... /usr/bin/gtkdoc-check
checking for gtkdoc-rebase... /usr/bin/gtkdoc-rebase
checking for gtkdoc-mkpdf... /usr/bin/gtkdoc-mkpdf
checking whether to build gtk-doc documentation... no
checking for GTKDOC_DEPS... yes
checking for xsltproc... /usr/bin/xsltproc
checking for gobject-introspection... yes
checking for BUILDDEP_SYSTEMD_JOURNAL... no
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/libgsystem.pc
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing libtool commands
    libgsystem 2015.2
    ====================
    introspection:                                yes
    systemd journal:                              no
+ make -j8
make  all-recursive
make[1]: Entering directory '/builddir/build/BUILD/libgsystem-2015.2'
Making all in .
make[2]: Entering directory '/builddir/build/BUILD/libgsystem-2015.2'
  CC       libgsystem_la-gsystem-console.lo
  CC       libgsystem_la-gsystem-local-alloc.lo
  CC       libgsystem_la-gsystem-shutil.lo
  CC       libgsystem_la-gsystem-file-utils.lo
  CC       libgsystem_la-gsystem-log.lo
  CC       libgsystem_la-gsystem-subprocess-context.lo
  CC       libgsystem_la-gsystem-errors.lo
  CC       libgsystem_la-gsystem-subprocess.lo
  CC       libglnx_la-glnx-local-alloc.lo
  CC       libglnx_la-glnx-errors.lo
  CC       libglnx_la-glnx-console.lo
  CC       libglnx_la-glnx-dirfd.lo
  CC       libglnx_la-glnx-fdio.lo
  CC       libglnx_la-glnx-libcontainer.lo
  CC       libglnx_la-glnx-xattrs.lo
  CC       libglnx_la-glnx-shutil.lo
./libglnx/glnx-xattrs.c: In function 'get_xattrs_impl':
./libglnx/glnx-xattrs.c:178:5: warning: 'g_steal_pointer' is deprecated: Not available before 2.44 [-Wdeprecated-declarations]
  178 |     *out_xattrs = g_steal_pointer (&ret_xattrs);
      |     ^
In file included from /usr/include/glib-2.0/glib/glist.h:34,
                 from /usr/include/glib-2.0/glib/ghash.h:36,
                 from /usr/include/glib-2.0/glib.h:52,
                 from /usr/include/glib-2.0/gobject/gbinding.h:30,
                 from /usr/include/glib-2.0/glib-object.h:24,
                 from /usr/include/glib-2.0/gio/gioenums.h:30,
                 from /usr/include/glib-2.0/gio/giotypes.h:30,
                 from /usr/include/glib-2.0/gio/gio.h:28,
                 from ./libglnx/glnx-backport-autoptr.h:26,
                 from ./libglnx/glnx-backport-autocleanups.h:22,
                 from ./libglnx/glnx-xattrs.h:23,
                 from ./libglnx/glnx-xattrs.c:26:
/usr/include/glib-2.0/glib/gmem.h:225:1: note: declared here
  225 | g_steal_pointer (gpointer pp)
      | ^~~~~~~~~~~~~~~
./libglnx/glnx-xattrs.c: In function 'glnx_fd_get_all_xattrs':
./libglnx/glnx-xattrs.c:245:5: warning: 'g_steal_pointer' is deprecated: Not available before 2.44 [-Wdeprecated-declarations]
  245 |     *out_xattrs = g_steal_pointer (&ret_xattrs);
      |     ^
/usr/include/glib-2.0/glib/gmem.h:225:1: note: declared here
  225 | g_steal_pointer (gpointer pp)
      | ^~~~~~~~~~~~~~~
  CCLD     libglnx.la
  CCLD     libgsystem.la
/usr/bin/nm: .libs/libgsystem_la-gsystem-local-alloc.o: no symbols
/usr/bin/nm: libglnx_la-glnx-local-alloc.o: no symbols
  GISCAN   GSystem-1.0.gir
src/gsystem-glib-compat.h:34: Warning: GSystem: symbol='g_clear_pointer': Skipping foreign symbol from namespace Gio
/builddir/build/BUILD/libgsystem-2015.2/tmp-introspect3o7zds6j/GSystem-1.0.c: In function ‘dump_properties’:
/builddir/build/BUILD/libgsystem-2015.2/tmp-introspect3o7zds6j/GSystem-1.0.c:229:7: error: ISO C90 forbids mixed declarations and code [-Werror=declaration-after-statement]
  229 |       const GValue *v = g_param_spec_get_default_value (prop);
      |       ^~~~~
cc1: some warnings being treated as errors
Traceback (most recent call last):
  File "/usr/lib64/python3.11/distutils/unixccompiler.py", line 126, in _compile
    self.spawn(compiler_so + cc_args + [src, '-o', obj] +
  File "/usr/lib64/python3.11/distutils/ccompiler.py", line 910, in spawn
    spawn(cmd, dry_run=self.dry_run)
  File "/usr/lib64/python3.11/distutils/spawn.py", line 91, in spawn
    raise DistutilsExecError(
distutils.errors.DistutilsExecError: command '/usr/bin/gcc' failed with exit code 1
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
  File "/usr/bin/g-ir-scanner", line 99, in <module>
    sys.exit(scanner_main(sys.argv))
             ^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib64/gobject-introspection/giscanner/scannermain.py", line 609, in scanner_main
    shlibs = create_binary(transformer, options, args)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib64/gobject-introspection/giscanner/scannermain.py", line 430, in create_binary
    binary = compile_introspection_binary(options,
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib64/gobject-introspection/giscanner/dumper.py", line 294, in compile_introspection_binary
    return dc.run()
           ^^^^^^^^
  File "/usr/lib64/gobject-introspection/giscanner/dumper.py", line 163, in run
    introspection_obj = self._compile(c_path)
                        ^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib64/gobject-introspection/giscanner/dumper.py", line 189, in _compile
    return self._compiler.compile(cflags,
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib64/gobject-introspection/giscanner/ccompiler.py", line 348, in compile
    return self.compiler.compile(sources=source,
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib64/python3.11/distutils/ccompiler.py", line 574, in compile
    self._compile(obj, src, ext, cc_args, extra_postargs, pp_opts)
  File "/usr/lib64/python3.11/distutils/unixccompiler.py", line 129, in _compile
    raise CompileError(msg)
distutils.errors.CompileError: command '/usr/bin/gcc' failed with exit code 1
make[2]: *** [/usr/share/gobject-introspection-1.0/Makefile.introspection:156: GSystem-1.0.gir] Error 1
make[2]: Leaving directory '/builddir/build/BUILD/libgsystem-2015.2'
make[1]: *** [Makefile:1771: all-recursive] Error 1
make[1]: Leaving directory '/builddir/build/BUILD/libgsystem-2015.2'
make: *** [Makefile:949: all] Error 2
RPM build errors:
error: Bad exit status from /var/tmp/rpm-tmp.n9u9Cr (%build)
    Bad exit status from /var/tmp/rpm-tmp.n9u9Cr (%build)
Child return code was: 1
EXCEPTION: [Error('Command failed: \n # bash --login -c /usr/bin/rpmbuild -bb --noclean --target riscv64 --nodeps /builddir/build/SPECS/libgsystem.spec\n', 1)]
Traceback (most recent call last):
  File "/usr/lib/python3.11/site-packages/mockbuild/trace_decorator.py", line 93, in trace
    result = func(*args, **kw)
             ^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/site-packages/mockbuild/util.py", line 598, 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 --noclean --target riscv64 --nodeps /builddir/build/SPECS/libgsystem.spec