Mock Version: 1.4.14 Mock Version: 1.4.14 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/compat-readline5.spec'], chrootPath='/var/lib/mock/f32-build-120553-36897/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=986gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/compat-readline5.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=1563926400 Wrote: /builddir/build/SRPMS/compat-readline5-5.2-34.fc32.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/compat-readline5.spec'], chrootPath='/var/lib/mock/f32-build-120553-36897/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=986gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target riscv64 --nodeps /builddir/build/SPECS/compat-readline5.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=1563926400 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.ue0D7o + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf readline-5.2 + /usr/bin/tar -xof - + /usr/bin/gzip -dc /builddir/build/SOURCES/readline-5.2.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd readline-5.2 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . Patch #1 (readline52-001): + echo 'Patch #1 (readline52-001):' + /usr/bin/patch --no-backup-if-mismatch -p0 -b --suffix .001 --fuzz=0 patching file display.c Patch #2 (readline52-002): + echo 'Patch #2 (readline52-002):' + /usr/bin/patch --no-backup-if-mismatch -p0 -b --suffix .002 --fuzz=0 patching file display.c + echo 'Patch #3 (readline52-003):' Patch #3 (readline52-003): + /usr/bin/patch --no-backup-if-mismatch -p0 -b --suffix .003 --fuzz=0 patching file display.c Patch #4 (readline52-004): + echo 'Patch #4 (readline52-004):' + /usr/bin/patch --no-backup-if-mismatch -p0 -b --suffix .004 --fuzz=0 patching file display.c Patch #5 (readline52-005): + echo 'Patch #5 (readline52-005):' + /usr/bin/patch --no-backup-if-mismatch -p0 -b --suffix .005 --fuzz=0 patching file complete.c patching file input.c patching file isearch.c patching file misc.c patching file readline.c patching file text.c patching file vi_mode.c Patch #6 (readline52-006): + echo 'Patch #6 (readline52-006):' + /usr/bin/patch --no-backup-if-mismatch -p0 -b --suffix .006 --fuzz=0 patching file display.c + echo 'Patch #7 (readline52-007):' Patch #7 (readline52-007): + /usr/bin/patch --no-backup-if-mismatch -p0 -b --suffix .007 --fuzz=0 patching file input.c Patch #8 (readline52-008): + echo 'Patch #8 (readline52-008):' + /usr/bin/patch --no-backup-if-mismatch -p0 -b --suffix .008 --fuzz=0 patching file display.c Patch #9 (readline52-009): + echo 'Patch #9 (readline52-009):' + /usr/bin/patch --no-backup-if-mismatch -p0 -b --suffix .009 --fuzz=0 patching file display.c Patch #10 (readline52-010): + echo 'Patch #10 (readline52-010):' + /usr/bin/patch --no-backup-if-mismatch -p0 -b --suffix .010 --fuzz=0 patching file display.c Hunk #1 succeeded at 1570 (offset 4 lines). Patch #11 (readline52-011): + echo 'Patch #11 (readline52-011):' + /usr/bin/patch --no-backup-if-mismatch -p0 -b --suffix .011 --fuzz=0 patching file input.c Patch #12 (readline52-013): + echo 'Patch #12 (readline52-013):' + /usr/bin/patch --no-backup-if-mismatch -p0 -b --suffix .013 --fuzz=0 patching file display.c Patch #13 (readline52-014): + echo 'Patch #13 (readline52-014):' + /usr/bin/patch --no-backup-if-mismatch -p0 -b --suffix .014 --fuzz=0 patching file mbutil.c Patch #20 (readline-5.2-shlib.patch): + echo 'Patch #20 (readline-5.2-shlib.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .shlib --fuzz=0 patching file support/shlib-install patching file support/shobj-conf patching file shlib/Makefile.in Patch #21 (readline-5.2-redisplay-sigint.patch): + echo 'Patch #21 (readline-5.2-redisplay-sigint.patch):' + /usr/bin/patch --no-backup-if-mismatch -p1 -b --suffix .redisplay-sigint --fuzz=0 patching file display.c Hunk #2 succeeded at 1194 (offset 10 lines). patching file rltty.c patching file rltty.h + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.d8MOUp + umask 022 + cd /builddir/build/BUILD + cd readline-5.2 + export CPPFLAGS=-I/usr/include/ncurses + CPPFLAGS=-I/usr/include/ncurses + CFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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 + '[' 1 = 1 ']' BUILDSTDERR: +++ dirname ./configure BUILDSTDERR: ++ find . -name config.guess -o -name config.sub + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) BUILDSTDERR: ++ basename ./support/config.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /usr/bin/rm -f ./support/config.guess BUILDSTDERR: ++ basename ./support/config.guess + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ./support/config.guess '/usr/lib/rpm/redhat/config.guess' -> './support/config.guess' + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) BUILDSTDERR: ++ basename ./support/config.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /usr/bin/rm -f ./support/config.sub BUILDSTDERR: ++ basename ./support/config.sub + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ./support/config.sub '/usr/lib/rpm/redhat/config.sub' -> './support/config.sub' + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' ']' BUILDSTDERR: ++ find . -name 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 build system type... riscv64-redhat-linux-gnu checking host system type... riscv64-redhat-linux-gnu Beginning configuration for readline-5.2 for riscv64-redhat-linux-gnu checking whether make sets $(MAKE)... yes checking for riscv64-redhat-linux-gnu-gcc... no checking for gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... 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 ANSI C... none needed checking how to run the C preprocessor... gcc -E checking for egrep... grep -E 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 gcc needs -traditional... no checking for a BSD-compatible install... /usr/bin/install -c checking for ar... ar checking for riscv64-redhat-linux-gnu-ranlib... no checking for ranlib... ranlib checking for an ANSI C-conforming const... yes checking for function prototypes... yes checking whether char is unsigned... yes checking return type of signal handlers... void checking for size_t... yes checking for ssize_t... yes checking for ANSI C header files... (cached) yes checking whether stat file-mode macros are broken... no checking for dirent.h that defines DIR... yes checking for library containing opendir... none required checking for fcntl... yes checking for kill... yes checking for lstat... yes checking for memmove... yes checking for putenv... yes checking for select... yes checking for setenv... yes checking for setlocale... yes checking for strcasecmp... yes checking for strpbrk... yes checking for tcgetattr... yes checking for vsnprintf... yes checking for isascii... yes checking for isxdigit... yes checking for getpwent... yes checking for getpwnam... yes checking for getpwuid... yes checking for working strcoll... yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking for unistd.h... (cached) yes checking for stdlib.h... (cached) yes checking varargs.h usability... no checking varargs.h presence... no checking for varargs.h... no checking stdarg.h usability... yes checking stdarg.h presence... yes checking for stdarg.h... yes checking for string.h... (cached) yes checking for strings.h... (cached) yes checking limits.h usability... yes checking limits.h presence... yes checking for limits.h... yes checking locale.h usability... yes checking locale.h presence... yes checking for locale.h... yes checking pwd.h usability... yes checking pwd.h presence... yes checking for pwd.h... yes checking for memory.h... (cached) yes checking termcap.h usability... yes checking termcap.h presence... yes checking for termcap.h... yes checking termios.h usability... yes checking termios.h presence... yes checking for termios.h... yes checking termio.h usability... yes checking termio.h presence... yes checking for termio.h... yes checking sys/pte.h usability... no checking sys/pte.h presence... no checking for sys/pte.h... no checking sys/stream.h usability... no checking sys/stream.h presence... no checking for sys/stream.h... no checking sys/select.h usability... yes checking sys/select.h presence... yes checking for sys/select.h... yes checking sys/file.h usability... yes checking sys/file.h presence... yes checking for sys/file.h... yes checking for sys/ptem.h... no checking for type of signal functions... posix checking if signal handlers must be reinstalled when invoked... no checking for presence of POSIX-style sigsetjmp/siglongjmp... present checking for lstat... yes checking whether or not strcoll and strcmp differ... no checking whether the ctype macros accept non-ascii characters... no checking whether getpw functions are declared in pwd.h... yes checking whether termios.h defines TIOCGWINSZ... no checking whether sys/ioctl.h defines TIOCGWINSZ... yes checking whether signal handlers are of type void... yes checking for TIOCSTAT in sys/ioctl.h... no checking for FIONREAD in sys/ioctl.h... yes checking for speed_t in sys/types.h... no checking for struct winsize in sys/ioctl.h and termios.h... sys/ioctl.h checking for struct dirent.d_ino... yes checking for struct dirent.d_fileno... yes checking for tgetent... no checking for tgetent in -ltermcap... yes checking which library has the termcap functions... using libtermcap checking wctype.h usability... yes checking wctype.h presence... yes checking for wctype.h... yes checking wchar.h usability... yes checking wchar.h presence... yes checking for wchar.h... yes checking langinfo.h usability... yes checking langinfo.h presence... yes checking for langinfo.h... yes checking for mbsrtowcs... yes checking for mbrlen... yes checking for wcrtomb... yes checking for wcscoll... yes checking for wcsdup... yes checking for wcwidth... yes checking for wctype... yes checking whether mbrtowc and mbstate_t are properly declared... yes checking for iswlower... yes checking for iswupper... yes checking for towlower... yes checking for towupper... yes checking for iswctype... yes checking for nl_langinfo and CODESET... yes checking for wchar_t in wchar.h... yes checking for wctype_t in wctype.h... yes checking for wint_t in wctype.h... yes checking configuration for building shared libraries... supported configure: creating ./config.status config.status: creating Makefile config.status: creating doc/Makefile config.status: creating examples/Makefile config.status: creating shlib/Makefile config.status: creating config.h config.status: executing default commands + make -j4 rm -f readline.o rm -f vi_mode.o gcc -c -DHAVE_CONFIG_H -I/usr/include/ncurses -I. -I. -DRL_LIBRARY_VERSION='"5.2"' -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection readline.c gcc -c -DHAVE_CONFIG_H -I/usr/include/ncurses -I. -I. -DRL_LIBRARY_VERSION='"5.2"' -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection vi_mode.c rm -f funmap.o rm -f keymaps.o gcc -c -DHAVE_CONFIG_H -I/usr/include/ncurses -I. -I. -DRL_LIBRARY_VERSION='"5.2"' -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection keymaps.c gcc -c -DHAVE_CONFIG_H -I/usr/include/ncurses -I. -I. -DRL_LIBRARY_VERSION='"5.2"' -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection funmap.c BUILDSTDERR: readline.c: In function 'readline_internal_char': BUILDSTDERR: readline.c:450:21: warning: variable 'eof_found' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 450 | static int lastc, eof_found; BUILDSTDERR: | ^~~~~~~~~ BUILDSTDERR: At top level: BUILDSTDERR: readline.c:1083:1: warning: 'reset_default_bindings' defined but not used [-Wunused-function] BUILDSTDERR: 1083 | reset_default_bindings () BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~ rm -f parens.o gcc -c -DHAVE_CONFIG_H -I/usr/include/ncurses -I. -I. -DRL_LIBRARY_VERSION='"5.2"' -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection parens.c rm -f search.o gcc -c -DHAVE_CONFIG_H -I/usr/include/ncurses -I. -I. -DRL_LIBRARY_VERSION='"5.2"' -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection search.c BUILDSTDERR: parens.c: In function 'rl_insert_close': BUILDSTDERR: parens.c:118:36: warning: variable 'ready' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 118 | int orig_point, match_point, ready; BUILDSTDERR: | ^~~~~ BUILDSTDERR: search.c: In function '_rl_nsearch_init': BUILDSTDERR: search.c:214:15: warning: too many arguments for format [-Wformat-extra-args] BUILDSTDERR: 214 | rl_message ("%s", p, 0); BUILDSTDERR: | ^~~~ rm -f rltty.o gcc -c -DHAVE_CONFIG_H -I/usr/include/ncurses -I. -I. -DRL_LIBRARY_VERSION='"5.2"' -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection rltty.c rm -f complete.o gcc -c -DHAVE_CONFIG_H -I/usr/include/ncurses -I. -I. -DRL_LIBRARY_VERSION='"5.2"' -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection complete.c rm -f bind.o gcc -c -DHAVE_CONFIG_H -I/usr/include/ncurses -I. -I. -DRL_LIBRARY_VERSION='"5.2"' -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection bind.c BUILDSTDERR: bind.c: In function 'rl_translate_keyseq': BUILDSTDERR: bind.c:445:19: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 445 | for (i = l = 0; c = seq[i]; i++) BUILDSTDERR: | ^ BUILDSTDERR: complete.c: In function 'fnwidth': BUILDSTDERR: complete.c:604:12: warning: implicit declaration of function 'wcwidth'; did you mean 'fnwidth'? [-Wimplicit-function-declaration] BUILDSTDERR: 604 | w = wcwidth (wc); BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: | fnwidth BUILDSTDERR: complete.c: In function '_rl_find_completion_word': BUILDSTDERR: complete.c:886:14: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 886 | while (rl_point = MB_PREVCHAR (rl_line_buffer, rl_point, MB_FIND_ANY)) BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: bind.c: In function 'rl_parse_and_bind': BUILDSTDERR: bind.c:1188:19: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1188 | for (i = 1; c = string[i]; i++) BUILDSTDERR: | ^ BUILDSTDERR: bind.c:1279:23: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1279 | for (passc = 0; c = string[i]; i++) BUILDSTDERR: | ^ BUILDSTDERR: complete.c: In function 'rl_completion_matches': BUILDSTDERR: complete.c:1805:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1805 | while (string = (*entry_function) (text, matches)) BUILDSTDERR: | ^~~~~~ BUILDSTDERR: complete.c: In function 'rl_username_completion_function': BUILDSTDERR: complete.c:1856:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1856 | while (entry = getpwent ()) BUILDSTDERR: | ^~~~~ rm -f isearch.o gcc -c -DHAVE_CONFIG_H -I/usr/include/ncurses -I. -I. -DRL_LIBRARY_VERSION='"5.2"' -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection isearch.c BUILDSTDERR: bind.c: In function 'rl_function_dumper': BUILDSTDERR: bind.c:2051:15: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 2051 | for (i = 0; name = names[i]; i++) BUILDSTDERR: | ^~~~ BUILDSTDERR: isearch.c: In function 'rl_search_history': BUILDSTDERR: isearch.c:627:7: warning: variable 'c' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 627 | int c, r; BUILDSTDERR: | ^ BUILDSTDERR: isearch.c: In function '_rl_isearch_callback': BUILDSTDERR: isearch.c:665:7: warning: variable 'c' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 665 | int c, r; BUILDSTDERR: | ^ rm -f display.o gcc -c -DHAVE_CONFIG_H -I/usr/include/ncurses -I. -I. -DRL_LIBRARY_VERSION='"5.2"' -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection display.c rm -f signals.o gcc -c -DHAVE_CONFIG_H -I/usr/include/ncurses -I. -I. -DRL_LIBRARY_VERSION='"5.2"' -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection signals.c BUILDSTDERR: display.c: In function 'rl_redisplay': BUILDSTDERR: display.c:730:15: warning: implicit declaration of function 'wcwidth' [-Wimplicit-function-declaration] BUILDSTDERR: 730 | temp = wcwidth (wc); BUILDSTDERR: | ^~~~~~~ rm -f util.o gcc -c -DHAVE_CONFIG_H -I/usr/include/ncurses -I. -I. -DRL_LIBRARY_VERSION='"5.2"' -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection util.c rm -f kill.o gcc -c -DHAVE_CONFIG_H -I/usr/include/ncurses -I. -I. -DRL_LIBRARY_VERSION='"5.2"' -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection kill.c rm -f undo.o gcc -c -DHAVE_CONFIG_H -I/usr/include/ncurses -I. -I. -DRL_LIBRARY_VERSION='"5.2"' -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection undo.c BUILDSTDERR: undo.c: In function '_rl_copy_undo_list': BUILDSTDERR: undo.c:157:16: warning: 'roving' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: 157 | roving->next = 0; BUILDSTDERR: | ~~~~~~~~~~~~~^~~ rm -f macro.o gcc -c -DHAVE_CONFIG_H -I/usr/include/ncurses -I. -I. -DRL_LIBRARY_VERSION='"5.2"' -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection macro.c rm -f input.o gcc -c -DHAVE_CONFIG_H -I/usr/include/ncurses -I. -I. -DRL_LIBRARY_VERSION='"5.2"' -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection input.c rm -f callback.o gcc -c -DHAVE_CONFIG_H -I/usr/include/ncurses -I. -I. -DRL_LIBRARY_VERSION='"5.2"' -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection callback.c BUILDSTDERR: input.c: In function 'rl_read_key': BUILDSTDERR: input.c:431:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 431 | if (c = _rl_next_macro_key ()) BUILDSTDERR: | ^ rm -f terminal.o gcc -c -DHAVE_CONFIG_H -I/usr/include/ncurses -I. -I. -DRL_LIBRARY_VERSION='"5.2"' -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection terminal.c rm -f text.o gcc -c -DHAVE_CONFIG_H -I/usr/include/ncurses -I. -I. -DRL_LIBRARY_VERSION='"5.2"' -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection text.c BUILDSTDERR: In file included from /usr/include/string.h:495, BUILDSTDERR: from rldefs.h:59, BUILDSTDERR: from display.c:45: BUILDSTDERR: In function 'strncpy', BUILDSTDERR: inlined from 'rl_redisplay' at display.c:562:7: BUILDSTDERR: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] BUILDSTDERR: 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: display.c: In function 'rl_redisplay': BUILDSTDERR: display.c:554:40: note: length computed here BUILDSTDERR: 554 | prompt_physical_chars = pmtlen = strlen (prompt_this_line); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: display.c:845:8: warning: 'wc_width' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: 845 | for (i = 0; i < wc_width; i++) BUILDSTDERR: | ^~~ BUILDSTDERR: display.c:684:10: warning: 'n0' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: 684 | lpos -= _rl_col_width (local_prompt, n0, num); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: text.c: In function '_rl_overwrite_char': BUILDSTDERR: text.c:814:7: warning: variable 'k' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 814 | int k; BUILDSTDERR: | ^ rm -f nls.o gcc -c -DHAVE_CONFIG_H -I/usr/include/ncurses -I. -I. -DRL_LIBRARY_VERSION='"5.2"' -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection nls.c rm -f misc.o gcc -c -DHAVE_CONFIG_H -I/usr/include/ncurses -I. -I. -DRL_LIBRARY_VERSION='"5.2"' -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection misc.c BUILDSTDERR: In file included from /usr/include/string.h:495, BUILDSTDERR: from rldefs.h:59, BUILDSTDERR: from text.c:45: BUILDSTDERR: In function 'strncpy', BUILDSTDERR: inlined from 'rl_insert_text' at text.c:94:3: BUILDSTDERR: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] BUILDSTDERR: 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: text.c: In function 'rl_insert_text': BUILDSTDERR: text.c:85:29: note: length computed here BUILDSTDERR: 85 | l = (string && *string) ? strlen (string) : 0; BUILDSTDERR: | ^~~~~~~~~~~~~~~ rm -f compat.o gcc -c -DHAVE_CONFIG_H -I/usr/include/ncurses -I. -I. -DRL_LIBRARY_VERSION='"5.2"' -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection compat.c rm -f xmalloc.o gcc -c -DHAVE_CONFIG_H -I/usr/include/ncurses -I. -I. -DRL_LIBRARY_VERSION='"5.2"' -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection xmalloc.c rm -f history.o gcc -c -DHAVE_CONFIG_H -I/usr/include/ncurses -I. -I. -DRL_LIBRARY_VERSION='"5.2"' -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection history.c rm -f histexpand.o gcc -c -DHAVE_CONFIG_H -I/usr/include/ncurses -I. -I. -DRL_LIBRARY_VERSION='"5.2"' -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection histexpand.c rm -f histfile.o gcc -c -DHAVE_CONFIG_H -I/usr/include/ncurses -I. -I. -DRL_LIBRARY_VERSION='"5.2"' -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection histfile.c BUILDSTDERR: histexpand.c: In function 'get_history_event': BUILDSTDERR: histexpand.c:206:25: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 206 | for (local_index = i; c = string[i]; i++) BUILDSTDERR: | ^ BUILDSTDERR: histexpand.c: In function 'history_expand_internal': BUILDSTDERR: histexpand.c:696:41: warning: variable 'ws' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 696 | int delimiter, failed, si, l_temp, ws, we; BUILDSTDERR: | ^~ BUILDSTDERR: histfile.c: In function 'history_truncate_file': BUILDSTDERR: histfile.c:401:7: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 401 | write (file, bp, chars_read - (bp - buffer)); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ rm -f histsearch.o gcc -c -DHAVE_CONFIG_H -I/usr/include/ncurses -I. -I. -DRL_LIBRARY_VERSION='"5.2"' -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection histsearch.c rm -f shell.o gcc -c -DHAVE_CONFIG_H -I/usr/include/ncurses -I. -I. -DRL_LIBRARY_VERSION='"5.2"' -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection shell.c rm -f mbutil.o gcc -c -DHAVE_CONFIG_H -I/usr/include/ncurses -I. -I. -DRL_LIBRARY_VERSION='"5.2"' -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection mbutil.c rm -f tilde.o gcc -DHAVE_CONFIG_H -I/usr/include/ncurses -I. -I. -DRL_LIBRARY_VERSION='"5.2"' -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DREADLINE_LIBRARY -c ./tilde.c test -d shlib || mkdir shlib ( cd shlib ; make -j4 --jobserver-auth=3,4 all ) BUILDSTDERR: make[1]: warning: -jN forced in submake: disabling jobserver mode. make[1]: Entering directory '/builddir/build/BUILD/readline-5.2/shlib' rm -f readline.so rm -f vi_mode.so gcc -c -DHAVE_CONFIG_H -I/usr/include/ncurses -I. -I.. -I.. -DRL_LIBRARY_VERSION='"5.2"' -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -o readline.o ../readline.c gcc -c -DHAVE_CONFIG_H -I/usr/include/ncurses -I. -I.. -I.. -DRL_LIBRARY_VERSION='"5.2"' -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -o vi_mode.o ../vi_mode.c rm -f funmap.so rm -f keymaps.so gcc -c -DHAVE_CONFIG_H -I/usr/include/ncurses -I. -I.. -I.. -DRL_LIBRARY_VERSION='"5.2"' -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -o funmap.o ../funmap.c gcc -c -DHAVE_CONFIG_H -I/usr/include/ncurses -I. -I.. -I.. -DRL_LIBRARY_VERSION='"5.2"' -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -o keymaps.o ../keymaps.c BUILDSTDERR: ./tilde.c: In function 'tilde_expand': BUILDSTDERR: ./tilde.c:199:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 199 | if (result = strchr (string, '~')) BUILDSTDERR: | ^~~~~~ BUILDSTDERR: mbutil.c: In function '_rl_find_next_mbchar_internal': BUILDSTDERR: mbutil.c:121:12: warning: implicit declaration of function 'wcwidth' [-Wimplicit-function-declaration] BUILDSTDERR: 121 | if (wcwidth (wc) == 0) BUILDSTDERR: | ^~~~~~~ mv funmap.o funmap.so rm -f parens.so gcc -c -DHAVE_CONFIG_H -I/usr/include/ncurses -I. -I.. -I.. -DRL_LIBRARY_VERSION='"5.2"' -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -o parens.o ../parens.c BUILDSTDERR: ../readline.c: In function 'readline_internal_char': BUILDSTDERR: ../readline.c:450:21: warning: variable 'eof_found' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 450 | static int lastc, eof_found; BUILDSTDERR: | ^~~~~~~~~ mv keymaps.o keymaps.so rm -f search.so gcc -c -DHAVE_CONFIG_H -I/usr/include/ncurses -I. -I.. -I.. -DRL_LIBRARY_VERSION='"5.2"' -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -o search.o ../search.c BUILDSTDERR: At top level: BUILDSTDERR: ../readline.c:1083:1: warning: 'reset_default_bindings' defined but not used [-Wunused-function] BUILDSTDERR: 1083 | reset_default_bindings () BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ../parens.c: In function 'rl_insert_close': BUILDSTDERR: ../parens.c:118:36: warning: variable 'ready' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 118 | int orig_point, match_point, ready; BUILDSTDERR: | ^~~~~ BUILDSTDERR: ../search.c: In function '_rl_nsearch_init': BUILDSTDERR: ../search.c:214:15: warning: too many arguments for format [-Wformat-extra-args] BUILDSTDERR: 214 | rl_message ("%s", p, 0); BUILDSTDERR: | ^~~~ mv parens.o parens.so rm -f rltty.so gcc -c -DHAVE_CONFIG_H -I/usr/include/ncurses -I. -I.. -I.. -DRL_LIBRARY_VERSION='"5.2"' -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -o rltty.o ../rltty.c mv search.o search.so rm -f complete.so gcc -c -DHAVE_CONFIG_H -I/usr/include/ncurses -I. -I.. -I.. -DRL_LIBRARY_VERSION='"5.2"' -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -o complete.o ../complete.c mv readline.o readline.so rm -f bind.so gcc -c -DHAVE_CONFIG_H -I/usr/include/ncurses -I. -I.. -I.. -DRL_LIBRARY_VERSION='"5.2"' -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -o bind.o ../bind.c rm -f libreadline.a rm -f libhistory.a ar cr libhistory.a history.o histexpand.o histfile.o histsearch.o shell.o mbutil.o xmalloc.o ar cr libreadline.a readline.o vi_mode.o funmap.o keymaps.o parens.o search.o rltty.o complete.o bind.o isearch.o display.o signals.o util.o kill.o undo.o macro.o input.o callback.o terminal.o text.o nls.o misc.o compat.o xmalloc.o history.o histexpand.o histfile.o histsearch.o shell.o mbutil.o tilde.o mv rltty.o rltty.so test -n "ranlib" && ranlib libhistory.a rm -f isearch.so gcc -c -DHAVE_CONFIG_H -I/usr/include/ncurses -I. -I.. -I.. -DRL_LIBRARY_VERSION='"5.2"' -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -o isearch.o ../isearch.c BUILDSTDERR: ../bind.c: In function 'rl_translate_keyseq': BUILDSTDERR: ../bind.c:445:19: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 445 | for (i = l = 0; c = seq[i]; i++) BUILDSTDERR: | ^ BUILDSTDERR: ../complete.c: In function 'fnwidth': BUILDSTDERR: ../complete.c:604:12: warning: implicit declaration of function 'wcwidth'; did you mean 'fnwidth'? [-Wimplicit-function-declaration] BUILDSTDERR: 604 | w = wcwidth (wc); BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: | fnwidth BUILDSTDERR: ../complete.c: In function '_rl_find_completion_word': BUILDSTDERR: ../complete.c:886:14: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 886 | while (rl_point = MB_PREVCHAR (rl_line_buffer, rl_point, MB_FIND_ANY)) BUILDSTDERR: | ^~~~~~~~ BUILDSTDERR: ../complete.c: In function 'rl_completion_matches': BUILDSTDERR: ../bind.c: In function 'rl_parse_and_bind': BUILDSTDERR: ../bind.c:1188:19: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1188 | for (i = 1; c = string[i]; i++) BUILDSTDERR: | ^ BUILDSTDERR: ../complete.c:1805:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1805 | while (string = (*entry_function) (text, matches)) BUILDSTDERR: | ^~~~~~ BUILDSTDERR: ../complete.c: In function 'rl_username_completion_function': BUILDSTDERR: ../complete.c:1856:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1856 | while (entry = getpwent ()) BUILDSTDERR: | ^~~~~ BUILDSTDERR: ../bind.c:1279:23: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 1279 | for (passc = 0; c = string[i]; i++) BUILDSTDERR: | ^ BUILDSTDERR: ../bind.c: In function 'rl_function_dumper': BUILDSTDERR: ../bind.c:2051:15: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 2051 | for (i = 0; name = names[i]; i++) BUILDSTDERR: | ^~~~ test -n "ranlib" && ranlib libreadline.a BUILDSTDERR: ../isearch.c: In function 'rl_search_history': BUILDSTDERR: ../isearch.c:627:7: warning: variable 'c' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 627 | int c, r; BUILDSTDERR: | ^ BUILDSTDERR: ../isearch.c: In function '_rl_isearch_callback': BUILDSTDERR: ../isearch.c:665:7: warning: variable 'c' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 665 | int c, r; BUILDSTDERR: | ^ mv isearch.o isearch.so rm -f display.so gcc -c -DHAVE_CONFIG_H -I/usr/include/ncurses -I. -I.. -I.. -DRL_LIBRARY_VERSION='"5.2"' -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -o display.o ../display.c mv vi_mode.o vi_mode.so rm -f signals.so gcc -c -DHAVE_CONFIG_H -I/usr/include/ncurses -I. -I.. -I.. -DRL_LIBRARY_VERSION='"5.2"' -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -o signals.o ../signals.c BUILDSTDERR: ../display.c: In function 'rl_redisplay': BUILDSTDERR: ../display.c:730:15: warning: implicit declaration of function 'wcwidth' [-Wimplicit-function-declaration] BUILDSTDERR: 730 | temp = wcwidth (wc); BUILDSTDERR: | ^~~~~~~ mv signals.o signals.so rm -f util.so gcc -c -DHAVE_CONFIG_H -I/usr/include/ncurses -I. -I.. -I.. -DRL_LIBRARY_VERSION='"5.2"' -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -o util.o ../util.c mv complete.o complete.so rm -f kill.so gcc -c -DHAVE_CONFIG_H -I/usr/include/ncurses -I. -I.. -I.. -DRL_LIBRARY_VERSION='"5.2"' -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -o kill.o ../kill.c mv util.o util.so rm -f undo.so gcc -c -DHAVE_CONFIG_H -I/usr/include/ncurses -I. -I.. -I.. -DRL_LIBRARY_VERSION='"5.2"' -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -o undo.o ../undo.c BUILDSTDERR: ../undo.c: In function '_rl_copy_undo_list': BUILDSTDERR: ../undo.c:157:16: warning: 'roving' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: 157 | roving->next = 0; BUILDSTDERR: | ~~~~~~~~~~~~~^~~ mv undo.o undo.so mv bind.o bind.so rm -f macro.so rm -f input.so gcc -c -DHAVE_CONFIG_H -I/usr/include/ncurses -I. -I.. -I.. -DRL_LIBRARY_VERSION='"5.2"' -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -o input.o ../input.c gcc -c -DHAVE_CONFIG_H -I/usr/include/ncurses -I. -I.. -I.. -DRL_LIBRARY_VERSION='"5.2"' -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -o macro.o ../macro.c mv kill.o kill.so rm -f callback.so gcc -c -DHAVE_CONFIG_H -I/usr/include/ncurses -I. -I.. -I.. -DRL_LIBRARY_VERSION='"5.2"' -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -o callback.o ../callback.c BUILDSTDERR: ../input.c: In function 'rl_read_key': BUILDSTDERR: ../input.c:431:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 431 | if (c = _rl_next_macro_key ()) BUILDSTDERR: | ^ mv macro.o macro.so rm -f terminal.so gcc -c -DHAVE_CONFIG_H -I/usr/include/ncurses -I. -I.. -I.. -DRL_LIBRARY_VERSION='"5.2"' -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -o terminal.o ../terminal.c mv callback.o callback.so rm -f text.so gcc -c -DHAVE_CONFIG_H -I/usr/include/ncurses -I. -I.. -I.. -DRL_LIBRARY_VERSION='"5.2"' -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -o text.o ../text.c BUILDSTDERR: In file included from /usr/include/string.h:495, BUILDSTDERR: from ../rldefs.h:59, BUILDSTDERR: from ../display.c:45: BUILDSTDERR: In function 'strncpy', BUILDSTDERR: inlined from 'rl_redisplay' at ../display.c:562:7: BUILDSTDERR: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] BUILDSTDERR: 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ../display.c: In function 'rl_redisplay': BUILDSTDERR: ../display.c:554:40: note: length computed here BUILDSTDERR: 554 | prompt_physical_chars = pmtlen = strlen (prompt_this_line); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ../text.c: In function '_rl_overwrite_char': BUILDSTDERR: ../text.c:814:7: warning: variable 'k' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 814 | int k; BUILDSTDERR: | ^ mv input.o input.so rm -f nls.so gcc -c -DHAVE_CONFIG_H -I/usr/include/ncurses -I. -I.. -I.. -DRL_LIBRARY_VERSION='"5.2"' -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -o nls.o ../nls.c BUILDSTDERR: ../display.c:845:8: warning: 'wc_width' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: 845 | for (i = 0; i < wc_width; i++) BUILDSTDERR: | ^~~ BUILDSTDERR: ../display.c:684:10: warning: 'n0' may be used uninitialized in this function [-Wmaybe-uninitialized] BUILDSTDERR: 684 | lpos -= _rl_col_width (local_prompt, n0, num); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: In file included from /usr/include/string.h:495, BUILDSTDERR: from ../rldefs.h:59, BUILDSTDERR: from ../text.c:45: BUILDSTDERR: In function 'strncpy', BUILDSTDERR: inlined from 'rl_insert_text' at ../text.c:94:3: BUILDSTDERR: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] BUILDSTDERR: 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BUILDSTDERR: ../text.c: In function 'rl_insert_text': BUILDSTDERR: ../text.c:85:29: note: length computed here BUILDSTDERR: 85 | l = (string && *string) ? strlen (string) : 0; BUILDSTDERR: | ^~~~~~~~~~~~~~~ mv nls.o nls.so rm -f misc.so gcc -c -DHAVE_CONFIG_H -I/usr/include/ncurses -I. -I.. -I.. -DRL_LIBRARY_VERSION='"5.2"' -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -o misc.o ../misc.c mv terminal.o terminal.so rm -f xmalloc.so gcc -c -DHAVE_CONFIG_H -I/usr/include/ncurses -I. -I.. -I.. -DRL_LIBRARY_VERSION='"5.2"' -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -o xmalloc.o ../xmalloc.c mv xmalloc.o xmalloc.so rm -f history.so gcc -c -DHAVE_CONFIG_H -I/usr/include/ncurses -I. -I.. -I.. -DRL_LIBRARY_VERSION='"5.2"' -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -o history.o ../history.c mv display.o display.so rm -f histexpand.so gcc -c -DHAVE_CONFIG_H -I/usr/include/ncurses -I. -I.. -I.. -DRL_LIBRARY_VERSION='"5.2"' -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -o histexpand.o ../histexpand.c mv misc.o misc.so rm -f histfile.so gcc -c -DHAVE_CONFIG_H -I/usr/include/ncurses -I. -I.. -I.. -DRL_LIBRARY_VERSION='"5.2"' -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -o histfile.o ../histfile.c BUILDSTDERR: ../histexpand.c: In function 'get_history_event': BUILDSTDERR: ../histexpand.c:206:25: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 206 | for (local_index = i; c = string[i]; i++) BUILDSTDERR: | ^ BUILDSTDERR: ../histexpand.c: In function 'history_expand_internal': BUILDSTDERR: ../histexpand.c:696:41: warning: variable 'ws' set but not used [-Wunused-but-set-variable] BUILDSTDERR: 696 | int delimiter, failed, si, l_temp, ws, we; BUILDSTDERR: | ^~ mv history.o history.so rm -f histsearch.so gcc -c -DHAVE_CONFIG_H -I/usr/include/ncurses -I. -I.. -I.. -DRL_LIBRARY_VERSION='"5.2"' -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -o histsearch.o ../histsearch.c BUILDSTDERR: ../histfile.c: In function 'history_truncate_file': BUILDSTDERR: ../histfile.c:401:7: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] BUILDSTDERR: 401 | write (file, bp, chars_read - (bp - buffer)); BUILDSTDERR: | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mv text.o text.so rm -f shell.so gcc -c -DHAVE_CONFIG_H -I/usr/include/ncurses -I. -I.. -I.. -DRL_LIBRARY_VERSION='"5.2"' -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -o shell.o ../shell.c mv histsearch.o histsearch.so rm -f mbutil.so gcc -c -DHAVE_CONFIG_H -I/usr/include/ncurses -I. -I.. -I.. -DRL_LIBRARY_VERSION='"5.2"' -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -o mbutil.o ../mbutil.c mv histfile.o histfile.so rm -f tilde.so gcc -c -DHAVE_CONFIG_H -I/usr/include/ncurses -I. -I.. -I.. -DRL_LIBRARY_VERSION='"5.2"' -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -DREADLINE_LIBRARY -c -o tilde.o ../tilde.c mv shell.o shell.so rm -f compat.so gcc -c -DHAVE_CONFIG_H -I/usr/include/ncurses -I. -I.. -I.. -DRL_LIBRARY_VERSION='"5.2"' -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -o compat.o ../compat.c BUILDSTDERR: ../mbutil.c: In function '_rl_find_next_mbchar_internal': BUILDSTDERR: ../mbutil.c:121:12: warning: implicit declaration of function 'wcwidth' [-Wimplicit-function-declaration] BUILDSTDERR: 121 | if (wcwidth (wc) == 0) BUILDSTDERR: | ^~~~~~~ BUILDSTDERR: ../tilde.c: In function 'tilde_expand': BUILDSTDERR: ../tilde.c:199:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] BUILDSTDERR: 199 | if (result = strchr (string, '~')) BUILDSTDERR: | ^~~~~~ mv compat.o compat.so mv mbutil.o mbutil.so mv tilde.o tilde.so mv histexpand.o histexpand.so rm -f libreadline.so.5.2 rm -f libhistory.so.5.2 gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -shared -Wl,-soname,libreadline.so.5.2 -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -Wl,-soname,`basename libreadline.so.5.2 .2` -o libreadline.so.5.2 readline.so vi_mode.so funmap.so keymaps.so parens.so search.so rltty.so complete.so bind.so isearch.so display.so signals.so util.so kill.so undo.so macro.so input.so callback.so terminal.so text.so nls.so misc.so xmalloc.so history.so histexpand.so histfile.so histsearch.so shell.so mbutil.so tilde.so compat.so -ltinfo gcc -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -shared -Wl,-soname,libhistory.so.5.2 -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -Wl,-soname,`basename libhistory.so.5.2 .2` -o libhistory.so.5.2 history.so histexpand.so histfile.so histsearch.so shell.so mbutil.so xmalloc.so make[1]: Leaving directory '/builddir/build/BUILD/readline-5.2/shlib' + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.fXknXp + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/compat-readline5-5.2-34.fc32.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/compat-readline5-5.2-34.fc32.riscv64 BUILDSTDERR: ++ dirname /builddir/build/BUILDROOT/compat-readline5-5.2-34.fc32.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/compat-readline5-5.2-34.fc32.riscv64 + cd readline-5.2 + make DESTDIR=/builddir/build/BUILDROOT/compat-readline5-5.2-34.fc32.riscv64 install /bin/sh ./support/mkinstalldirs /builddir/build/BUILDROOT/compat-readline5-5.2-34.fc32.riscv64/usr/include \ /builddir/build/BUILDROOT/compat-readline5-5.2-34.fc32.riscv64/usr/include/readline /builddir/build/BUILDROOT/compat-readline5-5.2-34.fc32.riscv64/usr/lib64 \ /builddir/build/BUILDROOT/compat-readline5-5.2-34.fc32.riscv64/usr/share/info /builddir/build/BUILDROOT/compat-readline5-5.2-34.fc32.riscv64/usr/share/man/man3 mkdir -p -- /builddir/build/BUILDROOT/compat-readline5-5.2-34.fc32.riscv64/usr/include /builddir/build/BUILDROOT/compat-readline5-5.2-34.fc32.riscv64/usr/include/readline /builddir/build/BUILDROOT/compat-readline5-5.2-34.fc32.riscv64/usr/lib64 /builddir/build/BUILDROOT/compat-readline5-5.2-34.fc32.riscv64/usr/share/info /builddir/build/BUILDROOT/compat-readline5-5.2-34.fc32.riscv64/usr/share/man/man3 for f in readline.h chardefs.h keymaps.h history.h tilde.h rlstdc.h rlconf.h rltypedefs.h; do \ /usr/bin/install -c -m 644 ./$f /builddir/build/BUILDROOT/compat-readline5-5.2-34.fc32.riscv64/usr/include/readline ; \ done ( if test -d doc ; then \ cd doc && \ make infodir=/usr/share/info DESTDIR=/builddir/build/BUILDROOT/compat-readline5-5.2-34.fc32.riscv64 install; \ fi ) make[1]: Entering directory '/builddir/build/BUILD/readline-5.2/doc' /bin/sh ../support/mkdirs /builddir/build/BUILDROOT/compat-readline5-5.2-34.fc32.riscv64/usr/share/info /builddir/build/BUILDROOT/compat-readline5-5.2-34.fc32.riscv64/usr/share/man/man3 if test -n "" ; then \ /bin/sh ../support/mkdirs /builddir/build/BUILDROOT/compat-readline5-5.2-34.fc32.riscv64 ; \ fi if test -f readline.info; then \ /usr/bin/install -c -m 644 readline.info /builddir/build/BUILDROOT/compat-readline5-5.2-34.fc32.riscv64/usr/share/info/readline.info; \ else \ /usr/bin/install -c -m 644 ./readline.info /builddir/build/BUILDROOT/compat-readline5-5.2-34.fc32.riscv64/usr/share/info/readline.info; \ fi if test -f rluserman.info; then \ /usr/bin/install -c -m 644 rluserman.info /builddir/build/BUILDROOT/compat-readline5-5.2-34.fc32.riscv64/usr/share/info/rluserman.info; \ else \ /usr/bin/install -c -m 644 ./rluserman.info /builddir/build/BUILDROOT/compat-readline5-5.2-34.fc32.riscv64/usr/share/info/rluserman.info; \ fi if test -f history.info; then \ /usr/bin/install -c -m 644 history.info /builddir/build/BUILDROOT/compat-readline5-5.2-34.fc32.riscv64/usr/share/info/history.info; \ else \ /usr/bin/install -c -m 644 ./history.info /builddir/build/BUILDROOT/compat-readline5-5.2-34.fc32.riscv64/usr/share/info/history.info; \ fi if /bin/sh -c 'install-info --version' >/dev/null 2>&1; then \ install-info --dir-file=/builddir/build/BUILDROOT/compat-readline5-5.2-34.fc32.riscv64/usr/share/info/dir \ /builddir/build/BUILDROOT/compat-readline5-5.2-34.fc32.riscv64/usr/share/info/readline.info ; \ install-info --dir-file=/builddir/build/BUILDROOT/compat-readline5-5.2-34.fc32.riscv64/usr/share/info/dir \ /builddir/build/BUILDROOT/compat-readline5-5.2-34.fc32.riscv64/usr/share/info/history.info ; \ install-info --dir-file=/builddir/build/BUILDROOT/compat-readline5-5.2-34.fc32.riscv64/usr/share/info/dir \ /builddir/build/BUILDROOT/compat-readline5-5.2-34.fc32.riscv64/usr/share/info/rluserman.info ; \ else true; fi /usr/bin/install -c -m 644 ./readline.3 /builddir/build/BUILDROOT/compat-readline5-5.2-34.fc32.riscv64/usr/share/man/man3/readline.3 /usr/bin/install -c -m 644 ./history.3 /builddir/build/BUILDROOT/compat-readline5-5.2-34.fc32.riscv64/usr/share/man/man3/history.3 if test -n "" ; then \ if test -f readline.html; then \ /usr/bin/install -c -m 644 readline.html /builddir/build/BUILDROOT/compat-readline5-5.2-34.fc32.riscv64/readline.html; \ else \ /usr/bin/install -c -m 644 ./readline.html /builddir/build/BUILDROOT/compat-readline5-5.2-34.fc32.riscv64/readline.html; \ fi ; \ if test -f history.html; then \ /usr/bin/install -c -m 644 history.html /builddir/build/BUILDROOT/compat-readline5-5.2-34.fc32.riscv64/history.html; \ else \ /usr/bin/install -c -m 644 ./history.html /builddir/build/BUILDROOT/compat-readline5-5.2-34.fc32.riscv64/history.html; \ fi ; \ if test -f rluserman.html; then \ /usr/bin/install -c -m 644 rluserman.html /builddir/build/BUILDROOT/compat-readline5-5.2-34.fc32.riscv64/rluserman.html; \ else \ /usr/bin/install -c -m 644 ./rluserman.html /builddir/build/BUILDROOT/compat-readline5-5.2-34.fc32.riscv64/rluserman.html; \ fi ; \ fi make[1]: Leaving directory '/builddir/build/BUILD/readline-5.2/doc' mv /builddir/build/BUILDROOT/compat-readline5-5.2-34.fc32.riscv64/usr/lib64/libreadline.a /builddir/build/BUILDROOT/compat-readline5-5.2-34.fc32.riscv64/usr/lib64/libreadline.old BUILDSTDERR: mv: cannot stat '/builddir/build/BUILDROOT/compat-readline5-5.2-34.fc32.riscv64/usr/lib64/libreadline.a': No such file or directory /usr/bin/install -c -m 644 libreadline.a /builddir/build/BUILDROOT/compat-readline5-5.2-34.fc32.riscv64/usr/lib64/libreadline.a BUILDSTDERR: make: [Makefile:223: install-static] Error 1 (ignored) test -n "ranlib" && ranlib /builddir/build/BUILDROOT/compat-readline5-5.2-34.fc32.riscv64/usr/lib64/libreadline.a mv /builddir/build/BUILDROOT/compat-readline5-5.2-34.fc32.riscv64/usr/lib64/libhistory.a /builddir/build/BUILDROOT/compat-readline5-5.2-34.fc32.riscv64/usr/lib64/libhistory.old BUILDSTDERR: mv: cannot stat '/builddir/build/BUILDROOT/compat-readline5-5.2-34.fc32.riscv64/usr/lib64/libhistory.a': No such file or directory /usr/bin/install -c -m 644 libhistory.a /builddir/build/BUILDROOT/compat-readline5-5.2-34.fc32.riscv64/usr/lib64/libhistory.a BUILDSTDERR: make: [Makefile:226: install-static] Error 1 (ignored) test -n "ranlib" && ranlib /builddir/build/BUILDROOT/compat-readline5-5.2-34.fc32.riscv64/usr/lib64/libhistory.a test -d shlib || mkdir shlib ( cd shlib ; make all ) make[1]: Entering directory '/builddir/build/BUILD/readline-5.2/shlib' make[1]: Nothing to be done for 'all'. make[1]: Leaving directory '/builddir/build/BUILD/readline-5.2/shlib' ( cd shlib ; make DESTDIR=/builddir/build/BUILDROOT/compat-readline5-5.2-34.fc32.riscv64 install ) make[1]: Entering directory '/builddir/build/BUILD/readline-5.2/shlib' /bin/sh ../support/mkdirs /builddir/build/BUILDROOT/compat-readline5-5.2-34.fc32.riscv64/usr/lib64 /bin/sh ../support/shlib-install -O linux-gnu -d /builddir/build/BUILDROOT/compat-readline5-5.2-34.fc32.riscv64/usr/lib64 -b /builddir/build/BUILDROOT/compat-readline5-5.2-34.fc32.riscv64/usr/bin -i "/usr/bin/install -c -m 644" libhistory.so.5.2 /bin/sh ../support/shlib-install -O linux-gnu -d /builddir/build/BUILDROOT/compat-readline5-5.2-34.fc32.riscv64/usr/lib64 -b /builddir/build/BUILDROOT/compat-readline5-5.2-34.fc32.riscv64/usr/bin -i "/usr/bin/install -c -m 644" libreadline.so.5.2 install: you may need to run ldconfig make[1]: Leaving directory '/builddir/build/BUILD/readline-5.2/shlib' + mkdir -p /builddir/build/BUILDROOT/compat-readline5-5.2-34.fc32.riscv64/lib64 /builddir/build/BUILDROOT/compat-readline5-5.2-34.fc32.riscv64/usr/lib64/readline5 + mv /builddir/build/BUILDROOT/compat-readline5-5.2-34.fc32.riscv64/usr/lib64/libreadline.so.5 /builddir/build/BUILDROOT/compat-readline5-5.2-34.fc32.riscv64/usr/lib64/libreadline.so.5.2 /builddir/build/BUILDROOT/compat-readline5-5.2-34.fc32.riscv64/lib64 + mv /builddir/build/BUILDROOT/compat-readline5-5.2-34.fc32.riscv64/usr/lib64/libhistory.a /builddir/build/BUILDROOT/compat-readline5-5.2-34.fc32.riscv64/usr/lib64/libreadline.a /builddir/build/BUILDROOT/compat-readline5-5.2-34.fc32.riscv64/usr/lib64/readline5 + rm -f /builddir/build/BUILDROOT/compat-readline5-5.2-34.fc32.riscv64/usr/lib64/libhistory.so /builddir/build/BUILDROOT/compat-readline5-5.2-34.fc32.riscv64/usr/lib64/libreadline.so + ln -sf ../../../lib64/libreadline.so.5 /builddir/build/BUILDROOT/compat-readline5-5.2-34.fc32.riscv64/usr/lib64/readline5/libreadline.so + ln -sf ../libhistory.so.5 /builddir/build/BUILDROOT/compat-readline5-5.2-34.fc32.riscv64/usr/lib64/readline5/libhistory.so + mkdir /builddir/build/BUILDROOT/compat-readline5-5.2-34.fc32.riscv64/usr/include/readline5 + mv /builddir/build/BUILDROOT/compat-readline5-5.2-34.fc32.riscv64/usr/include/readline /builddir/build/BUILDROOT/compat-readline5-5.2-34.fc32.riscv64/usr/include/readline5 + rm -rf /builddir/build/BUILDROOT/compat-readline5-5.2-34.fc32.riscv64/usr/share/info + rm -rf /builddir/build/BUILDROOT/compat-readline5-5.2-34.fc32.riscv64/usr/share/man + /usr/lib/rpm/find-debuginfo.sh -j4 --strict-build-id -m -i --build-id-seed 5.2-34.fc32 --unique-debug-suffix -5.2-34.fc32.riscv64 --unique-debug-src-base compat-readline5-5.2-34.fc32.riscv64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/readline-5.2 explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/compat-readline5-5.2-34.fc32.riscv64/lib64/libreadline.so.5.2 explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/compat-readline5-5.2-34.fc32.riscv64/usr/lib64/libhistory.so.5.2 extracting debug info from /builddir/build/BUILDROOT/compat-readline5-5.2-34.fc32.riscv64/usr/lib64/libhistory.so.5.2 extracting debug info from /builddir/build/BUILDROOT/compat-readline5-5.2-34.fc32.riscv64/lib64/libreadline.so.5.2 original debug info size: 1048kB, size after compression: 900kB /usr/lib/rpm/sepdebugcrcfix: Updated 2 CRC32s, 0 CRC32s did match. BUILDSTDERR: 1468 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/redhat/brp-python-bytecompile /usr/bin/python 1 0 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Processing files: compat-readline5-5.2-34.fc32.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.A5Jk1r + umask 022 + cd /builddir/build/BUILD + cd readline-5.2 + DOCDIR=/builddir/build/BUILDROOT/compat-readline5-5.2-34.fc32.riscv64/usr/share/doc/compat-readline5 + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/compat-readline5-5.2-34.fc32.riscv64/usr/share/doc/compat-readline5 + cp -pr CHANGES /builddir/build/BUILDROOT/compat-readline5-5.2-34.fc32.riscv64/usr/share/doc/compat-readline5 + cp -pr COPYING /builddir/build/BUILDROOT/compat-readline5-5.2-34.fc32.riscv64/usr/share/doc/compat-readline5 + cp -pr NEWS /builddir/build/BUILDROOT/compat-readline5-5.2-34.fc32.riscv64/usr/share/doc/compat-readline5 + cp -pr README /builddir/build/BUILDROOT/compat-readline5-5.2-34.fc32.riscv64/usr/share/doc/compat-readline5 + cp -pr USAGE /builddir/build/BUILDROOT/compat-readline5-5.2-34.fc32.riscv64/usr/share/doc/compat-readline5 + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Provides: compat-readline5 = 5.2-34.fc32 compat-readline5(riscv-64) = 5.2-34.fc32 libhistory.so.5()(64bit) libreadline.so.5()(64bit) 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) libtinfo.so.6()(64bit) rtld(GNU_HASH) Processing files: compat-readline5-devel-5.2-34.fc32.riscv64 Provides: compat-readline5-devel = 5.2-34.fc32 compat-readline5-devel(riscv-64) = 5.2-34.fc32 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libhistory.so.5()(64bit) libreadline.so.5()(64bit) Processing files: compat-readline5-static-5.2-34.fc32.riscv64 Provides: compat-readline5-static = 5.2-34.fc32 compat-readline5-static(riscv-64) = 5.2-34.fc32 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: compat-readline5-debugsource-5.2-34.fc32.riscv64 Provides: compat-readline5-debugsource = 5.2-34.fc32 compat-readline5-debugsource(riscv-64) = 5.2-34.fc32 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: compat-readline5-debuginfo-5.2-34.fc32.riscv64 Provides: compat-readline5-debuginfo = 5.2-34.fc32 compat-readline5-debuginfo(riscv-64) = 5.2-34.fc32 debuginfo(build-id) = 49988cd8ae1d23cdf911f3fa0c85627ff07456b0 debuginfo(build-id) = 867fa3fc8c833c027ee69dd18613a427765e29ba Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: compat-readline5-debugsource(riscv-64) = 5.2-34.fc32 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/compat-readline5-5.2-34.fc32.riscv64 Wrote: /builddir/build/RPMS/compat-readline5-devel-5.2-34.fc32.riscv64.rpm Wrote: /builddir/build/RPMS/compat-readline5-5.2-34.fc32.riscv64.rpm Wrote: /builddir/build/RPMS/compat-readline5-debugsource-5.2-34.fc32.riscv64.rpm Wrote: /builddir/build/RPMS/compat-readline5-debuginfo-5.2-34.fc32.riscv64.rpm Wrote: /builddir/build/RPMS/compat-readline5-static-5.2-34.fc32.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.eoYAYn + umask 022 + cd /builddir/build/BUILD + cd readline-5.2 + /usr/bin/rm -rf /builddir/build/BUILDROOT/compat-readline5-5.2-34.fc32.riscv64 + RPM_EC=0 BUILDSTDERR: ++ jobs -p + exit 0 Child return code was: 0