Mock Version: 6.2 Mock Version: 6.2 Mock Version: 6.2 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target riscv64 --nodeps /builddir/build/SPECS/bash.spec'], chrootPath='/var/lib/mock/f42-build-side-1-3588925-46951/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=993gid=135user='mockbuild'unshare_net=TrueprintOutput=Falsenspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.5sx7w6wn:/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.5sx7w6wn:/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', '089e367c3d5d4e3caee3b91feff514ed', '-D', '/var/lib/mock/f42-build-side-1-3588925-46951/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.5sx7w6wn:/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/bash.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=1736985600 Wrote: /builddir/build/SRPMS/bash-5.2.37-2.fc42.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/bash.spec'], chrootPath='/var/lib/mock/f42-build-side-1-3588925-46951/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=993gid=135user='mockbuild'unshare_net=TrueprintOutput=Falsenspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.5sx7w6wn:/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.5sx7w6wn:/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', 'e27a94fc47134732abd6032ecd8b8db9', '-D', '/var/lib/mock/f42-build-side-1-3588925-46951/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.5sx7w6wn:/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/bash.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=1736985600 Executing(%mkbuilddir): /bin/sh -e /var/tmp/rpm-tmp.fuSVyG Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.ZJArmE + umask 022 + cd /builddir/build/BUILD/bash-5.2.37-build + /usr/lib/rpm/redhat/gpgverify --keyring=/builddir/build/SOURCES/chet-gpgkey.asc --signature=/builddir/build/SOURCES/bash-5.2.tar.gz.sig --data=/builddir/build/SOURCES/bash-5.2.tar.gz gpgv: Signature made Mon Sep 26 12:59:23 2022 UTC gpgv: using DSA key 7C0135FB088AAF6C66C650B9BB5869F064EA74AB gpgv: Good signature from "Chet Ramey " + cd /builddir/build/BUILD/bash-5.2.37-build + rm -rf bash-5.2 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/bash-5.2.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd bash-5.2 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/bash-5.2-patch-1.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/bash-5.2-patch-2.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/bash-5.2-patch-3.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/bash-5.2-patch-4.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/bash-5.2-patch-5.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/bash-5.2-patch-6.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/bash-5.2-patch-7.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/bash-5.2-patch-8.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/bash-5.2-patch-9.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/bash-5.2-patch-10.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/bash-5.2-patch-11.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/bash-5.2-patch-12.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/bash-5.2-patch-13.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/bash-5.2-patch-14.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/bash-5.2-patch-15.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/bash-5.2-patch-16.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/bash-5.2-patch-17.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/bash-5.2-patch-18.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/bash-5.2-patch-19.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/bash-5.2-patch-20.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/bash-5.2-patch-21.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/bash-5.2-patch-22.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/bash-5.2-patch-23.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/bash-5.2-patch-24.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/bash-5.2-patch-25.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/bash-5.2-patch-26.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/bash-5.2-patch-27.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/bash-5.2-patch-28.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/bash-5.2-patch-29.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/bash-5.2-patch-30.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/bash-5.2-patch-31.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/bash-5.2-patch-32.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/bash-5.2-patch-33.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/bash-5.2-patch-34.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/bash-5.2-patch-35.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/bash-5.2-patch-36.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/bash-5.2-patch-37.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/bash-2.03-profile.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/bash-2.05a-interpreter.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/bash-2.05b-debuginfo.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/bash-2.05b-pgrp_sync.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/bash-3.2-ssh_source_bash.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/bash-requires.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/bash-setlocale.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/bash-tty-tests.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/bash-4.0-nobits.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/bash-4.1-examples.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/bash-4.1-broken_pipe.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/bash-4.2-rc2-logout.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/bash-4.2-coverity.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/bash-4.2-manpage_trap.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/bash-4.2-size_type.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/bash-4.3-man-ulimit.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/bash-4.3-noecho.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/bash-4.3-memleak-lc_all.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/bash-4.4-no-loadable-builtins.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/bash-5.0-syslog-history.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/bash-configure-c99.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/bash-4.3-audit.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/bash-5.3-sast.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + echo 5.2.37 + echo 2.fc42 + rm y.tab.c y.tab.h + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.YCpqgN + umask 022 + cd /builddir/build/BUILD/bash-5.2.37-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 -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 -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 -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 -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-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 bash-5.2 + autoconf configure.ac:565: warning: The macro 'AC_PROG_GCC_TRADITIONAL' is obsolete. configure.ac:565: You should run autoupdate. ./lib/autoconf/c.m4:1676: AC_PROG_GCC_TRADITIONAL is expanded from... configure.ac:565: the top level + 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 -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 -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 -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 -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-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.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' + 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' + '[' 1 = 1 ']' + '[' x '!=' 'x-Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' ']' ++ find . -name ltmain.sh ++ grep -q runstatedir=DIR ./configure ++ echo --runstatedir=/run + ./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 --runstatedir=/run --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --with-bash-malloc=no --with-afs 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 bash-5.2-release for riscv64-koji-linux-gnu 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 the compiler supports GNU C... yes checking whether gcc accepts -g... yes checking for gcc option to enable C11 features... none needed checking for stdio.h... yes checking for stdlib.h... yes checking for string.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for strings.h... yes checking for sys/stat.h... yes checking for sys/types.h... yes checking for unistd.h... yes checking for wchar.h... yes checking for minix/config.h... no checking for sys/param.h... yes checking for xlocale.h... no checking for sys/time.h... yes checking whether it is safe to define __EXTENSIONS__... yes checking whether _XOPEN_SOURCE should be defined... no checking for gcc option to enable large file support... none needed 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 bison... bison -y checking whether make sets $(MAKE)... yes checking for an ANSI C-conforming const... yes checking for inline... inline checking whether byte ordering is bigendian... no checking for long double... yes checking whether char is unsigned... yes checking for working volatile... yes checking for C/C++ restrict keyword... __restrict__ checking for a race-free mkdir -p... /usr/bin/mkdir -p checking for a sed that does not truncate output... /usr/bin/sed checking whether NLS is requested... yes checking for msgfmt... /usr/bin/msgfmt checking for gmsgfmt... /usr/bin/msgfmt checking for xgettext... /usr/bin/xgettext checking for msgmerge... /usr/bin/msgmerge checking how to run the C preprocessor... gcc -E checking for egrep -e... /usr/bin/grep -E checking whether we are using the GNU C Library 2 or newer... yes checking whether the -Werror option is usable... yes checking for simple visibility declarations... yes checking for size_t... yes checking for stdint.h... yes checking for working alloca.h... yes checking for alloca... yes checking for getpagesize... yes checking for symlink... yes checking for uselocale... yes checking for vprintf... yes checking for alarm... yes checking for fpurge... no checking for __fpurge... yes checking for snprintf... yes checking for vsnprintf... yes checking for working mmap... yes checking whether integer division by zero raises SIGFPE... no checking for inttypes.h... yes checking for unsigned long long int... yes checking for inttypes.h... (cached) yes checking whether the inttypes.h PRIxNN macros are broken... no checking for ld used by gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for shared library run path origin... done checking 32-bit host C ABI... no checking for the common suffixes of directories in the library search path... ./configure: line 9425: cd: /lib64/lp64d/../lib64/lp64d/: No such file or directory ./configure: line 9425: cd: /usr/lib64/lp64d/../lib64/lp64d/: No such file or directory lib,lib checking whether imported symbols can be declared weak... yes checking for pthread.h... yes checking for pthread_kill in -lpthread... yes checking for multithread API to use... posix checking for pthread_rwlock_t... yes checking whether pthread_rwlock_rdlock prefers a writer to a reader... no checking for gcc options needed to detect all undeclared functions... none needed checking for iconv... yes checking for working iconv... yes checking for iconv declaration... extern size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft); checking for argz.h... yes checking for inttypes.h... (cached) yes checking for limits.h... yes checking for unistd.h... (cached) yes checking for sys/param.h... (cached) yes checking for getcwd... yes checking for getegid... yes checking for geteuid... yes checking for getgid... yes checking for getuid... yes checking for mempcpy... yes checking for munmap... yes checking for stpcpy... yes checking for strcasecmp... yes checking for strdup... yes checking for strtoul... yes checking for tsearch... yes checking for argz_count... yes checking for argz_stringify... yes checking for argz_next... yes checking for __fsetlocking... yes checking for localeconv... yes checking whether feof_unlocked is declared... yes checking whether fgets_unlocked is declared... yes checking for bison... bison checking version of bison... 3.8.2, ok checking for long long int... yes checking for wchar_t... yes checking for wint_t... yes checking whether wint_t is too small... no checking for intmax_t... yes checking whether printf() supports POSIX/XSI format strings... yes checking whether we are using the GNU C Library >= 2.1 or uClibc... yes checking for stdint.h... (cached) yes checking for SIZE_MAX... yes checking for stdint.h... (cached) yes checking for working fcntl.h... yes checking whether uselocale works... yes checking for fake locale system (OpenBSD)... no checking for Solaris 11.4 locale system... no checking for getlocalename_l... no checking for CFPreferencesCopyAppValue... no checking for CFLocaleCopyCurrent... no checking for CFLocaleCopyPreferredLanguages... no checking for flexible array members... yes checking for riscv64-koji-linux-gnu-ar... ar checking for ptrdiff_t... yes checking for features.h... yes checking for stddef.h... yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for asprintf... yes checking for fwprintf... yes checking for newlocale... yes checking for putenv... yes checking for setenv... yes checking for setlocale... yes checking for snprintf... (cached) yes checking for strnlen... yes checking for uselocale... (cached) yes checking for wcslen... yes checking for wcsnlen... yes checking for mbrtowc... yes checking for wcrtomb... yes checking whether _snprintf is declared... no checking whether _snwprintf is declared... no checking whether getc_unlocked is declared... yes checking for nl_langinfo and CODESET... yes checking for LC_MESSAGES... yes checking for CFPreferencesCopyAppValue... (cached) no checking for CFLocaleCopyCurrent... (cached) no checking for CFLocaleCopyPreferredLanguages... (cached) no checking whether included gettext is requested... no checking for GNU gettext in libc... yes checking whether to use NLS... yes checking where the gettext function comes from... libc checking for dirent.h that defines DIR... yes checking for library containing opendir... none required checking for sys/mkdev.h... no checking for sys/sysmacros.h... yes checking for inttypes.h... (cached) yes checking for unistd.h... (cached) yes checking for stdlib.h... (cached) yes checking for stdarg.h... yes checking for varargs.h... no checking for limits.h... (cached) yes checking for string.h... (cached) yes checking for memory.h... yes checking for locale.h... yes checking for termcap.h... yes checking for termio.h... yes checking for termios.h... yes checking for dlfcn.h... yes checking for stdbool.h... yes checking for stddef.h... (cached) yes checking for stdint.h... (cached) yes checking for netdb.h... yes checking for pwd.h... yes checking for grp.h... yes checking for strings.h... (cached) yes checking for regex.h... yes checking for syslog.h... yes checking for ulimit.h... yes checking for sys/pte.h... no checking for sys/stream.h... no checking for sys/select.h... yes checking for sys/file.h... yes checking for sys/ioctl.h... yes checking for sys/mman.h... yes checking for sys/param.h... (cached) yes checking for sys/random.h... yes checking for sys/socket.h... yes checking for sys/stat.h... (cached) yes checking for sys/time.h... (cached) yes checking for sys/times.h... yes checking for sys/types.h... (cached) yes checking for sys/wait.h... yes checking for netinet/in.h... yes checking for arpa/inet.h... yes checking for sys/ptem.h... no checking for sys/resource.h... yes checking for working alloca.h... (cached) yes checking for alloca... (cached) yes checking for uid_t... yes checking for gid_t... yes checking for working chown... yes checking whether getpgrp requires zero arguments... yes checking for working strcoll... yes checking for __setostype... no checking for wait3... yes checking for mkfifo... yes checking for dup2... yes checking for eaccess... yes checking for fcntl... yes checking for getdtablesize... yes checking for getentropy... yes checking for getgroups... yes checking for gethostname... yes checking for getpagesize... (cached) yes checking for getpeername... yes checking for getrandom... yes checking for getrlimit... yes checking for getrusage... yes checking for gettimeofday... yes checking for kill... yes checking for killpg... yes checking for lstat... yes checking for pselect... yes checking for readlink... yes checking for select... yes checking for setdtablesize... no checking for setitimer... yes checking for tcgetpgrp... yes checking for uname... yes checking for ulimit... yes checking for waitpid... yes checking for pread... yes checking for rename... yes checking for bcopy... yes checking for bzero... yes checking for confstr... yes checking for faccessat... yes checking for fnmatch... yes checking for getaddrinfo... yes checking for gethostbyname... yes checking for getservbyname... yes checking for getservent... yes checking for inet_aton... yes checking for imaxdiv... yes checking for memmove... yes checking for pathconf... yes checking for putenv... (cached) yes checking for raise... yes checking for random... yes checking for regcomp... yes checking for regexec... yes checking for setenv... (cached) yes checking for setlinebuf... yes checking for setlocale... (cached) yes checking for setvbuf... yes checking for siginterrupt... yes checking for strchr... yes checking for sysconf... yes checking for syslog... yes checking for tcgetattr... yes checking for times... yes checking for ttyname... yes checking for tzset... yes checking for unsetenv... yes checking for vasprintf... yes checking for asprintf... (cached) yes checking for isascii... yes checking for isblank... yes checking for isgraph... yes checking for isprint... yes checking for isspace... yes checking for isxdigit... yes checking for getpwent... yes checking for getpwnam... yes checking for getpwuid... yes checking for mkstemp... yes checking for mkdtemp... yes checking for arc4random... yes checking for getcwd... (cached) yes checking for memset... yes checking for strcasecmp... (cached) yes checking for strcasestr... yes checking for strerror... yes checking for strftime... yes checking for strnlen... (cached) yes checking for strpbrk... yes checking for strstr... yes checking for strtod... yes checking for strtol... yes checking for strtoul... (cached) yes checking for strtoll... yes checking for strtoull... yes checking for strtoumax... yes checking for dprintf... yes checking for strchrnul... yes checking for strdup... (cached) yes checking for libaudit.h... yes checking whether AUDIT_USER_TTY is declared... yes checking whether confstr is declared... yes checking whether printf is declared... yes checking whether sbrk is declared... yes checking whether setregid is declared... yes checking whether strcpy is declared... yes checking whether strsignal is declared... yes checking for setresuid... yes checking for setresgid... yes checking whether strtold is declared... yes checking for broken strtold... no checking whether strtol is declared... yes checking whether strtoll is declared... yes checking whether strtoul is declared... yes checking whether strtoull is declared... yes checking whether strtoumax is declared... yes checking for working mktime... yes checking for argz.h... (cached) yes checking for errno.h... yes checking for fcntl.h... yes checking for malloc.h... yes checking for stdio_ext.h... yes checking for working mmap... (cached) yes checking for __argz_count... yes checking for __argz_next... yes checking for __argz_stringify... yes checking for dcgettext... yes checking for mempcpy... (cached) yes checking for munmap... (cached) yes checking for mremap... yes checking for stpcpy... (cached) yes checking for strcspn... yes checking for wctype.h... yes checking for wchar.h... (cached) yes checking for langinfo.h... yes checking for mbstr.h... no checking for mbrlen... yes checking for mbscasecmp... no checking for mbscmp... no checking for mbsnrtowcs... yes checking for mbsrtowcs... yes checking for mbschr... no checking for wcrtomb... (cached) 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... (cached) yes checking for iswlower... yes checking for iswupper... yes checking for towlower... yes checking for towupper... yes checking for iswctype... yes checking for wchar_t in wchar.h... yes checking for wctype_t in wctype.h... yes checking for wint_t in wctype.h... yes checking for wcwidth broken with unicode combining characters... no checking for locale_charset... no checking size of wchar_t... 4 checking for dlopen in -ldl... yes checking for dlopen... yes checking for dlclose... yes checking for dlsym... yes checking type of array argument to getgroups... gid_t checking for off_t... yes checking for mode_t... yes checking for uid_t... (cached) yes checking for gid_t... (cached) yes checking for pid_t... yes checking for size_t... (cached) yes checking for uintptr_t... yes checking for ssize_t... yes checking for time_t... yes checking for long long int... (cached) yes checking for unsigned long long int... (cached) yes checking for sig_atomic_t in signal.h... yes checking size of char... 1 checking size of short... 2 checking size of int... 4 checking size of long... 8 checking size of char *... 8 checking size of size_t... 8 checking size of double... 8 checking size of long long... 8 checking for u_int... yes checking for u_long... yes checking for bits16_t... no checking for u_bits16_t... no checking for bits32_t... no checking for u_bits32_t... no checking for bits64_t... no checking for ptrdiff_t... (cached) yes checking whether stat file-mode macros are broken... no checking whether #! works in shell scripts... yes checking if dup2 fails to clear the close-on-exec flag... no checking whether pgrps need synchronization... yes checking for type of signal functions... posix checking for sys_errlist and sys_nerr... yes checking whether sys_siglist is declared... no checking for sys_siglist in system C library... no checking for _sys_siglist in signal.h or unistd.h... no checking for _sys_siglist in system C library... no checking for clock_t... yes checking for sigset_t... yes checking for socklen_t... yes checking for quad_t... yes checking for type of struct rlimit fields... rlim_t checking for intmax_t... yes checking for uintmax_t... yes checking size of intmax_t... 8 checking for struct termios.c_line... yes checking for struct termio.c_line... yes checking for struct dirent.d_ino... checking for struct dirent.d_ino... yes yes checking for struct dirent.d_fileno... checking for struct dirent.d_fileno... yes yes checking for struct dirent.d_namlen... checking for struct dirent.d_namlen... no no checking for struct winsize in sys/ioctl.h and termios.h... sys/ioctl.h checking for struct timeval in sys/time.h and time.h... yes checking for struct stat.st_blocks... yes checking whether struct tm is in sys/time.h or time.h... time.h checking for struct tm.tm_zone... yes checking for struct timezone in sys/time.h and time.h... yes checking for offset of exit status in return status from wait... 8 checking for struct timespec in ... yes checking for struct stat.st_atim.tv_nsec... yes checking whether struct stat.st_atim is of type struct timespec... yes checking for sbrk... yes checking for working sbrk... yes checking for the existence of strsignal... yes checking if opendir() opens non-directories... no checking whether ulimit can substitute for getdtablesize... yes checking whether fpurge is declared... no checking to see if getenv can be redefined... yes checking if getcwd() will dynamically allocate memory with 0 size... yes checking for presence of POSIX-style sigsetjmp/siglongjmp... present checking whether or not strcoll and strcmp differ... no checking for standard-conformant snprintf... yes checking for standard-conformant vsnprintf... yes checking for usable strtoimax... checking for strtoimax... yes checking whether strtoimax is declared... yes yes checking for standard-conformant putenv declaration... yes checking for standard-conformant unsetenv declaration... yes checking for printf floating point output in hex notation... yes checking whether fnmatch can be used to check bracket equivalence classes... yes checking if signal handlers must be reinstalled when invoked... yes checking for presence of necessary job control definitions... present checking for presence of named pipes... present checking whether termios.h defines TIOCGWINSZ... no checking whether sys/ioctl.h defines TIOCGWINSZ... yes checking for TIOCSTAT in sys/ioctl.h... no checking for FIONREAD in sys/ioctl.h... yes checking whether WCONTINUED flag to waitpid is unavailable or available but broken... no checking for speed_t in sys/types.h... no checking whether getpw functions are declared in pwd.h... yes checking for unusable real-time signals due to large values... no checking for tgetent... no checking for tgetent in -ltermcap... yes checking which library has the termcap functions... using libtermcap checking whether /dev/fd is available... standard checking whether /dev/stdin stdout stderr are available... present checking for default mail directory... /var/mail checking shared object configuration for loadable builtins... supported configure: creating ./config.status config.status: creating Makefile config.status: creating builtins/Makefile config.status: creating lib/readline/Makefile config.status: creating lib/glob/Makefile config.status: creating lib/intl/Makefile config.status: creating lib/malloc/Makefile config.status: creating lib/sh/Makefile config.status: creating lib/termcap/Makefile config.status: creating lib/tilde/Makefile config.status: creating doc/Makefile config.status: creating support/Makefile config.status: creating po/Makefile.in config.status: creating examples/loadables/Makefile config.status: creating examples/loadables/Makefile.inc config.status: creating examples/loadables/Makefile.sample config.status: creating examples/loadables/perl/Makefile config.status: creating support/bash.pc config.status: creating support/bashbug.sh config.status: creating config.h config.status: executing po-directories commands config.status: creating po/POTFILES config.status: creating po/Makefile config.status: executing stamp-h commands configure: WARNING: unrecognized options: --disable-dependency-tracking ++ getconf LFS_CFLAGS + MFLAGS='CPPFLAGS=-D_GNU_SOURCE -DRECYCLES_PIDS -DDEFAULT_PATH_VALUE='\''"/usr/local/bin:/usr/bin"'\'' -DSTANDARD_UTILS_PATH='\''"/bin:/usr/bin:/usr/sbin:/sbin"'\'' -DSYSLOG_HISTORY -DSYSLOG_SHOPT=0' + make 'CPPFLAGS=-D_GNU_SOURCE -DRECYCLES_PIDS -DDEFAULT_PATH_VALUE='\''"/usr/local/bin:/usr/bin"'\'' -DSTANDARD_UTILS_PATH='\''"/bin:/usr/bin:/usr/sbin:/sbin"'\'' -DSYSLOG_HISTORY -DSYSLOG_SHOPT=0' version.h bison -y -d ./parse.y rm -f parser-built touch parser-built rm -f mksyntax gcc -DPROGRAM='"bash"' -DCONF_HOSTTYPE='"riscv64"' -DCONF_OSTYPE='"linux-gnu"' -DCONF_MACHTYPE='"riscv64-koji-linux-gnu"' -DCONF_VENDOR='"koji"' -DLOCALEDIR='"/usr/share/locale"' -DPACKAGE='"bash"' -DSHELL -DHAVE_CONFIG_H -I. -I. -I./include -I./lib -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 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,-z,relro -Wl,--as-needed -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 -rdynamic -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 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -rdynamic -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 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -o mksyntax ./mksyntax.c ./mksyntax.c: In function ‘cdesc’: ./mksyntax.c:108:1: warning: old-style function definition [-Wold-style-definition] 108 | cdesc (i) | ^~~~~ ./mksyntax.c: In function ‘getcstr’: ./mksyntax.c:152:1: warning: old-style function definition [-Wold-style-definition] 152 | getcstr (f) | ^~~~~~~ ./mksyntax.c: In function ‘addcstr’: ./mksyntax.c:164:1: warning: old-style function definition [-Wold-style-definition] 164 | addcstr (str, flag) | ^~~~~~~ ./mksyntax.c: In function ‘addcchar’: ./mksyntax.c:186:1: warning: old-style function definition [-Wold-style-definition] 186 | addcchar (c, flag) | ^~~~~~~~ ./mksyntax.c: In function ‘dump_lflags’: ./mksyntax.c:255:1: warning: old-style function definition [-Wold-style-definition] 255 | dump_lflags (fp, ind) | ^~~~~~~~~~~ ./mksyntax.c: In function ‘wcomment’: ./mksyntax.c:281:1: warning: old-style function definition [-Wold-style-definition] 281 | wcomment (fp, i) | ^~~~~~~~ ./mksyntax.c: In function ‘dump_lsyntax’: ./mksyntax.c:293:1: warning: old-style function definition [-Wold-style-definition] 293 | dump_lsyntax (fp) | ^~~~~~~~~~~~ ./mksyntax.c: In function ‘main’: ./mksyntax.c:314:1: warning: old-style function definition [-Wold-style-definition] 314 | main(argc, argv) | ^~~~ rm -f syntax.c ./mksyntax -o syntax.c /bin/sh ./support/mkversion.sh -b -S . -s release -d 5.2 -o newversion.h \ && mv newversion.h version.h + make 'CPPFLAGS=-D_GNU_SOURCE -DRECYCLES_PIDS -DDEFAULT_PATH_VALUE='\''"/usr/local/bin:/usr/bin"'\'' -DSTANDARD_UTILS_PATH='\''"/bin:/usr/bin:/usr/sbin:/sbin"'\'' -DSYSLOG_HISTORY -DSYSLOG_SHOPT=0' -j32 -C builtins make: Entering directory '/builddir/build/BUILD/bash-5.2.37-build/bash-5.2/builtins' rm -f mkbuiltins.o gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I.. -I.. -I../include -I../lib -I. -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 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer mkbuiltins.c gcc -DHAVE_CONFIG_H -DSHELL -I. -I.. -I.. -I../include -I../lib -I. -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 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wl,-z,relro -Wl,--as-needed -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 -rdynamic -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 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -rdynamic -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 -fasynchronous-unwind-tables -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -o psize.aux ./psize.c mkbuiltins.c: In function ‘main’: mkbuiltins.c:245:1: warning: old-style function definition [-Wold-style-definition] 245 | main (argc, argv) | ^~~~ mkbuiltins.c:280:29: error: too many arguments to function ‘xmalloc’; expected 0, have 1 280 | error_directory = xmalloc (2 + strlen (argv[arg_index])); | ^~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mkbuiltins.c:62:14: note: declared here 62 | static char *xmalloc (), *xrealloc (); | ^~~~~~~ mkbuiltins.c:320:34: error: too many arguments to function ‘xmalloc’; expected 0, have 1 320 | temp_struct_filename = xmalloc (15); | ^~~~~~~ ~~ mkbuiltins.c:62:14: note: declared here 62 | static char *xmalloc (), *xrealloc (); | ^~~~~~~ mkbuiltins.c:325:13: error: too many arguments to function ‘file_error’; expected 0, have 1 325 | file_error (temp_struct_filename); | ^~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~ mkbuiltins.c:219:6: note: declared here 219 | void file_error (); | ^~~~~~~~~~ mkbuiltins.c:333:13: error: too many arguments to function ‘file_error’; expected 0, have 1 333 | file_error (extern_filename); | ^~~~~~~~~~ ~~~~~~~~~~~~~~~ mkbuiltins.c:219:6: note: declared here 219 | void file_error (); | ^~~~~~~~~~ mkbuiltins.c:337:7: error: too many arguments to function ‘write_file_headers’; expected 0, have 2 337 | write_file_headers (structfile, externfile); | ^~~~~~~~~~~~~~~~~~ ~~~~~~~~~~ mkbuiltins.c:222:6: note: declared here 222 | void write_file_headers (); | ^~~~~~~~~~~~~~~~~~ mkbuiltins.c:354:7: error: too many arguments to function ‘extract_info’; expected 0, have 3 354 | extract_info (arg, structfile, externfile); | ^~~~~~~~~~~~ ~~~ mkbuiltins.c:217:6: note: declared here 217 | void extract_info (); | ^~~~~~~~~~~~ mkbuiltins.c:361:7: error: too many arguments to function ‘write_file_footers’; expected 0, have 2 361 | write_file_footers (structfile, externfile); | ^~~~~~~~~~~~~~~~~~ ~~~~~~~~~~ mkbuiltins.c:223:6: note: declared here 223 | void write_file_footers (); | ^~~~~~~~~~~~~~~~~~ mkbuiltins.c:365:11: error: too many arguments to function ‘write_longdocs’; expected 0, have 2 365 | write_longdocs (structfile, saved_builtins); | ^~~~~~~~~~~~~~ ~~~~~~~~~~ mkbuiltins.c:227:6: note: declared here 227 | void write_longdocs (); | ^~~~~~~~~~~~~~ mkbuiltins.c: In function ‘array_create’: mkbuiltins.c:400:1: warning: old-style function definition [-Wold-style-definition] 400 | array_create (width) | ^~~~~~~~~~~~ mkbuiltins.c:405:20: error: too many arguments to function ‘xmalloc’; expected 0, have 1 405 | array = (ARRAY *)xmalloc (sizeof (ARRAY)); | ^~~~~~~ ~~~~~~~~~~~~~~ mkbuiltins.c:62:14: note: declared here 62 | static char *xmalloc (), *xrealloc (); | ^~~~~~~ mkbuiltins.c: In function ‘copy_string_array’: mkbuiltins.c:420:1: warning: old-style function definition [-Wold-style-definition] 420 | copy_string_array (array) | ^~~~~~~~~~~~~~~~~ mkbuiltins.c:435:26: error: too many arguments to function ‘xmalloc’; expected 0, have 1 435 | copy->array = (char **)xmalloc ((1 + array->sindex) * sizeof (char *)); | ^~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mkbuiltins.c:62:14: note: declared here 62 | static char *xmalloc (), *xrealloc (); | ^~~~~~~ mkbuiltins.c:68:31: error: too many arguments to function ‘xmalloc’; expected 0, have 1 68 | #define savestring(x) strcpy (xmalloc (1 + strlen (x)), (x)) | ^~~~~~~ ~~~~~~~~~~~~~~ mkbuiltins.c:438:22: note: in expansion of macro ‘savestring’ 438 | copy->array[i] = savestring (array->array[i]); | ^~~~~~~~~~ mkbuiltins.c:62:14: note: declared here 62 | static char *xmalloc (), *xrealloc (); | ^~~~~~~ mkbuiltins.c: In function ‘array_add’: mkbuiltins.c:447:1: warning: old-style function definition [-Wold-style-definition] 447 | array_add (element, array) | ^~~~~~~~~ mkbuiltins.c:452:29: error: too many arguments to function ‘xrealloc’; expected 0, have 2 452 | array->array = (char **)xrealloc | ^~~~~~~~ 453 | (array->array, (array->size += array->growth_rate) * array->width); | ~~~~~~~~~~~~ mkbuiltins.c:62:27: note: declared here 62 | static char *xmalloc (), *xrealloc (); | ^~~~~~~~ mkbuiltins.c: In function ‘array_free’: mkbuiltins.c:461:1: warning: old-style function definition [-Wold-style-definition] 461 | array_free (array) | ^~~~~~~~~~ mkbuiltins.c: In function ‘find_directive’: mkbuiltins.c:510:1: warning: old-style function definition [-Wold-style-definition] 510 | find_directive (directive) | ^~~~~~~~~~~~~~ mkbuiltins.c: In function ‘extract_info’: mkbuiltins.c:540:1: warning: old-style function definition [-Wold-style-definition] 540 | extract_info (filename, structfile, externfile) | ^~~~~~~~~~~~ mkbuiltins.c:543:1: error: number of arguments doesn’t match prototype 543 | { | ^ mkbuiltins.c:217:6: error: prototype declaration 217 | void extract_info (); | ^~~~~~~~~~~~ mkbuiltins.c:552:5: error: too many arguments to function ‘file_error’; expected 0, have 1 552 | file_error (filename); | ^~~~~~~~~~ ~~~~~~~~ mkbuiltins.c:219:6: note: declared here 219 | void file_error (); | ^~~~~~~~~~ mkbuiltins.c:557:5: error: too many arguments to function ‘file_error’; expected 0, have 1 557 | file_error (filename); | ^~~~~~~~~~ ~~~~~~~~ mkbuiltins.c:219:6: note: declared here 219 | void file_error (); | ^~~~~~~~~~ mkbuiltins.c:560:12: error: too many arguments to function ‘xmalloc’; expected 0, have 1 560 | buffer = xmalloc (1 + file_size); | ^~~~~~~ ~~~~~~~~~~~~~ mkbuiltins.c:62:14: note: declared here 62 | static char *xmalloc (), *xrealloc (); | ^~~~~~~ mkbuiltins.c:563:5: error: too many arguments to function ‘file_error’; expected 0, have 1 563 | file_error (filename); | ^~~~~~~~~~ ~~~~~~~~ mkbuiltins.c:219:6: note: declared here 219 | void file_error (); | ^~~~~~~~~~ mkbuiltins.c:579:22: error: too many arguments to function ‘xmalloc’; expected 0, have 1 579 | defs = (DEF_FILE *)xmalloc (sizeof (DEF_FILE)); | ^~~~~~~ ~~~~~~~~~~~~~~~~~ mkbuiltins.c:62:14: note: declared here 62 | static char *xmalloc (), *xrealloc (); | ^~~~~~~ mkbuiltins.c:603:15: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 603 | for (i = 0; line = defs->lines->array[i]; i++) | ^~~~ mkbuiltins.c:616:23: error: too many arguments to function ‘xmalloc’; expected 0, have 1 616 | directive = xmalloc (j); | ^~~~~~~ ~ mkbuiltins.c:62:14: note: declared here 62 | static char *xmalloc (), *xrealloc (); | ^~~~~~~ mkbuiltins.c:625:15: error: too many arguments to function ‘line_error’; expected 0, have 3 625 | line_error (defs, "Unknown directive `%s'", directive); | ^~~~~~~~~~ ~~~~ mkbuiltins.c:220:6: note: declared here 220 | void line_error (); | ^~~~~~~~~~ mkbuiltins.c:643:13: error: too many arguments to function ‘add_documentation’; expected 0, have 2 643 | add_documentation (defs, line); | ^~~~~~~~~~~~~~~~~ ~~~~ mkbuiltins.c:233:6: note: declared here 233 | void add_documentation (); | ^~~~~~~~~~~~~~~~~ mkbuiltins.c:673:3: error: too many arguments to function ‘write_builtins’; expected 0, have 3 673 | write_builtins (defs, structfile, externfile); | ^~~~~~~~~~~~~~ ~~~~ mkbuiltins.c:228:6: note: declared here 228 | void write_builtins (); | ^~~~~~~~~~~~~~ mkbuiltins.c:676:3: error: too many arguments to function ‘free_defs’; expected 0, have 1 676 | free_defs (defs); | ^~~~~~~~~ ~~~~ mkbuiltins.c:232:6: note: declared here 232 | void free_defs (); | ^~~~~~~~~ mkbuiltins.c: In function ‘free_builtin’: mkbuiltins.c:682:1: warning: old-style function definition [-Wold-style-definition] 682 | free_builtin (builtin) | ^~~~~~~~~~~~ mkbuiltins.c: In function ‘free_defs’: ./psize.c: In function ‘sigpipe’: mkbuiltins.c:705:1: warning: old-style function definition [-Wold-style-definition] 705 | free_defs (defs) | ^~~~~~~~~ mkbuiltins.c:707:1: error: number of arguments doesn’t match prototype 707 | { | ^ ./psize.c:51:1: warning: old-style function definition [-Wold-style-definition] 51 | sigpipe (sig) | ^~~~~~~ mkbuiltins.c:232:6: error: prototype declaration 232 | void free_defs (); | ^~~~~~~~~ ./psize.c: In function ‘main’: mkbuiltins.c:719:19: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 719 | for (i = 0; builtin = (BUILTIN_DESC *)defs->builtins->array[i]; i++) | ^~~~~~~ ./psize.c:59:1: warning: old-style function definition [-Wold-style-definition] 59 | main (argc, argv) | ^~~~ mkbuiltins.c: In function ‘strip_whitespace’: mkbuiltins.c:738:1: warning: old-style function definition [-Wold-style-definition] 738 | strip_whitespace (string) | ^~~~~~~~~~~~~~~~ mkbuiltins.c:744:3: error: too many arguments to function ‘remove_trailing_whitespace’; expected 0, have 1 744 | remove_trailing_whitespace (string); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~ mkbuiltins.c:236:6: note: declared here 236 | void remove_trailing_whitespace (); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ mkbuiltins.c: In function ‘remove_trailing_whitespace’: mkbuiltins.c:750:1: warning: old-style function definition [-Wold-style-definition] 750 | remove_trailing_whitespace (string) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ mkbuiltins.c:752:1: error: number of arguments doesn’t match prototype 752 | { | ^ mkbuiltins.c:236:6: error: prototype declaration 236 | void remove_trailing_whitespace (); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ mkbuiltins.c: In function ‘get_arg’: mkbuiltins.c:768:1: warning: old-style function definition [-Wold-style-definition] 768 | get_arg (for_whom, defs, string) | ^~~~~~~ mkbuiltins.c:777:5: error: too many arguments to function ‘line_error’; expected 0, have 3 777 | line_error (defs, "%s requires an argument", for_whom); | ^~~~~~~~~~ ~~~~ mkbuiltins.c:220:6: note: declared here 220 | void line_error (); | ^~~~~~~~~~ mkbuiltins.c:68:31: error: too many arguments to function ‘xmalloc’; expected 0, have 1 68 | #define savestring(x) strcpy (xmalloc (1 + strlen (x)), (x)) | ^~~~~~~ ~~~~~~~~~~~~~~ mkbuiltins.c:779:11: note: in expansion of macro ‘savestring’ 779 | return (savestring (new)); | ^~~~~~~~~~ mkbuiltins.c:62:14: note: declared here 62 | static char *xmalloc (), *xrealloc (); | ^~~~~~~ mkbuiltins.c: In function ‘must_be_building’: mkbuiltins.c:784:1: warning: old-style function definition [-Wold-style-definition] 784 | must_be_building (directive, defs) | ^~~~~~~~~~~~~~~~ mkbuiltins.c:787:1: error: number of arguments doesn’t match prototype 787 | { | ^ mkbuiltins.c:235:6: error: prototype declaration 235 | void must_be_building (); | ^~~~~~~~~~~~~~~~ mkbuiltins.c:789:5: error: too many arguments to function ‘line_error’; expected 0, have 3 789 | line_error (defs, "%s must be inside of a $BUILTIN block", directive); | ^~~~~~~~~~ ~~~~ mkbuiltins.c:220:6: note: declared here 220 | void line_error (); | ^~~~~~~~~~ mkbuiltins.c: In function ‘current_builtin’: mkbuiltins.c:794:1: warning: old-style function definition [-Wold-style-definition] 794 | current_builtin (directive, defs) | ^~~~~~~~~~~~~~~ mkbuiltins.c:798:3: error: too many arguments to function ‘must_be_building’; expected 0, have 2 798 | must_be_building (directive, defs); | ^~~~~~~~~~~~~~~~ ~~~~~~~~~ mkbuiltins.c:784:1: note: declared here 784 | must_be_building (directive, defs) | ^~~~~~~~~~~~~~~~ mkbuiltins.c: In function ‘add_documentation’: mkbuiltins.c:808:1: warning: old-style function definition [-Wold-style-definition] 808 | add_documentation (defs, line) | ^~~~~~~~~~~~~~~~~ mkbuiltins.c:811:1: error: number of arguments doesn’t match prototype 811 | { | ^ mkbuiltins.c:233:6: error: prototype declaration 233 | void add_documentation (); | ^~~~~~~~~~~~~~~~~ mkbuiltins.c:816:3: error: too many arguments to function ‘remove_trailing_whitespace’; expected 0, have 1 816 | remove_trailing_whitespace (line); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~ mkbuiltins.c:750:1: note: declared here 750 | remove_trailing_whitespace (string) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ mkbuiltins.c: In function ‘builtin_handler’: mkbuiltins.c:829:1: warning: old-style function definition [-Wold-style-definition] 829 | builtin_handler (self, defs, arg) | ^~~~~~~~~~~~~~~ mkbuiltins.c:840:7: error: too many arguments to function ‘line_error’; expected 0, have 3 840 | line_error (defs, "%s found before $END", self); | ^~~~~~~~~~ ~~~~ mkbuiltins.c:220:6: note: declared here 220 | void line_error (); | ^~~~~~~~~~ mkbuiltins.c:853:25: error: too many arguments to function ‘xmalloc’; expected 0, have 1 853 | new = (BUILTIN_DESC *)xmalloc (sizeof (BUILTIN_DESC)); | ^~~~~~~ ~~~~~~~~~~~~~~~~~~~~~ mkbuiltins.c:62:14: note: declared here 62 | static char *xmalloc (), *xrealloc (); | ^~~~~~~ mkbuiltins.c:862:7: error: too many arguments to function ‘is_special_builtin’; expected 0, have 1 862 | if (is_special_builtin (name)) | ^~~~~~~~~~~~~~~~~~ ~~~~ mkbuiltins.c:206:12: note: declared here 206 | static int is_special_builtin (); | ^~~~~~~~~~~~~~~~~~ mkbuiltins.c:864:7: error: too many arguments to function ‘is_assignment_builtin’; expected 0, have 1 864 | if (is_assignment_builtin (name)) | ^~~~~~~~~~~~~~~~~~~~~ ~~~~ mkbuiltins.c:207:12: note: declared here 207 | static int is_assignment_builtin (); | ^~~~~~~~~~~~~~~~~~~~~ mkbuiltins.c:866:7: error: too many arguments to function ‘is_localvar_builtin’; expected 0, have 1 866 | if (is_localvar_builtin (name)) | ^~~~~~~~~~~~~~~~~~~ ~~~~ mkbuiltins.c:208:12: note: declared here 208 | static int is_localvar_builtin (); | ^~~~~~~~~~~~~~~~~~~ mkbuiltins.c:868:7: error: too many arguments to function ‘is_posix_builtin’; expected 0, have 1 868 | if (is_posix_builtin (name)) | ^~~~~~~~~~~~~~~~ ~~~~ mkbuiltins.c:209:12: note: declared here 209 | static int is_posix_builtin (); | ^~~~~~~~~~~~~~~~ mkbuiltins.c:870:7: error: too many arguments to function ‘is_arrayvar_builtin’; expected 0, have 1 870 | if (is_arrayvar_builtin (name)) | ^~~~~~~~~~~~~~~~~~~ ~~~~ mkbuiltins.c:210:12: note: declared here 210 | static int is_arrayvar_builtin (); | ^~~~~~~~~~~~~~~~~~~ mkbuiltins.c:872:7: error: too many arguments to function ‘is_requires_builtin’; expected 0, have 1 872 | if (is_requires_builtin (name)) | ^~~~~~~~~~~~~~~~~~~ ~~~~ mkbuiltins.c:211:12: note: declared here 211 | static int is_requires_builtin (); | ^~~~~~~~~~~~~~~~~~~ mkbuiltins.c: In function ‘function_handler’: mkbuiltins.c:883:1: warning: old-style function definition [-Wold-style-definition] 883 | function_handler (self, defs, arg) | ^~~~~~~~~~~~~~~~ mkbuiltins.c:894:7: error: too many arguments to function ‘line_error’; expected 0, have 2 894 | line_error (defs, "syntax error: no current builtin for $FUNCTION directive"); | ^~~~~~~~~~ ~~~~ mkbuiltins.c:220:6: note: declared here 220 | void line_error (); | ^~~~~~~~~~ mkbuiltins.c:898:5: error: too many arguments to function ‘line_error’; expected 0, have 4 898 | line_error (defs, "%s already has a function (%s)", | ^~~~~~~~~~ ~~~~ mkbuiltins.c:220:6: note: declared here 220 | void line_error (); | ^~~~~~~~~~ mkbuiltins.c: In function ‘docname_handler’: mkbuiltins.c:908:1: warning: old-style function definition [-Wold-style-definition] 908 | docname_handler (self, defs, arg) | ^~~~~~~~~~~~~~~ mkbuiltins.c:918:5: error: too many arguments to function ‘line_error’; expected 0, have 4 918 | line_error (defs, "%s already had a docname (%s)", | ^~~~~~~~~~ ~~~~ mkbuiltins.c:220:6: note: declared here 220 | void line_error (); | ^~~~~~~~~~ mkbuiltins.c: In function ‘short_doc_handler’: mkbuiltins.c:928:1: warning: old-style function definition [-Wold-style-definition] 928 | short_doc_handler (self, defs, arg) | ^~~~~~~~~~~~~~~~~ mkbuiltins.c:938:5: error: too many arguments to function ‘line_error’; expected 0, have 4 938 | line_error (defs, "%s already has short documentation (%s)", | ^~~~~~~~~~ ~~~~ mkbuiltins.c:220:6: note: declared here 220 | void line_error (); | ^~~~~~~~~~ mkbuiltins.c: In function ‘comment_handler’: mkbuiltins.c:948:1: warning: old-style function definition [-Wold-style-definition] 948 | comment_handler (self, defs, arg) | ^~~~~~~~~~~~~~~ mkbuiltins.c: In function ‘depends_on_handler’: mkbuiltins.c:958:1: warning: old-style function definition [-Wold-style-definition] 958 | depends_on_handler (self, defs, arg) | ^~~~~~~~~~~~~~~~~~ mkbuiltins.c: In function ‘produces_handler’: mkbuiltins.c:979:1: warning: old-style function definition [-Wold-style-definition] 979 | produces_handler (self, defs, arg) | ^~~~~~~~~~~~~~~~ mkbuiltins.c:992:5: error: too many arguments to function ‘line_error’; expected 0, have 4 992 | line_error (defs, "%s already has a %s definition", defs->filename, self); | ^~~~~~~~~~ ~~~~ mkbuiltins.c:220:6: note: declared here 220 | void line_error (); | ^~~~~~~~~~ mkbuiltins.c:1003:9: error: too many arguments to function ‘file_error’; expected 0, have 1 1003 | file_error (defs->production); | ^~~~~~~~~~ ~~~~~~~~~~~~~~~~ mkbuiltins.c:219:6: note: declared here 219 | void file_error (); | ^~~~~~~~~~ mkbuiltins.c: In function ‘end_handler’: mkbuiltins.c:1013:1: warning: old-style function definition [-Wold-style-definition] 1013 | end_handler (self, defs, arg) | ^~~~~~~~~~~ mkbuiltins.c:1018:3: error: too many arguments to function ‘must_be_building’; expected 0, have 2 1018 | must_be_building (self, defs); | ^~~~~~~~~~~~~~~~ ~~~~ mkbuiltins.c:784:1: note: declared here 784 | must_be_building (directive, defs) | ^~~~~~~~~~~~~~~~ mkbuiltins.c: In function ‘line_error’: mkbuiltins.c:1031:1: warning: old-style function definition [-Wold-style-definition] 1031 | line_error (defs, format, arg1, arg2) | ^~~~~~~~~~ mkbuiltins.c:1034:1: error: number of arguments doesn’t match prototype 1034 | { | ^ mkbuiltins.c:220:6: error: prototype declaration 220 | void line_error (); | ^~~~~~~~~~ mkbuiltins.c: In function ‘file_error’: mkbuiltins.c:1045:1: warning: old-style function definition [-Wold-style-definition] 1045 | file_error (filename) | ^~~~~~~~~~ mkbuiltins.c:1047:1: error: number of arguments doesn’t match prototype 1047 | { | ^ mkbuiltins.c:219:6: error: prototype declaration 219 | void file_error (); | ^~~~~~~~~~ mkbuiltins.c: In function ‘xmalloc’: mkbuiltins.c:1061:1: warning: old-style function definition [-Wold-style-definition] 1061 | xmalloc (bytes) | ^~~~~~~ mkbuiltins.c: In function ‘xrealloc’: mkbuiltins.c:1072:1: warning: old-style function definition [-Wold-style-definition] 1072 | xrealloc (pointer, bytes) | ^~~~~~~~ mkbuiltins.c: In function ‘copy_builtin’: mkbuiltins.c:1105:1: warning: old-style function definition [-Wold-style-definition] 1105 | copy_builtin (builtin) | ^~~~~~~~~~~~ mkbuiltins.c:1110:25: error: too many arguments to function ‘xmalloc’; expected 0, have 1 1110 | new = (BUILTIN_DESC *)xmalloc (sizeof (BUILTIN_DESC)); | ^~~~~~~ ~~~~~~~~~~~~~~~~~~~~~ mkbuiltins.c:1061:1: note: declared here 1061 | xmalloc (bytes) | ^~~~~~~ mkbuiltins.c:68:31: error: too many arguments to function ‘xmalloc’; expected 0, have 1 68 | #define savestring(x) strcpy (xmalloc (1 + strlen (x)), (x)) | ^~~~~~~ ~~~~~~~~~~~~~~ mkbuiltins.c:1112:15: note: in expansion of macro ‘savestring’ 1112 | new->name = savestring (builtin->name); | ^~~~~~~~~~ mkbuiltins.c:1061:1: note: declared here 1061 | xmalloc (bytes) | ^~~~~~~ mkbuiltins.c:68:31: error: too many arguments to function ‘xmalloc’; expected 0, have 1 68 | #define savestring(x) strcpy (xmalloc (1 + strlen (x)), (x)) | ^~~~~~~ ~~~~~~~~~~~~~~ mkbuiltins.c:1113:19: note: in expansion of macro ‘savestring’ 1113 | new->shortdoc = savestring (builtin->shortdoc); | ^~~~~~~~~~ mkbuiltins.c:1061:1: note: declared here 1061 | xmalloc (bytes) | ^~~~~~~ mkbuiltins.c:68:31: error: too many arguments to function ‘xmalloc’; expected 0, have 1 68 | #define savestring(x) strcpy (xmalloc (1 + strlen (x)), (x)) | ^~~~~~~ ~~~~~~~~~~~~~~ mkbuiltins.c:1118:25: note: in expansion of macro ‘savestring’ 1118 | builtin->function ? savestring (builtin->function) : (char *)NULL; | ^~~~~~~~~~ mkbuiltins.c:1061:1: note: declared here 1061 | xmalloc (bytes) | ^~~~~~~ mkbuiltins.c:68:31: error: too many arguments to function ‘xmalloc’; expected 0, have 1 68 | #define savestring(x) strcpy (xmalloc (1 + strlen (x)), (x)) | ^~~~~~~ ~~~~~~~~~~~~~~ mkbuiltins.c:1120:25: note: in expansion of macro ‘savestring’ 1120 | builtin->docname ? savestring (builtin->docname) : (char *)NULL; | ^~~~~~~~~~ mkbuiltins.c:1061:1: note: declared here 1061 | xmalloc (bytes) | ^~~~~~~ mkbuiltins.c: In function ‘save_builtin’: mkbuiltins.c:1127:1: warning: old-style function definition [-Wold-style-definition] 1127 | save_builtin (builtin) | ^~~~~~~~~~~~ mkbuiltins.c: In function ‘write_file_headers’: mkbuiltins.c:1205:1: warning: old-style function definition [-Wold-style-definition] 1205 | write_file_headers (structfile, externfile) | ^~~~~~~~~~~~~~~~~~ mkbuiltins.c:1207:1: error: number of arguments doesn’t match prototype 1207 | { | ^ mkbuiltins.c:222:6: error: prototype declaration 222 | void write_file_headers (); | ^~~~~~~~~~~~~~~~~~ mkbuiltins.c: In function ‘write_file_footers’: mkbuiltins.c:1232:1: warning: old-style function definition [-Wold-style-definition] 1232 | write_file_footers (structfile, externfile) | ^~~~~~~~~~~~~~~~~~ mkbuiltins.c:1234:1: error: number of arguments doesn’t match prototype 1234 | { | ^ mkbuiltins.c:223:6: error: prototype declaration 223 | void write_file_footers (); | ^~~~~~~~~~~~~~~~~~ mkbuiltins.c: In function ‘write_builtins’: mkbuiltins.c:1248:1: warning: old-style function definition [-Wold-style-definition] 1248 | write_builtins (defs, structfile, externfile) | ^~~~~~~~~~~~~~ mkbuiltins.c:1251:1: error: number of arguments doesn’t match prototype 1251 | { | ^ mkbuiltins.c:228:6: error: prototype declaration 228 | void write_builtins (); | ^~~~~~~~~~~~~~ mkbuiltins.c:1268:19: error: too many arguments to function ‘write_ifdefs’; expected 0, have 2 1268 | write_ifdefs (externfile, builtin->dependencies->array); | ^~~~~~~~~~~~ ~~~~~~~~~~ mkbuiltins.c:224:6: note: declared here 224 | void write_ifdefs (); | ^~~~~~~~~~~~ mkbuiltins.c:1269:19: error: too many arguments to function ‘write_ifdefs’; expected 0, have 2 1269 | write_ifdefs (structfile, builtin->dependencies->array); | ^~~~~~~~~~~~ ~~~~~~~~~~ mkbuiltins.c:224:6: note: declared here 224 | void write_ifdefs (); | ^~~~~~~~~~~~ mkbuiltins.c:1336:21: error: too many arguments to function ‘write_endifs’; expected 0, have 2 1336 | write_endifs (externfile, builtin->dependencies->array); | ^~~~~~~~~~~~ ~~~~~~~~~~ mkbuiltins.c:225:6: note: declared here 225 | void write_endifs (); | ^~~~~~~~~~~~ mkbuiltins.c:1339:21: error: too many arguments to function ‘write_endifs’; expected 0, have 2 1339 | write_endifs (structfile, builtin->dependencies->array); | ^~~~~~~~~~~~ ~~~~~~~~~~ mkbuiltins.c:225:6: note: declared here 225 | void write_endifs (); | ^~~~~~~~~~~~ mkbuiltins.c:1346:15: error: too many arguments to function ‘write_documentation’; expected 0, have 4 1346 | write_documentation | ^~~~~~~~~~~~~~~~~~~ 1347 | (documentation_file, builtin->longdoc->array, 0, TEXINFO); | ~~~~~~~~~~~~~~~~~~ mkbuiltins.c:226:6: note: declared here 226 | void write_documentation (); | ^~~~~~~~~~~~~~~~~~~ mkbuiltins.c: In function ‘write_longdocs’: mkbuiltins.c:1355:1: warning: old-style function definition [-Wold-style-definition] 1355 | write_longdocs (stream, builtins) | ^~~~~~~~~~~~~~ mkbuiltins.c:1358:1: error: number of arguments doesn’t match prototype 1358 | { | ^ mkbuiltins.c:227:6: error: prototype declaration 227 | void write_longdocs (); | ^~~~~~~~~~~~~~ mkbuiltins.c:1369:9: error: too many arguments to function ‘write_ifdefs’; expected 0, have 2 1369 | write_ifdefs (stream, builtin->dependencies->array); | ^~~~~~~~~~~~ ~~~~~~ mkbuiltins.c:224:6: note: declared here 224 | void write_ifdefs (); | ^~~~~~~~~~~~ mkbuiltins.c:1378:31: error: too many arguments to function ‘xmalloc’; expected 0, have 1 1378 | sarray[0] = (char *)xmalloc (l + 1); | ^~~~~~~ ~~~~~ mkbuiltins.c:1061:1: note: declared here 1061 | xmalloc (bytes) | ^~~~~~~ mkbuiltins.c:1381:11: error: too many arguments to function ‘write_documentation’; expected 0, have 4 1381 | write_documentation (stream, sarray, 0, STRING_ARRAY|HELPFILE); | ^~~~~~~~~~~~~~~~~~~ ~~~~~~ mkbuiltins.c:226:6: note: declared here 226 | void write_documentation (); | ^~~~~~~~~~~~~~~~~~~ mkbuiltins.c:1385:9: error: too many arguments to function ‘write_documentation’; expected 0, have 4 1385 | write_documentation (stream, builtin->longdoc->array, 0, STRING_ARRAY); | ^~~~~~~~~~~~~~~~~~~ ~~~~~~ mkbuiltins.c:226:6: note: declared here 226 | void write_documentation (); | ^~~~~~~~~~~~~~~~~~~ mkbuiltins.c:1388:9: error: too many arguments to function ‘write_endifs’; expected 0, have 2 1388 | write_endifs (stream, builtin->dependencies->array); | ^~~~~~~~~~~~ ~~~~~~ mkbuiltins.c:225:6: note: declared here 225 | void write_endifs (); | ^~~~~~~~~~~~ mkbuiltins.c: In function ‘write_dummy_declarations’: mkbuiltins.c:1394:1: warning: old-style function definition [-Wold-style-definition] 1394 | write_dummy_declarations (stream, builtins) | ^~~~~~~~~~~~~~~~~~~~~~~~ mkbuiltins.c: In function ‘write_ifdefs’: mkbuiltins.c:1420:1: warning: old-style function definition [-Wold-style-definition] 1420 | write_ifdefs (stream, defines) | ^~~~~~~~~~~~ mkbuiltins.c:1423:1: error: number of arguments doesn’t match prototype 1423 | { | ^ mkbuiltins.c:224:6: error: prototype declaration 224 | void write_ifdefs (); | ^~~~~~~~~~~~ mkbuiltins.c: In function ‘write_endifs’: mkbuiltins.c:1451:1: warning: old-style function definition [-Wold-style-definition] 1451 | write_endifs (stream, defines) | ^~~~~~~~~~~~ mkbuiltins.c:1454:1: error: number of arguments doesn’t match prototype 1454 | { | ^ mkbuiltins.c:225:6: error: prototype declaration 225 | void write_endifs (); | ^~~~~~~~~~~~ mkbuiltins.c: In function ‘write_documentation’: mkbuiltins.c:1478:1: warning: old-style function definition [-Wold-style-definition] 1478 | write_documentation (stream, documentation, indentation, flags) | ^~~~~~~~~~~~~~~~~~~ mkbuiltins.c:1482:1: error: number of arguments doesn’t match prototype 1482 | { | ^ mkbuiltins.c:226:6: error: prototype declaration 226 | void write_documentation (); | ^~~~~~~~~~~~~~~~~~~ mkbuiltins.c: In function ‘write_helpfiles’: mkbuiltins.c:1609:1: warning: old-style function definition [-Wold-style-definition] 1609 | write_helpfiles (builtins) | ^~~~~~~~~~~~~~~ mkbuiltins.c:1611:1: error: number of arguments doesn’t match prototype 1611 | { | ^ mkbuiltins.c:230:5: error: prototype declaration 230 | int write_helpfiles (); | ^~~~~~~~~~~~~~~ mkbuiltins.c:1630:26: error: too many arguments to function ‘xmalloc’; expected 0, have 1 1630 | helpfile = (char *)xmalloc (hdlen + strlen (bname) + 1); | ^~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~ mkbuiltins.c:1061:1: note: declared here 1061 | xmalloc (bytes) | ^~~~~~~ mkbuiltins.c:1641:7: error: too many arguments to function ‘write_documentation’; expected 0, have 4 1641 | write_documentation (helpfp, builtin->longdoc->array, 4, PLAINTEXT); | ^~~~~~~~~~~~~~~~~~~ ~~~~~~ mkbuiltins.c:1478:1: note: declared here 1478 | write_documentation (stream, documentation, indentation, flags) | ^~~~~~~~~~~~~~~~~~~ mkbuiltins.c: In function ‘_find_in_table’: mkbuiltins.c:1651:1: warning: old-style function definition [-Wold-style-definition] 1651 | _find_in_table (name, name_table) | ^~~~~~~~~~~~~~ mkbuiltins.c: In function ‘is_special_builtin’: mkbuiltins.c:1663:1: warning: old-style function definition [-Wold-style-definition] 1663 | is_special_builtin (name) | ^~~~~~~~~~~~~~~~~~ mkbuiltins.c: In function ‘is_assignment_builtin’: mkbuiltins.c:1670:1: warning: old-style function definition [-Wold-style-definition] 1670 | is_assignment_builtin (name) | ^~~~~~~~~~~~~~~~~~~~~ mkbuiltins.c: In function ‘is_localvar_builtin’: mkbuiltins.c:1677:1: warning: old-style function definition [-Wold-style-definition] 1677 | is_localvar_builtin (name) | ^~~~~~~~~~~~~~~~~~~ mkbuiltins.c: In function ‘is_posix_builtin’: mkbuiltins.c:1684:1: warning: old-style function definition [-Wold-style-definition] 1684 | is_posix_builtin (name) | ^~~~~~~~~~~~~~~~ mkbuiltins.c: In function ‘is_arrayvar_builtin’: mkbuiltins.c:1691:1: warning: old-style function definition [-Wold-style-definition] 1691 | is_arrayvar_builtin (name) | ^~~~~~~~~~~~~~~~~~~ mkbuiltins.c: In function ‘is_requires_builtin’: mkbuiltins.c:1698:1: warning: old-style function definition [-Wold-style-definition] 1698 | is_requires_builtin (name) | ^~~~~~~~~~~~~~~~~~~ make: *** [Makefile:222: mkbuiltins.o] Error 1 make: *** Waiting for unfinished jobs.... make: Leaving directory '/builddir/build/BUILD/bash-5.2.37-build/bash-5.2/builtins' error: Bad exit status from /var/tmp/rpm-tmp.YCpqgN (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.YCpqgN (%build) Child return code was: 1 EXCEPTION: [Error('Command failed: \n # /usr/bin/systemd-nspawn -q -M e27a94fc47134732abd6032ecd8b8db9 -D /var/lib/mock/f42-build-side-1-3588925-46951/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv.5sx7w6wn:/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/bash.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 e27a94fc47134732abd6032ecd8b8db9 -D /var/lib/mock/f42-build-side-1-3588925-46951/root -a -u mockbuild --capability=cap_ipc_lock --bind=/tmp/mock-resolv.5sx7w6wn:/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/bash.spec'