Mock Version: 1.4.21 Mock Version: 1.4.21 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/memstomp.spec'], chrootPath='/var/lib/mock/f33-build-265512-51385/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'}shell=Falselogger=timeout=432000uid=987gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/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': 'en_US.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1580256000 Wrote: /builddir/build/SRPMS/memstomp-0.1.4-28.fc33.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/memstomp.spec'], chrootPath='/var/lib/mock/f33-build-265512-51385/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'en_US.UTF-8'}shell=Falselogger=timeout=432000uid=987gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/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': 'en_US.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1580256000 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.wc6EBN + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf memstomp-0.1.4-38573e7d + /usr/bin/gzip -dc /builddir/build/SOURCES/memstomp-0.1.4-38573e7d.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd memstomp-0.1.4-38573e7d + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . Patch #0 (memstomp-testsuite.patch): + echo 'Patch #0 (memstomp-testsuite.patch):' + /usr/bin/patch --no-backup-if-mismatch -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 -p1 --fuzz=0 patching file Makefile.am patching file memstomp.man Patch #2 (memstomp-rh961495.patch): + echo 'Patch #2 (memstomp-rh961495.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file memstomp.c Patch #3 (memstomp-rh962763.patch): + echo 'Patch #3 (memstomp-rh962763.patch):' + /usr/bin/patch --no-backup-if-mismatch -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 -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 -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 -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 -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 + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.A3iecM + umask 022 + cd /builddir/build/BUILD + cd memstomp-0.1.4-38573e7d + autoreconf configure.ac:61: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body ../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from... ../../lib/autoconf/general.m4:2661: _AC_LINK_IFELSE is expanded from... ../../lib/autoconf/general.m4:2678: 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:193: AC_LANG_CONFTEST is expanded from... ../../lib/autoconf/general.m4:2661: _AC_LINK_IFELSE is expanded from... ../../lib/autoconf/general.m4:2678: 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:193: AC_LANG_CONFTEST is expanded from... ../../lib/autoconf/general.m4:2661: _AC_LINK_IFELSE is expanded from... ../../lib/autoconf/general.m4:2678: 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:61: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body ../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from... ../../lib/autoconf/general.m4:2661: _AC_LINK_IFELSE is expanded from... ../../lib/autoconf/general.m4:2678: 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:193: AC_LANG_CONFTEST is expanded from... ../../lib/autoconf/general.m4:2661: _AC_LINK_IFELSE is expanded from... ../../lib/autoconf/general.m4:2678: 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:193: AC_LANG_CONFTEST is expanded from... ../../lib/autoconf/general.m4:2661: _AC_LINK_IFELSE is expanded from... ../../lib/autoconf/general.m4:2678: 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:61: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body ../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from... ../../lib/autoconf/general.m4:2661: _AC_LINK_IFELSE is expanded from... ../../lib/autoconf/general.m4:2678: 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:193: AC_LANG_CONFTEST is expanded from... ../../lib/autoconf/general.m4:2661: _AC_LINK_IFELSE is expanded from... ../../lib/autoconf/general.m4:2678: 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:193: AC_LANG_CONFTEST is expanded from... ../../lib/autoconf/general.m4:2661: _AC_LINK_IFELSE is expanded from... ../../lib/autoconf/general.m4:2678: 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:61: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body ../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from... ../../lib/autoconf/general.m4:2661: _AC_LINK_IFELSE is expanded from... ../../lib/autoconf/general.m4:2678: 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:193: AC_LANG_CONFTEST is expanded from... ../../lib/autoconf/general.m4:2661: _AC_LINK_IFELSE is expanded from... ../../lib/autoconf/general.m4:2678: 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:193: AC_LANG_CONFTEST is expanded from... ../../lib/autoconf/general.m4:2661: _AC_LINK_IFELSE is expanded from... ../../lib/autoconf/general.m4:2678: 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:61: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body ../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from... ../../lib/autoconf/general.m4:2661: _AC_LINK_IFELSE is expanded from... ../../lib/autoconf/general.m4:2678: 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:193: AC_LANG_CONFTEST is expanded from... ../../lib/autoconf/general.m4:2661: _AC_LINK_IFELSE is expanded from... ../../lib/autoconf/general.m4:2678: 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:193: AC_LANG_CONFTEST is expanded from... ../../lib/autoconf/general.m4:2661: _AC_LINK_IFELSE is expanded from... ../../lib/autoconf/general.m4:2678: 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:61: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body ../../lib/autoconf/lang.m4:193: AC_LANG_CONFTEST is expanded from... ../../lib/autoconf/general.m4:2661: _AC_LINK_IFELSE is expanded from... ../../lib/autoconf/general.m4:2678: 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:193: AC_LANG_CONFTEST is expanded from... ../../lib/autoconf/general.m4:2661: _AC_LINK_IFELSE is expanded from... ../../lib/autoconf/general.m4:2678: 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:193: AC_LANG_CONFTEST is expanded from... ../../lib/autoconf/general.m4:2661: _AC_LINK_IFELSE is expanded from... ../../lib/autoconf/general.m4:2678: 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 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 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + '[' '%{_lto_cflags}x' '!=' x ']' ++ find . -type f -name configure -print + for file in $(find . -type f -name configure -print) + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\) = /__attribute__ ((used)) char (*f) () = /g' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\);/__attribute__ ((used)) char (*f) ();/g' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed -r --in-place=.backup 's/^char \$2 \(\);/__attribute__ ((used)) char \$2 ();/g' ./configure + diff -u ./configure.backup ./configure --- ./configure.backup 2020-06-08 04:37:44.392111654 -0400 +++ ./configure 2020-06-08 04:38:19.702111161 -0400 @@ -2012,7 +2012,7 @@ #ifdef __cplusplus extern "C" #endif -char $2 (); +__attribute__ ((used)) char $2 (); /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ + /usr/bin/sed --in-place=.backup '1{$!N;$!N};$!N;s/int x = 1;\nint y = 0;\nint z;\nint nan;/volatile int x = 1; volatile int y = 0; volatile int z, nan;/;P;D' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed --in-place=.backup 's#^lt_cv_sys_global_symbol_to_cdecl=.*#lt_cv_sys_global_symbol_to_cdecl="sed -n -e '\''s/^T .* \\(.*\\)$/extern int \\1();/p'\'' -e '\''s/^$symcode* .* \\(.*\\)$/extern char \\1;/p'\''"#' ./configure + diff -u ./configure.backup ./configure --- ./configure.backup 2020-06-08 04:38:19.702111161 -0400 +++ ./configure 2020-06-08 04:38:20.652111147 -0400 @@ -17027,7 +17027,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 thread-safe mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking 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 we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking 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 for gcc option to accept ISO C99... none needed 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 ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking minix/config.h usability... no checking minix/config.h presence... no checking for minix/config.h... no checking whether it is safe to define __EXTENSIONS__... yes checking whether we are using the GNU C++ compiler... no checking whether g++ accepts -g... no 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 we are using the GNU C++ compiler... (cached) no checking whether g++ accepts -g... (cached) no 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 ANSI C header files... (cached) yes checking sys/poll.h usability... yes checking sys/poll.h presence... yes checking for sys/poll.h... yes checking sys/ioctl.h usability... yes checking sys/ioctl.h presence... yes checking for sys/ioctl.h... yes checking byteswap.h usability... yes checking byteswap.h presence... yes checking for byteswap.h... yes checking for library containing htab_find_slot... -liberty checking libiberty.h usability... yes checking libiberty.h presence... yes checking for libiberty.h... yes checking for library containing bfd_init... -lbfd checking bfd.h usability... yes checking bfd.h presence... yes 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... no checking whether pthreads work with -Kthread... no checking whether pthreads work with -kthread... no checking for the pthreads library -llthread... no checking whether pthreads work with -pthread... 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 -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:397:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 397 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ In file included from /usr/include/sys/cdefs.h:23, from memstomp.c:26: /usr/include/features.h:397:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] 397 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O) | ^~~~~~~ backtrace-symbols.c: In function 'find_address_in_section': backtrace-symbols.c:127:7: warning: implicit declaration of function 'bfd_get_section_flags'; did you mean 'bfd_set_section_flags'? [-Wimplicit-function-declaration] 127 | if ((bfd_get_section_flags(abfd, section) & SEC_ALLOC) == 0) | ^~~~~~~~~~~~~~~~~~~~~ | bfd_set_section_flags backtrace-symbols.c:130:22: warning: implicit declaration of function 'bfd_get_section_vma'; did you mean 'bfd_set_section_vma'? [-Wimplicit-function-declaration] 130 | bfd_vma const vma = bfd_get_section_vma(abfd, section); | ^~~~~~~~~~~~~~~~~~~ | bfd_set_section_vma backtrace-symbols.c:134:46: warning: passing argument 1 of 'bfd_section_size' from incompatible pointer type [-Wincompatible-pointer-types] 134 | bfd_size_type const size = bfd_section_size(abfd, section); | ^~~~ | | | bfd * const In file included from backtrace-symbols.c:52: /usr/include/bfd.h:1200:35: note: expected 'const asection *' {aka 'const struct bfd_section *'} but argument is of type 'bfd * const' 1200 | bfd_section_size (const asection *sec) | ~~~~~~~~~~~~~~~~^~~ backtrace-symbols.c:134:29: error: too many arguments to function 'bfd_section_size' 134 | bfd_size_type const size = bfd_section_size(abfd, section); | ^~~~~~~~~~~~~~~~ In file included from backtrace-symbols.c:52: /usr/include/bfd.h:1200:1: note: declared here 1200 | bfd_section_size (const asection *sec) | ^~~~~~~~~~~~~~~~ make[1]: *** [Makefile:626: 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:63:41: note: in definition of macro 'unlikely' 63 | #define unlikely(x) __builtin_expect(!!(x), 0) | ^ memstomp.c:891:48: warning: 'nonnull' argument '__needle' compared to NULL [-Wnonnull-compare] 891 | if (unlikely (__haystack == NULL || __needle == NULL)) { | ^ memstomp.c:63:41: note: in definition of macro 'unlikely' 63 | #define unlikely(x) __builtin_expect(!!(x), 0) | ^ 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:63:41: note: in definition of macro 'unlikely' 63 | #define unlikely(x) __builtin_expect(!!(x), 0) | ^ memstomp.c:554:37: warning: 'nonnull' argument 'src' compared to NULL [-Wnonnull-compare] 554 | if (unlikely (dest == NULL || src == NULL)) { | ^ memstomp.c:63:41: note: in definition of macro 'unlikely' 63 | #define unlikely(x) __builtin_expect(!!(x), 0) | ^ 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:63:41: note: in definition of macro 'unlikely' 63 | #define unlikely(x) __builtin_expect(!!(x), 0) | ^ memstomp.c:570:38: warning: 'nonnull' argument '__s2' compared to NULL [-Wnonnull-compare] 570 | if (unlikely (__s1 == NULL || __s2 == NULL)) { | ^ memstomp.c:63:41: note: in definition of macro 'unlikely' 63 | #define unlikely(x) __builtin_expect(!!(x), 0) | ^ 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:63:41: note: in definition of macro 'unlikely' 63 | #define unlikely(x) __builtin_expect(!!(x), 0) | ^ memstomp.c:586:38: warning: 'nonnull' argument '__s2' compared to NULL [-Wnonnull-compare] 586 | if (unlikely (__s1 == NULL || __s2 == NULL)) { | ^ memstomp.c:63:41: note: in definition of macro 'unlikely' 63 | #define unlikely(x) __builtin_expect(!!(x), 0) | ^ 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:63:41: note: in definition of macro 'unlikely' 63 | #define unlikely(x) __builtin_expect(!!(x), 0) | ^ memstomp.c:602:38: warning: 'nonnull' argument '__s2' compared to NULL [-Wnonnull-compare] 602 | if (unlikely (__s1 == NULL || __s2 == NULL)) { | ^ memstomp.c:63:41: note: in definition of macro 'unlikely' 63 | #define unlikely(x) __builtin_expect(!!(x), 0) | ^ 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:63:41: note: in definition of macro 'unlikely' 63 | #define unlikely(x) __builtin_expect(!!(x), 0) | ^ memstomp.c:618:38: warning: 'nonnull' argument '__s2' compared to NULL [-Wnonnull-compare] 618 | if (unlikely (__s1 == NULL || __s2 == NULL)) { | ^ memstomp.c:63:41: note: in definition of macro 'unlikely' 63 | #define unlikely(x) __builtin_expect(!!(x), 0) | ^ 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:63:41: note: in definition of macro 'unlikely' 63 | #define unlikely(x) __builtin_expect(!!(x), 0) | ^ memstomp.c:634:38: warning: 'nonnull' argument '__s2' compared to NULL [-Wnonnull-compare] 634 | if (unlikely (__s1 == NULL || __s2 == NULL || __l == NULL)) { | ^ memstomp.c:63:41: note: in definition of macro 'unlikely' 63 | #define unlikely(x) __builtin_expect(!!(x), 0) | ^ memstomp.c:634:53: warning: 'nonnull' argument '__l' compared to NULL [-Wnonnull-compare] 634 | if (unlikely (__s1 == NULL || __s2 == NULL || __l == NULL)) { | ^ memstomp.c:63:41: note: in definition of macro 'unlikely' 63 | #define unlikely(x) __builtin_expect(!!(x), 0) | ^ memstomp.c: In function 'strxfrm': memstomp.c:63:38: warning: 'nonnull' argument '__src' compared to NULL [-Wnonnull-compare] 63 | #define unlikely(x) __builtin_expect(!!(x), 0) | ^~~~~ memstomp.c:650:7: note: in expansion of macro 'unlikely' 650 | if (unlikely (__src == NULL)) { | ^~~~~~~~ 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:63:41: note: in definition of macro 'unlikely' 63 | #define unlikely(x) __builtin_expect(!!(x), 0) | ^ memstomp.c:666:38: warning: 'nonnull' argument '__l' compared to NULL [-Wnonnull-compare] 666 | if (unlikely (__src == NULL || __l == NULL)) { | ^ memstomp.c:63:41: note: in definition of macro 'unlikely' 63 | #define unlikely(x) __builtin_expect(!!(x), 0) | ^ memstomp.c: In function 'memset': memstomp.c:63:38: warning: 'nonnull' argument '__s' compared to NULL [-Wnonnull-compare] 63 | #define unlikely(x) __builtin_expect(!!(x), 0) | ^~~~~ memstomp.c:683:7: note: in expansion of macro 'unlikely' 683 | if (unlikely (__s == NULL)) { | ^~~~~~~~ memstomp.c: In function 'memchr': memstomp.c:63:38: warning: 'nonnull' argument '__s' compared to NULL [-Wnonnull-compare] 63 | #define unlikely(x) __builtin_expect(!!(x), 0) | ^~~~~ memstomp.c:699:7: note: in expansion of macro 'unlikely' 699 | if (unlikely (__s == NULL)) { | ^~~~~~~~ memstomp.c: In function 'memrchr': memstomp.c:63:38: warning: 'nonnull' argument '__s' compared to NULL [-Wnonnull-compare] 63 | #define unlikely(x) __builtin_expect(!!(x), 0) | ^~~~~ memstomp.c:715:7: note: in expansion of macro 'unlikely' 715 | if (unlikely (__s == NULL)) { | ^~~~~~~~ memstomp.c: In function 'rawmemchr': memstomp.c:63:38: warning: 'nonnull' argument '__s' compared to NULL [-Wnonnull-compare] 63 | #define unlikely(x) __builtin_expect(!!(x), 0) | ^~~~~ memstomp.c:731:7: note: in expansion of macro 'unlikely' 731 | if (unlikely (__s == NULL)) { | ^~~~~~~~ memstomp.c: In function 'strlen': memstomp.c:63:38: warning: 'nonnull' argument '__s' compared to NULL [-Wnonnull-compare] 63 | #define unlikely(x) __builtin_expect(!!(x), 0) | ^~~~~ memstomp.c:747:7: note: in expansion of macro 'unlikely' 747 | if (unlikely (__s == NULL)) { | ^~~~~~~~ memstomp.c: In function 'strdup': memstomp.c:63:38: warning: 'nonnull' argument '__s' compared to NULL [-Wnonnull-compare] 63 | #define unlikely(x) __builtin_expect(!!(x), 0) | ^~~~~ memstomp.c:763:7: note: in expansion of macro 'unlikely' 763 | if (unlikely (__s == NULL)) { | ^~~~~~~~ memstomp.c: In function 'strndup': memstomp.c:63:38: warning: 'nonnull' argument '__s' compared to NULL [-Wnonnull-compare] 63 | #define unlikely(x) __builtin_expect(!!(x), 0) | ^~~~~ memstomp.c:779:7: note: in expansion of macro 'unlikely' 779 | if (unlikely (__s == NULL)) { | ^~~~~~~~ memstomp.c: In function 'strchr': memstomp.c:63:38: warning: 'nonnull' argument '__s' compared to NULL [-Wnonnull-compare] 63 | #define unlikely(x) __builtin_expect(!!(x), 0) | ^~~~~ memstomp.c:795:7: note: in expansion of macro 'unlikely' 795 | if (unlikely (__s == NULL)) { | ^~~~~~~~ memstomp.c: In function 'strrchr': memstomp.c:63:38: warning: 'nonnull' argument '__s' compared to NULL [-Wnonnull-compare] 63 | #define unlikely(x) __builtin_expect(!!(x), 0) | ^~~~~ memstomp.c:811:7: note: in expansion of macro 'unlikely' 811 | if (unlikely (__s == NULL)) { | ^~~~~~~~ memstomp.c: In function 'strchrnul': memstomp.c:63:38: warning: 'nonnull' argument '__s' compared to NULL [-Wnonnull-compare] 63 | #define unlikely(x) __builtin_expect(!!(x), 0) | ^~~~~ memstomp.c:827:7: note: in expansion of macro 'unlikely' 827 | if (unlikely (__s == NULL)) { | ^~~~~~~~ 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:63:41: note: in definition of macro 'unlikely' 63 | #define unlikely(x) __builtin_expect(!!(x), 0) | ^ memstomp.c:843:41: warning: 'nonnull' argument '__reject' compared to NULL [-Wnonnull-compare] 843 | if (unlikely (__s == NULL || __reject == NULL)) { | ^ memstomp.c:63:41: note: in definition of macro 'unlikely' 63 | #define unlikely(x) __builtin_expect(!!(x), 0) | ^ 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:63:41: note: in definition of macro 'unlikely' 63 | #define unlikely(x) __builtin_expect(!!(x), 0) | ^ memstomp.c:859:41: warning: 'nonnull' argument '__accept' compared to NULL [-Wnonnull-compare] 859 | if (unlikely (__s == NULL || __accept == NULL)) { | ^ memstomp.c:63:41: note: in definition of macro 'unlikely' 63 | #define unlikely(x) __builtin_expect(!!(x), 0) | ^ 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:63:41: note: in definition of macro 'unlikely' 63 | #define unlikely(x) __builtin_expect(!!(x), 0) | ^ memstomp.c:875:41: warning: 'nonnull' argument '__accept' compared to NULL [-Wnonnull-compare] 875 | if (unlikely (__s == NULL || __accept == NULL)) { | ^ memstomp.c:63:41: note: in definition of macro 'unlikely' 63 | #define unlikely(x) __builtin_expect(!!(x), 0) | ^ 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:63:41: note: in definition of macro 'unlikely' 63 | #define unlikely(x) __builtin_expect(!!(x), 0) | ^ memstomp.c:907:48: warning: 'nonnull' argument '__needle' compared to NULL [-Wnonnull-compare] 907 | if (unlikely (__haystack == NULL || __needle == NULL)) { | ^ memstomp.c:63:41: note: in definition of macro 'unlikely' 63 | #define unlikely(x) __builtin_expect(!!(x), 0) | ^ 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:63:41: note: in definition of macro 'unlikely' 63 | #define unlikely(x) __builtin_expect(!!(x), 0) | ^ memstomp.c:924:48: warning: 'nonnull' argument '__needle' compared to NULL [-Wnonnull-compare] 924 | if (unlikely (__haystack == NULL || __needle == NULL)) { | ^ memstomp.c:63:41: note: in definition of macro 'unlikely' 63 | #define unlikely(x) __builtin_expect(!!(x), 0) | ^ memstomp.c: In function 'strtok': memstomp.c:63:38: warning: 'nonnull' argument '__delim' compared to NULL [-Wnonnull-compare] 63 | #define unlikely(x) __builtin_expect(!!(x), 0) | ^~~~~ memstomp.c:940:7: note: in expansion of macro 'unlikely' 940 | if (unlikely (__delim == NULL)) { | ^~~~~~~~ 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:63:41: note: in definition of macro 'unlikely' 63 | #define unlikely(x) __builtin_expect(!!(x), 0) | ^ memstomp.c:957:33: warning: 'nonnull' argument '__save_ptr' compared to NULL [-Wnonnull-compare] 957 | if (unlikely (__delim == NULL || __save_ptr)) { | ^~ memstomp.c:63:41: note: in definition of macro 'unlikely' 63 | #define unlikely(x) __builtin_expect(!!(x), 0) | ^ make[1]: Leaving directory '/builddir/build/BUILD/memstomp-0.1.4-38573e7d' make: *** [Makefile:456: all] Error 2 error: Bad exit status from /var/tmp/rpm-tmp.A3iecM (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.A3iecM (%build) Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.8/site-packages/mockbuild/trace_decorator.py", line 95, in trace result = func(*args, **kw) File "/usr/lib/python3.8/site-packages/mockbuild/util.py", line 746, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode) mockbuild.exception.Error: Command failed: # bash --login -c /usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/memstomp.spec