Mock Version: 3.5 Mock Version: 3.5 Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target loongarch64 --nodeps /builddir/build/SPECS/readline.spec'], chrootPath='/home/lib/mock/dist-ocs23-loongarch64-build-222227-16804/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=86400uid=981gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target loongarch64 --nodeps /builddir/build/SPECS/readline.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 Building target platforms: loongarch64 Building for target loongarch64 Wrote: /builddir/build/SRPMS/readline-8.2-2.ocs23.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target loongarch64 --nodeps /builddir/build/SPECS/readline.spec'], chrootPath='/home/lib/mock/dist-ocs23-loongarch64-build-222227-16804/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=86400uid=981gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target loongarch64 --nodeps /builddir/build/SPECS/readline.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 Building target platforms: loongarch64 Building for target loongarch64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.9tn4Rp + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf readline-8.2 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/readline-8.2.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd readline-8.2 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/readline-8.2-patch-1.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/readline-8.0-shlib.patch + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.1Vvi1P + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd readline-8.2 + '[' '-flto=auto -ffat-lto-objectsx' '!=' x ']' ++ find . -type f -name configure -print + for file in $(find . -type f -name configure -print) + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\) = /__attribute__ ((used)) char (*f) () = /g' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\);/__attribute__ ((used)) char (*f) ();/g' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed -r --in-place=.backup 's/^char \$2 \(\);/__attribute__ ((used)) char \$2 ();/g' ./configure + diff -u ./configure.backup ./configure --- ./configure.backup 2022-09-01 22:49:28.000000000 +0800 +++ ./configure 2024-07-27 07:15:10.190883909 +0800 @@ -1745,7 +1745,7 @@ #ifdef __cplusplus extern "C" #endif -char $2 (); +__attribute__ ((used)) char $2 (); /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ + /usr/bin/sed --in-place=.backup '1{$!N;$!N};$!N;s/int x = 1;\nint y = 0;\nint z;\nint nan;/volatile int x = 1; volatile int y = 0; volatile int z, nan;/;P;D' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed --in-place=.backup 's#^lt_cv_sys_global_symbol_to_cdecl=.*#lt_cv_sys_global_symbol_to_cdecl="sed -n -e '\''s/^T .* \\(.*\\)$/extern int \\1();/p'\'' -e '\''s/^$symcode* .* \\(.*\\)$/extern char \\1;/p'\''"#' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + for file in $(find . -type f -name configure -print) + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\) = /__attribute__ ((used)) char (*f) () = /g' ./examples/rlfe/configure + diff -u ./examples/rlfe/configure.backup ./examples/rlfe/configure + mv ./examples/rlfe/configure.backup ./examples/rlfe/configure + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\);/__attribute__ ((used)) char (*f) ();/g' ./examples/rlfe/configure + diff -u ./examples/rlfe/configure.backup ./examples/rlfe/configure + mv ./examples/rlfe/configure.backup ./examples/rlfe/configure + /usr/bin/sed -r --in-place=.backup 's/^char \$2 \(\);/__attribute__ ((used)) char \$2 ();/g' ./examples/rlfe/configure + diff -u ./examples/rlfe/configure.backup ./examples/rlfe/configure --- ./examples/rlfe/configure.backup 2011-10-02 01:52:41.000000000 +0800 +++ ./examples/rlfe/configure 2024-07-27 07:15:10.446888430 +0800 @@ -1568,7 +1568,7 @@ #ifdef __cplusplus extern "C" #endif -char $2 (); +__attribute__ ((used)) char $2 (); /* The GNU C library defines this for functions which it implements to always fail with ENOSYS. Some functions are actually named something starting with __ and the normal name is an alias. */ + /usr/bin/sed --in-place=.backup '1{$!N;$!N};$!N;s/int x = 1;\nint y = 0;\nint z;\nint nan;/volatile int x = 1; volatile int y = 0; volatile int z, nan;/;P;D' ./examples/rlfe/configure + diff -u ./examples/rlfe/configure.backup ./examples/rlfe/configure + mv ./examples/rlfe/configure.backup ./examples/rlfe/configure + /usr/bin/sed --in-place=.backup 's#^lt_cv_sys_global_symbol_to_cdecl=.*#lt_cv_sys_global_symbol_to_cdecl="sed -n -e '\''s/^T .* \\(.*\\)$/extern int \\1();/p'\'' -e '\''s/^$symcode* .* \\(.*\\)$/extern char \\1;/p'\''"#' ./examples/rlfe/configure + diff -u ./examples/rlfe/configure.backup ./examples/rlfe/configure + mv ./examples/rlfe/configure.backup ./examples/rlfe/configure + '[' 1 = 1 ']' +++ dirname ./configure ++ find . -name config.guess -o -name config.sub + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./support/config.sub + '[' -f /usr/lib/rpm/OpenCloudOS/config.sub ']' + /usr/bin/rm -f ./support/config.sub ++ basename ./support/config.sub + /usr/bin/cp -fv /usr/lib/rpm/OpenCloudOS/config.sub ./support/config.sub '/usr/lib/rpm/OpenCloudOS/config.sub' -> './support/config.sub' + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./support/config.guess + '[' -f /usr/lib/rpm/OpenCloudOS/config.guess ']' + /usr/bin/rm -f ./support/config.guess ++ basename ./support/config.guess + /usr/bin/cp -fv /usr/lib/rpm/OpenCloudOS/config.guess ./support/config.guess '/usr/lib/rpm/OpenCloudOS/config.guess' -> './support/config.guess' + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld' ']' ++ find . -name ltmain.sh + ./configure --build=loongarch64-opencloudos-linux-gnu --host=loongarch64-opencloudos-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 --with-curses --disable-install-examples configure: WARNING: unrecognized options: --disable-dependency-tracking checking build system type... loongarch64-opencloudos-linux-gnu checking host system type... loongarch64-opencloudos-linux-gnu Beginning configuration for readline-8.2 for loongarch64-opencloudos-linux-gnu checking whether make sets $(MAKE)... yes checking for loongarch64-opencloudos-linux-gnu-gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether the compiler supports GNU C... yes checking whether gcc accepts -g... yes checking for gcc option to enable C11 features... none needed checking for stdio.h... yes checking for stdlib.h... yes checking for string.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for strings.h... yes checking for sys/stat.h... yes checking for sys/types.h... yes checking for unistd.h... yes checking for wchar.h... yes checking for minix/config.h... no checking whether it is safe to define __EXTENSIONS__... yes checking whether _XOPEN_SOURCE should be defined... no checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking whether gcc needs -traditional... no checking for a BSD-compatible install... /usr/bin/install -c checking for loongarch64-opencloudos-linux-gnu-ar... no checking for ar... ar checking for loongarch64-opencloudos-linux-gnu-ranlib... no checking for ranlib... ranlib checking for an ANSI C-conforming const... yes checking for inline... inline checking whether char is unsigned... no checking for working volatile... yes checking for size_t... yes checking for ssize_t... 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 gettimeofday... yes checking for kill... yes checking for lstat... yes checking for pselect... yes checking for readlink... yes checking for select... yes checking for setitimer... yes checking for fnmatch... yes checking for memmove... yes checking for putenv... yes checking for setenv... yes checking for setlocale... yes checking for strcasecmp... yes checking for strpbrk... yes checking for sysconf... 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 working chown... yes checking for working strcoll... yes checking for fcntl.h... yes checking for unistd.h... (cached) yes checking for stdlib.h... (cached) yes checking for varargs.h... no checking for stdarg.h... yes checking for stdbool.h... yes checking for string.h... (cached) yes checking for strings.h... (cached) yes checking for limits.h... yes checking for locale.h... yes checking for pwd.h... yes checking for memory.h... yes checking for termcap.h... yes checking for termios.h... yes checking for termio.h... yes checking for sys/ioctl.h... yes checking for sys/pte.h... no checking for sys/stream.h... no checking for sys/select.h... yes checking for sys/time.h... 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 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 inttypes.h... (cached) yes checking for sig_atomic_t in signal.h... 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... checking for struct dirent.d_ino... yes yes checking for struct dirent.d_fileno... checking for struct dirent.d_fileno... yes yes checking for struct timeval in sys/time.h and time.h... yes checking for libaudit.h... no checking for gcc options needed to detect all undeclared functions... none needed checking whether AUDIT_USER_TTY is declared... yes checking for tgetent... no checking for tgetent in -ltermcap... yes checking which library has the termcap functions... using libtermcap checking for ncurses/termcap.h... yes checking for nl_langinfo and CODESET... yes checking for wctype.h... yes checking for wchar.h... (cached) yes checking for langinfo.h... yes 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 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 history.pc config.status: creating config.h config.status: executing stamp-h commands configure: WARNING: unrecognized options: --disable-dependency-tracking + /usr/bin/make -O -j32 V=1 VERBOSE=1 rm -f funmap.o gcc -c -DHAVE_CONFIG_H -I. -I. -DRL_LIBRARY_VERSION='"8.2"' -DBRACKETED_PASTE_DEFAULT=1 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection funmap.c rm -f parens.o gcc -c -DHAVE_CONFIG_H -I. -I. -DRL_LIBRARY_VERSION='"8.2"' -DBRACKETED_PASTE_DEFAULT=1 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -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 undo.o gcc -c -DHAVE_CONFIG_H -I. -I. -DRL_LIBRARY_VERSION='"8.2"' -DBRACKETED_PASTE_DEFAULT=1 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection undo.c undo.c: In function 'rl_free_undo_list': undo.c:119:14: warning: unused variable 'release' [-Wunused-variable] 119 | UNDO_LIST *release, *orig_list; | ^~~~~~~ rm -f keymaps.o gcc -c -DHAVE_CONFIG_H -I. -I. -DRL_LIBRARY_VERSION='"8.2"' -DBRACKETED_PASTE_DEFAULT=1 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection keymaps.c test -d shlib || mkdir shlib ( cd shlib ; /usr/bin/make -j32 -Otarget --jobserver-auth=fifo:/tmp/GMfifo1931037 --sync-mutex=fnm:/tmp/Gm48F0ur all ) make[1]: Entering directory '/builddir/build/BUILD/readline-8.2/shlib' make[1]: Leaving directory '/builddir/build/BUILD/readline-8.2/shlib' make[1]: warning: -j32 forced in submake: resetting jobserver mode. rm -f search.o gcc -c -DHAVE_CONFIG_H -I. -I. -DRL_LIBRARY_VERSION='"8.2"' -DBRACKETED_PASTE_DEFAULT=1 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection search.c search.c: In function 'rl_history_search_internal': search.c:534:9: warning: unused variable 't' [-Wunused-variable] 534 | char *t; | ^ search.c:533:7: warning: variable 'had_saved_line' set but not used [-Wunused-but-set-variable] 533 | int had_saved_line; | ^~~~~~~~~~~~~~ rm -f xfree.o gcc -c -DHAVE_CONFIG_H -I. -I. -DRL_LIBRARY_VERSION='"8.2"' -DBRACKETED_PASTE_DEFAULT=1 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection xfree.c rm -f callback.o gcc -c -DHAVE_CONFIG_H -I. -I. -DRL_LIBRARY_VERSION='"8.2"' -DBRACKETED_PASTE_DEFAULT=1 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection callback.c rm -f shell.o gcc -c -DHAVE_CONFIG_H -I. -I. -DRL_LIBRARY_VERSION='"8.2"' -DBRACKETED_PASTE_DEFAULT=1 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -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 nls.o gcc -c -DHAVE_CONFIG_H -I. -I. -DRL_LIBRARY_VERSION='"8.2"' -DBRACKETED_PASTE_DEFAULT=1 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection nls.c nls.c: In function 'utf8locale': nls.c:110:10: warning: unused variable 'len' [-Wunused-variable] 110 | size_t len; | ^~~ nls.c: At top level: nls.c:286:1: warning: 'find_codeset' defined but not used [-Wunused-function] 286 | find_codeset (char *name, size_t *lenp) | ^~~~~~~~~~~~ rm -f xmalloc.o gcc -c -DHAVE_CONFIG_H -I. -I. -DRL_LIBRARY_VERSION='"8.2"' -DBRACKETED_PASTE_DEFAULT=1 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection xmalloc.c rm -f tilde.o gcc -DHAVE_CONFIG_H -I. -I. -DRL_LIBRARY_VERSION='"8.2"' -DBRACKETED_PASTE_DEFAULT=1 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -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 rltty.o gcc -c -DHAVE_CONFIG_H -I. -I. -DRL_LIBRARY_VERSION='"8.2"' -DBRACKETED_PASTE_DEFAULT=1 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection rltty.c rm -f colors.o gcc -c -DHAVE_CONFIG_H -I. -I. -DRL_LIBRARY_VERSION='"8.2"' -DBRACKETED_PASTE_DEFAULT=1 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection colors.c rm -f compat.o gcc -c -DHAVE_CONFIG_H -I. -I. -DRL_LIBRARY_VERSION='"8.2"' -DBRACKETED_PASTE_DEFAULT=1 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection compat.c rm -f histsearch.o gcc -c -DHAVE_CONFIG_H -I. -I. -DRL_LIBRARY_VERSION='"8.2"' -DBRACKETED_PASTE_DEFAULT=1 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -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] == '\\')) | ^~~~~~~~~~~~~~~~~~~ make[1]: Entering directory '/builddir/build/BUILD/readline-8.2/shlib' rm -f funmap.so gcc -c -DHAVE_CONFIG_H -I. -I.. -I.. -DRL_LIBRARY_VERSION='"8.2"' -DBRACKETED_PASTE_DEFAULT=1 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -o funmap.o ../funmap.c mv funmap.o funmap.so make[1]: Leaving directory '/builddir/build/BUILD/readline-8.2/shlib' rm -f signals.o gcc -c -DHAVE_CONFIG_H -I. -I. -DRL_LIBRARY_VERSION='"8.2"' -DBRACKETED_PASTE_DEFAULT=1 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection signals.c signals.c: In function 'rl_set_signals': signals.c:414:25: warning: unused variable 'oset' [-Wunused-variable] 414 | static sigset_t bset, oset; | ^~~~ signals.c: At top level: signals.c:625:29: warning: 'sigint_oset' defined but not used [-Wunused-variable] 625 | static sigset_t sigint_set, sigint_oset; | ^~~~~~~~~~~ signals.c:625:17: warning: 'sigint_set' defined but not used [-Wunused-variable] 625 | static sigset_t sigint_set, sigint_oset; | ^~~~~~~~~~ rm -f parse-colors.o gcc -c -DHAVE_CONFIG_H -I. -I. -DRL_LIBRARY_VERSION='"8.2"' -DBRACKETED_PASTE_DEFAULT=1 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection parse-colors.c rm -f readline.o gcc -c -DHAVE_CONFIG_H -I. -I. -DRL_LIBRARY_VERSION='"8.2"' -DBRACKETED_PASTE_DEFAULT=1 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection readline.c readline.c: In function 'readline_internal_char': readline.c:568:20: warning: variable 'r' set but not used [-Wunused-but-set-variable] 568 | int c, code, lk, r; | ^ readline.c:567:21: warning: unused variable 'eof_found' [-Wunused-variable] 567 | static int lastc, eof_found; | ^~~~~~~~~ readline.c: At top level: readline.c:1343:1: warning: 'reset_default_bindings' defined but not used [-Wunused-function] 1343 | reset_default_bindings (void) | ^~~~~~~~~~~~~~~~~~~~~~ In file included from readline.c:76: parse-colors.h:44:14: warning: 'color_buf' defined but not used [-Wunused-variable] 44 | static char *color_buf; | ^~~~~~~~~ rm -f macro.o gcc -c -DHAVE_CONFIG_H -I. -I. -DRL_LIBRARY_VERSION='"8.2"' -DBRACKETED_PASTE_DEFAULT=1 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection macro.c rm -f mbutil.o gcc -c -DHAVE_CONFIG_H -I. -I. -DRL_LIBRARY_VERSION='"8.2"' -DBRACKETED_PASTE_DEFAULT=1 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -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; | ^ mbutil.c: 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 util.o gcc -c -DHAVE_CONFIG_H -I. -I. -DRL_LIBRARY_VERSION='"8.2"' -DBRACKETED_PASTE_DEFAULT=1 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection util.c make[1]: Entering directory '/builddir/build/BUILD/readline-8.2/shlib' rm -f keymaps.so gcc -c -DHAVE_CONFIG_H -I. -I.. -I.. -DRL_LIBRARY_VERSION='"8.2"' -DBRACKETED_PASTE_DEFAULT=1 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -o keymaps.o ../keymaps.c mv keymaps.o keymaps.so make[1]: Leaving directory '/builddir/build/BUILD/readline-8.2/shlib' make[1]: Entering directory '/builddir/build/BUILD/readline-8.2/shlib' rm -f parens.so gcc -c -DHAVE_CONFIG_H -I. -I.. -I.. -DRL_LIBRARY_VERSION='"8.2"' -DBRACKETED_PASTE_DEFAULT=1 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -o parens.o ../parens.c mv parens.o parens.so make[1]: Leaving directory '/builddir/build/BUILD/readline-8.2/shlib' ../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 isearch.o gcc -c -DHAVE_CONFIG_H -I. -I. -DRL_LIBRARY_VERSION='"8.2"' -DBRACKETED_PASTE_DEFAULT=1 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection isearch.c isearch.c: In function '_rl_isearch_dispatch': isearch.c:343:37: warning: unused variable 'incr' [-Wunused-variable] 343 | int n, wstart, wlen, limit, cval, incr; | ^~~~ isearch.c: In function 'rl_search_history': isearch.c:848:7: warning: variable 'c' set but not used [-Wunused-but-set-variable] 848 | int c, r; | ^ isearch.c: In function '_rl_isearch_callback': isearch.c:885:7: warning: variable 'c' set but not used [-Wunused-but-set-variable] 885 | int c, r; | ^ make[1]: Entering directory '/builddir/build/BUILD/readline-8.2/shlib' rm -f xfree.so gcc -c -DHAVE_CONFIG_H -I. -I.. -I.. -DRL_LIBRARY_VERSION='"8.2"' -DBRACKETED_PASTE_DEFAULT=1 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -o xfree.o ../xfree.c mv xfree.o xfree.so make[1]: Leaving directory '/builddir/build/BUILD/readline-8.2/shlib' rm -f history.o gcc -c -DHAVE_CONFIG_H -I. -I. -DRL_LIBRARY_VERSION='"8.2"' -DBRACKETED_PASTE_DEFAULT=1 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection history.c history.c: In function 'add_history': history.c:286:20: warning: unused variable 'i' [-Wunused-variable] 286 | register int i; | ^ history.c: In function 'remove_history': history.c:489:16: warning: unused variable 'i' [-Wunused-variable] 489 | register int i; | ^ make[1]: Entering directory '/builddir/build/BUILD/readline-8.2/shlib' rm -f xmalloc.so gcc -c -DHAVE_CONFIG_H -I. -I.. -I.. -DRL_LIBRARY_VERSION='"8.2"' -DBRACKETED_PASTE_DEFAULT=1 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -o xmalloc.o ../xmalloc.c mv xmalloc.o xmalloc.so make[1]: Leaving directory '/builddir/build/BUILD/readline-8.2/shlib' rm -f terminal.o gcc -c -DHAVE_CONFIG_H -I. -I. -DRL_LIBRARY_VERSION='"8.2"' -DBRACKETED_PASTE_DEFAULT=1 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection terminal.c make[1]: Entering directory '/builddir/build/BUILD/readline-8.2/shlib' rm -f compat.so gcc -c -DHAVE_CONFIG_H -I. -I.. -I.. -DRL_LIBRARY_VERSION='"8.2"' -DBRACKETED_PASTE_DEFAULT=1 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -o compat.o ../compat.c mv compat.o compat.so make[1]: Leaving directory '/builddir/build/BUILD/readline-8.2/shlib' rm -f histfile.o gcc -c -DHAVE_CONFIG_H -I. -I. -DRL_LIBRARY_VERSION='"8.2"' -DBRACKETED_PASTE_DEFAULT=1 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection histfile.c histfile.c: In function 'history_backupfile': histfile.c:193:15: warning: unused variable 'fs' [-Wunused-variable] 193 | struct stat fs; | ^~ histfile.c: In function 'history_tempfile': histfile.c:221:15: warning: unused variable 'fs' [-Wunused-variable] 221 | struct stat fs; | ^~ histfile.c: In function 'history_truncate_file': histfile.c:521:49: warning: variable 'r' set but not used [-Wunused-but-set-variable] 521 | int file, chars_read, rv, orig_lines, exists, r; | ^ histfile.c: In function 'history_do_write': histfile.c:683:22: warning: unused variable 'nfinfo' [-Wunused-variable] 683 | struct stat finfo, nfinfo; | ^~~~~~ histfile.c: At top level: histfile.c:473:1: warning: 'histfile_backup' defined but not used [-Wunused-function] 473 | histfile_backup (const char *filename, const char *back) | ^~~~~~~~~~~~~~~ histfile.c:187:1: warning: 'history_backupfile' defined but not used [-Wunused-function] 187 | history_backupfile (const char *filename) | ^~~~~~~~~~~~~~~~~~ histfile.c: In function 'history_truncate_file': histfile.c:646:46: warning: 'orig_lines' may be used uninitialized [-Wmaybe-uninitialized] 646 | history_lines_written_to_file = orig_lines - lines; | ~~~~~~~~~~~^~~~~~~ histfile.c:521:29: note: 'orig_lines' was declared here 521 | int file, chars_read, rv, orig_lines, exists, r; | ^~~~~~~~~~ make[1]: Entering directory '/builddir/build/BUILD/readline-8.2/shlib' rm -f util.so gcc -c -DHAVE_CONFIG_H -I. -I.. -I.. -DRL_LIBRARY_VERSION='"8.2"' -DBRACKETED_PASTE_DEFAULT=1 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -o util.o ../util.c mv util.o util.so make[1]: Leaving directory '/builddir/build/BUILD/readline-8.2/shlib' make[1]: Entering directory '/builddir/build/BUILD/readline-8.2/shlib' rm -f macro.so gcc -c -DHAVE_CONFIG_H -I. -I.. -I.. -DRL_LIBRARY_VERSION='"8.2"' -DBRACKETED_PASTE_DEFAULT=1 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -o macro.o ../macro.c mv macro.o macro.so make[1]: Leaving directory '/builddir/build/BUILD/readline-8.2/shlib' make[1]: Entering directory '/builddir/build/BUILD/readline-8.2/shlib' rm -f nls.so gcc -c -DHAVE_CONFIG_H -I. -I.. -I.. -DRL_LIBRARY_VERSION='"8.2"' -DBRACKETED_PASTE_DEFAULT=1 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -o nls.o ../nls.c mv nls.o nls.so make[1]: Leaving directory '/builddir/build/BUILD/readline-8.2/shlib' ../nls.c: In function 'utf8locale': ../nls.c:110:10: warning: unused variable 'len' [-Wunused-variable] 110 | size_t len; | ^~~ ../nls.c: At top level: ../nls.c:286:1: warning: 'find_codeset' defined but not used [-Wunused-function] 286 | find_codeset (char *name, size_t *lenp) | ^~~~~~~~~~~~ make[1]: Entering directory '/builddir/build/BUILD/readline-8.2/shlib' rm -f rltty.so gcc -c -DHAVE_CONFIG_H -I. -I.. -I.. -DRL_LIBRARY_VERSION='"8.2"' -DBRACKETED_PASTE_DEFAULT=1 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -o rltty.o ../rltty.c mv rltty.o rltty.so make[1]: Leaving directory '/builddir/build/BUILD/readline-8.2/shlib' make[1]: Entering directory '/builddir/build/BUILD/readline-8.2/shlib' rm -f callback.so gcc -c -DHAVE_CONFIG_H -I. -I.. -I.. -DRL_LIBRARY_VERSION='"8.2"' -DBRACKETED_PASTE_DEFAULT=1 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -o callback.o ../callback.c mv callback.o callback.so make[1]: Leaving directory '/builddir/build/BUILD/readline-8.2/shlib' make[1]: Entering directory '/builddir/build/BUILD/readline-8.2/shlib' rm -f shell.so gcc -c -DHAVE_CONFIG_H -I. -I.. -I.. -DRL_LIBRARY_VERSION='"8.2"' -DBRACKETED_PASTE_DEFAULT=1 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -o shell.o ../shell.c mv shell.o shell.so make[1]: Leaving directory '/builddir/build/BUILD/readline-8.2/shlib' ../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 */ | ^~~~~~~~~~~ make[1]: Entering directory '/builddir/build/BUILD/readline-8.2/shlib' rm -f tilde.so gcc -c -DHAVE_CONFIG_H -I. -I.. -I.. -DRL_LIBRARY_VERSION='"8.2"' -DBRACKETED_PASTE_DEFAULT=1 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -DREADLINE_LIBRARY -c -o tilde.o ../tilde.c mv tilde.o tilde.so make[1]: Leaving directory '/builddir/build/BUILD/readline-8.2/shlib' ../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, '~')) | ^~~~~~ make[1]: Entering directory '/builddir/build/BUILD/readline-8.2/shlib' rm -f colors.so gcc -c -DHAVE_CONFIG_H -I. -I.. -I.. -DRL_LIBRARY_VERSION='"8.2"' -DBRACKETED_PASTE_DEFAULT=1 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -o colors.o ../colors.c mv colors.o colors.so make[1]: Leaving directory '/builddir/build/BUILD/readline-8.2/shlib' make[1]: Entering directory '/builddir/build/BUILD/readline-8.2/shlib' rm -f undo.so gcc -c -DHAVE_CONFIG_H -I. -I.. -I.. -DRL_LIBRARY_VERSION='"8.2"' -DBRACKETED_PASTE_DEFAULT=1 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -o undo.o ../undo.c mv undo.o undo.so make[1]: Leaving directory '/builddir/build/BUILD/readline-8.2/shlib' ../undo.c: In function 'rl_free_undo_list': ../undo.c:119:14: warning: unused variable 'release' [-Wunused-variable] 119 | UNDO_LIST *release, *orig_list; | ^~~~~~~ make[1]: Entering directory '/builddir/build/BUILD/readline-8.2/shlib' rm -f parse-colors.so gcc -c -DHAVE_CONFIG_H -I. -I.. -I.. -DRL_LIBRARY_VERSION='"8.2"' -DBRACKETED_PASTE_DEFAULT=1 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -o parse-colors.o ../parse-colors.c mv parse-colors.o parse-colors.so make[1]: Leaving directory '/builddir/build/BUILD/readline-8.2/shlib' rm -f input.o gcc -c -DHAVE_CONFIG_H -I. -I. -DRL_LIBRARY_VERSION='"8.2"' -DBRACKETED_PASTE_DEFAULT=1 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection input.c input.c: In function 'rl_read_key': input.c:764:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 764 | if (c = _rl_next_macro_key ()) | ^ input.c: In function 'rl_getc': input.c:880:1: warning: label 'handle_error' defined but not used [-Wunused-label] 880 | handle_error: | ^~~~~~~~~~~~ input.c:809:12: warning: unused variable 'empty_set' [-Wunused-variable] 809 | sigset_t empty_set; | ^~~~~~~~~ make[1]: Entering directory '/builddir/build/BUILD/readline-8.2/shlib' rm -f histsearch.so gcc -c -DHAVE_CONFIG_H -I. -I.. -I.. -DRL_LIBRARY_VERSION='"8.2"' -DBRACKETED_PASTE_DEFAULT=1 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -o histsearch.o ../histsearch.c mv histsearch.o histsearch.so make[1]: Leaving directory '/builddir/build/BUILD/readline-8.2/shlib' ../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 kill.o gcc -c -DHAVE_CONFIG_H -I. -I. -DRL_LIBRARY_VERSION='"8.2"' -DBRACKETED_PASTE_DEFAULT=1 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection kill.c kill.c: In function 'rl_vi_yank_pop': kill.c:562:13: warning: unused variable 'origpoint' [-Wunused-variable] 562 | int l, n, origpoint; | ^~~~~~~~~ kill.c: In function 'rl_bracketed_paste_begin': kill.c:760:15: warning: unused variable 'cap' [-Wunused-variable] 760 | size_t len, cap; | ^~~ kill.c:759:15: warning: unused variable 'c' [-Wunused-variable] 759 | int retval, c; | ^ kill.c: In function '_rl_read_bracketed_paste_prefix': kill.c:777:17: warning: unused variable 'j' [-Wunused-variable] 777 | int key, ind, j; | ^ kill.c: In function '_rl_bracketed_read_mbstring': kill.c:849:10: warning: unused variable 'r' [-Wunused-variable] 849 | int c, r; | ^ kill.c: In function '_rl_read_bracketed_paste_prefix': kill.c:800:29: warning: 'key' may be used uninitialized [-Wmaybe-uninitialized] 800 | return (key < 0 ? key : 0); | ~~~~~~~~~~~~~~~^~~~ kill.c:777:7: note: 'key' was declared here 777 | int key, ind, j; | ^~~ rm -f misc.o gcc -c -DHAVE_CONFIG_H -I. -I. -DRL_LIBRARY_VERSION='"8.2"' -DBRACKETED_PASTE_DEFAULT=1 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection misc.c misc.c: In function '_rl_free_saved_history_line': misc.c:385:14: warning: unused variable 'orig' [-Wunused-variable] 385 | UNDO_LIST *orig; | ^~~~ misc.c: In function '_rl_revert_previous_lines': misc.c:460:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 460 | if (ul = (UNDO_LIST *)entry->data) | ^~ misc.c: In function 'rl_clear_history': misc.c:520:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 520 | if (ul = (UNDO_LIST *)hent->data) | ^~ make[1]: Entering directory '/builddir/build/BUILD/readline-8.2/shlib' rm -f signals.so gcc -c -DHAVE_CONFIG_H -I. -I.. -I.. -DRL_LIBRARY_VERSION='"8.2"' -DBRACKETED_PASTE_DEFAULT=1 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -o signals.o ../signals.c mv signals.o signals.so make[1]: Leaving directory '/builddir/build/BUILD/readline-8.2/shlib' ../signals.c: In function 'rl_set_signals': ../signals.c:414:25: warning: unused variable 'oset' [-Wunused-variable] 414 | static sigset_t bset, oset; | ^~~~ ../signals.c: At top level: ../signals.c:625:29: warning: 'sigint_oset' defined but not used [-Wunused-variable] 625 | static sigset_t sigint_set, sigint_oset; | ^~~~~~~~~~~ ../signals.c:625:17: warning: 'sigint_set' defined but not used [-Wunused-variable] 625 | static sigset_t sigint_set, sigint_oset; | ^~~~~~~~~~ make[1]: Entering directory '/builddir/build/BUILD/readline-8.2/shlib' rm -f mbutil.so gcc -c -DHAVE_CONFIG_H -I. -I.. -I.. -DRL_LIBRARY_VERSION='"8.2"' -DBRACKETED_PASTE_DEFAULT=1 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -o mbutil.o ../mbutil.c mv mbutil.o mbutil.so make[1]: Leaving directory '/builddir/build/BUILD/readline-8.2/shlib' ../mbutil.c: In function '_rl_find_prev_utf8char': ../mbutil.c:247:9: warning: unused variable 's' [-Wunused-variable] 247 | char *s; | ^ ../mbutil.c: 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) | ^~~~~~~~~~~~~~ make[1]: Entering directory '/builddir/build/BUILD/readline-8.2/shlib' rm -f search.so gcc -c -DHAVE_CONFIG_H -I. -I.. -I.. -DRL_LIBRARY_VERSION='"8.2"' -DBRACKETED_PASTE_DEFAULT=1 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -o search.o ../search.c mv search.o search.so make[1]: Leaving directory '/builddir/build/BUILD/readline-8.2/shlib' ../search.c: In function 'rl_history_search_internal': ../search.c:534:9: warning: unused variable 't' [-Wunused-variable] 534 | char *t; | ^ ../search.c:533:7: warning: variable 'had_saved_line' set but not used [-Wunused-but-set-variable] 533 | int had_saved_line; | ^~~~~~~~~~~~~~ make[1]: Entering directory '/builddir/build/BUILD/readline-8.2/shlib' rm -f terminal.so gcc -c -DHAVE_CONFIG_H -I. -I.. -I.. -DRL_LIBRARY_VERSION='"8.2"' -DBRACKETED_PASTE_DEFAULT=1 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -o terminal.o ../terminal.c mv terminal.o terminal.so make[1]: Leaving directory '/builddir/build/BUILD/readline-8.2/shlib' make[1]: Entering directory '/builddir/build/BUILD/readline-8.2/shlib' rm -f misc.so gcc -c -DHAVE_CONFIG_H -I. -I.. -I.. -DRL_LIBRARY_VERSION='"8.2"' -DBRACKETED_PASTE_DEFAULT=1 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -o misc.o ../misc.c mv misc.o misc.so make[1]: Leaving directory '/builddir/build/BUILD/readline-8.2/shlib' ../misc.c: In function '_rl_free_saved_history_line': ../misc.c:385:14: warning: unused variable 'orig' [-Wunused-variable] 385 | UNDO_LIST *orig; | ^~~~ ../misc.c: In function '_rl_revert_previous_lines': ../misc.c:460:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 460 | if (ul = (UNDO_LIST *)entry->data) | ^~ ../misc.c: In function 'rl_clear_history': ../misc.c:520:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 520 | if (ul = (UNDO_LIST *)hent->data) | ^~ make[1]: Entering directory '/builddir/build/BUILD/readline-8.2/shlib' rm -f isearch.so gcc -c -DHAVE_CONFIG_H -I. -I.. -I.. -DRL_LIBRARY_VERSION='"8.2"' -DBRACKETED_PASTE_DEFAULT=1 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -o isearch.o ../isearch.c mv isearch.o isearch.so make[1]: Leaving directory '/builddir/build/BUILD/readline-8.2/shlib' ../isearch.c: In function '_rl_isearch_dispatch': ../isearch.c:343:37: warning: unused variable 'incr' [-Wunused-variable] 343 | int n, wstart, wlen, limit, cval, incr; | ^~~~ ../isearch.c: In function 'rl_search_history': ../isearch.c:848:7: warning: variable 'c' set but not used [-Wunused-but-set-variable] 848 | int c, r; | ^ ../isearch.c: In function '_rl_isearch_callback': ../isearch.c:885:7: warning: variable 'c' set but not used [-Wunused-but-set-variable] 885 | int c, r; | ^ make[1]: Entering directory '/builddir/build/BUILD/readline-8.2/shlib' rm -f input.so gcc -c -DHAVE_CONFIG_H -I. -I.. -I.. -DRL_LIBRARY_VERSION='"8.2"' -DBRACKETED_PASTE_DEFAULT=1 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -o input.o ../input.c mv input.o input.so make[1]: Leaving directory '/builddir/build/BUILD/readline-8.2/shlib' ../input.c: In function 'rl_read_key': ../input.c:764:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 764 | if (c = _rl_next_macro_key ()) | ^ ../input.c: In function 'rl_getc': ../input.c:880:1: warning: label 'handle_error' defined but not used [-Wunused-label] 880 | handle_error: | ^~~~~~~~~~~~ ../input.c:809:12: warning: unused variable 'empty_set' [-Wunused-variable] 809 | sigset_t empty_set; | ^~~~~~~~~ make[1]: Entering directory '/builddir/build/BUILD/readline-8.2/shlib' rm -f kill.so gcc -c -DHAVE_CONFIG_H -I. -I.. -I.. -DRL_LIBRARY_VERSION='"8.2"' -DBRACKETED_PASTE_DEFAULT=1 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -o kill.o ../kill.c mv kill.o kill.so make[1]: Leaving directory '/builddir/build/BUILD/readline-8.2/shlib' ../kill.c: In function 'rl_vi_yank_pop': ../kill.c:562:13: warning: unused variable 'origpoint' [-Wunused-variable] 562 | int l, n, origpoint; | ^~~~~~~~~ ../kill.c: In function 'rl_bracketed_paste_begin': ../kill.c:760:15: warning: unused variable 'cap' [-Wunused-variable] 760 | size_t len, cap; | ^~~ ../kill.c:759:15: warning: unused variable 'c' [-Wunused-variable] 759 | int retval, c; | ^ ../kill.c: In function '_rl_read_bracketed_paste_prefix': ../kill.c:777:17: warning: unused variable 'j' [-Wunused-variable] 777 | int key, ind, j; | ^ ../kill.c: In function '_rl_bracketed_read_mbstring': ../kill.c:849:10: warning: unused variable 'r' [-Wunused-variable] 849 | int c, r; | ^ ../kill.c: In function '_rl_read_bracketed_paste_prefix': ../kill.c:800:29: warning: 'key' may be used uninitialized [-Wmaybe-uninitialized] 800 | return (key < 0 ? key : 0); | ~~~~~~~~~~~~~~~^~~~ ../kill.c:777:7: note: 'key' was declared here 777 | int key, ind, j; | ^~~ make[1]: Entering directory '/builddir/build/BUILD/readline-8.2/shlib' rm -f histfile.so gcc -c -DHAVE_CONFIG_H -I. -I.. -I.. -DRL_LIBRARY_VERSION='"8.2"' -DBRACKETED_PASTE_DEFAULT=1 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -o histfile.o ../histfile.c mv histfile.o histfile.so make[1]: Leaving directory '/builddir/build/BUILD/readline-8.2/shlib' ../histfile.c: In function 'history_backupfile': ../histfile.c:193:15: warning: unused variable 'fs' [-Wunused-variable] 193 | struct stat fs; | ^~ ../histfile.c: In function 'history_tempfile': ../histfile.c:221:15: warning: unused variable 'fs' [-Wunused-variable] 221 | struct stat fs; | ^~ ../histfile.c: In function 'history_truncate_file': ../histfile.c:521:49: warning: variable 'r' set but not used [-Wunused-but-set-variable] 521 | int file, chars_read, rv, orig_lines, exists, r; | ^ ../histfile.c: In function 'history_do_write': ../histfile.c:683:22: warning: unused variable 'nfinfo' [-Wunused-variable] 683 | struct stat finfo, nfinfo; | ^~~~~~ ../histfile.c: At top level: ../histfile.c:473:1: warning: 'histfile_backup' defined but not used [-Wunused-function] 473 | histfile_backup (const char *filename, const char *back) | ^~~~~~~~~~~~~~~ ../histfile.c:187:1: warning: 'history_backupfile' defined but not used [-Wunused-function] 187 | history_backupfile (const char *filename) | ^~~~~~~~~~~~~~~~~~ ../histfile.c: In function 'history_truncate_file': ../histfile.c:646:46: warning: 'orig_lines' may be used uninitialized [-Wmaybe-uninitialized] 646 | history_lines_written_to_file = orig_lines - lines; | ~~~~~~~~~~~^~~~~~~ ../histfile.c:521:29: note: 'orig_lines' was declared here 521 | int file, chars_read, rv, orig_lines, exists, r; | ^~~~~~~~~~ make[1]: Entering directory '/builddir/build/BUILD/readline-8.2/shlib' rm -f readline.so gcc -c -DHAVE_CONFIG_H -I. -I.. -I.. -DRL_LIBRARY_VERSION='"8.2"' -DBRACKETED_PASTE_DEFAULT=1 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -o readline.o ../readline.c mv readline.o readline.so make[1]: Leaving directory '/builddir/build/BUILD/readline-8.2/shlib' ../readline.c: In function 'readline_internal_char': ../readline.c:568:20: warning: variable 'r' set but not used [-Wunused-but-set-variable] 568 | int c, code, lk, r; | ^ ../readline.c:567:21: warning: unused variable 'eof_found' [-Wunused-variable] 567 | static int lastc, eof_found; | ^~~~~~~~~ ../readline.c: At top level: ../readline.c:1343:1: warning: 'reset_default_bindings' defined but not used [-Wunused-function] 1343 | reset_default_bindings (void) | ^~~~~~~~~~~~~~~~~~~~~~ In file included from ../readline.c:76: ../parse-colors.h:44:14: warning: 'color_buf' defined but not used [-Wunused-variable] 44 | static char *color_buf; | ^~~~~~~~~ make[1]: Entering directory '/builddir/build/BUILD/readline-8.2/shlib' rm -f history.so gcc -c -DHAVE_CONFIG_H -I. -I.. -I.. -DRL_LIBRARY_VERSION='"8.2"' -DBRACKETED_PASTE_DEFAULT=1 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -o history.o ../history.c mv history.o history.so make[1]: Leaving directory '/builddir/build/BUILD/readline-8.2/shlib' ../history.c: In function 'add_history': ../history.c:286:20: warning: unused variable 'i' [-Wunused-variable] 286 | register int i; | ^ ../history.c: In function 'remove_history': ../history.c:489:16: warning: unused variable 'i' [-Wunused-variable] 489 | register int i; | ^ rm -f vi_mode.o gcc -c -DHAVE_CONFIG_H -I. -I. -DRL_LIBRARY_VERSION='"8.2"' -DBRACKETED_PASTE_DEFAULT=1 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection vi_mode.c vi_mode.c: In function 'rl_vi_fword': vi_mode.c:622:7: warning: variable 'opoint' set but not used [-Wunused-but-set-variable] 622 | int opoint; | ^~~~~~ vi_mode.c: In function 'rl_vi_domove': vi_mode.c:1343:7: warning: unused variable 'r' [-Wunused-variable] 1343 | int r; | ^ vi_mode.c: At top level: vi_mode.c:104:12: warning: 'vi_continued_command' defined but not used [-Wunused-variable] 104 | static int vi_continued_command; | ^~~~~~~~~~~~~~~~~~~~ vi_mode.c: In function 'rl_vi_change_char': vi_mode.c:2069:7: warning: 'strncpy' output may be truncated copying 16 bytes from a string of length 16 [-Wstringop-truncation] 2069 | strncpy (mb, _rl_vi_last_replacement, MB_LEN_MAX); | ^ rm -f text.o gcc -c -DHAVE_CONFIG_H -I. -I. -DRL_LIBRARY_VERSION='"8.2"' -DBRACKETED_PASTE_DEFAULT=1 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection text.c text.c: In function 'rl_insert_text': text.c:100:3: warning: 'strncpy' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] 100 | strncpy (rl_line_buffer + rl_point, string, l); | ^ text.c:90:29: note: length computed here 90 | l = (string && *string) ? strlen (string) : 0; | ^~~~~~~~~~~~~~~ make[1]: Entering directory '/builddir/build/BUILD/readline-8.2/shlib' rm -f histexpand.so gcc -c -DHAVE_CONFIG_H -I. -I.. -I.. -DRL_LIBRARY_VERSION='"8.2"' -DBRACKETED_PASTE_DEFAULT=1 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -o histexpand.o ../histexpand.c mv histexpand.o histexpand.so make[1]: Leaving directory '/builddir/build/BUILD/readline-8.2/shlib' ../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:48: warning: variable 'ws' set but not used [-Wunused-but-set-variable] 682 | int delimiter, failed, si, l_temp, ws, we; | ^~ rm -f histexpand.o gcc -c -DHAVE_CONFIG_H -I. -I. -DRL_LIBRARY_VERSION='"8.2"' -DBRACKETED_PASTE_DEFAULT=1 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -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:48: warning: variable 'ws' set but not used [-Wunused-but-set-variable] 682 | int delimiter, failed, si, l_temp, ws, we; | ^~ rm -f complete.o gcc -c -DHAVE_CONFIG_H -I. -I. -DRL_LIBRARY_VERSION='"8.2"' -DBRACKETED_PASTE_DEFAULT=1 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection complete.c complete.c: In function '_rl_find_completion_word': complete.c:1151:14: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 1151 | while (rl_point = MB_PREVCHAR (rl_line_buffer, rl_point, MB_FIND_ANY)) | ^~~~~~~~ complete.c: In function 'compute_lcd_of_matches': complete.c:1323:7: warning: unused variable 'v' [-Wunused-variable] 1323 | int v; | ^ complete.c: In function 'rl_completion_matches': complete.c:2219:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 2219 | while (string = (*entry_function) (text, matches)) | ^~~~~~ complete.c: In function 'rl_username_completion_function': complete.c:2291:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 2291 | while (entry = getpwent ()) | ^~~~~ complete.c: In function 'rl_menu_complete': complete.c:2828:25: warning: unused variable 'cstate' [-Wunused-variable] 2828 | static int delimiter, cstate; | ^~~~~~ complete.c: In function 'print_filename': complete.c:1047:10: warning: 'printed_len' may be used uninitialized [-Wmaybe-uninitialized] 1047 | return printed_len; | ^~~~~~~~~~~ complete.c:936:7: note: 'printed_len' was declared here 936 | int printed_len, extension_char, slen, tlen; | ^~~~~~~~~~~ complete.c: In function 'rl_complete_internal': complete.c:2088:14: warning: 'tlen' may be used uninitialized [-Wmaybe-uninitialized] 2088 | if (mlen >= tlen) | ^ complete.c:2007:7: note: 'tlen' was declared here 2007 | int tlen, mlen, saved_last_completion_failed; | ^~~~ 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 make[1]: Entering directory '/builddir/build/BUILD/readline-8.2/shlib' rm -f text.so gcc -c -DHAVE_CONFIG_H -I. -I.. -I.. -DRL_LIBRARY_VERSION='"8.2"' -DBRACKETED_PASTE_DEFAULT=1 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -o text.o ../text.c mv text.o text.so make[1]: Leaving directory '/builddir/build/BUILD/readline-8.2/shlib' ../text.c: In function 'rl_insert_text': ../text.c:100:3: warning: 'strncpy' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] 100 | strncpy (rl_line_buffer + rl_point, string, l); | ^ ../text.c:90:29: note: length computed here 90 | l = (string && *string) ? strlen (string) : 0; | ^~~~~~~~~~~~~~~ make[1]: Entering directory '/builddir/build/BUILD/readline-8.2/shlib' rm -f complete.so gcc -c -DHAVE_CONFIG_H -I. -I.. -I.. -DRL_LIBRARY_VERSION='"8.2"' -DBRACKETED_PASTE_DEFAULT=1 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -o complete.o ../complete.c mv complete.o complete.so make[1]: Leaving directory '/builddir/build/BUILD/readline-8.2/shlib' ../complete.c: In function '_rl_find_completion_word': ../complete.c:1151:14: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 1151 | while (rl_point = MB_PREVCHAR (rl_line_buffer, rl_point, MB_FIND_ANY)) | ^~~~~~~~ ../complete.c: In function 'compute_lcd_of_matches': ../complete.c:1323:7: warning: unused variable 'v' [-Wunused-variable] 1323 | int v; | ^ ../complete.c: In function 'rl_completion_matches': ../complete.c:2219:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 2219 | while (string = (*entry_function) (text, matches)) | ^~~~~~ ../complete.c: In function 'rl_username_completion_function': ../complete.c:2291:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 2291 | while (entry = getpwent ()) | ^~~~~ ../complete.c: In function 'rl_menu_complete': ../complete.c:2828:25: warning: unused variable 'cstate' [-Wunused-variable] 2828 | static int delimiter, cstate; | ^~~~~~ ../complete.c: In function 'print_filename': ../complete.c:1047:10: warning: 'printed_len' may be used uninitialized [-Wmaybe-uninitialized] 1047 | return printed_len; | ^~~~~~~~~~~ ../complete.c:936:7: note: 'printed_len' was declared here 936 | int printed_len, extension_char, slen, tlen; | ^~~~~~~~~~~ ../complete.c: In function 'rl_complete_internal': ../complete.c:2088:14: warning: 'tlen' may be used uninitialized [-Wmaybe-uninitialized] 2088 | if (mlen >= tlen) | ^ ../complete.c:2007:7: note: 'tlen' was declared here 2007 | int tlen, mlen, saved_last_completion_failed; | ^~~~ rm -f bind.o gcc -c -DHAVE_CONFIG_H -I. -I. -DRL_LIBRARY_VERSION='"8.2"' -DBRACKETED_PASTE_DEFAULT=1 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection bind.c bind.c: In function '_rl_skip_to_delim': bind.c:1581:29: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 1581 | for (i = start,passc = 0; c = string[i]; i++) | ^ bind.c: In function 'rl_parse_and_bind': bind.c:1675:11: warning: unused variable 's' [-Wunused-variable] 1675 | int s; | ^ bind.c: In function 'rl_function_dumper': bind.c:2805:15: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 2805 | for (i = 0; name = names[i]; i++) | ^~~~ bind.c: In function 'parser_if': bind.c:1400:43: warning: 'opresult' may be used uninitialized [-Wmaybe-uninitialized] 1400 | _rl_parsing_conditionalized_out = 1 - opresult; | ~~^~~~~~~~~~ bind.c:1322:59: note: 'opresult' was declared here 1322 | int rlversion, versionarg, op, previ, major, minor, opresult; | ^~~~~~~~ make[1]: Entering directory '/builddir/build/BUILD/readline-8.2/shlib' rm -f bind.so gcc -c -DHAVE_CONFIG_H -I. -I.. -I.. -DRL_LIBRARY_VERSION='"8.2"' -DBRACKETED_PASTE_DEFAULT=1 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -o bind.o ../bind.c mv bind.o bind.so make[1]: Leaving directory '/builddir/build/BUILD/readline-8.2/shlib' ../bind.c: In function '_rl_skip_to_delim': ../bind.c:1581:29: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 1581 | for (i = start,passc = 0; c = string[i]; i++) | ^ ../bind.c: In function 'rl_parse_and_bind': ../bind.c:1675:11: warning: unused variable 's' [-Wunused-variable] 1675 | int s; | ^ ../bind.c: In function 'rl_function_dumper': ../bind.c:2805:15: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 2805 | for (i = 0; name = names[i]; i++) | ^~~~ ../bind.c: In function 'parser_if': ../bind.c:1400:43: warning: 'opresult' may be used uninitialized [-Wmaybe-uninitialized] 1400 | _rl_parsing_conditionalized_out = 1 - opresult; | ~~^~~~~~~~~~ ../bind.c:1322:59: note: 'opresult' was declared here 1322 | int rlversion, versionarg, op, previ, major, minor, opresult; | ^~~~~~~~ make[1]: Entering directory '/builddir/build/BUILD/readline-8.2/shlib' rm -f vi_mode.so gcc -c -DHAVE_CONFIG_H -I. -I.. -I.. -DRL_LIBRARY_VERSION='"8.2"' -DBRACKETED_PASTE_DEFAULT=1 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -o vi_mode.o ../vi_mode.c mv vi_mode.o vi_mode.so make[1]: Leaving directory '/builddir/build/BUILD/readline-8.2/shlib' ../vi_mode.c: In function 'rl_vi_fword': ../vi_mode.c:622:7: warning: variable 'opoint' set but not used [-Wunused-but-set-variable] 622 | int opoint; | ^~~~~~ ../vi_mode.c: In function 'rl_vi_domove': ../vi_mode.c:1343:7: warning: unused variable 'r' [-Wunused-variable] 1343 | int r; | ^ ../vi_mode.c: At top level: ../vi_mode.c:104:12: warning: 'vi_continued_command' defined but not used [-Wunused-variable] 104 | static int vi_continued_command; | ^~~~~~~~~~~~~~~~~~~~ ../vi_mode.c: In function 'rl_vi_change_char': ../vi_mode.c:2069:7: warning: 'strncpy' output may be truncated copying 16 bytes from a string of length 16 [-Wstringop-truncation] 2069 | strncpy (mb, _rl_vi_last_replacement, MB_LEN_MAX); | ^ rm -f display.o gcc -c -DHAVE_CONFIG_H -I. -I. -DRL_LIBRARY_VERSION='"8.2"' -DBRACKETED_PASTE_DEFAULT=1 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection display.c display.c: In function 'rl_redisplay': display.c:767:38: warning: variable 'prompt_lines_estimate' set but not used [-Wunused-but-set-variable] 767 | int newlines, lpos, temp, n0, num, prompt_lines_estimate; | ^~~~~~~~~~~~~~~~~~~~~ display.c:767:33: warning: variable 'num' set but not used [-Wunused-but-set-variable] 767 | int newlines, lpos, temp, n0, num, prompt_lines_estimate; | ^~~ display.c:767:29: warning: unused variable 'n0' [-Wunused-variable] 767 | int newlines, lpos, temp, n0, num, prompt_lines_estimate; | ^~ display.c: In function 'update_line': display.c:1787:21: warning: unused variable 'optr' [-Wunused-variable] 1787 | char *optr; | ^~~~ display.c:1786:19: warning: unused variable 'count' [-Wunused-variable] 1786 | int count, i, j; | ^~~~~ display.c:1655:39: warning: unused variable 'twidth' [-Wunused-variable] 1655 | int temp, lendiff, wsatend, od, nd, twidth, o_cpos; | ^~~~~~ display.c: At top level: display.c:3239:1: warning: 'insert_some_chars' defined but not used [-Wunused-function] 3239 | insert_some_chars (char *string, int count, int col) | ^~~~~~~~~~~~~~~~~ display.c: In function 'rl_redisplay': display.c:1162:29: warning: 'wc_width' may be used uninitialized [-Wmaybe-uninitialized] 1162 | for (i = 0; i < wc_width; i++) | ~~^~~~~~~~~~ display.c:775:7: note: 'wc_width' was declared here 775 | int wc_width; | ^~~~~~~~ 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 make[1]: Entering directory '/builddir/build/BUILD/readline-8.2/shlib' rm -f display.so gcc -c -DHAVE_CONFIG_H -I. -I.. -I.. -DRL_LIBRARY_VERSION='"8.2"' -DBRACKETED_PASTE_DEFAULT=1 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -o display.o ../display.c mv display.o display.so make[1]: Leaving directory '/builddir/build/BUILD/readline-8.2/shlib' ../display.c: In function 'rl_redisplay': ../display.c:767:38: warning: variable 'prompt_lines_estimate' set but not used [-Wunused-but-set-variable] 767 | int newlines, lpos, temp, n0, num, prompt_lines_estimate; | ^~~~~~~~~~~~~~~~~~~~~ ../display.c:767:33: warning: variable 'num' set but not used [-Wunused-but-set-variable] 767 | int newlines, lpos, temp, n0, num, prompt_lines_estimate; | ^~~ ../display.c:767:29: warning: unused variable 'n0' [-Wunused-variable] 767 | int newlines, lpos, temp, n0, num, prompt_lines_estimate; | ^~ ../display.c: In function 'update_line': ../display.c:1787:21: warning: unused variable 'optr' [-Wunused-variable] 1787 | char *optr; | ^~~~ ../display.c:1786:19: warning: unused variable 'count' [-Wunused-variable] 1786 | int count, i, j; | ^~~~~ ../display.c:1655:39: warning: unused variable 'twidth' [-Wunused-variable] 1655 | int temp, lendiff, wsatend, od, nd, twidth, o_cpos; | ^~~~~~ ../display.c: At top level: ../display.c:3239:1: warning: 'insert_some_chars' defined but not used [-Wunused-function] 3239 | insert_some_chars (char *string, int count, int col) | ^~~~~~~~~~~~~~~~~ ../display.c: In function 'rl_redisplay': ../display.c:1162:29: warning: 'wc_width' may be used uninitialized [-Wmaybe-uninitialized] 1162 | for (i = 0; i < wc_width; i++) | ~~^~~~~~~~~~ ../display.c:775:7: note: 'wc_width' was declared here 775 | int wc_width; | ^~~~~~~~ make[1]: Entering directory '/builddir/build/BUILD/readline-8.2/shlib' rm -f libhistory.so.8.2 gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -shared -Wl,-soname,libhistory.so.8.2 -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -Wl,-soname,`basename libhistory.so.8.2 .2` -o libhistory.so.8.2 history.so histexpand.so histfile.so histsearch.so shell.so mbutil.so xmalloc.so xfree.so make[1]: Leaving directory '/builddir/build/BUILD/readline-8.2/shlib' make[1]: Entering directory '/builddir/build/BUILD/readline-8.2/shlib' rm -f libreadline.so.8.2 gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-cc1 -fstack-protector-strong -fasynchronous-unwind-tables -fstack-clash-protection -shared -Wl,-soname,libreadline.so.8.2 -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/OpenCloudOS/OpenCloudOS-hardened-ld -Wl,--build-id=sha1 -Wl,-soname,`basename libreadline.so.8.2 .2` -o libreadline.so.8.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 history.so histexpand.so histfile.so histsearch.so shell.so mbutil.so tilde.so colors.so parse-colors.so xmalloc.so xfree.so compat.so -ltinfo make[1]: Leaving directory '/builddir/build/BUILD/readline-8.2/shlib' + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.HbY7fX + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/readline-8.2-2.ocs23.loongarch64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/readline-8.2-2.ocs23.loongarch64 ++ dirname /builddir/build/BUILDROOT/readline-8.2-2.ocs23.loongarch64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/readline-8.2-2.ocs23.loongarch64 + cd readline-8.2 + /usr/bin/make install DESTDIR=/builddir/build/BUILDROOT/readline-8.2-2.ocs23.loongarch64 'INSTALL=/usr/bin/install -p' /bin/sh ./support/mkinstalldirs /builddir/build/BUILDROOT/readline-8.2-2.ocs23.loongarch64/usr/include \ /builddir/build/BUILDROOT/readline-8.2-2.ocs23.loongarch64/usr/include/readline /builddir/build/BUILDROOT/readline-8.2-2.ocs23.loongarch64/usr/lib64 \ /builddir/build/BUILDROOT/readline-8.2-2.ocs23.loongarch64/usr/share/info /builddir/build/BUILDROOT/readline-8.2-2.ocs23.loongarch64/usr/share/man/man3 /builddir/build/BUILDROOT/readline-8.2-2.ocs23.loongarch64/usr/share/doc/readline \ /builddir/build/BUILDROOT/readline-8.2-2.ocs23.loongarch64/usr/lib64/pkgconfig mkdir -p -- /builddir/build/BUILDROOT/readline-8.2-2.ocs23.loongarch64/usr/include /builddir/build/BUILDROOT/readline-8.2-2.ocs23.loongarch64/usr/include/readline /builddir/build/BUILDROOT/readline-8.2-2.ocs23.loongarch64/usr/lib64 /builddir/build/BUILDROOT/readline-8.2-2.ocs23.loongarch64/usr/share/info /builddir/build/BUILDROOT/readline-8.2-2.ocs23.loongarch64/usr/share/man/man3 /builddir/build/BUILDROOT/readline-8.2-2.ocs23.loongarch64/usr/share/doc/readline /builddir/build/BUILDROOT/readline-8.2-2.ocs23.loongarch64/usr/lib64/pkgconfig for f in readline.h chardefs.h keymaps.h history.h tilde.h rlstdc.h rlconf.h rltypedefs.h; do \ /usr/bin/install -p -m 644 ./$f /builddir/build/BUILDROOT/readline-8.2-2.ocs23.loongarch64/usr/include/readline ; \ done /usr/bin/install -p -m 644 ./CHANGES ./INSTALL ./README /builddir/build/BUILDROOT/readline-8.2-2.ocs23.loongarch64/usr/share/doc/readline ( if test -d doc ; then \ cd doc && \ /usr/bin/make infodir=/usr/share/info DESTDIR=/builddir/build/BUILDROOT/readline-8.2-2.ocs23.loongarch64 install; \ fi ) make[1]: Entering directory '/builddir/build/BUILD/readline-8.2/doc' /bin/sh ../support/mkdirs /builddir/build/BUILDROOT/readline-8.2-2.ocs23.loongarch64/usr/share/info /builddir/build/BUILDROOT/readline-8.2-2.ocs23.loongarch64/usr/share/man/man3 if test -n "" ; then \ /bin/sh ../support/mkdirs /builddir/build/BUILDROOT/readline-8.2-2.ocs23.loongarch64 ; \ fi if test -f readline.info; then \ /usr/bin/install -p -m 644 readline.info /builddir/build/BUILDROOT/readline-8.2-2.ocs23.loongarch64/usr/share/info/readline.info; \ else \ /usr/bin/install -p -m 644 ./readline.info /builddir/build/BUILDROOT/readline-8.2-2.ocs23.loongarch64/usr/share/info/readline.info; \ fi if test -f rluserman.info; then \ /usr/bin/install -p -m 644 rluserman.info /builddir/build/BUILDROOT/readline-8.2-2.ocs23.loongarch64/usr/share/info/rluserman.info; \ else \ /usr/bin/install -p -m 644 ./rluserman.info /builddir/build/BUILDROOT/readline-8.2-2.ocs23.loongarch64/usr/share/info/rluserman.info; \ fi if test -f history.info; then \ /usr/bin/install -p -m 644 history.info /builddir/build/BUILDROOT/readline-8.2-2.ocs23.loongarch64/usr/share/info/history.info; \ else \ /usr/bin/install -p -m 644 ./history.info /builddir/build/BUILDROOT/readline-8.2-2.ocs23.loongarch64/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-8.2-2.ocs23.loongarch64/usr/share/info/dir \ /builddir/build/BUILDROOT/readline-8.2-2.ocs23.loongarch64/usr/share/info/readline.info ; \ install-info --dir-file=/builddir/build/BUILDROOT/readline-8.2-2.ocs23.loongarch64/usr/share/info/dir \ /builddir/build/BUILDROOT/readline-8.2-2.ocs23.loongarch64/usr/share/info/history.info ; \ install-info --dir-file=/builddir/build/BUILDROOT/readline-8.2-2.ocs23.loongarch64/usr/share/info/dir \ /builddir/build/BUILDROOT/readline-8.2-2.ocs23.loongarch64/usr/share/info/rluserman.info ; \ else true; fi /usr/bin/install -p -m 644 ./readline.3 /builddir/build/BUILDROOT/readline-8.2-2.ocs23.loongarch64/usr/share/man/man3/readline.3 /usr/bin/install -p -m 644 ./history.3 /builddir/build/BUILDROOT/readline-8.2-2.ocs23.loongarch64/usr/share/man/man3/history.3 if test -n "" ; then \ if test -f readline.html; then \ /usr/bin/install -p -m 644 readline.html /builddir/build/BUILDROOT/readline-8.2-2.ocs23.loongarch64/readline.html; \ else \ /usr/bin/install -p -m 644 ./readline.html /builddir/build/BUILDROOT/readline-8.2-2.ocs23.loongarch64/readline.html; \ fi ; \ if test -f history.html; then \ /usr/bin/install -p -m 644 history.html /builddir/build/BUILDROOT/readline-8.2-2.ocs23.loongarch64/history.html; \ else \ /usr/bin/install -p -m 644 ./history.html /builddir/build/BUILDROOT/readline-8.2-2.ocs23.loongarch64/history.html; \ fi ; \ if test -f rluserman.html; then \ /usr/bin/install -p -m 644 rluserman.html /builddir/build/BUILDROOT/readline-8.2-2.ocs23.loongarch64/rluserman.html; \ else \ /usr/bin/install -p -m 644 ./rluserman.html /builddir/build/BUILDROOT/readline-8.2-2.ocs23.loongarch64/rluserman.html; \ fi ; \ fi make[1]: Leaving directory '/builddir/build/BUILD/readline-8.2/doc' /usr/bin/install -p -m 644 /builddir/build/BUILD/readline-8.2/readline.pc /builddir/build/BUILDROOT/readline-8.2-2.ocs23.loongarch64/usr/lib64/pkgconfig/readline.pc /usr/bin/install -p -m 644 /builddir/build/BUILD/readline-8.2/history.pc /builddir/build/BUILDROOT/readline-8.2-2.ocs23.loongarch64/usr/lib64/pkgconfig/history.pc mv /builddir/build/BUILDROOT/readline-8.2-2.ocs23.loongarch64/usr/lib64/libreadline.a /builddir/build/BUILDROOT/readline-8.2-2.ocs23.loongarch64/usr/lib64/libreadline.old mv: cannot stat '/builddir/build/BUILDROOT/readline-8.2-2.ocs23.loongarch64/usr/lib64/libreadline.a': No such file or directory /usr/bin/install -p -m 644 libreadline.a /builddir/build/BUILDROOT/readline-8.2-2.ocs23.loongarch64/usr/lib64/libreadline.a make: [Makefile:255: install-static] Error 1 (ignored) test -n "ranlib" && ranlib /builddir/build/BUILDROOT/readline-8.2-2.ocs23.loongarch64/usr/lib64/libreadline.a mv /builddir/build/BUILDROOT/readline-8.2-2.ocs23.loongarch64/usr/lib64/libhistory.a /builddir/build/BUILDROOT/readline-8.2-2.ocs23.loongarch64/usr/lib64/libhistory.old mv: cannot stat '/builddir/build/BUILDROOT/readline-8.2-2.ocs23.loongarch64/usr/lib64/libhistory.a': No such file or directory /usr/bin/install -p -m 644 libhistory.a /builddir/build/BUILDROOT/readline-8.2-2.ocs23.loongarch64/usr/lib64/libhistory.a make: [Makefile:258: install-static] Error 1 (ignored) test -n "ranlib" && ranlib /builddir/build/BUILDROOT/readline-8.2-2.ocs23.loongarch64/usr/lib64/libhistory.a test -d shlib || mkdir shlib ( cd shlib ; /usr/bin/make all ) make[1]: Entering directory '/builddir/build/BUILD/readline-8.2/shlib' make[1]: Nothing to be done for 'all'. make[1]: Leaving directory '/builddir/build/BUILD/readline-8.2/shlib' ( cd shlib ; /usr/bin/make DESTDIR=/builddir/build/BUILDROOT/readline-8.2-2.ocs23.loongarch64 install ) make[1]: Entering directory '/builddir/build/BUILD/readline-8.2/shlib' /bin/sh ../support/mkdirs /builddir/build/BUILDROOT/readline-8.2-2.ocs23.loongarch64/usr/lib64 /bin/sh ../support/mkdirs /builddir/build/BUILDROOT/readline-8.2-2.ocs23.loongarch64/usr/bin mkdir /builddir/build/BUILDROOT/readline-8.2-2.ocs23.loongarch64/usr/bin /bin/sh ../support/shlib-install -O linux-gnu -V opencloudos -d /builddir/build/BUILDROOT/readline-8.2-2.ocs23.loongarch64/usr/lib64 -b /builddir/build/BUILDROOT/readline-8.2-2.ocs23.loongarch64/usr/bin -i "/usr/bin/install -p -m 644" libhistory.so.8.2 /bin/sh ../support/shlib-install -O linux-gnu -V opencloudos -d /builddir/build/BUILDROOT/readline-8.2-2.ocs23.loongarch64/usr/lib64 -b /builddir/build/BUILDROOT/readline-8.2-2.ocs23.loongarch64/usr/bin -i "/usr/bin/install -p -m 644" libreadline.so.8.2 install: you may need to run ldconfig make[1]: Leaving directory '/builddir/build/BUILD/readline-8.2/shlib' + rm -vrf /builddir/build/BUILDROOT/readline-8.2-2.ocs23.loongarch64/usr/share/doc/readline removed '/builddir/build/BUILDROOT/readline-8.2-2.ocs23.loongarch64/usr/share/doc/readline/CHANGES' removed '/builddir/build/BUILDROOT/readline-8.2-2.ocs23.loongarch64/usr/share/doc/readline/INSTALL' removed '/builddir/build/BUILDROOT/readline-8.2-2.ocs23.loongarch64/usr/share/doc/readline/README' removed directory '/builddir/build/BUILDROOT/readline-8.2-2.ocs23.loongarch64/usr/share/doc/readline' + rm -vf /builddir/build/BUILDROOT/readline-8.2-2.ocs23.loongarch64/usr/share/info/dir removed '/builddir/build/BUILDROOT/readline-8.2-2.ocs23.loongarch64/usr/share/info/dir' + /usr/bin/find-debuginfo -j32 --strict-build-id -m -i --build-id-seed 8.2-2.ocs23 --unique-debug-suffix -8.2-2.ocs23.loongarch64 --unique-debug-src-base readline-8.2-2.ocs23.loongarch64 -S debugsourcefiles.list /builddir/build/BUILD/readline-8.2 extracting debug info from /builddir/build/BUILDROOT/readline-8.2-2.ocs23.loongarch64/usr/lib64/libhistory.so.8.2 extracting debug info from /builddir/build/BUILDROOT/readline-8.2-2.ocs23.loongarch64/usr/lib64/libreadline.so.8.2 1940 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/OpenCloudOS/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/OpenCloudOS/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/OpenCloudOS/brp-mangle-shebangs + /usr/lib/rpm/OpenCloudOS/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/OpenCloudOS/brp-python-hardlink Processing files: readline-8.2-2.ocs23.loongarch64 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.IqYIJB + umask 022 + cd /builddir/build/BUILD + cd readline-8.2 + LICENSEDIR=/builddir/build/BUILDROOT/readline-8.2-2.ocs23.loongarch64/usr/share/licenses/readline + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/readline-8.2-2.ocs23.loongarch64/usr/share/licenses/readline + cp -pr COPYING /builddir/build/BUILDROOT/readline-8.2-2.ocs23.loongarch64/usr/share/licenses/readline + cp -pr USAGE /builddir/build/BUILDROOT/readline-8.2-2.ocs23.loongarch64/usr/share/licenses/readline + RPM_EC=0 ++ jobs -p + exit 0 Provides: libhistory.so.8()(64bit) libreadline.so.8()(64bit) readline = 8.2-2.ocs23 readline(loongarch-64) = 8.2-2.ocs23 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: ld-linux-loongarch-lp64d.so.1()(64bit) ld-linux-loongarch-lp64d.so.1(GLIBC_2.36)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.36)(64bit) libc.so.6(GLIBC_2.38)(64bit) libtinfo.so.6()(64bit) rtld(GNU_HASH) Processing files: readline-devel-8.2-2.ocs23.loongarch64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.n7P4Sn + umask 022 + cd /builddir/build/BUILD + cd readline-8.2 + DOCDIR=/builddir/build/BUILDROOT/readline-8.2-2.ocs23.loongarch64/usr/share/doc/readline-devel + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/readline-8.2-2.ocs23.loongarch64/usr/share/doc/readline-devel + cp -pr CHANGES /builddir/build/BUILDROOT/readline-8.2-2.ocs23.loongarch64/usr/share/doc/readline-devel + cp -pr NEWS /builddir/build/BUILDROOT/readline-8.2-2.ocs23.loongarch64/usr/share/doc/readline-devel + cp -pr README /builddir/build/BUILDROOT/readline-8.2-2.ocs23.loongarch64/usr/share/doc/readline-devel + cp -pr examples/excallback.c examples/fileman.c examples/hist_erasedups.c examples/hist_purgecmd.c examples/histexamp.c examples/manexamp.c examples/rl-callbacktest.c examples/rl-fgets.c examples/rl-timeout.c examples/rl.c examples/rlbasic.c examples/rlcat.c examples/rlevent.c examples/rlkeymaps.c examples/rlptytest.c examples/rltest.c examples/rlversion.c /builddir/build/BUILDROOT/readline-8.2-2.ocs23.loongarch64/usr/share/doc/readline-devel + cp -pr examples/readlinebuf.h /builddir/build/BUILDROOT/readline-8.2-2.ocs23.loongarch64/usr/share/doc/readline-devel + cp -pr examples/rlfe /builddir/build/BUILDROOT/readline-8.2-2.ocs23.loongarch64/usr/share/doc/readline-devel + RPM_EC=0 ++ jobs -p + exit 0 Provides: pkgconfig(history) = 8.2 pkgconfig(readline) = 8.2 readline-devel = 8.2-2.ocs23 readline-devel(loongarch-64) = 8.2-2.ocs23 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: /usr/bin/pkg-config libhistory.so.8()(64bit) libreadline.so.8()(64bit) pkgconfig(ncurses) Processing files: readline-static-8.2-2.ocs23.loongarch64 Provides: readline-static = 8.2-2.ocs23 readline-static(loongarch-64) = 8.2-2.ocs23 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: readline-debugsource-8.2-2.ocs23.loongarch64 Provides: readline-debugsource = 8.2-2.ocs23 readline-debugsource(loongarch-64) = 8.2-2.ocs23 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: readline-debuginfo-8.2-2.ocs23.loongarch64 Provides: debuginfo(build-id) = 7ef7abe077e18204269eb69a86c93fe67fb920e2 debuginfo(build-id) = 8368174bbb922c36b6bd6b0308bf7e2d58574984 libhistory.so.8.2-8.2-2.ocs23.loongarch64.debug()(64bit) libreadline.so.8.2-8.2-2.ocs23.loongarch64.debug()(64bit) readline-debuginfo = 8.2-2.ocs23 readline-debuginfo(loongarch-64) = 8.2-2.ocs23 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: readline-debugsource(loongarch-64) = 8.2-2.ocs23 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/readline-8.2-2.ocs23.loongarch64 Wrote: /builddir/build/RPMS/readline-devel-8.2-2.ocs23.loongarch64.rpm Wrote: /builddir/build/RPMS/readline-8.2-2.ocs23.loongarch64.rpm Wrote: /builddir/build/RPMS/readline-debugsource-8.2-2.ocs23.loongarch64.rpm Wrote: /builddir/build/RPMS/readline-debuginfo-8.2-2.ocs23.loongarch64.rpm Wrote: /builddir/build/RPMS/readline-static-8.2-2.ocs23.loongarch64.rpm Child return code was: 0