D: [iurt_root_command] chroot Building target platforms: x86_64 Building for target x86_64 warning: Macro expanded in comment on line 14: %{name}-%{version}.tar.gz.sig sh: line 4: [: -j8: integer expression expected Installing /home/pterjan/rpmbuild/SRPMS/bash-5.2.37-1.mga10.src.rpm Executing(%mkbuilddir): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.iEnZGZ sh: line 4: [: -j8: integer expression expected Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.2YppES + umask 022 + cd /home/pterjan/rpmbuild/BUILD/bash-5.2.37-build + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD/bash-5.2.37-build + rm -rf bash-5.2.37 + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/bash-5.2.37.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd bash-5.2.37 + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/bash-doc-3.2.tar.bz2 + STATUS=0 + '[' 0 -ne 0 ']' + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + mv doc/README . + echo 'Patch #0 (bash-2.02-security.patch):' Patch #0 (bash-2.02-security.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .security --fuzz=0 patching file parse.y Hunk #1 succeeded at 1513 (offset 590 lines). + echo 'Patch #1003 (bash-4.0-profile.patch):' Patch #1003 (bash-4.0-profile.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .profile --fuzz=0 patching file config-top.h Hunk #1 succeeded at 104 (offset 22 lines). + echo 'Patch #1020 (bash-strcoll-bug.diff):' Patch #1020 (bash-strcoll-bug.diff): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .strcoll_bugx --fuzz=0 patching file lib/glob/my_strcoll.c + echo 'Patch #1024 (bash-3.2-lzma-copmpletion.patch):' Patch #1024 (bash-3.2-lzma-copmpletion.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .lzma --fuzz=0 patching file examples/complete/complete-examples Hunk #1 succeeded at 480 (offset 17 lines). + RPM_EC=0 ++ jobs -p + exit 0 sh: line 4: [: -j8: integer expression expected Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.mN9pMq + umask 022 + cd /home/pterjan/rpmbuild/BUILD/bash-5.2.37-build + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + 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.37 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + export 'CFLAGS=-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Os' + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Os' + export 'CXXFLAGS=-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Os' + CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Os' + export DEBUGGER_START_FILE=/usr/share/bashdb/bashdb-main.inc + DEBUGGER_START_FILE=/usr/share/bashdb/bashdb-main.inc + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Os' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Os' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + CONFIGURE_TOP=. + '[' 1 = 1 ']' ++ find . -name config.guess -o -name config.sub + for i in $(find ${CONFIGURE_TOP} -name config.guess -o -name config.sub) ++ basename ./support/config.guess + '[' -f /usr/lib/rpm/mageia/config.guess ']' ++ basename ./support/config.guess + cp -af /usr/lib/rpm/mageia/config.guess ./support/config.guess + for i in $(find ${CONFIGURE_TOP} -name config.guess -o -name config.sub) ++ basename ./support/config.sub + '[' -f /usr/lib/rpm/mageia/config.sub ']' ++ basename ./support/config.sub + cp -af /usr/lib/rpm/mageia/config.sub ./support/config.sub + /usr/lib/rpm/mageia/force-as-needed-for-shared-lib-in-libtool Forcing -Wl,--as-needed in configure/libtool to workaround libtool bug (cf http://lists.gnu.org/archive/html/libtool-patches/2004-06/msg00002.html) + /usr/lib/rpm/mageia/drop-ld-no-undefined-for-shared-lib-modules-in-libtool + /usr/lib/rpm/mageia/fix-libtool-ltmain-from-overlinking + /usr/lib/rpm/mageia/fix-libtool-from-moving-options-after-libs . + /usr/lib/rpm/mageia/fix-dlsearch-path-in-libtool-for-multilib . lib64 + ./configure --host=x86_64-mageia-linux-gnu --build=x86_64-mageia-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --enable-command-timing --disable-rpath --enable-history --enable-job-control --enable-multibyte --enable-readline --with-installed-readline --without-gnu-malloc --without-bash-malloc --disable-strict-posix-default --enable-select --enable-prompt-string-decoding --enable-process-substitution --enable-alias --enable-bang-history --enable-coprocesses --enable-directory-stack --enable-brace-expansion configure: WARNING: unrecognized options: --disable-dependency-tracking checking build system type... x86_64-mageia-linux-gnu checking host system type... x86_64-mageia-linux-gnu Beginning configuration for bash-5.2-release for x86_64-mageia-linux-gnu checking for x86_64-mageia-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 special C compiler options needed for large files... no checking for _FILE_OFFSET_BITS value needed for large files... no checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking whether gcc needs -traditional... no checking for tgetent... no checking for tgetent in -ltermcap... yes checking which library has the termcap functions... using libtermcap checking version of installed readline library... configure: WARNING: Could not test version of installed readline library. configure: WARNING: installed readline library is too old to be linked with bash configure: WARNING: using private bash version checking for a BSD-compatible install... /usr/bin/install -c checking for x86_64-mageia-linux-gnu-ar... no checking for ar... ar checking for x86_64-mageia-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 preprocessor stringizing operator... yes checking for long double... yes checking whether char is unsigned... no 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... no 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... yes 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... lib64,lib64 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 x86_64-mageia-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) checking for uid_t in sys/types.h... 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 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... no 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... yes 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 in sys/types.h... (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... no 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... no 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 which library has the termcap functions... (cached) 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 + make rm -f shell.o gcc -DPROGRAM='"bash"' -DCONF_HOSTTYPE='"x86_64"' -DCONF_OSTYPE='"linux-gnu"' -DCONF_MACHTYPE='"x86_64-mageia-linux-gnu"' -DCONF_VENDOR='"mageia"' -DLOCALEDIR='"/usr/share/locale"' -DPACKAGE='"bash"' -DSHELL -DHAVE_CONFIG_H -I. -I. -I./include -I./lib -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Os -c shell.c shell.c: In function 'main': shell.c:370:1: warning: old-style function definition [-Wold-style-definition] 370 | main (argc, argv, env) | ^~~~ shell.c: In function 'parse_long_options': shell.c:838:1: warning: old-style function definition [-Wold-style-definition] 838 | parse_long_options (argv, arg_start, arg_end) | ^~~~~~~~~~~~~~~~~~ shell.c: In function 'parse_shell_options': shell.c:893:1: warning: old-style function definition [-Wold-style-definition] 893 | parse_shell_options (argv, arg_start, arg_end) | ^~~~~~~~~~~~~~~~~~~ shell.c: In function 'exit_shell': shell.c:988:1: warning: old-style function definition [-Wold-style-definition] 988 | exit_shell (s) | ^~~~~~~~~~ shell.c: In function 'sh_exit': shell.c:1043:1: warning: old-style function definition [-Wold-style-definition] 1043 | sh_exit (s) | ^~~~~~~ shell.c: In function 'subshell_exit': shell.c:1059:1: warning: old-style function definition [-Wold-style-definition] 1059 | subshell_exit (s) | ^~~~~~~~~~~~~ shell.c: In function 'set_exit_status': shell.c:1075:1: warning: old-style function definition [-Wold-style-definition] 1075 | set_exit_status (s) | ^~~~~~~~~~~~~~~ shell.c: In function 'execute_env_file': shell.c:1109:1: warning: old-style function definition [-Wold-style-definition] 1109 | execute_env_file (env_file) | ^~~~~~~~~~~~~~~~ shell.c: In function 'shell_is_restricted': shell.c:1267:1: warning: old-style function definition [-Wold-style-definition] 1267 | shell_is_restricted (name) | ^~~~~~~~~~~~~~~~~~~ shell.c: In function 'maybe_make_restricted': shell.c:1288:1: warning: old-style function definition [-Wold-style-definition] 1288 | maybe_make_restricted (name) | ^~~~~~~~~~~~~~~~~~~~~ shell.c: In function 'run_one_command': shell.c:1446:1: warning: old-style function definition [-Wold-style-definition] 1446 | run_one_command (command) | ^~~~~~~~~~~~~~~ shell.c: In function 'bind_args': shell.c:1478:1: warning: old-style function definition [-Wold-style-definition] 1478 | bind_args (argv, arg_start, arg_end, start_index) | ^~~~~~~~~ shell.c: In function 'open_shell_script': shell.c:1564:1: warning: old-style function definition [-Wold-style-definition] 1564 | open_shell_script (script_name) | ^~~~~~~~~~~~~~~~~ shell.c: In function 'unset_bash_input': shell.c:1767:1: warning: old-style function definition [-Wold-style-definition] 1767 | unset_bash_input (check_zero) | ^~~~~~~~~~~~~~~~ shell.c: In function 'set_shell_name': shell.c:1793:1: warning: old-style function definition [-Wold-style-definition] 1793 | set_shell_name (argv0) | ^~~~~~~~~~~~~~ shell.c: In function 'show_shell_usage': shell.c:2060:1: warning: old-style function definition [-Wold-style-definition] 2060 | show_shell_usage (fp, extra) | ^~~~~~~~~~~~~~~~ shell.c: In function 'add_shopt_to_alist': shell.c:2111:1: warning: old-style function definition [-Wold-style-definition] 2111 | add_shopt_to_alist (opt, on_or_off) | ^~~~~~~~~~~~~~~~~~ rm -f eval.o gcc -DPROGRAM='"bash"' -DCONF_HOSTTYPE='"x86_64"' -DCONF_OSTYPE='"linux-gnu"' -DCONF_MACHTYPE='"x86_64-mageia-linux-gnu"' -DCONF_VENDOR='"mageia"' -DLOCALEDIR='"/usr/share/locale"' -DPACKAGE='"bash"' -DSHELL -DHAVE_CONFIG_H -I. -I. -I./include -I./lib -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Os -c eval.c eval.c: In function 'alrm_catcher': eval.c:238:1: warning: old-style function definition [-Wold-style-definition] 238 | alrm_catcher(i) | ^~~~~~~~~~~~ eval.c: In function 'execute_array_command': eval.c:269:1: warning: old-style function definition [-Wold-style-definition] 269 | execute_array_command (a, v) | ^~~~~~~~~~~~~~~~~~~~~ eval.c: In function 'alrm_catcher': eval.c:244:3: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 244 | write (1, msg, strlen (msg)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ bison -y -d ./parse.y rm -f parser-built touch parser-built make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/bash-5.2.37-build/bash-5.2.37/builtins' rm -f mkbuiltins.o gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I.. -I.. -I../include -I../lib -I. -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -Os mkbuiltins.c mkbuiltins.c: In function 'main': mkbuiltins.c:232:1: warning: old-style function definition [-Wold-style-definition] 232 | main (argc, argv) | ^~~~ mkbuiltins.c:267:29: error: too many arguments to function 'xmalloc'; expected 0, have 1 267 | error_directory = xmalloc (2 + strlen (argv[arg_index])); | ^~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mkbuiltins.c:62:14: note: declared here 62 | static char *xmalloc (), *xrealloc (); | ^~~~~~~ mkbuiltins.c:307:34: error: too many arguments to function 'xmalloc'; expected 0, have 1 307 | temp_struct_filename = xmalloc (15); | ^~~~~~~ ~~ mkbuiltins.c:62:14: note: declared here 62 | static char *xmalloc (), *xrealloc (); | ^~~~~~~ mkbuiltins.c:312:13: error: too many arguments to function 'file_error'; expected 0, have 1 312 | file_error (temp_struct_filename); | ^~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~ mkbuiltins.c:206:6: note: declared here 206 | void file_error (); | ^~~~~~~~~~ mkbuiltins.c:320:13: error: too many arguments to function 'file_error'; expected 0, have 1 320 | file_error (extern_filename); | ^~~~~~~~~~ ~~~~~~~~~~~~~~~ mkbuiltins.c:206:6: note: declared here 206 | void file_error (); | ^~~~~~~~~~ mkbuiltins.c:324:7: error: too many arguments to function 'write_file_headers'; expected 0, have 2 324 | write_file_headers (structfile, externfile); | ^~~~~~~~~~~~~~~~~~ ~~~~~~~~~~ mkbuiltins.c:209:6: note: declared here 209 | void write_file_headers (); | ^~~~~~~~~~~~~~~~~~ mkbuiltins.c:341:7: error: too many arguments to function 'extract_info'; expected 0, have 3 341 | extract_info (arg, structfile, externfile); | ^~~~~~~~~~~~ ~~~ mkbuiltins.c:204:6: note: declared here 204 | void extract_info (); | ^~~~~~~~~~~~ mkbuiltins.c:348:7: error: too many arguments to function 'write_file_footers'; expected 0, have 2 348 | write_file_footers (structfile, externfile); | ^~~~~~~~~~~~~~~~~~ ~~~~~~~~~~ mkbuiltins.c:210:6: note: declared here 210 | void write_file_footers (); | ^~~~~~~~~~~~~~~~~~ mkbuiltins.c:352:11: error: too many arguments to function 'write_longdocs'; expected 0, have 2 352 | write_longdocs (structfile, saved_builtins); | ^~~~~~~~~~~~~~ ~~~~~~~~~~ mkbuiltins.c:214:6: note: declared here 214 | void write_longdocs (); | ^~~~~~~~~~~~~~ mkbuiltins.c: In function 'array_create': mkbuiltins.c:387:1: warning: old-style function definition [-Wold-style-definition] 387 | array_create (width) | ^~~~~~~~~~~~ mkbuiltins.c:392:20: error: too many arguments to function 'xmalloc'; expected 0, have 1 392 | 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:407:1: warning: old-style function definition [-Wold-style-definition] 407 | copy_string_array (array) | ^~~~~~~~~~~~~~~~~ mkbuiltins.c:422:26: error: too many arguments to function 'xmalloc'; expected 0, have 1 422 | 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:425:22: note: in expansion of macro 'savestring' 425 | 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:434:1: warning: old-style function definition [-Wold-style-definition] 434 | array_add (element, array) | ^~~~~~~~~ mkbuiltins.c:439:29: error: too many arguments to function 'xrealloc'; expected 0, have 2 439 | array->array = (char **)xrealloc | ^~~~~~~~ 440 | (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:448:1: warning: old-style function definition [-Wold-style-definition] 448 | array_free (array) | ^~~~~~~~~~ mkbuiltins.c: In function 'find_directive': mkbuiltins.c:497:1: warning: old-style function definition [-Wold-style-definition] 497 | find_directive (directive) | ^~~~~~~~~~~~~~ mkbuiltins.c: In function 'extract_info': mkbuiltins.c:527:1: warning: old-style function definition [-Wold-style-definition] 527 | extract_info (filename, structfile, externfile) | ^~~~~~~~~~~~ mkbuiltins.c:530:1: error: number of arguments doesn't match prototype 530 | { | ^ mkbuiltins.c:204:6: error: prototype declaration 204 | void extract_info (); | ^~~~~~~~~~~~ mkbuiltins.c:539:5: error: too many arguments to function 'file_error'; expected 0, have 1 539 | file_error (filename); | ^~~~~~~~~~ ~~~~~~~~ mkbuiltins.c:206:6: note: declared here 206 | void file_error (); | ^~~~~~~~~~ mkbuiltins.c:544:5: error: too many arguments to function 'file_error'; expected 0, have 1 544 | file_error (filename); | ^~~~~~~~~~ ~~~~~~~~ mkbuiltins.c:206:6: note: declared here 206 | void file_error (); | ^~~~~~~~~~ mkbuiltins.c:547:12: error: too many arguments to function 'xmalloc'; expected 0, have 1 547 | buffer = xmalloc (1 + file_size); | ^~~~~~~ ~~~~~~~~~~~~~ mkbuiltins.c:62:14: note: declared here 62 | static char *xmalloc (), *xrealloc (); | ^~~~~~~ mkbuiltins.c:550:5: error: too many arguments to function 'file_error'; expected 0, have 1 550 | file_error (filename); | ^~~~~~~~~~ ~~~~~~~~ mkbuiltins.c:206:6: note: declared here 206 | void file_error (); | ^~~~~~~~~~ mkbuiltins.c:566:22: error: too many arguments to function 'xmalloc'; expected 0, have 1 566 | defs = (DEF_FILE *)xmalloc (sizeof (DEF_FILE)); | ^~~~~~~ ~~~~~~~~~~~~~~~~~ mkbuiltins.c:62:14: note: declared here 62 | static char *xmalloc (), *xrealloc (); | ^~~~~~~ mkbuiltins.c:603:23: error: too many arguments to function 'xmalloc'; expected 0, have 1 603 | directive = xmalloc (j); | ^~~~~~~ ~ mkbuiltins.c:62:14: note: declared here 62 | static char *xmalloc (), *xrealloc (); | ^~~~~~~ mkbuiltins.c:612:15: error: too many arguments to function 'line_error'; expected 0, have 3 612 | line_error (defs, "Unknown directive `%s'", directive); | ^~~~~~~~~~ ~~~~ mkbuiltins.c:207:6: note: declared here 207 | void line_error (); | ^~~~~~~~~~ mkbuiltins.c:630:13: error: too many arguments to function 'add_documentation'; expected 0, have 2 630 | add_documentation (defs, line); | ^~~~~~~~~~~~~~~~~ ~~~~ mkbuiltins.c:220:6: note: declared here 220 | void add_documentation (); | ^~~~~~~~~~~~~~~~~ mkbuiltins.c:660:3: error: too many arguments to function 'write_builtins'; expected 0, have 3 660 | write_builtins (defs, structfile, externfile); | ^~~~~~~~~~~~~~ ~~~~ mkbuiltins.c:215:6: note: declared here 215 | void write_builtins (); | ^~~~~~~~~~~~~~ mkbuiltins.c:663:3: error: too many arguments to function 'free_defs'; expected 0, have 1 663 | free_defs (defs); | ^~~~~~~~~ ~~~~ mkbuiltins.c:219:6: note: declared here 219 | void free_defs (); | ^~~~~~~~~ mkbuiltins.c: In function 'free_builtin': mkbuiltins.c:669:1: warning: old-style function definition [-Wold-style-definition] 669 | free_builtin (builtin) | ^~~~~~~~~~~~ mkbuiltins.c: In function 'free_defs': mkbuiltins.c:692:1: warning: old-style function definition [-Wold-style-definition] 692 | free_defs (defs) | ^~~~~~~~~ mkbuiltins.c:694:1: error: number of arguments doesn't match prototype 694 | { | ^ mkbuiltins.c:219:6: error: prototype declaration 219 | void free_defs (); | ^~~~~~~~~ mkbuiltins.c: In function 'strip_whitespace': mkbuiltins.c:725:1: warning: old-style function definition [-Wold-style-definition] 725 | strip_whitespace (string) | ^~~~~~~~~~~~~~~~ mkbuiltins.c:731:3: error: too many arguments to function 'remove_trailing_whitespace'; expected 0, have 1 731 | remove_trailing_whitespace (string); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~ mkbuiltins.c:223:6: note: declared here 223 | void remove_trailing_whitespace (); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ mkbuiltins.c: In function 'remove_trailing_whitespace': mkbuiltins.c:737:1: warning: old-style function definition [-Wold-style-definition] 737 | remove_trailing_whitespace (string) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ mkbuiltins.c:739:1: error: number of arguments doesn't match prototype 739 | { | ^ mkbuiltins.c:223:6: error: prototype declaration 223 | void remove_trailing_whitespace (); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ mkbuiltins.c: In function 'get_arg': mkbuiltins.c:755:1: warning: old-style function definition [-Wold-style-definition] 755 | get_arg (for_whom, defs, string) | ^~~~~~~ mkbuiltins.c:764:5: error: too many arguments to function 'line_error'; expected 0, have 3 764 | line_error (defs, "%s requires an argument", for_whom); | ^~~~~~~~~~ ~~~~ mkbuiltins.c:207:6: note: declared here 207 | 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:766:11: note: in expansion of macro 'savestring' 766 | return (savestring (new)); | ^~~~~~~~~~ mkbuiltins.c:62:14: note: declared here 62 | static char *xmalloc (), *xrealloc (); | ^~~~~~~ mkbuiltins.c: In function 'must_be_building': mkbuiltins.c:771:1: warning: old-style function definition [-Wold-style-definition] 771 | must_be_building (directive, defs) | ^~~~~~~~~~~~~~~~ mkbuiltins.c:774:1: error: number of arguments doesn't match prototype 774 | { | ^ mkbuiltins.c:222:6: error: prototype declaration 222 | void must_be_building (); | ^~~~~~~~~~~~~~~~ mkbuiltins.c:776:5: error: too many arguments to function 'line_error'; expected 0, have 3 776 | line_error (defs, "%s must be inside of a $BUILTIN block", directive); | ^~~~~~~~~~ ~~~~ mkbuiltins.c:207:6: note: declared here 207 | void line_error (); | ^~~~~~~~~~ mkbuiltins.c: In function 'current_builtin': mkbuiltins.c:781:1: warning: old-style function definition [-Wold-style-definition] 781 | current_builtin (directive, defs) | ^~~~~~~~~~~~~~~ mkbuiltins.c:785:3: error: too many arguments to function 'must_be_building'; expected 0, have 2 785 | must_be_building (directive, defs); | ^~~~~~~~~~~~~~~~ ~~~~~~~~~ mkbuiltins.c:771:1: note: declared here 771 | must_be_building (directive, defs) | ^~~~~~~~~~~~~~~~ mkbuiltins.c: In function 'add_documentation': mkbuiltins.c:795:1: warning: old-style function definition [-Wold-style-definition] 795 | add_documentation (defs, line) | ^~~~~~~~~~~~~~~~~ mkbuiltins.c:798:1: error: number of arguments doesn't match prototype 798 | { | ^ mkbuiltins.c:220:6: error: prototype declaration 220 | void add_documentation (); | ^~~~~~~~~~~~~~~~~ mkbuiltins.c:803:3: error: too many arguments to function 'remove_trailing_whitespace'; expected 0, have 1 803 | remove_trailing_whitespace (line); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~ mkbuiltins.c:737:1: note: declared here 737 | remove_trailing_whitespace (string) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ mkbuiltins.c: In function 'builtin_handler': mkbuiltins.c:816:1: warning: old-style function definition [-Wold-style-definition] 816 | builtin_handler (self, defs, arg) | ^~~~~~~~~~~~~~~ mkbuiltins.c:827:7: error: too many arguments to function 'line_error'; expected 0, have 3 827 | line_error (defs, "%s found before $END", self); | ^~~~~~~~~~ ~~~~ mkbuiltins.c:207:6: note: declared here 207 | void line_error (); | ^~~~~~~~~~ mkbuiltins.c:840:25: error: too many arguments to function 'xmalloc'; expected 0, have 1 840 | new = (BUILTIN_DESC *)xmalloc (sizeof (BUILTIN_DESC)); | ^~~~~~~ ~~~~~~~~~~~~~~~~~~~~~ mkbuiltins.c:62:14: note: declared here 62 | static char *xmalloc (), *xrealloc (); | ^~~~~~~ mkbuiltins.c:849:7: error: too many arguments to function 'is_special_builtin'; expected 0, have 1 849 | if (is_special_builtin (name)) | ^~~~~~~~~~~~~~~~~~ ~~~~ mkbuiltins.c:194:12: note: declared here 194 | static int is_special_builtin (); | ^~~~~~~~~~~~~~~~~~ mkbuiltins.c:851:7: error: too many arguments to function 'is_assignment_builtin'; expected 0, have 1 851 | if (is_assignment_builtin (name)) | ^~~~~~~~~~~~~~~~~~~~~ ~~~~ mkbuiltins.c:195:12: note: declared here 195 | static int is_assignment_builtin (); | ^~~~~~~~~~~~~~~~~~~~~ mkbuiltins.c:853:7: error: too many arguments to function 'is_localvar_builtin'; expected 0, have 1 853 | if (is_localvar_builtin (name)) | ^~~~~~~~~~~~~~~~~~~ ~~~~ mkbuiltins.c:196:12: note: declared here 196 | static int is_localvar_builtin (); | ^~~~~~~~~~~~~~~~~~~ mkbuiltins.c:855:7: error: too many arguments to function 'is_posix_builtin'; expected 0, have 1 855 | if (is_posix_builtin (name)) | ^~~~~~~~~~~~~~~~ ~~~~ mkbuiltins.c:197:12: note: declared here 197 | static int is_posix_builtin (); | ^~~~~~~~~~~~~~~~ mkbuiltins.c:857:7: error: too many arguments to function 'is_arrayvar_builtin'; expected 0, have 1 857 | if (is_arrayvar_builtin (name)) | ^~~~~~~~~~~~~~~~~~~ ~~~~ mkbuiltins.c:198:12: note: declared here 198 | static int is_arrayvar_builtin (); | ^~~~~~~~~~~~~~~~~~~ mkbuiltins.c: In function 'function_handler': mkbuiltins.c:868:1: warning: old-style function definition [-Wold-style-definition] 868 | function_handler (self, defs, arg) | ^~~~~~~~~~~~~~~~ mkbuiltins.c:879:7: error: too many arguments to function 'line_error'; expected 0, have 2 879 | line_error (defs, "syntax error: no current builtin for $FUNCTION directive"); | ^~~~~~~~~~ ~~~~ mkbuiltins.c:207:6: note: declared here 207 | void line_error (); | ^~~~~~~~~~ mkbuiltins.c:883:5: error: too many arguments to function 'line_error'; expected 0, have 4 883 | line_error (defs, "%s already has a function (%s)", | ^~~~~~~~~~ ~~~~ mkbuiltins.c:207:6: note: declared here 207 | void line_error (); | ^~~~~~~~~~ mkbuiltins.c: In function 'docname_handler': mkbuiltins.c:893:1: warning: old-style function definition [-Wold-style-definition] 893 | docname_handler (self, defs, arg) | ^~~~~~~~~~~~~~~ mkbuiltins.c:903:5: error: too many arguments to function 'line_error'; expected 0, have 4 903 | line_error (defs, "%s already had a docname (%s)", | ^~~~~~~~~~ ~~~~ mkbuiltins.c:207:6: note: declared here 207 | void line_error (); | ^~~~~~~~~~ mkbuiltins.c: In function 'short_doc_handler': mkbuiltins.c:913:1: warning: old-style function definition [-Wold-style-definition] 913 | short_doc_handler (self, defs, arg) | ^~~~~~~~~~~~~~~~~ mkbuiltins.c:923:5: error: too many arguments to function 'line_error'; expected 0, have 4 923 | line_error (defs, "%s already has short documentation (%s)", | ^~~~~~~~~~ ~~~~ mkbuiltins.c:207:6: note: declared here 207 | void line_error (); | ^~~~~~~~~~ mkbuiltins.c: In function 'comment_handler': mkbuiltins.c:933:1: warning: old-style function definition [-Wold-style-definition] 933 | comment_handler (self, defs, arg) | ^~~~~~~~~~~~~~~ mkbuiltins.c: In function 'depends_on_handler': mkbuiltins.c:943:1: warning: old-style function definition [-Wold-style-definition] 943 | depends_on_handler (self, defs, arg) | ^~~~~~~~~~~~~~~~~~ mkbuiltins.c: In function 'produces_handler': mkbuiltins.c:964:1: warning: old-style function definition [-Wold-style-definition] 964 | produces_handler (self, defs, arg) | ^~~~~~~~~~~~~~~~ mkbuiltins.c:977:5: error: too many arguments to function 'line_error'; expected 0, have 4 977 | line_error (defs, "%s already has a %s definition", defs->filename, self); | ^~~~~~~~~~ ~~~~ mkbuiltins.c:207:6: note: declared here 207 | void line_error (); | ^~~~~~~~~~ mkbuiltins.c:988:9: error: too many arguments to function 'file_error'; expected 0, have 1 988 | file_error (defs->production); | ^~~~~~~~~~ ~~~~~~~~~~~~~~~~ mkbuiltins.c:206:6: note: declared here 206 | void file_error (); | ^~~~~~~~~~ mkbuiltins.c: In function 'end_handler': mkbuiltins.c:998:1: warning: old-style function definition [-Wold-style-definition] 998 | end_handler (self, defs, arg) | ^~~~~~~~~~~ mkbuiltins.c:1003:3: error: too many arguments to function 'must_be_building'; expected 0, have 2 1003 | must_be_building (self, defs); | ^~~~~~~~~~~~~~~~ ~~~~ mkbuiltins.c:771:1: note: declared here 771 | must_be_building (directive, defs) | ^~~~~~~~~~~~~~~~ mkbuiltins.c: In function 'line_error': mkbuiltins.c:1016:1: warning: old-style function definition [-Wold-style-definition] 1016 | line_error (defs, format, arg1, arg2) | ^~~~~~~~~~ mkbuiltins.c:1019:1: error: number of arguments doesn't match prototype 1019 | { | ^ mkbuiltins.c:207:6: error: prototype declaration 207 | void line_error (); | ^~~~~~~~~~ mkbuiltins.c: In function 'file_error': mkbuiltins.c:1030:1: warning: old-style function definition [-Wold-style-definition] 1030 | file_error (filename) | ^~~~~~~~~~ mkbuiltins.c:1032:1: error: number of arguments doesn't match prototype 1032 | { | ^ mkbuiltins.c:206:6: error: prototype declaration 206 | void file_error (); | ^~~~~~~~~~ mkbuiltins.c: In function 'xmalloc': mkbuiltins.c:1046:1: warning: old-style function definition [-Wold-style-definition] 1046 | xmalloc (bytes) | ^~~~~~~ mkbuiltins.c: In function 'xrealloc': mkbuiltins.c:1057:1: warning: old-style function definition [-Wold-style-definition] 1057 | xrealloc (pointer, bytes) | ^~~~~~~~ mkbuiltins.c: In function 'copy_builtin': mkbuiltins.c:1090:1: warning: old-style function definition [-Wold-style-definition] 1090 | copy_builtin (builtin) | ^~~~~~~~~~~~ mkbuiltins.c:1095:25: error: too many arguments to function 'xmalloc'; expected 0, have 1 1095 | new = (BUILTIN_DESC *)xmalloc (sizeof (BUILTIN_DESC)); | ^~~~~~~ ~~~~~~~~~~~~~~~~~~~~~ mkbuiltins.c:1046:1: note: declared here 1046 | 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:1097:15: note: in expansion of macro 'savestring' 1097 | new->name = savestring (builtin->name); | ^~~~~~~~~~ mkbuiltins.c:1046:1: note: declared here 1046 | 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:1098:19: note: in expansion of macro 'savestring' 1098 | new->shortdoc = savestring (builtin->shortdoc); | ^~~~~~~~~~ mkbuiltins.c:1046:1: note: declared here 1046 | 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:1103:25: note: in expansion of macro 'savestring' 1103 | builtin->function ? savestring (builtin->function) : (char *)NULL; | ^~~~~~~~~~ mkbuiltins.c:1046:1: note: declared here 1046 | 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:1105:25: note: in expansion of macro 'savestring' 1105 | builtin->docname ? savestring (builtin->docname) : (char *)NULL; | ^~~~~~~~~~ mkbuiltins.c:1046:1: note: declared here 1046 | xmalloc (bytes) | ^~~~~~~ mkbuiltins.c: In function 'save_builtin': mkbuiltins.c:1112:1: warning: old-style function definition [-Wold-style-definition] 1112 | save_builtin (builtin) | ^~~~~~~~~~~~ mkbuiltins.c: In function 'write_file_headers': mkbuiltins.c:1190:1: warning: old-style function definition [-Wold-style-definition] 1190 | write_file_headers (structfile, externfile) | ^~~~~~~~~~~~~~~~~~ mkbuiltins.c:1192:1: error: number of arguments doesn't match prototype 1192 | { | ^ mkbuiltins.c:209:6: error: prototype declaration 209 | void write_file_headers (); | ^~~~~~~~~~~~~~~~~~ mkbuiltins.c: In function 'write_file_footers': mkbuiltins.c:1217:1: warning: old-style function definition [-Wold-style-definition] 1217 | write_file_footers (structfile, externfile) | ^~~~~~~~~~~~~~~~~~ mkbuiltins.c:1219:1: error: number of arguments doesn't match prototype 1219 | { | ^ mkbuiltins.c:210:6: error: prototype declaration 210 | void write_file_footers (); | ^~~~~~~~~~~~~~~~~~ mkbuiltins.c: In function 'write_builtins': mkbuiltins.c:1233:1: warning: old-style function definition [-Wold-style-definition] 1233 | write_builtins (defs, structfile, externfile) | ^~~~~~~~~~~~~~ mkbuiltins.c:1236:1: error: number of arguments doesn't match prototype 1236 | { | ^ mkbuiltins.c:215:6: error: prototype declaration 215 | void write_builtins (); | ^~~~~~~~~~~~~~ mkbuiltins.c:1253:19: error: too many arguments to function 'write_ifdefs'; expected 0, have 2 1253 | write_ifdefs (externfile, builtin->dependencies->array); | ^~~~~~~~~~~~ ~~~~~~~~~~ mkbuiltins.c:211:6: note: declared here 211 | void write_ifdefs (); | ^~~~~~~~~~~~ mkbuiltins.c:1254:19: error: too many arguments to function 'write_ifdefs'; expected 0, have 2 1254 | write_ifdefs (structfile, builtin->dependencies->array); | ^~~~~~~~~~~~ ~~~~~~~~~~ mkbuiltins.c:211:6: note: declared here 211 | void write_ifdefs (); | ^~~~~~~~~~~~ mkbuiltins.c:1320:21: error: too many arguments to function 'write_endifs'; expected 0, have 2 1320 | write_endifs (externfile, builtin->dependencies->array); | ^~~~~~~~~~~~ ~~~~~~~~~~ mkbuiltins.c:212:6: note: declared here 212 | void write_endifs (); | ^~~~~~~~~~~~ mkbuiltins.c:1323:21: error: too many arguments to function 'write_endifs'; expected 0, have 2 1323 | write_endifs (structfile, builtin->dependencies->array); | ^~~~~~~~~~~~ ~~~~~~~~~~ mkbuiltins.c:212:6: note: declared here 212 | void write_endifs (); | ^~~~~~~~~~~~ mkbuiltins.c:1330:15: error: too many arguments to function 'write_documentation'; expected 0, have 4 1330 | write_documentation | ^~~~~~~~~~~~~~~~~~~ 1331 | (documentation_file, builtin->longdoc->array, 0, TEXINFO); | ~~~~~~~~~~~~~~~~~~ mkbuiltins.c:213:6: note: declared here 213 | void write_documentation (); | ^~~~~~~~~~~~~~~~~~~ mkbuiltins.c: In function 'write_longdocs': mkbuiltins.c:1339:1: warning: old-style function definition [-Wold-style-definition] 1339 | write_longdocs (stream, builtins) | ^~~~~~~~~~~~~~ mkbuiltins.c:1342:1: error: number of arguments doesn't match prototype 1342 | { | ^ mkbuiltins.c:214:6: error: prototype declaration 214 | void write_longdocs (); | ^~~~~~~~~~~~~~ mkbuiltins.c:1353:9: error: too many arguments to function 'write_ifdefs'; expected 0, have 2 1353 | write_ifdefs (stream, builtin->dependencies->array); | ^~~~~~~~~~~~ ~~~~~~ mkbuiltins.c:211:6: note: declared here 211 | void write_ifdefs (); | ^~~~~~~~~~~~ mkbuiltins.c:1362:31: error: too many arguments to function 'xmalloc'; expected 0, have 1 1362 | sarray[0] = (char *)xmalloc (l + 1); | ^~~~~~~ ~~~~~ mkbuiltins.c:1046:1: note: declared here 1046 | xmalloc (bytes) | ^~~~~~~ mkbuiltins.c:1365:11: error: too many arguments to function 'write_documentation'; expected 0, have 4 1365 | write_documentation (stream, sarray, 0, STRING_ARRAY|HELPFILE); | ^~~~~~~~~~~~~~~~~~~ ~~~~~~ mkbuiltins.c:213:6: note: declared here 213 | void write_documentation (); | ^~~~~~~~~~~~~~~~~~~ mkbuiltins.c:1369:9: error: too many arguments to function 'write_documentation'; expected 0, have 4 1369 | write_documentation (stream, builtin->longdoc->array, 0, STRING_ARRAY); | ^~~~~~~~~~~~~~~~~~~ ~~~~~~ mkbuiltins.c:213:6: note: declared here 213 | void write_documentation (); | ^~~~~~~~~~~~~~~~~~~ mkbuiltins.c:1372:9: error: too many arguments to function 'write_endifs'; expected 0, have 2 1372 | write_endifs (stream, builtin->dependencies->array); | ^~~~~~~~~~~~ ~~~~~~ mkbuiltins.c:212:6: note: declared here 212 | void write_endifs (); | ^~~~~~~~~~~~ mkbuiltins.c: In function 'write_dummy_declarations': mkbuiltins.c:1378:1: warning: old-style function definition [-Wold-style-definition] 1378 | write_dummy_declarations (stream, builtins) | ^~~~~~~~~~~~~~~~~~~~~~~~ mkbuiltins.c: In function 'write_ifdefs': mkbuiltins.c:1404:1: warning: old-style function definition [-Wold-style-definition] 1404 | write_ifdefs (stream, defines) | ^~~~~~~~~~~~ mkbuiltins.c:1407:1: error: number of arguments doesn't match prototype 1407 | { | ^ mkbuiltins.c:211:6: error: prototype declaration 211 | void write_ifdefs (); | ^~~~~~~~~~~~ mkbuiltins.c: In function 'write_endifs': mkbuiltins.c:1435:1: warning: old-style function definition [-Wold-style-definition] 1435 | write_endifs (stream, defines) | ^~~~~~~~~~~~ mkbuiltins.c:1438:1: error: number of arguments doesn't match prototype 1438 | { | ^ mkbuiltins.c:212:6: error: prototype declaration 212 | void write_endifs (); | ^~~~~~~~~~~~ mkbuiltins.c: In function 'write_documentation': mkbuiltins.c:1462:1: warning: old-style function definition [-Wold-style-definition] 1462 | write_documentation (stream, documentation, indentation, flags) | ^~~~~~~~~~~~~~~~~~~ mkbuiltins.c:1466:1: error: number of arguments doesn't match prototype 1466 | { | ^ mkbuiltins.c:213:6: error: prototype declaration 213 | void write_documentation (); | ^~~~~~~~~~~~~~~~~~~ mkbuiltins.c: In function 'write_helpfiles': mkbuiltins.c:1593:1: warning: old-style function definition [-Wold-style-definition] 1593 | write_helpfiles (builtins) | ^~~~~~~~~~~~~~~ mkbuiltins.c:1595:1: error: number of arguments doesn't match prototype 1595 | { | ^ mkbuiltins.c:217:5: error: prototype declaration 217 | int write_helpfiles (); | ^~~~~~~~~~~~~~~ mkbuiltins.c:1614:26: error: too many arguments to function 'xmalloc'; expected 0, have 1 1614 | helpfile = (char *)xmalloc (hdlen + strlen (bname) + 1); | ^~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~ mkbuiltins.c:1046:1: note: declared here 1046 | xmalloc (bytes) | ^~~~~~~ mkbuiltins.c:1625:7: error: too many arguments to function 'write_documentation'; expected 0, have 4 1625 | write_documentation (helpfp, builtin->longdoc->array, 4, PLAINTEXT); | ^~~~~~~~~~~~~~~~~~~ ~~~~~~ mkbuiltins.c:1462:1: note: declared here 1462 | write_documentation (stream, documentation, indentation, flags) | ^~~~~~~~~~~~~~~~~~~ mkbuiltins.c: In function '_find_in_table': mkbuiltins.c:1635:1: warning: old-style function definition [-Wold-style-definition] 1635 | _find_in_table (name, name_table) | ^~~~~~~~~~~~~~ mkbuiltins.c: In function 'is_special_builtin': mkbuiltins.c:1647:1: warning: old-style function definition [-Wold-style-definition] 1647 | is_special_builtin (name) | ^~~~~~~~~~~~~~~~~~ mkbuiltins.c: In function 'is_assignment_builtin': mkbuiltins.c:1654:1: warning: old-style function definition [-Wold-style-definition] 1654 | is_assignment_builtin (name) | ^~~~~~~~~~~~~~~~~~~~~ mkbuiltins.c: In function 'is_localvar_builtin': mkbuiltins.c:1661:1: warning: old-style function definition [-Wold-style-definition] 1661 | is_localvar_builtin (name) | ^~~~~~~~~~~~~~~~~~~ mkbuiltins.c: In function 'is_posix_builtin': mkbuiltins.c:1668:1: warning: old-style function definition [-Wold-style-definition] 1668 | is_posix_builtin (name) | ^~~~~~~~~~~~~~~~ mkbuiltins.c: In function 'is_arrayvar_builtin': mkbuiltins.c:1675:1: warning: old-style function definition [-Wold-style-definition] 1675 | is_arrayvar_builtin (name) | ^~~~~~~~~~~~~~~~~~~ make[1]: *** [Makefile:223: mkbuiltins.o] Error 1 make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/bash-5.2.37-build/bash-5.2.37/builtins' make: *** [Makefile:762: builtins/builtext.h] Error 1 error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.mN9pMq (%build) RPM build warnings: Macro expanded in comment on line 14: %{name}-%{version}.tar.gz.sig RPM build errors: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.mN9pMq (%build) I: [iurt_root_command] ERROR: chroot