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/memstomp.spec'], chrootPath='/var/lib/mock/f37-build-667877-74623/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=604800uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/memstomp.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=1658361600 Wrote: /builddir/build/SRPMS/memstomp-0.1.4-34.fc37.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/memstomp.spec'], chrootPath='/var/lib/mock/f37-build-667877-74623/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=604800uid=991gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/memstomp.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=1658361600 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.Tkig1q + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf memstomp-0.1.4-38573e7d + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/memstomp-0.1.4-38573e7d.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd memstomp-0.1.4-38573e7d + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (memstomp-testsuite.patch):' Patch #0 (memstomp-testsuite.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file Makefile.am patching file configure.ac patching file testsuite/memstomp.nooverlap/memccpy.c patching file testsuite/memstomp.nooverlap/memcpy.c patching file testsuite/memstomp.nooverlap/mempcpy.c patching file testsuite/memstomp.nooverlap/stpcpy.c patching file testsuite/memstomp.nooverlap/stpncpy.c patching file testsuite/memstomp.nooverlap/strcat.c patching file testsuite/memstomp.nooverlap/strcpy.c patching file testsuite/memstomp.nooverlap/strncat.c patching file testsuite/memstomp.nooverlap/strncpy.c patching file testsuite/memstomp.nooverlap/wcscat.c patching file testsuite/memstomp.nooverlap/wcscpy.c patching file testsuite/memstomp.nooverlap/wcsncat.c patching file testsuite/memstomp.nooverlap/wcsncpy.c patching file testsuite/memstomp.nooverlap/wmemcpy.c patching file testsuite/memstomp.nooverlap/wmempcpy.c patching file testsuite/memstomp.overlap/memccpy-2.c patching file testsuite/memstomp.overlap/memccpy.c patching file testsuite/memstomp.overlap/memcpy-2.c patching file testsuite/memstomp.overlap/memcpy.c patching file testsuite/memstomp.overlap/mempcpy-2.c patching file testsuite/memstomp.overlap/mempcpy.c patching file testsuite/memstomp.overlap/stpcpy-2.c patching file testsuite/memstomp.overlap/stpcpy.c patching file testsuite/memstomp.overlap/stpncpy-2.c patching file testsuite/memstomp.overlap/stpncpy.c patching file testsuite/memstomp.overlap/strcat-2.c patching file testsuite/memstomp.overlap/strcat.c patching file testsuite/memstomp.overlap/strcpy-2.c patching file testsuite/memstomp.overlap/strcpy.c patching file testsuite/memstomp.overlap/strncat-2.c patching file testsuite/memstomp.overlap/strncat.c patching file testsuite/memstomp.overlap/strncpy-2.c patching file testsuite/memstomp.overlap/strncpy.c patching file testsuite/memstomp.overlap/wcscat-2.c patching file testsuite/memstomp.overlap/wcscat.c patching file testsuite/memstomp.overlap/wcscpy-2.c patching file testsuite/memstomp.overlap/wcscpy.c patching file testsuite/memstomp.overlap/wcsncat.c patching file testsuite/memstomp.overlap/wcsncpy-2.c patching file testsuite/memstomp.overlap/wcsncpy.c patching file testsuite/memstomp.overlap/wmemcpy-2.c patching file testsuite/memstomp.overlap/wmemcpy.c patching file testsuite/memstomp.overlap/wmempcpy-2.c patching file testsuite/memstomp.overlap/wmempcpy.c patching file testsuite/lib/memstomp.exp patching file testsuite/memstomp.overlap/overlap.exp patching file testsuite/memstomp.nooverlap/nooverlap.exp Patch #1 (memstomp-man.patch): + echo 'Patch #1 (memstomp-man.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 + echo 'Patch #2 (memstomp-rh961495.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file Makefile.am patching file memstomp.man Patch #2 (memstomp-rh961495.patch): patching file memstomp.c Patch #3 (memstomp-rh962763.patch): + echo 'Patch #3 (memstomp-rh962763.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file configure.ac Patch #4 (memstomp-quietmode.patch): + echo 'Patch #4 (memstomp-quietmode.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file memstomp.c patching file memstomp.in patching file memstomp.man Patch #5 (memstomp-rh1093173.patch): + echo 'Patch #5 (memstomp-rh1093173.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file Makefile.am patching file memstomp.c patching file testsuite/memstomp.null/memccpy.c patching file testsuite/memstomp.null/memchr.c patching file testsuite/memstomp.null/memcmp.c patching file testsuite/memstomp.null/memcpy.c patching file testsuite/memstomp.null/memmem.c patching file testsuite/memstomp.null/memmove.c patching file testsuite/memstomp.null/mempcpy.c patching file testsuite/memstomp.null/memrchr.c patching file testsuite/memstomp.null/memset.c patching file testsuite/memstomp.null/null.exp patching file testsuite/memstomp.null/rawmemchr.c patching file testsuite/memstomp.null/stpcpy.c patching file testsuite/memstomp.null/stpncpy.c patching file testsuite/memstomp.null/strcasestr.c patching file testsuite/memstomp.null/strcat.c patching file testsuite/memstomp.null/strchr.c patching file testsuite/memstomp.null/strchrnul.c patching file testsuite/memstomp.null/strcmp.c patching file testsuite/memstomp.null/strcoll.c patching file testsuite/memstomp.null/strcoll_l.c patching file testsuite/memstomp.null/strcpy.c patching file testsuite/memstomp.null/strcspn.c patching file testsuite/memstomp.null/strdup.c patching file testsuite/memstomp.null/strlen.c patching file testsuite/memstomp.null/strncat.c patching file testsuite/memstomp.null/strncmp.c patching file testsuite/memstomp.null/strncpy.c patching file testsuite/memstomp.null/strndup.c patching file testsuite/memstomp.null/strpbrk.c patching file testsuite/memstomp.null/strrchr.c patching file testsuite/memstomp.null/strspn.c patching file testsuite/memstomp.null/strstr.c patching file testsuite/memstomp.null/strtok.c patching file testsuite/memstomp.null/strtok_r.c patching file testsuite/memstomp.null/strxfrm.c patching file testsuite/memstomp.null/strxfrm_l.c patching file testsuite/memstomp.null/wmemcpy.c patching file testsuite/memstomp.null/wmempcpy.c Patch #6 (memstomp-rh1133815.patch): + echo 'Patch #6 (memstomp-rh1133815.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file memstomp.c patching file testsuite/lib/memstomp.exp patching file testsuite/memstomp.lineinfo/linenumber.c patching file testsuite/memstomp.lineinfo/linenumber.exp patching file testsuite/memstomp.overlap/linenumber.c Patch #7 (memstomp-implicit-int.patch): + echo 'Patch #7 (memstomp-implicit-int.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file testsuite/memstomp.nooverlap/memccpy.c patching file testsuite/memstomp.nooverlap/memcpy.c patching file testsuite/memstomp.nooverlap/strcpy.c patching file testsuite/memstomp.nooverlap/strncpy.c patching file testsuite/memstomp.nooverlap/wcscpy.c patching file testsuite/memstomp.nooverlap/wcsncpy.c patching file testsuite/memstomp.null/memccpy.c patching file testsuite/memstomp.null/memcpy.c patching file testsuite/memstomp.null/memmem.c patching file testsuite/memstomp.null/memset.c patching file testsuite/memstomp.null/rawmemchr.c patching file testsuite/memstomp.null/strcmp.c patching file testsuite/memstomp.null/strcoll_l.c patching file testsuite/memstomp.null/strcpy.c patching file testsuite/memstomp.null/strlen.c patching file testsuite/memstomp.null/strncmp.c patching file testsuite/memstomp.null/strncpy.c patching file testsuite/memstomp.null/strtok_r.c patching file testsuite/memstomp.null/strxfrm_l.c patching file testsuite/memstomp.overlap/memccpy-2.c patching file testsuite/memstomp.overlap/memccpy.c patching file testsuite/memstomp.overlap/memcpy-2.c patching file testsuite/memstomp.overlap/memcpy.c patching file testsuite/memstomp.overlap/strcpy-2.c patching file testsuite/memstomp.overlap/strcpy.c patching file testsuite/memstomp.overlap/strncpy-2.c patching file testsuite/memstomp.overlap/strncpy.c patching file testsuite/memstomp.overlap/wcscpy-2.c patching file testsuite/memstomp.overlap/wcscpy.c patching file testsuite/memstomp.overlap/wcsncpy-2.c patching file testsuite/memstomp.overlap/wcsncpy.c Patch #8 (bfd-api-change.patch): + echo 'Patch #8 (bfd-api-change.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file backtrace-symbols.c + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.xk6m9J + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -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 -flto=auto -ffat-lto-objects -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 -flto=auto -ffat-lto-objects -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 -flto=auto -ffat-lto-objects -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 -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 memstomp-0.1.4-38573e7d + autoreconf configure.ac:46: warning: The macro `AC_PROG_CC_C99' is obsolete. configure.ac:46: You should run autoupdate. ./lib/autoconf/c.m4:1659: AC_PROG_CC_C99 is expanded from... configure.ac:46: the top level configure.ac:61: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body ./lib/autoconf/lang.m4:199: AC_LANG_CONFTEST is expanded from... ./lib/autoconf/general.m4:2894: _AC_LINK_IFELSE is expanded from... ./lib/autoconf/general.m4:2911: AC_LINK_IFELSE is expanded from... m4/libtool.m4:1022: _LT_SYS_MODULE_PATH_AIX is expanded from... m4/libtool.m4:4161: _LT_LINKER_SHLIBS is expanded from... m4/libtool.m4:5236: _LT_LANG_C_CONFIG is expanded from... m4/libtool.m4:138: _LT_SETUP is expanded from... m4/libtool.m4:67: LT_INIT is expanded from... configure.ac:61: the top level configure.ac:61: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body ./lib/autoconf/lang.m4:199: AC_LANG_CONFTEST is expanded from... ./lib/autoconf/general.m4:2894: _AC_LINK_IFELSE is expanded from... ./lib/autoconf/general.m4:2911: AC_LINK_IFELSE is expanded from... m4/libtool.m4:4161: _LT_LINKER_SHLIBS is expanded from... m4/libtool.m4:5236: _LT_LANG_C_CONFIG is expanded from... m4/libtool.m4:138: _LT_SETUP is expanded from... m4/libtool.m4:67: LT_INIT is expanded from... configure.ac:61: the top level configure.ac:61: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body ./lib/autoconf/lang.m4:199: AC_LANG_CONFTEST is expanded from... ./lib/autoconf/general.m4:2894: _AC_LINK_IFELSE is expanded from... ./lib/autoconf/general.m4:2911: AC_LINK_IFELSE is expanded from... m4/libtool.m4:1022: _LT_SYS_MODULE_PATH_AIX is expanded from... m4/libtool.m4:5343: _LT_LANG_CXX_CONFIG is expanded from... m4/libtool.m4:785: _LT_LANG is expanded from... m4/libtool.m4:768: LT_LANG is expanded from... m4/libtool.m4:796: _LT_LANG_DEFAULT_CONFIG is expanded from... m4/libtool.m4:138: _LT_SETUP is expanded from... m4/libtool.m4:67: LT_INIT is expanded from... configure.ac:61: the top level configure.ac:66: warning: The macro `AC_HEADER_STDC' is obsolete. configure.ac:66: You should run autoupdate. ./lib/autoconf/headers.m4:704: AC_HEADER_STDC is expanded from... configure.ac:66: the top level configure.ac:89: warning: The macro `AC_TYPE_SIGNAL' is obsolete. configure.ac:89: You should run autoupdate. ./lib/autoconf/types.m4:776: AC_TYPE_SIGNAL is expanded from... configure.ac:89: the top level configure.ac:96: warning: The macro `ACX_PTHREAD' is obsolete. configure.ac:96: You should run autoupdate. m4/acx_pthread.m4:78: ACX_PTHREAD is expanded from... configure.ac:96: the top level configure.ac:96: warning: The macro `AC_LANG_C' is obsolete. configure.ac:96: You should run autoupdate. ./lib/autoconf/c.m4:72: AC_LANG_C is expanded from... m4/acx_pthread.m4:79: AX_PTHREAD is expanded from... m4/acx_pthread.m4:78: ACX_PTHREAD is expanded from... configure.ac:96: the top level configure.ac:96: warning: The macro `AC_TRY_LINK' is obsolete. configure.ac:96: You should run autoupdate. ./lib/autoconf/general.m4:2920: AC_TRY_LINK is expanded from... m4/acx_pthread.m4:79: AX_PTHREAD is expanded from... m4/acx_pthread.m4:78: ACX_PTHREAD is expanded from... configure.ac:96: the top level Makefile.am:94: warning: user target 'check-DEJAGNU' defined here ... /usr/share/automake-1.16/am/dejagnu.am: ... overrides Automake target 'check-DEJAGNU' defined here Makefile.am:88: warning: user target 'dist-gzip' defined here ... /usr/share/automake-1.16/am/distdir.am: ... overrides Automake target 'dist-gzip' defined here + CFLAGS='-O2 -flto=auto -ffat-lto-objects -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 -flto=auto -ffat-lto-objects -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 -flto=auto -ffat-lto-objects -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 -flto=auto -ffat-lto-objects -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 -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 2022-11-07 08:08:50.687883350 -0500 +++ ./configure 2022-11-07 08:08:56.587891770 -0500 @@ -1920,7 +1920,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 2022-11-07 08:08:56.587891770 -0500 +++ ./configure 2022-11-07 08:08:56.757892013 -0500 @@ -18044,7 +18044,7 @@ compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`' GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`' lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`' -lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$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 "X$lt_cv_sys_global_symbol_to_c_name_address" | $Xsed -e "$delay_single_quote_subst"`' lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "X$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`' objdir='`$ECHO "X$objdir" | $Xsed -e "$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 checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes /builddir/build/BUILD/memstomp-0.1.4-38573e7d/missing: Unknown `--is-lightweight' option Try `/builddir/build/BUILD/memstomp-0.1.4-38573e7d/missing --help' for more information configure: WARNING: 'missing' script is too old or missing 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 how to create a pax tar archive... gnutar checking build system type... riscv64-redhat-linux-gnu checking host system type... riscv64-redhat-linux-gnu checking whether make supports nested variables... (cached) 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 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 whether make supports the include directive... yes (GNU style) checking dependency style of gcc... none checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking whether gcc needs -traditional... no 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 whether the compiler supports GNU C++... no checking whether g++ accepts -g... no checking for g++ option to enable C++11 features... none needed checking dependency style of g++... none checking for a sed that does not truncate output... /usr/bin/sed 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 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-ar... no checking for ar... ar 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 dlfcn.h... yes checking whether the compiler supports GNU C++... (cached) no checking whether g++ accepts -g... (cached) no checking for g++ option to enable C++11 features... (cached) none needed checking dependency style of g++... (cached) none 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 egrep... (cached) /usr/bin/grep -E checking for sys/poll.h... yes checking for sys/ioctl.h... yes checking for byteswap.h... yes checking for library containing htab_find_slot... -liberty checking for libiberty.h... yes checking for library containing bfd_init... -lbfd checking for bfd.h... yes checking for an ANSI C-conforming const... yes checking whether byte ordering is bigendian... no checking for pid_t... yes checking for size_t... yes checking for ssize_t... yes checking for off_t... yes checking return type of signal handlers... void checking for uid_t in sys/types.h... yes checking for special C compiler options needed for large files... no checking for _FILE_OFFSET_BITS value needed for large files... no checking for the pthreads library -lpthreads... no checking whether pthreads work without any flags... yes checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE checking if more special flags are required for pthreads... no checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating config.h config.status: executing depfiles commands config.status: executing libtool commands ---{ memstomp 0.1.4 }--- prefix: /usr sysconfdir: /etc localstatedir: /var Compiler: gcc CFLAGS: -O2 -flto=auto -ffat-lto-objects -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 + make -j4 'CFLAGS+=-O0 -fno-strict-aliasing' make all-am make[1]: Entering directory '/builddir/build/BUILD/memstomp-0.1.4-38573e7d' sed -e 's,@PACKAGE_STRING\@,memstomp 0.1.4,g' \ -e 's,@PACKAGE_NAME\@,memstomp,g' < memstomp.in > memstomp CC libmemstomp_la-memstomp.lo CC libmemstomp_backtrace_symbols_la-backtrace-symbols.lo chmod +x memstomp In file included from /usr/include/bits/libc-header-start.h:33, from /usr/include/string.h:26, from backtrace-symbols.c:48: /usr/include/features.h:412:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 412 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ In file included from /usr/include/sys/cdefs.h:24, from memstomp.c:26: /usr/include/features.h:412:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 412 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ In file included from backtrace-symbols.c:52: backtrace-symbols.c: In function 'slurp_symtab': backtrace-symbols.c:93:60: error: 'PTR' undeclared (first use in this function) 93 | long symcount = bfd_read_minisymbols(abfd, false, (PTR) & syms, &size); | ^~~ backtrace-symbols.c:93:60: note: each undeclared identifier is reported only once for each function it appears in make[1]: *** [Makefile:629: libmemstomp_backtrace_symbols_la-backtrace-symbols.lo] Error 1 make[1]: *** Waiting for unfinished jobs.... memstomp.c: In function 'strstr': memstomp.c:891:28: warning: 'nonnull' argument '__haystack' compared to NULL [-Wnonnull-compare] 891 | if (unlikely (__haystack == NULL || __needle == NULL)) { | ^ memstomp.c:891:48: warning: 'nonnull' argument '__needle' compared to NULL [-Wnonnull-compare] 891 | if (unlikely (__haystack == NULL || __needle == NULL)) { | ^ memstomp.c: In function 'memmove': memstomp.c:554:22: warning: 'nonnull' argument 'dest' compared to NULL [-Wnonnull-compare] 554 | if (unlikely (dest == NULL || src == NULL)) { | ^ memstomp.c:554:37: warning: 'nonnull' argument 'src' compared to NULL [-Wnonnull-compare] 554 | if (unlikely (dest == NULL || src == NULL)) { | ^ memstomp.c: In function 'memcmp': memstomp.c:570:22: warning: 'nonnull' argument '__s1' compared to NULL [-Wnonnull-compare] 570 | if (unlikely (__s1 == NULL || __s2 == NULL)) { | ^ memstomp.c:570:38: warning: 'nonnull' argument '__s2' compared to NULL [-Wnonnull-compare] 570 | if (unlikely (__s1 == NULL || __s2 == NULL)) { | ^ memstomp.c: In function 'strcmp': memstomp.c:586:22: warning: 'nonnull' argument '__s1' compared to NULL [-Wnonnull-compare] 586 | if (unlikely (__s1 == NULL || __s2 == NULL)) { | ^ memstomp.c:586:38: warning: 'nonnull' argument '__s2' compared to NULL [-Wnonnull-compare] 586 | if (unlikely (__s1 == NULL || __s2 == NULL)) { | ^ memstomp.c: In function 'strncmp': memstomp.c:602:22: warning: 'nonnull' argument '__s1' compared to NULL [-Wnonnull-compare] 602 | if (unlikely (__s1 == NULL || __s2 == NULL)) { | ^ memstomp.c:602:38: warning: 'nonnull' argument '__s2' compared to NULL [-Wnonnull-compare] 602 | if (unlikely (__s1 == NULL || __s2 == NULL)) { | ^ memstomp.c: In function 'strcoll': memstomp.c:618:22: warning: 'nonnull' argument '__s1' compared to NULL [-Wnonnull-compare] 618 | if (unlikely (__s1 == NULL || __s2 == NULL)) { | ^ memstomp.c:618:38: warning: 'nonnull' argument '__s2' compared to NULL [-Wnonnull-compare] 618 | if (unlikely (__s1 == NULL || __s2 == NULL)) { | ^ memstomp.c: In function 'strcoll_l': memstomp.c:634:22: warning: 'nonnull' argument '__s1' compared to NULL [-Wnonnull-compare] 634 | if (unlikely (__s1 == NULL || __s2 == NULL || __l == NULL)) { | ^ memstomp.c:634:38: warning: 'nonnull' argument '__s2' compared to NULL [-Wnonnull-compare] 634 | if (unlikely (__s1 == NULL || __s2 == NULL || __l == NULL)) { | ^ memstomp.c:634:53: warning: 'nonnull' argument '__l' compared to NULL [-Wnonnull-compare] 634 | if (unlikely (__s1 == NULL || __s2 == NULL || __l == NULL)) { | ^ memstomp.c: In function 'strxfrm': memstomp.c:63:42: warning: 'nonnull' argument '__src' compared to NULL [-Wnonnull-compare] 63 | #define unlikely(x) __builtin_expect(!!(x), 0) | ^~~~~ memstomp.c: In function 'strxfrm_l': memstomp.c:666:23: warning: 'nonnull' argument '__src' compared to NULL [-Wnonnull-compare] 666 | if (unlikely (__src == NULL || __l == NULL)) { | ^ memstomp.c:666:38: warning: 'nonnull' argument '__l' compared to NULL [-Wnonnull-compare] 666 | if (unlikely (__src == NULL || __l == NULL)) { | ^ memstomp.c: In function 'memset': memstomp.c:63:42: warning: 'nonnull' argument '__s' compared to NULL [-Wnonnull-compare] 63 | #define unlikely(x) __builtin_expect(!!(x), 0) | ^~~~~ memstomp.c: In function 'memchr': memstomp.c:63:42: warning: 'nonnull' argument '__s' compared to NULL [-Wnonnull-compare] 63 | #define unlikely(x) __builtin_expect(!!(x), 0) | ^~~~~ memstomp.c: In function 'memrchr': memstomp.c:63:42: warning: 'nonnull' argument '__s' compared to NULL [-Wnonnull-compare] 63 | #define unlikely(x) __builtin_expect(!!(x), 0) | ^~~~~ memstomp.c: In function 'rawmemchr': memstomp.c:63:42: warning: 'nonnull' argument '__s' compared to NULL [-Wnonnull-compare] 63 | #define unlikely(x) __builtin_expect(!!(x), 0) | ^~~~~ memstomp.c: In function 'strlen': memstomp.c:63:42: warning: 'nonnull' argument '__s' compared to NULL [-Wnonnull-compare] 63 | #define unlikely(x) __builtin_expect(!!(x), 0) | ^~~~~ memstomp.c: In function 'strdup': memstomp.c:63:42: warning: 'nonnull' argument '__s' compared to NULL [-Wnonnull-compare] 63 | #define unlikely(x) __builtin_expect(!!(x), 0) | ^~~~~ memstomp.c: In function 'strndup': memstomp.c:63:42: warning: 'nonnull' argument '__s' compared to NULL [-Wnonnull-compare] 63 | #define unlikely(x) __builtin_expect(!!(x), 0) | ^~~~~ memstomp.c: In function 'strchr': memstomp.c:63:42: warning: 'nonnull' argument '__s' compared to NULL [-Wnonnull-compare] 63 | #define unlikely(x) __builtin_expect(!!(x), 0) | ^~~~~ memstomp.c: In function 'strrchr': memstomp.c:63:42: warning: 'nonnull' argument '__s' compared to NULL [-Wnonnull-compare] 63 | #define unlikely(x) __builtin_expect(!!(x), 0) | ^~~~~ memstomp.c: In function 'strchrnul': memstomp.c:63:42: warning: 'nonnull' argument '__s' compared to NULL [-Wnonnull-compare] 63 | #define unlikely(x) __builtin_expect(!!(x), 0) | ^~~~~ memstomp.c: In function 'strcspn': memstomp.c:843:21: warning: 'nonnull' argument '__s' compared to NULL [-Wnonnull-compare] 843 | if (unlikely (__s == NULL || __reject == NULL)) { | ^ memstomp.c:843:41: warning: 'nonnull' argument '__reject' compared to NULL [-Wnonnull-compare] 843 | if (unlikely (__s == NULL || __reject == NULL)) { | ^ memstomp.c: In function 'strspn': memstomp.c:859:21: warning: 'nonnull' argument '__s' compared to NULL [-Wnonnull-compare] 859 | if (unlikely (__s == NULL || __accept == NULL)) { | ^ memstomp.c:859:41: warning: 'nonnull' argument '__accept' compared to NULL [-Wnonnull-compare] 859 | if (unlikely (__s == NULL || __accept == NULL)) { | ^ memstomp.c: In function 'strpbrk': memstomp.c:875:21: warning: 'nonnull' argument '__s' compared to NULL [-Wnonnull-compare] 875 | if (unlikely (__s == NULL || __accept == NULL)) { | ^ memstomp.c:875:41: warning: 'nonnull' argument '__accept' compared to NULL [-Wnonnull-compare] 875 | if (unlikely (__s == NULL || __accept == NULL)) { | ^ memstomp.c: In function 'strcasestr': memstomp.c:907:28: warning: 'nonnull' argument '__haystack' compared to NULL [-Wnonnull-compare] 907 | if (unlikely (__haystack == NULL || __needle == NULL)) { | ^ memstomp.c:907:48: warning: 'nonnull' argument '__needle' compared to NULL [-Wnonnull-compare] 907 | if (unlikely (__haystack == NULL || __needle == NULL)) { | ^ memstomp.c: In function 'memmem': memstomp.c:924:28: warning: 'nonnull' argument '__haystack' compared to NULL [-Wnonnull-compare] 924 | if (unlikely (__haystack == NULL || __needle == NULL)) { | ^ memstomp.c:924:48: warning: 'nonnull' argument '__needle' compared to NULL [-Wnonnull-compare] 924 | if (unlikely (__haystack == NULL || __needle == NULL)) { | ^ memstomp.c: In function 'strtok': memstomp.c:63:42: warning: 'nonnull' argument '__delim' compared to NULL [-Wnonnull-compare] 63 | #define unlikely(x) __builtin_expect(!!(x), 0) | ^~~~~ memstomp.c: In function 'strtok_r': memstomp.c:957:25: warning: 'nonnull' argument '__delim' compared to NULL [-Wnonnull-compare] 957 | if (unlikely (__delim == NULL || __save_ptr)) { | ^ memstomp.c:957:33: warning: 'nonnull' argument '__save_ptr' compared to NULL [-Wnonnull-compare] 957 | if (unlikely (__delim == NULL || __save_ptr)) { | ^~ make[1]: Leaving directory '/builddir/build/BUILD/memstomp-0.1.4-38573e7d' make: *** [Makefile:459: all] Error 2 error: Bad exit status from /var/tmp/rpm-tmp.xk6m9J (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.xk6m9J (%build) 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/memstomp.spec