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/abook.spec'], chrootPath='/var/lib/mock/f38-build-710661-93502/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/abook.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 warning: %patchN is deprecated (4 usages found), use %patch N (or %patch -P N) Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1674000000 Wrote: /builddir/build/SRPMS/abook-0.6.1-22.fc38.src.rpm RPM build warnings: %patchN is deprecated (4 usages found), use %patch N (or %patch -P N) Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/abook.spec'], chrootPath='/var/lib/mock/f38-build-710661-93502/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/abook.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 warning: %patchN is deprecated (4 usages found), use %patch N (or %patch -P N) Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1674000000 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.Kt4XOn + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf abook-0.6.1 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/abook-0.6.1.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd abook-0.6.1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (abook-preserve.patch):' Patch #0 (abook-preserve.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .p --fuzz=0 patching file abookrc.5 patching file options.c Patch #1 (0001-fixed-bug-6.patch): + echo 'Patch #1 (0001-fixed-bug-6.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file filter.c Patch #2 (0002-doc-manpage-mention-of-the-f-option-fix-for-bug-8.patch): + echo 'Patch #2 (0002-doc-manpage-mention-of-the-f-option-fix-for-bug-8.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file abook.1 patching file abookrc.5 Patch #3 (0003-build-fix-compilation-when-used-with-GCC-std-gnu99-o.patch): + echo 'Patch #3 (0003-build-fix-compilation-when-used-with-GCC-std-gnu99-o.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file configure patching file configure.ac + autoreconf -vif autoreconf: export WARNINGS= autoreconf: Entering directory '.' autoreconf: running: autopoint --force autoreconf: running: aclocal --force -I m4 autoreconf: configure.ac: tracing autoreconf: configure.ac: not using Libtool autoreconf: configure.ac: not using Intltool autoreconf: configure.ac: not using Gtkdoc autoreconf: running: /usr/bin/autoconf --force configure.ac:5: warning: The macro `AC_CONFIG_HEADER' is obsolete. configure.ac:5: You should run autoupdate. ./lib/autoconf/status.m4:719: AC_CONFIG_HEADER is expanded from... configure.ac:5: the top level configure.ac:13: warning: AM_PROG_MKDIR_P: this macro is deprecated, and will soon be removed. configure.ac:13: You should use the Autoconf-provided 'AC_PROG_MKDIR_P' macro instead, configure.ac:13: and use '$(MKDIR_P)' instead of '$(mkdir_p)'in your Makefile.am files. ./lib/autoconf/general.m4:2434: AC_DIAGNOSE is expanded from... aclocal.m4:744: AM_PROG_MKDIR_P is expanded from... m4/po.m4:23: AM_PO_SUBDIRS is expanded from... m4/gettext.m4:57: AM_GNU_GETTEXT is expanded from... configure.ac:13: the top level configure.ac:13: warning: The macro `AC_TRY_LINK' is obsolete. configure.ac:13: You should run autoupdate. ./lib/autoconf/general.m4:2920: AC_TRY_LINK is expanded from... lib/m4sugar/m4sh.m4:692: _AS_IF_ELSE is expanded from... lib/m4sugar/m4sh.m4:699: AS_IF is expanded from... ./lib/autoconf/general.m4:2249: AC_CACHE_VAL is expanded from... ./lib/autoconf/general.m4:2270: AC_CACHE_CHECK is expanded from... m4/intlmacosx.m4:18: gt_INTL_MACOSX is expanded from... m4/gettext.m4:57: AM_GNU_GETTEXT is expanded from... configure.ac:13: the top level configure.ac:13: warning: The macro `AC_TRY_LINK' is obsolete. configure.ac:13: You should run autoupdate. ./lib/autoconf/general.m4:2920: AC_TRY_LINK is expanded from... lib/m4sugar/m4sh.m4:692: _AS_IF_ELSE is expanded from... lib/m4sugar/m4sh.m4:699: AS_IF is expanded from... ./lib/autoconf/general.m4:2249: AC_CACHE_VAL is expanded from... ./lib/autoconf/general.m4:2270: AC_CACHE_CHECK is expanded from... m4/gettext.m4:57: AM_GNU_GETTEXT is expanded from... configure.ac:13: the top level configure.ac:13: warning: The macro `AC_TRY_LINK' is obsolete. configure.ac:13: You should run autoupdate. ./lib/autoconf/general.m4:2920: AC_TRY_LINK is expanded from... lib/m4sugar/m4sh.m4:692: _AS_IF_ELSE is expanded from... lib/m4sugar/m4sh.m4:699: AS_IF is expanded from... ./lib/autoconf/general.m4:2249: AC_CACHE_VAL is expanded from... ./lib/autoconf/general.m4:2270: AC_CACHE_CHECK is expanded from... m4/iconv.m4:20: AM_ICONV_LINK is expanded from... m4/gettext.m4:57: AM_GNU_GETTEXT is expanded from... configure.ac:13: the top level configure.ac:13: warning: The macro `AC_TRY_RUN' is obsolete. configure.ac:13: You should run autoupdate. ./lib/autoconf/general.m4:2997: AC_TRY_RUN is expanded from... lib/m4sugar/m4sh.m4:692: _AS_IF_ELSE is expanded from... lib/m4sugar/m4sh.m4:699: AS_IF is expanded from... ./lib/autoconf/general.m4:2249: AC_CACHE_VAL is expanded from... ./lib/autoconf/general.m4:2270: AC_CACHE_CHECK is expanded from... m4/iconv.m4:20: AM_ICONV_LINK is expanded from... m4/gettext.m4:57: AM_GNU_GETTEXT is expanded from... configure.ac:13: the top level configure.ac:52: warning: The macro `AC_HEADER_STDC' is obsolete. configure.ac:52: You should run autoupdate. ./lib/autoconf/headers.m4:704: AC_HEADER_STDC is expanded from... configure.ac:52: the top level configure.ac:87: warning: The macro `AC_ERROR' is obsolete. configure.ac:87: You should run autoupdate. ./lib/autoconf/oldnames.m4:34: AC_ERROR is expanded from... lib/m4sugar/m4sh.m4:692: _AS_IF_ELSE is expanded from... lib/m4sugar/m4sh.m4:699: AS_IF is expanded from... ./lib/autoconf/functions.m4:66: AC_CHECK_FUNC is expanded from... acinclude.m4:4: CF_CURSES_LIBS is expanded from... lib/m4sugar/m4sh.m4:692: _AS_IF_ELSE is expanded from... lib/m4sugar/m4sh.m4:699: AS_IF is expanded from... ./lib/autoconf/libs.m4:100: AC_CHECK_LIB is expanded from... lib/m4sugar/m4sh.m4:692: _AS_IF_ELSE is expanded from... lib/m4sugar/m4sh.m4:699: AS_IF is expanded from... ./lib/autoconf/libs.m4:100: AC_CHECK_LIB is expanded from... configure.ac:87: the top level configure.ac:87: warning: The macro `AC_TRY_LINK' is obsolete. configure.ac:87: You should run autoupdate. ./lib/autoconf/general.m4:2920: AC_TRY_LINK is expanded from... lib/m4sugar/m4sh.m4:692: _AS_IF_ELSE is expanded from... lib/m4sugar/m4sh.m4:699: AS_IF is expanded from... ./lib/autoconf/functions.m4:66: AC_CHECK_FUNC is expanded from... acinclude.m4:4: CF_CURSES_LIBS is expanded from... lib/m4sugar/m4sh.m4:692: _AS_IF_ELSE is expanded from... lib/m4sugar/m4sh.m4:699: AS_IF is expanded from... ./lib/autoconf/libs.m4:100: AC_CHECK_LIB is expanded from... lib/m4sugar/m4sh.m4:692: _AS_IF_ELSE is expanded from... lib/m4sugar/m4sh.m4:699: AS_IF is expanded from... ./lib/autoconf/libs.m4:100: AC_CHECK_LIB is expanded from... configure.ac:87: the top level configure.ac:87: warning: The macro `AC_TRY_LINK' is obsolete. configure.ac:87: You should run autoupdate. ./lib/autoconf/general.m4:2920: AC_TRY_LINK is expanded from... lib/m4sugar/m4sh.m4:692: _AS_IF_ELSE is expanded from... lib/m4sugar/m4sh.m4:699: AS_IF 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... ./lib/autoconf/general.m4:2920: AC_TRY_LINK is expanded from... lib/m4sugar/m4sh.m4:692: _AS_IF_ELSE is expanded from... lib/m4sugar/m4sh.m4:699: AS_IF is expanded from... ./lib/autoconf/functions.m4:66: AC_CHECK_FUNC is expanded from... acinclude.m4:4: CF_CURSES_LIBS is expanded from... lib/m4sugar/m4sh.m4:692: _AS_IF_ELSE is expanded from... lib/m4sugar/m4sh.m4:699: AS_IF is expanded from... ./lib/autoconf/libs.m4:100: AC_CHECK_LIB is expanded from... lib/m4sugar/m4sh.m4:692: _AS_IF_ELSE is expanded from... lib/m4sugar/m4sh.m4:699: AS_IF is expanded from... ./lib/autoconf/libs.m4:100: AC_CHECK_LIB is expanded from... configure.ac:87: the top level autoreconf: running: /usr/bin/autoheader --force autoreconf: running: automake --add-missing --copy --force-missing configure.ac:13: warning: The 'AM_PROG_MKDIR_P' macro is deprecated, and its use is discouraged. configure.ac:13: You should use the Autoconf-provided 'AC_PROG_MKDIR_P' macro instead, configure.ac:13: and use '$(MKDIR_P)' instead of '$(mkdir_p)'in your Makefile.am files. configure.ac:12: installing './compile' autoreconf: Leaving directory '.' + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.Er3n08 + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd abook-0.6.1 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + '[' '-flto=auto -ffat-lto-objectsx' '!=' x ']' ++ find . -type f -name configure -print + for file in $(find . -type f -name configure -print) + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\) = /__attribute__ ((used)) char (*f) () = /g' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\);/__attribute__ ((used)) char (*f) ();/g' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed -r --in-place=.backup 's/^char \$2 \(\);/__attribute__ ((used)) char \$2 ();/g' ./configure + diff -u ./configure.backup ./configure --- ./configure.backup 2023-05-11 09:06:14.319652444 -0400 +++ ./configure 2023-05-11 09:06:19.809667663 -0400 @@ -1769,7 +1769,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 + mv ./configure.backup ./configure + '[' 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 ++ 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 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 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 whether NLS is requested... yes checking for msgfmt... /usr/bin/msgfmt checking for gmsgfmt... /usr/bin/msgfmt checking for xgettext... /usr/bin/xgettext checking for msgmerge... /usr/bin/msgmerge checking build system type... riscv64-redhat-linux-gnu checking host system type... riscv64-redhat-linux-gnu checking for ld used by GCC... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for shared library run path origin... done 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 ./configure: line 5623: cd: /lib64/lp64d/../lib64/lp64d/: No such file or directory ./configure: line 5623: cd: /usr/lib64/lp64d/../lib64/lp64d/: No such file or directory checking for CFPreferencesCopyAppValue... no checking for CFLocaleCopyCurrent... no checking for GNU gettext in libc... yes checking whether to use NLS... yes checking where the gettext function comes from... libc 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 for library containing strerror... none required checking for inline... inline checking for egrep... (cached) /usr/bin/grep -E checking for unistd.h... (cached) yes checking for locale.h... yes checking for sys/ioctl.h... yes checking for iconv.h... yes checking for stdarg.h... yes checking for working strcoll... yes checking for setlocale... yes checking for wchar.h... (cached) yes checking for mbtowc... yes checking for wcwidth... yes checking for mbrtowc... yes checking for mbsinit... yes checking for gcc options needed to detect all undeclared functions... none needed checking whether wcwidth is declared... no checking for wchar_t... yes checking for initscr in -lncursesw... yes checking for ncurses.h... yes checking for a readline compatible library... -lreadline checking for readline.h... no checking for readline/readline.h... yes checking whether readline supports history... yes checking for history.h... no checking for readline/history.h... yes checking for resizeterm... yes checking for snprintf... yes checking for vsnprintf... yes checking for strcasestr... yes checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating abook.spec config.status: creating po/Makefile.in config.status: creating config.h config.status: executing depfiles commands config.status: executing po-directories commands config.status: creating po/POTFILES config.status: creating po/Makefile + /usr/bin/make -O -j4 V=1 VERBOSE=1 /usr/bin/make all-recursive Making all in po test ! -f ./abook.pot || \ test -z "de.gmo fr.gmo it.gmo ja.gmo sv.gmo" || /usr/bin/make de.gmo fr.gmo it.gmo ja.gmo sv.gmo make[3]: Entering directory '/builddir/build/BUILD/abook-0.6.1/po' rm -f de.gmo && /usr/bin/msgfmt -c --statistics --verbose -o de.gmo de.po make[3]: Leaving directory '/builddir/build/BUILD/abook-0.6.1/po' de.po: 191 translated messages, 9 fuzzy translations, 10 untranslated messages. fr.po: 189 translated messages, 9 fuzzy translations, 12 untranslated messages. it.po: 183 translated messages, 10 fuzzy translations, 17 untranslated messages. make[3]: Entering directory '/builddir/build/BUILD/abook-0.6.1/po' rm -f fr.gmo && /usr/bin/msgfmt -c --statistics --verbose -o fr.gmo fr.po make[3]: Leaving directory '/builddir/build/BUILD/abook-0.6.1/po' make[3]: Entering directory '/builddir/build/BUILD/abook-0.6.1/po' rm -f it.gmo && /usr/bin/msgfmt -c --statistics --verbose -o it.gmo it.po make[3]: Leaving directory '/builddir/build/BUILD/abook-0.6.1/po' make[3]: Entering directory '/builddir/build/BUILD/abook-0.6.1/po' rm -f ja.gmo && /usr/bin/msgfmt -c --statistics --verbose -o ja.gmo ja.po ja.po: 148 translated messages, 25 fuzzy translations, 37 untranslated messages. make[3]: Leaving directory '/builddir/build/BUILD/abook-0.6.1/po' make[3]: Entering directory '/builddir/build/BUILD/abook-0.6.1/po' rm -f sv.gmo && /usr/bin/msgfmt -c --statistics --verbose -o sv.gmo sv.po sv.po: 141 translated messages, 29 fuzzy translations, 40 untranslated messages. make[3]: Leaving directory '/builddir/build/BUILD/abook-0.6.1/po' make[2]: Entering directory '/builddir/build/BUILD/abook-0.6.1/po' touch stamp-po make[2]: Leaving directory '/builddir/build/BUILD/abook-0.6.1/po' make[2]: Entering directory '/builddir/build/BUILD/abook-0.6.1' gcc -DHAVE_CONFIG_H -I. -I/usr/include/ncursesw -Wall -fgnu89-inline -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -c -o abook_rl.o abook_rl.c make[2]: Leaving directory '/builddir/build/BUILD/abook-0.6.1' make[2]: Entering directory '/builddir/build/BUILD/abook-0.6.1' gcc -DHAVE_CONFIG_H -I. -I/usr/include/ncursesw -Wall -fgnu89-inline -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -c -o abook.o abook.c make[2]: Leaving directory '/builddir/build/BUILD/abook-0.6.1' abook.c: In function 'launch_mutt': abook.c:592:9: warning: ignoring return value of 'system' declared with attribute 'warn_unused_result' [-Wunused-result] 592 | system(cmd); | ^~~~~~~~~~~ abook.c: In function 'launch_wwwbrowser': abook.c:617:17: warning: ignoring return value of 'system' declared with attribute 'warn_unused_result' [-Wunused-result] 617 | system(cmd); | ^~~~~~~~~~~ abook.c: In function 'mutt_query': abook.c:492:17: warning: 'export_file' accessing 8 bytes in a region of size 6 [-Wstringop-overflow=] 492 | export_file("muttq", "-"); | ^~~~~~~~~~~~~~~~~~~~~~~~~ abook.c:492:17: note: referencing argument 1 of type 'char[8]' In file included from abook.c:30: filter.h:34:17: note: in a call to function 'export_file' 34 | int export_file(char filtname[FILTNAME_LEN], char *filename); | ^~~~~~~~~~~ abook.c: In function 'parse_command_line': abook.c:310:32: warning: 'select_output_item_filter' accessing 8 bytes in a region of size 6 [-Wstringop-overflow=] 310 | selected_item_filter = select_output_item_filter("muttq"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ abook.c:310:32: note: referencing argument 1 of type 'char[8]' filter.h:37:17: note: in a call to function 'select_output_item_filter' 37 | select_output_item_filter(char filtname[FILTNAME_LEN]); | ^~~~~~~~~~~~~~~~~~~~~~~~~ abook.c:415:40: warning: 'select_output_item_filter' accessing 8 bytes in a region of size 6 [-Wstringop-overflow=] 415 | selected_item_filter = select_output_item_filter("muttq"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ abook.c:415:40: note: referencing argument 1 of type 'char[8]' filter.h:37:17: note: in a call to function 'select_output_item_filter' 37 | select_output_item_filter(char filtname[FILTNAME_LEN]); | ^~~~~~~~~~~~~~~~~~~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/abook-0.6.1' gcc -DHAVE_CONFIG_H -I. -I/usr/include/ncursesw -Wall -fgnu89-inline -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -c -o edit.o edit.c edit.c: In function 'editor_print_data': edit.c:209:16: warning: variable 'x' set but not used [-Wunused-but-set-variable] 209 | int y, x; | ^ edit.c: In function 'edit_loop': edit.c:681:47: warning: variable 'window_x' set but not used [-Wunused-but-set-variable] 681 | int window_y, window_x; | ^~~~~~~~ edit.c: In function 'parse_date_string': edit.c:501:17: warning: 'strncpy' specified bound 12 equals destination size [-Wstringop-truncation] 501 | p = s = strncpy(buf, str, sizeof(buf)); | ^ make[2]: Leaving directory '/builddir/build/BUILD/abook-0.6.1' make[2]: Entering directory '/builddir/build/BUILD/abook-0.6.1' gcc -DHAVE_CONFIG_H -I. -I/usr/include/ncursesw -Wall -fgnu89-inline -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -c -o getopt.o getopt.c make[2]: Leaving directory '/builddir/build/BUILD/abook-0.6.1' make[2]: Entering directory '/builddir/build/BUILD/abook-0.6.1' gcc -DHAVE_CONFIG_H -I. -I/usr/include/ncursesw -Wall -fgnu89-inline -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -c -o database.o database.c make[2]: Leaving directory '/builddir/build/BUILD/abook-0.6.1' make[2]: Entering directory '/builddir/build/BUILD/abook-0.6.1' gcc -DHAVE_CONFIG_H -I. -I/usr/include/ncursesw -Wall -fgnu89-inline -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -c -o getopt1.o getopt1.c make[2]: Leaving directory '/builddir/build/BUILD/abook-0.6.1' make[2]: Entering directory '/builddir/build/BUILD/abook-0.6.1' gcc -DHAVE_CONFIG_H -I. -I/usr/include/ncursesw -Wall -fgnu89-inline -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -c -o gettext.o gettext.c make[2]: Leaving directory '/builddir/build/BUILD/abook-0.6.1' make[2]: Entering directory '/builddir/build/BUILD/abook-0.6.1' gcc -DHAVE_CONFIG_H -I. -I/usr/include/ncursesw -Wall -fgnu89-inline -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -c -o getname.o getname.c getname.c: In function 'getname': getname.c:280:27: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 280 | name[--i] = '\0'; | ~~~~~~~~~~^~~~~~ getname.c:144:14: note: at offset -1 into destination object 'name' of size 80 144 | char name[NAMESTRLEN]; | ^~~~ make[2]: Leaving directory '/builddir/build/BUILD/abook-0.6.1' make[2]: Entering directory '/builddir/build/BUILD/abook-0.6.1' gcc -DHAVE_CONFIG_H -I. -I/usr/include/ncursesw -Wall -fgnu89-inline -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -c -o mbswidth.o mbswidth.c make[2]: Leaving directory '/builddir/build/BUILD/abook-0.6.1' make[2]: Entering directory '/builddir/build/BUILD/abook-0.6.1' gcc -DHAVE_CONFIG_H -I. -I/usr/include/ncursesw -Wall -fgnu89-inline -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -c -o ldif.o ldif.c make[2]: Leaving directory '/builddir/build/BUILD/abook-0.6.1' make[2]: Entering directory '/builddir/build/BUILD/abook-0.6.1' gcc -DHAVE_CONFIG_H -I. -I/usr/include/ncursesw -Wall -fgnu89-inline -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -c -o list.o list.c make[2]: Leaving directory '/builddir/build/BUILD/abook-0.6.1' make[2]: Entering directory '/builddir/build/BUILD/abook-0.6.1' gcc -DHAVE_CONFIG_H -I. -I/usr/include/ncursesw -Wall -fgnu89-inline -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -c -o misc.o misc.c make[2]: Leaving directory '/builddir/build/BUILD/abook-0.6.1' make[2]: Entering directory '/builddir/build/BUILD/abook-0.6.1' gcc -DHAVE_CONFIG_H -I. -I/usr/include/ncursesw -Wall -fgnu89-inline -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -c -o options.o options.c make[2]: Leaving directory '/builddir/build/BUILD/abook-0.6.1' make[2]: Entering directory '/builddir/build/BUILD/abook-0.6.1' gcc -DHAVE_CONFIG_H -I. -I/usr/include/ncursesw -Wall -fgnu89-inline -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -c -o views.o views.c make[2]: Leaving directory '/builddir/build/BUILD/abook-0.6.1' make[2]: Entering directory '/builddir/build/BUILD/abook-0.6.1' gcc -DHAVE_CONFIG_H -I. -I/usr/include/ncursesw -Wall -fgnu89-inline -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -c -o xmalloc.o xmalloc.c make[2]: Leaving directory '/builddir/build/BUILD/abook-0.6.1' make[2]: Entering directory '/builddir/build/BUILD/abook-0.6.1' gcc -DHAVE_CONFIG_H -I. -I/usr/include/ncursesw -Wall -fgnu89-inline -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -c -o filter.o filter.c make[2]: Leaving directory '/builddir/build/BUILD/abook-0.6.1' filter.c: In function 'pine_parse_file': filter.c:1247:9: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 1247 | fgets(line, LINESIZE, in); | ^~~~~~~~~~~~~~~~~~~~~~~~~ filter.c:1254:25: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 1254 | fgets(line, LINESIZE, in); | ^~~~~~~~~~~~~~~~~~~~~~~~~ filter.c: In function 'ldif_add_item': filter.c:681:15: warning: array subscript 18 is outside array bounds of 'char *[18]' [-Warray-bounds=] 681 | if(!li[LDIF_OBJECTCLASS]) | ~~^~~~~~~~~~~~~~~~~~ filter.c:674:25: note: at offset 144 into object 'li' of size [0, 144] 674 | ldif_add_item(ldif_item li) | ~~~~~~~~~~^~ filter.c: In function 'pine_parse_file': filter.c:1222:25: warning: '__strncpy_chk' specified bound depends on the length of the source argument [-Wstringop-truncation] 1222 | strncpy(tmp, start, len); | ^ In function 'pine_parse_buf', inlined from 'pine_parse_file' at filter.c:1270:3: filter.c:1217:30: note: length computed here 1217 | len = last ? strlen(start) : (int) (end-start); | ^~~~~~~~~~~~~ In file included from /usr/include/string.h:535, from filter.c:14: In function 'strcat', inlined from 'mutt_alias_gengroups' at filter.c:2204:4, inlined from 'mutt_alias_export' at filter.c:2225:40: /usr/include/bits/string_fortified.h:130:10: warning: 'strcat' forming offset 7 is out of the bounds [0, 7] of object 'groupstr' with type 'char[7]' [-Warray-bounds=] 130 | return __builtin___strcat_chk (__dest, __src, __glibc_objsize (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ filter.c: In function 'mutt_alias_export': filter.c:2188:14: note: 'groupstr' declared here 2188 | char groupstr[7] = "-group "; | ^~~~~~~~ In function 'strcpy', inlined from 'mutt_alias_gengroups' at filter.c:2200:10, inlined from 'mutt_alias_export' at filter.c:2225:40: /usr/include/bits/string_fortified.h:79:10: warning: 'strcpy' forming offset 7 is out of the bounds [0, 7] of object 'groupstr' with type 'char[7]' [-Warray-bounds=] 79 | return __builtin___strcpy_chk (__dest, __src, __glibc_objsize (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ filter.c: In function 'mutt_alias_export': filter.c:2188:14: note: 'groupstr' declared here 2188 | char groupstr[7] = "-group "; | ^~~~~~~~ make[2]: Entering directory '/builddir/build/BUILD/abook-0.6.1' gcc -DHAVE_CONFIG_H -I. -I/usr/include/ncursesw -Wall -fgnu89-inline -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -c -o ui.o ui.c make[2]: Leaving directory '/builddir/build/BUILD/abook-0.6.1' ui.c: In function 'ui_print_database': ui.c:790:9: warning: 'fexport' accessing 8 bytes in a region of size 5 [-Wstringop-overflow=] 790 | fexport("text", handle, mode); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ui.c:790:9: note: referencing argument 1 of type 'char[8]' In file included from ui.c:26: filter.h:45:17: note: in a call to function 'fexport' 45 | int fexport(char filtname[FILTNAME_LEN], FILE *handle, | ^~~~~~~ ui.c: In function 'ui_find': ui.c:710:25: warning: 'strncpy' specified bound 81 equals destination size [-Wstringop-truncation] 710 | strncpy(findstr, s, MAX_FIELD_LEN); | ^ make[2]: Entering directory '/builddir/build/BUILD/abook-0.6.1' gcc -Wall -fgnu89-inline -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -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 -o abook abook.o abook_rl.o database.o edit.o filter.o getname.o getopt.o getopt1.o gettext.o ldif.o list.o mbswidth.o misc.o options.o ui.o views.o xmalloc.o -lncursesw -lreadline /usr/include/ncursesw/ncurses.h:1479:37: warning: type of 'stdscr' does not match original declaration [-Wlto-type-mismatch] 1479 | extern NCURSES_EXPORT_VAR(WINDOW *) stdscr; | ^ /usr/include/ncursesw/ncurses.h:1479:37: note: 'stdscr' was previously declared here 1479 | extern NCURSES_EXPORT_VAR(WINDOW *) stdscr; | ^ /usr/include/ncursesw/ncurses.h:1479:37: note: code may be misoptimized unless '-fno-strict-aliasing' is used getname.c: In function 'getname': getname.c:280:27: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=] 280 | name[--i] = '\0'; | ^ getname.c:144:14: note: at offset -1 into destination object 'name' of size 80 144 | char name[NAMESTRLEN]; | ^ make[2]: Leaving directory '/builddir/build/BUILD/abook-0.6.1' + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.HgiuUL + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/abook-0.6.1-22.fc38.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/abook-0.6.1-22.fc38.riscv64 ++ dirname /builddir/build/BUILDROOT/abook-0.6.1-22.fc38.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/abook-0.6.1-22.fc38.riscv64 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd abook-0.6.1 + /usr/bin/make install DESTDIR=/builddir/build/BUILDROOT/abook-0.6.1-22.fc38.riscv64 'INSTALL=/usr/bin/install -p' Making install in po make[1]: Entering directory '/builddir/build/BUILD/abook-0.6.1/po' installing de.gmo as /builddir/build/BUILDROOT/abook-0.6.1-22.fc38.riscv64/usr/share/locale/de/LC_MESSAGES/abook.mo installing de.gmo link as /builddir/build/BUILDROOT/abook-0.6.1-22.fc38.riscv64/usr/share/locale/de/LC_TIME/abook.mo installing fr.gmo as /builddir/build/BUILDROOT/abook-0.6.1-22.fc38.riscv64/usr/share/locale/fr/LC_MESSAGES/abook.mo installing fr.gmo link as /builddir/build/BUILDROOT/abook-0.6.1-22.fc38.riscv64/usr/share/locale/fr/LC_TIME/abook.mo installing it.gmo as /builddir/build/BUILDROOT/abook-0.6.1-22.fc38.riscv64/usr/share/locale/it/LC_MESSAGES/abook.mo installing it.gmo link as /builddir/build/BUILDROOT/abook-0.6.1-22.fc38.riscv64/usr/share/locale/it/LC_TIME/abook.mo installing ja.gmo as /builddir/build/BUILDROOT/abook-0.6.1-22.fc38.riscv64/usr/share/locale/ja/LC_MESSAGES/abook.mo installing ja.gmo link as /builddir/build/BUILDROOT/abook-0.6.1-22.fc38.riscv64/usr/share/locale/ja/LC_TIME/abook.mo installing sv.gmo as /builddir/build/BUILDROOT/abook-0.6.1-22.fc38.riscv64/usr/share/locale/sv/LC_MESSAGES/abook.mo installing sv.gmo link as /builddir/build/BUILDROOT/abook-0.6.1-22.fc38.riscv64/usr/share/locale/sv/LC_TIME/abook.mo if test "abook" = "gettext-tools"; then \ /usr/bin/mkdir -p /builddir/build/BUILDROOT/abook-0.6.1-22.fc38.riscv64/usr/share/gettext/po; \ for file in Makefile.in.in remove-potcdate.sin quot.sed boldquot.sed en@quot.header en@boldquot.header insert-header.sin Rules-quot Makevars.template; do \ /usr/bin/install -p -m 644 ./$file \ /builddir/build/BUILDROOT/abook-0.6.1-22.fc38.riscv64/usr/share/gettext/po/$file; \ done; \ for file in Makevars; do \ rm -f /builddir/build/BUILDROOT/abook-0.6.1-22.fc38.riscv64/usr/share/gettext/po/$file; \ done; \ else \ : ; \ fi make[1]: Leaving directory '/builddir/build/BUILD/abook-0.6.1/po' make[1]: Entering directory '/builddir/build/BUILD/abook-0.6.1' make[2]: Entering directory '/builddir/build/BUILD/abook-0.6.1' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/abook-0.6.1-22.fc38.riscv64/usr/bin' /usr/bin/install -p abook '/builddir/build/BUILDROOT/abook-0.6.1-22.fc38.riscv64/usr/bin' /bin/sh ./mkinstalldirs /builddir/build/BUILDROOT/abook-0.6.1-22.fc38.riscv64/usr/share/man/man1 /builddir/build/BUILDROOT/abook-0.6.1-22.fc38.riscv64/usr/share/man/man5 mkdir -p -- /builddir/build/BUILDROOT/abook-0.6.1-22.fc38.riscv64/usr/share/man/man1 /builddir/build/BUILDROOT/abook-0.6.1-22.fc38.riscv64/usr/share/man/man5 /usr/bin/install -p -m 644 ./abook.1 /builddir/build/BUILDROOT/abook-0.6.1-22.fc38.riscv64/usr/share/man/man1/ /usr/bin/install -p -m 644 ./abookrc.5 /builddir/build/BUILDROOT/abook-0.6.1-22.fc38.riscv64/usr/share/man/man5/ make[2]: Leaving directory '/builddir/build/BUILD/abook-0.6.1' make[1]: Leaving directory '/builddir/build/BUILD/abook-0.6.1' + /usr/lib/rpm/find-lang.sh /builddir/build/BUILDROOT/abook-0.6.1-22.fc38.riscv64 abook + /usr/bin/find-debuginfo -j4 --strict-build-id -m -i --build-id-seed 0.6.1-22.fc38 --unique-debug-suffix -0.6.1-22.fc38.riscv64 --unique-debug-src-base abook-0.6.1-22.fc38.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/abook-0.6.1 extracting debug info from /builddir/build/BUILDROOT/abook-0.6.1-22.fc38.riscv64/usr/bin/abook original debug info size: 1264kB, size after compression: 1244kB /usr/bin/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. 517 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/redhat/brp-mangle-shebangs + /usr/lib/rpm/brp-remove-la-files + env /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 -j4 + /usr/lib/rpm/redhat/brp-python-hardlink Processing files: abook-0.6.1-22.fc38.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.etsPiR + umask 022 + cd /builddir/build/BUILD + cd abook-0.6.1 + DOCDIR=/builddir/build/BUILDROOT/abook-0.6.1-22.fc38.riscv64/usr/share/doc/abook + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/abook-0.6.1-22.fc38.riscv64/usr/share/doc/abook + cp -pr AUTHORS /builddir/build/BUILDROOT/abook-0.6.1-22.fc38.riscv64/usr/share/doc/abook + cp -pr BUGS /builddir/build/BUILDROOT/abook-0.6.1-22.fc38.riscv64/usr/share/doc/abook + cp -pr ChangeLog /builddir/build/BUILDROOT/abook-0.6.1-22.fc38.riscv64/usr/share/doc/abook + cp -pr FAQ /builddir/build/BUILDROOT/abook-0.6.1-22.fc38.riscv64/usr/share/doc/abook + cp -pr README /builddir/build/BUILDROOT/abook-0.6.1-22.fc38.riscv64/usr/share/doc/abook + cp -pr RELEASE_NOTES /builddir/build/BUILDROOT/abook-0.6.1-22.fc38.riscv64/usr/share/doc/abook + cp -pr THANKS /builddir/build/BUILDROOT/abook-0.6.1-22.fc38.riscv64/usr/share/doc/abook + cp -pr TODO /builddir/build/BUILDROOT/abook-0.6.1-22.fc38.riscv64/usr/share/doc/abook + cp -pr sample.abookrc /builddir/build/BUILDROOT/abook-0.6.1-22.fc38.riscv64/usr/share/doc/abook + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.vULtX7 + umask 022 + cd /builddir/build/BUILD + cd abook-0.6.1 + LICENSEDIR=/builddir/build/BUILDROOT/abook-0.6.1-22.fc38.riscv64/usr/share/licenses/abook + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/abook-0.6.1-22.fc38.riscv64/usr/share/licenses/abook + cp -pr COPYING /builddir/build/BUILDROOT/abook-0.6.1-22.fc38.riscv64/usr/share/licenses/abook + RPM_EC=0 ++ jobs -p + exit 0 Provides: abook = 0.6.1-22.fc38 abook(riscv-64) = 0.6.1-22.fc38 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ld-linux-riscv64-lp64d.so.1()(64bit) ld-linux-riscv64-lp64d.so.1(GLIBC_2.27)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(64bit) libc.so.6(GLIBC_2.33)(64bit) libc.so.6(GLIBC_2.34)(64bit) libncursesw.so.6()(64bit) libreadline.so.8()(64bit) libtinfo.so.6()(64bit) rtld(GNU_HASH) Processing files: abook-debugsource-0.6.1-22.fc38.riscv64 Provides: abook-debugsource = 0.6.1-22.fc38 abook-debugsource(riscv-64) = 0.6.1-22.fc38 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: abook-debuginfo-0.6.1-22.fc38.riscv64 Provides: abook-debuginfo = 0.6.1-22.fc38 abook-debuginfo(riscv-64) = 0.6.1-22.fc38 debuginfo(build-id) = fcab46e4f868f1374c7e298981322c1f17d30c7a Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: abook-debugsource(riscv-64) = 0.6.1-22.fc38 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/abook-0.6.1-22.fc38.riscv64 Wrote: /builddir/build/RPMS/abook-0.6.1-22.fc38.riscv64.rpm Wrote: /builddir/build/RPMS/abook-debugsource-0.6.1-22.fc38.riscv64.rpm Wrote: /builddir/build/RPMS/abook-debuginfo-0.6.1-22.fc38.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.27TB6H + umask 022 + cd /builddir/build/BUILD + cd abook-0.6.1 + /usr/bin/rm -rf /builddir/build/BUILDROOT/abook-0.6.1-22.fc38.riscv64 + RPM_EC=0 ++ jobs -p + exit 0 Executing(rmbuild): /bin/sh -e /var/tmp/rpm-tmp.igywJg + umask 022 + cd /builddir/build/BUILD + rm -rf abook-0.6.1 abook-0.6.1.gemspec + RPM_EC=0 ++ jobs -p + exit 0 RPM build warnings: %patchN is deprecated (4 usages found), use %patch N (or %patch -P N) Child return code was: 0