Mock Version: 2.15 Mock Version: 2.15 Mock Version: 2.15 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/libgsystem.spec'], chrootPath='/var/lib/mock/f40-build-741459-110156/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': 'C.UTF-8'}shell=Falselogger=timeout=432000uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --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;\\007"', 'PS1': ' \\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.fc40.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/libgsystem.spec'], chrootPath='/var/lib/mock/f40-build-741459-110156/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': 'C.UTF-8'}shell=Falselogger=timeout=432000uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --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;\\007"', 'PS1': ' \\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.aItlW3 + 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 + rm -rf /builddir/build/BUILD/libgsystem-2015.2-SPECPARTS + /usr/bin/mkdir -p /builddir/build/BUILD/libgsystem-2015.2-SPECPARTS + /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 '' + /usr/bin/git config gc.auto 0 + /usr/bin/git add --force . + /usr/bin/git commit -q --allow-empty -a --author '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.0aKf4p + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Werror=implicit-function-declaration -Werror=implicit-int -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 -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 -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -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 -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 -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 -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + 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 -Werror=implicit-function-declaration -Werror=implicit-int -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 -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 -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -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 -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 -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 -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + 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-11-15 08:38:54.038793067 -0500 +++ ./configure 2023-11-15 08:39:01.088815518 -0500 @@ -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-11-15 08:39:01.088815518 -0500 +++ ./configure 2023-11-15 08:39:01.238815995 -0500 @@ -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-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 --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 '991' 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-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 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-redhat-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-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 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-file... no checking for file... file 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... ./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-redhat-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-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 gio-unix-2.0 >= 2.34.0... 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 glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0... yes checking for xsltproc... /usr/bin/xsltproc checking for gobject-introspection... yes checking for libsystemd-journal >= 200... 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 -j4 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-local-alloc.lo CC libgsystem_la-gsystem-console.lo CC libgsystem_la-gsystem-file-utils.lo CC libgsystem_la-gsystem-shutil.lo CC libgsystem_la-gsystem-errors.lo CC libgsystem_la-gsystem-log.lo CC libgsystem_la-gsystem-subprocess-context.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:234:1: note: declared here 234 | 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:234:1: note: declared here 234 | 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-introspect1k3e9x2u/GSystem-1.0.c: In function ‘dump_properties’: /builddir/build/BUILD/libgsystem-2015.2/tmp-introspect1k3e9x2u/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/lib/python3.12/site-packages/setuptools/_distutils/unixccompiler.py", line 185, in _compile self.spawn(compiler_so + cc_args + [src, '-o', obj] + extra_postargs) File "/usr/lib/python3.12/site-packages/setuptools/_distutils/ccompiler.py", line 1041, in spawn spawn(cmd, dry_run=self.dry_run, **kwargs) File "/usr/lib/python3.12/site-packages/setuptools/_distutils/spawn.py", line 70, 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 104, in 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/lib/python3.12/site-packages/setuptools/_distutils/ccompiler.py", line 600, in compile self._compile(obj, src, ext, cc_args, extra_postargs, pp_opts) File "/usr/lib/python3.12/site-packages/setuptools/_distutils/unixccompiler.py", line 187, 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 error: Bad exit status from /var/tmp/rpm-tmp.0aKf4p (%build) Bad exit status from /var/tmp/rpm-tmp.0aKf4p (%build) RPM build errors: Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.9/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.9/site-packages/mockbuild/util.py", line 600, 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/libgsystem.spec