Mock Version: 1.2.17 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target aarch64 --nodeps /builddir/build/SPECS/readline.spec'], chrootPath='/var/lib/mock/readline-6.2-11.el7-20190808120506-30589/root'shell=FalseprintOutput=Falseenv={'LANG': 'en_GB.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'HOSTNAME': 'mock'}gid=135user='mockbuild'timeout=0logger=uid=1005) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target aarch64 --nodeps /builddir/build/SPECS/readline.spec'] with env {'LANG': 'en_GB.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'HOSTNAME': 'mock'} and shell False Building target platforms: aarch64 Building for target aarch64 Wrote: /builddir/build/SRPMS/readline-6.2-11.el7.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', u'/usr/bin/rpmbuild -bb --target aarch64 --nodeps /builddir/build/SPECS/readline.spec'], chrootPath='/var/lib/mock/readline-6.2-11.el7-20190808120506-30589/root'shell=Falseuid=1005env={'LANG': 'en_GB.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'HOSTNAME': 'mock'}gid=135user='mockbuild'timeout=0private_network=Truelogger=printOutput=False) Executing command: ['bash', '--login', '-c', u'/usr/bin/rpmbuild -bb --target aarch64 --nodeps /builddir/build/SPECS/readline.spec'] with env {'LANG': 'en_GB.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'HOSTNAME': 'mock'} and shell False Building target platforms: aarch64 Building for target aarch64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.4Nra9j + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf readline-6.2 + /usr/bin/gzip -dc /builddir/build/SOURCES/readline-6.2.tar.gz + /usr/bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd readline-6.2 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #1 (readline62-001):' Patch #1 (readline62-001): + /usr/bin/patch -p0 --fuzz=0 + /usr/bin/cat /builddir/build/SOURCES/readline62-001 patching file vi_mode.c patching file callback.c + echo 'Patch #2 (readline62-003):' Patch #2 (readline62-003): + /usr/bin/cat /builddir/build/SOURCES/readline62-003 + /usr/bin/patch -p0 --fuzz=0 patching file input.c + echo 'Patch #20 (readline-6.2-shlib.patch):' Patch #20 (readline-6.2-shlib.patch): + /usr/bin/cat /builddir/build/SOURCES/readline-6.2-shlib.patch + /usr/bin/patch -p1 -b --suffix .shlib --fuzz=0 patching file shlib/Makefile.in patching file support/shlib-install patching file support/shobj-conf + echo 'Patch #21 (readline-6.1-audit.patch):' Patch #21 (readline-6.1-audit.patch): + /usr/bin/cat /builddir/build/SOURCES/readline-6.1-audit.patch + /usr/bin/patch -p1 -b --suffix .audit --fuzz=0 patching file config.h.in patching file configure patching file configure.in patching file readline.c + echo 'Patch #22 (readline-6.2-cppmacro.patch):' Patch #22 (readline-6.2-cppmacro.patch): + /usr/bin/cat /builddir/build/SOURCES/readline-6.2-cppmacro.patch + /usr/bin/patch -p1 -b --suffix .cppmacro --fuzz=0 patching file chardefs.h + echo 'Patch #23 (readline-6.2-gdb.patch):' Patch #23 (readline-6.2-gdb.patch): + /usr/bin/cat /builddir/build/SOURCES/readline-6.2-gdb.patch + /usr/bin/patch -p1 -b --suffix .gdb --fuzz=0 patching file complete.c patching file readline.h + echo 'Patch #24 (readline-6.2-rl_trace.patch):' Patch #24 (readline-6.2-rl_trace.patch): + /usr/bin/cat /builddir/build/SOURCES/readline-6.2-rl_trace.patch + /usr/bin/patch -p1 -b --suffix .rl --fuzz=0 patching file util.c + echo 'Patch #25 (readline-7.0-bracketed-paste.patch):' Patch #25 (readline-7.0-bracketed-paste.patch): + /usr/bin/cat /builddir/build/SOURCES/readline-7.0-bracketed-paste.patch + /usr/bin/patch -p1 -b --suffix .bracketed-paste --fuzz=0 patching file bind.c patching file funmap.c patching file kill.c patching file readline.c Hunk #3 succeeded at 1149 (offset -1 lines). Hunk #4 succeeded at 1244 (offset -1 lines). patching file readline.h patching file rlprivate.h patching file rltty.c + pushd examples ~/build/BUILD/readline-6.2/examples ~/build/BUILD/readline-6.2 + rm -f rlfe/configure + iconv -f iso8859-1 -t utf8 -o rl-fgets.c_ rl-fgets.c + touch -r rl-fgets.c rl-fgets.c_ + mv -f rl-fgets.c_ rl-fgets.c + popd ~/build/BUILD/readline-6.2 + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.QFI3GI + umask 022 + cd /builddir/build/BUILD + cd readline-6.2 + export CPPFLAGS=-I/usr/include/ncurses + CPPFLAGS=-I/usr/include/ncurses + CFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches ' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches ' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro ' + export LDFLAGS + '[' 1 == 1 ']' + '[' aarch64 == ppc64le ']' ++ find . -name config.guess -o -name config.sub + for i in '$(find . -name config.guess -o -name config.sub)' ++ basename ./support/config.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /usr/bin/rm -f ./support/config.guess ++ 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 . -name config.guess -o -name config.sub)' ++ basename ./support/config.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /usr/bin/rm -f ./support/config.sub ++ 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' + ./configure --build=aarch64-redhat-linux-gnu --host=aarch64-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 configure: WARNING: unrecognized options: --disable-dependency-tracking checking build system type... aarch64-redhat-linux-gnu checking host system type... aarch64-redhat-linux-gnu Beginning configuration for readline-6.2 for aarch64-redhat-linux-gnu checking whether make sets $(MAKE)... yes checking for aarch64-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 ISO C89... none needed checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking minix/config.h usability... no checking minix/config.h presence... no checking for minix/config.h... no checking whether it is safe to define __EXTENSIONS__... yes checking whether gcc needs -traditional... no checking for a BSD-compatible install... /usr/bin/install -c checking for ar... ar checking for aarch64-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 for working volatile... 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 special C compiler options needed for large files... no checking for _FILE_OFFSET_BITS value needed for large files... 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... yes 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 for sig_atomic_t in signal.h... 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 mbrlen... yes checking for mbscasecmp... no checking for mbscmp... no checking for mbsnrtowcs... yes checking for mbsrtowcs... yes checking for mbschr... no checking for wcrtomb... yes checking for wcscoll... yes checking for wcsdup... yes checking for wcwidth... yes checking for wctype... yes checking for wcswidth... 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 configure: WARNING: unrecognized options: --disable-dependency-tracking + make -j48 rm -f readline.o rm -f vi_mode.o gcc -c -DHAVE_CONFIG_H -I/usr/include/ncurses -I. -I. -DRL_LIBRARY_VERSION='"6.2"' -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches readline.c gcc -c -DHAVE_CONFIG_H -I/usr/include/ncurses -I. -I. -DRL_LIBRARY_VERSION='"6.2"' -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches vi_mode.c rm -f funmap.o gcc -c -DHAVE_CONFIG_H -I/usr/include/ncurses -I. -I. -DRL_LIBRARY_VERSION='"6.2"' -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches funmap.c rm -f keymaps.o gcc -c -DHAVE_CONFIG_H -I/usr/include/ncurses -I. -I. -DRL_LIBRARY_VERSION='"6.2"' -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches keymaps.c rm -f parens.o rm -f search.o gcc -c -DHAVE_CONFIG_H -I/usr/include/ncurses -I. -I. -DRL_LIBRARY_VERSION='"6.2"' -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches parens.c gcc -c -DHAVE_CONFIG_H -I/usr/include/ncurses -I. -I. -DRL_LIBRARY_VERSION='"6.2"' -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches search.c rm -f rltty.o rm -f complete.o gcc -c -DHAVE_CONFIG_H -I/usr/include/ncurses -I. -I. -DRL_LIBRARY_VERSION='"6.2"' -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches rltty.c gcc -c -DHAVE_CONFIG_H -I/usr/include/ncurses -I. -I. -DRL_LIBRARY_VERSION='"6.2"' -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches complete.c rm -f bind.o gcc -c -DHAVE_CONFIG_H -I/usr/include/ncurses -I. -I. -DRL_LIBRARY_VERSION='"6.2"' -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches bind.c parens.c: In function 'rl_insert_close': parens.c:109:36: warning: variable 'ready' set but not used [-Wunused-but-set-variable] int orig_point, match_point, ready; ^ rm -f isearch.o vi_mode.c: In function 'rl_domove_motion_callback': vi_mode.c:1025:10: warning: unused variable 'save' [-Wunused-variable] int c, save, r; ^ search.c: In function '_rl_nsearch_init': search.c:213:3: warning: too many arguments for format [-Wformat-extra-args] rl_message ("%s", p, 0); ^ vi_mode.c: In function 'rl_vi_domove': vi_mode.c:1193:7: warning: unused variable 'r' [-Wunused-variable] int r; ^ readline.c: In function 'readline_internal_char': readline.c:541:21: warning: variable 'eof_found' set but not used [-Wunused-but-set-variable] static int lastc, eof_found; ^ readline.c: At top level: readline.c:1179:1: warning: 'reset_default_bindings' defined but not used [-Wunused-function] reset_default_bindings () ^ gcc -c -DHAVE_CONFIG_H -I/usr/include/ncurses -I. -I. -DRL_LIBRARY_VERSION='"6.2"' -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches isearch.c rm -f display.o gcc -c -DHAVE_CONFIG_H -I/usr/include/ncurses -I. -I. -DRL_LIBRARY_VERSION='"6.2"' -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches display.c complete.c: In function 'fnwidth': complete.c:682:8: warning: implicit declaration of function 'wcwidth' [-Wimplicit-function-declaration] w = wcwidth (wc); ^ complete.c: In function '_rl_find_completion_word': complete.c:984:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] while (rl_point = MB_PREVCHAR (rl_line_buffer, rl_point, MB_FIND_ANY)) ^ rm -f signals.o complete.c: In function 'rl_completion_matches': complete.c:1992:3: warning: suggest parentheses around assignment used as truth value [-Wparentheses] while (string = (*entry_function) (text, matches)) ^ complete.c: In function 'rl_username_completion_function': complete.c:2045:3: warning: suggest parentheses around assignment used as truth value [-Wparentheses] while (entry = getpwent ()) ^ complete.c: In function 'rl_menu_complete': complete.c:2500:25: warning: unused variable 'cstate' [-Wunused-variable] static int delimiter, cstate; ^ gcc -c -DHAVE_CONFIG_H -I/usr/include/ncurses -I. -I. -DRL_LIBRARY_VERSION='"6.2"' -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches signals.c rm -f util.o gcc -c -DHAVE_CONFIG_H -I/usr/include/ncurses -I. -I. -DRL_LIBRARY_VERSION='"6.2"' -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches util.c isearch.c: In function 'rl_search_history': rm -f kill.o isearch.c:651:7: warning: variable 'c' set but not used [-Wunused-but-set-variable] int c, r; ^ isearch.c: In function '_rl_isearch_callback': isearch.c:689:7: warning: variable 'c' set but not used [-Wunused-but-set-variable] int c, r; ^ gcc -c -DHAVE_CONFIG_H -I/usr/include/ncurses -I. -I. -DRL_LIBRARY_VERSION='"6.2"' -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches kill.c rm -f undo.o bind.c: In function 'rl_translate_keyseq': bind.c:451:3: warning: suggest parentheses around assignment used as truth value [-Wparentheses] for (i = l = 0; c = seq[i]; i++) ^ gcc -c -DHAVE_CONFIG_H -I/usr/include/ncurses -I. -I. -DRL_LIBRARY_VERSION='"6.2"' -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches undo.c bind.c: In function 'rl_parse_and_bind': bind.c:1197:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] for (i = 1; c = string[i]; i++) ^ bind.c:1288:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] for (passc = 0; c = string[i]; i++) ^ rm -f macro.o gcc -c -DHAVE_CONFIG_H -I/usr/include/ncurses -I. -I. -DRL_LIBRARY_VERSION='"6.2"' -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches macro.c bind.c: In function 'rl_function_dumper': bind.c:2118:3: warning: suggest parentheses around assignment used as truth value [-Wparentheses] for (i = 0; name = names[i]; i++) ^ rm -f input.o gcc -c -DHAVE_CONFIG_H -I/usr/include/ncurses -I. -I. -DRL_LIBRARY_VERSION='"6.2"' -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches input.c rm -f callback.o gcc -c -DHAVE_CONFIG_H -I/usr/include/ncurses -I. -I. -DRL_LIBRARY_VERSION='"6.2"' -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches callback.c display.c: In function 'rl_redisplay': display.c:764:8: warning: implicit declaration of function 'wcwidth' [-Wimplicit-function-declaration] temp = wcwidth (wc); ^ rm -f terminal.o gcc -c -DHAVE_CONFIG_H -I/usr/include/ncurses -I. -I. -DRL_LIBRARY_VERSION='"6.2"' -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches terminal.c util.c: In function '_rl_tropen': util.c:513:3: warning: format '%ld' expects argument of type 'long int', but argument 3 has type '__pid_t' [-Wformat=] sprintf (fnbuf, "/var/tmp/rltrace.%ld", getpid()); ^ rm -f text.o complete.c: In function 'rl_filename_completion_function': complete.c:2347:8: warning: 'convfn' may be used uninitialized in this function [-Wmaybe-uninitialized] xfree (convfn); ^ complete.c:2346:10: warning: 'dentry' may be used uninitialized in this function [-Wmaybe-uninitialized] if (convfn != dentry) ^ gcc -c -DHAVE_CONFIG_H -I/usr/include/ncurses -I. -I. -DRL_LIBRARY_VERSION='"6.2"' -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches text.c rm -f nls.o input.c: In function 'rl_read_key': input.c:424:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (c = _rl_next_macro_key ()) ^ gcc -c -DHAVE_CONFIG_H -I/usr/include/ncurses -I. -I. -DRL_LIBRARY_VERSION='"6.2"' -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches nls.c rm -f misc.o gcc -c -DHAVE_CONFIG_H -I/usr/include/ncurses -I. -I. -DRL_LIBRARY_VERSION='"6.2"' -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches misc.c rm -f compat.o gcc -c -DHAVE_CONFIG_H -I/usr/include/ncurses -I. -I. -DRL_LIBRARY_VERSION='"6.2"' -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches compat.c rm -f xfree.o gcc -c -DHAVE_CONFIG_H -I/usr/include/ncurses -I. -I. -DRL_LIBRARY_VERSION='"6.2"' -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches xfree.c text.c: In function '_rl_overwrite_char': text.c:862:7: warning: variable 'k' set but not used [-Wunused-but-set-variable] int k; ^ rm -f xmalloc.o misc.c: In function '_rl_revert_all_lines': gcc -c -DHAVE_CONFIG_H -I/usr/include/ncurses -I. -I. -DRL_LIBRARY_VERSION='"6.2"' -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches xmalloc.c rm -f history.o misc.c:456:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (ul = (UNDO_LIST *)entry->data) ^ gcc -c -DHAVE_CONFIG_H -I/usr/include/ncurses -I. -I. -DRL_LIBRARY_VERSION='"6.2"' -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches history.c rm -f histexpand.o gcc -c -DHAVE_CONFIG_H -I/usr/include/ncurses -I. -I. -DRL_LIBRARY_VERSION='"6.2"' -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches histexpand.c rm -f histfile.o gcc -c -DHAVE_CONFIG_H -I/usr/include/ncurses -I. -I. -DRL_LIBRARY_VERSION='"6.2"' -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches histfile.c rm -f histsearch.o gcc -c -DHAVE_CONFIG_H -I/usr/include/ncurses -I. -I. -DRL_LIBRARY_VERSION='"6.2"' -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches histsearch.c rm -f shell.o gcc -c -DHAVE_CONFIG_H -I/usr/include/ncurses -I. -I. -DRL_LIBRARY_VERSION='"6.2"' -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches shell.c histexpand.c: In function 'get_history_event': histexpand.c:207:3: warning: suggest parentheses around assignment used as truth value [-Wparentheses] for (local_index = i; c = string[i]; i++) ^ rm -f mbutil.o gcc -c -DHAVE_CONFIG_H -I/usr/include/ncurses -I. -I. -DRL_LIBRARY_VERSION='"6.2"' -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches mbutil.c histexpand.c: In function 'history_expand_internal': histexpand.c:701:41: warning: variable 'ws' set but not used [-Wunused-but-set-variable] int delimiter, failed, si, l_temp, ws, we; ^ histfile.c: In function 'history_truncate_file': histfile.c:406:13: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write (file, bp, chars_read - (bp - buffer)); ^ rm -f tilde.o gcc -DHAVE_CONFIG_H -I/usr/include/ncurses -I. -I. -DRL_LIBRARY_VERSION='"6.2"' -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -DREADLINE_LIBRARY -c ./tilde.c test -d shlib || mkdir shlib ( cd shlib ; make - --jobserver-fds=3,4 -j all ) make[1]: Entering directory `/builddir/build/BUILD/readline-6.2/shlib' rm -f readline.so mbutil.c: In function '_rl_find_next_mbchar_internal': rm -f vi_mode.so mbutil.c:122:8: warning: implicit declaration of function 'wcwidth' [-Wimplicit-function-declaration] if (wcwidth (wc) == 0) ^ ./tilde.c: In function 'tilde_expand': ./tilde.c:199:3: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (result = strchr (string, '~')) ^ gcc -c -DHAVE_CONFIG_H -I/usr/include/ncurses -I. -I.. -I.. -DRL_LIBRARY_VERSION='"6.2"' -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -fPIC -o readline.o ../readline.c gcc -c -DHAVE_CONFIG_H -I/usr/include/ncurses -I. -I.. -I.. -DRL_LIBRARY_VERSION='"6.2"' -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -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='"6.2"' -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -fPIC -o funmap.o ../funmap.c gcc -c -DHAVE_CONFIG_H -I/usr/include/ncurses -I. -I.. -I.. -DRL_LIBRARY_VERSION='"6.2"' -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -fPIC -o keymaps.o ../keymaps.c rm -f parens.so complete.c: In function 'rl_complete_internal': complete.c:1886:7: warning: 'tlen' may be used uninitialized in this function [-Wmaybe-uninitialized] if (mlen >= tlen) ^ gcc -c -DHAVE_CONFIG_H -I/usr/include/ncurses -I. -I.. -I.. -DRL_LIBRARY_VERSION='"6.2"' -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -fPIC -o parens.o ../parens.c rm -f search.so ../vi_mode.c: In function 'rl_domove_motion_callback': ../vi_mode.c:1025:10: warning: unused variable 'save' [-Wunused-variable] int c, save, r; ^ ../vi_mode.c: In function 'rl_vi_domove': ../readline.c: In function 'readline_internal_char': ../vi_mode.c:1193:7: warning: unused variable 'r' [-Wunused-variable] int r; ^ ../readline.c:541:21: warning: variable 'eof_found' set but not used [-Wunused-but-set-variable] static int lastc, eof_found; ^ gcc -c -DHAVE_CONFIG_H -I/usr/include/ncurses -I. -I.. -I.. -DRL_LIBRARY_VERSION='"6.2"' -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -fPIC -o search.o ../search.c ../readline.c: At top level: ../readline.c:1179:1: warning: 'reset_default_bindings' defined but not used [-Wunused-function] reset_default_bindings () ^ rm -f rltty.so gcc -c -DHAVE_CONFIG_H -I/usr/include/ncurses -I. -I.. -I.. -DRL_LIBRARY_VERSION='"6.2"' -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -fPIC -o rltty.o ../rltty.c rm -f complete.so gcc -c -DHAVE_CONFIG_H -I/usr/include/ncurses -I. -I.. -I.. -DRL_LIBRARY_VERSION='"6.2"' -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -fPIC -o complete.o ../complete.c rm -f bind.so gcc -c -DHAVE_CONFIG_H -I/usr/include/ncurses -I. -I.. -I.. -DRL_LIBRARY_VERSION='"6.2"' -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -fPIC -o bind.o ../bind.c mv funmap.o funmap.so mv keymaps.o keymaps.so rm -f isearch.so gcc -c -DHAVE_CONFIG_H -I/usr/include/ncurses -I. -I.. -I.. -DRL_LIBRARY_VERSION='"6.2"' -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -fPIC -o isearch.o ../isearch.c ../parens.c: In function 'rl_insert_close': ../parens.c:109:36: warning: variable 'ready' set but not used [-Wunused-but-set-variable] int orig_point, match_point, ready; ^ rm -f display.so ../complete.c: In function 'fnwidth': ../complete.c:682:8: warning: implicit declaration of function 'wcwidth' [-Wimplicit-function-declaration] w = wcwidth (wc); ^ ../complete.c: In function '_rl_find_completion_word': ../complete.c:984:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] while (rl_point = MB_PREVCHAR (rl_line_buffer, rl_point, MB_FIND_ANY)) ^ ../bind.c: In function 'rl_translate_keyseq': ../complete.c: In function 'rl_completion_matches': ../complete.c:1992:3: warning: suggest parentheses around assignment used as truth value [-Wparentheses] while (string = (*entry_function) (text, matches)) ^ ../bind.c:451:3: warning: suggest parentheses around assignment used as truth value [-Wparentheses] for (i = l = 0; c = seq[i]; i++) ^ ../complete.c: In function 'rl_username_completion_function': ../complete.c:2045:3: warning: suggest parentheses around assignment used as truth value [-Wparentheses] while (entry = getpwent ()) ^ rm -f signals.so ../complete.c: In function 'rl_menu_complete': ../complete.c:2500:25: warning: unused variable 'cstate' [-Wunused-variable] static int delimiter, cstate; ^ ../bind.c: In function 'rl_parse_and_bind': ../bind.c:1197:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] for (i = 1; c = string[i]; i++) ^ gcc -c -DHAVE_CONFIG_H -I/usr/include/ncurses -I. -I.. -I.. -DRL_LIBRARY_VERSION='"6.2"' -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -fPIC -o display.o ../display.c ../bind.c:1288:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] for (passc = 0; c = string[i]; i++) ^ gcc -c -DHAVE_CONFIG_H -I/usr/include/ncurses -I. -I.. -I.. -DRL_LIBRARY_VERSION='"6.2"' -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -fPIC -o signals.o ../signals.c rm -f util.so gcc -c -DHAVE_CONFIG_H -I/usr/include/ncurses -I. -I.. -I.. -DRL_LIBRARY_VERSION='"6.2"' -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -fPIC -o util.o ../util.c ../bind.c: In function 'rl_function_dumper': ../search.c: In function '_rl_nsearch_init': ../search.c:213:3: warning: too many arguments for format [-Wformat-extra-args] rl_message ("%s", p, 0); ^ ../bind.c:2118:3: warning: suggest parentheses around assignment used as truth value [-Wparentheses] for (i = 0; name = names[i]; i++) ^ mv parens.o parens.so ../isearch.c: In function 'rl_search_history': ../isearch.c:651:7: warning: variable 'c' set but not used [-Wunused-but-set-variable] int c, r; ^ ../isearch.c: In function '_rl_isearch_callback': ../isearch.c:689:7: warning: variable 'c' set but not used [-Wunused-but-set-variable] int c, r; ^ rm -f kill.so ../display.c: In function 'rl_redisplay': ../display.c:764:8: warning: implicit declaration of function 'wcwidth' [-Wimplicit-function-declaration] temp = wcwidth (wc); ^ gcc -c -DHAVE_CONFIG_H -I/usr/include/ncurses -I. -I.. -I.. -DRL_LIBRARY_VERSION='"6.2"' -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -fPIC -o kill.o ../kill.c rm -f undo.so gcc -c -DHAVE_CONFIG_H -I/usr/include/ncurses -I. -I.. -I.. -DRL_LIBRARY_VERSION='"6.2"' -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -fPIC -o undo.o ../undo.c rm -f macro.so gcc -c -DHAVE_CONFIG_H -I/usr/include/ncurses -I. -I.. -I.. -DRL_LIBRARY_VERSION='"6.2"' -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -fPIC -o macro.o ../macro.c mv readline.o readline.so rm -f input.so rm -f callback.so mv rltty.o rltty.so gcc -c -DHAVE_CONFIG_H -I/usr/include/ncurses -I. -I.. -I.. -DRL_LIBRARY_VERSION='"6.2"' -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -fPIC -o input.o ../input.c ../util.c: In function '_rl_tropen': ../util.c:513:3: warning: format '%ld' expects argument of type 'long int', but argument 3 has type '__pid_t' [-Wformat=] sprintf (fnbuf, "/var/tmp/rltrace.%ld", getpid()); ^ ../complete.c: In function 'rl_filename_completion_function': ../complete.c:2347:8: warning: 'convfn' may be used uninitialized in this function [-Wmaybe-uninitialized] xfree (convfn); ^ ../complete.c:2346:10: warning: 'dentry' may be used uninitialized in this function [-Wmaybe-uninitialized] if (convfn != dentry) ^ gcc -c -DHAVE_CONFIG_H -I/usr/include/ncurses -I. -I.. -I.. -DRL_LIBRARY_VERSION='"6.2"' -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -fPIC -o callback.o ../callback.c rm -f terminal.so gcc -c -DHAVE_CONFIG_H -I/usr/include/ncurses -I. -I.. -I.. -DRL_LIBRARY_VERSION='"6.2"' -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -fPIC -o terminal.o ../terminal.c rm -f text.so gcc -c -DHAVE_CONFIG_H -I/usr/include/ncurses -I. -I.. -I.. -DRL_LIBRARY_VERSION='"6.2"' -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -fPIC -o text.o ../text.c mv search.o search.so mv signals.o signals.so display.c:879:8: warning: 'wc_width' may be used uninitialized in this function [-Wmaybe-uninitialized] for (i = 0; i < wc_width; i++) ^ display.c:717:24: warning: 'n0' may be used uninitialized in this function [-Wmaybe-uninitialized] lpos -= _rl_col_width (local_prompt, n0, num, 1); ^ mv isearch.o isearch.so mv macro.o macro.so mv undo.o undo.so rm -f nls.so gcc -c -DHAVE_CONFIG_H -I/usr/include/ncurses -I. -I.. -I.. -DRL_LIBRARY_VERSION='"6.2"' -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -fPIC -o nls.o ../nls.c ../text.c: In function '_rl_overwrite_char': ../text.c:862:7: warning: variable 'k' set but not used [-Wunused-but-set-variable] int k; ^ rm -f misc.so mv util.o util.so gcc -c -DHAVE_CONFIG_H -I/usr/include/ncurses -I. -I.. -I.. -DRL_LIBRARY_VERSION='"6.2"' -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -fPIC -o misc.o ../misc.c ../input.c: In function 'rl_read_key': ../input.c:424:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (c = _rl_next_macro_key ()) ^ mv kill.o kill.so rm -f xmalloc.so mv callback.o callback.so gcc -c -DHAVE_CONFIG_H -I/usr/include/ncurses -I. -I.. -I.. -DRL_LIBRARY_VERSION='"6.2"' -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -fPIC -o xmalloc.o ../xmalloc.c rm -f xfree.so mv nls.o nls.so rm -f libhistory.a ar cr libhistory.a history.o histexpand.o histfile.o histsearch.o shell.o mbutil.o xmalloc.o xfree.o test -n "ranlib" && ranlib libhistory.a gcc -c -DHAVE_CONFIG_H -I/usr/include/ncurses -I. -I.. -I.. -DRL_LIBRARY_VERSION='"6.2"' -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -fPIC -o xfree.o ../xfree.c ../misc.c: In function '_rl_revert_all_lines': ../misc.c:456:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (ul = (UNDO_LIST *)entry->data) ^ rm -f history.so gcc -c -DHAVE_CONFIG_H -I/usr/include/ncurses -I. -I.. -I.. -DRL_LIBRARY_VERSION='"6.2"' -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -fPIC -o history.o ../history.c rm -f histexpand.so mv xmalloc.o xmalloc.so mv xfree.o xfree.so gcc -c -DHAVE_CONFIG_H -I/usr/include/ncurses -I. -I.. -I.. -DRL_LIBRARY_VERSION='"6.2"' -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -fPIC -o histexpand.o ../histexpand.c rm -f histfile.so gcc -c -DHAVE_CONFIG_H -I/usr/include/ncurses -I. -I.. -I.. -DRL_LIBRARY_VERSION='"6.2"' -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -fPIC -o histfile.o ../histfile.c rm -f histsearch.so gcc -c -DHAVE_CONFIG_H -I/usr/include/ncurses -I. -I.. -I.. -DRL_LIBRARY_VERSION='"6.2"' -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -fPIC -o histsearch.o ../histsearch.c rm -f shell.so gcc -c -DHAVE_CONFIG_H -I/usr/include/ncurses -I. -I.. -I.. -DRL_LIBRARY_VERSION='"6.2"' -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -fPIC -o shell.o ../shell.c rm -f mbutil.so mv input.o input.so gcc -c -DHAVE_CONFIG_H -I/usr/include/ncurses -I. -I.. -I.. -DRL_LIBRARY_VERSION='"6.2"' -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -fPIC -o mbutil.o ../mbutil.c rm -f tilde.so ../histfile.c: In function 'history_truncate_file': ../histfile.c:406:13: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write (file, bp, chars_read - (bp - buffer)); ^ mv terminal.o terminal.so ../histexpand.c: In function 'get_history_event': ../histexpand.c:207:3: warning: suggest parentheses around assignment used as truth value [-Wparentheses] for (local_index = i; c = string[i]; i++) ^ gcc -c -DHAVE_CONFIG_H -I/usr/include/ncurses -I. -I.. -I.. -DRL_LIBRARY_VERSION='"6.2"' -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -fPIC -DREADLINE_LIBRARY -c -o tilde.o ../tilde.c ../histexpand.c: In function 'history_expand_internal': ../histexpand.c:701:41: warning: variable 'ws' set but not used [-Wunused-but-set-variable] int delimiter, failed, si, l_temp, ws, we; ^ rm -f compat.so gcc -c -DHAVE_CONFIG_H -I/usr/include/ncurses -I. -I.. -I.. -DRL_LIBRARY_VERSION='"6.2"' -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -fPIC -o compat.o ../compat.c ../complete.c: In function 'rl_complete_internal': ../complete.c:1886:7: warning: 'tlen' may be used uninitialized in this function [-Wmaybe-uninitialized] if (mlen >= tlen) ^ ../mbutil.c: In function '_rl_find_next_mbchar_internal': ../mbutil.c:122:8: warning: implicit declaration of function 'wcwidth' [-Wimplicit-function-declaration] if (wcwidth (wc) == 0) ^ mv vi_mode.o vi_mode.so mv histsearch.o histsearch.so mv shell.o shell.so mv misc.o misc.so mv compat.o compat.so ../tilde.c: In function 'tilde_expand': ../tilde.c:199:3: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if (result = strchr (string, '~')) ^ mv histfile.o histfile.so rm -f libreadline.a 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 xfree.o xmalloc.o history.o histexpand.o histfile.o histsearch.o shell.o mbutil.o tilde.o mv history.o history.so test -n "ranlib" && ranlib libreadline.a mv mbutil.o mbutil.so mv tilde.o tilde.so mv complete.o complete.so mv text.o text.so mv bind.o bind.so ../display.c:879:8: warning: 'wc_width' may be used uninitialized in this function [-Wmaybe-uninitialized] for (i = 0; i < wc_width; i++) ^ ../display.c:717:24: warning: 'n0' may be used uninitialized in this function [-Wmaybe-uninitialized] lpos -= _rl_col_width (local_prompt, n0, num, 1); ^ mv histexpand.o histexpand.so rm -f libhistory.so.6.2 mv display.o display.so gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -shared -Wl,-soname,libhistory.so.6.2 -Wl,-z,relro -Wl,-soname,`basename libhistory.so.6.2 .2` -o libhistory.so.6.2 history.so histexpand.so histfile.so histsearch.so shell.so mbutil.so xmalloc.so xfree.so rm -f libreadline.so.6.2 gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -shared -Wl,-soname,libreadline.so.6.2 -Wl,-z,relro -Wl,-soname,`basename libreadline.so.6.2 .2` -o libreadline.so.6.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 xfree.so history.so histexpand.so histfile.so histsearch.so shell.so mbutil.so tilde.so compat.so -ltinfo make[1]: Leaving directory `/builddir/build/BUILD/readline-6.2/shlib' + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.O8BIMO + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/readline-6.2-11.el7.aarch64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/readline-6.2-11.el7.aarch64 ++ dirname /builddir/build/BUILDROOT/readline-6.2-11.el7.aarch64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/readline-6.2-11.el7.aarch64 + cd readline-6.2 + rm -rf /builddir/build/BUILDROOT/readline-6.2-11.el7.aarch64 + make DESTDIR=/builddir/build/BUILDROOT/readline-6.2-11.el7.aarch64 install /bin/sh ./support/mkinstalldirs /builddir/build/BUILDROOT/readline-6.2-11.el7.aarch64/usr/include \ /builddir/build/BUILDROOT/readline-6.2-11.el7.aarch64/usr/include/readline /builddir/build/BUILDROOT/readline-6.2-11.el7.aarch64/usr/lib64 \ /builddir/build/BUILDROOT/readline-6.2-11.el7.aarch64/usr/share/info /builddir/build/BUILDROOT/readline-6.2-11.el7.aarch64/usr/share/man/man3 mkdir -p -- /builddir/build/BUILDROOT/readline-6.2-11.el7.aarch64/usr/include /builddir/build/BUILDROOT/readline-6.2-11.el7.aarch64/usr/include/readline /builddir/build/BUILDROOT/readline-6.2-11.el7.aarch64/usr/lib64 /builddir/build/BUILDROOT/readline-6.2-11.el7.aarch64/usr/share/info /builddir/build/BUILDROOT/readline-6.2-11.el7.aarch64/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/readline-6.2-11.el7.aarch64/usr/include/readline ; \ done ( if test -d doc ; then \ cd doc && \ make infodir=/usr/share/info DESTDIR=/builddir/build/BUILDROOT/readline-6.2-11.el7.aarch64 install; \ fi ) make[1]: Entering directory `/builddir/build/BUILD/readline-6.2/doc' /bin/sh ../support/mkdirs /builddir/build/BUILDROOT/readline-6.2-11.el7.aarch64/usr/share/info /builddir/build/BUILDROOT/readline-6.2-11.el7.aarch64/usr/share/man/man3 if test -n "" ; then \ /bin/sh ../support/mkdirs /builddir/build/BUILDROOT/readline-6.2-11.el7.aarch64 ; \ fi if test -f readline.info; then \ /usr/bin/install -c -m 644 readline.info /builddir/build/BUILDROOT/readline-6.2-11.el7.aarch64/usr/share/info/readline.info; \ else \ /usr/bin/install -c -m 644 ./readline.info /builddir/build/BUILDROOT/readline-6.2-11.el7.aarch64/usr/share/info/readline.info; \ fi if test -f rluserman.info; then \ /usr/bin/install -c -m 644 rluserman.info /builddir/build/BUILDROOT/readline-6.2-11.el7.aarch64/usr/share/info/rluserman.info; \ else \ /usr/bin/install -c -m 644 ./rluserman.info /builddir/build/BUILDROOT/readline-6.2-11.el7.aarch64/usr/share/info/rluserman.info; \ fi if test -f history.info; then \ /usr/bin/install -c -m 644 history.info /builddir/build/BUILDROOT/readline-6.2-11.el7.aarch64/usr/share/info/history.info; \ else \ /usr/bin/install -c -m 644 ./history.info /builddir/build/BUILDROOT/readline-6.2-11.el7.aarch64/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/readline-6.2-11.el7.aarch64/usr/share/info/dir \ /builddir/build/BUILDROOT/readline-6.2-11.el7.aarch64/usr/share/info/readline.info ; \ install-info --dir-file=/builddir/build/BUILDROOT/readline-6.2-11.el7.aarch64/usr/share/info/dir \ /builddir/build/BUILDROOT/readline-6.2-11.el7.aarch64/usr/share/info/history.info ; \ install-info --dir-file=/builddir/build/BUILDROOT/readline-6.2-11.el7.aarch64/usr/share/info/dir \ /builddir/build/BUILDROOT/readline-6.2-11.el7.aarch64/usr/share/info/rluserman.info ; \ else true; fi /usr/bin/install -c -m 644 ./readline.3 /builddir/build/BUILDROOT/readline-6.2-11.el7.aarch64/usr/share/man/man3/readline.3 /usr/bin/install -c -m 644 ./history.3 /builddir/build/BUILDROOT/readline-6.2-11.el7.aarch64/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/readline-6.2-11.el7.aarch64/readline.html; \ else \ /usr/bin/install -c -m 644 ./readline.html /builddir/build/BUILDROOT/readline-6.2-11.el7.aarch64/readline.html; \ fi ; \ if test -f history.html; then \ /usr/bin/install -c -m 644 history.html /builddir/build/BUILDROOT/readline-6.2-11.el7.aarch64/history.html; \ else \ /usr/bin/install -c -m 644 ./history.html /builddir/build/BUILDROOT/readline-6.2-11.el7.aarch64/history.html; \ fi ; \ if test -f rluserman.html; then \ /usr/bin/install -c -m 644 rluserman.html /builddir/build/BUILDROOT/readline-6.2-11.el7.aarch64/rluserman.html; \ else \ /usr/bin/install -c -m 644 ./rluserman.html /builddir/build/BUILDROOT/readline-6.2-11.el7.aarch64/rluserman.html; \ fi ; \ fi make[1]: Leaving directory `/builddir/build/BUILD/readline-6.2/doc' test -d shlib || mkdir shlib ( cd shlib ; make all ) make[1]: Entering directory `/builddir/build/BUILD/readline-6.2/shlib' make[1]: Nothing to be done for `all'. make[1]: Leaving directory `/builddir/build/BUILD/readline-6.2/shlib' ( cd examples ; make DESTDIR=/builddir/build/BUILDROOT/readline-6.2-11.el7.aarch64 install ) make[1]: Entering directory `/builddir/build/BUILD/readline-6.2/examples' /bin/sh ../support/mkdirs /builddir/build/BUILDROOT/readline-6.2-11.el7.aarch64/usr/share/readline mkdir /builddir/build/BUILDROOT/readline-6.2-11.el7.aarch64/usr/share/readline make[1]: Leaving directory `/builddir/build/BUILD/readline-6.2/examples' mv /builddir/build/BUILDROOT/readline-6.2-11.el7.aarch64/usr/lib64/libreadline.a /builddir/build/BUILDROOT/readline-6.2-11.el7.aarch64/usr/lib64/libreadline.old mv: cannot stat '/builddir/build/BUILDROOT/readline-6.2-11.el7.aarch64/usr/lib64/libreadline.a': No such file or directory /usr/bin/install -c -m 644 libreadline.a /builddir/build/BUILDROOT/readline-6.2-11.el7.aarch64/usr/lib64/libreadline.a make: [install-static] Error 1 (ignored) test -n "ranlib" && ranlib /builddir/build/BUILDROOT/readline-6.2-11.el7.aarch64/usr/lib64/libreadline.a mv /builddir/build/BUILDROOT/readline-6.2-11.el7.aarch64/usr/lib64/libhistory.a /builddir/build/BUILDROOT/readline-6.2-11.el7.aarch64/usr/lib64/libhistory.old mv: cannot stat '/builddir/build/BUILDROOT/readline-6.2-11.el7.aarch64/usr/lib64/libhistory.a': No such file or directory /usr/bin/install -c -m 644 libhistory.a /builddir/build/BUILDROOT/readline-6.2-11.el7.aarch64/usr/lib64/libhistory.a make: [install-static] Error 1 (ignored) test -n "ranlib" && ranlib /builddir/build/BUILDROOT/readline-6.2-11.el7.aarch64/usr/lib64/libhistory.a ( cd shlib ; make DESTDIR=/builddir/build/BUILDROOT/readline-6.2-11.el7.aarch64 install ) make[1]: Entering directory `/builddir/build/BUILD/readline-6.2/shlib' /bin/sh ../support/mkdirs /builddir/build/BUILDROOT/readline-6.2-11.el7.aarch64/usr/lib64 /bin/sh ../support/mkdirs /builddir/build/BUILDROOT/readline-6.2-11.el7.aarch64/usr/bin mkdir /builddir/build/BUILDROOT/readline-6.2-11.el7.aarch64/usr/bin /bin/sh ../support/shlib-install -O linux-gnu -V redhat -d /builddir/build/BUILDROOT/readline-6.2-11.el7.aarch64/usr/lib64 -b /builddir/build/BUILDROOT/readline-6.2-11.el7.aarch64/usr/bin -i "/usr/bin/install -c -m 644" libhistory.so.6.2 /bin/sh ../support/shlib-install -O linux-gnu -V redhat -d /builddir/build/BUILDROOT/readline-6.2-11.el7.aarch64/usr/lib64 -b /builddir/build/BUILDROOT/readline-6.2-11.el7.aarch64/usr/bin -i "/usr/bin/install -c -m 644" libreadline.so.6.2 install: you may need to run ldconfig make[1]: Leaving directory `/builddir/build/BUILD/readline-6.2/shlib' + mkdir /builddir/build/BUILDROOT/readline-6.2-11.el7.aarch64/lib64 + mv /builddir/build/BUILDROOT/readline-6.2-11.el7.aarch64/usr/lib64/libreadline.so.6 /builddir/build/BUILDROOT/readline-6.2-11.el7.aarch64/usr/lib64/libreadline.so.6.2 /builddir/build/BUILDROOT/readline-6.2-11.el7.aarch64/lib64 + for l in '$RPM_BUILD_ROOT/usr/lib64/libreadline.so' ++ echo /usr/lib64 ++ sed 's,\(^/\|\)[^/][^/]*,..,g' ++ readlink /builddir/build/BUILDROOT/readline-6.2-11.el7.aarch64/usr/lib64/libreadline.so + ln -sf ../../lib64/libreadline.so.6 /builddir/build/BUILDROOT/readline-6.2-11.el7.aarch64/usr/lib64/libreadline.so + rm -rf /builddir/build/BUILDROOT/readline-6.2-11.el7.aarch64/usr/share/readline + rm -f /builddir/build/BUILDROOT/readline-6.2-11.el7.aarch64/usr/share/info/dir + /usr/lib/rpm/find-debuginfo.sh --strict-build-id -m --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 /builddir/build/BUILD/readline-6.2 extracting debug info from /builddir/build/BUILDROOT/readline-6.2-11.el7.aarch64/lib64/libreadline.so.6.2 extracting debug info from /builddir/build/BUILDROOT/readline-6.2-11.el7.aarch64/usr/lib64/libhistory.so.6.2 /usr/lib/rpm/sepdebugcrcfix: Updated 2 CRC32s, 0 CRC32s did match. symlinked /usr/lib/debug/lib64/libreadline.so.6.2.debug to /usr/lib/debug/lib64/libreadline.so.6.debug symlinked /usr/lib/debug/usr/lib64/libhistory.so.6.2.debug to /usr/lib/debug/usr/lib64/libhistory.so.6.debug symlinked /usr/lib/debug/usr/lib64/libhistory.so.6.2.debug to /usr/lib/debug/usr/lib64/libhistory.so.debug symlinked /usr/lib/debug/lib64/libreadline.so.6.2.debug to /usr/lib/debug/usr/lib64/libreadline.so.debug 1562 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-compress + /usr/lib/rpm/redhat/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 + /usr/lib/rpm/redhat/brp-python-hardlink + /usr/lib/rpm/redhat/brp-java-repack-jars Processing files: readline-6.2-11.el7.aarch64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.p1No5U + umask 022 + cd /builddir/build/BUILD + cd readline-6.2 + DOCDIR=/builddir/build/BUILDROOT/readline-6.2-11.el7.aarch64/usr/share/doc/readline-6.2 + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/readline-6.2-11.el7.aarch64/usr/share/doc/readline-6.2 + cp -pr CHANGES /builddir/build/BUILDROOT/readline-6.2-11.el7.aarch64/usr/share/doc/readline-6.2 + cp -pr COPYING /builddir/build/BUILDROOT/readline-6.2-11.el7.aarch64/usr/share/doc/readline-6.2 + cp -pr NEWS /builddir/build/BUILDROOT/readline-6.2-11.el7.aarch64/usr/share/doc/readline-6.2 + cp -pr README /builddir/build/BUILDROOT/readline-6.2-11.el7.aarch64/usr/share/doc/readline-6.2 + cp -pr USAGE /builddir/build/BUILDROOT/readline-6.2-11.el7.aarch64/usr/share/doc/readline-6.2 + exit 0 Provides: libhistory.so.6()(64bit) libreadline.so.6()(64bit) readline = 6.2-11.el7 readline(aarch-64) = 6.2-11.el7 Requires(interp): /bin/sh /bin/sh /sbin/ldconfig Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires(post): /bin/sh /sbin/install-info Requires(preun): /bin/sh /sbin/install-info Requires(postun): /sbin/ldconfig Requires: ld-linux-aarch64.so.1()(64bit) ld-linux-aarch64.so.1(GLIBC_2.17)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.17)(64bit) libtinfo.so.5()(64bit) rtld(GNU_HASH) Processing files: readline-devel-6.2-11.el7.aarch64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.mJqYAo + umask 022 + cd /builddir/build/BUILD + cd readline-6.2 + DOCDIR=/builddir/build/BUILDROOT/readline-6.2-11.el7.aarch64/usr/share/doc/readline-devel-6.2 + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/readline-6.2-11.el7.aarch64/usr/share/doc/readline-devel-6.2 + cp -pr examples/excallback.c examples/fileman.c examples/histexamp.c examples/manexamp.c examples/rl-fgets.c examples/rl.c examples/rlcat.c examples/rlevent.c examples/rlptytest.c examples/rltest.c examples/rlversion.c /builddir/build/BUILDROOT/readline-6.2-11.el7.aarch64/usr/share/doc/readline-devel-6.2 + cp -pr examples/readlinebuf.h /builddir/build/BUILDROOT/readline-6.2-11.el7.aarch64/usr/share/doc/readline-devel-6.2 + cp -pr examples/rlfe /builddir/build/BUILDROOT/readline-6.2-11.el7.aarch64/usr/share/doc/readline-devel-6.2 + exit 0 Provides: readline-devel = 6.2-11.el7 readline-devel(aarch-64) = 6.2-11.el7 Requires(interp): /bin/sh /bin/sh Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires(post): /bin/sh /sbin/install-info Requires(preun): /bin/sh /sbin/install-info Requires: libhistory.so.6()(64bit) libreadline.so.6()(64bit) Processing files: readline-static-6.2-11.el7.aarch64 Provides: readline-static = 6.2-11.el7 readline-static(aarch-64) = 6.2-11.el7 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: readline-debuginfo-6.2-11.el7.aarch64 Provides: readline-debuginfo = 6.2-11.el7 readline-debuginfo(aarch-64) = 6.2-11.el7 Requires(rpmlib): rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 rpmlib(CompressedFileNames) <= 3.0.4-1 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/readline-6.2-11.el7.aarch64 Wrote: /builddir/build/RPMS/readline-6.2-11.el7.aarch64.rpm Wrote: /builddir/build/RPMS/readline-devel-6.2-11.el7.aarch64.rpm Wrote: /builddir/build/RPMS/readline-static-6.2-11.el7.aarch64.rpm Wrote: /builddir/build/RPMS/readline-debuginfo-6.2-11.el7.aarch64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.kPYB2y + umask 022 + cd /builddir/build/BUILD + cd readline-6.2 + rm -rf /builddir/build/BUILDROOT/readline-6.2-11.el7.aarch64 + exit 0 Child return code was: 0