Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/python-gnureadline.spec'], chrootPath='/var/lib/mock/openeuler-22.03-x86_64-1682275251.704355/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=0uid=1000gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=True) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/python-gnureadline.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False /etc/profile.d/system-info.sh: line 55: ps: command not found Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/python-gnureadline-8.1.2-1.src.rpm Child return code was: 0 Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/python-gnureadline.spec'], chrootPath='/var/lib/mock/openeuler-22.03-x86_64-1682275251.704355/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=0uid=1000gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=True) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/python-gnureadline.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False /etc/profile.d/system-info.sh: line 55: ps: command not found Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/python-gnureadline-8.1.2-1.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/python-gnureadline.spec'], chrootPath='/var/lib/mock/openeuler-22.03-x86_64-1682275251.704355/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=0uid=1000gid=135user='mockbuild'nspawn_args=[]unshare_net=FalseprintOutput=True) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/python-gnureadline.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False /etc/profile.d/system-info.sh: line 55: ps: command not found Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.vnmnOj + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf gnureadline-8.1.2 + /usr/bin/gzip -dc /builddir/build/SOURCES/gnureadline-8.1.2.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd gnureadline-8.1.2 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.DWIuLi + umask 022 + cd /builddir/build/BUILD + cd gnureadline-8.1.2 + CFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/generic-hardened-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection ' + LDFLAGS='-Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/generic-hardened-ld' + /usr/bin/python3 setup.py build '--executable=/usr/bin/python3 -s' readline-8.1/ readline-8.1/nls.c readline-8.1/CHANGES readline-8.1/histsearch.c readline-8.1/readline.pc.in readline-8.1/text.c readline-8.1/chardefs.h readline-8.1/histlib.h readline-8.1/rlmbutil.h readline-8.1/tilde.c readline-8.1/colors.h readline-8.1/vi_keymap.c readline-8.1/keymaps.h readline-8.1/histfile.c readline-8.1/support/ readline-8.1/config.h.in readline-8.1/util.c readline-8.1/colors.c readline-8.1/rltty.c readline-8.1/posixjmp.h readline-8.1/patchlevel readline-8.1/rlwinsize.h readline-8.1/misc.c readline-8.1/funmap.c readline-8.1/parse-colors.c readline-8.1/signals.c readline-8.1/configure readline-8.1/INSTALL readline-8.1/complete.c readline-8.1/callback.c readline-8.1/posixdir.h readline-8.1/ansi_stdlib.h readline-8.1/configure.ac readline-8.1/xfree.c readline-8.1/xmalloc.c readline-8.1/undo.c readline-8.1/rlconf.h readline-8.1/shell.c readline-8.1/CHANGELOG readline-8.1/keymaps.c readline-8.1/doc/ readline-8.1/readline.c readline-8.1/mbutil.c readline-8.1/COPYING readline-8.1/display.c readline-8.1/terminal.c readline-8.1/parens.c readline-8.1/README readline-8.1/rlstdc.h readline-8.1/posixselect.h readline-8.1/history.c readline-8.1/rltypedefs.h readline-8.1/USAGE readline-8.1/Makefile.in readline-8.1/rlprivate.h readline-8.1/aclocal.m4 readline-8.1/rlshell.h readline-8.1/examples/ readline-8.1/shlib/ readline-8.1/histexpand.c readline-8.1/compat.c readline-8.1/readline.h readline-8.1/tcap.h readline-8.1/search.c readline-8.1/macro.c readline-8.1/rldefs.h readline-8.1/MANIFEST readline-8.1/tilde.h readline-8.1/parse-colors.h readline-8.1/vi_mode.c readline-8.1/emacs_keymap.c readline-8.1/isearch.c readline-8.1/kill.c readline-8.1/input.c readline-8.1/NEWS readline-8.1/rltty.h readline-8.1/bind.c readline-8.1/posixstat.h readline-8.1/history.h readline-8.1/savestring.c readline-8.1/xmalloc.h readline-8.1/shlib/Makefile.in readline-8.1/examples/rlcat.c readline-8.1/examples/excallback.c readline-8.1/examples/rlwrap-0.30.tar.gz readline-8.1/examples/rl-fgets.c readline-8.1/examples/rlptytest.c readline-8.1/examples/rlkeymaps.c readline-8.1/examples/rl-callbacktest.c readline-8.1/examples/rlbasic.c readline-8.1/examples/readlinebuf.h readline-8.1/examples/Inputrc readline-8.1/examples/hist_erasedups.c readline-8.1/examples/Makefile.in readline-8.1/examples/rltest.c readline-8.1/examples/autoconf/ readline-8.1/examples/manexamp.c readline-8.1/examples/rlfe/ readline-8.1/examples/rlversion.c readline-8.1/examples/rl.c readline-8.1/examples/hist_purgecmd.c readline-8.1/examples/rlevent.c readline-8.1/examples/fileman.c readline-8.1/examples/histexamp.c readline-8.1/examples/rlfe/config.h.in readline-8.1/examples/rlfe/configure readline-8.1/examples/rlfe/pty.c readline-8.1/examples/rlfe/rlfe.c readline-8.1/examples/rlfe/ChangeLog readline-8.1/examples/rlfe/README readline-8.1/examples/rlfe/Makefile.in readline-8.1/examples/rlfe/os.h readline-8.1/examples/rlfe/extern.h readline-8.1/examples/rlfe/screen.h readline-8.1/examples/rlfe/configure.in readline-8.1/examples/autoconf/wi_LIB_READLINE readline-8.1/examples/autoconf/RL_LIB_READLINE_VERSION readline-8.1/examples/autoconf/BASH_CHECK_LIB_TERMCAP readline-8.1/doc/rluserman.pdf readline-8.1/doc/texinfo.tex readline-8.1/doc/readline.0 readline-8.1/doc/rluser.texi readline-8.1/doc/readline.dvi readline-8.1/doc/fdl.texi readline-8.1/doc/hsuser.texi readline-8.1/doc/rluserman.info readline-8.1/doc/rltech.texi readline-8.1/doc/rluserman.dvi readline-8.1/doc/history.ps readline-8.1/doc/readline_3.ps readline-8.1/doc/rlman.texi readline-8.1/doc/texi2html readline-8.1/doc/readline.ps readline-8.1/doc/history_3.ps readline-8.1/doc/readline.info readline-8.1/doc/readline.pdf readline-8.1/doc/Makefile.in readline-8.1/doc/readline.html readline-8.1/doc/history.pdf readline-8.1/doc/version.texi readline-8.1/doc/history.3 readline-8.1/doc/history.texi readline-8.1/doc/texi2dvi readline-8.1/doc/hstech.texi readline-8.1/doc/rluserman.texi readline-8.1/doc/history.0 readline-8.1/doc/history.info readline-8.1/doc/history.html readline-8.1/doc/readline.3 readline-8.1/doc/history.dvi readline-8.1/doc/rluserman.ps readline-8.1/doc/rluserman.html readline-8.1/support/config.sub readline-8.1/support/mkinstalldirs readline-8.1/support/shlib-install readline-8.1/support/mkdist readline-8.1/support/mkdirs readline-8.1/support/install.sh readline-8.1/support/config.rpath readline-8.1/support/shobj-conf readline-8.1/support/config.guess readline-8.1/support/wcwidth.c patching file bind.c patching file patchlevel patching file display.c patching file patchlevel checking build system type... x86_64-pc-linux-gnu checking host system type... x86_64-pc-linux-gnu Beginning configuration for readline-8.1 for x86_64-pc-linux-gnu checking whether make sets $(MAKE)... yes checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking 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 ranlib... ranlib checking for an ANSI C-conforming const... yes checking for function prototypes... yes checking whether char is unsigned... no 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 readlink... yes checking for fnmatch... yes checking for memmove... yes checking for pselect... 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 uid_t in sys/types.h... yes checking for unistd.h... (cached) yes checking for working chown... 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 stdbool.h usability... yes checking stdbool.h presence... yes checking for stdbool.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... no checking termcap.h presence... no checking for termcap.h... no 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/ioctl.h usability... yes checking sys/ioctl.h presence... yes checking for sys/ioctl.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 libaudit.h usability... no checking libaudit.h presence... no checking for libaudit.h... no checking whether AUDIT_USER_TTY is declared... yes checking for tgetent... no checking for tgetent in -ltermcap... no checking for tgetent in -ltinfo... no checking for tgetent in -lcurses... no checking for tgetent in -lncurses... no checking for tgetent in -lncursesw... no checking which library has the termcap functions... using gnutermcap 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 mbstr.h usability... no checking mbstr.h presence... no checking for mbstr.h... no 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 for wcwidth broken with unicode combining characters... no checking size of wchar_t... 4 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 readline.pc config.status: creating config.h config.status: executing default commands rm -f readline.o gcc -c -DHAVE_CONFIG_H -I. -I. -DNEED_EXTERN_PC -fPIC -DRL_LIBRARY_VERSION='"8.1"' -DBRACKETED_PASTE_DEFAULT=1 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/generic-hardened-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection readline.c readline.c: In function ‘readline_internal_char’: readline.c:549:20: warning: variable ‘r’ set but not used [-Wunused-but-set-variable] 549 | int c, code, lk, r; | ^ readline.c:548:21: warning: unused variable ‘eof_found’ [-Wunused-variable] 548 | static int lastc, eof_found; | ^~~~~~~~~ At top level: readline.c:548:21: warning: ‘eof_found’ defined but not used [-Wunused-variable] readline.c:1311:1: warning: ‘reset_default_bindings’ defined but not used [-Wunused-function] 1311 | reset_default_bindings (void) | ^~~~~~~~~~~~~~~~~~~~~~ rm -f vi_mode.o gcc -c -DHAVE_CONFIG_H -I. -I. -DNEED_EXTERN_PC -fPIC -DRL_LIBRARY_VERSION='"8.1"' -DBRACKETED_PASTE_DEFAULT=1 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/generic-hardened-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection vi_mode.c vi_mode.c: In function ‘rl_vi_fword’: vi_mode.c:639:7: warning: variable ‘opoint’ set but not used [-Wunused-but-set-variable] 639 | int opoint; | ^~~~~~ vi_mode.c: In function ‘rl_vi_domove’: vi_mode.c:1360:7: warning: unused variable ‘r’ [-Wunused-variable] 1360 | int r; | ^ At top level: vi_mode.c:104:12: warning: ‘vi_continued_command’ defined but not used [-Wunused-variable] 104 | static int vi_continued_command; | ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/string.h:519, from rldefs.h:61, from vi_mode.c:53: In function ‘strncpy’, inlined from ‘rl_vi_change_char’ at vi_mode.c:2065:7: /usr/include/bits/string_fortified.h:95:10: warning: ‘__builtin_strncpy’ output may be truncated copying 16 bytes from a string of length 16 [-Wstringop-truncation] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ rm -f funmap.o gcc -c -DHAVE_CONFIG_H -I. -I. -DNEED_EXTERN_PC -fPIC -DRL_LIBRARY_VERSION='"8.1"' -DBRACKETED_PASTE_DEFAULT=1 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/generic-hardened-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection funmap.c rm -f keymaps.o gcc -c -DHAVE_CONFIG_H -I. -I. -DNEED_EXTERN_PC -fPIC -DRL_LIBRARY_VERSION='"8.1"' -DBRACKETED_PASTE_DEFAULT=1 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/generic-hardened-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection keymaps.c rm -f parens.o gcc -c -DHAVE_CONFIG_H -I. -I. -DNEED_EXTERN_PC -fPIC -DRL_LIBRARY_VERSION='"8.1"' -DBRACKETED_PASTE_DEFAULT=1 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/generic-hardened-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection parens.c parens.c: In function ‘rl_insert_close’: parens.c:118:36: warning: variable ‘ready’ set but not used [-Wunused-but-set-variable] 118 | int orig_point, match_point, ready; | ^~~~~ rm -f search.o gcc -c -DHAVE_CONFIG_H -I. -I. -DNEED_EXTERN_PC -fPIC -DRL_LIBRARY_VERSION='"8.1"' -DBRACKETED_PASTE_DEFAULT=1 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/generic-hardened-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection search.c search.c: In function ‘rl_history_search_internal’: search.c:524:9: warning: unused variable ‘t’ [-Wunused-variable] 524 | char *t; | ^ rm -f rltty.o gcc -c -DHAVE_CONFIG_H -I. -I. -DNEED_EXTERN_PC -fPIC -DRL_LIBRARY_VERSION='"8.1"' -DBRACKETED_PASTE_DEFAULT=1 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/generic-hardened-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection rltty.c rm -f complete.o gcc -c -DHAVE_CONFIG_H -I. -I. -DNEED_EXTERN_PC -fPIC -DRL_LIBRARY_VERSION='"8.1"' -DBRACKETED_PASTE_DEFAULT=1 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/generic-hardened-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection complete.c complete.c: In function ‘_rl_find_completion_word’: complete.c:1149:14: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 1149 | while (rl_point = MB_PREVCHAR (rl_line_buffer, rl_point, MB_FIND_ANY)) | ^~~~~~~~ complete.c: In function ‘compute_lcd_of_matches’: complete.c:1321:7: warning: unused variable ‘v’ [-Wunused-variable] 1321 | int v; | ^ complete.c: In function ‘rl_completion_matches’: complete.c:2217:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 2217 | while (string = (*entry_function) (text, matches)) | ^~~~~~ complete.c: In function ‘rl_username_completion_function’: complete.c:2289:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 2289 | while (entry = getpwent ()) | ^~~~~ complete.c: In function ‘rl_menu_complete’: complete.c:2826:25: warning: unused variable ‘cstate’ [-Wunused-variable] 2826 | static int delimiter, cstate; | ^~~~~~ At top level: complete.c:2826:25: warning: ‘cstate’ defined but not used [-Wunused-variable] complete.c: In function ‘print_filename’: complete.c:1042:15: warning: ‘printed_len’ may be used uninitialized in this function [-Wmaybe-uninitialized] 1042 | printed_len++; | ~~~~~~~~~~~^~ complete.c: In function ‘rl_complete_internal’: complete.c:2086:7: warning: ‘tlen’ may be used uninitialized in this function [-Wmaybe-uninitialized] 2086 | if (mlen >= tlen) | ^ rm -f bind.o gcc -c -DHAVE_CONFIG_H -I. -I. -DNEED_EXTERN_PC -fPIC -DRL_LIBRARY_VERSION='"8.1"' -DBRACKETED_PASTE_DEFAULT=1 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/generic-hardened-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection bind.c bind.c: In function ‘_rl_skip_to_delim’: bind.c:1496:29: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 1496 | for (i = start,passc = 0; c = string[i]; i++) | ^ bind.c: In function ‘rl_parse_and_bind’: bind.c:1590:11: warning: unused variable ‘s’ [-Wunused-variable] 1590 | int s; | ^ bind.c: In function ‘rl_function_dumper’: bind.c:2694:15: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 2694 | for (i = 0; name = names[i]; i++) | ^~~~ bind.c: In function ‘parser_if’: bind.c:1315:43: warning: ‘opresult’ may be used uninitialized in this function [-Wmaybe-uninitialized] 1315 | _rl_parsing_conditionalized_out = 1 - opresult; | ~~^~~~~~~~~~ rm -f isearch.o gcc -c -DHAVE_CONFIG_H -I. -I. -DNEED_EXTERN_PC -fPIC -DRL_LIBRARY_VERSION='"8.1"' -DBRACKETED_PASTE_DEFAULT=1 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/generic-hardened-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection isearch.c isearch.c: In function ‘_rl_isearch_dispatch’: isearch.c:341:37: warning: unused variable ‘incr’ [-Wunused-variable] 341 | int n, wstart, wlen, limit, cval, incr; | ^~~~ isearch.c: In function ‘rl_search_history’: isearch.c:845:7: warning: variable ‘c’ set but not used [-Wunused-but-set-variable] 845 | int c, r; | ^ isearch.c: In function ‘_rl_isearch_callback’: isearch.c:882:7: warning: variable ‘c’ set but not used [-Wunused-but-set-variable] 882 | int c, r; | ^ rm -f display.o gcc -c -DHAVE_CONFIG_H -I. -I. -DNEED_EXTERN_PC -fPIC -DRL_LIBRARY_VERSION='"8.1"' -DBRACKETED_PASTE_DEFAULT=1 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/generic-hardened-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection display.c display.c: In function ‘rl_redisplay’: display.c:746:38: warning: variable ‘prompt_lines_estimate’ set but not used [-Wunused-but-set-variable] 746 | int newlines, lpos, temp, n0, num, prompt_lines_estimate; | ^~~~~~~~~~~~~~~~~~~~~ display.c:746:33: warning: variable ‘num’ set but not used [-Wunused-but-set-variable] 746 | int newlines, lpos, temp, n0, num, prompt_lines_estimate; | ^~~ display.c:746:29: warning: unused variable ‘n0’ [-Wunused-variable] 746 | int newlines, lpos, temp, n0, num, prompt_lines_estimate; | ^~ display.c: In function ‘update_line’: display.c:1766:14: warning: unused variable ‘optr’ [-Wunused-variable] 1766 | char *optr; | ^~~~ display.c:1765:12: warning: unused variable ‘count’ [-Wunused-variable] 1765 | int count, i, j; | ^~~~~ display.c:1634:39: warning: unused variable ‘twidth’ [-Wunused-variable] 1634 | int temp, lendiff, wsatend, od, nd, twidth, o_cpos; | ^~~~~~ At top level: display.c:3202:1: warning: ‘insert_some_chars’ defined but not used [-Wunused-function] 3202 | insert_some_chars (char *string, int count, int col) | ^~~~~~~~~~~~~~~~~ display.c: In function ‘rl_redisplay’: display.c:1141:8: warning: ‘wc_width’ may be used uninitialized in this function [-Wmaybe-uninitialized] 1141 | for (i = 0; i < wc_width; i++) | ^~~ rm -f signals.o gcc -c -DHAVE_CONFIG_H -I. -I. -DNEED_EXTERN_PC -fPIC -DRL_LIBRARY_VERSION='"8.1"' -DBRACKETED_PASTE_DEFAULT=1 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/generic-hardened-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection signals.c signals.c: In function ‘rl_set_signals’: signals.c:439:25: warning: unused variable ‘oset’ [-Wunused-variable] 439 | static sigset_t bset, oset; | ^~~~ At top level: signals.c:439:25: warning: ‘oset’ defined but not used [-Wunused-variable] signals.c:650:29: warning: ‘sigint_oset’ defined but not used [-Wunused-variable] 650 | static sigset_t sigint_set, sigint_oset; | ^~~~~~~~~~~ signals.c:650:17: warning: ‘sigint_set’ defined but not used [-Wunused-variable] 650 | static sigset_t sigint_set, sigint_oset; | ^~~~~~~~~~ rm -f util.o gcc -c -DHAVE_CONFIG_H -I. -I. -DNEED_EXTERN_PC -fPIC -DRL_LIBRARY_VERSION='"8.1"' -DBRACKETED_PASTE_DEFAULT=1 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/generic-hardened-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection util.c rm -f kill.o gcc -c -DHAVE_CONFIG_H -I. -I. -DNEED_EXTERN_PC -fPIC -DRL_LIBRARY_VERSION='"8.1"' -DBRACKETED_PASTE_DEFAULT=1 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/generic-hardened-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection kill.c kill.c: In function ‘rl_bracketed_paste_begin’: kill.c:726:15: warning: unused variable ‘cap’ [-Wunused-variable] 726 | size_t len, cap; | ^~~ kill.c:725:15: warning: unused variable ‘c’ [-Wunused-variable] 725 | int retval, c; | ^ kill.c: In function ‘_rl_read_bracketed_paste_prefix’: kill.c:743:17: warning: unused variable ‘j’ [-Wunused-variable] 743 | int key, ind, j; | ^ kill.c: In function ‘_rl_bracketed_read_mbstring’: kill.c:815:10: warning: unused variable ‘r’ [-Wunused-variable] 815 | int c, r; | ^ kill.c: In function ‘_rl_read_bracketed_paste_prefix’: kill.c:766:29: warning: ‘key’ may be used uninitialized in this function [-Wmaybe-uninitialized] 766 | return (key < 0 ? key : 0); | ~~~~~~~~~~~~~~~^~~~ rm -f undo.o gcc -c -DHAVE_CONFIG_H -I. -I. -DNEED_EXTERN_PC -fPIC -DRL_LIBRARY_VERSION='"8.1"' -DBRACKETED_PASTE_DEFAULT=1 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/generic-hardened-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection undo.c undo.c: In function ‘rl_free_undo_list’: undo.c:121:14: warning: unused variable ‘release’ [-Wunused-variable] 121 | UNDO_LIST *release, *orig_list; | ^~~~~~~ rm -f macro.o gcc -c -DHAVE_CONFIG_H -I. -I. -DNEED_EXTERN_PC -fPIC -DRL_LIBRARY_VERSION='"8.1"' -DBRACKETED_PASTE_DEFAULT=1 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/generic-hardened-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection macro.c rm -f input.o gcc -c -DHAVE_CONFIG_H -I. -I. -DNEED_EXTERN_PC -fPIC -DRL_LIBRARY_VERSION='"8.1"' -DBRACKETED_PASTE_DEFAULT=1 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/generic-hardened-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection input.c input.c: In function ‘rl_read_key’: input.c:486:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 486 | if (c = _rl_next_macro_key ()) | ^ input.c: In function ‘rl_getc’: input.c:595:1: warning: label ‘handle_error’ defined but not used [-Wunused-label] 595 | handle_error: | ^~~~~~~~~~~~ input.c:529:12: warning: unused variable ‘empty_set’ [-Wunused-variable] 529 | sigset_t empty_set; | ^~~~~~~~~ rm -f callback.o gcc -c -DHAVE_CONFIG_H -I. -I. -DNEED_EXTERN_PC -fPIC -DRL_LIBRARY_VERSION='"8.1"' -DBRACKETED_PASTE_DEFAULT=1 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/generic-hardened-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection callback.c rm -f terminal.o gcc -c -DHAVE_CONFIG_H -I. -I. -DNEED_EXTERN_PC -fPIC -DRL_LIBRARY_VERSION='"8.1"' -DBRACKETED_PASTE_DEFAULT=1 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/generic-hardened-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection terminal.c rm -f text.o gcc -c -DHAVE_CONFIG_H -I. -I. -DNEED_EXTERN_PC -fPIC -DRL_LIBRARY_VERSION='"8.1"' -DBRACKETED_PASTE_DEFAULT=1 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/generic-hardened-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection text.c text.c: In function ‘_rl_overwrite_char’: text.c:919:7: warning: variable ‘k’ set but not used [-Wunused-but-set-variable] 919 | int k; | ^ In file included from /usr/include/string.h:519, from rldefs.h:61, from text.c:45: In function ‘strncpy’, inlined from ‘rl_insert_text’ at text.c:99:3: /usr/include/bits/string_fortified.h:95:10: warning: ‘__builtin_strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] 95 | return __builtin___strncpy_chk (__dest, __src, __len, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 96 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ text.c: In function ‘rl_insert_text’: text.c:90:29: note: length computed here 90 | l = (string && *string) ? strlen (string) : 0; | ^~~~~~~~~~~~~~~ rm -f nls.o gcc -c -DHAVE_CONFIG_H -I. -I. -DNEED_EXTERN_PC -fPIC -DRL_LIBRARY_VERSION='"8.1"' -DBRACKETED_PASTE_DEFAULT=1 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/generic-hardened-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection nls.c nls.c: In function ‘utf8locale’: nls.c:106:10: warning: unused variable ‘len’ [-Wunused-variable] 106 | size_t len; | ^~~ nls.c: In function ‘_rl_init_eightbit’: nls.c:154:9: warning: unused variable ‘lspec’ [-Wunused-variable] 154 | char *lspec, *t; | ^~~~~ At top level: nls.c:244:1: warning: ‘find_codeset’ defined but not used [-Wunused-function] 244 | find_codeset (char *name, size_t *lenp) | ^~~~~~~~~~~~ rm -f misc.o gcc -c -DHAVE_CONFIG_H -I. -I. -DNEED_EXTERN_PC -fPIC -DRL_LIBRARY_VERSION='"8.1"' -DBRACKETED_PASTE_DEFAULT=1 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/generic-hardened-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection misc.c misc.c: In function ‘_rl_revert_previous_lines’: misc.c:450:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 450 | if (ul = (UNDO_LIST *)entry->data) | ^~ misc.c: In function ‘rl_clear_history’: misc.c:510:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 510 | if (ul = (UNDO_LIST *)hent->data) | ^~ rm -f history.o gcc -c -DHAVE_CONFIG_H -I. -I. -DNEED_EXTERN_PC -fPIC -DRL_LIBRARY_VERSION='"8.1"' -DBRACKETED_PASTE_DEFAULT=1 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/generic-hardened-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection history.c history.c: In function ‘add_history’: history.c:279:20: warning: unused variable ‘i’ [-Wunused-variable] 279 | register int i; | ^ history.c: In function ‘remove_history’: history.c:482:16: warning: unused variable ‘i’ [-Wunused-variable] 482 | register int i; | ^ rm -f histexpand.o gcc -c -DHAVE_CONFIG_H -I. -I. -DNEED_EXTERN_PC -fPIC -DRL_LIBRARY_VERSION='"8.1"' -DBRACKETED_PASTE_DEFAULT=1 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/generic-hardened-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection histexpand.c histexpand.c: In function ‘get_history_event’: histexpand.c:213:25: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 213 | for (local_index = i; c = string[i]; i++) | ^ histexpand.c: In function ‘history_expand_internal’: histexpand.c:682:41: warning: variable ‘ws’ set but not used [-Wunused-but-set-variable] 682 | int delimiter, failed, si, l_temp, ws, we; | ^~ rm -f histfile.o gcc -c -DHAVE_CONFIG_H -I. -I. -DNEED_EXTERN_PC -fPIC -DRL_LIBRARY_VERSION='"8.1"' -DBRACKETED_PASTE_DEFAULT=1 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/generic-hardened-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection histfile.c histfile.c: In function ‘history_backupfile’: histfile.c:195:15: warning: unused variable ‘fs’ [-Wunused-variable] 195 | struct stat fs; | ^~ histfile.c: In function ‘history_tempfile’: histfile.c:223:15: warning: unused variable ‘fs’ [-Wunused-variable] 223 | struct stat fs; | ^~ histfile.c: In function ‘history_truncate_file’: histfile.c:523:49: warning: variable ‘r’ set but not used [-Wunused-but-set-variable] 523 | int file, chars_read, rv, orig_lines, exists, r; | ^ histfile.c: In function ‘history_do_write’: histfile.c:685:22: warning: unused variable ‘nfinfo’ [-Wunused-variable] 685 | struct stat finfo, nfinfo; | ^~~~~~ At top level: histfile.c:475:1: warning: ‘histfile_backup’ defined but not used [-Wunused-function] 475 | histfile_backup (const char *filename, const char *back) | ^~~~~~~~~~~~~~~ histfile.c:189:1: warning: ‘history_backupfile’ defined but not used [-Wunused-function] 189 | history_backupfile (const char *filename) | ^~~~~~~~~~~~~~~~~~ histfile.c: In function ‘history_truncate_file’: histfile.c:648:46: warning: ‘orig_lines’ may be used uninitialized in this function [-Wmaybe-uninitialized] 648 | history_lines_written_to_file = orig_lines - lines; | ~~~~~~~~~~~^~~~~~~ rm -f histsearch.o gcc -c -DHAVE_CONFIG_H -I. -I. -DNEED_EXTERN_PC -fPIC -DRL_LIBRARY_VERSION='"8.1"' -DBRACKETED_PASTE_DEFAULT=1 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/generic-hardened-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection histsearch.c histsearch.c: In function ‘_hs_history_patsearch’: histsearch.c:212:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 212 | if (unescaped_backslash = (string[ret] == '\\')) | ^~~~~~~~~~~~~~~~~~~ rm -f shell.o gcc -c -DHAVE_CONFIG_H -I. -I. -DNEED_EXTERN_PC -fPIC -DRL_LIBRARY_VERSION='"8.1"' -DBRACKETED_PASTE_DEFAULT=1 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/generic-hardened-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection shell.c shell.c:126:13: warning: ‘putenv_buf2’ defined but not used [-Wunused-variable] 126 | static char putenv_buf2[INT_STRLEN_BOUND (int) + 8 + 1]; /* sizeof("COLUMNS=") == 8 */ | ^~~~~~~~~~~ shell.c:125:13: warning: ‘putenv_buf1’ defined but not used [-Wunused-variable] 125 | static char putenv_buf1[INT_STRLEN_BOUND (int) + 6 + 1]; /* sizeof("LINES=") == 6 */ | ^~~~~~~~~~~ rm -f mbutil.o gcc -c -DHAVE_CONFIG_H -I. -I. -DNEED_EXTERN_PC -fPIC -DRL_LIBRARY_VERSION='"8.1"' -DBRACKETED_PASTE_DEFAULT=1 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/generic-hardened-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection mbutil.c mbutil.c: In function ‘_rl_find_prev_utf8char’: mbutil.c:247:9: warning: unused variable ‘s’ [-Wunused-variable] 247 | char *s; | ^ At top level: mbutil.c:87:1: warning: ‘_rl_utf8_mblen’ defined but not used [-Wunused-function] 87 | _rl_utf8_mblen (const char *s, size_t n) | ^~~~~~~~~~~~~~ rm -f tilde.o gcc -DHAVE_CONFIG_H -I. -I. -DNEED_EXTERN_PC -fPIC -DRL_LIBRARY_VERSION='"8.1"' -DBRACKETED_PASTE_DEFAULT=1 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/generic-hardened-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -DREADLINE_LIBRARY -c ./tilde.c ./tilde.c: In function ‘tilde_expand’: ./tilde.c:195:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 195 | if (result = strchr (string, '~')) | ^~~~~~ rm -f colors.o gcc -c -DHAVE_CONFIG_H -I. -I. -DNEED_EXTERN_PC -fPIC -DRL_LIBRARY_VERSION='"8.1"' -DBRACKETED_PASTE_DEFAULT=1 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/generic-hardened-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection colors.c rm -f parse-colors.o gcc -c -DHAVE_CONFIG_H -I. -I. -DNEED_EXTERN_PC -fPIC -DRL_LIBRARY_VERSION='"8.1"' -DBRACKETED_PASTE_DEFAULT=1 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/generic-hardened-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection parse-colors.c rm -f xmalloc.o gcc -c -DHAVE_CONFIG_H -I. -I. -DNEED_EXTERN_PC -fPIC -DRL_LIBRARY_VERSION='"8.1"' -DBRACKETED_PASTE_DEFAULT=1 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/generic-hardened-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection xmalloc.c rm -f xfree.o gcc -c -DHAVE_CONFIG_H -I. -I. -DNEED_EXTERN_PC -fPIC -DRL_LIBRARY_VERSION='"8.1"' -DBRACKETED_PASTE_DEFAULT=1 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/generic-hardened-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection xfree.c rm -f compat.o gcc -c -DHAVE_CONFIG_H -I. -I. -DNEED_EXTERN_PC -fPIC -DRL_LIBRARY_VERSION='"8.1"' -DBRACKETED_PASTE_DEFAULT=1 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/generic-hardened-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection compat.c 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 history.o histexpand.o histfile.o histsearch.o shell.o mbutil.o tilde.o colors.o parse-colors.o xmalloc.o xfree.o compat.o test -n "ranlib" && ranlib libreadline.a 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 ============ Building the readline library ============ ============ Building the readline extension module ============ running build running build_py creating build creating build/lib.linux-x86_64-3.9 copying readline.py -> build/lib.linux-x86_64-3.9 running egg_info writing gnureadline.egg-info/PKG-INFO writing dependency_links to gnureadline.egg-info/dependency_links.txt writing top-level names to gnureadline.egg-info/top_level.txt reading manifest file 'gnureadline.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' adding license file 'LICENSE' writing manifest file 'gnureadline.egg-info/SOURCES.txt' running build_ext building 'gnureadline' extension creating build/temp.linux-x86_64-3.9 creating build/temp.linux-x86_64-3.9/Modules creating build/temp.linux-x86_64-3.9/Modules/3.x gcc -Wno-unused-result -Wsign-compare -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -D_GNU_SOURCE -fPIC -fwrapv -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -D_GNU_SOURCE -fPIC -fwrapv -fstack-protector-strong -D_FORTIFY_SOURCE=2 -O2 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/generic-hardened-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -DHAVE_RL_APPEND_HISTORY -DHAVE_RL_CALLBACK -DHAVE_RL_CATCH_SIGNAL -DHAVE_RL_COMPLETION_APPEND_CHARACTER -DHAVE_RL_COMPLETION_DISPLAY_MATCHES_HOOK -DHAVE_RL_COMPLETION_MATCHES -DHAVE_RL_COMPLETION_SUPPRESS_APPEND -DHAVE_RL_PRE_INPUT_HOOK -DHAVE_RL_RESIZE_TERMINAL -I. -IModules/3.x -I/usr/include/python3.9 -c Modules/3.x/readline.c -o build/temp.linux-x86_64-3.9/Modules/3.x/readline.o gcc -shared -g -g -Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/generic-hardened-ld -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/generic-hardened-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection build/temp.linux-x86_64-3.9/Modules/3.x/readline.o readline/libreadline.a readline/libhistory.a -L/usr/lib64 -lncurses -o build/lib.linux-x86_64-3.9/gnureadline.cpython-39-x86_64-linux-gnu.so /usr/bin/ld: cannot find -lncurses collect2: error: ld returned 1 exit status error: command '/usr/bin/gcc' failed with exit code 1 error: Bad exit status from /var/tmp/rpm-tmp.DWIuLi (%build) Bad exit status from /var/tmp/rpm-tmp.DWIuLi (%build) RPM build errors: Child return code was: 1 EXCEPTION: [Error('Command failed: \n # bash --login -c /usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/python-gnureadline.spec\n', 1)] Traceback (most recent call last): File "/usr/lib/python3.11/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) ^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/site-packages/mockbuild/util.py", line 598, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode) mockbuild.exception.Error: Command failed: # bash --login -c /usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/python-gnureadline.spec