Mock Version: 6.0 Mock Version: 6.0 Mock Version: 6.0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target ppc64le --nodeps /builddir/build/SPECS/compat-readline5.spec'], chrootPath='/var/lib/mock/f42-build-56848773-6546649/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=201600uid=1000gid=425user='mockbuild'unshare_net=TrueprintOutput=Falsenspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.1v6rwoim:/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.1v6rwoim:/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', '66ca89add3944b8da5067ddb4e160ad3', '-D', '/var/lib/mock/f42-build-56848773-6546649/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.1v6rwoim:/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 ppc64le --nodeps /builddir/build/SPECS/compat-readline5.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: ppc64le Building for target ppc64le setting SOURCE_DATE_EPOCH=1721174400 Wrote: /builddir/build/SRPMS/compat-readline5-5.2-49.fc42.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target ppc64le --nodeps /builddir/build/SPECS/compat-readline5.spec'], chrootPath='/var/lib/mock/f42-build-56848773-6546649/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=201600uid=1000gid=425user='mockbuild'unshare_net=TrueprintOutput=Falsenspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.1v6rwoim:/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.1v6rwoim:/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', '453a7a70f1fa404dadfa63a6945a2bbd', '-D', '/var/lib/mock/f42-build-56848773-6546649/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.1v6rwoim:/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 ppc64le --nodeps /builddir/build/SPECS/compat-readline5.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: ppc64le Building for target ppc64le setting SOURCE_DATE_EPOCH=1721174400 Executing(%mkbuilddir): /bin/sh -e /var/tmp/rpm-tmp.HyapnG + umask 022 + cd /builddir/build/BUILD/compat-readline5-5.2-build + test -d /builddir/build/BUILD/compat-readline5-5.2-build + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /builddir/build/BUILD/compat-readline5-5.2-build + /usr/bin/rm -rf /builddir/build/BUILD/compat-readline5-5.2-build + /usr/bin/mkdir -p /builddir/build/BUILD/compat-readline5-5.2-build + /usr/bin/mkdir -p /builddir/build/BUILD/compat-readline5-5.2-build/SPECPARTS + RPM_EC=0 ++ jobs -p + exit 0 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.aX232R + umask 022 + cd /builddir/build/BUILD/compat-readline5-5.2-build + cd /builddir/build/BUILD/compat-readline5-5.2-build + rm -rf readline-5.2 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/readline-5.2.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd readline-5.2 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . Patch #1 (readline52-001): + echo 'Patch #1 (readline52-001):' + /usr/bin/patch --no-backup-if-mismatch -f -p0 -b --suffix .001 --fuzz=0 patching file display.c Patch #2 (readline52-002): + echo 'Patch #2 (readline52-002):' + /usr/bin/patch --no-backup-if-mismatch -f -p0 -b --suffix .002 --fuzz=0 patching file display.c Patch #3 (readline52-003): + echo 'Patch #3 (readline52-003):' + /usr/bin/patch --no-backup-if-mismatch -f -p0 -b --suffix .003 --fuzz=0 patching file display.c Patch #4 (readline52-004): + echo 'Patch #4 (readline52-004):' + /usr/bin/patch --no-backup-if-mismatch -f -p0 -b --suffix .004 --fuzz=0 patching file display.c Patch #5 (readline52-005): + echo 'Patch #5 (readline52-005):' + /usr/bin/patch --no-backup-if-mismatch -f -p0 -b --suffix .005 --fuzz=0 patching file complete.c patching file input.c patching file isearch.c patching file misc.c patching file readline.c patching file text.c patching file vi_mode.c Patch #6 (readline52-006): + echo 'Patch #6 (readline52-006):' + /usr/bin/patch --no-backup-if-mismatch -f -p0 -b --suffix .006 --fuzz=0 patching file display.c Patch #7 (readline52-007): + echo 'Patch #7 (readline52-007):' + /usr/bin/patch --no-backup-if-mismatch -f -p0 -b --suffix .007 --fuzz=0 patching file input.c Patch #8 (readline52-008): + echo 'Patch #8 (readline52-008):' + /usr/bin/patch --no-backup-if-mismatch -f -p0 -b --suffix .008 --fuzz=0 patching file display.c Patch #9 (readline52-009): + echo 'Patch #9 (readline52-009):' + /usr/bin/patch --no-backup-if-mismatch -f -p0 -b --suffix .009 --fuzz=0 patching file display.c Patch #10 (readline52-010): + echo 'Patch #10 (readline52-010):' + /usr/bin/patch --no-backup-if-mismatch -f -p0 -b --suffix .010 --fuzz=0 patching file display.c Hunk #1 succeeded at 1570 (offset 4 lines). Patch #11 (readline52-011): + echo 'Patch #11 (readline52-011):' + /usr/bin/patch --no-backup-if-mismatch -f -p0 -b --suffix .011 --fuzz=0 patching file input.c Patch #12 (readline52-013): + echo 'Patch #12 (readline52-013):' + /usr/bin/patch --no-backup-if-mismatch -f -p0 -b --suffix .013 --fuzz=0 patching file display.c Patch #13 (readline52-014): + echo 'Patch #13 (readline52-014):' + /usr/bin/patch --no-backup-if-mismatch -f -p0 -b --suffix .014 --fuzz=0 patching file mbutil.c Patch #20 (readline-5.2-shlib.patch): + echo 'Patch #20 (readline-5.2-shlib.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .shlib --fuzz=0 patching file support/shlib-install patching file support/shobj-conf patching file shlib/Makefile.in Patch #21 (readline-5.2-redisplay-sigint.patch): + echo 'Patch #21 (readline-5.2-redisplay-sigint.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .redisplay-sigint --fuzz=0 patching file display.c Hunk #2 succeeded at 1194 (offset 10 lines). patching file rltty.c patching file rltty.h Patch #22 (readline-5.2-config.patch): + echo 'Patch #22 (readline-5.2-config.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file aclocal.m4 Hunk #1 succeeded at 1292 (offset -15 lines). patching file configure Hunk #1 succeeded at 5385 (offset 356 lines). Patch #23 (compat-readline5-wcwidth.patch): + echo 'Patch #23 (compat-readline5-wcwidth.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file complete.c patching file display.c patching file mbutil.c Patch #24 (compat-readline5-configure-c99.patch): + echo 'Patch #24 (compat-readline5-configure-c99.patch):' + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file aclocal.m4 patching file configure + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.ZP1gl4 + umask 022 + cd /builddir/build/BUILD/compat-readline5-5.2-build + CFLAGS='-O2 -flto=auto -ffat-lto-objects -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 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-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 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -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 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -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 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -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-5.2 + export CPPFLAGS=-I/usr/include/ncurses + CPPFLAGS=-I/usr/include/ncurses + CFLAGS='-O2 -flto=auto -ffat-lto-objects -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 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-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 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -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 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -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 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -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 + '[' '-flto=auto -ffat-lto-objectsx' '!=' x ']' ++ find . -type f -name configure -print + for file in $(find . -type f -name configure -print) + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\) = /__attribute__ ((used)) char (*f) () = /g' ./examples/rlfe/configure + diff -u ./examples/rlfe/configure.backup ./examples/rlfe/configure --- ./examples/rlfe/configure.backup 2004-11-05 01:23:11.000000000 +0000 +++ ./examples/rlfe/configure 2025-01-30 07:38:44.632236655 +0000 @@ -3579,7 +3579,7 @@ #if defined (__stub_$ac_func) || defined (__stub___$ac_func) choke me #else -char (*f) () = $ac_func; +__attribute__ ((used)) char (*f) () = $ac_func; #endif #ifdef __cplusplus } @@ -3683,7 +3683,7 @@ #if defined (__stub_$ac_func) || defined (__stub___$ac_func) choke me #else -char (*f) () = $ac_func; +__attribute__ ((used)) char (*f) () = $ac_func; #endif #ifdef __cplusplus } + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\);/__attribute__ ((used)) char (*f) ();/g' ./examples/rlfe/configure + diff -u ./examples/rlfe/configure.backup ./examples/rlfe/configure + mv ./examples/rlfe/configure.backup ./examples/rlfe/configure + /usr/bin/sed -r --in-place=.backup 's/^char \$2 \(\);/__attribute__ ((used)) char \$2 ();/g' ./examples/rlfe/configure + diff -u ./examples/rlfe/configure.backup ./examples/rlfe/configure + mv ./examples/rlfe/configure.backup ./examples/rlfe/configure + /usr/bin/sed --in-place=.backup '1{$!N;$!N};$!N;s/int x = 1;\nint y = 0;\nint z;\nint nan;/volatile int x = 1; volatile int y = 0; volatile int z, nan;/;P;D' ./examples/rlfe/configure + diff -u ./examples/rlfe/configure.backup ./examples/rlfe/configure + mv ./examples/rlfe/configure.backup ./examples/rlfe/configure + /usr/bin/sed --in-place=.backup 's#^lt_cv_sys_global_symbol_to_cdecl=.*#lt_cv_sys_global_symbol_to_cdecl="sed -n -e '\''s/^T .* \\(.*\\)$/extern int \\1();/p'\'' -e '\''s/^$symcode* .* \\(.*\\)$/extern char \\1;/p'\''"#' ./examples/rlfe/configure + diff -u ./examples/rlfe/configure.backup ./examples/rlfe/configure + mv ./examples/rlfe/configure.backup ./examples/rlfe/configure + for file in $(find . -type f -name configure -print) + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\) = /__attribute__ ((used)) char (*f) () = /g' ./configure + diff -u ./configure.backup ./configure --- ./configure.backup 2025-01-30 07:38:44.612237397 +0000 +++ ./configure 2025-01-30 07:38:44.692234428 +0000 @@ -4355,7 +4355,7 @@ #if defined (__stub_$ac_func) || defined (__stub___$ac_func) choke me #else -char (*f) () = $ac_func; +__attribute__ ((used)) char (*f) () = $ac_func; #endif #ifdef __cplusplus } @@ -4466,7 +4466,7 @@ #if defined (__stub_$ac_func) || defined (__stub___$ac_func) choke me #else -char (*f) () = $ac_func; +__attribute__ ((used)) char (*f) () = $ac_func; #endif #ifdef __cplusplus } @@ -4569,7 +4569,7 @@ #if defined (__stub_$ac_func) || defined (__stub___$ac_func) choke me #else -char (*f) () = $ac_func; +__attribute__ ((used)) char (*f) () = $ac_func; #endif #ifdef __cplusplus } @@ -4673,7 +4673,7 @@ #if defined (__stub_$ac_func) || defined (__stub___$ac_func) choke me #else -char (*f) () = $ac_func; +__attribute__ ((used)) char (*f) () = $ac_func; #endif #ifdef __cplusplus } @@ -6495,7 +6495,7 @@ #if defined (__stub_tgetent) || defined (__stub___tgetent) choke me #else -char (*f) () = tgetent; +__attribute__ ((used)) char (*f) () = tgetent; #endif #ifdef __cplusplus } @@ -7356,7 +7356,7 @@ #if defined (__stub_mbsrtowcs) || defined (__stub___mbsrtowcs) choke me #else -char (*f) () = mbsrtowcs; +__attribute__ ((used)) char (*f) () = mbsrtowcs; #endif #ifdef __cplusplus } @@ -7453,7 +7453,7 @@ #if defined (__stub_mbrlen) || defined (__stub___mbrlen) choke me #else -char (*f) () = mbrlen; +__attribute__ ((used)) char (*f) () = mbrlen; #endif #ifdef __cplusplus } @@ -7551,7 +7551,7 @@ #if defined (__stub_wcrtomb) || defined (__stub___wcrtomb) choke me #else -char (*f) () = wcrtomb; +__attribute__ ((used)) char (*f) () = wcrtomb; #endif #ifdef __cplusplus } @@ -7648,7 +7648,7 @@ #if defined (__stub_wcscoll) || defined (__stub___wcscoll) choke me #else -char (*f) () = wcscoll; +__attribute__ ((used)) char (*f) () = wcscoll; #endif #ifdef __cplusplus } @@ -7745,7 +7745,7 @@ #if defined (__stub_wcsdup) || defined (__stub___wcsdup) choke me #else -char (*f) () = wcsdup; +__attribute__ ((used)) char (*f) () = wcsdup; #endif #ifdef __cplusplus } @@ -7842,7 +7842,7 @@ #if defined (__stub_wcwidth) || defined (__stub___wcwidth) choke me #else -char (*f) () = wcwidth; +__attribute__ ((used)) char (*f) () = wcwidth; #endif #ifdef __cplusplus } @@ -7939,7 +7939,7 @@ #if defined (__stub_wctype) || defined (__stub___wctype) choke me #else -char (*f) () = wctype; +__attribute__ ((used)) char (*f) () = wctype; #endif #ifdef __cplusplus } @@ -8115,7 +8115,7 @@ #if defined (__stub_$ac_func) || defined (__stub___$ac_func) choke me #else -char (*f) () = $ac_func; +__attribute__ ((used)) char (*f) () = $ac_func; #endif #ifdef __cplusplus } + /usr/bin/sed -r --in-place=.backup 's/^char \(\*f\) \(\);/__attribute__ ((used)) char (*f) ();/g' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed -r --in-place=.backup 's/^char \$2 \(\);/__attribute__ ((used)) char \$2 ();/g' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed --in-place=.backup '1{$!N;$!N};$!N;s/int x = 1;\nint y = 0;\nint z;\nint nan;/volatile int x = 1; volatile int y = 0; volatile int z, nan;/;P;D' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + /usr/bin/sed --in-place=.backup 's#^lt_cv_sys_global_symbol_to_cdecl=.*#lt_cv_sys_global_symbol_to_cdecl="sed -n -e '\''s/^T .* \\(.*\\)$/extern int \\1();/p'\'' -e '\''s/^$symcode* .* \\(.*\\)$/extern char \\1;/p'\''"#' ./configure + diff -u ./configure.backup ./configure + mv ./configure.backup ./configure + '[' 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' ']' ++ find . -name ltmain.sh ++ grep -q runstatedir=DIR ./configure + ./configure --build=ppc64le-redhat-linux-gnu --host=ppc64le-redhat-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 checking build system type... powerpc64le-redhat-linux-gnu checking host system type... powerpc64le-redhat-linux-gnu Beginning configuration for readline-5.2 for powerpc64le-redhat-linux-gnu checking whether make sets $(MAKE)... yes checking for ppc64le-redhat-linux-gnu-gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ANSI C... none needed checking how to run the C preprocessor... gcc -E checking for egrep... grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking minix/config.h usability... no checking minix/config.h presence... no checking for minix/config.h... no checking whether gcc needs -traditional... no checking for a BSD-compatible install... /usr/bin/install -c checking for ar... ar checking for ppc64le-redhat-linux-gnu-ranlib... no checking for ranlib... ranlib checking for an ANSI C-conforming const... yes checking for function prototypes... yes checking whether char is unsigned... yes checking return type of signal handlers... int checking for size_t... yes checking for ssize_t... yes checking for ANSI C header files... (cached) yes checking whether stat file-mode macros are broken... no checking for dirent.h that defines DIR... yes checking for library containing opendir... none required checking for fcntl... yes checking for kill... yes checking for lstat... yes checking for memmove... yes checking for putenv... yes checking for select... yes checking for setenv... yes checking for setlocale... yes checking for strcasecmp... yes checking for strpbrk... yes checking for tcgetattr... yes checking for vsnprintf... yes checking for isascii... yes checking for isxdigit... yes checking for getpwent... yes checking for getpwnam... yes checking for getpwuid... yes checking for working strcoll... yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking for unistd.h... (cached) yes checking for stdlib.h... (cached) yes checking varargs.h usability... no checking varargs.h presence... no checking for varargs.h... no checking stdarg.h usability... yes checking stdarg.h presence... yes checking for stdarg.h... yes checking for string.h... (cached) yes checking for strings.h... (cached) yes checking limits.h usability... yes checking limits.h presence... yes checking for limits.h... yes checking locale.h usability... yes checking locale.h presence... yes checking for locale.h... yes checking pwd.h usability... yes checking pwd.h presence... yes checking for pwd.h... yes checking for memory.h... (cached) yes checking termcap.h usability... yes checking termcap.h presence... yes checking for termcap.h... yes checking termios.h usability... yes checking termios.h presence... yes checking for termios.h... yes checking termio.h usability... yes checking termio.h presence... yes checking for termio.h... yes checking sys/pte.h usability... no checking sys/pte.h presence... no checking for sys/pte.h... no checking sys/stream.h usability... no checking sys/stream.h presence... no checking for sys/stream.h... no checking sys/select.h usability... yes checking sys/select.h presence... yes checking for sys/select.h... yes checking sys/file.h usability... yes checking sys/file.h presence... yes checking for sys/file.h... yes checking for sys/ptem.h... no checking for type of signal functions... posix checking if signal handlers must be reinstalled when invoked... 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 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 for tgetent... no checking for tgetent in -ltermcap... yes checking which library has the termcap functions... using libtermcap checking wctype.h usability... yes checking wctype.h presence... yes checking for wctype.h... yes checking wchar.h usability... yes checking wchar.h presence... yes checking for wchar.h... yes checking langinfo.h usability... yes checking langinfo.h presence... yes checking for langinfo.h... yes checking for mbsrtowcs... yes checking for mbrlen... yes checking for wcrtomb... yes checking for wcscoll... yes checking for wcsdup... yes checking for wcwidth... yes checking for wctype... yes checking whether mbrtowc and mbstate_t are properly declared... yes checking for iswlower... yes checking for iswupper... yes checking for towlower... yes checking for towupper... yes checking for iswctype... yes checking for nl_langinfo and CODESET... yes checking for wchar_t in wchar.h... yes checking for wctype_t in wctype.h... yes checking for wint_t in wctype.h... yes checking configuration for building shared libraries... supported configure: creating ./config.status config.status: creating Makefile config.status: creating doc/Makefile config.status: creating examples/Makefile config.status: creating shlib/Makefile config.status: creating config.h config.status: executing default commands + /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='"5.2"' -O2 -flto=auto -ffat-lto-objects -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 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection funmap.c funmap.c: In function ‘rl_add_funmap_entry’: funmap.c:193:1: warning: old-style function definition [-Wold-style-definition] 193 | rl_add_funmap_entry (name, function) | ^~~~~~~~~~~~~~~~~~~ rm -f keymaps.o gcc -c -DHAVE_CONFIG_H -I/usr/include/ncurses -I. -I. -DRL_LIBRARY_VERSION='"5.2"' -O2 -flto=auto -ffat-lto-objects -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 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection keymaps.c keymaps.c: In function ‘rl_copy_keymap’: keymaps.c:80:1: warning: old-style function definition [-Wold-style-definition] 80 | rl_copy_keymap (map) | ^~~~~~~~~~~~~~ keymaps.c: In function ‘rl_discard_keymap’: keymaps.c:125:1: warning: old-style function definition [-Wold-style-definition] 125 | rl_discard_keymap (map) | ^~~~~~~~~~~~~~~~~ rm -f parens.o gcc -c -DHAVE_CONFIG_H -I/usr/include/ncurses -I. -I. -DRL_LIBRARY_VERSION='"5.2"' -O2 -flto=auto -ffat-lto-objects -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 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection parens.c parens.c: In function ‘_rl_enable_paren_matching’: parens.c:80:1: warning: old-style function definition [-Wold-style-definition] 80 | _rl_enable_paren_matching (on_or_off) | ^~~~~~~~~~~~~~~~~~~~~~~~~ parens.c: In function ‘rl_set_paren_blink_timeout’: parens.c:98:1: warning: old-style function definition [-Wold-style-definition] 98 | rl_set_paren_blink_timeout (u) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ parens.c: In function ‘rl_insert_close’: parens.c:110:1: warning: old-style function definition [-Wold-style-definition] 110 | rl_insert_close (count, invoking_key) | ^~~~~~~~~~~~~~~ parens.c:118:36: warning: variable ‘ready’ set but not used [-Wunused-but-set-variable] 118 | int orig_point, match_point, ready; | ^~~~~ parens.c: In function ‘find_matching_open’: parens.c:149:1: warning: old-style function definition [-Wold-style-definition] 149 | find_matching_open (string, from, closer) | ^~~~~~~~~~~~~~~~~~ rm -f search.o gcc -c -DHAVE_CONFIG_H -I/usr/include/ncurses -I. -I. -DRL_LIBRARY_VERSION='"5.2"' -O2 -flto=auto -ffat-lto-objects -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 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection search.c search.c: In function ‘make_history_line_current’: search.c:89:1: warning: old-style function definition [-Wold-style-definition] 89 | make_history_line_current (entry) | ^~~~~~~~~~~~~~~~~~~~~~~~~ search.c: In function ‘noninc_search_from_pos’: search.c:114:1: warning: old-style function definition [-Wold-style-definition] 114 | noninc_search_from_pos (string, pos, dir) | ^~~~~~~~~~~~~~~~~~~~~~ search.c: In function ‘noninc_dosearch’: search.c:145:1: warning: old-style function definition [-Wold-style-definition] 145 | noninc_dosearch (string, dir) | ^~~~~~~~~~~~~~~ search.c: In function ‘_rl_nsearch_init’: search.c:189:1: warning: old-style function definition [-Wold-style-definition] 189 | _rl_nsearch_init (dir, pchar) | ^~~~~~~~~~~~~~~~ search.c:214:15: warning: too many arguments for format [-Wformat-extra-args] 214 | rl_message ("%s", p, 0); | ^~~~ search.c: In function ‘_rl_nsearch_cleanup’: search.c:225:1: warning: old-style function definition [-Wold-style-definition] 225 | _rl_nsearch_cleanup (cxt, r) | ^~~~~~~~~~~~~~~~~~~ search.c: In function ‘_rl_nsearch_abort’: search.c:238:1: warning: old-style function definition [-Wold-style-definition] 238 | _rl_nsearch_abort (cxt) | ^~~~~~~~~~~~~~~~~ search.c: In function ‘_rl_nsearch_dispatch’: search.c:254:1: warning: old-style function definition [-Wold-style-definition] 254 | _rl_nsearch_dispatch (cxt, c) | ^~~~~~~~~~~~~~~~~~~~ search.c: In function ‘_rl_nsearch_dosearch’: search.c:307:1: warning: old-style function definition [-Wold-style-definition] 307 | _rl_nsearch_dosearch (cxt) | ^~~~~~~~~~~~~~~~~~~~ search.c: In function ‘noninc_search’: search.c:350:1: warning: old-style function definition [-Wold-style-definition] 350 | noninc_search (dir, pchar) | ^~~~~~~~~~~~~ search.c: In function ‘rl_noninc_forward_search’: search.c:385:1: warning: old-style function definition [-Wold-style-definition] 385 | rl_noninc_forward_search (count, key) | ^~~~~~~~~~~~~~~~~~~~~~~~ search.c: In function ‘rl_noninc_reverse_search’: search.c:394:1: warning: old-style function definition [-Wold-style-definition] 394 | rl_noninc_reverse_search (count, key) | ^~~~~~~~~~~~~~~~~~~~~~~~ search.c: In function ‘rl_noninc_forward_search_again’: search.c:403:1: warning: old-style function definition [-Wold-style-definition] 403 | rl_noninc_forward_search_again (count, key) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ search.c: In function ‘rl_noninc_reverse_search_again’: search.c:420:1: warning: old-style function definition [-Wold-style-definition] 420 | rl_noninc_reverse_search_again (count, key) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ search.c: In function ‘_rl_nsearch_callback’: search.c:436:1: warning: old-style function definition [-Wold-style-definition] 436 | _rl_nsearch_callback (cxt) | ^~~~~~~~~~~~~~~~~~~~ search.c: In function ‘rl_history_search_internal’: search.c:452:1: warning: old-style function definition [-Wold-style-definition] 452 | rl_history_search_internal (count, dir) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ search.c: In function ‘rl_history_search_forward’: search.c:539:1: warning: old-style function definition [-Wold-style-definition] 539 | rl_history_search_forward (count, ignore) | ^~~~~~~~~~~~~~~~~~~~~~~~~ search.c: In function ‘rl_history_search_backward’: search.c:558:1: warning: old-style function definition [-Wold-style-definition] 558 | rl_history_search_backward (count, ignore) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ rm -f readline.o gcc -c -DHAVE_CONFIG_H -I/usr/include/ncurses -I. -I. -DRL_LIBRARY_VERSION='"5.2"' -O2 -flto=auto -ffat-lto-objects -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 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection readline.c readline.c: In function ‘rl_set_prompt’: readline.c:285:1: warning: old-style function definition [-Wold-style-definition] 285 | rl_set_prompt (prompt) | ^~~~~~~~~~~~~ readline.c: In function ‘readline’: readline.c:299:1: warning: old-style function definition [-Wold-style-definition] 299 | readline (prompt) | ^~~~~~~~ readline.c: In function ‘readline_internal_teardown’: readline.c:381:1: warning: old-style function definition [-Wold-style-definition] 381 | readline_internal_teardown (eof) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ readline.c: In function ‘readline_internal_char’: readline.c:450:21: warning: variable ‘eof_found’ set but not used [-Wunused-but-set-variable] 450 | static int lastc, eof_found; | ^~~~~~~~~ readline.c: In function ‘_rl_keyseq_cxt_dispose’: readline.c:595:1: warning: old-style function definition [-Wold-style-definition] 595 | _rl_keyseq_cxt_dispose (cxt) | ^~~~~~~~~~~~~~~~~~~~~~ readline.c: In function ‘_rl_subseq_getchar’: readline.c:616:1: warning: old-style function definition [-Wold-style-definition] 616 | _rl_subseq_getchar (key) | ^~~~~~~~~~~~~~~~~~ readline.c: In function ‘_rl_dispatch_callback’: readline.c:634:1: warning: old-style function definition [-Wold-style-definition] 634 | _rl_dispatch_callback (cxt) | ^~~~~~~~~~~~~~~~~~~~~ readline.c: In function ‘_rl_dispatch’: readline.c:687:1: warning: old-style function definition [-Wold-style-definition] 687 | _rl_dispatch (key, map) | ^~~~~~~~~~~~ readline.c: In function ‘_rl_dispatch_subseq’: readline.c:696:1: warning: old-style function definition [-Wold-style-definition] 696 | _rl_dispatch_subseq (key, map, got_subseq) | ^~~~~~~~~~~~~~~~~~~ readline.c: In function ‘_rl_subseq_result’: readline.c:861:1: warning: old-style function definition [-Wold-style-definition] 861 | _rl_subseq_result (r, map, key, got_subseq) | ^~~~~~~~~~~~~~~~~ readline.c: In function ‘bind_arrow_keys_internal’: readline.c:1094:1: warning: old-style function definition [-Wold-style-definition] 1094 | bind_arrow_keys_internal (map) | ^~~~~~~~~~~~~~~~~~~~~~~~ readline.c: In function ‘rl_save_state’: readline.c:1154:1: warning: old-style function definition [-Wold-style-definition] 1154 | rl_save_state (sp) | ^~~~~~~~~~~~~ readline.c: In function ‘rl_restore_state’: readline.c:1188:1: warning: old-style function definition [-Wold-style-definition] 1188 | rl_restore_state (sp) | ^~~~~~~~~~~~~~~~ readline.c: At top level: readline.c:1083:1: warning: ‘reset_default_bindings’ defined but not used [-Wunused-function] 1083 | reset_default_bindings () | ^~~~~~~~~~~~~~~~~~~~~~ rm -f signals.o gcc -c -DHAVE_CONFIG_H -I/usr/include/ncurses -I. -I. -DRL_LIBRARY_VERSION='"5.2"' -O2 -flto=auto -ffat-lto-objects -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 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection signals.c signals.c: In function ‘rl_signal_handler’: signals.c:116:1: warning: old-style function definition [-Wold-style-definition] 116 | rl_signal_handler (sig) | ^~~~~~~~~~~~~~~~~ signals.c: In function ‘rl_sigwinch_handler’: signals.c:200:1: warning: old-style function definition [-Wold-style-definition] 200 | rl_sigwinch_handler (sig) | ^~~~~~~~~~~~~~~~~~~ signals.c:221:6: error: too many arguments to function ‘oh’; expected 0, have 1 221 | (*oh) (sig); | ~^~~~ ~~~ signals.c: In function ‘rl_set_sighandler’: signals.c:245:1: warning: old-style function definition [-Wold-style-definition] 245 | rl_set_sighandler (sig, handler, ohandler) | ^~~~~~~~~~~~~~~~~ signals.c:254:18: error: assignment to ‘__sighandler_t’ {aka ‘void (*)(int)’} from incompatible pointer type ‘int (*)(void)’ [-Wincompatible-pointer-types] 254 | 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:266:62: warning: comparison of distinct pointer types lacks a cast [-Wcompare-distinct-pointer-types] 266 | if (handler != rl_signal_handler || old_handler.sa_handler != rl_signal_handler) | ^~ signals.c:269:21: error: returning ‘__sighandler_t’ {aka ‘void (*)(int)’} from a function with incompatible return type ‘int (*)(void)’ [-Wincompatible-pointer-types] 269 | 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:273:1: warning: old-style function definition [-Wold-style-definition] 273 | rl_maybe_set_sighandler (sig, handler, ohandler) | ^~~~~~~~~~~~~~~~~~~~~~~ make: *** [Makefile:95: signals.o] Error 1 make: *** Waiting for unfinished jobs.... rm -f rltty.o gcc -c -DHAVE_CONFIG_H -I/usr/include/ncurses -I. -I. -DRL_LIBRARY_VERSION='"5.2"' -O2 -flto=auto -ffat-lto-objects -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 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection rltty.c rltty.c: In function ‘set_winsize’: rltty.c:144:1: warning: old-style function definition [-Wold-style-definition] 144 | set_winsize (tty) | ^~~~~~~~~~~ rltty.c: In function ‘save_tty_chars’: rltty.c:418:1: warning: old-style function definition [-Wold-style-definition] 418 | save_tty_chars (tiop) | ^~~~~~~~~~~~~~ rltty.c: In function ‘_get_tty_settings’: rltty.c:485:1: warning: old-style function definition [-Wold-style-definition] 485 | _get_tty_settings (tty, tiop) | ^~~~~~~~~~~~~~~~~ rltty.c: In function ‘get_tty_settings’: rltty.c:518:1: warning: old-style function definition [-Wold-style-definition] 518 | get_tty_settings (tty, tiop) | ^~~~~~~~~~~~~~~~ rltty.c: In function ‘_set_tty_settings’: rltty.c:536:1: warning: old-style function definition [-Wold-style-definition] 536 | _set_tty_settings (tty, tiop) | ^~~~~~~~~~~~~~~~~ rltty.c: In function ‘set_tty_settings’: rltty.c:550:1: warning: old-style function definition [-Wold-style-definition] 550 | set_tty_settings (tty, tiop) | ^~~~~~~~~~~~~~~~ rltty.c: In function ‘prepare_terminal_settings’: rltty.c:579:1: warning: old-style function definition [-Wold-style-definition] 579 | prepare_terminal_settings (meta_flag, oldtio, tiop) | ^~~~~~~~~~~~~~~~~~~~~~~~~ rltty.c: In function ‘rl_prep_terminal’: rltty.c:656:1: warning: old-style function definition [-Wold-style-definition] 656 | rl_prep_terminal (meta_flag) | ^~~~~~~~~~~~~~~~ rltty.c: In function ‘rl_restart_output’: rltty.c:767:1: warning: old-style function definition [-Wold-style-definition] 767 | rl_restart_output (count, key) | ^~~~~~~~~~~~~~~~~ rltty.c: In function ‘rl_stop_output’: rltty.c:805:1: warning: old-style function definition [-Wold-style-definition] 805 | rl_stop_output (count, key) | ^~~~~~~~~~~~~~ rltty.c: In function ‘set_special_char’: rltty.c:890:1: warning: old-style function definition [-Wold-style-definition] 890 | set_special_char (kmap, tiop, sc, func) | ^~~~~~~~~~~~~~~~ rltty.c: In function ‘_rl_bind_tty_special_chars’: rltty.c:909:1: warning: old-style function definition [-Wold-style-definition] 909 | _rl_bind_tty_special_chars (kmap, ttybuff) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ rltty.c: In function ‘rltty_set_default_bindings’: rltty.c:930:1: warning: old-style function definition [-Wold-style-definition] 930 | rltty_set_default_bindings (kmap) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ rltty.c: In function ‘rl_tty_set_default_bindings’: rltty.c:947:1: warning: old-style function definition [-Wold-style-definition] 947 | rl_tty_set_default_bindings (kmap) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ rltty.c: In function ‘rl_tty_unset_default_bindings’: rltty.c:958:1: warning: old-style function definition [-Wold-style-definition] 958 | rl_tty_unset_default_bindings (kmap) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ rm -f isearch.o gcc -c -DHAVE_CONFIG_H -I/usr/include/ncurses -I. -I. -DRL_LIBRARY_VERSION='"5.2"' -O2 -flto=auto -ffat-lto-objects -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 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection isearch.c isearch.c: In function ‘_rl_scxt_alloc’: isearch.c:81:1: warning: old-style function definition [-Wold-style-definition] 81 | _rl_scxt_alloc (type, flags) | ^~~~~~~~~~~~~~ isearch.c: In function ‘_rl_scxt_dispose’: isearch.c:120:1: warning: old-style function definition [-Wold-style-definition] 120 | _rl_scxt_dispose (cxt, flags) | ^~~~~~~~~~~~~~~~ isearch.c: In function ‘rl_reverse_search_history’: isearch.c:134:1: warning: old-style function definition [-Wold-style-definition] 134 | rl_reverse_search_history (sign, key) | ^~~~~~~~~~~~~~~~~~~~~~~~~ isearch.c: In function ‘rl_forward_search_history’: isearch.c:143:1: warning: old-style function definition [-Wold-style-definition] 143 | rl_forward_search_history (sign, key) | ^~~~~~~~~~~~~~~~~~~~~~~~~ isearch.c: In function ‘rl_display_search’: isearch.c:155:1: warning: old-style function definition [-Wold-style-definition] 155 | rl_display_search (search_string, reverse_p, where) | ^~~~~~~~~~~~~~~~~ isearch.c: In function ‘_rl_isearch_init’: isearch.c:200:1: warning: old-style function definition [-Wold-style-definition] 200 | _rl_isearch_init (direction) | ^~~~~~~~~~~~~~~~ isearch.c: In function ‘_rl_isearch_fini’: isearch.c:261:1: warning: old-style function definition [-Wold-style-definition] 261 | _rl_isearch_fini (cxt) | ^~~~~~~~~~~~~~~~ isearch.c: In function ‘_rl_search_getchar’: isearch.c:300:1: warning: old-style function definition [-Wold-style-definition] 300 | _rl_search_getchar (cxt) | ^~~~~~~~~~~~~~~~~~ isearch.c: In function ‘_rl_isearch_dispatch’: isearch.c:322:1: warning: old-style function definition [-Wold-style-definition] 322 | _rl_isearch_dispatch (cxt, c) | ^~~~~~~~~~~~~~~~~~~~ isearch.c: In function ‘_rl_isearch_cleanup’: isearch.c:604:1: warning: old-style function definition [-Wold-style-definition] 604 | _rl_isearch_cleanup (cxt, r) | ^~~~~~~~~~~~~~~~~~~ isearch.c: In function ‘rl_search_history’: isearch.c:623:1: warning: old-style function definition [-Wold-style-definition] 623 | rl_search_history (direction, invoking_key) | ^~~~~~~~~~~~~~~~~ isearch.c:627:7: warning: variable ‘c’ set but not used [-Wunused-but-set-variable] 627 | int c, r; | ^ isearch.c: In function ‘_rl_isearch_callback’: isearch.c:662:1: warning: old-style function definition [-Wold-style-definition] 662 | _rl_isearch_callback (cxt) | ^~~~~~~~~~~~~~~~~~~~ isearch.c:665:7: warning: variable ‘c’ set but not used [-Wunused-but-set-variable] 665 | int c, r; | ^ rm -f util.o gcc -c -DHAVE_CONFIG_H -I/usr/include/ncurses -I. -I. -DRL_LIBRARY_VERSION='"5.2"' -O2 -flto=auto -ffat-lto-objects -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 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection 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_walphabetic’: util.c:84:1: warning: old-style function definition [-Wold-style-definition] 84 | _rl_walphabetic (wc) | ^~~~~~~~~~~~~~~ util.c: In function ‘rl_abort’: util.c:117:1: warning: old-style function definition [-Wold-style-definition] 117 | rl_abort (count, key) | ^~~~~~~~ util.c: In function ‘rl_tty_status’: util.c:124:1: warning: old-style function definition [-Wold-style-definition] 124 | rl_tty_status (count, key) | ^~~~~~~~~~~~~ util.c: In function ‘rl_copy_text’: util.c:139:1: warning: old-style function definition [-Wold-style-definition] 139 | rl_copy_text (from, to) | ^~~~~~~~~~~~ util.c: In function ‘rl_extend_line_buffer’: util.c:159:1: warning: old-style function definition [-Wold-style-definition] 159 | rl_extend_line_buffer (len) | ^~~~~~~~~~~~~~~~~~~~~ util.c: In function ‘rl_tilde_expand’: util.c:174:1: warning: old-style function definition [-Wold-style-definition] 174 | rl_tilde_expand (ignore, key) | ^~~~~~~~~~~~~~~ util.c: In function ‘_rl_strindex’: util.c:232:1: warning: old-style function definition [-Wold-style-definition] 232 | _rl_strindex (s1, s2) | ^~~~~~~~~~~~ util.c: In function ‘_rl_qsort_string_compare’: util.c:320:1: warning: old-style function definition [-Wold-style-definition] 320 | _rl_qsort_string_compare (s1, s2) | ^~~~~~~~~~~~~~~~~~~~~~~~ util.c: In function ‘_rl_digit_p’: util.c:339:21: warning: old-style function definition [-Wold-style-definition] 339 | FUNCTION_FOR_MACRO (_rl_digit_p) | ^~~~~~~~~~~ util.c:337:38: note: in definition of macro ‘FUNCTION_FOR_MACRO’ 337 | #define FUNCTION_FOR_MACRO(f) int (f) (c) int c; { return f (c); } | ^ util.c: In function ‘_rl_digit_value’: util.c:340:21: warning: old-style function definition [-Wold-style-definition] 340 | FUNCTION_FOR_MACRO (_rl_digit_value) | ^~~~~~~~~~~~~~~ util.c:337:38: note: in definition of macro ‘FUNCTION_FOR_MACRO’ 337 | #define FUNCTION_FOR_MACRO(f) int (f) (c) int c; { return f (c); } | ^ util.c: In function ‘_rl_lowercase_p’: util.c:341:21: warning: old-style function definition [-Wold-style-definition] 341 | FUNCTION_FOR_MACRO (_rl_lowercase_p) | ^~~~~~~~~~~~~~~ util.c:337:38: note: in definition of macro ‘FUNCTION_FOR_MACRO’ 337 | #define FUNCTION_FOR_MACRO(f) int (f) (c) int c; { return f (c); } | ^ util.c: In function ‘_rl_pure_alphabetic’: util.c:342:21: warning: old-style function definition [-Wold-style-definition] 342 | FUNCTION_FOR_MACRO (_rl_pure_alphabetic) | ^~~~~~~~~~~~~~~~~~~ util.c:337:38: note: in definition of macro ‘FUNCTION_FOR_MACRO’ 337 | #define FUNCTION_FOR_MACRO(f) int (f) (c) int c; { return f (c); } | ^ util.c: In function ‘_rl_to_lower’: util.c:343:21: warning: old-style function definition [-Wold-style-definition] 343 | FUNCTION_FOR_MACRO (_rl_to_lower) | ^~~~~~~~~~~~ util.c:337:38: note: in definition of macro ‘FUNCTION_FOR_MACRO’ 337 | #define FUNCTION_FOR_MACRO(f) int (f) (c) int c; { return f (c); } | ^ util.c: In function ‘_rl_to_upper’: util.c:344:21: warning: old-style function definition [-Wold-style-definition] 344 | FUNCTION_FOR_MACRO (_rl_to_upper) | ^~~~~~~~~~~~ util.c:337:38: note: in definition of macro ‘FUNCTION_FOR_MACRO’ 337 | #define FUNCTION_FOR_MACRO(f) int (f) (c) int c; { return f (c); } | ^ util.c: In function ‘_rl_uppercase_p’: util.c:345:21: warning: old-style function definition [-Wold-style-definition] 345 | FUNCTION_FOR_MACRO (_rl_uppercase_p) | ^~~~~~~~~~~~~~~ util.c:337:38: note: in definition of macro ‘FUNCTION_FOR_MACRO’ 337 | #define FUNCTION_FOR_MACRO(f) int (f) (c) int c; { return f (c); } | ^ util.c: In function ‘_rl_savestring’: util.c:351:1: warning: old-style function definition [-Wold-style-definition] 351 | _rl_savestring (s) | ^~~~~~~~~~~~~~ rm -f vi_mode.o gcc -c -DHAVE_CONFIG_H -I/usr/include/ncurses -I. -I. -DRL_LIBRARY_VERSION='"5.2"' -O2 -flto=auto -ffat-lto-objects -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 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection vi_mode.c vi_mode.c: In function ‘_rl_vi_set_last’: vi_mode.c:152:1: warning: old-style function definition [-Wold-style-definition] 152 | _rl_vi_set_last (key, repeat, sign) | ^~~~~~~~~~~~~~~ vi_mode.c: In function ‘rl_vi_start_inserting’: vi_mode.c:163:1: warning: old-style function definition [-Wold-style-definition] 163 | rl_vi_start_inserting (key, repeat, sign) | ^~~~~~~~~~~~~~~~~~~~~ vi_mode.c: In function ‘_rl_vi_textmod_command’: vi_mode.c:172:1: warning: old-style function definition [-Wold-style-definition] 172 | _rl_vi_textmod_command (c) | ^~~~~~~~~~~~~~~~~~~~~~ vi_mode.c: In function ‘_rl_vi_stuff_insert’: vi_mode.c:179:1: warning: old-style function definition [-Wold-style-definition] 179 | _rl_vi_stuff_insert (count) | ^~~~~~~~~~~~~~~~~~~ vi_mode.c: In function ‘rl_vi_redo’: vi_mode.c:192:1: warning: old-style function definition [-Wold-style-definition] 192 | rl_vi_redo (count, c) | ^~~~~~~~~~ vi_mode.c: In function ‘rl_vi_undo’: vi_mode.c:232:1: warning: old-style function definition [-Wold-style-definition] 232 | rl_vi_undo (count, key) | ^~~~~~~~~~ vi_mode.c: In function ‘rl_vi_yank_arg’: vi_mode.c:240:1: warning: old-style function definition [-Wold-style-definition] 240 | rl_vi_yank_arg (count, key) | ^~~~~~~~~~~~~~ vi_mode.c: In function ‘rl_vi_fetch_history’: vi_mode.c:256:1: warning: old-style function definition [-Wold-style-definition] 256 | rl_vi_fetch_history (count, c) | ^~~~~~~~~~~~~~~~~~~ vi_mode.c: In function ‘rl_vi_search_again’: vi_mode.c:281:1: warning: old-style function definition [-Wold-style-definition] 281 | rl_vi_search_again (count, key) | ^~~~~~~~~~~~~~~~~~ vi_mode.c: In function ‘rl_vi_search’: vi_mode.c:299:1: warning: old-style function definition [-Wold-style-definition] 299 | rl_vi_search (count, key) | ^~~~~~~~~~~~ vi_mode.c: In function ‘rl_vi_complete’: vi_mode.c:323:1: warning: old-style function definition [-Wold-style-definition] 323 | rl_vi_complete (ignore, key) | ^~~~~~~~~~~~~~ vi_mode.c: In function ‘rl_vi_tilde_expand’: vi_mode.c:350:1: warning: old-style function definition [-Wold-style-definition] 350 | rl_vi_tilde_expand (ignore, key) | ^~~~~~~~~~~~~~~~~~ vi_mode.c: In function ‘rl_vi_prev_word’: vi_mode.c:360:1: warning: old-style function definition [-Wold-style-definition] 360 | rl_vi_prev_word (count, key) | ^~~~~~~~~~~~~~~ vi_mode.c: In function ‘rl_vi_next_word’: vi_mode.c:382:1: warning: old-style function definition [-Wold-style-definition] 382 | rl_vi_next_word (count, key) | ^~~~~~~~~~~~~~~ vi_mode.c: In function ‘rl_vi_end_word’: vi_mode.c:403:1: warning: old-style function definition [-Wold-style-definition] 403 | rl_vi_end_word (count, key) | ^~~~~~~~~~~~~~ vi_mode.c: In function ‘rl_vi_fWord’: vi_mode.c:421:1: warning: old-style function definition [-Wold-style-definition] 421 | rl_vi_fWord (count, ignore) | ^~~~~~~~~~~ vi_mode.c: In function ‘rl_vi_bWord’: vi_mode.c:438:1: warning: old-style function definition [-Wold-style-definition] 438 | rl_vi_bWord (count, ignore) | ^~~~~~~~~~~ vi_mode.c: In function ‘rl_vi_eWord’: vi_mode.c:462:1: warning: old-style function definition [-Wold-style-definition] 462 | rl_vi_eWord (count, ignore) | ^~~~~~~~~~~ vi_mode.c: In function ‘rl_vi_fword’: vi_mode.c:493:1: warning: old-style function definition [-Wold-style-definition] 493 | rl_vi_fword (count, ignore) | ^~~~~~~~~~~ vi_mode.c: In function ‘rl_vi_bword’: vi_mode.c:519:1: warning: old-style function definition [-Wold-style-definition] 519 | rl_vi_bword (count, ignore) | ^~~~~~~~~~~ vi_mode.c: In function ‘rl_vi_eword’: vi_mode.c:558:1: warning: old-style function definition [-Wold-style-definition] 558 | rl_vi_eword (count, ignore) | ^~~~~~~~~~~ vi_mode.c: In function ‘rl_vi_insert_beg’: vi_mode.c:583:1: warning: old-style function definition [-Wold-style-definition] 583 | rl_vi_insert_beg (count, key) | ^~~~~~~~~~~~~~~~ vi_mode.c: In function ‘_rl_vi_append_forward’: vi_mode.c:592:1: warning: old-style function definition [-Wold-style-definition] 592 | _rl_vi_append_forward (key) | ^~~~~~~~~~~~~~~~~~~~~ vi_mode.c: In function ‘rl_vi_append_mode’: vi_mode.c:612:1: warning: old-style function definition [-Wold-style-definition] 612 | rl_vi_append_mode (count, key) | ^~~~~~~~~~~~~~~~~ vi_mode.c: In function ‘rl_vi_append_eol’: vi_mode.c:621:1: warning: old-style function definition [-Wold-style-definition] 621 | rl_vi_append_eol (count, key) | ^~~~~~~~~~~~~~~~ vi_mode.c: In function ‘rl_vi_eof_maybe’: vi_mode.c:631:1: warning: old-style function definition [-Wold-style-definition] 631 | rl_vi_eof_maybe (count, c) | ^~~~~~~~~~~~~~~ vi_mode.c: In function ‘rl_vi_insertion_mode’: vi_mode.c:642:1: warning: old-style function definition [-Wold-style-definition] 642 | rl_vi_insertion_mode (count, key) | ^~~~~~~~~~~~~~~~~~~~ vi_mode.c: In function ‘_rl_vi_save_insert’: vi_mode.c:651:1: warning: old-style function definition [-Wold-style-definition] 651 | _rl_vi_save_insert (up) | ^~~~~~~~~~~~~~~~~~ vi_mode.c: In function ‘rl_vi_movement_mode’: vi_mode.c:705:1: warning: old-style function definition [-Wold-style-definition] 705 | rl_vi_movement_mode (count, key) | ^~~~~~~~~~~~~~~~~~~ vi_mode.c: In function ‘rl_vi_arg_digit’: vi_mode.c:724:1: warning: old-style function definition [-Wold-style-definition] 724 | rl_vi_arg_digit (count, c) | ^~~~~~~~~~~~~~~ vi_mode.c: In function ‘_rl_vi_change_mbchar_case’: vi_mode.c:736:1: warning: old-style function definition [-Wold-style-definition] 736 | _rl_vi_change_mbchar_case (count) | ^~~~~~~~~~~~~~~~~~~~~~~~~ vi_mode.c: In function ‘rl_vi_change_case’: vi_mode.c:785:1: warning: old-style function definition [-Wold-style-definition] 785 | rl_vi_change_case (count, ignore) | ^~~~~~~~~~~~~~~~~ vi_mode.c: In function ‘rl_vi_put’: vi_mode.c:832:1: warning: old-style function definition [-Wold-style-definition] 832 | rl_vi_put (count, key) | ^~~~~~~~~ vi_mode.c: In function ‘rl_vi_column’: vi_mode.c:868:1: warning: old-style function definition [-Wold-style-definition] 868 | rl_vi_column (count, key) | ^~~~~~~~~~~~ vi_mode.c: In function ‘rl_vi_domove’: vi_mode.c:879:1: warning: old-style function definition [-Wold-style-definition] 879 | rl_vi_domove (key, nextkey) | ^~~~~~~~~~~~ vi_mode.c: In function ‘_rl_vi_arg_dispatch’: vi_mode.c:989:1: warning: old-style function definition [-Wold-style-definition] 989 | _rl_vi_arg_dispatch (c) | ^~~~~~~~~~~~~~~~~~~ vi_mode.c: In function ‘rl_vi_delete_to’: vi_mode.c:1045:1: warning: old-style function definition [-Wold-style-definition] 1045 | rl_vi_delete_to (count, key) | ^~~~~~~~~~~~~~~ vi_mode.c: In function ‘rl_vi_change_to’: vi_mode.c:1071:1: warning: old-style function definition [-Wold-style-definition] 1071 | rl_vi_change_to (count, key) | ^~~~~~~~~~~~~~~ vi_mode.c: In function ‘rl_vi_yank_to’: vi_mode.c:1124:1: warning: old-style function definition [-Wold-style-definition] 1124 | rl_vi_yank_to (count, key) | ^~~~~~~~~~~~~ vi_mode.c: In function ‘rl_vi_rubout’: vi_mode.c:1154:1: warning: old-style function definition [-Wold-style-definition] 1154 | rl_vi_rubout (count, key) | ^~~~~~~~~~~~ vi_mode.c: In function ‘rl_vi_delete’: vi_mode.c:1185:1: warning: old-style function definition [-Wold-style-definition] 1185 | rl_vi_delete (count, key) | ^~~~~~~~~~~~ vi_mode.c: In function ‘rl_vi_back_to_indent’: vi_mode.c:1216:1: warning: old-style function definition [-Wold-style-definition] 1216 | rl_vi_back_to_indent (count, key) | ^~~~~~~~~~~~~~~~~~~~ vi_mode.c: In function ‘rl_vi_first_print’: vi_mode.c:1226:1: warning: old-style function definition [-Wold-style-definition] 1226 | rl_vi_first_print (count, key) | ^~~~~~~~~~~~~~~~~ vi_mode.c: In function ‘_rl_vi_callback_char_search’: vi_mode.c:1236:1: warning: old-style function definition [-Wold-style-definition] 1236 | _rl_vi_callback_char_search (data) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ vi_mode.c: In function ‘rl_vi_char_search’: vi_mode.c:1267:1: warning: old-style function definition [-Wold-style-definition] 1267 | rl_vi_char_search (count, key) | ^~~~~~~~~~~~~~~~~ vi_mode.c: In function ‘rl_vi_match’: vi_mode.c:1348:1: warning: old-style function definition [-Wold-style-definition] 1348 | rl_vi_match (ignore, key) | ^~~~~~~~~~~ vi_mode.c: In function ‘rl_vi_bracktype’: vi_mode.c:1438:1: warning: old-style function definition [-Wold-style-definition] 1438 | rl_vi_bracktype (c) | ^~~~~~~~~~~~~~~ vi_mode.c: In function ‘_rl_vi_change_char’: vi_mode.c:1454:1: warning: old-style function definition [-Wold-style-definition] 1454 | _rl_vi_change_char (count, c, mb) | ^~~~~~~~~~~~~~~~~~ vi_mode.c: In function ‘_rl_vi_callback_getchar’: vi_mode.c:1487:1: warning: old-style function definition [-Wold-style-definition] 1487 | _rl_vi_callback_getchar (mb, mlen) | ^~~~~~~~~~~~~~~~~~~~~~~ vi_mode.c: In function ‘_rl_vi_callback_change_char’: vi_mode.c:1510:1: warning: old-style function definition [-Wold-style-definition] 1510 | _rl_vi_callback_change_char (data) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ vi_mode.c: In function ‘rl_vi_change_char’: vi_mode.c:1529:1: warning: old-style function definition [-Wold-style-definition] 1529 | rl_vi_change_char (count, key) | ^~~~~~~~~~~~~~~~~ vi_mode.c: In function ‘rl_vi_subst’: vi_mode.c:1559:1: warning: old-style function definition [-Wold-style-definition] 1559 | rl_vi_subst (count, key) | ^~~~~~~~~~~ vi_mode.c: In function ‘rl_vi_overstrike’: vi_mode.c:1570:1: warning: old-style function definition [-Wold-style-definition] 1570 | rl_vi_overstrike (count, key) | ^~~~~~~~~~~~~~~~ vi_mode.c: In function ‘rl_vi_overstrike_delete’: vi_mode.c:1589:1: warning: old-style function definition [-Wold-style-definition] 1589 | rl_vi_overstrike_delete (count, key) | ^~~~~~~~~~~~~~~~~~~~~~~ vi_mode.c: In function ‘rl_vi_replace’: vi_mode.c:1620:1: warning: old-style function definition [-Wold-style-definition] 1620 | rl_vi_replace (count, key) | ^~~~~~~~~~~~~ vi_mode.c: In function ‘_rl_vi_callback_set_mark’: vi_mode.c:1701:1: warning: old-style function definition [-Wold-style-definition] 1701 | _rl_vi_callback_set_mark (data) | ^~~~~~~~~~~~~~~~~~~~~~~~ vi_mode.c: In function ‘rl_vi_set_mark’: vi_mode.c:1712:1: warning: old-style function definition [-Wold-style-definition] 1712 | rl_vi_set_mark (count, key) | ^~~~~~~~~~~~~~ vi_mode.c: In function ‘_rl_vi_callback_goto_mark’: vi_mode.c:1759:1: warning: old-style function definition [-Wold-style-definition] 1759 | _rl_vi_callback_goto_mark (data) | ^~~~~~~~~~~~~~~~~~~~~~~~~ vi_mode.c: In function ‘rl_vi_goto_mark’: vi_mode.c:1770:1: warning: old-style function definition [-Wold-style-definition] 1770 | rl_vi_goto_mark (count, key) | ^~~~~~~~~~~~~~~ rm -f complete.o gcc -c -DHAVE_CONFIG_H -I/usr/include/ncurses -I. -I. -DRL_LIBRARY_VERSION='"5.2"' -O2 -flto=auto -ffat-lto-objects -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 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection complete.c complete.c: In function ‘rl_complete’: complete.c:347:1: warning: old-style function definition [-Wold-style-definition] 347 | rl_complete (ignore, invoking_key) | ^~~~~~~~~~~ complete.c: In function ‘rl_possible_completions’: complete.c:364:1: warning: old-style function definition [-Wold-style-definition] 364 | rl_possible_completions (ignore, invoking_key) | ^~~~~~~~~~~~~~~~~~~~~~~ complete.c: In function ‘rl_insert_completions’: complete.c:371:1: warning: old-style function definition [-Wold-style-definition] 371 | rl_insert_completions (ignore, invoking_key) | ^~~~~~~~~~~~~~~~~~~~~ complete.c: In function ‘rl_completion_mode’: complete.c:383:1: warning: old-style function definition [-Wold-style-definition] 383 | rl_completion_mode (cfunc) | ^~~~~~~~~~~~~~~~~~ complete.c: In function ‘set_completion_defaults’: complete.c:405:1: warning: old-style function definition [-Wold-style-definition] 405 | set_completion_defaults (what_to_do) | ^~~~~~~~~~~~~~~~~~~~~~~ complete.c: In function ‘get_y_or_n’: complete.c:420:1: warning: old-style function definition [-Wold-style-definition] 420 | get_y_or_n (for_pager) | ^~~~~~~~~~ complete.c: In function ‘_rl_internal_pager’: complete.c:446:1: warning: old-style function definition [-Wold-style-definition] 446 | _rl_internal_pager (lines) | ^~~~~~~~~~~~~~~~~~ complete.c: In function ‘path_isdir’: complete.c:464:1: warning: old-style function definition [-Wold-style-definition] 464 | path_isdir (filename) | ^~~~~~~~~~ complete.c: In function ‘stat_char’: complete.c:482:1: warning: old-style function definition [-Wold-style-definition] 482 | stat_char (filename) | ^~~~~~~~~ complete.c: In function ‘printable_part’: complete.c:538:1: warning: old-style function definition [-Wold-style-definition] 538 | printable_part (pathname) | ^~~~~~~~~~~~~~ complete.c: In function ‘fnwidth’: complete.c:571:1: warning: old-style function definition [-Wold-style-definition] 571 | fnwidth (string) | ^~~~~~~ complete.c: In function ‘fnprint’: complete.c:622:1: warning: old-style function definition [-Wold-style-definition] 622 | fnprint (to_print) | ^~~~~~~ complete.c: In function ‘print_filename’: complete.c:698:1: warning: old-style function definition [-Wold-style-definition] 698 | print_filename (to_print, full_pathname) | ^~~~~~~~~~~~~~ complete.c: In function ‘rl_quote_filename’: complete.c:787:1: warning: old-style function definition [-Wold-style-definition] 787 | rl_quote_filename (s, rtype, qcp) | ^~~~~~~~~~~~~~~~~ complete.c: In function ‘_rl_find_completion_word’: complete.c:818:1: warning: old-style function definition [-Wold-style-definition] 818 | _rl_find_completion_word (fp, dp) | ^~~~~~~~~~~~~~~~~~~~~~~~ complete.c:890:14: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 890 | while (rl_point = MB_PREVCHAR (rl_line_buffer, rl_point, MB_FIND_ANY)) | ^~~~~~~~ complete.c: In function ‘gen_completion_matches’: complete.c:951:1: warning: old-style function definition [-Wold-style-definition] 951 | gen_completion_matches (text, start, end, our_func, found_quote, quote_char) | ^~~~~~~~~~~~~~~~~~~~~~ complete.c: In function ‘remove_duplicate_matches’: complete.c:985:1: warning: old-style function definition [-Wold-style-definition] 985 | remove_duplicate_matches (matches) | ^~~~~~~~~~~~~~~~~~~~~~~~ complete.c: In function ‘compute_lcd_of_matches’: complete.c:1046:1: warning: old-style function definition [-Wold-style-definition] 1046 | compute_lcd_of_matches (match_list, matches, text) | ^~~~~~~~~~~~~~~~~~~~~~ complete.c: In function ‘postprocess_matches’: complete.c:1198:1: warning: old-style function definition [-Wold-style-definition] 1198 | postprocess_matches (matchesp, matching_filenames) | ^~~~~~~~~~~~~~~~~~~ complete.c: In function ‘rl_display_match_list’: complete.c:1258:1: warning: old-style function definition [-Wold-style-definition] 1258 | rl_display_match_list (matches, len, max) | ^~~~~~~~~~~~~~~~~~~~~ complete.c: In function ‘display_matches’: complete.c:1363:1: warning: old-style function definition [-Wold-style-definition] 1363 | display_matches (matches) | ^~~~~~~~~~~~~~~ complete.c: In function ‘make_quoted_replacement’: complete.c:1431:1: warning: old-style function definition [-Wold-style-definition] 1431 | make_quoted_replacement (match, mtype, qc) | ^~~~~~~~~~~~~~~~~~~~~~~ complete.c: In function ‘insert_match’: complete.c:1476:1: warning: old-style function definition [-Wold-style-definition] 1476 | insert_match (match, start, mtype, qc) | ^~~~~~~~~~~~ complete.c: In function ‘append_to_match’: complete.c:1517:1: warning: old-style function definition [-Wold-style-definition] 1517 | append_to_match (text, delimiter, quote_char, nontrivial_match) | ^~~~~~~~~~~~~~~ complete.c: In function ‘insert_all_matches’: complete.c:1580:1: warning: old-style function definition [-Wold-style-definition] 1580 | insert_all_matches (matches, point, qc) | ^~~~~~~~~~~~~~~~~~ complete.c: In function ‘_rl_free_match_list’: complete.c:1619:1: warning: old-style function definition [-Wold-style-definition] 1619 | _rl_free_match_list (matches) | ^~~~~~~~~~~~~~~~~~~ complete.c: In function ‘rl_complete_internal’: complete.c:1642:1: warning: old-style function definition [-Wold-style-definition] 1642 | rl_complete_internal (what_to_do) | ^~~~~~~~~~~~~~~~~~~~ complete.c: In function ‘rl_completion_matches’: complete.c:1788:1: warning: old-style function definition [-Wold-style-definition] 1788 | rl_completion_matches (text, entry_function) | ^~~~~~~~~~~~~~~~~~~~~ complete.c:1809:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 1809 | while (string = (*entry_function) (text, matches)) | ^~~~~~ complete.c: In function ‘rl_username_completion_function’: complete.c:1835:1: warning: old-style function definition [-Wold-style-definition] 1835 | rl_username_completion_function (text, state) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ complete.c:1860:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 1860 | while (entry = getpwent ()) | ^~~~~ complete.c: In function ‘rl_filename_completion_function’: complete.c:1896:1: warning: old-style function definition [-Wold-style-definition] 1896 | rl_filename_completion_function (text, state) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ complete.c: In function ‘rl_menu_complete’: complete.c:2116:1: warning: old-style function definition [-Wold-style-definition] 2116 | rl_menu_complete (count, ignore) | ^~~~~~~~~~~~~~~~ rm -f bind.o gcc -c -DHAVE_CONFIG_H -I/usr/include/ncurses -I. -I. -DRL_LIBRARY_VERSION='"5.2"' -O2 -flto=auto -ffat-lto-objects -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 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection bind.c bind.c: In function ‘rl_add_defun’: bind.c:100:1: warning: old-style function definition [-Wold-style-definition] 100 | rl_add_defun (name, function, key) | ^~~~~~~~~~~~ bind.c: In function ‘rl_bind_key’: bind.c:113:1: warning: old-style function definition [-Wold-style-definition] 113 | rl_bind_key (key, function) | ^~~~~~~~~~~ bind.c: In function ‘rl_bind_key_in_map’: bind.c:144:1: warning: old-style function definition [-Wold-style-definition] 144 | rl_bind_key_in_map (key, function, map) | ^~~~~~~~~~~~~~~~~~ bind.c: In function ‘rl_bind_key_if_unbound_in_map’: bind.c:163:1: warning: old-style function definition [-Wold-style-definition] 163 | rl_bind_key_if_unbound_in_map (key, default_func, kmap) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bind.c: In function ‘rl_bind_key_if_unbound’: bind.c:176:1: warning: old-style function definition [-Wold-style-definition] 176 | rl_bind_key_if_unbound (key, default_func) | ^~~~~~~~~~~~~~~~~~~~~~ bind.c: In function ‘rl_unbind_key’: bind.c:190:1: warning: old-style function definition [-Wold-style-definition] 190 | rl_unbind_key (key) | ^~~~~~~~~~~~~ bind.c: In function ‘rl_unbind_key_in_map’: bind.c:199:1: warning: old-style function definition [-Wold-style-definition] 199 | rl_unbind_key_in_map (key, map) | ^~~~~~~~~~~~~~~~~~~~ bind.c: In function ‘rl_unbind_function_in_map’: bind.c:208:1: warning: old-style function definition [-Wold-style-definition] 208 | rl_unbind_function_in_map (func, map) | ^~~~~~~~~~~~~~~~~~~~~~~~~ bind.c: In function ‘rl_unbind_command_in_map’: bind.c:226:1: warning: old-style function definition [-Wold-style-definition] 226 | rl_unbind_command_in_map (command, map) | ^~~~~~~~~~~~~~~~~~~~~~~~ bind.c: In function ‘rl_bind_keyseq’: bind.c:242:1: warning: old-style function definition [-Wold-style-definition] 242 | rl_bind_keyseq (keyseq, function) | ^~~~~~~~~~~~~~ bind.c: In function ‘rl_bind_keyseq_in_map’: bind.c:253:1: warning: old-style function definition [-Wold-style-definition] 253 | rl_bind_keyseq_in_map (keyseq, function, map) | ^~~~~~~~~~~~~~~~~~~~~ bind.c: In function ‘rl_set_key’: bind.c:263:1: warning: old-style function definition [-Wold-style-definition] 263 | rl_set_key (keyseq, function, map) | ^~~~~~~~~~ bind.c: In function ‘rl_bind_keyseq_if_unbound_in_map’: bind.c:275:1: warning: old-style function definition [-Wold-style-definition] 275 | rl_bind_keyseq_if_unbound_in_map (keyseq, default_func, kmap) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bind.c: In function ‘rl_bind_keyseq_if_unbound’: bind.c:298:1: warning: old-style function definition [-Wold-style-definition] 298 | rl_bind_keyseq_if_unbound (keyseq, default_func) | ^~~~~~~~~~~~~~~~~~~~~~~~~ bind.c: In function ‘rl_macro_bind’: bind.c:309:1: warning: old-style function definition [-Wold-style-definition] 309 | rl_macro_bind (keyseq, macro, map) | ^~~~~~~~~~~~~ bind.c: In function ‘rl_generic_bind’: bind.c:333:1: warning: old-style function definition [-Wold-style-definition] 333 | rl_generic_bind (type, keyseq, data, map) | ^~~~~~~~~~~~~~~ bind.c: In function ‘rl_translate_keyseq’: bind.c:438:1: warning: old-style function definition [-Wold-style-definition] 438 | rl_translate_keyseq (seq, array, len) | ^~~~~~~~~~~~~~~~~~~ bind.c:445:19: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 445 | for (i = l = 0; c = seq[i]; i++) | ^ bind.c: In function ‘rl_untranslate_keyseq’: bind.c:565:1: warning: old-style function definition [-Wold-style-definition] 565 | rl_untranslate_keyseq (seq) | ^~~~~~~~~~~~~~~~~~~~~ bind.c: In function ‘_rl_untranslate_macro_value’: bind.c:616:1: warning: old-style function definition [-Wold-style-definition] 616 | _rl_untranslate_macro_value (seq) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ bind.c: In function ‘rl_named_function’: bind.c:671:1: warning: old-style function definition [-Wold-style-definition] 671 | rl_named_function (string) | ^~~~~~~~~~~~~~~~~ bind.c: In function ‘rl_function_of_keyseq’: bind.c:690:1: warning: old-style function definition [-Wold-style-definition] 690 | rl_function_of_keyseq (keyseq, map, type) | ^~~~~~~~~~~~~~~~~~~~~ bind.c: In function ‘_rl_read_file’: bind.c:764:1: warning: old-style function definition [-Wold-style-definition] 764 | _rl_read_file (filename, sizep) | ^~~~~~~~~~~~~ bind.c: In function ‘rl_re_read_init_file’: bind.c:809:1: warning: old-style function definition [-Wold-style-definition] 809 | rl_re_read_init_file (count, ignore) | ^~~~~~~~~~~~~~~~~~~~ bind.c: In function ‘rl_read_init_file’: bind.c:827:1: warning: old-style function definition [-Wold-style-definition] 827 | rl_read_init_file (filename) | ^~~~~~~~~~~~~~~~~ bind.c: In function ‘_rl_read_init_file’: bind.c:853:1: warning: old-style function definition [-Wold-style-definition] 853 | _rl_read_init_file (filename, include_level) | ^~~~~~~~~~~~~~~~~~ bind.c: In function ‘_rl_init_file_error’: bind.c:920:1: warning: old-style function definition [-Wold-style-definition] 920 | _rl_init_file_error (msg) | ^~~~~~~~~~~~~~~~~~~ bind.c: In function ‘parser_if’: bind.c:960:1: warning: old-style function definition [-Wold-style-definition] 960 | parser_if (args) | ^~~~~~~~~ bind.c: In function ‘parser_else’: bind.c:1033:1: warning: old-style function definition [-Wold-style-definition] 1033 | parser_else (args) | ^~~~~~~~~~~ bind.c: In function ‘parser_endif’: bind.c:1064:1: warning: old-style function definition [-Wold-style-definition] 1064 | parser_endif (args) | ^~~~~~~~~~~~ bind.c: In function ‘parser_include’: bind.c:1075:1: warning: old-style function definition [-Wold-style-definition] 1075 | parser_include (args) | ^~~~~~~~~~~~~~ bind.c: In function ‘handle_parser_directive’: bind.c:1116:1: warning: old-style function definition [-Wold-style-definition] 1116 | handle_parser_directive (statement) | ^~~~~~~~~~~~~~~~~~~~~~~ bind.c: In function ‘rl_parse_and_bind’: bind.c:1156:1: warning: old-style function definition [-Wold-style-definition] 1156 | rl_parse_and_bind (string) | ^~~~~~~~~~~~~~~~~ bind.c:1188:19: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 1188 | for (i = 1; c = string[i]; i++) | ^ bind.c:1279:23: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 1279 | for (passc = 0; c = string[i]; i++) | ^ bind.c: In function ‘find_boolean_var’: bind.c:1443:1: warning: old-style function definition [-Wold-style-definition] 1443 | find_boolean_var (name) | ^~~~~~~~~~~~~~~~ bind.c: In function ‘hack_special_boolean_var’: bind.c:1458:1: warning: old-style function definition [-Wold-style-definition] 1458 | hack_special_boolean_var (i) | ^~~~~~~~~~~~~~~~~~~~~~~~ bind.c: In function ‘find_string_var’: bind.c:1512:1: warning: old-style function definition [-Wold-style-definition] 1512 | find_string_var (name) | ^~~~~~~~~~~~~~~ bind.c: In function ‘bool_to_int’: bind.c:1527:1: warning: old-style function definition [-Wold-style-definition] 1527 | bool_to_int (value) | ^~~~~~~~~~~ bind.c: In function ‘rl_variable_value’: bind.c:1536:1: warning: old-style function definition [-Wold-style-definition] 1536 | rl_variable_value (name) | ^~~~~~~~~~~~~~~~~ bind.c: In function ‘rl_variable_bind’: bind.c:1555:1: warning: old-style function definition [-Wold-style-definition] 1555 | rl_variable_bind (name, value) | ^~~~~~~~~~~~~~~~ bind.c: In function ‘sv_editmode’: bind.c:1583:1: warning: old-style function definition [-Wold-style-definition] 1583 | sv_editmode (value) | ^~~~~~~~~~~ bind.c: In function ‘sv_combegin’: bind.c:1604:1: warning: old-style function definition [-Wold-style-definition] 1604 | sv_combegin (value) | ^~~~~~~~~~~ bind.c: In function ‘sv_compquery’: bind.c:1617:1: warning: old-style function definition [-Wold-style-definition] 1617 | sv_compquery (value) | ^~~~~~~~~~~~ bind.c: In function ‘sv_keymap’: bind.c:1633:1: warning: old-style function definition [-Wold-style-definition] 1633 | sv_keymap (value) | ^~~~~~~~~ bind.c: In function ‘sv_bell_style’: bind.c:1648:1: warning: old-style function definition [-Wold-style-definition] 1648 | sv_bell_style (value) | ^~~~~~~~~~~~~ bind.c: In function ‘sv_isrchterm’: bind.c:1665:1: warning: old-style function definition [-Wold-style-definition] 1665 | sv_isrchterm (value) | ^~~~~~~~~~~~ bind.c: In function ‘glean_key_from_name’: bind.c:1724:1: warning: old-style function definition [-Wold-style-definition] 1724 | glean_key_from_name (name) | ^~~~~~~~~~~~~~~~~~~ bind.c: In function ‘rl_get_keymap_by_name’: bind.c:1755:1: warning: old-style function definition [-Wold-style-definition] 1755 | rl_get_keymap_by_name (name) | ^~~~~~~~~~~~~~~~~~~~~ bind.c: In function ‘rl_get_keymap_name’: bind.c:1767:1: warning: old-style function definition [-Wold-style-definition] 1767 | rl_get_keymap_name (map) | ^~~~~~~~~~~~~~~~~~ bind.c: In function ‘rl_set_keymap’: bind.c:1778:1: warning: old-style function definition [-Wold-style-definition] 1778 | rl_set_keymap (map) | ^~~~~~~~~~~~~ bind.c: In function ‘_rl_get_keyname’: bind.c:1845:1: warning: old-style function definition [-Wold-style-definition] 1845 | _rl_get_keyname (key) | ^~~~~~~~~~~~~~~ bind.c: In function ‘rl_invoking_keyseqs_in_map’: bind.c:1921:1: warning: old-style function definition [-Wold-style-definition] 1921 | rl_invoking_keyseqs_in_map (function, map) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ bind.c: In function ‘rl_invoking_keyseqs’: bind.c:2030:1: warning: old-style function definition [-Wold-style-definition] 2030 | rl_invoking_keyseqs (function) | ^~~~~~~~~~~~~~~~~~~ bind.c: In function ‘rl_function_dumper’: bind.c:2040:1: warning: old-style function definition [-Wold-style-definition] 2040 | rl_function_dumper (print_readably) | ^~~~~~~~~~~~~~~~~~ bind.c:2051:15: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 2051 | for (i = 0; name = names[i]; i++) | ^~~~ bind.c: In function ‘rl_dump_functions’: bind.c:2110:1: warning: old-style function definition [-Wold-style-definition] 2110 | rl_dump_functions (count, key) | ^~~~~~~~~~~~~~~~~ bind.c: In function ‘_rl_macro_dumper_internal’: bind.c:2121:1: warning: old-style function definition [-Wold-style-definition] 2121 | _rl_macro_dumper_internal (print_readably, map, prefix) | ^~~~~~~~~~~~~~~~~~~~~~~~~ bind.c: In function ‘rl_macro_dumper’: bind.c:2183:1: warning: old-style function definition [-Wold-style-definition] 2183 | rl_macro_dumper (print_readably) | ^~~~~~~~~~~~~~~ bind.c: In function ‘rl_dump_macros’: bind.c:2190:1: warning: old-style function definition [-Wold-style-definition] 2190 | rl_dump_macros (count, key) | ^~~~~~~~~~~~~~ bind.c: In function ‘_rl_get_string_variable_value’: bind.c:2201:1: warning: old-style function definition [-Wold-style-definition] 2201 | _rl_get_string_variable_value (name) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ bind.c: In function ‘rl_variable_dumper’: bind.c:2256:1: warning: old-style function definition [-Wold-style-definition] 2256 | rl_variable_dumper (print_readably) | ^~~~~~~~~~~~~~~~~~ bind.c: In function ‘rl_dump_variables’: bind.c:2288:1: warning: old-style function definition [-Wold-style-definition] 2288 | rl_dump_variables (count, key) | ^~~~~~~~~~~~~~~~~ bind.c: In function ‘substring_member_of_array’: bind.c:2300:1: warning: old-style function definition [-Wold-style-definition] 2300 | substring_member_of_array (string, array) | ^~~~~~~~~~~~~~~~~~~~~~~~~ rm -f display.o gcc -c -DHAVE_CONFIG_H -I/usr/include/ncurses -I. -I. -DRL_LIBRARY_VERSION='"5.2"' -O2 -flto=auto -ffat-lto-objects -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 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection display.c display.c: In function ‘expand_prompt’: display.c:231:1: warning: old-style function definition [-Wold-style-definition] 231 | expand_prompt (pmt, lp, lip, niflp, vlp) | ^~~~~~~~~~~~~ display.c: In function ‘_rl_strip_prompt’: display.c:335:1: warning: old-style function definition [-Wold-style-definition] 335 | _rl_strip_prompt (pmt) | ^~~~~~~~~~~~~~~~ display.c: In function ‘rl_expand_prompt’: display.c:362:1: warning: old-style function definition [-Wold-style-definition] 362 | rl_expand_prompt (prompt) | ^~~~~~~~~~~~~~~~ display.c: In function ‘init_line_structures’: display.c:419:1: warning: old-style function definition [-Wold-style-definition] 419 | init_line_structures (minsize) | ^~~~~~~~~~~~~~~~~~~~ display.c: In function ‘update_line’: display.c:1222:1: warning: old-style function definition [-Wold-style-definition] 1222 | update_line (old, new, current_line, omax, nmax, inv_botlin) | ^~~~~~~~~~~ display.c: In function ‘_rl_move_cursor_relative’: display.c:1803:1: warning: old-style function definition [-Wold-style-definition] 1803 | _rl_move_cursor_relative (new, data) | ^~~~~~~~~~~~~~~~~~~~~~~~ display.c: In function ‘_rl_move_vert’: display.c:1918:1: warning: old-style function definition [-Wold-style-definition] 1918 | _rl_move_vert (to) | ^~~~~~~~~~~~~ display.c: In function ‘rl_show_char’: display.c:1950:1: warning: old-style function definition [-Wold-style-definition] 1950 | rl_show_char (c) | ^~~~~~~~~~~~ display.c: In function ‘rl_character_len’: display.c:1978:1: warning: old-style function definition [-Wold-style-definition] 1978 | rl_character_len (c, pos) | ^~~~~~~~~~~~~~~~ display.c: In function ‘_rl_make_prompt_for_search’: display.c:2142:1: warning: old-style function definition [-Wold-style-definition] 2142 | _rl_make_prompt_for_search (pchar) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ display.c: In function ‘_rl_erase_at_end_of_line’: display.c:2181:1: warning: old-style function definition [-Wold-style-definition] 2181 | _rl_erase_at_end_of_line (l) | ^~~~~~~~~~~~~~~~~~~~~~~~ display.c: In function ‘_rl_clear_to_eol’: display.c:2198:1: warning: old-style function definition [-Wold-style-definition] 2198 | _rl_clear_to_eol (count) | ^~~~~~~~~~~~~~~~ display.c: In function ‘space_to_eol’: display.c:2210:1: warning: old-style function definition [-Wold-style-definition] 2210 | space_to_eol (count) | ^~~~~~~~~~~~ display.c: In function ‘insert_some_chars’: display.c:2232:1: warning: old-style function definition [-Wold-style-definition] 2232 | insert_some_chars (string, count, col) | ^~~~~~~~~~~~~~~~~ display.c: In function ‘delete_chars’: display.c:2282:1: warning: old-style function definition [-Wold-style-definition] 2282 | delete_chars (count) | ^~~~~~~~~~~~ display.c: In function ‘redraw_prompt’: display.c:2355:1: warning: old-style function definition [-Wold-style-definition] 2355 | redraw_prompt (t) | ^~~~~~~~~~~~~ display.c: In function ‘_rl_col_width’: display.c:2467:1: warning: old-style function definition [-Wold-style-definition] 2467 | _rl_col_width (str, start, end) | ^~~~~~~~~~~~~ display.c: In function ‘rl_redisplay’: display.c:566:7: warning: ‘strncpy’ output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] 566 | strncpy (line + out, prompt_this_line, pmtlen); | ^ display.c:558:40: note: length computed here 558 | prompt_physical_chars = pmtlen = strlen (prompt_this_line); | ^~~~~~~~~~~~~~~~~~~~~~~~~ display.c:688:17: warning: ‘n0’ may be used uninitialized [-Wmaybe-uninitialized] 688 | lpos -= _rl_col_width (local_prompt, n0, num); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ display.c:466:38: note: ‘n0’ was declared here 466 | int newlines, lpos, temp, modmark, n0, num; | ^~ display.c:834:42: warning: ‘wc_width’ may be used uninitialized [-Wmaybe-uninitialized] 834 | if (_rl_screenwidth < lpos + wc_width) | ~~~~~^~~~~~~~~~ display.c:471:7: note: ‘wc_width’ was declared here 471 | int wc_width; | ^~~~~~~~ RPM build errors: error: Bad exit status from /var/tmp/rpm-tmp.ZP1gl4 (%build) Bad exit status from /var/tmp/rpm-tmp.ZP1gl4 (%build) Child return code was: 1 EXCEPTION: [Error('Command failed: \n # /usr/bin/systemd-nspawn -q -M 453a7a70f1fa404dadfa63a6945a2bbd -D /var/lib/mock/f42-build-56848773-6546649/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv.1v6rwoim:/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 ppc64le --nodeps /builddir/build/SPECS/compat-readline5.spec\'\n', 1)] Traceback (most recent call last): File "/usr/lib/python3.13/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.13/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 453a7a70f1fa404dadfa63a6945a2bbd -D /var/lib/mock/f42-build-56848773-6546649/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv.1v6rwoim:/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 ppc64le --nodeps /builddir/build/SPECS/compat-readline5.spec'