Mock Version: 6.5 Mock Version: 6.5 Mock Version: 6.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target riscv64 --nodeps /builddir/build/SPECS/compat-readline6.spec'], chrootPath='/var/lib/mock/f45-build-47140-864/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=864000uid=995gid=135user='mockbuild'unshare_net=TrueprintOutput=Falsenspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.e8y75i94:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.e8y75i94:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '3ff252bcd3a4460ea30040637f32e9cd', '-D', '/var/lib/mock/f45-build-47140-864/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.e8y75i94:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target riscv64 --nodeps /builddir/build/SPECS/compat-readline6.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', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1721174400 Wrote: /builddir/build/SRPMS/compat-readline6-6.3-30.fc45.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target riscv64 --nodeps /builddir/build/SPECS/compat-readline6.spec'], chrootPath='/var/lib/mock/f45-build-47140-864/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=864000uid=995gid=135user='mockbuild'unshare_net=TrueprintOutput=Falsenspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.e8y75i94:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.e8y75i94:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', 'd258717eeaf34191beb73e4d20f0ffc0', '-D', '/var/lib/mock/f45-build-47140-864/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.e8y75i94:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target riscv64 --nodeps /builddir/build/SPECS/compat-readline6.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', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1721174400 Executing(mkbuilddir): /bin/sh -e /var/tmp/rpm-tmp.veYXjY Creating(rpmbuild.env): /builddir/build/BUILD/compat-readline6-6.3-build/rpmbuild.env RPM_SOURCE_DIR="/builddir/build/SOURCES" RPM_BUILD_DIR="/builddir/build/BUILD/compat-readline6-6.3-build" RPM_OPT_FLAGS="-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wno-complain-wrong-lang -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer" RPM_LD_FLAGS="-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes " RPM_ARCH="riscv64" RPM_OS="linux" RPM_BUILD_NCPUS="8" RPM_SPECPARTS_DIR="/builddir/build/BUILD/compat-readline6-6.3-build/SPECPARTS" export RPM_SOURCE_DIR RPM_BUILD_DIR RPM_OPT_FLAGS RPM_ARCH RPM_OS RPM_BUILD_NCPUS RPM_SPECPARTS_DIR RPM_LD_FLAGS RPM_DOC_DIR="/usr/share/doc" export RPM_DOC_DIR RPM_PACKAGE_NAME="compat-readline6" RPM_PACKAGE_VERSION="6.3" RPM_PACKAGE_RELEASE="30.fc45" export RPM_PACKAGE_NAME RPM_PACKAGE_VERSION RPM_PACKAGE_RELEASE LANG=C.UTF-8 export LANG unset CDPATH DISPLAY ||: unset DEBUGINFOD_URLS ||: unset RPM_CONFIG_DIR ||: RPM_BUILD_ROOT="/builddir/build/BUILD/compat-readline6-6.3-build/BUILDROOT" export RPM_BUILD_ROOT PKG_CONFIG_PATH="${PKG_CONFIG_PATH}:/usr/lib64/pkgconfig:/usr/share/pkgconfig" export PKG_CONFIG_PATH CONFIG_SITE=${CONFIG_SITE:-NONE} export CONFIG_SITE Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.VIdbYP + umask 022 + cd /builddir/build/BUILD/compat-readline6-6.3-build + cd /builddir/build/BUILD/compat-readline6-6.3-build + rm -rf readline-6.3 + /usr/bin/rpmuncompress -x /builddir/build/SOURCES/readline-6.3.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd readline-6.3 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/rpmuncompress /builddir/build/SOURCES/readline6.3-upstream-patches1-6.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/bin/rpmuncompress /builddir/build/SOURCES/readline-6.2-gdb.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/bin/rpmuncompress /builddir/build/SOURCES/readline-6.2-shlib.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/bin/rpmuncompress /builddir/build/SOURCES/readline-6.3-config.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/bin/rpmuncompress /builddir/build/SOURCES/compat-readline6-wcwidth.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/bin/rpmuncompress /builddir/build/SOURCES/compat-readline6-configure-c99.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.HnpyoS + umask 022 + cd /builddir/build/BUILD/compat-readline6-6.3-build + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd readline-6.3 + export CPPFLAGS=-I/usr/include/ncurses + CPPFLAGS=-I/usr/include/ncurses + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + '[' x '!=' x ']' + '[' 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.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /usr/bin/rm -f ./support/config.guess ++ basename ./support/config.guess + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ./support/config.guess '/usr/lib/rpm/redhat/config.guess' -> './support/config.guess' + for i in $(find $(dirname ./configure) -name config.guess -o -name config.sub) ++ basename ./support/config.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /usr/bin/rm -f ./support/config.sub ++ basename ./support/config.sub + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ./support/config.sub '/usr/lib/rpm/redhat/config.sub' -> './support/config.sub' + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-hardened-ld-errors' ']' ++ find . -name ltmain.sh ++ grep -q runstatedir=DIR ./configure + ./configure --build=riscv64-koji-linux-gnu --host=riscv64-koji-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/bin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info configure: WARNING: unrecognized options: --disable-dependency-tracking checking build system type... riscv64-koji-linux-gnu checking host system type... riscv64-koji-linux-gnu Beginning configuration for readline-6.3 for riscv64-koji-linux-gnu checking whether make sets $(MAKE)... yes checking for riscv64-koji-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 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 riscv64-koji-linux-gnu-ar... no checking for ar... ar checking for riscv64-koji-linux-gnu-ranlib... no checking for ranlib... ranlib checking for an ANSI C-conforming const... yes checking for function prototypes... yes checking whether char is unsigned... yes checking for working volatile... yes checking return type of signal handlers... void checking for size_t... yes checking for ssize_t... yes checking for ANSI C header files... (cached) yes checking whether stat file-mode macros are broken... no checking for dirent.h that defines DIR... yes checking for library containing opendir... none required checking for fcntl... yes checking for kill... yes checking for lstat... yes checking for memmove... yes checking for putenv... yes checking for select... yes checking for setenv... yes checking for setlocale... yes checking for strcasecmp... yes checking for strpbrk... yes checking for tcgetattr... yes checking for vsnprintf... yes checking for isascii... yes checking for isxdigit... yes checking for getpwent... yes checking for getpwnam... yes checking for getpwuid... yes checking for working strcoll... yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking for unistd.h... (cached) yes checking for stdlib.h... (cached) yes checking varargs.h usability... no checking varargs.h presence... no checking for varargs.h... no checking stdarg.h usability... yes checking stdarg.h presence... yes checking for stdarg.h... yes checking 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... yes checking termcap.h presence... yes checking for termcap.h... yes checking termios.h usability... yes checking termios.h presence... yes checking for termios.h... yes checking termio.h usability... no checking termio.h presence... no checking for termio.h... no 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... yes checking for presence of POSIX-style sigsetjmp/siglongjmp... present checking for lstat... yes checking whether or not strcoll and strcmp differ... no checking whether the ctype macros accept non-ascii characters... no checking whether getpw functions are declared in pwd.h... yes checking whether termios.h defines TIOCGWINSZ... no checking whether sys/ioctl.h defines TIOCGWINSZ... yes checking for sig_atomic_t in signal.h... yes checking whether signal handlers are of type void... no 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 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 wctype.h usability... yes checking wctype.h presence... yes checking for wctype.h... yes checking wchar.h usability... yes checking wchar.h presence... yes checking for wchar.h... yes checking langinfo.h usability... yes checking langinfo.h presence... yes checking for langinfo.h... yes checking for mbrlen... yes checking for mbscasecmp... no checking for mbscmp... no checking for mbsnrtowcs... yes checking for mbsrtowcs... yes checking for mbschr... no checking for wcrtomb... yes checking for wcscoll... yes checking for wcsdup... yes checking for wcwidth... yes checking for wctype... yes checking for wcswidth... yes checking whether mbrtowc and mbstate_t are properly declared... yes checking for iswlower... yes checking for iswupper... yes checking for towlower... yes checking for towupper... yes checking for iswctype... yes checking for nl_langinfo and CODESET... yes checking for wchar_t in wchar.h... yes checking for wctype_t in wctype.h... yes checking for wint_t in wctype.h... yes checking for wcwidth broken with unicode combining characters... yes checking configuration for building shared libraries... supported configure: creating ./config.status config.status: creating Makefile config.status: creating doc/Makefile config.status: creating examples/Makefile config.status: creating shlib/Makefile config.status: creating config.h config.status: executing default commands configure: WARNING: unrecognized options: --disable-dependency-tracking + /usr/bin/make -O -j8 V=1 VERBOSE=1 rm -f funmap.o gcc -c -DHAVE_CONFIG_H -I/usr/include/ncurses -I. -I. -DRL_LIBRARY_VERSION='"6.3"' -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer funmap.c funmap.c: In function ‘rl_add_funmap_entry’: funmap.c:204:1: warning: old-style function definition [-Wold-style-definition] 204 | rl_add_funmap_entry (name, function) | ^~~~~~~~~~~~~~~~~~~ rm -f parens.o gcc -c -DHAVE_CONFIG_H -I/usr/include/ncurses -I. -I. -DRL_LIBRARY_VERSION='"6.3"' -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer parens.c parens.c: In function ‘_rl_enable_paren_matching’: parens.c:71:1: warning: old-style function definition [-Wold-style-definition] 71 | _rl_enable_paren_matching (on_or_off) | ^~~~~~~~~~~~~~~~~~~~~~~~~ parens.c: In function ‘rl_set_paren_blink_timeout’: parens.c:89:1: warning: old-style function definition [-Wold-style-definition] 89 | rl_set_paren_blink_timeout (u) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ parens.c: In function ‘rl_insert_close’: parens.c:101:1: warning: old-style function definition [-Wold-style-definition] 101 | rl_insert_close (count, invoking_key) | ^~~~~~~~~~~~~~~ parens.c:109:36: warning: variable ‘ready’ set but not used [-Wunused-but-set-variable=] 109 | int orig_point, match_point, ready; | ^~~~~ parens.c: In function ‘find_matching_open’: parens.c:139:1: warning: old-style function definition [-Wold-style-definition] 139 | find_matching_open (string, from, closer) | ^~~~~~~~~~~~~~~~~~ rm -f keymaps.o gcc -c -DHAVE_CONFIG_H -I/usr/include/ncurses -I. -I. -DRL_LIBRARY_VERSION='"6.3"' -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer keymaps.c keymaps.c: In function ‘rl_copy_keymap’: keymaps.c:83:1: warning: old-style function definition [-Wold-style-definition] 83 | rl_copy_keymap (map) | ^~~~~~~~~~~~~~ keymaps.c: In function ‘rl_discard_keymap’: keymaps.c:128:1: warning: old-style function definition [-Wold-style-definition] 128 | rl_discard_keymap (map) | ^~~~~~~~~~~~~~~~~ keymaps.c: In function ‘rl_free_keymap’: keymaps.c:157:1: warning: old-style function definition [-Wold-style-definition] 157 | rl_free_keymap (map) | ^~~~~~~~~~~~~~ rm -f rltty.o gcc -c -DHAVE_CONFIG_H -I/usr/include/ncurses -I. -I. -DRL_LIBRARY_VERSION='"6.3"' -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer rltty.c rltty.c: In function ‘set_winsize’: rltty.c:77:1: warning: old-style function definition [-Wold-style-definition] 77 | set_winsize (tty) | ^~~~~~~~~~~ rltty.c: In function ‘save_tty_chars’: rltty.c:354:1: warning: old-style function definition [-Wold-style-definition] 354 | save_tty_chars (tiop) | ^~~~~~~~~~~~~~ rltty.c: In function ‘_get_tty_settings’: rltty.c:421:1: warning: old-style function definition [-Wold-style-definition] 421 | _get_tty_settings (tty, tiop) | ^~~~~~~~~~~~~~~~~ rltty.c: In function ‘get_tty_settings’: rltty.c:454:1: warning: old-style function definition [-Wold-style-definition] 454 | get_tty_settings (tty, tiop) | ^~~~~~~~~~~~~~~~ rltty.c: In function ‘_set_tty_settings’: rltty.c:472:1: warning: old-style function definition [-Wold-style-definition] 472 | _set_tty_settings (tty, tiop) | ^~~~~~~~~~~~~~~~~ rltty.c: In function ‘set_tty_settings’: rltty.c:486:1: warning: old-style function definition [-Wold-style-definition] 486 | set_tty_settings (tty, tiop) | ^~~~~~~~~~~~~~~~ rltty.c: In function ‘prepare_terminal_settings’: rltty.c:515:1: warning: old-style function definition [-Wold-style-definition] 515 | prepare_terminal_settings (meta_flag, oldtio, tiop) | ^~~~~~~~~~~~~~~~~~~~~~~~~ rltty.c: In function ‘rl_prep_terminal’: rltty.c:595:1: warning: old-style function definition [-Wold-style-definition] 595 | rl_prep_terminal (meta_flag) | ^~~~~~~~~~~~~~~~ rltty.c: In function ‘rl_restart_output’: rltty.c:708:1: warning: old-style function definition [-Wold-style-definition] 708 | rl_restart_output (count, key) | ^~~~~~~~~~~~~~~~~ rltty.c: In function ‘rl_stop_output’: rltty.c:746:1: warning: old-style function definition [-Wold-style-definition] 746 | rl_stop_output (count, key) | ^~~~~~~~~~~~~~ rltty.c: In function ‘set_special_char’: rltty.c:831:1: warning: old-style function definition [-Wold-style-definition] 831 | set_special_char (kmap, tiop, sc, func) | ^~~~~~~~~~~~~~~~ rltty.c: In function ‘_rl_bind_tty_special_chars’: rltty.c:850:1: warning: old-style function definition [-Wold-style-definition] 850 | _rl_bind_tty_special_chars (kmap, ttybuff) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ rltty.c: In function ‘rltty_set_default_bindings’: rltty.c:871:1: warning: old-style function definition [-Wold-style-definition] 871 | rltty_set_default_bindings (kmap) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ rltty.c: In function ‘rl_tty_set_default_bindings’: rltty.c:888:1: warning: old-style function definition [-Wold-style-definition] 888 | rl_tty_set_default_bindings (kmap) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ rltty.c: In function ‘rl_tty_unset_default_bindings’: rltty.c:899:1: warning: old-style function definition [-Wold-style-definition] 899 | rl_tty_unset_default_bindings (kmap) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ rm -f search.o gcc -c -DHAVE_CONFIG_H -I/usr/include/ncurses -I. -I. -DRL_LIBRARY_VERSION='"6.3"' -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer search.c search.c: In function ‘make_history_line_current’: search.c:91:1: warning: old-style function definition [-Wold-style-definition] 91 | make_history_line_current (entry) | ^~~~~~~~~~~~~~~~~~~~~~~~~ search.c: In function ‘noninc_search_from_pos’: search.c:116:1: warning: old-style function definition [-Wold-style-definition] 116 | noninc_search_from_pos (string, pos, dir) | ^~~~~~~~~~~~~~~~~~~~~~ search.c: In function ‘noninc_dosearch’: search.c:147:1: warning: old-style function definition [-Wold-style-definition] 147 | noninc_dosearch (string, dir) | ^~~~~~~~~~~~~~~ search.c: In function ‘_rl_nsearch_init’: search.c:192:1: warning: old-style function definition [-Wold-style-definition] 192 | _rl_nsearch_init (dir, pchar) | ^~~~~~~~~~~~~~~~ search.c: In function ‘_rl_nsearch_cleanup’: search.c:228:1: warning: old-style function definition [-Wold-style-definition] 228 | _rl_nsearch_cleanup (cxt, r) | ^~~~~~~~~~~~~~~~~~~ search.c: In function ‘_rl_nsearch_abort’: search.c:241:1: warning: old-style function definition [-Wold-style-definition] 241 | _rl_nsearch_abort (cxt) | ^~~~~~~~~~~~~~~~~ search.c: In function ‘_rl_nsearch_dispatch’: search.c:257:1: warning: old-style function definition [-Wold-style-definition] 257 | _rl_nsearch_dispatch (cxt, c) | ^~~~~~~~~~~~~~~~~~~~ search.c: In function ‘_rl_nsearch_dosearch’: search.c:310:1: warning: old-style function definition [-Wold-style-definition] 310 | _rl_nsearch_dosearch (cxt) | ^~~~~~~~~~~~~~~~~~~~ search.c: In function ‘noninc_search’: search.c:353:1: warning: old-style function definition [-Wold-style-definition] 353 | noninc_search (dir, pchar) | ^~~~~~~~~~~~~ search.c: In function ‘rl_noninc_forward_search’: search.c:388:1: warning: old-style function definition [-Wold-style-definition] 388 | rl_noninc_forward_search (count, key) | ^~~~~~~~~~~~~~~~~~~~~~~~ search.c: In function ‘rl_noninc_reverse_search’: search.c:397:1: warning: old-style function definition [-Wold-style-definition] 397 | rl_noninc_reverse_search (count, key) | ^~~~~~~~~~~~~~~~~~~~~~~~ search.c: In function ‘rl_noninc_forward_search_again’: search.c:406:1: warning: old-style function definition [-Wold-style-definition] 406 | rl_noninc_forward_search_again (count, key) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ search.c: In function ‘rl_noninc_reverse_search_again’: search.c:423:1: warning: old-style function definition [-Wold-style-definition] 423 | rl_noninc_reverse_search_again (count, key) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ search.c: In function ‘_rl_nsearch_callback’: search.c:439:1: warning: old-style function definition [-Wold-style-definition] 439 | _rl_nsearch_callback (cxt) | ^~~~~~~~~~~~~~~~~~~~ search.c: In function ‘rl_history_search_internal’: search.c:455:1: warning: old-style function definition [-Wold-style-definition] 455 | rl_history_search_internal (count, dir) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ search.c: In function ‘rl_history_search_reinit’: search.c:529:1: warning: old-style function definition [-Wold-style-definition] 529 | rl_history_search_reinit (flags) | ^~~~~~~~~~~~~~~~~~~~~~~~ search.c: In function ‘rl_history_search_forward’: search.c:560:1: warning: old-style function definition [-Wold-style-definition] 560 | rl_history_search_forward (count, ignore) | ^~~~~~~~~~~~~~~~~~~~~~~~~ search.c: In function ‘rl_history_search_backward’: search.c:579:1: warning: old-style function definition [-Wold-style-definition] 579 | rl_history_search_backward (count, ignore) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ search.c: In function ‘rl_history_substr_search_forward’: search.c:599:1: warning: old-style function definition [-Wold-style-definition] 599 | rl_history_substr_search_forward (count, ignore) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ search.c: In function ‘rl_history_substr_search_backward’: search.c:618:1: warning: old-style function definition [-Wold-style-definition] 618 | rl_history_substr_search_backward (count, ignore) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ rm -f signals.o gcc -c -DHAVE_CONFIG_H -I/usr/include/ncurses -I. -I. -DRL_LIBRARY_VERSION='"6.3"' -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer signals.c signals.c: In function ‘_rl_signal_handler’: signals.c:137:1: warning: old-style function definition [-Wold-style-definition] 137 | _rl_signal_handler (sig) | ^~~~~~~~~~~~~~~~~~ signals.c:62:36: error: ‘return’ with a value, in function returning void [-Wreturn-mismatch] 62 | # define SIGHANDLER_RETURN return (0) | ^ signals.c:157:3: note: in expansion of macro ‘SIGHANDLER_RETURN’ 157 | SIGHANDLER_RETURN; | ^~~~~~~~~~~~~~~~~ signals.c:137:1: note: declared here 137 | _rl_signal_handler (sig) | ^~~~~~~~~~~~~~~~~~ signals.c: In function ‘rl_signal_handler’: signals.c:161:1: warning: old-style function definition [-Wold-style-definition] 161 | rl_signal_handler (sig) | ^~~~~~~~~~~~~~~~~ signals.c:62:36: error: ‘return’ with a value, in function returning void [-Wreturn-mismatch] 62 | # define SIGHANDLER_RETURN return (0) | ^ signals.c:172:3: note: in expansion of macro ‘SIGHANDLER_RETURN’ 172 | SIGHANDLER_RETURN; | ^~~~~~~~~~~~~~~~~ signals.c:161:1: note: declared here 161 | rl_signal_handler (sig) | ^~~~~~~~~~~~~~~~~ signals.c: In function ‘_rl_handle_signal’: signals.c:176:1: warning: old-style function definition [-Wold-style-definition] 176 | _rl_handle_signal (sig) | ^~~~~~~~~~~~~~~~~ signals.c:62:36: error: ‘return’ with a value, in function returning void [-Wreturn-mismatch] 62 | # define SIGHANDLER_RETURN return (0) | ^ signals.c:267:3: note: in expansion of macro ‘SIGHANDLER_RETURN’ 267 | SIGHANDLER_RETURN; | ^~~~~~~~~~~~~~~~~ signals.c:176:1: note: declared here 176 | _rl_handle_signal (sig) | ^~~~~~~~~~~~~~~~~ signals.c: In function ‘rl_sigwinch_handler’: signals.c:272:1: warning: old-style function definition [-Wold-style-definition] 272 | rl_sigwinch_handler (sig) | ^~~~~~~~~~~~~~~~~~~ signals.c:293:6: error: too many arguments to function ‘oh’; expected 0, have 1 293 | (*oh) (sig); | ~^~~~ ~~~ signals.c:62:36: error: ‘return’ with a value, in function returning void [-Wreturn-mismatch] 62 | # define SIGHANDLER_RETURN return (0) | ^ signals.c:296:3: note: in expansion of macro ‘SIGHANDLER_RETURN’ 296 | SIGHANDLER_RETURN; | ^~~~~~~~~~~~~~~~~ signals.c:272:1: note: declared here 272 | rl_sigwinch_handler (sig) | ^~~~~~~~~~~~~~~~~~~ signals.c: In function ‘rl_set_sighandler’: signals.c:317:1: warning: old-style function definition [-Wold-style-definition] 317 | rl_set_sighandler (sig, handler, ohandler) | ^~~~~~~~~~~~~~~~~ signals.c:326:18: error: assignment to ‘__sighandler_t’ {aka ‘void (*)(int)’} from incompatible pointer type ‘void (*)(void)’ [-Wincompatible-pointer-types] 326 | act.sa_handler = handler; | ^ In file included from signals.c:30: /usr/include/signal.h:72:16: note: ‘__sighandler_t’ declared here 72 | typedef void (*__sighandler_t) (int); | ^~~~~~~~~~~~~~ signals.c:342:15: warning: comparison of distinct pointer types lacks a cast [-Wcompare-distinct-pointer-types] 342 | if (handler != rl_signal_handler || old_handler.sa_handler != rl_signal_handler) | ^~ signals.c:345:21: error: returning ‘__sighandler_t’ {aka ‘void (*)(int)’} from a function with incompatible return type ‘void (*)(void)’ [-Wincompatible-pointer-types] 345 | return (ohandler->sa_handler); | ^~~~~~~~~~ /usr/include/signal.h:72:16: note: ‘__sighandler_t’ declared here 72 | typedef void (*__sighandler_t) (int); | ^~~~~~~~~~~~~~ signals.c: In function ‘rl_maybe_set_sighandler’: signals.c:351:1: warning: old-style function definition [-Wold-style-definition] 351 | rl_maybe_set_sighandler (sig, handler, ohandler) | ^~~~~~~~~~~~~~~~~~~~~~~ signals.c: In function ‘rl_maybe_restore_sighandler’: signals.c:371:1: warning: old-style function definition [-Wold-style-definition] 371 | rl_maybe_restore_sighandler (sig, handler) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ signals.c: In function ‘rl_set_signals’: signals.c:427:40: error: passing argument 2 of ‘rl_maybe_set_sighandler’ from incompatible pointer type [-Wincompatible-pointer-types] 427 | rl_maybe_set_sighandler (SIGINT, rl_signal_handler, &old_int); | ^~~~~~~~~~~~~~~~~ | | | void (*)(int) signals.c:353:18: note: expected ‘void (*)(void)’ but argument is of type ‘void (*)(int)’ 353 | SigHandler *handler; | ^~~~~~~ signals.c:161:1: note: ‘rl_signal_handler’ declared here 161 | rl_signal_handler (sig) | ^~~~~~~~~~~~~~~~~ signals.c:428:41: error: passing argument 2 of ‘rl_maybe_set_sighandler’ from incompatible pointer type [-Wincompatible-pointer-types] 428 | rl_maybe_set_sighandler (SIGTERM, rl_signal_handler, &old_term); | ^~~~~~~~~~~~~~~~~ | | | void (*)(int) signals.c:353:18: note: expected ‘void (*)(void)’ but argument is of type ‘void (*)(int)’ 353 | SigHandler *handler; | ^~~~~~~ signals.c:161:1: note: ‘rl_signal_handler’ declared here 161 | rl_signal_handler (sig) | ^~~~~~~~~~~~~~~~~ signals.c:429:40: error: passing argument 2 of ‘rl_maybe_set_sighandler’ from incompatible pointer type [-Wincompatible-pointer-types] 429 | rl_maybe_set_sighandler (SIGHUP, rl_signal_handler, &old_hup); | ^~~~~~~~~~~~~~~~~ | | | void (*)(int) signals.c:353:18: note: expected ‘void (*)(void)’ but argument is of type ‘void (*)(int)’ 353 | SigHandler *handler; | ^~~~~~~ signals.c:161:1: note: ‘rl_signal_handler’ declared here 161 | rl_signal_handler (sig) | ^~~~~~~~~~~~~~~~~ signals.c:431:41: error: passing argument 2 of ‘rl_maybe_set_sighandler’ from incompatible pointer type [-Wincompatible-pointer-types] 431 | rl_maybe_set_sighandler (SIGQUIT, rl_signal_handler, &old_quit); | ^~~~~~~~~~~~~~~~~ | | | void (*)(int) signals.c:353:18: note: expected ‘void (*)(void)’ but argument is of type ‘void (*)(int)’ 353 | SigHandler *handler; | ^~~~~~~ signals.c:161:1: note: ‘rl_signal_handler’ declared here 161 | rl_signal_handler (sig) | ^~~~~~~~~~~~~~~~~ signals.c:435:40: error: passing argument 2 of ‘rl_set_sighandler’ from incompatible pointer type [-Wincompatible-pointer-types] 435 | oh = rl_set_sighandler (SIGALRM, rl_signal_handler, &old_alrm); | ^~~~~~~~~~~~~~~~~ | | | void (*)(int) signals.c:319:18: note: expected ‘void (*)(void)’ but argument is of type ‘void (*)(int)’ 319 | SigHandler *handler; | ^~~~~~~ signals.c:161:1: note: ‘rl_signal_handler’ declared here 161 | rl_signal_handler (sig) | ^~~~~~~~~~~~~~~~~ signals.c:449:41: error: passing argument 2 of ‘rl_maybe_set_sighandler’ from incompatible pointer type [-Wincompatible-pointer-types] 449 | rl_maybe_set_sighandler (SIGTSTP, rl_signal_handler, &old_tstp); | ^~~~~~~~~~~~~~~~~ | | | void (*)(int) signals.c:353:18: note: expected ‘void (*)(void)’ but argument is of type ‘void (*)(int)’ 353 | SigHandler *handler; | ^~~~~~~ signals.c:161:1: note: ‘rl_signal_handler’ declared here 161 | rl_signal_handler (sig) | ^~~~~~~~~~~~~~~~~ signals.c:453:41: error: passing argument 2 of ‘rl_maybe_set_sighandler’ from incompatible pointer type [-Wincompatible-pointer-types] 453 | rl_maybe_set_sighandler (SIGTTOU, rl_signal_handler, &old_ttou); | ^~~~~~~~~~~~~~~~~ | | | void (*)(int) signals.c:353:18: note: expected ‘void (*)(void)’ but argument is of type ‘void (*)(int)’ 353 | SigHandler *handler; | ^~~~~~~ signals.c:161:1: note: ‘rl_signal_handler’ declared here 161 | rl_signal_handler (sig) | ^~~~~~~~~~~~~~~~~ signals.c:457:41: error: passing argument 2 of ‘rl_maybe_set_sighandler’ from incompatible pointer type [-Wincompatible-pointer-types] 457 | rl_maybe_set_sighandler (SIGTTIN, rl_signal_handler, &old_ttin); | ^~~~~~~~~~~~~~~~~ | | | void (*)(int) signals.c:353:18: note: expected ‘void (*)(void)’ but argument is of type ‘void (*)(int)’ 353 | SigHandler *handler; | ^~~~~~~ signals.c:161:1: note: ‘rl_signal_handler’ declared here 161 | rl_signal_handler (sig) | ^~~~~~~~~~~~~~~~~ signals.c: In function ‘rl_echo_signal_char’: signals.c:675:1: warning: old-style function definition [-Wold-style-definition] 675 | rl_echo_signal_char (sig) | ^~~~~~~~~~~~~~~~~~~ signals.c: At top level: signals.c:579:29: warning: ‘sigint_oset’ defined but not used [-Wunused-variable] 579 | static sigset_t sigint_set, sigint_oset; | ^~~~~~~~~~~ signals.c:579:17: warning: ‘sigint_set’ defined but not used [-Wunused-variable] 579 | static sigset_t sigint_set, sigint_oset; | ^~~~~~~~~~ make: *** [Makefile:101: signals.o] Error 1 make: *** Waiting for unfinished jobs.... rm -f readline.o gcc -c -DHAVE_CONFIG_H -I/usr/include/ncurses -I. -I. -DRL_LIBRARY_VERSION='"6.3"' -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer readline.c readline.c: In function ‘rl_set_prompt’: readline.c:321:1: warning: old-style function definition [-Wold-style-definition] 321 | rl_set_prompt (prompt) | ^~~~~~~~~~~~~ readline.c: In function ‘readline’: readline.c:335:1: warning: old-style function definition [-Wold-style-definition] 335 | readline (prompt) | ^~~~~~~~ readline.c: In function ‘readline_internal_teardown’: readline.c:446:1: warning: old-style function definition [-Wold-style-definition] 446 | readline_internal_teardown (eof) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ readline.c: In function ‘readline_internal_char’: readline.c:525:21: warning: variable ‘eof_found’ set but not used [-Wunused-but-set-variable=] 525 | static int lastc, eof_found; | ^~~~~~~~~ readline.c: In function ‘_rl_keyseq_cxt_dispose’: readline.c:679:1: warning: old-style function definition [-Wold-style-definition] 679 | _rl_keyseq_cxt_dispose (cxt) | ^~~~~~~~~~~~~~~~~~~~~~ readline.c: In function ‘_rl_subseq_getchar’: readline.c:700:1: warning: old-style function definition [-Wold-style-definition] 700 | _rl_subseq_getchar (key) | ^~~~~~~~~~~~~~~~~~ readline.c: In function ‘_rl_dispatch_callback’: readline.c:718:1: warning: old-style function definition [-Wold-style-definition] 718 | _rl_dispatch_callback (cxt) | ^~~~~~~~~~~~~~~~~~~~~ readline.c: In function ‘_rl_dispatch’: readline.c:771:1: warning: old-style function definition [-Wold-style-definition] 771 | _rl_dispatch (key, map) | ^~~~~~~~~~~~ readline.c: In function ‘_rl_dispatch_subseq’: readline.c:780:1: warning: old-style function definition [-Wold-style-definition] 780 | _rl_dispatch_subseq (key, map, got_subseq) | ^~~~~~~~~~~~~~~~~~~ readline.c: In function ‘_rl_subseq_result’: readline.c:978:1: warning: old-style function definition [-Wold-style-definition] 978 | _rl_subseq_result (r, map, key, got_subseq) | ^~~~~~~~~~~~~~~~~ readline.c: In function ‘bind_arrow_keys_internal’: readline.c:1222:1: warning: old-style function definition [-Wold-style-definition] 1222 | bind_arrow_keys_internal (map) | ^~~~~~~~~~~~~~~~~~~~~~~~ readline.c: In function ‘rl_save_state’: readline.c:1300:1: warning: old-style function definition [-Wold-style-definition] 1300 | rl_save_state (sp) | ^~~~~~~~~~~~~ readline.c: In function ‘rl_restore_state’: readline.c:1334:1: warning: old-style function definition [-Wold-style-definition] 1334 | rl_restore_state (sp) | ^~~~~~~~~~~~~~~~ readline.c: At top level: readline.c:1211:1: warning: ‘reset_default_bindings’ defined but not used [-Wunused-function] 1211 | reset_default_bindings () | ^~~~~~~~~~~~~~~~~~~~~~ rm -f util.o gcc -c -DHAVE_CONFIG_H -I/usr/include/ncurses -I. -I. -DRL_LIBRARY_VERSION='"6.3"' -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer util.c util.c: In function ‘rl_alphabetic’: util.c:72:1: warning: old-style function definition [-Wold-style-definition] 72 | rl_alphabetic (c) | ^~~~~~~~~~~~~ util.c: In function ‘rl_abort’: util.c:120:1: warning: old-style function definition [-Wold-style-definition] 120 | rl_abort (count, key) | ^~~~~~~~ util.c: In function ‘_rl_null_function’: util.c:127:1: warning: old-style function definition [-Wold-style-definition] 127 | _rl_null_function (count, key) | ^~~~~~~~~~~~~~~~~ util.c: In function ‘rl_tty_status’: util.c:134:1: warning: old-style function definition [-Wold-style-definition] 134 | rl_tty_status (count, key) | ^~~~~~~~~~~~~ util.c: In function ‘rl_copy_text’: util.c:149:1: warning: old-style function definition [-Wold-style-definition] 149 | rl_copy_text (from, to) | ^~~~~~~~~~~~ util.c: In function ‘rl_extend_line_buffer’: util.c:169:1: warning: old-style function definition [-Wold-style-definition] 169 | rl_extend_line_buffer (len) | ^~~~~~~~~~~~~~~~~~~~~ util.c: In function ‘rl_tilde_expand’: util.c:184:1: warning: old-style function definition [-Wold-style-definition] 184 | rl_tilde_expand (ignore, key) | ^~~~~~~~~~~~~~~ util.c: In function ‘_rl_strindex’: util.c:325:1: warning: old-style function definition [-Wold-style-definition] 325 | _rl_strindex (s1, s2) | ^~~~~~~~~~~~ util.c: In function ‘_rl_qsort_string_compare’: util.c:432:1: warning: old-style function definition [-Wold-style-definition] 432 | _rl_qsort_string_compare (s1, s2) | ^~~~~~~~~~~~~~~~~~~~~~~~ util.c: In function ‘_rl_digit_p’: util.c:451:21: warning: old-style function definition [-Wold-style-definition] 451 | FUNCTION_FOR_MACRO (_rl_digit_p) | ^~~~~~~~~~~ util.c:449:38: note: in definition of macro ‘FUNCTION_FOR_MACRO’ 449 | #define FUNCTION_FOR_MACRO(f) int (f) (c) int c; { return f (c); } | ^ util.c: In function ‘_rl_digit_value’: util.c:452:21: warning: old-style function definition [-Wold-style-definition] 452 | FUNCTION_FOR_MACRO (_rl_digit_value) | ^~~~~~~~~~~~~~~ util.c:449:38: note: in definition of macro ‘FUNCTION_FOR_MACRO’ 449 | #define FUNCTION_FOR_MACRO(f) int (f) (c) int c; { return f (c); } | ^ util.c: In function ‘_rl_lowercase_p’: util.c:453:21: warning: old-style function definition [-Wold-style-definition] 453 | FUNCTION_FOR_MACRO (_rl_lowercase_p) | ^~~~~~~~~~~~~~~ util.c:449:38: note: in definition of macro ‘FUNCTION_FOR_MACRO’ 449 | #define FUNCTION_FOR_MACRO(f) int (f) (c) int c; { return f (c); } | ^ util.c: In function ‘_rl_pure_alphabetic’: util.c:454:21: warning: old-style function definition [-Wold-style-definition] 454 | FUNCTION_FOR_MACRO (_rl_pure_alphabetic) | ^~~~~~~~~~~~~~~~~~~ util.c:449:38: note: in definition of macro ‘FUNCTION_FOR_MACRO’ 449 | #define FUNCTION_FOR_MACRO(f) int (f) (c) int c; { return f (c); } | ^ util.c: In function ‘_rl_to_lower’: util.c:455:21: warning: old-style function definition [-Wold-style-definition] 455 | FUNCTION_FOR_MACRO (_rl_to_lower) | ^~~~~~~~~~~~ util.c:449:38: note: in definition of macro ‘FUNCTION_FOR_MACRO’ 449 | #define FUNCTION_FOR_MACRO(f) int (f) (c) int c; { return f (c); } | ^ util.c: In function ‘_rl_to_upper’: util.c:456:21: warning: old-style function definition [-Wold-style-definition] 456 | FUNCTION_FOR_MACRO (_rl_to_upper) | ^~~~~~~~~~~~ util.c:449:38: note: in definition of macro ‘FUNCTION_FOR_MACRO’ 449 | #define FUNCTION_FOR_MACRO(f) int (f) (c) int c; { return f (c); } | ^ util.c: In function ‘_rl_uppercase_p’: util.c:457:21: warning: old-style function definition [-Wold-style-definition] 457 | FUNCTION_FOR_MACRO (_rl_uppercase_p) | ^~~~~~~~~~~~~~~ util.c:449:38: note: in definition of macro ‘FUNCTION_FOR_MACRO’ 449 | #define FUNCTION_FOR_MACRO(f) int (f) (c) int c; { return f (c); } | ^ util.c: In function ‘rl_free’: util.c:462:1: warning: old-style function definition [-Wold-style-definition] 462 | rl_free (mem) | ^~~~~~~ util.c: In function ‘_rl_savestring’: util.c:473:1: warning: old-style function definition [-Wold-style-definition] 473 | _rl_savestring (s) | ^~~~~~~~~~~~~~ util.c: In function ‘_rl_audit_tty’: util.c:551:1: warning: old-style function definition [-Wold-style-definition] 551 | _rl_audit_tty (string) | ^~~~~~~~~~~~~ rm -f isearch.o gcc -c -DHAVE_CONFIG_H -I/usr/include/ncurses -I. -I. -DRL_LIBRARY_VERSION='"6.3"' -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer isearch.c isearch.c: In function ‘_rl_scxt_alloc’: isearch.c:82:1: warning: old-style function definition [-Wold-style-definition] 82 | _rl_scxt_alloc (type, flags) | ^~~~~~~~~~~~~~ isearch.c: In function ‘_rl_scxt_dispose’: isearch.c:124:1: warning: old-style function definition [-Wold-style-definition] 124 | _rl_scxt_dispose (cxt, flags) | ^~~~~~~~~~~~~~~~ isearch.c: In function ‘rl_reverse_search_history’: isearch.c:138:1: warning: old-style function definition [-Wold-style-definition] 138 | rl_reverse_search_history (sign, key) | ^~~~~~~~~~~~~~~~~~~~~~~~~ isearch.c: In function ‘rl_forward_search_history’: isearch.c:147:1: warning: old-style function definition [-Wold-style-definition] 147 | rl_forward_search_history (sign, key) | ^~~~~~~~~~~~~~~~~~~~~~~~~ isearch.c: In function ‘rl_display_search’: isearch.c:159:1: warning: old-style function definition [-Wold-style-definition] 159 | rl_display_search (search_string, flags, where) | ^~~~~~~~~~~~~~~~~ isearch.c: In function ‘_rl_isearch_init’: isearch.c:210:1: warning: old-style function definition [-Wold-style-definition] 210 | _rl_isearch_init (direction) | ^~~~~~~~~~~~~~~~ isearch.c: In function ‘_rl_isearch_fini’: isearch.c:271:1: warning: old-style function definition [-Wold-style-definition] 271 | _rl_isearch_fini (cxt) | ^~~~~~~~~~~~~~~~ isearch.c: In function ‘_rl_search_getchar’: isearch.c:310:1: warning: old-style function definition [-Wold-style-definition] 310 | _rl_search_getchar (cxt) | ^~~~~~~~~~~~~~~~~~ isearch.c: In function ‘_rl_isearch_dispatch’: isearch.c:338:1: warning: old-style function definition [-Wold-style-definition] 338 | _rl_isearch_dispatch (cxt, c) | ^~~~~~~~~~~~~~~~~~~~ isearch.c: In function ‘_rl_isearch_cleanup’: isearch.c:720:1: warning: old-style function definition [-Wold-style-definition] 720 | _rl_isearch_cleanup (cxt, r) | ^~~~~~~~~~~~~~~~~~~ isearch.c: In function ‘rl_search_history’: isearch.c:739:1: warning: old-style function definition [-Wold-style-definition] 739 | rl_search_history (direction, invoking_key) | ^~~~~~~~~~~~~~~~~ isearch.c:743:7: warning: variable ‘c’ set but not used [-Wunused-but-set-variable=] 743 | int c, r; | ^ isearch.c: In function ‘_rl_isearch_callback’: isearch.c:778:1: warning: old-style function definition [-Wold-style-definition] 778 | _rl_isearch_callback (cxt) | ^~~~~~~~~~~~~~~~~~~~ isearch.c:781:7: warning: variable ‘c’ set but not used [-Wunused-but-set-variable=] 781 | int c, r; | ^ rm -f vi_mode.o gcc -c -DHAVE_CONFIG_H -I/usr/include/ncurses -I. -I. -DRL_LIBRARY_VERSION='"6.3"' -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer vi_mode.c vi_mode.c: In function ‘_rl_vi_set_last’: vi_mode.c:169:1: warning: old-style function definition [-Wold-style-definition] 169 | _rl_vi_set_last (key, repeat, sign) | ^~~~~~~~~~~~~~~ vi_mode.c: In function ‘rl_vi_start_inserting’: vi_mode.c:180:1: warning: old-style function definition [-Wold-style-definition] 180 | rl_vi_start_inserting (key, repeat, sign) | ^~~~~~~~~~~~~~~~~~~~~ vi_mode.c: In function ‘_rl_vi_textmod_command’: vi_mode.c:189:1: warning: old-style function definition [-Wold-style-definition] 189 | _rl_vi_textmod_command (c) | ^~~~~~~~~~~~~~~~~~~~~~ vi_mode.c: In function ‘_rl_vi_replace_insert’: vi_mode.c:196:1: warning: old-style function definition [-Wold-style-definition] 196 | _rl_vi_replace_insert (count) | ^~~~~~~~~~~~~~~~~~~~~ vi_mode.c: In function ‘_rl_vi_stuff_insert’: vi_mode.c:212:1: warning: old-style function definition [-Wold-style-definition] 212 | _rl_vi_stuff_insert (count) | ^~~~~~~~~~~~~~~~~~~ vi_mode.c: In function ‘rl_vi_redo’: vi_mode.c:225:1: warning: old-style function definition [-Wold-style-definition] 225 | rl_vi_redo (count, c) | ^~~~~~~~~~ vi_mode.c: In function ‘rl_vi_undo’: vi_mode.c:290:1: warning: old-style function definition [-Wold-style-definition] 290 | rl_vi_undo (count, key) | ^~~~~~~~~~ vi_mode.c: In function ‘rl_vi_yank_arg’: vi_mode.c:298:1: warning: old-style function definition [-Wold-style-definition] 298 | rl_vi_yank_arg (count, key) | ^~~~~~~~~~~~~~ vi_mode.c: In function ‘rl_vi_fetch_history’: vi_mode.c:314:1: warning: old-style function definition [-Wold-style-definition] 314 | rl_vi_fetch_history (count, c) | ^~~~~~~~~~~~~~~~~~~ vi_mode.c: In function ‘rl_vi_search_again’: vi_mode.c:339:1: warning: old-style function definition [-Wold-style-definition] 339 | rl_vi_search_again (count, key) | ^~~~~~~~~~~~~~~~~~ vi_mode.c: In function ‘rl_vi_search’: vi_mode.c:357:1: warning: old-style function definition [-Wold-style-definition] 357 | rl_vi_search (count, key) | ^~~~~~~~~~~~ vi_mode.c: In function ‘rl_vi_complete’: vi_mode.c:381:1: warning: old-style function definition [-Wold-style-definition] 381 | rl_vi_complete (ignore, key) | ^~~~~~~~~~~~~~ vi_mode.c: In function ‘rl_vi_tilde_expand’: vi_mode.c:408:1: warning: old-style function definition [-Wold-style-definition] 408 | rl_vi_tilde_expand (ignore, key) | ^~~~~~~~~~~~~~~~~~ vi_mode.c: In function ‘rl_vi_prev_word’: vi_mode.c:418:1: warning: old-style function definition [-Wold-style-definition] 418 | rl_vi_prev_word (count, key) | ^~~~~~~~~~~~~~~ vi_mode.c: In function ‘rl_vi_next_word’: vi_mode.c:440:1: warning: old-style function definition [-Wold-style-definition] 440 | rl_vi_next_word (count, key) | ^~~~~~~~~~~~~~~ vi_mode.c: In function ‘rl_vi_end_word’: vi_mode.c:461:1: warning: old-style function definition [-Wold-style-definition] 461 | rl_vi_end_word (count, key) | ^~~~~~~~~~~~~~ vi_mode.c: In function ‘rl_vi_fWord’: vi_mode.c:479:1: warning: old-style function definition [-Wold-style-definition] 479 | rl_vi_fWord (count, ignore) | ^~~~~~~~~~~ vi_mode.c: In function ‘rl_vi_bWord’: vi_mode.c:496:1: warning: old-style function definition [-Wold-style-definition] 496 | rl_vi_bWord (count, ignore) | ^~~~~~~~~~~ vi_mode.c: In function ‘rl_vi_eWord’: vi_mode.c:520:1: warning: old-style function definition [-Wold-style-definition] 520 | rl_vi_eWord (count, ignore) | ^~~~~~~~~~~ vi_mode.c: In function ‘rl_vi_fword’: vi_mode.c:551:1: warning: old-style function definition [-Wold-style-definition] 551 | rl_vi_fword (count, ignore) | ^~~~~~~~~~~ vi_mode.c: In function ‘rl_vi_bword’: vi_mode.c:577:1: warning: old-style function definition [-Wold-style-definition] 577 | rl_vi_bword (count, ignore) | ^~~~~~~~~~~ vi_mode.c: In function ‘rl_vi_eword’: vi_mode.c:616:1: warning: old-style function definition [-Wold-style-definition] 616 | rl_vi_eword (count, ignore) | ^~~~~~~~~~~ vi_mode.c: In function ‘rl_vi_insert_beg’: vi_mode.c:641:1: warning: old-style function definition [-Wold-style-definition] 641 | rl_vi_insert_beg (count, key) | ^~~~~~~~~~~~~~~~ vi_mode.c: In function ‘_rl_vi_append_forward’: vi_mode.c:650:1: warning: old-style function definition [-Wold-style-definition] 650 | _rl_vi_append_forward (key) | ^~~~~~~~~~~~~~~~~~~~~ vi_mode.c: In function ‘rl_vi_append_mode’: vi_mode.c:674:1: warning: old-style function definition [-Wold-style-definition] 674 | rl_vi_append_mode (count, key) | ^~~~~~~~~~~~~~~~~ vi_mode.c: In function ‘rl_vi_append_eol’: vi_mode.c:683:1: warning: old-style function definition [-Wold-style-definition] 683 | rl_vi_append_eol (count, key) | ^~~~~~~~~~~~~~~~ vi_mode.c: In function ‘rl_vi_eof_maybe’: vi_mode.c:693:1: warning: old-style function definition [-Wold-style-definition] 693 | rl_vi_eof_maybe (count, c) | ^~~~~~~~~~~~~~~ vi_mode.c: In function ‘rl_vi_insertion_mode’: vi_mode.c:704:1: warning: old-style function definition [-Wold-style-definition] 704 | rl_vi_insertion_mode (count, key) | ^~~~~~~~~~~~~~~~~~~~ vi_mode.c: In function ‘rl_vi_insert_mode’: vi_mode.c:715:1: warning: old-style function definition [-Wold-style-definition] 715 | rl_vi_insert_mode (count, key) | ^~~~~~~~~~~~~~~~~ vi_mode.c: In function ‘vi_save_insert_buffer’: vi_mode.c:723:1: warning: old-style function definition [-Wold-style-definition] 723 | vi_save_insert_buffer (start, len) | ^~~~~~~~~~~~~~~~~~~~~ vi_mode.c: In function ‘_rl_vi_save_insert’: vi_mode.c:760:1: warning: old-style function definition [-Wold-style-definition] 760 | _rl_vi_save_insert (up) | ^~~~~~~~~~~~~~~~~~ vi_mode.c: In function ‘rl_vi_movement_mode’: vi_mode.c:815:1: warning: old-style function definition [-Wold-style-definition] 815 | rl_vi_movement_mode (count, key) | ^~~~~~~~~~~~~~~~~~~ vi_mode.c: In function ‘rl_vi_arg_digit’: vi_mode.c:837:1: warning: old-style function definition [-Wold-style-definition] 837 | rl_vi_arg_digit (count, c) | ^~~~~~~~~~~~~~~ vi_mode.c: In function ‘_rl_vi_change_mbchar_case’: vi_mode.c:849:1: warning: old-style function definition [-Wold-style-definition] 849 | _rl_vi_change_mbchar_case (count) | ^~~~~~~~~~~~~~~~~~~~~~~~~ vi_mode.c: In function ‘rl_vi_change_case’: vi_mode.c:903:1: warning: old-style function definition [-Wold-style-definition] 903 | rl_vi_change_case (count, ignore) | ^~~~~~~~~~~~~~~~~ vi_mode.c: In function ‘rl_vi_put’: vi_mode.c:950:1: warning: old-style function definition [-Wold-style-definition] 950 | rl_vi_put (count, key) | ^~~~~~~~~ vi_mode.c: In function ‘rl_vi_column’: vi_mode.c:986:1: warning: old-style function definition [-Wold-style-definition] 986 | rl_vi_column (count, key) | ^~~~~~~~~~~~ vi_mode.c: In function ‘_rl_vi_arg_dispatch’: vi_mode.c:1000:1: warning: old-style function definition [-Wold-style-definition] 1000 | _rl_vi_arg_dispatch (c) | ^~~~~~~~~~~~~~~~~~~ vi_mode.c: In function ‘_rl_mvcxt_init’: vi_mode.c:1056:1: warning: old-style function definition [-Wold-style-definition] 1056 | _rl_mvcxt_init (m, op, key) | ^~~~~~~~~~~~~~ vi_mode.c: In function ‘_rl_mvcxt_alloc’: vi_mode.c:1071:1: warning: old-style function definition [-Wold-style-definition] 1071 | _rl_mvcxt_alloc (op, key) | ^~~~~~~~~~~~~~~ vi_mode.c: In function ‘_rl_mvcxt_dispose’: vi_mode.c:1082:1: warning: old-style function definition [-Wold-style-definition] 1082 | _rl_mvcxt_dispose (m) | ^~~~~~~~~~~~~~~~~ vi_mode.c: In function ‘rl_domove_motion_callback’: vi_mode.c:1089:1: warning: old-style function definition [-Wold-style-definition] 1089 | rl_domove_motion_callback (m) | ^~~~~~~~~~~~~~~~~~~~~~~~~ vi_mode.c:1092:10: warning: unused variable ‘save’ [-Wunused-variable] 1092 | int c, save, r; | ^~~~ vi_mode.c: In function ‘rl_domove_read_callback’: vi_mode.c:1160:1: warning: old-style function definition [-Wold-style-definition] 1160 | rl_domove_read_callback (m) | ^~~~~~~~~~~~~~~~~~~~~~~ vi_mode.c: In function ‘rl_vi_domove_getchar’: vi_mode.c:1227:1: warning: old-style function definition [-Wold-style-definition] 1227 | rl_vi_domove_getchar (m) | ^~~~~~~~~~~~~~~~~~~~ vi_mode.c: In function ‘_rl_vi_domove_callback’: vi_mode.c:1241:1: warning: old-style function definition [-Wold-style-definition] 1241 | _rl_vi_domove_callback (m) | ^~~~~~~~~~~~~~~~~~~~~~ vi_mode.c: In function ‘rl_vi_domove’: vi_mode.c:1257:1: warning: old-style function definition [-Wold-style-definition] 1257 | rl_vi_domove (x, ignore) | ^~~~~~~~~~~~ vi_mode.c:1260:7: warning: unused variable ‘r’ [-Wunused-variable] 1260 | int r; | ^ vi_mode.c: In function ‘vi_delete_dispatch’: vi_mode.c:1276:1: warning: old-style function definition [-Wold-style-definition] 1276 | vi_delete_dispatch (m) | ^~~~~~~~~~~~~~~~~~ vi_mode.c: In function ‘rl_vi_delete_to’: vi_mode.c:1290:1: warning: old-style function definition [-Wold-style-definition] 1290 | rl_vi_delete_to (count, key) | ^~~~~~~~~~~~~~~ vi_mode.c: In function ‘vi_change_dispatch’: vi_mode.c:1340:1: warning: old-style function definition [-Wold-style-definition] 1340 | vi_change_dispatch (m) | ^~~~~~~~~~~~~~~~~~ vi_mode.c: In function ‘rl_vi_change_to’: vi_mode.c:1380:1: warning: old-style function definition [-Wold-style-definition] 1380 | rl_vi_change_to (count, key) | ^~~~~~~~~~~~~~~ vi_mode.c: In function ‘vi_yank_dispatch’: vi_mode.c:1430:1: warning: old-style function definition [-Wold-style-definition] 1430 | vi_yank_dispatch (m) | ^~~~~~~~~~~~~~~~ vi_mode.c: In function ‘rl_vi_yank_to’: vi_mode.c:1449:1: warning: old-style function definition [-Wold-style-definition] 1449 | rl_vi_yank_to (count, key) | ^~~~~~~~~~~~~ vi_mode.c: In function ‘vidomove_dispatch’: vi_mode.c:1499:1: warning: old-style function definition [-Wold-style-definition] 1499 | vidomove_dispatch (m) | ^~~~~~~~~~~~~~~~~ vi_mode.c: In function ‘rl_vi_rubout’: vi_mode.c:1526:1: warning: old-style function definition [-Wold-style-definition] 1526 | rl_vi_rubout (count, key) | ^~~~~~~~~~~~ vi_mode.c: In function ‘rl_vi_delete’: vi_mode.c:1557:1: warning: old-style function definition [-Wold-style-definition] 1557 | rl_vi_delete (count, key) | ^~~~~~~~~~~~ vi_mode.c: In function ‘rl_vi_back_to_indent’: vi_mode.c:1588:1: warning: old-style function definition [-Wold-style-definition] 1588 | rl_vi_back_to_indent (count, key) | ^~~~~~~~~~~~~~~~~~~~ vi_mode.c: In function ‘rl_vi_first_print’: vi_mode.c:1598:1: warning: old-style function definition [-Wold-style-definition] 1598 | rl_vi_first_print (count, key) | ^~~~~~~~~~~~~~~~~ vi_mode.c: In function ‘_rl_vi_callback_char_search’: vi_mode.c:1608:1: warning: old-style function definition [-Wold-style-definition] 1608 | _rl_vi_callback_char_search (data) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ vi_mode.c: In function ‘rl_vi_char_search’: vi_mode.c:1639:1: warning: old-style function definition [-Wold-style-definition] 1639 | rl_vi_char_search (count, key) | ^~~~~~~~~~~~~~~~~ vi_mode.c: In function ‘rl_vi_match’: vi_mode.c:1731:1: warning: old-style function definition [-Wold-style-definition] 1731 | rl_vi_match (ignore, key) | ^~~~~~~~~~~ vi_mode.c: In function ‘rl_vi_bracktype’: vi_mode.c:1821:1: warning: old-style function definition [-Wold-style-definition] 1821 | rl_vi_bracktype (c) | ^~~~~~~~~~~~~~~ vi_mode.c: In function ‘_rl_vi_change_char’: vi_mode.c:1837:1: warning: old-style function definition [-Wold-style-definition] 1837 | _rl_vi_change_char (count, c, mb) | ^~~~~~~~~~~~~~~~~~ vi_mode.c: In function ‘_rl_vi_callback_getchar’: vi_mode.c:1870:1: warning: old-style function definition [-Wold-style-definition] 1870 | _rl_vi_callback_getchar (mb, mlen) | ^~~~~~~~~~~~~~~~~~~~~~~ vi_mode.c: In function ‘_rl_vi_callback_change_char’: vi_mode.c:1893:1: warning: old-style function definition [-Wold-style-definition] 1893 | _rl_vi_callback_change_char (data) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ vi_mode.c: In function ‘rl_vi_change_char’: vi_mode.c:1912:1: warning: old-style function definition [-Wold-style-definition] 1912 | rl_vi_change_char (count, key) | ^~~~~~~~~~~~~~~~~ vi_mode.c: In function ‘rl_vi_subst’: vi_mode.c:1942:1: warning: old-style function definition [-Wold-style-definition] 1942 | rl_vi_subst (count, key) | ^~~~~~~~~~~ vi_mode.c: In function ‘rl_vi_overstrike’: vi_mode.c:1953:1: warning: old-style function definition [-Wold-style-definition] 1953 | rl_vi_overstrike (count, key) | ^~~~~~~~~~~~~~~~ vi_mode.c: In function ‘rl_vi_overstrike_delete’: vi_mode.c:1972:1: warning: old-style function definition [-Wold-style-definition] 1972 | rl_vi_overstrike_delete (count, key) | ^~~~~~~~~~~~~~~~~~~~~~~ vi_mode.c: In function ‘rl_vi_replace’: vi_mode.c:2003:1: warning: old-style function definition [-Wold-style-definition] 2003 | rl_vi_replace (count, key) | ^~~~~~~~~~~~~ vi_mode.c: In function ‘_rl_vi_callback_set_mark’: vi_mode.c:2095:1: warning: old-style function definition [-Wold-style-definition] 2095 | _rl_vi_callback_set_mark (data) | ^~~~~~~~~~~~~~~~~~~~~~~~ vi_mode.c: In function ‘rl_vi_set_mark’: vi_mode.c:2106:1: warning: old-style function definition [-Wold-style-definition] 2106 | rl_vi_set_mark (count, key) | ^~~~~~~~~~~~~~ vi_mode.c: In function ‘_rl_vi_callback_goto_mark’: vi_mode.c:2153:1: warning: old-style function definition [-Wold-style-definition] 2153 | _rl_vi_callback_goto_mark (data) | ^~~~~~~~~~~~~~~~~~~~~~~~~ vi_mode.c: In function ‘rl_vi_goto_mark’: vi_mode.c:2164:1: warning: old-style function definition [-Wold-style-definition] 2164 | rl_vi_goto_mark (count, key) | ^~~~~~~~~~~~~~~ rm -f complete.o gcc -c -DHAVE_CONFIG_H -I/usr/include/ncurses -I. -I. -DRL_LIBRARY_VERSION='"6.3"' -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer complete.c complete.c: In function ‘rl_complete’: complete.c:421:1: warning: old-style function definition [-Wold-style-definition] 421 | rl_complete (ignore, invoking_key) | ^~~~~~~~~~~ complete.c: In function ‘rl_possible_completions’: complete.c:440:1: warning: old-style function definition [-Wold-style-definition] 440 | rl_possible_completions (ignore, invoking_key) | ^~~~~~~~~~~~~~~~~~~~~~~ complete.c: In function ‘rl_insert_completions’: complete.c:448:1: warning: old-style function definition [-Wold-style-definition] 448 | rl_insert_completions (ignore, invoking_key) | ^~~~~~~~~~~~~~~~~~~~~ complete.c: In function ‘rl_completion_mode’: complete.c:461:1: warning: old-style function definition [-Wold-style-definition] 461 | rl_completion_mode (cfunc) | ^~~~~~~~~~~~~~~~~~ complete.c: In function ‘_rl_complete_sigcleanup’: complete.c:489:1: warning: old-style function definition [-Wold-style-definition] 489 | _rl_complete_sigcleanup (sig, ptr) | ^~~~~~~~~~~~~~~~~~~~~~~ complete.c: In function ‘set_completion_defaults’: complete.c:500:1: warning: old-style function definition [-Wold-style-definition] 500 | set_completion_defaults (what_to_do) | ^~~~~~~~~~~~~~~~~~~~~~~ complete.c: In function ‘get_y_or_n’: complete.c:516:1: warning: old-style function definition [-Wold-style-definition] 516 | get_y_or_n (for_pager) | ^~~~~~~~~~ complete.c: In function ‘_rl_internal_pager’: complete.c:550:1: warning: old-style function definition [-Wold-style-definition] 550 | _rl_internal_pager (lines) | ^~~~~~~~~~~~~~~~~~ complete.c: In function ‘path_isdir’: complete.c:568:1: warning: old-style function definition [-Wold-style-definition] 568 | path_isdir (filename) | ^~~~~~~~~~ complete.c: In function ‘stat_char’: complete.c:586:1: warning: old-style function definition [-Wold-style-definition] 586 | stat_char (filename) | ^~~~~~~~~ complete.c: In function ‘colored_stat_start’: complete.c:656:1: warning: old-style function definition [-Wold-style-definition] 656 | colored_stat_start (filename) | ^~~~~~~~~~~~~~~~~~ complete.c: In function ‘printable_part’: complete.c:680:1: warning: old-style function definition [-Wold-style-definition] 680 | printable_part (pathname) | ^~~~~~~~~~~~~~ complete.c: In function ‘fnwidth’: complete.c:713:1: warning: old-style function definition [-Wold-style-definition] 713 | fnwidth (string) | ^~~~~~~ complete.c: In function ‘fnprint’: complete.c:766:1: warning: old-style function definition [-Wold-style-definition] 766 | fnprint (to_print, prefix_bytes) | ^~~~~~~ complete.c: In function ‘print_filename’: complete.c:859:1: warning: old-style function definition [-Wold-style-definition] 859 | print_filename (to_print, full_pathname, prefix_bytes) | ^~~~~~~~~~~~~~ complete.c: In function ‘rl_quote_filename’: complete.c:986:1: warning: old-style function definition [-Wold-style-definition] 986 | rl_quote_filename (s, rtype, qcp) | ^~~~~~~~~~~~~~~~~ complete.c: In function ‘_rl_find_completion_word’: complete.c:1017:1: warning: old-style function definition [-Wold-style-definition] 1017 | _rl_find_completion_word (fp, dp) | ^~~~~~~~~~~~~~~~~~~~~~~~ complete.c:1089:14: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 1089 | while (rl_point = MB_PREVCHAR (rl_line_buffer, rl_point, MB_FIND_ANY)) | ^~~~~~~~ complete.c: In function ‘gen_completion_matches’: complete.c:1150:1: warning: old-style function definition [-Wold-style-definition] 1150 | gen_completion_matches (text, start, end, our_func, found_quote, quote_char) | ^~~~~~~~~~~~~~~~~~~~~~ complete.c: In function ‘remove_duplicate_matches’: complete.c:1198:1: warning: old-style function definition [-Wold-style-definition] 1198 | remove_duplicate_matches (matches) | ^~~~~~~~~~~~~~~~~~~~~~~~ complete.c: In function ‘compute_lcd_of_matches’: complete.c:1259:1: warning: old-style function definition [-Wold-style-definition] 1259 | compute_lcd_of_matches (match_list, matches, text) | ^~~~~~~~~~~~~~~~~~~~~~ complete.c: In function ‘postprocess_matches’: complete.c:1418:1: warning: old-style function definition [-Wold-style-definition] 1418 | postprocess_matches (matchesp, matching_filenames) | ^~~~~~~~~~~~~~~~~~~ complete.c: In function ‘rl_display_match_list’: complete.c:1495:1: warning: old-style function definition [-Wold-style-definition] 1495 | rl_display_match_list (matches, len, max) | ^~~~~~~~~~~~~~~~~~~~~ complete.c: In function ‘display_matches’: complete.c:1621:1: warning: old-style function definition [-Wold-style-definition] 1621 | display_matches (matches) | ^~~~~~~~~~~~~~~ complete.c: In function ‘make_quoted_replacement’: complete.c:1689:1: warning: old-style function definition [-Wold-style-definition] 1689 | make_quoted_replacement (match, mtype, qc) | ^~~~~~~~~~~~~~~~~~~~~~~ complete.c: In function ‘insert_match’: complete.c:1734:1: warning: old-style function definition [-Wold-style-definition] 1734 | insert_match (match, start, mtype, qc) | ^~~~~~~~~~~~ complete.c: In function ‘append_to_match’: complete.c:1794:1: warning: old-style function definition [-Wold-style-definition] 1794 | append_to_match (text, delimiter, quote_char, nontrivial_match) | ^~~~~~~~~~~~~~~ complete.c: In function ‘insert_all_matches’: complete.c:1863:1: warning: old-style function definition [-Wold-style-definition] 1863 | insert_all_matches (matches, point, qc) | ^~~~~~~~~~~~~~~~~~ complete.c: In function ‘_rl_free_match_list’: complete.c:1902:1: warning: old-style function definition [-Wold-style-definition] 1902 | _rl_free_match_list (matches) | ^~~~~~~~~~~~~~~~~~~ complete.c: In function ‘rl_complete_internal’: complete.c:1925:1: warning: old-style function definition [-Wold-style-definition] 1925 | rl_complete_internal (what_to_do) | ^~~~~~~~~~~~~~~~~~~~ complete.c: In function ‘rl_completion_matches’: complete.c:2100:1: warning: old-style function definition [-Wold-style-definition] 2100 | rl_completion_matches (text, entry_function) | ^~~~~~~~~~~~~~~~~~~~~ complete.c:2123:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 2123 | while (string = (*entry_function) (text, matches)) | ^~~~~~ complete.c: In function ‘rl_username_completion_function’: complete.c:2170:1: warning: old-style function definition [-Wold-style-definition] 2170 | rl_username_completion_function (text, state) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ complete.c:2197:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 2197 | while (entry = getpwent ()) | ^~~~~ complete.c: In function ‘complete_fncmp’: complete.c:2234:1: warning: old-style function definition [-Wold-style-definition] 2234 | complete_fncmp (convfn, convlen, filename, filename_len) | ^~~~~~~~~~~~~~ complete.c: In function ‘rl_filename_completion_function’: complete.c:2366:1: warning: old-style function definition [-Wold-style-definition] 2366 | rl_filename_completion_function (text, state) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ complete.c: In function ‘rl_old_menu_complete’: complete.c:2593:1: warning: old-style function definition [-Wold-style-definition] 2593 | rl_old_menu_complete (count, invoking_key) | ^~~~~~~~~~~~~~~~~~~~ complete.c: In function ‘rl_menu_complete’: complete.c:2716:1: warning: old-style function definition [-Wold-style-definition] 2716 | rl_menu_complete (count, ignore) | ^~~~~~~~~~~~~~~~ complete.c:2730:25: warning: unused variable ‘cstate’ [-Wunused-variable] 2730 | static int delimiter, cstate; | ^~~~~~ complete.c: In function ‘rl_backward_menu_complete’: complete.c:2889:1: warning: old-style function definition [-Wold-style-definition] 2889 | rl_backward_menu_complete (count, key) | ^~~~~~~~~~~~~~~~~~~~~~~~~ complete.c: In function ‘print_filename’: complete.c:978:22: warning: ‘printed_len’ may be used uninitialized [-Wmaybe-uninitialized] 978 | printed_len++; | ~~~~~~~~~~~^~ complete.c:863:7: note: ‘printed_len’ was declared here 863 | int printed_len, extension_char, slen, tlen; | ^~~~~~~~~~~ complete.c: In function ‘rl_complete_internal’: complete.c:2009:14: warning: ‘tlen’ may be used uninitialized [-Wmaybe-uninitialized] 2009 | if (mlen >= tlen) | ^ complete.c:1934:7: note: ‘tlen’ was declared here 1934 | int tlen, mlen; | ^~~~ rm -f bind.o gcc -c -DHAVE_CONFIG_H -I/usr/include/ncurses -I. -I. -DRL_LIBRARY_VERSION='"6.3"' -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer bind.c bind.c: In function ‘rl_add_defun’: bind.c:103:1: warning: old-style function definition [-Wold-style-definition] 103 | rl_add_defun (name, function, key) | ^~~~~~~~~~~~ bind.c: In function ‘rl_bind_key’: bind.c:116:1: warning: old-style function definition [-Wold-style-definition] 116 | rl_bind_key (key, function) | ^~~~~~~~~~~ bind.c: In function ‘rl_bind_key_in_map’: bind.c:147:1: warning: old-style function definition [-Wold-style-definition] 147 | rl_bind_key_in_map (key, function, map) | ^~~~~~~~~~~~~~~~~~ bind.c: In function ‘rl_bind_key_if_unbound_in_map’: bind.c:166:1: warning: old-style function definition [-Wold-style-definition] 166 | rl_bind_key_if_unbound_in_map (key, default_func, kmap) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bind.c: In function ‘rl_bind_key_if_unbound’: bind.c:179:1: warning: old-style function definition [-Wold-style-definition] 179 | rl_bind_key_if_unbound (key, default_func) | ^~~~~~~~~~~~~~~~~~~~~~ bind.c: In function ‘rl_unbind_key’: bind.c:193:1: warning: old-style function definition [-Wold-style-definition] 193 | rl_unbind_key (key) | ^~~~~~~~~~~~~ bind.c: In function ‘rl_unbind_key_in_map’: bind.c:202:1: warning: old-style function definition [-Wold-style-definition] 202 | rl_unbind_key_in_map (key, map) | ^~~~~~~~~~~~~~~~~~~~ bind.c: In function ‘rl_unbind_function_in_map’: bind.c:211:1: warning: old-style function definition [-Wold-style-definition] 211 | rl_unbind_function_in_map (func, map) | ^~~~~~~~~~~~~~~~~~~~~~~~~ bind.c: In function ‘rl_unbind_command_in_map’: bind.c:229:1: warning: old-style function definition [-Wold-style-definition] 229 | rl_unbind_command_in_map (command, map) | ^~~~~~~~~~~~~~~~~~~~~~~~ bind.c: In function ‘rl_bind_keyseq’: bind.c:245:1: warning: old-style function definition [-Wold-style-definition] 245 | rl_bind_keyseq (keyseq, function) | ^~~~~~~~~~~~~~ bind.c: In function ‘rl_bind_keyseq_in_map’: bind.c:256:1: warning: old-style function definition [-Wold-style-definition] 256 | rl_bind_keyseq_in_map (keyseq, function, map) | ^~~~~~~~~~~~~~~~~~~~~ bind.c: In function ‘rl_set_key’: bind.c:266:1: warning: old-style function definition [-Wold-style-definition] 266 | rl_set_key (keyseq, function, map) | ^~~~~~~~~~ bind.c: In function ‘rl_bind_keyseq_if_unbound_in_map’: bind.c:278:1: warning: old-style function definition [-Wold-style-definition] 278 | rl_bind_keyseq_if_unbound_in_map (keyseq, default_func, kmap) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bind.c: In function ‘rl_bind_keyseq_if_unbound’: bind.c:301:1: warning: old-style function definition [-Wold-style-definition] 301 | rl_bind_keyseq_if_unbound (keyseq, default_func) | ^~~~~~~~~~~~~~~~~~~~~~~~~ bind.c: In function ‘rl_macro_bind’: bind.c:312:1: warning: old-style function definition [-Wold-style-definition] 312 | rl_macro_bind (keyseq, macro, map) | ^~~~~~~~~~~~~ bind.c: In function ‘rl_generic_bind’: bind.c:336:1: warning: old-style function definition [-Wold-style-definition] 336 | rl_generic_bind (type, keyseq, data, map) | ^~~~~~~~~~~~~~~ bind.c: In function ‘rl_translate_keyseq’: bind.c:448:1: warning: old-style function definition [-Wold-style-definition] 448 | rl_translate_keyseq (seq, array, len) | ^~~~~~~~~~~~~~~~~~~ bind.c:455:19: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 455 | for (i = l = 0; c = seq[i]; i++) | ^ bind.c: In function ‘_rl_isescape’: bind.c:575:1: warning: old-style function definition [-Wold-style-definition] 575 | _rl_isescape (c) | ^~~~~~~~~~~~ bind.c: In function ‘_rl_escchar’: bind.c:592:1: warning: old-style function definition [-Wold-style-definition] 592 | _rl_escchar (c) | ^~~~~~~~~~~ bind.c: In function ‘rl_untranslate_keyseq’: bind.c:609:1: warning: old-style function definition [-Wold-style-definition] 609 | rl_untranslate_keyseq (seq) | ^~~~~~~~~~~~~~~~~~~~~ bind.c: In function ‘_rl_untranslate_macro_value’: bind.c:660:1: warning: old-style function definition [-Wold-style-definition] 660 | _rl_untranslate_macro_value (seq, use_escapes) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ bind.c: In function ‘rl_named_function’: bind.c:721:1: warning: old-style function definition [-Wold-style-definition] 721 | rl_named_function (string) | ^~~~~~~~~~~~~~~~~ bind.c: In function ‘rl_function_of_keyseq’: bind.c:740:1: warning: old-style function definition [-Wold-style-definition] 740 | rl_function_of_keyseq (keyseq, map, type) | ^~~~~~~~~~~~~~~~~~~~~ bind.c: In function ‘_rl_read_file’: bind.c:814:1: warning: old-style function definition [-Wold-style-definition] 814 | _rl_read_file (filename, sizep) | ^~~~~~~~~~~~~ bind.c: In function ‘rl_re_read_init_file’: bind.c:861:1: warning: old-style function definition [-Wold-style-definition] 861 | rl_re_read_init_file (count, ignore) | ^~~~~~~~~~~~~~~~~~~~ bind.c: In function ‘rl_read_init_file’: bind.c:879:1: warning: old-style function definition [-Wold-style-definition] 879 | rl_read_init_file (filename) | ^~~~~~~~~~~~~~~~~ bind.c: In function ‘_rl_read_init_file’: bind.c:905:1: warning: old-style function definition [-Wold-style-definition] 905 | _rl_read_init_file (filename, include_level) | ^~~~~~~~~~~~~~~~~~ bind.c: In function ‘_rl_init_file_error’: bind.c:973:1: warning: old-style function definition [-Wold-style-definition] 973 | _rl_init_file_error (msg) | ^~~~~~~~~~~~~~~~~~~ bind.c: In function ‘parser_if’: bind.c:1013:1: warning: old-style function definition [-Wold-style-definition] 1013 | parser_if (args) | ^~~~~~~~~ bind.c: In function ‘parser_else’: bind.c:1086:1: warning: old-style function definition [-Wold-style-definition] 1086 | parser_else (args) | ^~~~~~~~~~~ bind.c: In function ‘parser_endif’: bind.c:1117:1: warning: old-style function definition [-Wold-style-definition] 1117 | parser_endif (args) | ^~~~~~~~~~~~ bind.c: In function ‘parser_include’: bind.c:1128:1: warning: old-style function definition [-Wold-style-definition] 1128 | parser_include (args) | ^~~~~~~~~~~~~~ bind.c: In function ‘handle_parser_directive’: bind.c:1169:1: warning: old-style function definition [-Wold-style-definition] 1169 | handle_parser_directive (statement) | ^~~~~~~~~~~~~~~~~~~~~~~ bind.c: In function ‘_rl_skip_to_delim’: bind.c:1207:1: warning: old-style function definition [-Wold-style-definition] 1207 | _rl_skip_to_delim (string, start, delim) | ^~~~~~~~~~~~~~~~~ bind.c:1213:29: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 1213 | for (i = start,passc = 0; c = string[i]; i++) | ^ bind.c: In function ‘rl_parse_and_bind’: bind.c:1241:1: warning: old-style function definition [-Wold-style-definition] 1241 | rl_parse_and_bind (string) | ^~~~~~~~~~~~~~~~~ bind.c:1300:11: warning: unused variable ‘s’ [-Wunused-variable] 1300 | int s; | ^ bind.c: In function ‘find_boolean_var’: bind.c:1517:1: warning: old-style function definition [-Wold-style-definition] 1517 | find_boolean_var (name) | ^~~~~~~~~~~~~~~~ bind.c: In function ‘hack_special_boolean_var’: bind.c:1532:1: warning: old-style function definition [-Wold-style-definition] 1532 | hack_special_boolean_var (i) | ^~~~~~~~~~~~~~~~~~~~~~~~ bind.c: In function ‘find_string_var’: bind.c:1596:1: warning: old-style function definition [-Wold-style-definition] 1596 | find_string_var (name) | ^~~~~~~~~~~~~~~ bind.c: In function ‘bool_to_int’: bind.c:1611:1: warning: old-style function definition [-Wold-style-definition] 1611 | bool_to_int (value) | ^~~~~~~~~~~ bind.c: In function ‘rl_variable_value’: bind.c:1620:1: warning: old-style function definition [-Wold-style-definition] 1620 | rl_variable_value (name) | ^~~~~~~~~~~~~~~~~ bind.c: In function ‘rl_variable_bind’: bind.c:1639:1: warning: old-style function definition [-Wold-style-definition] 1639 | rl_variable_bind (name, value) | ^~~~~~~~~~~~~~~~ bind.c: In function ‘sv_editmode’: bind.c:1667:1: warning: old-style function definition [-Wold-style-definition] 1667 | sv_editmode (value) | ^~~~~~~~~~~ bind.c: In function ‘sv_combegin’: bind.c:1688:1: warning: old-style function definition [-Wold-style-definition] 1688 | sv_combegin (value) | ^~~~~~~~~~~ bind.c: In function ‘sv_dispprefix’: bind.c:1701:1: warning: old-style function definition [-Wold-style-definition] 1701 | sv_dispprefix (value) | ^~~~~~~~~~~~~ bind.c: In function ‘sv_compquery’: bind.c:1717:1: warning: old-style function definition [-Wold-style-definition] 1717 | sv_compquery (value) | ^~~~~~~~~~~~ bind.c: In function ‘sv_compwidth’: bind.c:1733:1: warning: old-style function definition [-Wold-style-definition] 1733 | sv_compwidth (value) | ^~~~~~~~~~~~ bind.c: In function ‘sv_histsize’: bind.c:1746:1: warning: old-style function definition [-Wold-style-definition] 1746 | sv_histsize (value) | ^~~~~~~~~~~ bind.c: In function ‘sv_keymap’: bind.c:1766:1: warning: old-style function definition [-Wold-style-definition] 1766 | sv_keymap (value) | ^~~~~~~~~ bind.c: In function ‘sv_seqtimeout’: bind.c:1781:1: warning: old-style function definition [-Wold-style-definition] 1781 | sv_seqtimeout (value) | ^~~~~~~~~~~~~ bind.c: In function ‘sv_bell_style’: bind.c:1798:1: warning: old-style function definition [-Wold-style-definition] 1798 | sv_bell_style (value) | ^~~~~~~~~~~~~ bind.c: In function ‘sv_isrchterm’: bind.c:1815:1: warning: old-style function definition [-Wold-style-definition] 1815 | sv_isrchterm (value) | ^~~~~~~~~~~~ bind.c: In function ‘glean_key_from_name’: bind.c:1874:1: warning: old-style function definition [-Wold-style-definition] 1874 | glean_key_from_name (name) | ^~~~~~~~~~~~~~~~~~~ bind.c: In function ‘rl_get_keymap_by_name’: bind.c:1905:1: warning: old-style function definition [-Wold-style-definition] 1905 | rl_get_keymap_by_name (name) | ^~~~~~~~~~~~~~~~~~~~~ bind.c: In function ‘rl_get_keymap_name’: bind.c:1917:1: warning: old-style function definition [-Wold-style-definition] 1917 | rl_get_keymap_name (map) | ^~~~~~~~~~~~~~~~~~ bind.c: In function ‘rl_set_keymap’: bind.c:1928:1: warning: old-style function definition [-Wold-style-definition] 1928 | rl_set_keymap (map) | ^~~~~~~~~~~~~ bind.c: In function ‘_rl_get_keyname’: bind.c:1995:1: warning: old-style function definition [-Wold-style-definition] 1995 | _rl_get_keyname (key) | ^~~~~~~~~~~~~~~ bind.c: In function ‘rl_invoking_keyseqs_in_map’: bind.c:2071:1: warning: old-style function definition [-Wold-style-definition] 2071 | rl_invoking_keyseqs_in_map (function, map) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ bind.c: In function ‘rl_invoking_keyseqs’: bind.c:2180:1: warning: old-style function definition [-Wold-style-definition] 2180 | rl_invoking_keyseqs (function) | ^~~~~~~~~~~~~~~~~~~ bind.c: In function ‘rl_function_dumper’: bind.c:2190:1: warning: old-style function definition [-Wold-style-definition] 2190 | rl_function_dumper (print_readably) | ^~~~~~~~~~~~~~~~~~ bind.c:2201:15: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 2201 | for (i = 0; name = names[i]; i++) | ^~~~ bind.c: In function ‘rl_dump_functions’: bind.c:2262:1: warning: old-style function definition [-Wold-style-definition] 2262 | rl_dump_functions (count, key) | ^~~~~~~~~~~~~~~~~ bind.c: In function ‘_rl_macro_dumper_internal’: bind.c:2273:1: warning: old-style function definition [-Wold-style-definition] 2273 | _rl_macro_dumper_internal (print_readably, map, prefix) | ^~~~~~~~~~~~~~~~~~~~~~~~~ bind.c: In function ‘rl_macro_dumper’: bind.c:2335:1: warning: old-style function definition [-Wold-style-definition] 2335 | rl_macro_dumper (print_readably) | ^~~~~~~~~~~~~~~ bind.c: In function ‘rl_dump_macros’: bind.c:2342:1: warning: old-style function definition [-Wold-style-definition] 2342 | rl_dump_macros (count, key) | ^~~~~~~~~~~~~~ bind.c: In function ‘_rl_get_string_variable_value’: bind.c:2353:1: warning: old-style function definition [-Wold-style-definition] 2353 | _rl_get_string_variable_value (name) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bind.c: In function ‘rl_variable_dumper’: bind.c:2428:1: warning: old-style function definition [-Wold-style-definition] 2428 | rl_variable_dumper (print_readably) | ^~~~~~~~~~~~~~~~~~ bind.c: In function ‘rl_dump_variables’: bind.c:2460:1: warning: old-style function definition [-Wold-style-definition] 2460 | rl_dump_variables (count, key) | ^~~~~~~~~~~~~~~~~ bind.c: In function ‘substring_member_of_array’: bind.c:2472:1: warning: old-style function definition [-Wold-style-definition] 2472 | substring_member_of_array (string, array) | ^~~~~~~~~~~~~~~~~~~~~~~~~ rm -f display.o gcc -c -DHAVE_CONFIG_H -I/usr/include/ncurses -I. -I. -DRL_LIBRARY_VERSION='"6.3"' -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=rva23u64 -mabi=lp64d -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer display.c display.c: In function ‘expand_prompt’: display.c:274:1: warning: old-style function definition [-Wold-style-definition] 274 | expand_prompt (pmt, lp, lip, niflp, vlp) | ^~~~~~~~~~~~~ display.c: In function ‘_rl_strip_prompt’: display.c:399:1: warning: old-style function definition [-Wold-style-definition] 399 | _rl_strip_prompt (pmt) | ^~~~~~~~~~~~~~~~ display.c: In function ‘rl_expand_prompt’: display.c:432:1: warning: old-style function definition [-Wold-style-definition] 432 | rl_expand_prompt (prompt) | ^~~~~~~~~~~~~~~~ display.c: In function ‘init_line_structures’: display.c:489:1: warning: old-style function definition [-Wold-style-definition] 489 | init_line_structures (minsize) | ^~~~~~~~~~~~~~~~~~~~ display.c: In function ‘update_line’: display.c:1316:1: warning: old-style function definition [-Wold-style-definition] 1316 | update_line (old, new, current_line, omax, nmax, inv_botlin) | ^~~~~~~~~~~ display.c:1321:39: warning: unused variable ‘twidth’ [-Wunused-variable] 1321 | int temp, lendiff, wsatend, od, nd, twidth, o_cpos; | ^~~~~~ display.c: In function ‘_rl_move_cursor_relative’: display.c:1985:1: warning: old-style function definition [-Wold-style-definition] 1985 | _rl_move_cursor_relative (new, data) | ^~~~~~~~~~~~~~~~~~~~~~~~ display.c: In function ‘_rl_move_vert’: display.c:2128:1: warning: old-style function definition [-Wold-style-definition] 2128 | _rl_move_vert (to) | ^~~~~~~~~~~~~ display.c: In function ‘rl_show_char’: display.c:2169:1: warning: old-style function definition [-Wold-style-definition] 2169 | rl_show_char (c) | ^~~~~~~~~~~~ display.c: In function ‘rl_character_len’: display.c:2197:1: warning: old-style function definition [-Wold-style-definition] 2197 | rl_character_len (c, pos) | ^~~~~~~~~~~~~~~~ display.c: In function ‘_rl_make_prompt_for_search’: display.c:2396:1: warning: old-style function definition [-Wold-style-definition] 2396 | _rl_make_prompt_for_search (pchar) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ display.c: In function ‘_rl_erase_at_end_of_line’: display.c:2435:1: warning: old-style function definition [-Wold-style-definition] 2435 | _rl_erase_at_end_of_line (l) | ^~~~~~~~~~~~~~~~~~~~~~~~ display.c: In function ‘_rl_clear_to_eol’: display.c:2452:1: warning: old-style function definition [-Wold-style-definition] 2452 | _rl_clear_to_eol (count) | ^~~~~~~~~~~~~~~~ display.c: In function ‘space_to_eol’: display.c:2467:1: warning: old-style function definition [-Wold-style-definition] 2467 | space_to_eol (count) | ^~~~~~~~~~~~ display.c: In function ‘insert_some_chars’: display.c:2494:1: warning: old-style function definition [-Wold-style-definition] 2494 | insert_some_chars (string, count, col) | ^~~~~~~~~~~~~~~~~ display.c: In function ‘open_some_spaces’: display.c:2506:1: warning: old-style function definition [-Wold-style-definition] 2506 | open_some_spaces (col) | ^~~~~~~~~~~~~~~~ display.c: In function ‘delete_chars’: display.c:2543:1: warning: old-style function definition [-Wold-style-definition] 2543 | delete_chars (count) | ^~~~~~~~~~~~ display.c: In function ‘redraw_prompt’: display.c:2616:1: warning: old-style function definition [-Wold-style-definition] 2616 | redraw_prompt (t) | ^~~~~~~~~~~~~ display.c: In function ‘_rl_col_width’: display.c:2733:1: warning: old-style function definition [-Wold-style-definition] 2733 | _rl_col_width (str, start, end, flags) | ^~~~~~~~~~~~~ display.c: At top level: display.c:2494:1: warning: ‘insert_some_chars’ defined but not used [-Wunused-function] 2494 | insert_some_chars (string, count, col) | ^~~~~~~~~~~~~~~~~ display.c: In function ‘rl_redisplay’: display.c:647:7: warning: ‘__builtin_strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] 647 | strncpy (line + out, prompt_this_line, pmtlen); | ^ display.c:639:40: note: length computed here 639 | prompt_physical_chars = pmtlen = strlen (prompt_this_line); | ^~~~~~~~~~~~~~~~~~~~~~~~~ In function ‘_rl_col_width’, inlined from ‘rl_redisplay’ at display.c:761:10: display.c:2741:6: warning: ‘n0’ may be used uninitialized [-Wmaybe-uninitialized] 2741 | if (end <= start) | ^ display.c: In function ‘rl_redisplay’: display.c:544:29: note: ‘n0’ was declared here 544 | int newlines, lpos, temp, n0, num, prompt_lines_estimate; | ^~ display.c:908:42: warning: ‘wc_width’ may be used uninitialized [-Wmaybe-uninitialized] 908 | if (_rl_screenwidth < lpos + wc_width) | ~~~~~^~~~~~~~~~ display.c:549:7: note: ‘wc_width’ was declared here 549 | int wc_width; | ^~~~~~~~ RPM build errors: error: Bad exit status from /var/tmp/rpm-tmp.HnpyoS (%build) Bad exit status from /var/tmp/rpm-tmp.HnpyoS (%build) Child return code was: 1 EXCEPTION: [Error('Command failed: \n # /usr/bin/systemd-nspawn -q -M d258717eeaf34191beb73e4d20f0ffc0 -D /var/lib/mock/f45-build-47140-864/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv.e8y75i94:/etc/resolv.conf --bind=/dev/btrfs-control --bind=/dev/mapper/control --bind=/dev/fuse --bind=/dev/loop-control --bind=/dev/loop0 --bind=/dev/loop1 --bind=/dev/loop2 --bind=/dev/loop3 --bind=/dev/loop4 --bind=/dev/loop5 --bind=/dev/loop6 --bind=/dev/loop7 --bind=/dev/loop8 --bind=/dev/loop9 --bind=/dev/loop10 --bind=/dev/loop11 --console=pipe --setenv=TERM=vt100 --setenv=SHELL=/bin/bash --setenv=HOME=/builddir --setenv=HOSTNAME=mock --setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin \'--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"\' \'--setenv=PS1= \\s-\\v\\$ \' --setenv=LANG=C.UTF-8 --resolv-conf=off bash --login -c \'/usr/bin/rpmbuild -bb --noclean --target riscv64 --nodeps /builddir/build/SPECS/compat-readline6.spec\'\n', 1)] Traceback (most recent call last): File "/usr/lib/python3.14/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.14/site-packages/mockbuild/util.py", line 610, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (cmd_pretty(command, env), output), child.returncode) mockbuild.exception.Error: Command failed: # /usr/bin/systemd-nspawn -q -M d258717eeaf34191beb73e4d20f0ffc0 -D /var/lib/mock/f45-build-47140-864/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv.e8y75i94:/etc/resolv.conf --bind=/dev/btrfs-control --bind=/dev/mapper/control --bind=/dev/fuse --bind=/dev/loop-control --bind=/dev/loop0 --bind=/dev/loop1 --bind=/dev/loop2 --bind=/dev/loop3 --bind=/dev/loop4 --bind=/dev/loop5 --bind=/dev/loop6 --bind=/dev/loop7 --bind=/dev/loop8 --bind=/dev/loop9 --bind=/dev/loop10 --bind=/dev/loop11 --console=pipe --setenv=TERM=vt100 --setenv=SHELL=/bin/bash --setenv=HOME=/builddir --setenv=HOSTNAME=mock --setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin '--setenv=PROMPT_COMMAND=printf "\033]0;\007"' '--setenv=PS1= \s-\v\$ ' --setenv=LANG=C.UTF-8 --resolv-conf=off bash --login -c '/usr/bin/rpmbuild -bb --noclean --target riscv64 --nodeps /builddir/build/SPECS/compat-readline6.spec'