Build start time: Wed Sep 24 05:11:03 UTC 2025
[ REASON ] : target/debs/bullseye/bash_5.1-2_amd64.deb does not exist
[ FLAGS FILE ] : []
[ FLAGS DEPENDS ] : []
[ FLAGS DIFF ] : []
make[1]: warning: -j112 forced in submake: resetting jobserver mode.
make[1]: Entering directory '/sonic/src/bash'
# Quilt store applied patches info in .pc folder, if this folder not clean, quilt can't apply patches correctly.
rm -rf .pc
rm -rf bash-5.1
dget -u https://launchpad.net/debian/+archive/primary/+sourcefiles/bash/5.1-2/bash_5.1-2.dsc
# Apply plugin suport patches
quilt push -a
pushd bash-5.1
# build package
DEB_BUILD_OPTIONS=nocheck dpkg-buildpackage -us -uc -b -j112 --admindir /sonic/dpkg/tmp.SJKpafKR9n
# copy UT code.
cp -a ../Files/. ./
# generate config.h which need by UT
./configure
# generate 'pathnames.h' by make bash again, which is needed by UT.
make
# run UT after config.h ready.
make -C unittest && make test -C unittest
popd
mv bash_5.1-2_amd64.deb /sonic/target/debs/bullseye/
dget: retrieving https://launchpad.net/debian/+archive/primary/+sourcefiles/bash/5.1-2/bash_5.1-2.dsc
mkdir: cannot create directory '/vcache/sonic-slave-bullseye/web': Permission denied
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
100 2296 100 2296 0 0 1197 0 0:00:01 0:00:01 --:--:-- 2468
dget: retrieving https://launchpad.net/debian/+archive/primary/+sourcefiles/bash/5.1-2/bash_5.1.orig.tar.xz
mkdir: cannot create directory '/vcache/sonic-slave-bullseye/web': Permission denied
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
0 0 0 0 0 0 0 0 --:--:-- 0:00:01 --:--:-- 0
0 0 0 0 0 0 0 0 --:--:-- 0:00:02 --:--:-- 0
3 5666k 3 207k 0 0 67420 0 0:01:26 0:00:03 0:01:23 98781
27 5666k 27 1548k 0 0 386k 0 0:00:14 0:00:04 0:00:10 515k
100 5666k 100 5666k 0 0 1239k 0 0:00:04 0:00:04 --:--:-- 1587k
dget: retrieving https://launchpad.net/debian/+archive/primary/+sourcefiles/bash/5.1-2/bash_5.1-2.debian.tar.xz
mkdir: cannot create directory '/vcache/sonic-slave-bullseye/web': Permission denied
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
0 0 0 0 0 0 0 0 --:--:-- 0:00:01 --:--:-- 0
44 90660 44 40544 0 0 18857 0 0:00:04 0:00:02 0:00:02 39671
100 90660 100 90660 0 0 42147 0 0:00:02 0:00:02 --:--:-- 88535
dpkg-source: info: extracting bash in bash-5.1
dpkg-source: info: unpacking bash_5.1.orig.tar.xz
dpkg-source: info: unpacking bash_5.1-2.debian.tar.xz
dpkg-source: info: using patch list from debian/patches/series
dpkg-source: info: applying bash51-001.diff
dpkg-source: info: applying bash51-002.diff
dpkg-source: info: applying bash51-003.diff
dpkg-source: info: applying bash51-004.diff
dpkg-source: info: applying bashbug-editor.diff
dpkg-source: info: applying deb-bash-config.diff
dpkg-source: info: applying deb-examples.diff
dpkg-source: info: applying man-arithmetic.diff
dpkg-source: info: applying man-fignore.diff
dpkg-source: info: applying man-bashrc.diff
dpkg-source: info: applying man-bashlogout.diff
dpkg-source: info: applying man-nocaseglob.diff
dpkg-source: info: applying man-test.diff
dpkg-source: info: applying man-test2.diff
dpkg-source: info: applying rbash-manpage.diff
dpkg-source: info: applying bash-default-editor.diff
dpkg-source: info: applying input-err.diff
dpkg-source: info: applying exec-redirections-doc.diff
dpkg-source: info: applying bash-aliases-repeat.diff
dpkg-source: info: applying use-system-texi2html.diff
dpkg-source: info: applying bzero.diff
dpkg-source: info: applying man-macro-warnings.diff
dpkg-source: info: applying man-vx-opts.diff
Applying patch patches/0001-Add-plugin-support-to-bash.patch
patching file bash-5.1/Makefile.in
patching file bash-5.1/config.h.in
patching file bash-5.1/configure
patching file bash-5.1/configure.ac
patching file bash-5.1/execute_cmd.c
patching file bash-5.1/plugin.c
patching file bash-5.1/plugin.h
patching file bash-5.1/shell.c
Now at patch patches/0001-Add-plugin-support-to-bash.patch
/sonic/src/bash/bash-5.1 /sonic/src/bash
dpkg-buildpackage: info: source package bash
dpkg-buildpackage: info: source version 5.1-2
dpkg-buildpackage: info: source distribution unstable
dpkg-buildpackage: info: source changed by Matthias Klose
dpkg-source --before-build .
dpkg-buildpackage: info: host architecture amd64
fakeroot debian/rules clean
make[2]: Entering directory '/sonic/src/bash/bash-5.1'
make[2]: warning: jobserver unavailable: using -j1. Add '+' to parent make rule.
dh_testdir
dh_testroot
rm -rf stamps build-*
rm -f debian/bash.preinst debian/*.o
rm -f debian/README.Debian
rm -rf locales
rm -f clear_console
dh_autotools-dev_restoreconfig
dh_autotools-dev_restoreconfig: warning: dh_autotools-dev_restoreconfig is deprecated; please see dh_autotools-dev_restoreconfig(1) for a replacement
dh_autotools-dev_restoreconfig: warning: This feature will be removed in compat 12.
dh_clean
make[2]: Leaving directory '/sonic/src/bash/bash-5.1'
debian/rules build
make[2]: Entering directory '/sonic/src/bash/bash-5.1'
make[2]: warning: jobserver unavailable: using -j1. Add '+' to parent make rule.
dh_testdir
dh_autotools-dev_updateconfig
dh_autotools-dev_updateconfig: warning: dh_autotools-dev_updateconfig is deprecated; please see dh_autotools-dev_updateconfig(1) for a replacement
dh_autotools-dev_updateconfig: warning: This feature will be removed in compat 12.
mkdir -p stamps
: # see #327477, needed to have HAVE_DEV_STDIN defined
(test -d /dev/fd && test -r /dev/stdin < /dev/null) \
|| (test -d /proc/self/fd && test -r /dev/stdin < /dev/null)
gcc -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wl,-z,relro -Wdate-time -D_FORTIFY_SOURCE=2 -o clear_console \
debian/clear_console.c -ltinfo
debian/clear_console.c: In function 'clear_console':
debian/clear_console.c:179:3: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result]
179 | write(1, "\e[3J", 4);
| ^~~~~~~~~~~~~~~~~~~~
/usr/bin/make -f debian/rules do-build-bash \
bash_src=. \
build=bash \
configure_args="--enable-largefile --prefix=/usr --infodir=/usr/share/info --mandir=/usr/share/man --without-bash-malloc --build x86_64-linux-gnu"
make[3]: Entering directory '/sonic/src/bash/bash-5.1'
dh_testdir
rm -rf build-bash
mkdir build-bash
cd build-bash && \
CC="gcc" \
CFLAGS="-g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall" CPPFLAGS="-Wdate-time -D_FORTIFY_SOURCE=2" LDFLAGS="-Wl,-z,relro" \
YACC="bison -y" \
.././configure --enable-largefile --prefix=/usr --infodir=/usr/share/info --mandir=/usr/share/man --without-bash-malloc --build x86_64-linux-gnu
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
Beginning configuration for bash-5.1-release for x86_64-pc-linux-gnu
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for library containing strerror... none required
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... yes
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking whether gcc needs -traditional... no
checking for a BSD-compatible install... /usr/bin/install -c
checking for ar... ar
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 with more range or precision than double... yes
checking for function prototypes... yes
checking whether char is unsigned... no
checking for working volatile... yes
checking for C/C++ restrict keyword... __restrict
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for a sed that does not truncate output... /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 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 stdlib.h... (cached) yes
checking for unistd.h... (cached) yes
checking for sys/param.h... yes
checking for xlocale.h... no
checking for sys/time.h... yes
checking for getpagesize... 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... lib,lib
checking whether imported symbols can be declared weak... yes
checking pthread.h usability... yes
checking pthread.h presence... yes
checking for pthread.h... 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 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 argz.h usability... yes
checking argz.h presence... yes
checking for argz.h... yes
checking for inttypes.h... (cached) yes
checking limits.h usability... yes
checking limits.h presence... 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.7.5, 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 symlink... yes
checking for uselocale... yes
checking for alarm... yes
checking for fpurge... no
checking for __fpurge... yes
checking for snprintf... yes
checking for vsnprintf... 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 ar... (cached) ar
checking for ptrdiff_t... yes
checking features.h usability... yes
checking features.h presence... yes
checking for features.h... yes
checking stddef.h usability... yes
checking stddef.h presence... 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 whether time.h and sys/time.h may both be included... yes
checking whether sys/types.h defines makedev... no
checking sys/mkdev.h usability... no
checking sys/mkdev.h presence... no
checking for sys/mkdev.h... no
checking sys/sysmacros.h usability... yes
checking sys/sysmacros.h presence... yes
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 stdarg.h usability... yes
checking stdarg.h presence... yes
checking for stdarg.h... yes
checking varargs.h usability... no
checking varargs.h presence... no
checking for varargs.h... no
checking for limits.h... (cached) yes
checking for string.h... (cached) yes
checking for memory.h... (cached) yes
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking termcap.h usability... yes
checking termcap.h presence... yes
checking for termcap.h... yes
checking termio.h usability... yes
checking termio.h presence... yes
checking for termio.h... yes
checking termios.h usability... yes
checking termios.h presence... yes
checking for termios.h... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking stdbool.h usability... yes
checking stdbool.h presence... yes
checking for stdbool.h... yes
checking for stddef.h... (cached) yes
checking for stdint.h... (cached) yes
checking netdb.h usability... yes
checking netdb.h presence... yes
checking for netdb.h... yes
checking pwd.h usability... yes
checking pwd.h presence... yes
checking for pwd.h... yes
checking grp.h usability... yes
checking grp.h presence... yes
checking for grp.h... yes
checking for strings.h... (cached) yes
checking regex.h usability... yes
checking regex.h presence... yes
checking for regex.h... yes
checking syslog.h usability... yes
checking syslog.h presence... yes
checking for syslog.h... yes
checking ulimit.h usability... yes
checking ulimit.h presence... yes
checking for ulimit.h... yes
checking sys/pte.h usability... no
checking sys/pte.h presence... no
checking for sys/pte.h... no
checking sys/stream.h usability... no
checking sys/stream.h presence... no
checking for sys/stream.h... no
checking sys/select.h usability... yes
checking sys/select.h presence... yes
checking for sys/select.h... yes
checking sys/file.h usability... yes
checking sys/file.h presence... yes
checking for sys/file.h... yes
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
checking sys/mman.h usability... yes
checking sys/mman.h presence... yes
checking for sys/mman.h... yes
checking for sys/param.h... (cached) yes
checking sys/random.h usability... yes
checking sys/random.h presence... yes
checking for sys/random.h... yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking for sys/stat.h... (cached) yes
checking for sys/time.h... (cached) yes
checking sys/times.h usability... yes
checking sys/times.h presence... yes
checking for sys/times.h... yes
checking for sys/types.h... (cached) yes
checking sys/wait.h usability... yes
checking sys/wait.h presence... yes
checking for sys/wait.h... yes
checking netinet/in.h usability... yes
checking netinet/in.h presence... yes
checking for netinet/in.h... yes
checking arpa/inet.h usability... yes
checking arpa/inet.h presence... 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 in sys/types.h... yes
checking for unistd.h... (cached) yes
checking for working chown... yes
checking whether getpgrp requires zero arguments... yes
checking for vprintf... yes
checking for _doprnt... no
checking for working strcoll... yes
checking return type of signal handlers... void
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... no
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 strtoimax... yes
checking for strtoumax... yes
checking for dprintf... yes
checking for strchrnul... yes
checking for strdup... (cached) yes
checking libaudit.h usability... yes
checking libaudit.h presence... 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 for declaration of strtoimax... yes
checking for declaration of strtol... yes
checking for declaration of strtoll... yes
checking for declaration of strtoul... yes
checking for declaration of strtoull... yes
checking for declaration of strtoumax... yes
checking for working mktime... yes
checking for argz.h... (cached) yes
checking errno.h usability... yes
checking errno.h presence... yes
checking for errno.h... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking malloc.h usability... yes
checking malloc.h presence... yes
checking for malloc.h... yes
checking stdio_ext.h usability... yes
checking stdio_ext.h presence... yes
checking for stdio_ext.h... yes
checking for getpagesize... (cached) 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 wctype.h usability... yes
checking wctype.h presence... yes
checking for wctype.h... yes
checking wchar.h usability... yes
checking wchar.h presence... yes
checking for wchar.h... yes
checking langinfo.h usability... yes
checking langinfo.h presence... yes
checking for langinfo.h... yes
checking mbstr.h usability... no
checking mbstr.h presence... no
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 nl_langinfo and CODESET... yes
checking for wchar_t in wchar.h... yes
checking for wctype_t in wctype.h... yes
checking for wint_t in wctype.h... yes
checking for wcwidth broken with unicode combining characters... yes
checking 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 whether sys_siglist is declared... 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... long long
checking for unsigned long long... unsigned long long
checking return type of signal handlers... (cached) void
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 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 whether the ctype macros accept non-ascii characters... no
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 for sys_siglist in system C library... yes
checking for _sys_siglist in signal.h or unistd.h... yes
checking for _sys_siglist in system C library... yes
checking whether signal handlers are of type void... yes
checking for clock_t... yes
checking for sigset_t... yes
checking for sig_atomic_t... yes
checking for quad_t... yes
checking for intmax_t... yes
checking for uintmax_t... yes
checking for socklen_t... yes
checking for size and type of struct rlimit fields... rlim_t
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... yes
checking for struct dirent.d_fileno... yes
checking for struct dirent.d_namlen... 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 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... no
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/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 default commands
if ! grep -q '#define HAVE_DEV_STDIN 1' build-bash/config.h; then \
echo "HAVE_DEV_STDIN not defined, abortig build"; \
exit 1; \
fi
touch stamps/stamp-configure-bash
dh_testdir
/usr/bin/make -C build-bash \
YACC="bison -y" \
TERMCAP_LIB=" -ltinfo" \
deb_builddir=build-bash/ \
make[4]: Entering directory '/sonic/src/bash/bash-5.1/build-bash'
rm -f mksyntax
gcc -DPROGRAM='"bash"' -DCONF_HOSTTYPE='"x86_64"' -DCONF_OSTYPE='"linux-gnu"' -DCONF_MACHTYPE='"x86_64-pc-linux-gnu"' -DCONF_VENDOR='"pc"' -DLOCALEDIR='"/usr/share/locale"' -DPACKAGE='"bash"' -DSHELL -DHAVE_CONFIG_H -I. -I../. -I.././include -I.././lib -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wl,-z,relro -rdynamic -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -rdynamic -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -o mksyntax .././mksyntax.c
rm -f syntax.c
./mksyntax -o syntax.c
/bin/sh .././support/mkversion.sh -b -S ../. -s release -d 5.1 -o newversion.h \
&& mv newversion.h version.h
gcc -DPROGRAM='"bash"' -DCONF_HOSTTYPE='"x86_64"' -DCONF_OSTYPE='"linux-gnu"' -DCONF_MACHTYPE='"x86_64-pc-linux-gnu"' -DCONF_VENDOR='"pc"' -DLOCALEDIR='"/usr/share/locale"' -DPACKAGE='"bash"' -DSHELL -DHAVE_CONFIG_H -I. -I../. -I.././include -I.././lib -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -DBUILDTOOL -c -o buildversion.o .././version.c
gcc -DPROGRAM='"bash"' -DCONF_HOSTTYPE='"x86_64"' -DCONF_OSTYPE='"linux-gnu"' -DCONF_MACHTYPE='"x86_64-pc-linux-gnu"' -DCONF_VENDOR='"pc"' -DLOCALEDIR='"/usr/share/locale"' -DPACKAGE='"bash"' -DSHELL -DHAVE_CONFIG_H -I. -I../. -I.././include -I.././lib -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wl,-z,relro -rdynamic -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -rdynamic -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -o bashversion .././support/bashversion.c buildversion.o
.././support/bashversion.c: In function 'main':
.././support/bashversion.c:70:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
70 | if (progname = strrchr (argv[0], '/'))
| ^~~~~~~~
***********************************************************
* *
* GNU bash, version 5.1.4(1)-release (x86_64-pc-linux-gnu)
* *
***********************************************************
rm -f shell.o
gcc -DPROGRAM='"bash"' -DCONF_HOSTTYPE='"x86_64"' -DCONF_OSTYPE='"linux-gnu"' -DCONF_MACHTYPE='"x86_64-pc-linux-gnu"' -DCONF_VENDOR='"pc"' -DLOCALEDIR='"/usr/share/locale"' -DPACKAGE='"bash"' -DSHELL -DHAVE_CONFIG_H -I. -I../. -I.././include -I.././lib -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -c .././shell.c
.././shell.c: In function 'parse_shell_options':
.././shell.c:908:14: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
908 | while (arg_character = arg_string[i++])
| ^~~~~~~~~~~~~
.././shell.c: In function 'disable_priv_mode':
.././shell.c:1322:7: warning: variable 'e' set but not used [-Wunused-but-set-variable]
1322 | int e;
| ^
rm -f eval.o
gcc -DPROGRAM='"bash"' -DCONF_HOSTTYPE='"x86_64"' -DCONF_OSTYPE='"linux-gnu"' -DCONF_MACHTYPE='"x86_64-pc-linux-gnu"' -DCONF_VENDOR='"pc"' -DLOCALEDIR='"/usr/share/locale"' -DPACKAGE='"bash"' -DSHELL -DHAVE_CONFIG_H -I. -I../. -I.././include -I.././lib -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -c .././eval.c
.././eval.c: In function 'reader_loop':
.././eval.c:146:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
146 | else if (current_command = global_command)
| ^~~~~~~~~~~~~~~
.././eval.c: In function 'alrm_catcher':
.././eval.c:243:3: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result]
243 | write (1, msg, strlen (msg));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
make[5]: Entering directory '/sonic/src/bash/bash-5.1/build-bash/builtins'
rm -f mkbuiltins.o
gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I.. -I../../. -I../.././include -I../.././lib -I../.././builtins -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall ../.././builtins/mkbuiltins.c
../.././builtins/mkbuiltins.c: In function 'extract_info':
../.././builtins/mkbuiltins.c:567:15: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
567 | for (i = 0; line = defs->lines->array[i]; i++)
| ^~~~
../.././builtins/mkbuiltins.c: In function 'free_defs':
../.././builtins/mkbuiltins.c:683:19: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
683 | for (i = 0; builtin = (BUILTIN_DESC *)defs->builtins->array[i]; i++)
| ^~~~~~~
gcc -Wl,-z,relro -rdynamic -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -rdynamic -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -o mkbuiltins mkbuiltins.o -ldl
./mkbuiltins -externfile builtext.h -structfile builtins.c \
-noproduction -D ../.././builtins ../.././builtins/alias.def ../.././builtins/bind.def ../.././builtins/break.def ../.././builtins/builtin.def ../.././builtins/caller.def ../.././builtins/cd.def ../.././builtins/colon.def ../.././builtins/command.def ../.././builtins/declare.def ../.././builtins/echo.def ../.././builtins/enable.def ../.././builtins/eval.def ../.././builtins/getopts.def ../.././builtins/exec.def ../.././builtins/exit.def ../.././builtins/fc.def ../.././builtins/fg_bg.def ../.././builtins/hash.def ../.././builtins/help.def ../.././builtins/history.def ../.././builtins/jobs.def ../.././builtins/kill.def ../.././builtins/let.def ../.././builtins/read.def ../.././builtins/return.def ../.././builtins/set.def ../.././builtins/setattr.def ../.././builtins/shift.def ../.././builtins/source.def ../.././builtins/suspend.def ../.././builtins/test.def ../.././builtins/times.def ../.././builtins/trap.def ../.././builtins/type.def ../.././builtins/ulimit.def ../.././builtins/umask.def ../.././builtins/wait.def ../.././builtins/reserved.def ../.././builtins/pushd.def ../.././builtins/shopt.def ../.././builtins/printf.def ../.././builtins/complete.def ../.././builtins/mapfile.def
make[5]: Leaving directory '/sonic/src/bash/bash-5.1/build-bash/builtins'
rm -f execute_cmd.o
gcc -DPROGRAM='"bash"' -DCONF_HOSTTYPE='"x86_64"' -DCONF_OSTYPE='"linux-gnu"' -DCONF_MACHTYPE='"x86_64-pc-linux-gnu"' -DCONF_VENDOR='"pc"' -DLOCALEDIR='"/usr/share/locale"' -DPACKAGE='"bash"' -DSHELL -DHAVE_CONFIG_H -I. -I../. -I.././include -I.././lib -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -c .././execute_cmd.c
.././execute_cmd.c: In function 'select_query':
.././execute_cmd.c:3273:23: warning: unused variable 't' [-Wunused-variable]
3273 | char *repl_string, *t;
| ^
.././execute_cmd.c: At top level:
.././execute_cmd.c:1740:13: warning: 'cpl_prune' declared 'static' but never defined [-Wunused-function]
1740 | static void cpl_prune PARAMS((void));
| ^~~~~~~~~
.././execute_cmd.c:3136:12: warning: 'LINES' defined but not used [-Wunused-variable]
3136 | static int LINES, COLS, tabsize;
| ^~~~~
.././execute_cmd.c:2034:1: warning: 'coproc_free' defined but not used [-Wunused-function]
2034 | coproc_free (cp)
| ^~~~~~~~~~~
.././execute_cmd.c:1939:1: warning: 'cpl_firstactive' defined but not used [-Wunused-function]
1939 | cpl_firstactive ()
| ^~~~~~~~~~~~~~~
.././execute_cmd.c:1927:1: warning: 'cpl_searchbyname' defined but not used [-Wunused-function]
1927 | cpl_searchbyname (name)
| ^~~~~~~~~~~~~~~~
.././execute_cmd.c:1913:1: warning: 'cpl_search' defined but not used [-Wunused-function]
1913 | cpl_search (pid)
| ^~~~~~~~~~
.././execute_cmd.c:1901:1: warning: 'cpl_fdchk' defined but not used [-Wunused-function]
1901 | cpl_fdchk (fd)
| ^~~~~~~~~
.././execute_cmd.c:1892:1: warning: 'cpl_closeall' defined but not used [-Wunused-function]
1892 | cpl_closeall ()
| ^~~~~~~~~~~~
.././execute_cmd.c:1874:1: warning: 'cpl_flush' defined but not used [-Wunused-function]
1874 | cpl_flush ()
| ^~~~~~~~~
.././execute_cmd.c:1829:1: warning: 'cpl_reap' defined but not used [-Wunused-function]
1829 | cpl_reap ()
| ^~~~~~~~
.././execute_cmd.c:1794:1: warning: 'cpl_delete' defined but not used [-Wunused-function]
1794 | cpl_delete (pid)
| ^~~~~~~~~~
.././execute_cmd.c:1771:1: warning: 'cpl_add' defined but not used [-Wunused-function]
1771 | cpl_add (cp)
| ^~~~~~~
.././execute_cmd.c:280:12: warning: 'connection_count' defined but not used [-Wunused-variable]
280 | static int connection_count;
| ^~~~~~~~~~~~~~~~
.././execute_cmd.c: In function 'execute_command_internal':
.././execute_cmd.c:1101:7: warning: 'ofifo_list' may be used uninitialized in this function [-Wmaybe-uninitialized]
1101 | free ((void *)ofifo_list);
| ^~~~~~~~~~~~~~~~~~~~~~~~~
rm -f y.tab.o
gcc -DPROGRAM='"bash"' -DCONF_HOSTTYPE='"x86_64"' -DCONF_OSTYPE='"linux-gnu"' -DCONF_MACHTYPE='"x86_64-pc-linux-gnu"' -DCONF_VENDOR='"pc"' -DLOCALEDIR='"/usr/share/locale"' -DPACKAGE='"bash"' -DSHELL -DHAVE_CONFIG_H -I. -I../. -I.././include -I.././lib -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -c .././y.tab.c
/Users/chet/src/bash/src/parse.y: In function 'read_secondary_line':
/Users/chet/src/bash/src/parse.y:2125:10: warning: unused variable 'c' [-Wunused-variable]
/Users/chet/src/bash/src/parse.y:2125:7: warning: unused variable 'n' [-Wunused-variable]
/Users/chet/src/bash/src/parse.y: In function 'parse_matched_pair':
/Users/chet/src/bash/src/parse.y:3550:18: warning: variable 'prevch' set but not used [-Wunused-but-set-variable]
/Users/chet/src/bash/src/parse.y: In function 'parse_comsub':
/Users/chet/src/bash/src/parse.y:3946:1: warning: label 'comsub_readchar' defined but not used [-Wunused-label]
/Users/chet/src/bash/src/parse.y: In function 'xparse_dolparen':
/Users/chet/src/bash/src/parse.y:4457:7: warning: variable 'orig_ind' set but not used [-Wunused-but-set-variable]
/Users/chet/src/bash/src/parse.y: In function 'parse_dparen':
/Users/chet/src/bash/src/parse.y:4583:15: warning: variable 'sline' set but not used [-Wunused-but-set-variable]
/Users/chet/src/bash/src/parse.y: In function 'parse_arith_cmd':
/Users/chet/src/bash/src/parse.y:4644:7: warning: variable 'exp_lineno' set but not used [-Wunused-but-set-variable]
/Users/chet/src/bash/src/parse.y: In function 'cond_error':
/Users/chet/src/bash/src/parse.y:4699:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
/Users/chet/src/bash/src/parse.y: In function 'cond_term':
/Users/chet/src/bash/src/parse.y:4781:8: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
/Users/chet/src/bash/src/parse.y:4813:8: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
/Users/chet/src/bash/src/parse.y:4863:8: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
/Users/chet/src/bash/src/parse.y:4889:8: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
/Users/chet/src/bash/src/parse.y:4907:16: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
/Users/chet/src/bash/src/parse.y: In function 'decode_prompt_string':
/Users/chet/src/bash/src/parse.y:5809:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
/Users/chet/src/bash/src/parse.y: In function 'error_token_from_token':
/Users/chet/src/bash/src/parse.y:6214:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
/Users/chet/src/bash/src/parse.y:6217:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
/Users/chet/src/bash/src/parse.y: In function 'parse_string_to_word_list':
/Users/chet/src/bash/src/parse.y:6476:43: warning: unused variable 'ea' [-Wunused-variable]
/Users/chet/src/bash/src/parse.y: In function 'restore_parser_state':
/Users/chet/src/bash/src/parse.y:6712:7: warning: unused variable 'i' [-Wunused-variable]
At top level:
/Users/chet/src/bash/src/parse.y:6384:1: warning: 'discard_parser_constructs' defined but not used [-Wunused-function]
/Users/chet/src/bash/src/parse.y:325:14: warning: 'yyerrstream' defined but not used [-Wunused-variable]
/Users/chet/src/bash/src/parse.y:324:14: warning: 'yyoutstream' defined but not used [-Wunused-variable]
/Users/chet/src/bash/src/parse.y: In function 'decode_prompt_string':
/Users/chet/src/bash/src/parse.y:5895:11: warning: 'n' may be used uninitialized in this function [-Wmaybe-uninitialized]
In file included from .././shell.h:29,
from /Users/chet/src/bash/src/parse.y:47:
/Users/chet/src/bash/src/parse.y: In function 'parse_comsub.constprop':
.././general.h:168:30: warning: 'hdlen' may be used uninitialized in this function [-Wmaybe-uninitialized]
168 | : ((a)[0] == (b)[0] && strncmp(a, b, n) == 0))
| ^~~~~~~
/Users/chet/src/bash/src/parse.y:3911:32: note: 'hdlen' was declared here
In file included from .././shell.h:29,
from /Users/chet/src/bash/src/parse.y:47:
/Users/chet/src/bash/src/parse.y: In function 'parse_matched_pair':
.././general.h:172:26: warning: 'nestret' may be used uninitialized in this function [-Wmaybe-uninitialized]
172 | #define FREE(s) do { if (s) free (s); } while (0)
| ^
/Users/chet/src/bash/src/parse.y:3552:15: note: 'nestret' was declared here
rm -f general.o
gcc -DPROGRAM='"bash"' -DCONF_HOSTTYPE='"x86_64"' -DCONF_OSTYPE='"linux-gnu"' -DCONF_MACHTYPE='"x86_64-pc-linux-gnu"' -DCONF_VENDOR='"pc"' -DLOCALEDIR='"/usr/share/locale"' -DPACKAGE='"bash"' -DSHELL -DHAVE_CONFIG_H -I. -I../. -I.././include -I.././lib -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -c .././general.c
.././general.c:91:1: warning: missing braces around initializer [-Wmissing-braces]
91 | {
| ^
92 | &interactive_comments,
| { }
93 | &source_uses_path,
| { }
94 | &expand_aliases,
| { }
95 | &inherit_errexit,
| { }
96 | &print_shift_error,
| { }
97 | 0
| {
98 | };
| }
.././general.c: In function 'assignment':
.././general.c:457:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
457 | while (c = string[indx])
| ^
rm -f make_cmd.o
gcc -DPROGRAM='"bash"' -DCONF_HOSTTYPE='"x86_64"' -DCONF_OSTYPE='"linux-gnu"' -DCONF_MACHTYPE='"x86_64-pc-linux-gnu"' -DCONF_VENDOR='"pc"' -DLOCALEDIR='"/usr/share/locale"' -DPACKAGE='"bash"' -DSHELL -DHAVE_CONFIG_H -I. -I../. -I.././include -I.././lib -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -c .././make_cmd.c
.././make_cmd.c: In function 'make_here_document':
.././make_cmd.c:611:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
611 | while (full_line = read_secondary_line (delim_unquoted))
| ^~~~~~~~~
rm -f print_cmd.o
gcc -DPROGRAM='"bash"' -DCONF_HOSTTYPE='"x86_64"' -DCONF_OSTYPE='"linux-gnu"' -DCONF_MACHTYPE='"x86_64-pc-linux-gnu"' -DCONF_VENDOR='"pc"' -DLOCALEDIR='"/usr/share/locale"' -DPACKAGE='"bash"' -DSHELL -DHAVE_CONFIG_H -I. -I../. -I.././include -I.././lib -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -c .././print_cmd.c
.././print_cmd.c: In function 'make_command_string_internal':
.././print_cmd.c:173:14: warning: zero-length gnu_printf format string [-Wformat-zero-length]
173 | cprintf ("");
| ^~
At top level:
.././print_cmd.c:969:1: warning: 'print_heredocs' defined but not used [-Wunused-function]
969 | print_heredocs (heredocs)
| ^~~~~~~~~~~~~~
rm -f dispose_cmd.o
gcc -DPROGRAM='"bash"' -DCONF_HOSTTYPE='"x86_64"' -DCONF_OSTYPE='"linux-gnu"' -DCONF_MACHTYPE='"x86_64-pc-linux-gnu"' -DCONF_VENDOR='"pc"' -DLOCALEDIR='"/usr/share/locale"' -DPACKAGE='"bash"' -DSHELL -DHAVE_CONFIG_H -I. -I../. -I.././include -I.././lib -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -c .././dispose_cmd.c
rm -f variables.o
gcc -DPROGRAM='"bash"' -DCONF_HOSTTYPE='"x86_64"' -DCONF_OSTYPE='"linux-gnu"' -DCONF_MACHTYPE='"x86_64-pc-linux-gnu"' -DCONF_VENDOR='"pc"' -DLOCALEDIR='"/usr/share/locale"' -DPACKAGE='"bash"' -DSHELL -DHAVE_CONFIG_H -I. -I../. -I.././include -I.././lib -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -c .././variables.c
.././variables.c: In function 'initialize_shell_variables':
.././variables.c:408:8: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
408 | if (temp_var = find_function (tname))
| ^~~~~~~~
.././variables.c:415:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
415 | if (temp_var = bind_invalid_envvar (name, string, 0))
| ^~~~~~~~
.././variables.c: In function 'set_machine_vars':
.././variables.c:689:14: warning: variable 'temp_var' set but not used [-Wunused-but-set-variable]
689 | SHELL_VAR *temp_var;
| ^~~~~~~~
.././variables.c: In function 'var_lookup':
.././variables.c:2015:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
2015 | if (v = hash_lookup (name, vc->table))
| ^
.././variables.c: In function 'nameref_transform_name':
.././variables.c:2325:9: warning: unused variable 'newname' [-Wunused-variable]
2325 | char *newname;
| ^~~~~~~
.././variables.c: In function 'delete_var':
.././variables.c:3915:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
3915 | if (elt = hash_remove (name, v->table, 0))
| ^~~
.././variables.c: In function 'makunbound':
.././variables.c:3944:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
3944 | if (elt = hash_remove (name, v->table, 0))
| ^~~
.././variables.c: In function 'push_posix_temp_var':
.././variables.c:4513:15: warning: variable 'binding_table' set but not used [-Wunused-but-set-variable]
4513 | HASH_TABLE *binding_table;
| ^~~~~~~~~~~~~
.././variables.c: In function 'make_env_array_from_var_list':
.././variables.c:4810:31: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
4810 | for (i = 0, list_index = 0; var = vars[i]; i++)
| ^~~
.././variables.c: In function 'pop_var_context':
.././variables.c:5335:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
5335 | if (ret = vcxt->down)
| ^~~
.././variables.c: In function 'pop_scope':
.././variables.c:5419:7: warning: variable 'is_bltinenv' set but not used [-Wunused-but-set-variable]
5419 | int is_bltinenv;
| ^~~~~~~~~~~
.././variables.c: In function 'sv_history_control':
.././variables.c:6078:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
6078 | while (val = extract_colon_unit (temp, &tptr))
| ^~~
.././variables.c: In function 'sv_histtimefmt':
.././variables.c:6127:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
6127 | if (v = find_variable (name))
| ^
At top level:
.././variables.c:2557:1: warning: 'var_sametype' defined but not used [-Wunused-function]
2557 | var_sametype (v1, v2)
| ^~~~~~~~~~~~
.././variables.c:176:21: warning: 'last_context_searched' defined but not used [-Wunused-variable]
176 | static VAR_CONTEXT *last_context_searched;
| ^~~~~~~~~~~~~~~~~~~~~
rm -f copy_cmd.o
gcc -DPROGRAM='"bash"' -DCONF_HOSTTYPE='"x86_64"' -DCONF_OSTYPE='"linux-gnu"' -DCONF_MACHTYPE='"x86_64-pc-linux-gnu"' -DCONF_VENDOR='"pc"' -DLOCALEDIR='"/usr/share/locale"' -DPACKAGE='"bash"' -DSHELL -DHAVE_CONFIG_H -I. -I../. -I.././include -I.././lib -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -c .././copy_cmd.c
rm -f error.o
gcc -DPROGRAM='"bash"' -DCONF_HOSTTYPE='"x86_64"' -DCONF_OSTYPE='"linux-gnu"' -DCONF_MACHTYPE='"x86_64-pc-linux-gnu"' -DCONF_VENDOR='"pc"' -DLOCALEDIR='"/usr/share/locale"' -DPACKAGE='"bash"' -DSHELL -DHAVE_CONFIG_H -I. -I../. -I.././include -I.././lib -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -c .././error.c
rm -f expr.o
gcc -DPROGRAM='"bash"' -DCONF_HOSTTYPE='"x86_64"' -DCONF_OSTYPE='"linux-gnu"' -DCONF_MACHTYPE='"x86_64-pc-linux-gnu"' -DCONF_VENDOR='"pc"' -DLOCALEDIR='"/usr/share/locale"' -DPACKAGE='"bash"' -DSHELL -DHAVE_CONFIG_H -I. -I../. -I.././include -I.././lib -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -c .././expr.c
.././expr.c: In function 'exppower':
.././expr.c:961:33: warning: unused variable 'c' [-Wunused-variable]
961 | register intmax_t val1, val2, c;
| ^
.././expr.c: In function 'readtok':
.././expr.c:1308:17: warning: unused variable 'lval' [-Wunused-variable]
1308 | struct lvalue lval;
| ^~~~
At top level:
.././expr.c:1132:1: warning: 'free_lvalue' defined but not used [-Wunused-function]
1132 | free_lvalue (lv)
| ^~~~~~~~~~~
.././expr.c:1122:1: warning: 'alloc_lvalue' defined but not used [-Wunused-function]
1122 | alloc_lvalue ()
| ^~~~~~~~~~~~
rm -f flags.o
gcc -DPROGRAM='"bash"' -DCONF_HOSTTYPE='"x86_64"' -DCONF_OSTYPE='"linux-gnu"' -DCONF_MACHTYPE='"x86_64-pc-linux-gnu"' -DCONF_VENDOR='"pc"' -DLOCALEDIR='"/usr/share/locale"' -DPACKAGE='"bash"' -DSHELL -DHAVE_CONFIG_H -I. -I../. -I.././include -I.././lib -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -c .././flags.c
rm -f jobs.o
gcc -DPROGRAM='"bash"' -DCONF_HOSTTYPE='"x86_64"' -DCONF_OSTYPE='"linux-gnu"' -DCONF_MACHTYPE='"x86_64-pc-linux-gnu"' -DCONF_VENDOR='"pc"' -DLOCALEDIR='"/usr/share/locale"' -DPACKAGE='"bash"' -DSHELL -DHAVE_CONFIG_H -I. -I../. -I.././include -I.././lib -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -c .././jobs.c
.././jobs.c: In function 'procsub_waitall':
.././jobs.c:1102:7: warning: variable 'r' set but not used [-Wunused-but-set-variable]
1102 | int r;
| ^
.././jobs.c: In function 'procsub_prune':
.././jobs.c:1136:7: warning: variable 'onproc' set but not used [-Wunused-but-set-variable]
1136 | int onproc;
| ^~~~~~
.././jobs.c:1135:20: warning: variable 'oend' set but not used [-Wunused-but-set-variable]
1135 | PROCESS *ohead, *oend, *ps, *p;
| ^~~~
.././jobs.c: In function 'cleanup_dead_jobs':
.././jobs.c:1213:12: warning: unused variable 'discard' [-Wunused-variable]
1213 | PROCESS *discard;
| ^~~~~~~
.././jobs.c: In function 'nohup_job':
.././jobs.c:1464:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
1464 | if (temp = jobs[job_index])
| ^~~~
.././jobs.c: In function 'make_child':
.././jobs.c:2137:32: warning: unused variable 'chldset' [-Wunused-variable]
2137 | sigset_t set, oset, termset, chldset, oset_copy;
| ^~~~~~~
.././jobs.c:2137:23: warning: unused variable 'termset' [-Wunused-variable]
2137 | sigset_t set, oset, termset, chldset, oset_copy;
| ^~~~~~~
.././jobs.c: In function 'wait_for_background_pids':
.././jobs.c:2661:20: warning: variable 'check_async' set but not used [-Wunused-but-set-variable]
2661 | int any_stopped, check_async;
| ^~~~~~~~~~~
.././jobs.c:2661:7: warning: variable 'any_stopped' set but not used [-Wunused-but-set-variable]
2661 | int any_stopped, check_async;
| ^~~~~~~~~~~
.././jobs.c: In function 'sigchld_handler':
.././jobs.c:3754:7: warning: variable 'n' set but not used [-Wunused-but-set-variable]
3754 | int n, oerrno;
| ^
.././jobs.c: In function 'make_child':
.././jobs.c:2197:7: warning: 'oterm' may be used uninitialized in this function [-Wmaybe-uninitialized]
2197 | set_signal_handler (SIGTERM, oterm);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
rm -f subst.o
gcc -DPROGRAM='"bash"' -DCONF_HOSTTYPE='"x86_64"' -DCONF_OSTYPE='"linux-gnu"' -DCONF_MACHTYPE='"x86_64-pc-linux-gnu"' -DCONF_VENDOR='"pc"' -DLOCALEDIR='"/usr/share/locale"' -DPACKAGE='"bash"' -DSHELL -DHAVE_CONFIG_H -I. -I../. -I.././include -I.././lib -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -c .././subst.c
.././subst.c: In function 'string_extract':
.././subst.c:804:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
804 | while (c = string[i])
| ^
.././subst.c: In function 'string_extract_double_quoted':
.././subst.c:878:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
878 | while (c = string[i])
| ^
.././subst.c: In function 'skip_double_quoted':
.././subst.c:1030:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
1030 | while (c = string[i])
| ^
.././subst.c:1024:9: warning: variable 'ret' set but not used [-Wunused-but-set-variable]
1024 | char *ret;
| ^~~
.././subst.c: In function 'string_extract_verbatim':
.././subst.c:1182:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
1182 | while (c = string[i])
| ^
.././subst.c: In function 'extract_delimited_string':
.././subst.c:1345:9: warning: variable 't' set but not used [-Wunused-but-set-variable]
1345 | char *t, *result;
| ^
.././subst.c: In function 'extract_dollar_brace_string':
.././subst.c:1532:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
1532 | while (c = string[i])
| ^
.././subst.c:1516:18: warning: variable 't' set but not used [-Wunused-but-set-variable]
1516 | char *result, *t;
| ^
.././subst.c: In function 'skip_matched_pair':
.././subst.c:1764:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
1764 | while (c = string[i])
| ^
.././subst.c:1753:9: warning: variable 'temp' set but not used [-Wunused-but-set-variable]
1753 | char *temp, *ss;
| ^~~~
.././subst.c: In function 'skip_to_delim':
.././subst.c:1887:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
1887 | while (c = string[i])
| ^
.././subst.c:1870:9: warning: variable 'temp' set but not used [-Wunused-but-set-variable]
1870 | char *temp, open[3];
| ^~~~
.././subst.c: In function 'skip_to_histexp':
.././subst.c:2062:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
2062 | while (c = string[i])
| ^
.././subst.c: In function 'do_assignment_internal':
.././subst.c:3277:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
3277 | if (t = mbschr (name, LBRACK))
| ^
.././subst.c: In function 'parameter_brace_expand_word':
.././subst.c:6836:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
6836 | else if (var = find_variable (name))
| ^~~
.././subst.c:6869:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
6869 | else if (var = find_variable_last_nameref (name, 0))
| ^~~
.././subst.c: In function 'pat_subst':
.././subst.c:8306:11: warning: unused variable 'clen' [-Wunused-variable]
8306 | size_t clen;
| ^~~~
.././subst.c: In function 'parameter_brace_expand':
.././subst.c:8884:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
8884 | if (c = string[sindex])
| ^
.././subst.c:8894:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
8894 | if (c = string[sindex])
| ^
.././subst.c: In function 'expand_word_internal':
.././subst.c:10727:1: warning: label 'add_quoted_character' defined but not used [-Wunused-label]
10727 | add_quoted_character:
| ^~~~~~~~~~~~~~~~~~~~
.././subst.c:10074:7: warning: variable 'local_expanded' set but not used [-Wunused-but-set-variable]
10074 | int local_expanded;
| ^~~~~~~~~~~~~~
.././subst.c: In function 'string_quote_removal':
.././subst.c:10977:29: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
10977 | for (dquote = sindex = 0; c = string[sindex];)
| ^
.././subst.c: In function 'glob_expand_word_list':
.././subst.c:11375:7: warning: unused variable 'x' [-Wunused-variable]
11375 | int x;
| ^
.././subst.c: In function 'brace_expand_word_list':
.././subst.c:11515:21: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
11515 | for (eindex = 0; temp_string = expansions[eindex]; eindex++)
| ^~~~~~~~~~~
.././subst.c: In function 'expand_declaration_argument':
.././subst.c:11771:26: warning: array subscript has type 'char' [-Wchar-subscripts]
11771 | omap[l->word->word[oind]] = 1;
| ~~~~~~~~~~~~~^~~~~~
.././subst.c:11718:28: warning: variable 'inheriting' set but not used [-Wunused-but-set-variable]
11718 | int t, opti, oind, skip, inheriting;
| ^~~~~~~~~~
.././subst.c: At top level:
.././subst.c:229:14: warning: 'quoted_substring' declared 'static' but never defined [-Wunused-function]
229 | static char *quoted_substring PARAMS((char *, int, int));
| ^~~~~~~~~~~~~~~~
.././subst.c:230:12: warning: 'quoted_strlen' declared 'static' but never defined [-Wunused-function]
230 | static int quoted_strlen PARAMS((char *));
| ^~~~~~~~~~~~~
.././subst.c:231:14: warning: 'quoted_strchr' declared 'static' but never defined [-Wunused-function]
231 | static char *quoted_strchr PARAMS((char *, int, int));
| ^~~~~~~~~~~~~
.././subst.c:244:19: warning: 'list_dequote_escapes' declared 'static' but never defined [-Wunused-function]
244 | static WORD_LIST *list_dequote_escapes PARAMS((WORD_LIST *));
| ^~~~~~~~~~~~~~~~~~~~
.././subst.c:249:12: warning: 'unquoted_substring' declared 'static' but never defined [-Wunused-function]
249 | static int unquoted_substring PARAMS((char *, char *));
| ^~~~~~~~~~~~~~~~~~
.././subst.c:250:12: warning: 'unquoted_member' declared 'static' but never defined [-Wunused-function]
250 | static int unquoted_member PARAMS((int, char *));
| ^~~~~~~~~~~~~~~
.././subst.c:269:23: warning: 'mb_getcharlens' declared 'static' but never defined [-Wunused-function]
269 | static unsigned char *mb_getcharlens PARAMS((char *, int));
| ^~~~~~~~~~~~~~
.././subst.c:284:14: warning: 'variable_remove_pattern' declared 'static' but never defined [-Wunused-function]
284 | static char *variable_remove_pattern PARAMS((char *, char *, int, int));
| ^~~~~~~~~~~~~~~~~~~~~~~
.././subst.c:333:12: warning: 'shouldexp_replacement' declared 'static' but never defined [-Wunused-function]
333 | static int shouldexp_replacement PARAMS((char *));
| ^~~~~~~~~~~~~~~~~~~~~
.././subst.c:339:14: warning: 'pos_params_casemod' declared 'static' but never defined [-Wunused-function]
339 | static char *pos_params_casemod PARAMS((char *, char *, int, int));
| ^~~~~~~~~~~~~~~~~~
.././subst.c:215:53: warning: 'expand_param_unset' defined but not used [-Wunused-variable]
215 | static char expand_param_error, expand_param_fatal, expand_param_unset;
| ^~~~~~~~~~~~~~~~~~
.././subst.c: In function 'command_substitute':
.././subst.c:6250:35: warning: 'bufp' may be used uninitialized in this function [-Wmaybe-uninitialized]
6250 | istring[istring_index++] = *bufp++;
| ~~~~^~
.././subst.c:6172:29: note: 'bufp' was declared here
6172 | char *istring, buf[512], *bufp;
| ^~~~
.././subst.c: In function 'param_expand':
.././subst.c:6979:31: warning: 'v' may be used uninitialized in this function [-Wmaybe-uninitialized]
6979 | if (legal_identifier (name) && v == 0)
| ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~
.././subst.c:6957:14: note: 'v' was declared here
6957 | SHELL_VAR *v;
| ^
.././subst.c:9251:15: warning: 'modspec' may be used uninitialized in this function [-Wmaybe-uninitialized]
9251 | temp1 = parameter_brace_casemod (name, temp, ind, modspec, value, quoted, pflags, (tflag & W_ARRAYIND) ? AV_USEIND : 0);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.././subst.c:8806:34: note: 'modspec' was declared here
8806 | int t_index, sindex, c, tflag, modspec, local_pflags, all_element_arrayref;
| ^~~~~~~
In file included from .././shell.h:29,
from .././subst.c:46:
.././subst.c: In function 'parameter_brace_expand_length':
.././general.h:171:42: warning: 't' may be used uninitialized in this function [-Wmaybe-uninitialized]
171 | #define STRLEN(s) (((s) && (s)[0]) ? ((s)[1] ? ((s)[2] ? strlen(s) : 2) : 1) : 0)
| ^
.././subst.c:7289:9: note: 't' was declared here
7289 | char *t, *newname;
| ^
In file included from .././variables.h:25,
from .././shell.h:31,
from .././subst.c:46:
.././subst.c: In function 'parameter_brace_substring':
.././array.h:97:35: warning: 'a' may be used uninitialized in this function [-Wmaybe-uninitialized]
97 | #define array_num_elements(a) ((a)->num_elements)
| ^~
.././subst.c:7422:9: note: 'a' was declared here
7422 | ARRAY *a;
| ^
In file included from .././variables.h:26,
from .././shell.h:31,
from .././subst.c:46:
.././assoc.h:31:35: warning: 'h' may be used uninitialized in this function [-Wmaybe-uninitialized]
31 | #define assoc_num_elements(h) ((h)->nentries)
| ^~
.././subst.c:7423:14: note: 'h' was declared here
7423 | HASH_TABLE *h;
| ^
.././subst.c: In function 'parameter_brace_patsub':
.././subst.c:8385:15: warning: 'temp' may be used uninitialized in this function [-Wmaybe-uninitialized]
8385 | char *val, *temp, *pat, *rep, *p, *lpatsub, *tt, *oname;
| ^~~~
.././subst.c: In function 'parameter_brace_casemod':
.././subst.c:8622:15: warning: 'temp' may be used uninitialized in this function [-Wmaybe-uninitialized]
8622 | char *val, *temp, *pat, *p, *lpat, *tt, *oname;
| ^~~~
rm -f hashcmd.o
gcc -DPROGRAM='"bash"' -DCONF_HOSTTYPE='"x86_64"' -DCONF_OSTYPE='"linux-gnu"' -DCONF_MACHTYPE='"x86_64-pc-linux-gnu"' -DCONF_VENDOR='"pc"' -DLOCALEDIR='"/usr/share/locale"' -DPACKAGE='"bash"' -DSHELL -DHAVE_CONFIG_H -I. -I../. -I.././include -I.././lib -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -c .././hashcmd.c
rm -f hashlib.o
gcc -DPROGRAM='"bash"' -DCONF_HOSTTYPE='"x86_64"' -DCONF_OSTYPE='"linux-gnu"' -DCONF_MACHTYPE='"x86_64-pc-linux-gnu"' -DCONF_VENDOR='"pc"' -DLOCALEDIR='"/usr/share/locale"' -DPACKAGE='"bash"' -DSHELL -DHAVE_CONFIG_H -I. -I../. -I.././include -I.././lib -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -c .././hashlib.c
.././hashlib.c:169:1: warning: 'hash_shrink' defined but not used [-Wunused-function]
169 | hash_shrink (table)
| ^~~~~~~~~~~
rm -f mailcheck.o
gcc -DPROGRAM='"bash"' -DCONF_HOSTTYPE='"x86_64"' -DCONF_OSTYPE='"linux-gnu"' -DCONF_MACHTYPE='"x86_64-pc-linux-gnu"' -DCONF_VENDOR='"pc"' -DLOCALEDIR='"/usr/share/locale"' -DPACKAGE='"bash"' -DSHELL -DHAVE_CONFIG_H -I. -I../. -I.././include -I.././lib -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -c .././mailcheck.c
.././mailcheck.c: In function 'remember_mail_dates':
.././mailcheck.c:394:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
394 | while (mailfile = extract_colon_unit (mailpaths, &i))
| ^~~~~~~~
.././mailcheck.c: In function 'check_mail':
.././mailcheck.c:468:8: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
468 | if (temp = expand_string_to_string (message, Q_DOUBLE_QUOTES))
| ^~~~
rm -f mksignames.o
gcc -DPROGRAM='"bash"' -DCONF_HOSTTYPE='"x86_64"' -DCONF_OSTYPE='"linux-gnu"' -DCONF_MACHTYPE='"x86_64-pc-linux-gnu"' -DCONF_VENDOR='"pc"' -DLOCALEDIR='"/usr/share/locale"' -DPACKAGE='"bash"' -DSHELL -DHAVE_CONFIG_H -I. -I../. -I.././include -I.././lib -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -DBUILDTOOL -c .././support/mksignames.c
rm -f buildsignames.o
gcc -DPROGRAM='"bash"' -DCONF_HOSTTYPE='"x86_64"' -DCONF_OSTYPE='"linux-gnu"' -DCONF_MACHTYPE='"x86_64-pc-linux-gnu"' -DCONF_VENDOR='"pc"' -DLOCALEDIR='"/usr/share/locale"' -DPACKAGE='"bash"' -DSHELL -DHAVE_CONFIG_H -I. -I../. -I.././include -I.././lib -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -DBUILDTOOL -o buildsignames.o -c .././support/signames.c
rm -f mksignames
gcc -DPROGRAM='"bash"' -DCONF_HOSTTYPE='"x86_64"' -DCONF_OSTYPE='"linux-gnu"' -DCONF_MACHTYPE='"x86_64-pc-linux-gnu"' -DCONF_VENDOR='"pc"' -DLOCALEDIR='"/usr/share/locale"' -DPACKAGE='"bash"' -DSHELL -DHAVE_CONFIG_H -I. -I../. -I.././include -I.././lib -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wl,-z,relro -rdynamic -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -rdynamic -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -o mksignames mksignames.o buildsignames.o
rm -f lsignames.h
./mksignames lsignames.h
if cmp -s lsignames.h signames.h ; then :; else rm -f signames.h ; cp lsignames.h signames.h ; fi
rm -f trap.o
gcc -DPROGRAM='"bash"' -DCONF_HOSTTYPE='"x86_64"' -DCONF_OSTYPE='"linux-gnu"' -DCONF_MACHTYPE='"x86_64-pc-linux-gnu"' -DCONF_VENDOR='"pc"' -DLOCALEDIR='"/usr/share/locale"' -DPACKAGE='"bash"' -DSHELL -DHAVE_CONFIG_H -I. -I../. -I.././include -I.././lib -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -c .././trap.c
rm -f input.o
gcc -DPROGRAM='"bash"' -DCONF_HOSTTYPE='"x86_64"' -DCONF_OSTYPE='"linux-gnu"' -DCONF_MACHTYPE='"x86_64-pc-linux-gnu"' -DCONF_VENDOR='"pc"' -DLOCALEDIR='"/usr/share/locale"' -DPACKAGE='"bash"' -DSHELL -DHAVE_CONFIG_H -I. -I../. -I.././include -I.././lib -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -c .././input.c
rm -f unwind_prot.o
gcc -DPROGRAM='"bash"' -DCONF_HOSTTYPE='"x86_64"' -DCONF_OSTYPE='"linux-gnu"' -DCONF_MACHTYPE='"x86_64-pc-linux-gnu"' -DCONF_VENDOR='"pc"' -DLOCALEDIR='"/usr/share/locale"' -DPACKAGE='"bash"' -DSHELL -DHAVE_CONFIG_H -I. -I../. -I.././include -I.././lib -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -c .././unwind_prot.c
.././unwind_prot.c: In function 'unwind_frame_discard_internal':
.././unwind_prot.c:271:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
271 | while (elt = unwind_protect_list)
| ^~~
.././unwind_prot.c: In function 'unwind_frame_run_internal':
.././unwind_prot.c:306:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
306 | while (elt = unwind_protect_list)
| ^~~
rm -f pathexp.o
gcc -DPROGRAM='"bash"' -DCONF_HOSTTYPE='"x86_64"' -DCONF_OSTYPE='"linux-gnu"' -DCONF_MACHTYPE='"x86_64-pc-linux-gnu"' -DCONF_VENDOR='"pc"' -DLOCALEDIR='"/usr/share/locale"' -DPACKAGE='"bash"' -DSHELL -DHAVE_CONFIG_H -I. -I../. -I.././include -I.././lib -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -c .././pathexp.c
.././pathexp.c: In function 'unquoted_glob_pattern_p':
.././pathexp.c:78:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
78 | while (c = *string++)
| ^
.././pathexp.c: In function 'shell_glob_filename':
.././pathexp.c:464:15: warning: unused variable 'quoted_pattern' [-Wunused-variable]
464 | int gflags, quoted_pattern;
| ^~~~~~~~~~~~~~
.././pathexp.c: In function 'setup_ignore_patterns':
.././pathexp.c:673:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
673 | while (colon_bit = split_ignorespec (this_ignoreval, &ptr))
| ^~~~~~~~~
rm -f sig.o
gcc -DPROGRAM='"bash"' -DCONF_HOSTTYPE='"x86_64"' -DCONF_OSTYPE='"linux-gnu"' -DCONF_MACHTYPE='"x86_64-pc-linux-gnu"' -DCONF_VENDOR='"pc"' -DLOCALEDIR='"/usr/share/locale"' -DPACKAGE='"bash"' -DSHELL -DHAVE_CONFIG_H -I. -I../. -I.././include -I.././lib -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -c .././sig.c
rm -f test.o
gcc -DPROGRAM='"bash"' -DCONF_HOSTTYPE='"x86_64"' -DCONF_OSTYPE='"linux-gnu"' -DCONF_MACHTYPE='"x86_64-pc-linux-gnu"' -DCONF_VENDOR='"pc"' -DLOCALEDIR='"/usr/share/locale"' -DPACKAGE='"bash"' -DSHELL -DHAVE_CONFIG_H -I. -I../. -I.././include -I.././lib -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -c .././test.c
rm -f version.o
gcc -DPROGRAM='"bash"' -DCONF_HOSTTYPE='"x86_64"' -DCONF_OSTYPE='"linux-gnu"' -DCONF_MACHTYPE='"x86_64-pc-linux-gnu"' -DCONF_VENDOR='"pc"' -DLOCALEDIR='"/usr/share/locale"' -DPACKAGE='"bash"' -DSHELL -DHAVE_CONFIG_H -I. -I../. -I.././include -I.././lib -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -c .././version.c
rm -f alias.o
gcc -DPROGRAM='"bash"' -DCONF_HOSTTYPE='"x86_64"' -DCONF_OSTYPE='"linux-gnu"' -DCONF_MACHTYPE='"x86_64-pc-linux-gnu"' -DCONF_VENDOR='"pc"' -DLOCALEDIR='"/usr/share/locale"' -DPACKAGE='"bash"' -DSHELL -DHAVE_CONFIG_H -I. -I../. -I.././include -I.././lib -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -c .././alias.c
rm -f array.o
gcc -DPROGRAM='"bash"' -DCONF_HOSTTYPE='"x86_64"' -DCONF_OSTYPE='"linux-gnu"' -DCONF_MACHTYPE='"x86_64-pc-linux-gnu"' -DCONF_VENDOR='"pc"' -DLOCALEDIR='"/usr/share/locale"' -DPACKAGE='"bash"' -DSHELL -DHAVE_CONFIG_H -I. -I../. -I.././include -I.././lib -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -c .././array.c
.././array.c:66:14: warning: 'spacesep' defined but not used [-Wunused-variable]
66 | static char *spacesep = " ";
| ^~~~~~~~
rm -f arrayfunc.o
gcc -DPROGRAM='"bash"' -DCONF_HOSTTYPE='"x86_64"' -DCONF_OSTYPE='"linux-gnu"' -DCONF_MACHTYPE='"x86_64-pc-linux-gnu"' -DCONF_VENDOR='"pc"' -DLOCALEDIR='"/usr/share/locale"' -DPACKAGE='"bash"' -DSHELL -DHAVE_CONFIG_H -I. -I../. -I.././include -I.././lib -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -c .././arrayfunc.c
.././arrayfunc.c: In function 'quote_compound_array_word':
.././arrayfunc.c:892:31: warning: unused variable 't' [-Wunused-variable]
892 | char *nword, *sub, *value, *t;
| ^
.././arrayfunc.c: In function 'array_keys':
.././arrayfunc.c:1490:22: warning: unused variable 'temp' [-Wunused-variable]
1490 | char *retval, *t, *temp;
| ^~~~
.././arrayfunc.c: In function 'array_value_internal':
.././arrayfunc.c:1447:38: warning: 'ind' may be used uninitialized in this function [-Wmaybe-uninitialized]
1447 | return (ind == 0 ? value_cell (var) : (char *)NULL);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
rm -f assoc.o
gcc -DPROGRAM='"bash"' -DCONF_HOSTTYPE='"x86_64"' -DCONF_OSTYPE='"linux-gnu"' -DCONF_MACHTYPE='"x86_64-pc-linux-gnu"' -DCONF_VENDOR='"pc"' -DLOCALEDIR='"/usr/share/locale"' -DPACKAGE='"bash"' -DSHELL -DHAVE_CONFIG_H -I. -I../. -I.././include -I.././lib -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -c .././assoc.c
rm -f braces.o
gcc -DPROGRAM='"bash"' -DCONF_HOSTTYPE='"x86_64"' -DCONF_OSTYPE='"linux-gnu"' -DCONF_MACHTYPE='"x86_64-pc-linux-gnu"' -DCONF_VENDOR='"pc"' -DLOCALEDIR='"/usr/share/locale"' -DPACKAGE='"bash"' -DSHELL -DHAVE_CONFIG_H -I. -I../. -I.././include -I.././lib -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -c .././braces.c
.././braces.c: In function 'mkseq':
.././braces.c:428:8: warning: variable 'len' set but not used [-Wunused-but-set-variable]
428 | int len, arg;
| ^~~
.././braces.c:435:8: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
435 | if (t = (char *)malloc (2))
| ^
.././braces.c: In function 'brace_gobbler':
.././braces.c:615:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
615 | while (c = text[i])
| ^
.././braces.c: In function 'brace_expand':
.././braces.c:462:51: warning: 'tr' may be used uninitialized in this function [-Wmaybe-uninitialized]
462 | if ((incr < 0 && n < end) || (incr > 0 && n > end))
| ~~^~~~~
.././braces.c:479:16: note: 'tr' was declared here
479 | intmax_t tl, tr;
| ^~
rm -f bracecomp.o
gcc -DPROGRAM='"bash"' -DCONF_HOSTTYPE='"x86_64"' -DCONF_OSTYPE='"linux-gnu"' -DCONF_MACHTYPE='"x86_64-pc-linux-gnu"' -DCONF_VENDOR='"pc"' -DLOCALEDIR='"/usr/share/locale"' -DPACKAGE='"bash"' -DSHELL -DHAVE_CONFIG_H -I. -I../. -I.././include -I.././lib -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -c .././bracecomp.c
rm -f bashhist.o
gcc -DPROGRAM='"bash"' -DCONF_HOSTTYPE='"x86_64"' -DCONF_OSTYPE='"linux-gnu"' -DCONF_MACHTYPE='"x86_64-pc-linux-gnu"' -DCONF_VENDOR='"pc"' -DLOCALEDIR='"/usr/share/locale"' -DPACKAGE='"bash"' -DSHELL -DHAVE_CONFIG_H -I. -I../. -I.././include -I.././lib -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -c .././bashhist.c
.././bashhist.c: In function 'hc_erasedups':
.././bashhist.c:726:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
726 | while (temp = previous_history ())
| ^~~~
rm -f bashline.o
gcc -DPROGRAM='"bash"' -DCONF_HOSTTYPE='"x86_64"' -DCONF_OSTYPE='"linux-gnu"' -DCONF_MACHTYPE='"x86_64-pc-linux-gnu"' -DCONF_VENDOR='"pc"' -DLOCALEDIR='"/usr/share/locale"' -DPACKAGE='"bash"' -DSHELL -DHAVE_CONFIG_H -I. -I../. -I.././include -I.././lib -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -c .././bashline.c
.././bashline.c: In function 'snarf_hosts_from_file':
.././bashline.c:796:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
796 | while (temp = fgets (buffer, 255, file))
| ^~~~
.././bashline.c: In function 'attempt_shell_completion':
.././bashline.c:1637:14: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
1637 | while (was_assignment = assignment (n, 0));
| ^~~~~~~~~~~~~~
.././bashline.c: In function 'command_word_completion_function':
.././bashline.c:2131:14: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
2131 | while (val = glob_matches[local_index++])
| ^~~
.././bashline.c: In function 'bash_servicename_completion_function':
.././bashline.c:2525:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
2525 | while (srvent = getservent ())
| ^~~~~~
.././bashline.c: In function 'bash_groupname_completion_function':
.././bashline.c:2581:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
2581 | while (grent = getgrent ())
| ^~~~~
.././bashline.c: In function 'bash_filename_stat_hook':
.././bashline.c:3295:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
3295 | if (t = mbschr (local_dirname, '$'))
| ^
.././bashline.c:3297:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
3297 | else if (t = mbschr (local_dirname, '`')) /* XXX */
| ^
.././bashline.c: In function 'bash_directory_completion_hook':
.././bashline.c:3375:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
3375 | if (t = mbschr (local_dirname, '$'))
| ^
.././bashline.c:3433:24: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
3433 | for (i = j = 0; c = default_filename_quote_characters[i]; i++)
| ^
.././bashline.c: In function 'bash_execute_unix_command':
.././bashline.c:4293:27: warning: unused variable 'old_ch' [-Wunused-variable]
4293 | char *cmd, *value, *ce, old_ch;
| ^~~~~~
.././bashline.c: In function 'isolate_sequence':
.././bashline.c:4470:19: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
4470 | for (passc = 0; c = string[i]; i++)
| ^
.././bashline.c: At top level:
.././bashline.c:209:12: warning: 'set_saved_history' declared 'static' but never defined [-Wunused-function]
209 | static int set_saved_history PARAMS((void));
| ^~~~~~~~~~~~~~~~~
.././bashline.c:4405:1: warning: 'get_cmd_xmap_from_edit_mode' defined but not used [-Wunused-function]
4405 | get_cmd_xmap_from_edit_mode ()
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
.././bashline.c:4232:1: warning: 'putx' defined but not used [-Wunused-function]
4232 | putx(c)
| ^~~~
.././bashline.c: In function '_ignore_completion_names':
.././bashline.c:2964:2: warning: 'oldnames' may be used uninitialized in this function [-Wmaybe-uninitialized]
2964 | free (oldnames[--oidx]);
| ^~~~~~~~~~~~~~~~~~~~~~~
.././bashline.c: In function 'attempt_shell_completion':
.././bashline.c:1650:44: warning: 'e1' may be used uninitialized in this function [-Wmaybe-uninitialized]
1650 | else if (start == end && start == s1 && e != 0 && e1 > end) /* beginning of command name, leading whitespace */
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~
rm -f list.o
gcc -DPROGRAM='"bash"' -DCONF_HOSTTYPE='"x86_64"' -DCONF_OSTYPE='"linux-gnu"' -DCONF_MACHTYPE='"x86_64-pc-linux-gnu"' -DCONF_VENDOR='"pc"' -DLOCALEDIR='"/usr/share/locale"' -DPACKAGE='"bash"' -DSHELL -DHAVE_CONFIG_H -I. -I../. -I.././include -I.././lib -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -c .././list.c
rm -f stringlib.o
gcc -DPROGRAM='"bash"' -DCONF_HOSTTYPE='"x86_64"' -DCONF_OSTYPE='"linux-gnu"' -DCONF_MACHTYPE='"x86_64-pc-linux-gnu"' -DCONF_VENDOR='"pc"' -DLOCALEDIR='"/usr/share/locale"' -DPACKAGE='"bash"' -DSHELL -DHAVE_CONFIG_H -I. -I../. -I.././include -I.././lib -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -c .././stringlib.c
rm -f locale.o
gcc -DPROGRAM='"bash"' -DCONF_HOSTTYPE='"x86_64"' -DCONF_OSTYPE='"linux-gnu"' -DCONF_MACHTYPE='"x86_64-pc-linux-gnu"' -DCONF_VENDOR='"pc"' -DLOCALEDIR='"/usr/share/locale"' -DPACKAGE='"bash"' -DSHELL -DHAVE_CONFIG_H -I. -I../. -I.././include -I.././lib -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -c .././locale.c
.././locale.c: In function 'reset_locale_vars':
.././locale.c:363:9: warning: variable 't' set but not used [-Wunused-but-set-variable]
363 | char *t, *x;
| ^
.././locale.c: In function 'locale_isutf8':
.././locale.c:597:14: warning: unused variable 'encoding' [-Wunused-variable]
597 | char *cp, *encoding;
| ^~~~~~~~
rm -f findcmd.o
gcc -DPROGRAM='"bash"' -DCONF_HOSTTYPE='"x86_64"' -DCONF_OSTYPE='"linux-gnu"' -DCONF_MACHTYPE='"x86_64-pc-linux-gnu"' -DCONF_VENDOR='"pc"' -DLOCALEDIR='"/usr/share/locale"' -DPACKAGE='"bash"' -DSHELL -DHAVE_CONFIG_H -I. -I../. -I.././include -I.././lib -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -c .././findcmd.c
.././findcmd.c: In function '_find_user_command_internal':
.././findcmd.c:269:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
269 | if (var = find_variable_tempenv ("PATH")) /* XXX could be array? */
| ^~~
make[5]: Entering directory '/sonic/src/bash/bash-5.1/build-bash/builtins'
gcc -DHAVE_CONFIG_H -DSHELL -I. -I.. -I../../. -I../.././include -I../.././lib -I../.././builtins -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wl,-z,relro -rdynamic -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -rdynamic -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -o psize.aux ../.././builtins/psize.c
/bin/sh ../.././builtins/psize.sh > pipesize.h
make[5]: Leaving directory '/sonic/src/bash/bash-5.1/build-bash/builtins'
rm -f redir.o
gcc -DPROGRAM='"bash"' -DCONF_HOSTTYPE='"x86_64"' -DCONF_OSTYPE='"linux-gnu"' -DCONF_MACHTYPE='"x86_64-pc-linux-gnu"' -DCONF_VENDOR='"pc"' -DLOCALEDIR='"/usr/share/locale"' -DPACKAGE='"bash"' -DSHELL -DHAVE_CONFIG_H -I. -I../. -I.././include -I.././lib -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -c .././redir.c
.././redir.c: In function 'redir_varvalue':
.././redir.c:1462:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
1462 | if (vr = valid_array_reference (w, 0))
| ^~
.././redir.c:1477:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
1477 | if (vr = valid_array_reference (w, 0))
| ^~
At top level:
.././redir.c:762:1: warning: 'undoablefd' defined but not used [-Wunused-function]
762 | undoablefd (fd)
| ^~~~~~~~~~
.././redir.c: In function 'do_redirection_internal.constprop':
.././redir.c:906:20: warning: 'oflags' may be used uninitialized in this function [-Wmaybe-uninitialized]
906 | redirectee->flags = oflags;
| ~~~~~~~~~~~~~~~~~~^~~~~~~~
.././redir.c:882:10: warning: 'new_redirect' may be used uninitialized in this function [-Wmaybe-uninitialized]
882 | ri = new_redirect->instruction;
| ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
rm -f pcomplete.o
gcc -DPROGRAM='"bash"' -DCONF_HOSTTYPE='"x86_64"' -DCONF_OSTYPE='"linux-gnu"' -DCONF_MACHTYPE='"x86_64-pc-linux-gnu"' -DCONF_VENDOR='"pc"' -DLOCALEDIR='"/usr/share/locale"' -DPACKAGE='"bash"' -DSHELL -DHAVE_CONFIG_H -I. -I../. -I.././include -I.././lib -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -c .././pcomplete.c
rm -f pcomplib.o
gcc -DPROGRAM='"bash"' -DCONF_HOSTTYPE='"x86_64"' -DCONF_OSTYPE='"linux-gnu"' -DCONF_MACHTYPE='"x86_64-pc-linux-gnu"' -DCONF_VENDOR='"pc"' -DLOCALEDIR='"/usr/share/locale"' -DPACKAGE='"bash"' -DSHELL -DHAVE_CONFIG_H -I. -I../. -I.././include -I.././lib -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -c .././pcomplib.c
rm -f syntax.o
gcc -DPROGRAM='"bash"' -DCONF_HOSTTYPE='"x86_64"' -DCONF_OSTYPE='"linux-gnu"' -DCONF_MACHTYPE='"x86_64-pc-linux-gnu"' -DCONF_VENDOR='"pc"' -DLOCALEDIR='"/usr/share/locale"' -DPACKAGE='"bash"' -DSHELL -DHAVE_CONFIG_H -I. -I../. -I.././include -I.././lib -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -c syntax.c
rm -f xmalloc.o
gcc -DPROGRAM='"bash"' -DCONF_HOSTTYPE='"x86_64"' -DCONF_OSTYPE='"linux-gnu"' -DCONF_MACHTYPE='"x86_64-pc-linux-gnu"' -DCONF_VENDOR='"pc"' -DLOCALEDIR='"/usr/share/locale"' -DPACKAGE='"bash"' -DSHELL -DHAVE_CONFIG_H -I. -I../. -I.././include -I.././lib -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -c .././xmalloc.c
rm -f plugin.o
gcc -DPROGRAM='"bash"' -DCONF_HOSTTYPE='"x86_64"' -DCONF_OSTYPE='"linux-gnu"' -DCONF_MACHTYPE='"x86_64-pc-linux-gnu"' -DCONF_VENDOR='"pc"' -DLOCALEDIR='"/usr/share/locale"' -DPACKAGE='"bash"' -DSHELL -DHAVE_CONFIG_H -I. -I../. -I.././include -I.././lib -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -c .././plugin.c
.././plugin.c: In function 'invoke_plugin_on_shell_execve':
.././plugin.c:421:15: warning: unused variable 'real_path_buffer' [-Wunused-variable]
421 | char* real_path_buffer = realpath(cmd, resolved_path);
| ^~~~~~~~~~~~~~~~
make[5]: Entering directory '/sonic/src/bash/bash-5.1/build-bash/builtins'
rm -f builtins.o
gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I.. -I../../. -I../.././include -I../.././lib -I../.././builtins -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall builtins.c
rm -f alias.o
./mkbuiltins -D ../.././builtins ../.././builtins/alias.def
gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I.. -I../../. -I../.././include -I../.././lib -I../.././builtins -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall alias.c || ( rm -f alias.c ; exit 1 )
rm -f alias.c
rm -f bind.o
./mkbuiltins -D ../.././builtins ../.././builtins/bind.def
gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I.. -I../../. -I../.././include -I../.././lib -I../.././builtins -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall bind.c || ( rm -f bind.c ; exit 1 )
rm -f bind.c
rm -f break.o
./mkbuiltins -D ../.././builtins ../.././builtins/break.def
gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I.. -I../../. -I../.././include -I../.././lib -I../.././builtins -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall break.c || ( rm -f break.c ; exit 1 )
rm -f break.c
rm -f builtin.o
./mkbuiltins -D ../.././builtins ../.././builtins/builtin.def
gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I.. -I../../. -I../.././include -I../.././lib -I../.././builtins -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall builtin.c || ( rm -f builtin.c ; exit 1 )
rm -f builtin.c
rm -f caller.o
./mkbuiltins -D ../.././builtins ../.././builtins/caller.def
gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I.. -I../../. -I../.././include -I../.././lib -I../.././builtins -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall caller.c || ( rm -f caller.c ; exit 1 )
rm -f caller.c
rm -f cd.o
./mkbuiltins -D ../.././builtins ../.././builtins/cd.def
gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I.. -I../../. -I../.././include -I../.././lib -I../.././builtins -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall cd.c || ( rm -f cd.c ; exit 1 )
../.././builtins/../.././builtins/cd.def: In function 'cd_builtin':
../.././builtins/../.././builtins/cd.def:370:14: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
../.././builtins/../.././builtins/cd.def: In function 'change_to_directory':
../.././builtins/../.././builtins/cd.def:555:20: warning: unused variable 'ndir' [-Wunused-variable]
At top level:
../.././builtins/../.././builtins/cd.def:198:1: warning: 'cdxattr' defined but not used [-Wunused-function]
rm -f cd.c
rm -f colon.o
./mkbuiltins -D ../.././builtins ../.././builtins/colon.def
gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I.. -I../../. -I../.././include -I../.././lib -I../.././builtins -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall colon.c || ( rm -f colon.c ; exit 1 )
rm -f colon.c
rm -f command.o
./mkbuiltins -D ../.././builtins ../.././builtins/command.def
gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I.. -I../../. -I../.././include -I../.././lib -I../.././builtins -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall command.c || ( rm -f command.c ; exit 1 )
rm -f command.c
rm -f common.o
gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I.. -I../../. -I../.././include -I../.././lib -I../.././builtins -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall ../.././builtins/common.c
rm -f declare.o
./mkbuiltins -D ../.././builtins ../.././builtins/declare.def
gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I.. -I../../. -I../.././include -I../.././lib -I../.././builtins -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall declare.c || ( rm -f declare.c ; exit 1 )
../.././builtins/../.././builtins/declare.def: In function 'declare_internal':
../.././builtins/../.././builtins/declare.def:319:11: warning: variable 'var_exists' set but not used [-Wunused-but-set-variable]
rm -f declare.c
rm -f echo.o
./mkbuiltins -D ../.././builtins ../.././builtins/echo.def
gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I.. -I../../. -I../.././include -I../.././lib -I../.././builtins -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall echo.c || ( rm -f echo.c ; exit 1 )
../.././builtins/../.././builtins/echo.def: In function 'echo_builtin':
../.././builtins/../.././builtins/echo.def:141:14: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
rm -f echo.c
rm -f enable.o
./mkbuiltins -D ../.././builtins ../.././builtins/enable.def
gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I.. -I../../. -I../.././include -I../.././lib -I../.././builtins -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall enable.c || ( rm -f enable.c ; exit 1 )
../.././builtins/../.././builtins/enable.def: In function 'enable_builtin':
../.././builtins/../.././builtins/enable.def:373:7: warning: 'filename' may be used uninitialized in this function [-Wmaybe-uninitialized]
../.././builtins/../.././builtins/enable.def:114:9: note: 'filename' was declared here
rm -f enable.c
rm -f eval.o
./mkbuiltins -D ../.././builtins ../.././builtins/eval.def
gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I.. -I../../. -I../.././include -I../.././lib -I../.././builtins -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall eval.c || ( rm -f eval.c ; exit 1 )
rm -f eval.c
rm -f evalfile.o
gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I.. -I../../. -I../.././include -I../.././lib -I../.././builtins -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall ../.././builtins/evalfile.c
rm -f evalstring.o
gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I.. -I../../. -I../.././include -I../.././lib -I../.././builtins -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall ../.././builtins/evalstring.c
../.././builtins/evalstring.c: In function 'parse_and_execute':
../.././builtins/evalstring.c:402:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
402 | else if (command = global_command)
| ^~~~~~~
rm -f exec.o
./mkbuiltins -D ../.././builtins ../.././builtins/exec.def
gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I.. -I../../. -I../.././include -I../.././lib -I../.././builtins -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall exec.c || ( rm -f exec.c ; exit 1 )
../.././builtins/../.././builtins/exec.def: In function 'exec_builtin':
../.././builtins/../.././builtins/exec.def:268:6: warning: 'orig_job_control' may be used uninitialized in this function [-Wmaybe-uninitialized]
rm -f exec.c
rm -f exit.o
./mkbuiltins -D ../.././builtins ../.././builtins/exit.def
gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I.. -I../../. -I../.././include -I../.././lib -I../.././builtins -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall exit.c || ( rm -f exit.c ; exit 1 )
rm -f exit.c
rm -f fc.o
./mkbuiltins -D ../.././builtins ../.././builtins/fc.def
gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I.. -I../../. -I../.././include -I../.././lib -I../.././builtins -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall fc.c || ( rm -f fc.c ; exit 1 )
rm -f fc.c
rm -f fg_bg.o
./mkbuiltins -D ../.././builtins ../.././builtins/fg_bg.def
gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I.. -I../../. -I../.././include -I../.././lib -I../.././builtins -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall fg_bg.c || ( rm -f fg_bg.c ; exit 1 )
rm -f fg_bg.c
rm -f hash.o
./mkbuiltins -D ../.././builtins ../.././builtins/hash.def
gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I.. -I../../. -I../.././include -I../.././lib -I../.././builtins -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall hash.c || ( rm -f hash.c ; exit 1 )
rm -f hash.c
rm -f help.o
./mkbuiltins -D ../.././builtins ../.././builtins/help.def
gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I.. -I../../. -I../.././include -I../.././lib -I../.././builtins -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall help.c || ( rm -f help.c ; exit 1 )
../.././builtins/../.././builtins/help.def: In function 'help_builtin':
../.././builtins/../.././builtins/help.def:145:16: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
../.././builtins/../.././builtins/help.def: In function 'show_desc':
../.././builtins/../.././builtins/help.def:261:19: warning: variable 'r' set but not used [-Wunused-but-set-variable]
../.././builtins/../.././builtins/help.def: In function 'show_builtin_command_help':
../.././builtins/../.././builtins/help.def:521:9: warning: unused variable 't' [-Wunused-variable]
../.././builtins/../.././builtins/help.def:519:10: warning: unused variable 'j' [-Wunused-variable]
rm -f help.c
rm -f history.o
./mkbuiltins -D ../.././builtins ../.././builtins/history.def
gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I.. -I../../. -I../.././include -I../.././lib -I../.././builtins -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall history.c || ( rm -f history.c ; exit 1 )
../.././builtins/../.././builtins/history.def: In function 'history_builtin':
../.././builtins/../.././builtins/history.def:188:4: warning: 'delete_arg' may be used uninitialized in this function [-Wmaybe-uninitialized]
rm -f history.c
rm -f jobs.o
./mkbuiltins -D ../.././builtins ../.././builtins/jobs.def
gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I.. -I../../. -I../.././include -I../.././lib -I../.././builtins -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall jobs.c || ( rm -f jobs.c ; exit 1 )
rm -f jobs.c
rm -f kill.o
./mkbuiltins -D ../.././builtins ../.././builtins/kill.def
gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I.. -I../../. -I../.././include -I../.././lib -I../.././builtins -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall kill.c || ( rm -f kill.c ; exit 1 )
rm -f kill.c
rm -f let.o
./mkbuiltins -D ../.././builtins ../.././builtins/let.def
gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I.. -I../../. -I../.././include -I../.././lib -I../.././builtins -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall let.c || ( rm -f let.c ; exit 1 )
rm -f let.c
rm -f mapfile.o
./mkbuiltins -D ../.././builtins ../.././builtins/mapfile.def
gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I.. -I../../. -I../.././include -I../.././lib -I../.././builtins -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall mapfile.c || ( rm -f mapfile.c ; exit 1 )
rm -f mapfile.c
rm -f pushd.o
./mkbuiltins -D ../.././builtins ../.././builtins/pushd.def
gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I.. -I../../. -I../.././include -I../.././lib -I../.././builtins -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall pushd.c || ( rm -f pushd.c ; exit 1 )
rm -f pushd.c
rm -f read.o
./mkbuiltins -D ../.././builtins ../.././builtins/read.def
gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I.. -I../../. -I../.././include -I../.././lib -I../.././builtins -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall read.c || ( rm -f read.c ; exit 1 )
rm -f read.c
rm -f return.o
./mkbuiltins -D ../.././builtins ../.././builtins/return.def
gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I.. -I../../. -I../.././include -I../.././lib -I../.././builtins -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall return.c || ( rm -f return.c ; exit 1 )
rm -f return.c
rm -f set.o
./mkbuiltins -D ../.././builtins ../.././builtins/set.def
gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I.. -I../../. -I../.././include -I../.././lib -I../.././builtins -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall set.c || ( rm -f set.c ; exit 1 )
../.././builtins/../.././builtins/set.def: In function 'parse_shellopts':
../.././builtins/../.././builtins/set.def:617:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
../.././builtins/../.././builtins/set.def: In function 'set_builtin':
../.././builtins/../.././builtins/set.def:742:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
../.././builtins/../.././builtins/set.def: In function 'unset_builtin':
../.././builtins/../.././builtins/set.def:946:8: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
../.././builtins/../.././builtins/set.def:985:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
../.././builtins/../.././builtins/set.def:1003:15: warning: 'tem' may be used uninitialized in this function [-Wmaybe-uninitialized]
rm -f set.c
rm -f setattr.o
./mkbuiltins -D ../.././builtins ../.././builtins/setattr.def
gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I.. -I../../. -I../.././include -I../.././lib -I../.././builtins -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall setattr.c || ( rm -f setattr.c ; exit 1 )
../.././builtins/../.././builtins/setattr.def: In function 'set_or_show_attributes':
../.././builtins/../.././builtins/setattr.def:320:16: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
../.././builtins/../.././builtins/setattr.def:337:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
../.././builtins/../.././builtins/setattr.def: In function 'show_all_var_attributes':
../.././builtins/../.././builtins/setattr.def:364:28: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
../.././builtins/../.././builtins/setattr.def:367:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
../.././builtins/../.././builtins/setattr.def: In function 'show_local_var_attributes':
../.././builtins/../.././builtins/setattr.def:388:28: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
../.././builtins/../.././builtins/setattr.def:391:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
rm -f setattr.c
rm -f shift.o
./mkbuiltins -D ../.././builtins ../.././builtins/shift.def
gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I.. -I../../. -I../.././include -I../.././lib -I../.././builtins -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall shift.c || ( rm -f shift.c ; exit 1 )
rm -f shift.c
rm -f source.o
./mkbuiltins -D ../.././builtins ../.././builtins/source.def
gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I.. -I../../. -I../.././include -I../.././lib -I../.././builtins -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall source.c || ( rm -f source.c ; exit 1 )
rm -f source.c
rm -f suspend.o
./mkbuiltins -D ../.././builtins ../.././builtins/suspend.def
gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I.. -I../../. -I../.././include -I../.././lib -I../.././builtins -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall suspend.c || ( rm -f suspend.c ; exit 1 )
rm -f suspend.c
rm -f test.o
./mkbuiltins -D ../.././builtins ../.././builtins/test.def
gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I.. -I../../. -I../.././include -I../.././lib -I../.././builtins -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall test.c || ( rm -f test.c ; exit 1 )
rm -f test.c
rm -f times.o
./mkbuiltins -D ../.././builtins ../.././builtins/times.def
gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I.. -I../../. -I../.././include -I../.././lib -I../.././builtins -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall times.c || ( rm -f times.c ; exit 1 )
rm -f times.c
rm -f trap.o
./mkbuiltins -D ../.././builtins ../.././builtins/trap.def
gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I.. -I../../. -I../.././include -I../.././lib -I../.././builtins -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall trap.c || ( rm -f trap.c ; exit 1 )
rm -f trap.c
rm -f type.o
./mkbuiltins -D ../.././builtins ../.././builtins/type.def
gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I.. -I../../. -I../.././include -I../.././lib -I../.././builtins -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall type.c || ( rm -f type.c ; exit 1 )
../.././builtins/../.././builtins/type.def: In function 'describe_command':
../.././builtins/../.././builtins/type.def:338:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
rm -f type.c
rm -f ulimit.o
./mkbuiltins -D ../.././builtins ../.././builtins/ulimit.def
gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I.. -I../../. -I../.././include -I../.././lib -I../.././builtins -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall ulimit.c || ( rm -f ulimit.c ; exit 1 )
../.././builtins/../.././builtins/ulimit.def:774:1: warning: 'set_all_limits' defined but not used [-Wunused-function]
rm -f ulimit.c
rm -f umask.o
./mkbuiltins -D ../.././builtins ../.././builtins/umask.def
gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I.. -I../../. -I../.././include -I../.././lib -I../.././builtins -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall umask.c || ( rm -f umask.c ; exit 1 )
rm -f umask.c
rm -f wait.o
./mkbuiltins -D ../.././builtins ../.././builtins/wait.def
gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I.. -I../../. -I../.././include -I../.././lib -I../.././builtins -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall wait.c || ( rm -f wait.c ; exit 1 )
../.././builtins/../.././builtins/wait.def: In function 'wait_builtin':
../.././builtins/../.././builtins/wait.def:116:14: warning: variable 'pidvar' set but not used [-Wunused-but-set-variable]
../.././builtins/../.././builtins/wait.def: In function 'set_waitlist':
../.././builtins/../.././builtins/wait.def:321:12: warning: unused variable 'r' [-Wunused-variable]
rm -f wait.c
rm -f getopts.o
./mkbuiltins -D ../.././builtins ../.././builtins/getopts.def
gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I.. -I../../. -I../.././include -I../.././lib -I../.././builtins -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall getopts.c || ( rm -f getopts.c ; exit 1 )
rm -f getopts.c
rm -f shopt.o
./mkbuiltins -D ../.././builtins ../.././builtins/shopt.def
gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I.. -I../../. -I../.././include -I../.././lib -I../.././builtins -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall shopt.c || ( rm -f shopt.c ; exit 1 )
../.././builtins/../.././builtins/shopt.def: In function 'toggle_shopts':
../.././builtins/../.././builtins/shopt.def:458:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
../.././builtins/../.././builtins/shopt.def: In function 'set_bashopts':
../.././builtins/../.././builtins/shopt.def:801:24: warning: unused variable 'ip' [-Wunused-variable]
../.././builtins/../.././builtins/shopt.def: In function 'parse_bashopts':
../.././builtins/../.././builtins/shopt.def:862:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
rm -f shopt.c
rm -f printf.o
./mkbuiltins -D ../.././builtins ../.././builtins/printf.def
gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I.. -I../../. -I../.././include -I../.././lib -I../.././builtins -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall printf.c || ( rm -f printf.c ; exit 1 )
rm -f printf.c
rm -f getopt.o
gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I.. -I../../. -I../.././include -I../.././lib -I../.././builtins -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall ../.././builtins/getopt.c
../.././builtins/getopt.c: In function 'sh_getopt':
../.././builtins/getopt.c:182:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
182 | if (sh_badopt = (temp == NULL || c == ':'))
| ^~~~~~~~~
rm -f bashgetopt.o
gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I.. -I../../. -I../.././include -I../.././lib -I../.././builtins -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall ../.././builtins/bashgetopt.c
rm -f complete.o
./mkbuiltins -D ../.././builtins ../.././builtins/complete.def
gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I.. -I../../. -I../.././include -I../.././lib -I../.././builtins -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall complete.c || ( rm -f complete.c ; exit 1 )
rm -f complete.c
rm -f libbuiltins.a
ar cr libbuiltins.a builtins.o alias.o bind.o break.o builtin.o caller.o cd.o colon.o command.o common.o declare.o echo.o enable.o eval.o evalfile.o evalstring.o exec.o exit.o fc.o fg_bg.o hash.o help.o history.o jobs.o kill.o let.o mapfile.o pushd.o read.o return.o set.o setattr.o shift.o source.o suspend.o test.o times.o trap.o type.o ulimit.o umask.o wait.o getopts.o shopt.o printf.o getopt.o bashgetopt.o complete.o
ranlib libbuiltins.a
make[5]: Leaving directory '/sonic/src/bash/bash-5.1/build-bash/builtins'
making lib/glob/libglob.a in ./lib/glob
make[5]: Entering directory '/sonic/src/bash/bash-5.1/build-bash/lib/glob'
rm -f glob.o
gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I../.. -I../../../. -I../../.././include -I../../.././lib -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall ../../.././lib/glob/glob.c
../../.././lib/glob/glob.c: In function 'extglob_skipname':
../../.././lib/glob/glob.c:230:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
230 | while (t = glob_patscan (pp, pe, '|'))
| ^
../../.././lib/glob/glob.c:197:27: warning: variable 'nullpat' set but not used [-Wunused-but-set-variable]
197 | int n, r, negate, wild, nullpat;
| ^~~~~~~
../../.././lib/glob/glob.c:197:13: warning: variable 'negate' set but not used [-Wunused-but-set-variable]
197 | int n, r, negate, wild, nullpat;
| ^~~~~~
../../.././lib/glob/glob.c: In function 'wextglob_skipname':
../../.././lib/glob/glob.c:348:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
348 | while (t = glob_patscan_wc (pp, pe, '|'))
| ^
../../.././lib/glob/glob.c:324:24: warning: variable 'nullpat' set but not used [-Wunused-but-set-variable]
324 | int r, negate, wild, nullpat;
| ^~~~~~~
../../.././lib/glob/glob.c:324:10: warning: variable 'negate' set but not used [-Wunused-but-set-variable]
324 | int r, negate, wild, nullpat;
| ^~~~~~
../../.././lib/glob/glob.c: In function 'wdequote_pathname':
../../.././lib/glob/glob.c:462:10: warning: unused variable 'j' [-Wunused-variable]
462 | int i, j;
| ^
../../.././lib/glob/glob.c:462:7: warning: unused variable 'i' [-Wunused-variable]
462 | int i, j;
| ^
../../.././lib/glob/glob.c: In function 'finddirs':
../../.././lib/glob/glob.c:565:14: warning: unused variable 'n' [-Wunused-variable]
565 | char **r, *n;
| ^
../../.././lib/glob/glob.c: In function 'glob_filename':
../../.././lib/glob/glob.c:1285:12: warning: unused variable 'dlen' [-Wunused-variable]
1285 | int dlen;
| ^~~~
../../.././lib/glob/glob.c: In function 'skipname.isra':
../../.././lib/glob/glob.c:197:10: warning: 'r' may be used uninitialized in this function [-Wmaybe-uninitialized]
197 | int n, r, negate, wild, nullpat;
| ^
../../.././lib/glob/glob.c: In function 'mbskipname.isra':
../../.././lib/glob/glob.c:408:10: warning: 'ret' may be used uninitialized in this function [-Wmaybe-uninitialized]
408 | return ret;
| ^~~
../../.././lib/glob/glob.c: In function 'glob_vector':
../../.././lib/glob/glob.c:836:11: warning: 'isdir' may be used uninitialized in this function [-Wmaybe-uninitialized]
836 | if (isdir == 0)
| ^
../../.././lib/glob/glob.c:841:9: warning: 'subdir' may be used uninitialized in this function [-Wmaybe-uninitialized]
841 | free (subdir);
| ^~~~~~~~~~~~~
rm -f strmatch.o
gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I../.. -I../../../. -I../../.././include -I../../.././lib -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall ../../.././lib/glob/strmatch.c
rm -f smatch.o
gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I../.. -I../../../. -I../../.././include -I../../.././lib -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall ../../.././lib/glob/smatch.c
../../.././lib/glob/smatch.c: In function 'charcmp':
../../.././lib/glob/smatch.c:108:7: warning: unused variable 'ret' [-Wunused-variable]
108 | int ret;
| ^~~
In file included from ../../.././lib/glob/smatch.c:330:
../../.././lib/glob/sm_loop.c: In function 'brackmatch':
../../.././lib/glob/sm_loop.c:404:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
404 | if (not = (*p == L('!') || *p == L('^')))
| ^~~
../../.././lib/glob/sm_loop.c: In function 'glob_patscan':
../../.././lib/glob/sm_loop.c:683:20: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
683 | for (s = string; c = *s; s++)
| ^
../../.././lib/glob/sm_loop.c: In function 'extmatch':
../../.././lib/glob/sm_loop.c:894:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
894 | if (m1 = (GMATCH (s, srest, psub, pnext - 1, NULL, flags) == 0))
| ^~
../../.././lib/glob/smatch.c: In function 'charcmp_wc':
../../.././lib/glob/smatch.c:386:7: warning: unused variable 'r' [-Wunused-variable]
386 | int r;
| ^
../../.././lib/glob/smatch.c: In function 'collequiv_wc':
../../.././lib/glob/smatch.c:421:14: warning: unused variable 'p' [-Wunused-variable]
421 | wchar_t s, p;
| ^
../../.././lib/glob/smatch.c:421:11: warning: unused variable 's' [-Wunused-variable]
421 | wchar_t s, p;
| ^
../../.././lib/glob/smatch.c: In function 'posix_cclass_only':
../../.././lib/glob/smatch.c:525:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
525 | while (p = strchr (p, '['))
| ^
In file included from ../../.././lib/glob/smatch.c:575:
../../.././lib/glob/sm_loop.c: In function 'brackmatch_wc':
../../.././lib/glob/sm_loop.c:404:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
404 | if (not = (*p == L('!') || *p == L('^')))
| ^~~
../../.././lib/glob/sm_loop.c: In function 'glob_patscan_wc':
../../.././lib/glob/sm_loop.c:683:20: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
683 | for (s = string; c = *s; s++)
| ^
../../.././lib/glob/sm_loop.c: In function 'extmatch_wc':
../../.././lib/glob/sm_loop.c:894:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
894 | if (m1 = (GMATCH (s, srest, psub, pnext - 1, NULL, flags) == 0))
| ^~
../../.././lib/glob/smatch.c: In function 'xstrmatch':
../../.././lib/glob/smatch.c:589:29: warning: unused variable 'mslen' [-Wunused-variable]
589 | size_t plen, slen, mplen, mslen;
| ^~~~~
../../.././lib/glob/smatch.c:589:22: warning: unused variable 'mplen' [-Wunused-variable]
589 | size_t plen, slen, mplen, mslen;
| ^~~~~
../../.././lib/glob/smatch.c:589:16: warning: unused variable 'slen' [-Wunused-variable]
589 | size_t plen, slen, mplen, mslen;
| ^~~~
../../.././lib/glob/smatch.c:589:10: warning: unused variable 'plen' [-Wunused-variable]
589 | size_t plen, slen, mplen, mslen;
| ^~~~
rm -f xmbsrtowcs.o
gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I../.. -I../../../. -I../../.././include -I../../.././lib -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall ../../.././lib/glob/xmbsrtowcs.c
../../.././lib/glob/xmbsrtowcs.c: In function 'xwcsrtombs':
../../.././lib/glob/xmbsrtowcs.c:456:1: warning: label 'handle_byte' defined but not used [-Wunused-label]
456 | handle_byte:
| ^~~~~~~~~~~
../../.././lib/glob/xmbsrtowcs.c:429:13: warning: unused variable 'prev_state' [-Wunused-variable]
429 | mbstate_t prev_state;
| ^~~~~~~~~~
rm -f gmisc.o
gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I../.. -I../../../. -I../../.././include -I../../.././lib -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall ../../.././lib/glob/gmisc.c
In file included from ../../.././lib/glob/gmisc.c:57:
../../.././lib/glob/gm_loop.c: In function 'umatchlen':
../../.././lib/glob/gm_loop.c:85:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
85 | while (c = *pat++)
| ^
../../.././lib/glob/gm_loop.c:79:25: warning: unused variable 't' [-Wunused-variable]
79 | int matlen, bracklen, t, in_cclass, in_collsym, in_equiv;
| ^
In file included from ../../.././lib/glob/gmisc.c:72:
../../.././lib/glob/gm_loop.c: In function 'wmatchlen':
../../.././lib/glob/gm_loop.c:85:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
85 | while (c = *pat++)
| ^
../../.././lib/glob/gm_loop.c:79:25: warning: unused variable 't' [-Wunused-variable]
79 | int matlen, bracklen, t, in_cclass, in_collsym, in_equiv;
| ^
rm -f -f libglob.a
ar cr libglob.a glob.o strmatch.o smatch.o xmbsrtowcs.o gmisc.o
test -n "ranlib" && ranlib libglob.a
make[5]: Leaving directory '/sonic/src/bash/bash-5.1/build-bash/lib/glob'
making lib/sh/libsh.a in ./lib/sh
make[5]: Entering directory '/sonic/src/bash/bash-5.1/build-bash/lib/sh'
gcc -c -I. -I../.. -I../../../. -I../../.././lib -I../../.././include -I../../.././lib/sh -DHAVE_CONFIG_H -DSHELL -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wdate-time -D_FORTIFY_SOURCE=2 ../../.././lib/sh/clktck.c
gcc -c -I. -I../.. -I../../../. -I../../.././lib -I../../.././include -I../../.././lib/sh -DHAVE_CONFIG_H -DSHELL -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wdate-time -D_FORTIFY_SOURCE=2 ../../.././lib/sh/clock.c
gcc -c -I. -I../.. -I../../../. -I../../.././lib -I../../.././include -I../../.././lib/sh -DHAVE_CONFIG_H -DSHELL -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wdate-time -D_FORTIFY_SOURCE=2 ../../.././lib/sh/getenv.c
../../.././lib/sh/getenv.c: In function 'getenv':
../../.././lib/sh/getenv.c:55:6: warning: 'nonnull' argument 'name' compared to NULL [-Wnonnull-compare]
55 | if (name == 0 || *name == '\0')
| ^
../../.././lib/sh/getenv.c: In function 'putenv':
../../.././lib/sh/getenv.c:112:6: warning: 'nonnull' argument 'str' compared to NULL [-Wnonnull-compare]
112 | if (str == 0 || *str == '\0')
| ^
../../.././lib/sh/getenv.c: In function 'unsetenv':
../../.././lib/sh/getenv.c:214:6: warning: 'nonnull' argument 'name' compared to NULL [-Wnonnull-compare]
214 | if (name == 0 || *name == '\0' || strchr (name, '=') != 0)
| ^
gcc -c -I. -I../.. -I../../../. -I../../.././lib -I../../.././include -I../../.././lib/sh -DHAVE_CONFIG_H -DSHELL -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wdate-time -D_FORTIFY_SOURCE=2 ../../.././lib/sh/oslib.c
gcc -c -I. -I../.. -I../../../. -I../../.././lib -I../../.././include -I../../.././lib/sh -DHAVE_CONFIG_H -DSHELL -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wdate-time -D_FORTIFY_SOURCE=2 ../../.././lib/sh/setlinebuf.c
gcc -c -I. -I../.. -I../../../. -I../../.././lib -I../../.././include -I../../.././lib/sh -DHAVE_CONFIG_H -DSHELL -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wdate-time -D_FORTIFY_SOURCE=2 ../../.././lib/sh/strnlen.c
gcc -c -I. -I../.. -I../../../. -I../../.././lib -I../../.././include -I../../.././lib/sh -DHAVE_CONFIG_H -DSHELL -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wdate-time -D_FORTIFY_SOURCE=2 ../../.././lib/sh/itos.c
gcc -c -I. -I../.. -I../../../. -I../../.././lib -I../../.././include -I../../.././lib/sh -DHAVE_CONFIG_H -DSHELL -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wdate-time -D_FORTIFY_SOURCE=2 ../../.././lib/sh/zread.c
gcc -c -I. -I../.. -I../../../. -I../../.././lib -I../../.././include -I../../.././lib/sh -DHAVE_CONFIG_H -DSHELL -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wdate-time -D_FORTIFY_SOURCE=2 ../../.././lib/sh/zwrite.c
gcc -c -I. -I../.. -I../../../. -I../../.././lib -I../../.././include -I../../.././lib/sh -DHAVE_CONFIG_H -DSHELL -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wdate-time -D_FORTIFY_SOURCE=2 ../../.././lib/sh/shtty.c
gcc -c -I. -I../.. -I../../../. -I../../.././lib -I../../.././include -I../../.././lib/sh -DHAVE_CONFIG_H -DSHELL -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wdate-time -D_FORTIFY_SOURCE=2 ../../.././lib/sh/shmatch.c
gcc -c -I. -I../.. -I../../../. -I../../.././lib -I../../.././include -I../../.././lib/sh -DHAVE_CONFIG_H -DSHELL -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wdate-time -D_FORTIFY_SOURCE=2 ../../.././lib/sh/eaccess.c
../../.././lib/sh/eaccess.c:176:1: warning: 'sh_euidaccess' defined but not used [-Wunused-function]
176 | sh_euidaccess (path, mode)
| ^~~~~~~~~~~~~
gcc -c -I. -I../.. -I../../../. -I../../.././lib -I../../.././include -I../../.././lib/sh -DHAVE_CONFIG_H -DSHELL -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wdate-time -D_FORTIFY_SOURCE=2 ../../.././lib/sh/netconn.c
gcc -c -I. -I../.. -I../../../. -I../../.././lib -I../../.././include -I../../.././lib/sh -DHAVE_CONFIG_H -DSHELL -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wdate-time -D_FORTIFY_SOURCE=2 ../../.././lib/sh/netopen.c
gcc -c -I. -I../.. -I../../../. -I../../.././lib -I../../.././include -I../../.././lib/sh -DHAVE_CONFIG_H -DSHELL -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wdate-time -D_FORTIFY_SOURCE=2 ../../.././lib/sh/timeval.c
gcc -c -I. -I../.. -I../../../. -I../../.././lib -I../../.././include -I../../.././lib/sh -DHAVE_CONFIG_H -DSHELL -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wdate-time -D_FORTIFY_SOURCE=2 ../../.././lib/sh/makepath.c
../../.././lib/sh/makepath.c: In function 'sh_makepath':
../../.././lib/sh/makepath.c:123:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
123 | while (*r++ = *s++)
| ^
gcc -c -I. -I../.. -I../../../. -I../../.././lib -I../../.././include -I../../.././lib/sh -DHAVE_CONFIG_H -DSHELL -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wdate-time -D_FORTIFY_SOURCE=2 ../../.././lib/sh/pathcanon.c
../../.././lib/sh/pathcanon.c: In function 'sh_canonpath':
../../.././lib/sh/pathcanon.c:117:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
117 | if (rooted = ROOTEDPATH(path))
| ^~~~~~
gcc -c -I. -I../.. -I../../../. -I../../.././lib -I../../.././include -I../../.././lib/sh -DHAVE_CONFIG_H -DSHELL -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wdate-time -D_FORTIFY_SOURCE=2 ../../.././lib/sh/pathphys.c
gcc -c -I. -I../.. -I../../../. -I../../.././lib -I../../.././include -I../../.././lib/sh -DHAVE_CONFIG_H -DSHELL -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wdate-time -D_FORTIFY_SOURCE=2 ../../.././lib/sh/tmpfile.c
../../.././lib/sh/tmpfile.c: In function 'sh_mktmpname':
../../.././lib/sh/tmpfile.c:142:14: warning: unused variable 'seeded' [-Wunused-variable]
142 | static int seeded = 0;
| ^~~~~~
../../.././lib/sh/tmpfile.c:141:10: warning: variable 'tdlen' set but not used [-Wunused-but-set-variable]
141 | int r, tdlen;
| ^~~~~
../../.././lib/sh/tmpfile.c:141:7: warning: unused variable 'r' [-Wunused-variable]
141 | int r, tdlen;
| ^
../../.././lib/sh/tmpfile.c:140:15: warning: unused variable 'sb' [-Wunused-variable]
140 | struct stat sb;
| ^~
../../.././lib/sh/tmpfile.c: In function 'sh_mktmpfd':
../../.././lib/sh/tmpfile.c:196:11: warning: variable 'tdlen' set but not used [-Wunused-but-set-variable]
196 | int fd, tdlen;
| ^~~~~
../../.././lib/sh/tmpfile.c: In function 'sh_mktmpdir':
../../.././lib/sh/tmpfile.c:271:11: warning: variable 'tdlen' set but not used [-Wunused-but-set-variable]
271 | int fd, tdlen;
| ^~~~~
../../.././lib/sh/tmpfile.c:271:7: warning: unused variable 'fd' [-Wunused-variable]
271 | int fd, tdlen;
| ^~
At top level:
../../.././lib/sh/tmpfile.c:142:14: warning: 'seeded' defined but not used [-Wunused-variable]
142 | static int seeded = 0;
| ^~~~~~
../../.././lib/sh/tmpfile.c:118:1: warning: 'sh_seedrand' defined but not used [-Wunused-function]
118 | sh_seedrand ()
| ^~~~~~~~~~~
../../.././lib/sh/tmpfile.c:63:22: warning: 'filenum' defined but not used [-Wunused-variable]
63 | static unsigned long filenum = 1L;
| ^~~~~~~
../../.././lib/sh/tmpfile.c:61:12: warning: 'ntmpfiles' defined but not used [-Wunused-variable]
61 | static int ntmpfiles;
| ^~~~~~~~~
gcc -c -I. -I../.. -I../../../. -I../../.././lib -I../../.././include -I../../.././lib/sh -DHAVE_CONFIG_H -DSHELL -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wdate-time -D_FORTIFY_SOURCE=2 ../../.././lib/sh/stringlist.c
gcc -c -I. -I../.. -I../../../. -I../../.././lib -I../../.././include -I../../.././lib/sh -DHAVE_CONFIG_H -DSHELL -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wdate-time -D_FORTIFY_SOURCE=2 ../../.././lib/sh/stringvec.c
gcc -c -I. -I../.. -I../../../. -I../../.././lib -I../../.././include -I../../.././lib/sh -DHAVE_CONFIG_H -DSHELL -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wdate-time -D_FORTIFY_SOURCE=2 ../../.././lib/sh/spell.c
../../.././lib/sh/spell.c: In function 'spname':
../../.././lib/sh/spell.c:98:22: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
98 | for (p = best; *np = *p++; np++)
| ^
gcc -c -I. -I../.. -I../../../. -I../../.././lib -I../../.././include -I../../.././lib/sh -DHAVE_CONFIG_H -DSHELL -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wdate-time -D_FORTIFY_SOURCE=2 ../../.././lib/sh/shquote.c
gcc -c -I. -I../.. -I../../../. -I../../.././lib -I../../.././include -I../../.././lib/sh -DHAVE_CONFIG_H -DSHELL -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wdate-time -D_FORTIFY_SOURCE=2 ../../.././lib/sh/strtrans.c
../../.././lib/sh/strtrans.c: In function 'ansicstr':
../../.././lib/sh/strtrans.c:59:7: warning: unused variable 'b' [-Wunused-variable]
59 | int b, mb_cur_max;
| ^
../../.././lib/sh/strtrans.c: In function 'ansic_quote':
../../.././lib/sh/strtrans.c:253:17: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
253 | for (s = str; c = *s; s++)
| ^
../../.././lib/sh/strtrans.c: In function 'ansic_wshouldquote':
../../.././lib/sh/strtrans.c:337:21: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
337 | for (wcs = wcstr; wcc = *wcs; wcs++)
| ^~~
../../.././lib/sh/strtrans.c: In function 'ansic_shouldquote':
../../.././lib/sh/strtrans.c:360:20: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
360 | for (s = string; c = *s; s++)
| ^
gcc -c -I. -I../.. -I../../../. -I../../.././lib -I../../.././include -I../../.././lib/sh -DHAVE_CONFIG_H -DSHELL -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wdate-time -D_FORTIFY_SOURCE=2 ../../.././lib/sh/snprintf.c
gcc -c -I. -I../.. -I../../../. -I../../.././lib -I../../.././include -I../../.././lib/sh -DHAVE_CONFIG_H -DSHELL -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wdate-time -D_FORTIFY_SOURCE=2 ../../.././lib/sh/mailstat.c
gcc -c -I. -I../.. -I../../../. -I../../.././lib -I../../.././include -I../../.././lib/sh -DHAVE_CONFIG_H -DSHELL -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wdate-time -D_FORTIFY_SOURCE=2 ../../.././lib/sh/fmtulong.c
gcc -c -I. -I../.. -I../../../. -I../../.././lib -I../../.././include -I../../.././lib/sh -DHAVE_CONFIG_H -DSHELL -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wdate-time -D_FORTIFY_SOURCE=2 ../../.././lib/sh/fmtullong.c
gcc -c -I. -I../.. -I../../../. -I../../.././lib -I../../.././include -I../../.././lib/sh -DHAVE_CONFIG_H -DSHELL -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wdate-time -D_FORTIFY_SOURCE=2 ../../.././lib/sh/fmtumax.c
gcc -c -I. -I../.. -I../../../. -I../../.././lib -I../../.././include -I../../.././lib/sh -DHAVE_CONFIG_H -DSHELL -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wdate-time -D_FORTIFY_SOURCE=2 ../../.././lib/sh/zcatfd.c
gcc -c -I. -I../.. -I../../../. -I../../.././lib -I../../.././include -I../../.././lib/sh -DHAVE_CONFIG_H -DSHELL -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wdate-time -D_FORTIFY_SOURCE=2 ../../.././lib/sh/zmapfd.c
gcc -c -I. -I../.. -I../../../. -I../../.././lib -I../../.././include -I../../.././lib/sh -DHAVE_CONFIG_H -DSHELL -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wdate-time -D_FORTIFY_SOURCE=2 ../../.././lib/sh/winsize.c
gcc -c -I. -I../.. -I../../../. -I../../.././lib -I../../.././include -I../../.././lib/sh -DHAVE_CONFIG_H -DSHELL -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wdate-time -D_FORTIFY_SOURCE=2 ../../.././lib/sh/wcsdup.c
gcc -c -I. -I../.. -I../../../. -I../../.././lib -I../../.././include -I../../.././lib/sh -DHAVE_CONFIG_H -DSHELL -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wdate-time -D_FORTIFY_SOURCE=2 ../../.././lib/sh/fpurge.c
gcc -c -I. -I../.. -I../../../. -I../../.././lib -I../../.././include -I../../.././lib/sh -DHAVE_CONFIG_H -DSHELL -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wdate-time -D_FORTIFY_SOURCE=2 ../../.././lib/sh/zgetline.c
gcc -c -I. -I../.. -I../../../. -I../../.././lib -I../../.././include -I../../.././lib/sh -DHAVE_CONFIG_H -DSHELL -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wdate-time -D_FORTIFY_SOURCE=2 ../../.././lib/sh/mbscmp.c
gcc -c -I. -I../.. -I../../../. -I../../.././lib -I../../.././include -I../../.././lib/sh -DHAVE_CONFIG_H -DSHELL -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wdate-time -D_FORTIFY_SOURCE=2 ../../.././lib/sh/uconvert.c
gcc -c -I. -I../.. -I../../../. -I../../.././lib -I../../.././include -I../../.././lib/sh -DHAVE_CONFIG_H -DSHELL -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wdate-time -D_FORTIFY_SOURCE=2 ../../.././lib/sh/ufuncs.c
../../.././lib/sh/ufuncs.c: In function 'fsleep':
../../.././lib/sh/ufuncs.c:92:26: warning: unused variable 'prevmask' [-Wunused-variable]
92 | sigset_t blocked_sigs, prevmask;
| ^~~~~~~~
gcc -c -I. -I../.. -I../../../. -I../../.././lib -I../../.././include -I../../.././lib/sh -DHAVE_CONFIG_H -DSHELL -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wdate-time -D_FORTIFY_SOURCE=2 ../../.././lib/sh/casemod.c
../../.././lib/sh/casemod.c: In function 'sh_modcase':
../../.././lib/sh/casemod.c:109:15: warning: unused variable 'c' [-Wunused-variable]
109 | int inword, c, nc, nop, match, usewords;
| ^
gcc -c -I. -I../.. -I../../../. -I../../.././lib -I../../.././include -I../../.././lib/sh -DHAVE_CONFIG_H -DSHELL -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wdate-time -D_FORTIFY_SOURCE=2 ../../.././lib/sh/input_avail.c
gcc -c -I. -I../.. -I../../../. -I../../.././lib -I../../.././include -I../../.././lib/sh -DHAVE_CONFIG_H -DSHELL -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wdate-time -D_FORTIFY_SOURCE=2 ../../.././lib/sh/mbscasecmp.c
gcc -c -I. -I../.. -I../../../. -I../../.././lib -I../../.././include -I../../.././lib/sh -DHAVE_CONFIG_H -DSHELL -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wdate-time -D_FORTIFY_SOURCE=2 ../../.././lib/sh/fnxform.c
../../.././lib/sh/fnxform.c:89:1: warning: 'init_fromfs' defined but not used [-Wunused-function]
89 | init_fromfs ()
| ^~~~~~~~~~~
../../.././lib/sh/fnxform.c:80:1: warning: 'init_tofs' defined but not used [-Wunused-function]
80 | init_tofs ()
| ^~~~~~~~~
../../.././lib/sh/fnxform.c:50:15: warning: 'outlen' defined but not used [-Wunused-variable]
50 | static size_t outlen = 0;
| ^~~~~~
../../.././lib/sh/fnxform.c:49:14: warning: 'outbuf' defined but not used [-Wunused-variable]
49 | static char *outbuf = 0;
| ^~~~~~
gcc -c -I. -I../.. -I../../../. -I../../.././lib -I../../.././include -I../../.././lib/sh -DHAVE_CONFIG_H -DSHELL -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wdate-time -D_FORTIFY_SOURCE=2 ../../.././lib/sh/unicode.c
gcc -c -I. -I../.. -I../../../. -I../../.././lib -I../../.././include -I../../.././lib/sh -DHAVE_CONFIG_H -DSHELL -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wdate-time -D_FORTIFY_SOURCE=2 ../../.././lib/sh/shmbchar.c
gcc -c -I. -I../.. -I../../../. -I../../.././lib -I../../.././include -I../../.././lib/sh -DHAVE_CONFIG_H -DSHELL -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wdate-time -D_FORTIFY_SOURCE=2 ../../.././lib/sh/utf8.c
gcc -c -I. -I../.. -I../../../. -I../../.././lib -I../../.././include -I../../.././lib/sh -DHAVE_CONFIG_H -DSHELL -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wdate-time -D_FORTIFY_SOURCE=2 ../../.././lib/sh/random.c
../../.././lib/sh/random.c: In function 'genseed':
../../.././lib/sh/random.c:93:8: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
93 | iv = (u_bits32_t)seedrand; /* let the compiler truncate */
| ^
../../.././lib/sh/random.c: In function 'brand32':
../../.././lib/sh/random.c:143:14: warning: unused variable 'ret' [-Wunused-variable]
143 | u_bits32_t ret;
| ^~~
gcc -c -I. -I../.. -I../../../. -I../../.././lib -I../../.././include -I../../.././lib/sh -DHAVE_CONFIG_H -DSHELL -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wdate-time -D_FORTIFY_SOURCE=2 ../../.././lib/sh/gettimeofday.c
gcc -c -I. -I../.. -I../../../. -I../../.././lib -I../../.././include -I../../.././lib/sh -DHAVE_CONFIG_H -DSHELL -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wdate-time -D_FORTIFY_SOURCE=2 ../../.././lib/sh/wcsnwidth.c
gcc -c -I. -I../.. -I../../../. -I../../.././lib -I../../.././include -I../../.././lib/sh -DHAVE_CONFIG_H -DSHELL -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wdate-time -D_FORTIFY_SOURCE=2 ../../.././lib/sh/mbschr.c
rm -f libsh.a
ar cr libsh.a clktck.o clock.o getenv.o oslib.o setlinebuf.o strnlen.o itos.o zread.o zwrite.o shtty.o shmatch.o eaccess.o netconn.o netopen.o timeval.o makepath.o pathcanon.o pathphys.o tmpfile.o stringlist.o stringvec.o spell.o shquote.o strtrans.o snprintf.o mailstat.o fmtulong.o fmtullong.o fmtumax.o zcatfd.o zmapfd.o winsize.o wcsdup.o fpurge.o zgetline.o mbscmp.o uconvert.o ufuncs.o casemod.o input_avail.o mbscasecmp.o fnxform.o unicode.o shmbchar.o utf8.o random.o gettimeofday.o wcsnwidth.o mbschr.o
test -n "ranlib" && ranlib libsh.a
make[5]: Leaving directory '/sonic/src/bash/bash-5.1/build-bash/lib/sh'
making lib/readline/libreadline.a in ./lib/readline
make[5]: Entering directory '/sonic/src/bash/bash-5.1/build-bash/lib/readline'
rm -f readline.o
gcc -c -DHAVE_CONFIG_H -DSHELL -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/sonic/src/bash/bash-5.1/build-bash -I../../../. -I../../.././lib -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall ../../.././lib/readline/readline.c
../../.././lib/readline/readline.c: In function 'readline_internal_char':
../../.././lib/readline/readline.c:549:20: warning: variable 'r' set but not used [-Wunused-but-set-variable]
549 | int c, code, lk, r;
| ^
../../.././lib/readline/readline.c:548:21: warning: unused variable 'eof_found' [-Wunused-variable]
548 | static int lastc, eof_found;
| ^~~~~~~~~
At top level:
../../.././lib/readline/readline.c:548:21: warning: 'eof_found' defined but not used [-Wunused-variable]
../../.././lib/readline/readline.c:1311:1: warning: 'reset_default_bindings' defined but not used [-Wunused-function]
1311 | reset_default_bindings (void)
| ^~~~~~~~~~~~~~~~~~~~~~
rm -f vi_mode.o
gcc -c -DHAVE_CONFIG_H -DSHELL -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/sonic/src/bash/bash-5.1/build-bash -I../../../. -I../../.././lib -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall ../../.././lib/readline/vi_mode.c
../../.././lib/readline/vi_mode.c: In function 'rl_vi_fword':
../../.././lib/readline/vi_mode.c:639:7: warning: variable 'opoint' set but not used [-Wunused-but-set-variable]
639 | int opoint;
| ^~~~~~
../../.././lib/readline/vi_mode.c: In function 'rl_vi_domove':
../../.././lib/readline/vi_mode.c:1360:7: warning: unused variable 'r' [-Wunused-variable]
1360 | int r;
| ^
At top level:
../../.././lib/readline/vi_mode.c:104:12: warning: 'vi_continued_command' defined but not used [-Wunused-variable]
104 | static int vi_continued_command;
| ^~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/string.h:495,
from ../../.././lib/readline/rldefs.h:61,
from ../../.././lib/readline/vi_mode.c:53:
In function 'strncpy',
inlined from 'rl_vi_change_char' at ../../.././lib/readline/vi_mode.c:2065:7:
/usr/include/x86_64-linux-gnu/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' output may be truncated copying 16 bytes from a string of length 16 [-Wstringop-truncation]
106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
rm -f funmap.o
gcc -c -DHAVE_CONFIG_H -DSHELL -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/sonic/src/bash/bash-5.1/build-bash -I../../../. -I../../.././lib -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall ../../.././lib/readline/funmap.c
rm -f keymaps.o
gcc -c -DHAVE_CONFIG_H -DSHELL -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/sonic/src/bash/bash-5.1/build-bash -I../../../. -I../../.././lib -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall ../../.././lib/readline/keymaps.c
rm -f parens.o
gcc -c -DHAVE_CONFIG_H -DSHELL -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/sonic/src/bash/bash-5.1/build-bash -I../../../. -I../../.././lib -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall ../../.././lib/readline/parens.c
../../.././lib/readline/parens.c: In function 'rl_insert_close':
../../.././lib/readline/parens.c:118:36: warning: variable 'ready' set but not used [-Wunused-but-set-variable]
118 | int orig_point, match_point, ready;
| ^~~~~
rm -f search.o
gcc -c -DHAVE_CONFIG_H -DSHELL -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/sonic/src/bash/bash-5.1/build-bash -I../../../. -I../../.././lib -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall ../../.././lib/readline/search.c
../../.././lib/readline/search.c: In function 'rl_history_search_internal':
../../.././lib/readline/search.c:524:9: warning: unused variable 't' [-Wunused-variable]
524 | char *t;
| ^
rm -f rltty.o
gcc -c -DHAVE_CONFIG_H -DSHELL -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/sonic/src/bash/bash-5.1/build-bash -I../../../. -I../../.././lib -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall ../../.././lib/readline/rltty.c
rm -f complete.o
gcc -c -DHAVE_CONFIG_H -DSHELL -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/sonic/src/bash/bash-5.1/build-bash -I../../../. -I../../.././lib -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall ../../.././lib/readline/complete.c
../../.././lib/readline/complete.c: In function '_rl_find_completion_word':
../../.././lib/readline/complete.c:1149:14: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
1149 | while (rl_point = MB_PREVCHAR (rl_line_buffer, rl_point, MB_FIND_ANY))
| ^~~~~~~~
../../.././lib/readline/complete.c: In function 'compute_lcd_of_matches':
../../.././lib/readline/complete.c:1321:7: warning: unused variable 'v' [-Wunused-variable]
1321 | int v;
| ^
../../.././lib/readline/complete.c: In function 'rl_completion_matches':
../../.././lib/readline/complete.c:2217:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
2217 | while (string = (*entry_function) (text, matches))
| ^~~~~~
../../.././lib/readline/complete.c: In function 'rl_username_completion_function':
../../.././lib/readline/complete.c:2289:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
2289 | while (entry = getpwent ())
| ^~~~~
../../.././lib/readline/complete.c: In function 'rl_menu_complete':
../../.././lib/readline/complete.c:2826:25: warning: unused variable 'cstate' [-Wunused-variable]
2826 | static int delimiter, cstate;
| ^~~~~~
At top level:
../../.././lib/readline/complete.c:2826:25: warning: 'cstate' defined but not used [-Wunused-variable]
../../.././lib/readline/complete.c: In function 'print_filename':
../../.././lib/readline/complete.c:1042:15: warning: 'printed_len' may be used uninitialized in this function [-Wmaybe-uninitialized]
1042 | printed_len++;
| ~~~~~~~~~~~^~
../../.././lib/readline/complete.c: In function 'rl_complete_internal':
../../.././lib/readline/complete.c:2086:7: warning: 'tlen' may be used uninitialized in this function [-Wmaybe-uninitialized]
2086 | if (mlen >= tlen)
| ^
rm -f bind.o
gcc -c -DHAVE_CONFIG_H -DSHELL -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/sonic/src/bash/bash-5.1/build-bash -I../../../. -I../../.././lib -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall ../../.././lib/readline/bind.c
../../.././lib/readline/bind.c: In function '_rl_skip_to_delim':
../../.././lib/readline/bind.c:1495:29: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
1495 | for (i = start,passc = 0; c = string[i]; i++)
| ^
../../.././lib/readline/bind.c: In function 'rl_parse_and_bind':
../../.././lib/readline/bind.c:1589:11: warning: unused variable 's' [-Wunused-variable]
1589 | int s;
| ^
../../.././lib/readline/bind.c: In function 'rl_function_dumper':
../../.././lib/readline/bind.c:2693:15: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
2693 | for (i = 0; name = names[i]; i++)
| ^~~~
rm -f isearch.o
gcc -c -DHAVE_CONFIG_H -DSHELL -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/sonic/src/bash/bash-5.1/build-bash -I../../../. -I../../.././lib -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall ../../.././lib/readline/isearch.c
../../.././lib/readline/isearch.c: In function '_rl_isearch_dispatch':
../../.././lib/readline/isearch.c:341:37: warning: unused variable 'incr' [-Wunused-variable]
341 | int n, wstart, wlen, limit, cval, incr;
| ^~~~
../../.././lib/readline/isearch.c: In function 'rl_search_history':
../../.././lib/readline/isearch.c:845:7: warning: variable 'c' set but not used [-Wunused-but-set-variable]
845 | int c, r;
| ^
../../.././lib/readline/isearch.c: In function '_rl_isearch_callback':
../../.././lib/readline/isearch.c:882:7: warning: variable 'c' set but not used [-Wunused-but-set-variable]
882 | int c, r;
| ^
rm -f display.o
gcc -c -DHAVE_CONFIG_H -DSHELL -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/sonic/src/bash/bash-5.1/build-bash -I../../../. -I../../.././lib -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall ../../.././lib/readline/display.c
../../.././lib/readline/display.c: In function 'rl_redisplay':
../../.././lib/readline/display.c:746:38: warning: variable 'prompt_lines_estimate' set but not used [-Wunused-but-set-variable]
746 | int newlines, lpos, temp, n0, num, prompt_lines_estimate;
| ^~~~~~~~~~~~~~~~~~~~~
../../.././lib/readline/display.c:746:33: warning: variable 'num' set but not used [-Wunused-but-set-variable]
746 | int newlines, lpos, temp, n0, num, prompt_lines_estimate;
| ^~~
../../.././lib/readline/display.c:746:29: warning: unused variable 'n0' [-Wunused-variable]
746 | int newlines, lpos, temp, n0, num, prompt_lines_estimate;
| ^~
../../.././lib/readline/display.c: In function 'update_line':
../../.././lib/readline/display.c:1766:14: warning: unused variable 'optr' [-Wunused-variable]
1766 | char *optr;
| ^~~~
../../.././lib/readline/display.c:1765:12: warning: unused variable 'count' [-Wunused-variable]
1765 | int count, i, j;
| ^~~~~
../../.././lib/readline/display.c:1634:39: warning: unused variable 'twidth' [-Wunused-variable]
1634 | int temp, lendiff, wsatend, od, nd, twidth, o_cpos;
| ^~~~~~
At top level:
../../.././lib/readline/display.c:3202:1: warning: 'insert_some_chars' defined but not used [-Wunused-function]
3202 | insert_some_chars (char *string, int count, int col)
| ^~~~~~~~~~~~~~~~~
../../.././lib/readline/display.c: In function 'rl_redisplay':
../../.././lib/readline/display.c:1141:8: warning: 'wc_width' may be used uninitialized in this function [-Wmaybe-uninitialized]
1141 | for (i = 0; i < wc_width; i++)
| ^~~
rm -f signals.o
gcc -c -DHAVE_CONFIG_H -DSHELL -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/sonic/src/bash/bash-5.1/build-bash -I../../../. -I../../.././lib -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall ../../.././lib/readline/signals.c
../../.././lib/readline/signals.c: In function 'rl_set_signals':
../../.././lib/readline/signals.c:439:25: warning: unused variable 'oset' [-Wunused-variable]
439 | static sigset_t bset, oset;
| ^~~~
At top level:
../../.././lib/readline/signals.c:439:25: warning: 'oset' defined but not used [-Wunused-variable]
../../.././lib/readline/signals.c:650:29: warning: 'sigint_oset' defined but not used [-Wunused-variable]
650 | static sigset_t sigint_set, sigint_oset;
| ^~~~~~~~~~~
../../.././lib/readline/signals.c:650:17: warning: 'sigint_set' defined but not used [-Wunused-variable]
650 | static sigset_t sigint_set, sigint_oset;
| ^~~~~~~~~~
rm -f util.o
gcc -c -DHAVE_CONFIG_H -DSHELL -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/sonic/src/bash/bash-5.1/build-bash -I../../../. -I../../.././lib -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall ../../.././lib/readline/util.c
rm -f kill.o
gcc -c -DHAVE_CONFIG_H -DSHELL -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/sonic/src/bash/bash-5.1/build-bash -I../../../. -I../../.././lib -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall ../../.././lib/readline/kill.c
../../.././lib/readline/kill.c: In function 'rl_bracketed_paste_begin':
../../.././lib/readline/kill.c:726:15: warning: unused variable 'cap' [-Wunused-variable]
726 | size_t len, cap;
| ^~~
../../.././lib/readline/kill.c:725:15: warning: unused variable 'c' [-Wunused-variable]
725 | int retval, c;
| ^
../../.././lib/readline/kill.c: In function '_rl_read_bracketed_paste_prefix':
../../.././lib/readline/kill.c:743:17: warning: unused variable 'j' [-Wunused-variable]
743 | int key, ind, j;
| ^
../../.././lib/readline/kill.c: In function '_rl_bracketed_read_mbstring':
../../.././lib/readline/kill.c:815:10: warning: unused variable 'r' [-Wunused-variable]
815 | int c, r;
| ^
../../.././lib/readline/kill.c: In function '_rl_read_bracketed_paste_prefix':
../../.././lib/readline/kill.c:766:29: warning: 'key' may be used uninitialized in this function [-Wmaybe-uninitialized]
766 | return (key < 0 ? key : 0);
| ~~~~~~~~~~~~~~~^~~~
rm -f undo.o
gcc -c -DHAVE_CONFIG_H -DSHELL -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/sonic/src/bash/bash-5.1/build-bash -I../../../. -I../../.././lib -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall ../../.././lib/readline/undo.c
../../.././lib/readline/undo.c: In function 'rl_free_undo_list':
../../.././lib/readline/undo.c:121:14: warning: unused variable 'release' [-Wunused-variable]
121 | UNDO_LIST *release, *orig_list;
| ^~~~~~~
rm -f macro.o
gcc -c -DHAVE_CONFIG_H -DSHELL -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/sonic/src/bash/bash-5.1/build-bash -I../../../. -I../../.././lib -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall ../../.././lib/readline/macro.c
rm -f input.o
gcc -c -DHAVE_CONFIG_H -DSHELL -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/sonic/src/bash/bash-5.1/build-bash -I../../../. -I../../.././lib -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall ../../.././lib/readline/input.c
../../.././lib/readline/input.c: In function 'rl_read_key':
../../.././lib/readline/input.c:486:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
486 | if (c = _rl_next_macro_key ())
| ^
../../.././lib/readline/input.c: In function 'rl_getc':
../../.././lib/readline/input.c:595:1: warning: label 'handle_error' defined but not used [-Wunused-label]
595 | handle_error:
| ^~~~~~~~~~~~
../../.././lib/readline/input.c:529:12: warning: unused variable 'empty_set' [-Wunused-variable]
529 | sigset_t empty_set;
| ^~~~~~~~~
rm -f callback.o
gcc -c -DHAVE_CONFIG_H -DSHELL -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/sonic/src/bash/bash-5.1/build-bash -I../../../. -I../../.././lib -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall ../../.././lib/readline/callback.c
rm -f terminal.o
gcc -c -DHAVE_CONFIG_H -DSHELL -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/sonic/src/bash/bash-5.1/build-bash -I../../../. -I../../.././lib -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall ../../.././lib/readline/terminal.c
rm -f text.o
gcc -c -DHAVE_CONFIG_H -DSHELL -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/sonic/src/bash/bash-5.1/build-bash -I../../../. -I../../.././lib -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall ../../.././lib/readline/text.c
../../.././lib/readline/text.c: In function '_rl_overwrite_char':
../../.././lib/readline/text.c:919:7: warning: variable 'k' set but not used [-Wunused-but-set-variable]
919 | int k;
| ^
In file included from /usr/include/string.h:495,
from ../../.././lib/readline/rldefs.h:61,
from ../../.././lib/readline/text.c:45:
In function 'strncpy',
inlined from 'rl_insert_text' at ../../.././lib/readline/text.c:99:3:
/usr/include/x86_64-linux-gnu/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../.././lib/readline/text.c: In function 'rl_insert_text':
../../.././lib/readline/text.c:90:29: note: length computed here
90 | l = (string && *string) ? strlen (string) : 0;
| ^~~~~~~~~~~~~~~
rm -f nls.o
gcc -c -DHAVE_CONFIG_H -DSHELL -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/sonic/src/bash/bash-5.1/build-bash -I../../../. -I../../.././lib -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall ../../.././lib/readline/nls.c
../../.././lib/readline/nls.c: In function 'utf8locale':
../../.././lib/readline/nls.c:106:10: warning: unused variable 'len' [-Wunused-variable]
106 | size_t len;
| ^~~
../../.././lib/readline/nls.c: In function '_rl_init_eightbit':
../../.././lib/readline/nls.c:154:9: warning: unused variable 'lspec' [-Wunused-variable]
154 | char *lspec, *t;
| ^~~~~
At top level:
../../.././lib/readline/nls.c:244:1: warning: 'find_codeset' defined but not used [-Wunused-function]
244 | find_codeset (char *name, size_t *lenp)
| ^~~~~~~~~~~~
rm -f misc.o
gcc -c -DHAVE_CONFIG_H -DSHELL -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/sonic/src/bash/bash-5.1/build-bash -I../../../. -I../../.././lib -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall ../../.././lib/readline/misc.c
../../.././lib/readline/misc.c: In function '_rl_revert_previous_lines':
../../.././lib/readline/misc.c:450:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
450 | if (ul = (UNDO_LIST *)entry->data)
| ^~
../../.././lib/readline/misc.c: In function 'rl_clear_history':
../../.././lib/readline/misc.c:510:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
510 | if (ul = (UNDO_LIST *)hent->data)
| ^~
rm -f history.o
gcc -c -DHAVE_CONFIG_H -DSHELL -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/sonic/src/bash/bash-5.1/build-bash -I../../../. -I../../.././lib -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall ../../.././lib/readline/history.c
../../.././lib/readline/history.c: In function 'add_history':
../../.././lib/readline/history.c:279:20: warning: unused variable 'i' [-Wunused-variable]
279 | register int i;
| ^
../../.././lib/readline/history.c: In function 'remove_history':
../../.././lib/readline/history.c:482:16: warning: unused variable 'i' [-Wunused-variable]
482 | register int i;
| ^
rm -f histexpand.o
gcc -c -DHAVE_CONFIG_H -DSHELL -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/sonic/src/bash/bash-5.1/build-bash -I../../../. -I../../.././lib -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall ../../.././lib/readline/histexpand.c
../../.././lib/readline/histexpand.c: In function 'get_history_event':
../../.././lib/readline/histexpand.c:213:25: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
213 | for (local_index = i; c = string[i]; i++)
| ^
../../.././lib/readline/histexpand.c: In function 'history_expand_internal':
../../.././lib/readline/histexpand.c:682:41: warning: variable 'ws' set but not used [-Wunused-but-set-variable]
682 | int delimiter, failed, si, l_temp, ws, we;
| ^~
rm -f histfile.o
gcc -c -DHAVE_CONFIG_H -DSHELL -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/sonic/src/bash/bash-5.1/build-bash -I../../../. -I../../.././lib -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall ../../.././lib/readline/histfile.c
../../.././lib/readline/histfile.c: In function 'history_backupfile':
../../.././lib/readline/histfile.c:195:15: warning: unused variable 'fs' [-Wunused-variable]
195 | struct stat fs;
| ^~
../../.././lib/readline/histfile.c: In function 'history_tempfile':
../../.././lib/readline/histfile.c:223:15: warning: unused variable 'fs' [-Wunused-variable]
223 | struct stat fs;
| ^~
../../.././lib/readline/histfile.c: In function 'history_truncate_file':
../../.././lib/readline/histfile.c:523:49: warning: variable 'r' set but not used [-Wunused-but-set-variable]
523 | int file, chars_read, rv, orig_lines, exists, r;
| ^
../../.././lib/readline/histfile.c: In function 'history_do_write':
../../.././lib/readline/histfile.c:685:22: warning: unused variable 'nfinfo' [-Wunused-variable]
685 | struct stat finfo, nfinfo;
| ^~~~~~
At top level:
../../.././lib/readline/histfile.c:475:1: warning: 'histfile_backup' defined but not used [-Wunused-function]
475 | histfile_backup (const char *filename, const char *back)
| ^~~~~~~~~~~~~~~
../../.././lib/readline/histfile.c:189:1: warning: 'history_backupfile' defined but not used [-Wunused-function]
189 | history_backupfile (const char *filename)
| ^~~~~~~~~~~~~~~~~~
../../.././lib/readline/histfile.c: In function 'history_truncate_file':
../../.././lib/readline/histfile.c:648:46: warning: 'orig_lines' may be used uninitialized in this function [-Wmaybe-uninitialized]
648 | history_lines_written_to_file = orig_lines - lines;
| ~~~~~~~~~~~^~~~~~~
rm -f histsearch.o
gcc -c -DHAVE_CONFIG_H -DSHELL -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/sonic/src/bash/bash-5.1/build-bash -I../../../. -I../../.././lib -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall ../../.././lib/readline/histsearch.c
../../.././lib/readline/histsearch.c: In function '_hs_history_patsearch':
../../.././lib/readline/histsearch.c:212:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
212 | if (unescaped_backslash = (string[ret] == '\\'))
| ^~~~~~~~~~~~~~~~~~~
rm -f shell.o
gcc -c -DHAVE_CONFIG_H -DSHELL -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/sonic/src/bash/bash-5.1/build-bash -I../../../. -I../../.././lib -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall ../../.././lib/readline/shell.c
../../.././lib/readline/shell.c:126:13: warning: 'putenv_buf2' defined but not used [-Wunused-variable]
126 | static char putenv_buf2[INT_STRLEN_BOUND (int) + 8 + 1]; /* sizeof("COLUMNS=") == 8 */
| ^~~~~~~~~~~
../../.././lib/readline/shell.c:125:13: warning: 'putenv_buf1' defined but not used [-Wunused-variable]
125 | static char putenv_buf1[INT_STRLEN_BOUND (int) + 6 + 1]; /* sizeof("LINES=") == 6 */
| ^~~~~~~~~~~
rm -f savestring.o
gcc -c -DHAVE_CONFIG_H -DSHELL -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/sonic/src/bash/bash-5.1/build-bash -I../../../. -I../../.././lib -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall ../../.././lib/readline/savestring.c
rm -f mbutil.o
gcc -c -DHAVE_CONFIG_H -DSHELL -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/sonic/src/bash/bash-5.1/build-bash -I../../../. -I../../.././lib -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall ../../.././lib/readline/mbutil.c
../../.././lib/readline/mbutil.c: In function '_rl_find_prev_utf8char':
../../.././lib/readline/mbutil.c:247:9: warning: unused variable 's' [-Wunused-variable]
247 | char *s;
| ^
At top level:
../../.././lib/readline/mbutil.c:87:1: warning: '_rl_utf8_mblen' defined but not used [-Wunused-function]
87 | _rl_utf8_mblen (const char *s, size_t n)
| ^~~~~~~~~~~~~~
rm -f tilde.o
gcc -DHAVE_CONFIG_H -DSHELL -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/sonic/src/bash/bash-5.1/build-bash -I../../../. -I../../.././lib -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -DREADLINE_LIBRARY -c ../../.././lib/readline/tilde.c
../../.././lib/readline/tilde.c: In function 'tilde_expand':
../../.././lib/readline/tilde.c:195:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
195 | if (result = strchr (string, '~'))
| ^~~~~~
rm -f colors.o
gcc -c -DHAVE_CONFIG_H -DSHELL -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/sonic/src/bash/bash-5.1/build-bash -I../../../. -I../../.././lib -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall ../../.././lib/readline/colors.c
rm -f parse-colors.o
gcc -c -DHAVE_CONFIG_H -DSHELL -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/sonic/src/bash/bash-5.1/build-bash -I../../../. -I../../.././lib -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall ../../.././lib/readline/parse-colors.c
rm -f xmalloc.o
gcc -c -DHAVE_CONFIG_H -DSHELL -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/sonic/src/bash/bash-5.1/build-bash -I../../../. -I../../.././lib -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall ../../.././lib/readline/xmalloc.c
rm -f xfree.o
gcc -c -DHAVE_CONFIG_H -DSHELL -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/sonic/src/bash/bash-5.1/build-bash -I../../../. -I../../.././lib -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall ../../.././lib/readline/xfree.c
rm -f compat.o
gcc -c -DHAVE_CONFIG_H -DSHELL -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/sonic/src/bash/bash-5.1/build-bash -I../../../. -I../../.././lib -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall ../../.././lib/readline/compat.c
rm -f libreadline.a
ar cr libreadline.a readline.o vi_mode.o funmap.o keymaps.o parens.o search.o rltty.o complete.o bind.o isearch.o display.o signals.o util.o kill.o undo.o macro.o input.o callback.o terminal.o text.o nls.o misc.o history.o histexpand.o histfile.o histsearch.o shell.o savestring.o mbutil.o tilde.o colors.o parse-colors.o xmalloc.o xfree.o compat.o
test -n "ranlib" && ranlib libreadline.a
make[5]: Leaving directory '/sonic/src/bash/bash-5.1/build-bash/lib/readline'
making lib/readline/libhistory.a in ./lib/readline
make[5]: Entering directory '/sonic/src/bash/bash-5.1/build-bash/lib/readline'
rm -f libhistory.a
ar cr libhistory.a history.o histexpand.o histfile.o histsearch.o shell.o savestring.o mbutil.o xmalloc.o xfree.o
test -n "ranlib" && ranlib libhistory.a
make[5]: Leaving directory '/sonic/src/bash/bash-5.1/build-bash/lib/readline'
making lib/tilde/libtilde.a in ./lib/tilde
make[5]: Entering directory '/sonic/src/bash/bash-5.1/build-bash/lib/tilde'
gcc -c -DHAVE_CONFIG_H -DSHELL -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I../.. -I../../../. -I../../.././include -I../../.././lib -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall ../../.././lib/tilde/tilde.c
../../.././lib/tilde/tilde.c: In function 'tilde_expand':
../../.././lib/tilde/tilde.c:195:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
195 | if (result = strchr (string, '~'))
| ^~~~~~
rm -f libtilde.a
ar cr libtilde.a tilde.o
test -n "ranlib" && ranlib libtilde.a
make[5]: Leaving directory '/sonic/src/bash/bash-5.1/build-bash/lib/tilde'
rm -f bash
gcc -L./builtins -L./lib/readline -L./lib/readline -L./lib/glob -L./lib/tilde -L./lib/sh -Wl,-z,relro -rdynamic -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -o bash shell.o eval.o y.tab.o general.o make_cmd.o print_cmd.o dispose_cmd.o execute_cmd.o variables.o copy_cmd.o error.o expr.o flags.o jobs.o subst.o hashcmd.o hashlib.o mailcheck.o trap.o input.o unwind_prot.o pathexp.o sig.o test.o version.o alias.o array.o arrayfunc.o assoc.o braces.o bracecomp.o bashhist.o bashline.o list.o stringlib.o locale.o findcmd.o redir.o pcomplete.o pcomplib.o syntax.o xmalloc.o plugin.o -lbuiltins -lglob -lsh -lreadline -lhistory -ltinfo -ltilde -ldl -ldl
/usr/bin/ld: ./lib/sh/libsh.a(tmpfile.o): in function `sh_mktmpname':
./build-bash/lib/sh/../../.././lib/sh/tmpfile.c:160: warning: the use of `mktemp' is dangerous, better use `mkstemp' or `mkdtemp'
ls -l bash
-rwxr-xr-x 1 jenkins gjenkins 5420272 Sep 24 05:12 bash
size bash
text data bss dec hex filename
1183342 47756 45112 1276210 137932 bash
make[5]: Entering directory '/sonic/src/bash/bash-5.1/build-bash/support'
rm -f man2html.o
gcc -c -DHAVE_CONFIG_H -DSHELL -I/sonic/src/bash/bash-5.1/build-bash -I../../. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall ../.././support/man2html.c
../.././support/man2html.c: In function 'read_man_page':
../.././support/man2html.c:508:10: warning: unused variable 'i' [-Wunused-variable]
508 | int i;
| ^
../.././support/man2html.c: In function 'scan_table':
../.././support/man2html.c:1444:37: warning: unused variable 'ftable' [-Wunused-variable]
1444 | TABLEROW *layout = NULL, *currow, *ftable;
| ^~~~~~
../.././support/man2html.c:1439:10: warning: unused variable 't' [-Wunused-variable]
1439 | char *t, *h, *g;
| ^
../.././support/man2html.c: In function 'scan_expression':
../.././support/man2html.c:1774:29: warning: unused variable 'j' [-Wunused-variable]
1774 | int value = 0, value2, j = 0, sign = 1, opex = 0;
| ^
../.././support/man2html.c: In function 'skip_till_newline':
../.././support/man2html.c:2151:12: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
2151 | while (*c && *c != '\n' || lvl > 0) {
| ~~~^~~~~~~~~~~~~
../.././support/man2html.c: In function 'scan_request':
../.././support/man2html.c:2243:13: warning: unused variable 'oldcurpos' [-Wunused-variable]
2243 | int oldcurpos = curpos;
| ^~~~~~~~~
../.././support/man2html.c:2540:13: warning: unused variable 'f' [-Wunused-variable]
2540 | FILE *f;
| ^
../.././support/man2html.c:3693:17: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
3693 | for (i = 0; owndef->st[deflen + 2 + i] = owndef->st[i]; i++);
| ^~~~~~
../.././support/man2html.c: In function 'scan_troff':
../.././support/man2html.c:3822:12: warning: unused variable 'mx' [-Wunused-variable]
3822 | int mx;
| ^~
../.././support/man2html.c:3763:10: warning: unused variable 'i' [-Wunused-variable]
3763 | int i;
| ^
../.././support/man2html.c: In function 'main':
../.././support/man2html.c:3996:14: warning: unused variable 'fullname' [-Wunused-variable]
3996 | char *h, *fullname;
| ^~~~~~~~
../.././support/man2html.c:3994:10: warning: unused variable 'l' [-Wunused-variable]
3994 | int l, i;
| ^
../.././support/man2html.c:3992:10: warning: unused variable 'f' [-Wunused-variable]
3992 | FILE *f;
| ^
At top level:
../.././support/man2html.c:3748:1: warning: 'flush' defined but not used [-Wunused-function]
3748 | flush(void)
| ^~~~~
../.././support/man2html.c:937:12: warning: 'asint' defined but not used [-Wunused-variable]
937 | static int asint = 0;
| ^~~~~
../.././support/man2html.c:428:31: warning: 'eqndelimclose' defined but not used [-Wunused-variable]
428 | static char eqndelimopen = 0, eqndelimclose = 0;
| ^~~~~~~~~~~~~
../.././support/man2html.c:428:13: warning: 'eqndelimopen' defined but not used [-Wunused-variable]
428 | static char eqndelimopen = 0, eqndelimclose = 0;
| ^~~~~~~~~~~~
../.././support/man2html.c:299:14: warning: 'idxfile' defined but not used [-Wunused-variable]
299 | static FILE *idxfile;
| ^~~~~~~
../.././support/man2html.c:298:14: warning: 'fname' defined but not used [-Wunused-variable]
298 | static char *fname;
| ^~~~~
../.././support/man2html.c:240:1: warning: 'escape_input' defined but not used [-Wunused-function]
240 | escape_input(char *str)
| ^~~~~~~~~~~~
../.././support/man2html.c:210:1: warning: 'strmaxcat' defined but not used [-Wunused-function]
210 | strmaxcat(char *to, char *from, int n)
| ^~~~~~~~~
../.././support/man2html.c:190:1: warning: 'strduplicate' defined but not used [-Wunused-function]
190 | strduplicate(char *from)
| ^~~~~~~~~~~~
../.././support/man2html.c:148:1: warning: 'strgrow' defined but not used [-Wunused-function]
148 | strgrow(char *old, int len)
| ^~~~~~~
../.././support/man2html.c:104:13: warning: 'location_base' defined but not used [-Wunused-variable]
104 | static char location_base[NULL_TERMINATED(MED_STR_MAX)] = "";
| ^~~~~~~~~~~~~
gcc -DHAVE_CONFIG_H -DSHELL -I/sonic/src/bash/bash-5.1/build-bash -I../../. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall man2html.o -o man2html -ldl
make[5]: Leaving directory '/sonic/src/bash/bash-5.1/build-bash/support'
make[4]: Leaving directory '/sonic/src/bash/bash-5.1/build-bash'
/usr/bin/make -C build-bash/doc \
bash.info
make[4]: Entering directory '/sonic/src/bash/bash-5.1/build-bash/doc'
makeinfo --no-split -I../.././lib/readline/doc ../.././doc/bashref.texi
/bin/sh ../.././doc/infopost.sh < ../.././doc/bashref.info > bash.info ; \
make[4]: Leaving directory '/sonic/src/bash/bash-5.1/build-bash/doc'
touch stamps/stamp-build-bash
make[3]: Leaving directory '/sonic/src/bash/bash-5.1'
/usr/bin/make -f debian/rules do-build-static \
bash_src=. \
build=static \
configure_args="--enable-largefile --prefix=/usr --infodir=/usr/share/info --mandir=/usr/share/man --without-bash-malloc --build x86_64-linux-gnu --enable-static-link "
make[3]: Entering directory '/sonic/src/bash/bash-5.1'
dh_testdir
rm -rf build-static
mkdir build-static
cd build-static && \
CC="gcc" \
CFLAGS="-g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall" CPPFLAGS="-Wdate-time -D_FORTIFY_SOURCE=2" LDFLAGS="-Wl,-z,relro" \
YACC="bison -y" \
.././configure --enable-largefile --prefix=/usr --infodir=/usr/share/info --mandir=/usr/share/man --without-bash-malloc --build x86_64-linux-gnu --enable-static-link
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
Beginning configuration for bash-5.1-release for x86_64-pc-linux-gnu
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for library containing strerror... none required
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... yes
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking whether gcc needs -traditional... no
checking for a BSD-compatible install... /usr/bin/install -c
checking for ar... ar
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 with more range or precision than double... yes
checking for function prototypes... yes
checking whether char is unsigned... no
checking for working volatile... yes
checking for C/C++ restrict keyword... __restrict
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for a sed that does not truncate output... /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 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 stdlib.h... (cached) yes
checking for unistd.h... (cached) yes
checking for sys/param.h... yes
checking for xlocale.h... no
checking for sys/time.h... yes
checking for getpagesize... 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... lib,lib
checking whether imported symbols can be declared weak... yes
checking pthread.h usability... yes
checking pthread.h presence... yes
checking for pthread.h... 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 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 argz.h usability... yes
checking argz.h presence... yes
checking for argz.h... yes
checking for inttypes.h... (cached) yes
checking limits.h usability... yes
checking limits.h presence... 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.7.5, 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 symlink... yes
checking for uselocale... yes
checking for alarm... yes
checking for fpurge... no
checking for __fpurge... yes
checking for snprintf... yes
checking for vsnprintf... 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 ar... (cached) ar
checking for ptrdiff_t... yes
checking features.h usability... yes
checking features.h presence... yes
checking for features.h... yes
checking stddef.h usability... yes
checking stddef.h presence... 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 whether time.h and sys/time.h may both be included... yes
checking whether sys/types.h defines makedev... no
checking sys/mkdev.h usability... no
checking sys/mkdev.h presence... no
checking for sys/mkdev.h... no
checking sys/sysmacros.h usability... yes
checking sys/sysmacros.h presence... yes
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 stdarg.h usability... yes
checking stdarg.h presence... yes
checking for stdarg.h... yes
checking varargs.h usability... no
checking varargs.h presence... no
checking for varargs.h... no
checking for limits.h... (cached) yes
checking for string.h... (cached) yes
checking for memory.h... (cached) yes
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking termcap.h usability... yes
checking termcap.h presence... yes
checking for termcap.h... yes
checking termio.h usability... yes
checking termio.h presence... yes
checking for termio.h... yes
checking termios.h usability... yes
checking termios.h presence... yes
checking for termios.h... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking stdbool.h usability... yes
checking stdbool.h presence... yes
checking for stdbool.h... yes
checking for stddef.h... (cached) yes
checking for stdint.h... (cached) yes
checking netdb.h usability... yes
checking netdb.h presence... yes
checking for netdb.h... yes
checking pwd.h usability... yes
checking pwd.h presence... yes
checking for pwd.h... yes
checking grp.h usability... yes
checking grp.h presence... yes
checking for grp.h... yes
checking for strings.h... (cached) yes
checking regex.h usability... yes
checking regex.h presence... yes
checking for regex.h... yes
checking syslog.h usability... yes
checking syslog.h presence... yes
checking for syslog.h... yes
checking ulimit.h usability... yes
checking ulimit.h presence... yes
checking for ulimit.h... yes
checking sys/pte.h usability... no
checking sys/pte.h presence... no
checking for sys/pte.h... no
checking sys/stream.h usability... no
checking sys/stream.h presence... no
checking for sys/stream.h... no
checking sys/select.h usability... yes
checking sys/select.h presence... yes
checking for sys/select.h... yes
checking sys/file.h usability... yes
checking sys/file.h presence... yes
checking for sys/file.h... yes
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
checking sys/mman.h usability... yes
checking sys/mman.h presence... yes
checking for sys/mman.h... yes
checking for sys/param.h... (cached) yes
checking sys/random.h usability... yes
checking sys/random.h presence... yes
checking for sys/random.h... yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking for sys/stat.h... (cached) yes
checking for sys/time.h... (cached) yes
checking sys/times.h usability... yes
checking sys/times.h presence... yes
checking for sys/times.h... yes
checking for sys/types.h... (cached) yes
checking sys/wait.h usability... yes
checking sys/wait.h presence... yes
checking for sys/wait.h... yes
checking netinet/in.h usability... yes
checking netinet/in.h presence... yes
checking for netinet/in.h... yes
checking arpa/inet.h usability... yes
checking arpa/inet.h presence... 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 in sys/types.h... yes
checking for unistd.h... (cached) yes
checking for working chown... yes
checking whether getpgrp requires zero arguments... yes
checking for vprintf... yes
checking for _doprnt... no
checking for working strcoll... yes
checking return type of signal handlers... void
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... no
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 strtoimax... yes
checking for strtoumax... yes
checking for dprintf... yes
checking for strchrnul... yes
checking for strdup... (cached) yes
checking libaudit.h usability... yes
checking libaudit.h presence... 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 for declaration of strtoimax... yes
checking for declaration of strtol... yes
checking for declaration of strtoll... yes
checking for declaration of strtoul... yes
checking for declaration of strtoull... yes
checking for declaration of strtoumax... yes
checking for working mktime... yes
checking for argz.h... (cached) yes
checking errno.h usability... yes
checking errno.h presence... yes
checking for errno.h... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking malloc.h usability... yes
checking malloc.h presence... yes
checking for malloc.h... yes
checking stdio_ext.h usability... yes
checking stdio_ext.h presence... yes
checking for stdio_ext.h... yes
checking for getpagesize... (cached) 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 wctype.h usability... yes
checking wctype.h presence... yes
checking for wctype.h... yes
checking wchar.h usability... yes
checking wchar.h presence... yes
checking for wchar.h... yes
checking langinfo.h usability... yes
checking langinfo.h presence... yes
checking for langinfo.h... yes
checking mbstr.h usability... no
checking mbstr.h presence... no
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 nl_langinfo and CODESET... yes
checking for wchar_t in wchar.h... yes
checking for wctype_t in wctype.h... yes
checking for wint_t in wctype.h... yes
checking for wcwidth broken with unicode combining characters... yes
checking for locale_charset... no
checking size of wchar_t... 4
checking whether sys_siglist is declared... 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... long long
checking for unsigned long long... unsigned long long
checking return type of signal handlers... (cached) void
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 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 whether the ctype macros accept non-ascii characters... no
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 for sys_siglist in system C library... yes
checking for _sys_siglist in signal.h or unistd.h... yes
checking for _sys_siglist in system C library... yes
checking whether signal handlers are of type void... yes
checking for clock_t... yes
checking for sigset_t... yes
checking for sig_atomic_t... yes
checking for quad_t... yes
checking for intmax_t... yes
checking for uintmax_t... yes
checking for socklen_t... yes
checking for size and type of struct rlimit fields... rlim_t
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... yes
checking for struct dirent.d_fileno... yes
checking for struct dirent.d_namlen... 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 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... no
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
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/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 default commands
if ! grep -q '#define HAVE_DEV_STDIN 1' build-static/config.h; then \
echo "HAVE_DEV_STDIN not defined, abortig build"; \
exit 1; \
fi
touch stamps/stamp-configure-static
dh_testdir
/usr/bin/make -C build-static \
YACC="bison -y" \
TERMCAP_LIB=" -ltinfo" \
deb_builddir=build-static/ \
make[4]: Entering directory '/sonic/src/bash/bash-5.1/build-static'
rm -f mksyntax
gcc -DPROGRAM='"bash"' -DCONF_HOSTTYPE='"x86_64"' -DCONF_OSTYPE='"linux-gnu"' -DCONF_MACHTYPE='"x86_64-pc-linux-gnu"' -DCONF_VENDOR='"pc"' -DLOCALEDIR='"/usr/share/locale"' -DPACKAGE='"bash"' -DSHELL -DHAVE_CONFIG_H -I. -I../. -I.././include -I.././lib -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wl,-z,relro -rdynamic -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -static -rdynamic -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -o mksyntax .././mksyntax.c
rm -f syntax.c
./mksyntax -o syntax.c
/bin/sh .././support/mkversion.sh -b -S ../. -s release -d 5.1 -o newversion.h \
&& mv newversion.h version.h
gcc -DPROGRAM='"bash"' -DCONF_HOSTTYPE='"x86_64"' -DCONF_OSTYPE='"linux-gnu"' -DCONF_MACHTYPE='"x86_64-pc-linux-gnu"' -DCONF_VENDOR='"pc"' -DLOCALEDIR='"/usr/share/locale"' -DPACKAGE='"bash"' -DSHELL -DHAVE_CONFIG_H -I. -I../. -I.././include -I.././lib -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -DBUILDTOOL -c -o buildversion.o .././version.c
gcc -DPROGRAM='"bash"' -DCONF_HOSTTYPE='"x86_64"' -DCONF_OSTYPE='"linux-gnu"' -DCONF_MACHTYPE='"x86_64-pc-linux-gnu"' -DCONF_VENDOR='"pc"' -DLOCALEDIR='"/usr/share/locale"' -DPACKAGE='"bash"' -DSHELL -DHAVE_CONFIG_H -I. -I../. -I.././include -I.././lib -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wl,-z,relro -rdynamic -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -static -rdynamic -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -o bashversion .././support/bashversion.c buildversion.o
.././support/bashversion.c: In function 'main':
.././support/bashversion.c:70:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
70 | if (progname = strrchr (argv[0], '/'))
| ^~~~~~~~
***********************************************************
* *
* GNU bash, version 5.1.4(1)-release (x86_64-pc-linux-gnu)
* *
***********************************************************
rm -f shell.o
gcc -DPROGRAM='"bash"' -DCONF_HOSTTYPE='"x86_64"' -DCONF_OSTYPE='"linux-gnu"' -DCONF_MACHTYPE='"x86_64-pc-linux-gnu"' -DCONF_VENDOR='"pc"' -DLOCALEDIR='"/usr/share/locale"' -DPACKAGE='"bash"' -DSHELL -DHAVE_CONFIG_H -I. -I../. -I.././include -I.././lib -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -c .././shell.c
.././shell.c: In function 'parse_shell_options':
.././shell.c:908:14: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
908 | while (arg_character = arg_string[i++])
| ^~~~~~~~~~~~~
.././shell.c: In function 'disable_priv_mode':
.././shell.c:1322:7: warning: variable 'e' set but not used [-Wunused-but-set-variable]
1322 | int e;
| ^
rm -f eval.o
gcc -DPROGRAM='"bash"' -DCONF_HOSTTYPE='"x86_64"' -DCONF_OSTYPE='"linux-gnu"' -DCONF_MACHTYPE='"x86_64-pc-linux-gnu"' -DCONF_VENDOR='"pc"' -DLOCALEDIR='"/usr/share/locale"' -DPACKAGE='"bash"' -DSHELL -DHAVE_CONFIG_H -I. -I../. -I.././include -I.././lib -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -c .././eval.c
.././eval.c: In function 'reader_loop':
.././eval.c:146:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
146 | else if (current_command = global_command)
| ^~~~~~~~~~~~~~~
.././eval.c: In function 'alrm_catcher':
.././eval.c:243:3: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result]
243 | write (1, msg, strlen (msg));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
make[5]: Entering directory '/sonic/src/bash/bash-5.1/build-static/builtins'
rm -f mkbuiltins.o
gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I.. -I../../. -I../.././include -I../.././lib -I../.././builtins -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall ../.././builtins/mkbuiltins.c
../.././builtins/mkbuiltins.c: In function 'extract_info':
../.././builtins/mkbuiltins.c:567:15: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
567 | for (i = 0; line = defs->lines->array[i]; i++)
| ^~~~
../.././builtins/mkbuiltins.c: In function 'free_defs':
../.././builtins/mkbuiltins.c:683:19: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
683 | for (i = 0; builtin = (BUILTIN_DESC *)defs->builtins->array[i]; i++)
| ^~~~~~~
gcc -Wl,-z,relro -rdynamic -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -rdynamic -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -o mkbuiltins mkbuiltins.o
./mkbuiltins -externfile builtext.h -structfile builtins.c \
-noproduction -D ../.././builtins ../.././builtins/alias.def ../.././builtins/bind.def ../.././builtins/break.def ../.././builtins/builtin.def ../.././builtins/caller.def ../.././builtins/cd.def ../.././builtins/colon.def ../.././builtins/command.def ../.././builtins/declare.def ../.././builtins/echo.def ../.././builtins/enable.def ../.././builtins/eval.def ../.././builtins/getopts.def ../.././builtins/exec.def ../.././builtins/exit.def ../.././builtins/fc.def ../.././builtins/fg_bg.def ../.././builtins/hash.def ../.././builtins/help.def ../.././builtins/history.def ../.././builtins/jobs.def ../.././builtins/kill.def ../.././builtins/let.def ../.././builtins/read.def ../.././builtins/return.def ../.././builtins/set.def ../.././builtins/setattr.def ../.././builtins/shift.def ../.././builtins/source.def ../.././builtins/suspend.def ../.././builtins/test.def ../.././builtins/times.def ../.././builtins/trap.def ../.././builtins/type.def ../.././builtins/ulimit.def ../.././builtins/umask.def ../.././builtins/wait.def ../.././builtins/reserved.def ../.././builtins/pushd.def ../.././builtins/shopt.def ../.././builtins/printf.def ../.././builtins/complete.def ../.././builtins/mapfile.def
make[5]: Leaving directory '/sonic/src/bash/bash-5.1/build-static/builtins'
rm -f execute_cmd.o
gcc -DPROGRAM='"bash"' -DCONF_HOSTTYPE='"x86_64"' -DCONF_OSTYPE='"linux-gnu"' -DCONF_MACHTYPE='"x86_64-pc-linux-gnu"' -DCONF_VENDOR='"pc"' -DLOCALEDIR='"/usr/share/locale"' -DPACKAGE='"bash"' -DSHELL -DHAVE_CONFIG_H -I. -I../. -I.././include -I.././lib -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -c .././execute_cmd.c
.././execute_cmd.c: In function 'select_query':
.././execute_cmd.c:3273:23: warning: unused variable 't' [-Wunused-variable]
3273 | char *repl_string, *t;
| ^
.././execute_cmd.c: At top level:
.././execute_cmd.c:1740:13: warning: 'cpl_prune' declared 'static' but never defined [-Wunused-function]
1740 | static void cpl_prune PARAMS((void));
| ^~~~~~~~~
.././execute_cmd.c:3136:12: warning: 'LINES' defined but not used [-Wunused-variable]
3136 | static int LINES, COLS, tabsize;
| ^~~~~
.././execute_cmd.c:2034:1: warning: 'coproc_free' defined but not used [-Wunused-function]
2034 | coproc_free (cp)
| ^~~~~~~~~~~
.././execute_cmd.c:1939:1: warning: 'cpl_firstactive' defined but not used [-Wunused-function]
1939 | cpl_firstactive ()
| ^~~~~~~~~~~~~~~
.././execute_cmd.c:1927:1: warning: 'cpl_searchbyname' defined but not used [-Wunused-function]
1927 | cpl_searchbyname (name)
| ^~~~~~~~~~~~~~~~
.././execute_cmd.c:1913:1: warning: 'cpl_search' defined but not used [-Wunused-function]
1913 | cpl_search (pid)
| ^~~~~~~~~~
.././execute_cmd.c:1901:1: warning: 'cpl_fdchk' defined but not used [-Wunused-function]
1901 | cpl_fdchk (fd)
| ^~~~~~~~~
.././execute_cmd.c:1892:1: warning: 'cpl_closeall' defined but not used [-Wunused-function]
1892 | cpl_closeall ()
| ^~~~~~~~~~~~
.././execute_cmd.c:1874:1: warning: 'cpl_flush' defined but not used [-Wunused-function]
1874 | cpl_flush ()
| ^~~~~~~~~
.././execute_cmd.c:1829:1: warning: 'cpl_reap' defined but not used [-Wunused-function]
1829 | cpl_reap ()
| ^~~~~~~~
.././execute_cmd.c:1794:1: warning: 'cpl_delete' defined but not used [-Wunused-function]
1794 | cpl_delete (pid)
| ^~~~~~~~~~
.././execute_cmd.c:1771:1: warning: 'cpl_add' defined but not used [-Wunused-function]
1771 | cpl_add (cp)
| ^~~~~~~
.././execute_cmd.c:280:12: warning: 'connection_count' defined but not used [-Wunused-variable]
280 | static int connection_count;
| ^~~~~~~~~~~~~~~~
.././execute_cmd.c: In function 'execute_command_internal':
.././execute_cmd.c:1101:7: warning: 'ofifo_list' may be used uninitialized in this function [-Wmaybe-uninitialized]
1101 | free ((void *)ofifo_list);
| ^~~~~~~~~~~~~~~~~~~~~~~~~
rm -f y.tab.o
gcc -DPROGRAM='"bash"' -DCONF_HOSTTYPE='"x86_64"' -DCONF_OSTYPE='"linux-gnu"' -DCONF_MACHTYPE='"x86_64-pc-linux-gnu"' -DCONF_VENDOR='"pc"' -DLOCALEDIR='"/usr/share/locale"' -DPACKAGE='"bash"' -DSHELL -DHAVE_CONFIG_H -I. -I../. -I.././include -I.././lib -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -c .././y.tab.c
/Users/chet/src/bash/src/parse.y: In function 'read_secondary_line':
/Users/chet/src/bash/src/parse.y:2125:10: warning: unused variable 'c' [-Wunused-variable]
/Users/chet/src/bash/src/parse.y:2125:7: warning: unused variable 'n' [-Wunused-variable]
/Users/chet/src/bash/src/parse.y: In function 'parse_matched_pair':
/Users/chet/src/bash/src/parse.y:3550:18: warning: variable 'prevch' set but not used [-Wunused-but-set-variable]
/Users/chet/src/bash/src/parse.y: In function 'parse_comsub':
/Users/chet/src/bash/src/parse.y:3946:1: warning: label 'comsub_readchar' defined but not used [-Wunused-label]
/Users/chet/src/bash/src/parse.y: In function 'xparse_dolparen':
/Users/chet/src/bash/src/parse.y:4457:7: warning: variable 'orig_ind' set but not used [-Wunused-but-set-variable]
/Users/chet/src/bash/src/parse.y: In function 'parse_dparen':
/Users/chet/src/bash/src/parse.y:4583:15: warning: variable 'sline' set but not used [-Wunused-but-set-variable]
/Users/chet/src/bash/src/parse.y: In function 'parse_arith_cmd':
/Users/chet/src/bash/src/parse.y:4644:7: warning: variable 'exp_lineno' set but not used [-Wunused-but-set-variable]
/Users/chet/src/bash/src/parse.y: In function 'cond_error':
/Users/chet/src/bash/src/parse.y:4699:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
/Users/chet/src/bash/src/parse.y: In function 'cond_term':
/Users/chet/src/bash/src/parse.y:4781:8: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
/Users/chet/src/bash/src/parse.y:4813:8: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
/Users/chet/src/bash/src/parse.y:4863:8: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
/Users/chet/src/bash/src/parse.y:4889:8: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
/Users/chet/src/bash/src/parse.y:4907:16: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
/Users/chet/src/bash/src/parse.y: In function 'decode_prompt_string':
/Users/chet/src/bash/src/parse.y:5809:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
/Users/chet/src/bash/src/parse.y: In function 'error_token_from_token':
/Users/chet/src/bash/src/parse.y:6214:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
/Users/chet/src/bash/src/parse.y:6217:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
/Users/chet/src/bash/src/parse.y: In function 'parse_string_to_word_list':
/Users/chet/src/bash/src/parse.y:6476:43: warning: unused variable 'ea' [-Wunused-variable]
/Users/chet/src/bash/src/parse.y: In function 'restore_parser_state':
/Users/chet/src/bash/src/parse.y:6712:7: warning: unused variable 'i' [-Wunused-variable]
At top level:
/Users/chet/src/bash/src/parse.y:6384:1: warning: 'discard_parser_constructs' defined but not used [-Wunused-function]
/Users/chet/src/bash/src/parse.y:325:14: warning: 'yyerrstream' defined but not used [-Wunused-variable]
/Users/chet/src/bash/src/parse.y:324:14: warning: 'yyoutstream' defined but not used [-Wunused-variable]
/Users/chet/src/bash/src/parse.y: In function 'decode_prompt_string':
/Users/chet/src/bash/src/parse.y:5895:11: warning: 'n' may be used uninitialized in this function [-Wmaybe-uninitialized]
In file included from .././shell.h:29,
from /Users/chet/src/bash/src/parse.y:47:
/Users/chet/src/bash/src/parse.y: In function 'parse_comsub.constprop':
.././general.h:168:30: warning: 'hdlen' may be used uninitialized in this function [-Wmaybe-uninitialized]
168 | : ((a)[0] == (b)[0] && strncmp(a, b, n) == 0))
| ^~~~~~~
/Users/chet/src/bash/src/parse.y:3911:32: note: 'hdlen' was declared here
In file included from .././shell.h:29,
from /Users/chet/src/bash/src/parse.y:47:
/Users/chet/src/bash/src/parse.y: In function 'parse_matched_pair':
.././general.h:172:26: warning: 'nestret' may be used uninitialized in this function [-Wmaybe-uninitialized]
172 | #define FREE(s) do { if (s) free (s); } while (0)
| ^
/Users/chet/src/bash/src/parse.y:3552:15: note: 'nestret' was declared here
rm -f general.o
gcc -DPROGRAM='"bash"' -DCONF_HOSTTYPE='"x86_64"' -DCONF_OSTYPE='"linux-gnu"' -DCONF_MACHTYPE='"x86_64-pc-linux-gnu"' -DCONF_VENDOR='"pc"' -DLOCALEDIR='"/usr/share/locale"' -DPACKAGE='"bash"' -DSHELL -DHAVE_CONFIG_H -I. -I../. -I.././include -I.././lib -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -c .././general.c
.././general.c:91:1: warning: missing braces around initializer [-Wmissing-braces]
91 | {
| ^
92 | &interactive_comments,
| { }
93 | &source_uses_path,
| { }
94 | &expand_aliases,
| { }
95 | &inherit_errexit,
| { }
96 | &print_shift_error,
| { }
97 | 0
| {
98 | };
| }
.././general.c: In function 'assignment':
.././general.c:457:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
457 | while (c = string[indx])
| ^
rm -f make_cmd.o
gcc -DPROGRAM='"bash"' -DCONF_HOSTTYPE='"x86_64"' -DCONF_OSTYPE='"linux-gnu"' -DCONF_MACHTYPE='"x86_64-pc-linux-gnu"' -DCONF_VENDOR='"pc"' -DLOCALEDIR='"/usr/share/locale"' -DPACKAGE='"bash"' -DSHELL -DHAVE_CONFIG_H -I. -I../. -I.././include -I.././lib -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -c .././make_cmd.c
.././make_cmd.c: In function 'make_here_document':
.././make_cmd.c:611:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
611 | while (full_line = read_secondary_line (delim_unquoted))
| ^~~~~~~~~
rm -f print_cmd.o
gcc -DPROGRAM='"bash"' -DCONF_HOSTTYPE='"x86_64"' -DCONF_OSTYPE='"linux-gnu"' -DCONF_MACHTYPE='"x86_64-pc-linux-gnu"' -DCONF_VENDOR='"pc"' -DLOCALEDIR='"/usr/share/locale"' -DPACKAGE='"bash"' -DSHELL -DHAVE_CONFIG_H -I. -I../. -I.././include -I.././lib -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -c .././print_cmd.c
.././print_cmd.c: In function 'make_command_string_internal':
.././print_cmd.c:173:14: warning: zero-length gnu_printf format string [-Wformat-zero-length]
173 | cprintf ("");
| ^~
At top level:
.././print_cmd.c:969:1: warning: 'print_heredocs' defined but not used [-Wunused-function]
969 | print_heredocs (heredocs)
| ^~~~~~~~~~~~~~
rm -f dispose_cmd.o
gcc -DPROGRAM='"bash"' -DCONF_HOSTTYPE='"x86_64"' -DCONF_OSTYPE='"linux-gnu"' -DCONF_MACHTYPE='"x86_64-pc-linux-gnu"' -DCONF_VENDOR='"pc"' -DLOCALEDIR='"/usr/share/locale"' -DPACKAGE='"bash"' -DSHELL -DHAVE_CONFIG_H -I. -I../. -I.././include -I.././lib -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -c .././dispose_cmd.c
rm -f variables.o
gcc -DPROGRAM='"bash"' -DCONF_HOSTTYPE='"x86_64"' -DCONF_OSTYPE='"linux-gnu"' -DCONF_MACHTYPE='"x86_64-pc-linux-gnu"' -DCONF_VENDOR='"pc"' -DLOCALEDIR='"/usr/share/locale"' -DPACKAGE='"bash"' -DSHELL -DHAVE_CONFIG_H -I. -I../. -I.././include -I.././lib -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -c .././variables.c
.././variables.c: In function 'initialize_shell_variables':
.././variables.c:408:8: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
408 | if (temp_var = find_function (tname))
| ^~~~~~~~
.././variables.c:415:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
415 | if (temp_var = bind_invalid_envvar (name, string, 0))
| ^~~~~~~~
.././variables.c: In function 'set_machine_vars':
.././variables.c:689:14: warning: variable 'temp_var' set but not used [-Wunused-but-set-variable]
689 | SHELL_VAR *temp_var;
| ^~~~~~~~
.././variables.c: In function 'var_lookup':
.././variables.c:2015:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
2015 | if (v = hash_lookup (name, vc->table))
| ^
.././variables.c: In function 'nameref_transform_name':
.././variables.c:2325:9: warning: unused variable 'newname' [-Wunused-variable]
2325 | char *newname;
| ^~~~~~~
.././variables.c: In function 'delete_var':
.././variables.c:3915:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
3915 | if (elt = hash_remove (name, v->table, 0))
| ^~~
.././variables.c: In function 'makunbound':
.././variables.c:3944:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
3944 | if (elt = hash_remove (name, v->table, 0))
| ^~~
.././variables.c: In function 'push_posix_temp_var':
.././variables.c:4513:15: warning: variable 'binding_table' set but not used [-Wunused-but-set-variable]
4513 | HASH_TABLE *binding_table;
| ^~~~~~~~~~~~~
.././variables.c: In function 'make_env_array_from_var_list':
.././variables.c:4810:31: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
4810 | for (i = 0, list_index = 0; var = vars[i]; i++)
| ^~~
.././variables.c: In function 'pop_var_context':
.././variables.c:5335:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
5335 | if (ret = vcxt->down)
| ^~~
.././variables.c: In function 'pop_scope':
.././variables.c:5419:7: warning: variable 'is_bltinenv' set but not used [-Wunused-but-set-variable]
5419 | int is_bltinenv;
| ^~~~~~~~~~~
.././variables.c: In function 'sv_history_control':
.././variables.c:6078:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
6078 | while (val = extract_colon_unit (temp, &tptr))
| ^~~
.././variables.c: In function 'sv_histtimefmt':
.././variables.c:6127:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
6127 | if (v = find_variable (name))
| ^
At top level:
.././variables.c:2557:1: warning: 'var_sametype' defined but not used [-Wunused-function]
2557 | var_sametype (v1, v2)
| ^~~~~~~~~~~~
.././variables.c:176:21: warning: 'last_context_searched' defined but not used [-Wunused-variable]
176 | static VAR_CONTEXT *last_context_searched;
| ^~~~~~~~~~~~~~~~~~~~~
rm -f copy_cmd.o
gcc -DPROGRAM='"bash"' -DCONF_HOSTTYPE='"x86_64"' -DCONF_OSTYPE='"linux-gnu"' -DCONF_MACHTYPE='"x86_64-pc-linux-gnu"' -DCONF_VENDOR='"pc"' -DLOCALEDIR='"/usr/share/locale"' -DPACKAGE='"bash"' -DSHELL -DHAVE_CONFIG_H -I. -I../. -I.././include -I.././lib -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -c .././copy_cmd.c
rm -f error.o
gcc -DPROGRAM='"bash"' -DCONF_HOSTTYPE='"x86_64"' -DCONF_OSTYPE='"linux-gnu"' -DCONF_MACHTYPE='"x86_64-pc-linux-gnu"' -DCONF_VENDOR='"pc"' -DLOCALEDIR='"/usr/share/locale"' -DPACKAGE='"bash"' -DSHELL -DHAVE_CONFIG_H -I. -I../. -I.././include -I.././lib -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -c .././error.c
rm -f expr.o
gcc -DPROGRAM='"bash"' -DCONF_HOSTTYPE='"x86_64"' -DCONF_OSTYPE='"linux-gnu"' -DCONF_MACHTYPE='"x86_64-pc-linux-gnu"' -DCONF_VENDOR='"pc"' -DLOCALEDIR='"/usr/share/locale"' -DPACKAGE='"bash"' -DSHELL -DHAVE_CONFIG_H -I. -I../. -I.././include -I.././lib -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -c .././expr.c
.././expr.c: In function 'exppower':
.././expr.c:961:33: warning: unused variable 'c' [-Wunused-variable]
961 | register intmax_t val1, val2, c;
| ^
.././expr.c: In function 'readtok':
.././expr.c:1308:17: warning: unused variable 'lval' [-Wunused-variable]
1308 | struct lvalue lval;
| ^~~~
At top level:
.././expr.c:1132:1: warning: 'free_lvalue' defined but not used [-Wunused-function]
1132 | free_lvalue (lv)
| ^~~~~~~~~~~
.././expr.c:1122:1: warning: 'alloc_lvalue' defined but not used [-Wunused-function]
1122 | alloc_lvalue ()
| ^~~~~~~~~~~~
rm -f flags.o
gcc -DPROGRAM='"bash"' -DCONF_HOSTTYPE='"x86_64"' -DCONF_OSTYPE='"linux-gnu"' -DCONF_MACHTYPE='"x86_64-pc-linux-gnu"' -DCONF_VENDOR='"pc"' -DLOCALEDIR='"/usr/share/locale"' -DPACKAGE='"bash"' -DSHELL -DHAVE_CONFIG_H -I. -I../. -I.././include -I.././lib -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -c .././flags.c
rm -f jobs.o
gcc -DPROGRAM='"bash"' -DCONF_HOSTTYPE='"x86_64"' -DCONF_OSTYPE='"linux-gnu"' -DCONF_MACHTYPE='"x86_64-pc-linux-gnu"' -DCONF_VENDOR='"pc"' -DLOCALEDIR='"/usr/share/locale"' -DPACKAGE='"bash"' -DSHELL -DHAVE_CONFIG_H -I. -I../. -I.././include -I.././lib -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -c .././jobs.c
.././jobs.c: In function 'procsub_waitall':
.././jobs.c:1102:7: warning: variable 'r' set but not used [-Wunused-but-set-variable]
1102 | int r;
| ^
.././jobs.c: In function 'procsub_prune':
.././jobs.c:1136:7: warning: variable 'onproc' set but not used [-Wunused-but-set-variable]
1136 | int onproc;
| ^~~~~~
.././jobs.c:1135:20: warning: variable 'oend' set but not used [-Wunused-but-set-variable]
1135 | PROCESS *ohead, *oend, *ps, *p;
| ^~~~
.././jobs.c: In function 'cleanup_dead_jobs':
.././jobs.c:1213:12: warning: unused variable 'discard' [-Wunused-variable]
1213 | PROCESS *discard;
| ^~~~~~~
.././jobs.c: In function 'nohup_job':
.././jobs.c:1464:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
1464 | if (temp = jobs[job_index])
| ^~~~
.././jobs.c: In function 'make_child':
.././jobs.c:2137:32: warning: unused variable 'chldset' [-Wunused-variable]
2137 | sigset_t set, oset, termset, chldset, oset_copy;
| ^~~~~~~
.././jobs.c:2137:23: warning: unused variable 'termset' [-Wunused-variable]
2137 | sigset_t set, oset, termset, chldset, oset_copy;
| ^~~~~~~
.././jobs.c: In function 'wait_for_background_pids':
.././jobs.c:2661:20: warning: variable 'check_async' set but not used [-Wunused-but-set-variable]
2661 | int any_stopped, check_async;
| ^~~~~~~~~~~
.././jobs.c:2661:7: warning: variable 'any_stopped' set but not used [-Wunused-but-set-variable]
2661 | int any_stopped, check_async;
| ^~~~~~~~~~~
.././jobs.c: In function 'sigchld_handler':
.././jobs.c:3754:7: warning: variable 'n' set but not used [-Wunused-but-set-variable]
3754 | int n, oerrno;
| ^
.././jobs.c: In function 'make_child':
.././jobs.c:2197:7: warning: 'oterm' may be used uninitialized in this function [-Wmaybe-uninitialized]
2197 | set_signal_handler (SIGTERM, oterm);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
rm -f subst.o
gcc -DPROGRAM='"bash"' -DCONF_HOSTTYPE='"x86_64"' -DCONF_OSTYPE='"linux-gnu"' -DCONF_MACHTYPE='"x86_64-pc-linux-gnu"' -DCONF_VENDOR='"pc"' -DLOCALEDIR='"/usr/share/locale"' -DPACKAGE='"bash"' -DSHELL -DHAVE_CONFIG_H -I. -I../. -I.././include -I.././lib -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -c .././subst.c
.././subst.c: In function 'string_extract':
.././subst.c:804:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
804 | while (c = string[i])
| ^
.././subst.c: In function 'string_extract_double_quoted':
.././subst.c:878:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
878 | while (c = string[i])
| ^
.././subst.c: In function 'skip_double_quoted':
.././subst.c:1030:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
1030 | while (c = string[i])
| ^
.././subst.c:1024:9: warning: variable 'ret' set but not used [-Wunused-but-set-variable]
1024 | char *ret;
| ^~~
.././subst.c: In function 'string_extract_verbatim':
.././subst.c:1182:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
1182 | while (c = string[i])
| ^
.././subst.c: In function 'extract_delimited_string':
.././subst.c:1345:9: warning: variable 't' set but not used [-Wunused-but-set-variable]
1345 | char *t, *result;
| ^
.././subst.c: In function 'extract_dollar_brace_string':
.././subst.c:1532:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
1532 | while (c = string[i])
| ^
.././subst.c:1516:18: warning: variable 't' set but not used [-Wunused-but-set-variable]
1516 | char *result, *t;
| ^
.././subst.c: In function 'skip_matched_pair':
.././subst.c:1764:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
1764 | while (c = string[i])
| ^
.././subst.c:1753:9: warning: variable 'temp' set but not used [-Wunused-but-set-variable]
1753 | char *temp, *ss;
| ^~~~
.././subst.c: In function 'skip_to_delim':
.././subst.c:1887:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
1887 | while (c = string[i])
| ^
.././subst.c:1870:9: warning: variable 'temp' set but not used [-Wunused-but-set-variable]
1870 | char *temp, open[3];
| ^~~~
.././subst.c: In function 'skip_to_histexp':
.././subst.c:2062:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
2062 | while (c = string[i])
| ^
.././subst.c: In function 'do_assignment_internal':
.././subst.c:3277:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
3277 | if (t = mbschr (name, LBRACK))
| ^
.././subst.c: In function 'parameter_brace_expand_word':
.././subst.c:6836:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
6836 | else if (var = find_variable (name))
| ^~~
.././subst.c:6869:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
6869 | else if (var = find_variable_last_nameref (name, 0))
| ^~~
.././subst.c: In function 'pat_subst':
.././subst.c:8306:11: warning: unused variable 'clen' [-Wunused-variable]
8306 | size_t clen;
| ^~~~
.././subst.c: In function 'parameter_brace_expand':
.././subst.c:8884:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
8884 | if (c = string[sindex])
| ^
.././subst.c:8894:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
8894 | if (c = string[sindex])
| ^
.././subst.c: In function 'expand_word_internal':
.././subst.c:10727:1: warning: label 'add_quoted_character' defined but not used [-Wunused-label]
10727 | add_quoted_character:
| ^~~~~~~~~~~~~~~~~~~~
.././subst.c:10074:7: warning: variable 'local_expanded' set but not used [-Wunused-but-set-variable]
10074 | int local_expanded;
| ^~~~~~~~~~~~~~
.././subst.c: In function 'string_quote_removal':
.././subst.c:10977:29: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
10977 | for (dquote = sindex = 0; c = string[sindex];)
| ^
.././subst.c: In function 'glob_expand_word_list':
.././subst.c:11375:7: warning: unused variable 'x' [-Wunused-variable]
11375 | int x;
| ^
.././subst.c: In function 'brace_expand_word_list':
.././subst.c:11515:21: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
11515 | for (eindex = 0; temp_string = expansions[eindex]; eindex++)
| ^~~~~~~~~~~
.././subst.c: In function 'expand_declaration_argument':
.././subst.c:11771:26: warning: array subscript has type 'char' [-Wchar-subscripts]
11771 | omap[l->word->word[oind]] = 1;
| ~~~~~~~~~~~~~^~~~~~
.././subst.c:11718:28: warning: variable 'inheriting' set but not used [-Wunused-but-set-variable]
11718 | int t, opti, oind, skip, inheriting;
| ^~~~~~~~~~
.././subst.c: At top level:
.././subst.c:229:14: warning: 'quoted_substring' declared 'static' but never defined [-Wunused-function]
229 | static char *quoted_substring PARAMS((char *, int, int));
| ^~~~~~~~~~~~~~~~
.././subst.c:230:12: warning: 'quoted_strlen' declared 'static' but never defined [-Wunused-function]
230 | static int quoted_strlen PARAMS((char *));
| ^~~~~~~~~~~~~
.././subst.c:231:14: warning: 'quoted_strchr' declared 'static' but never defined [-Wunused-function]
231 | static char *quoted_strchr PARAMS((char *, int, int));
| ^~~~~~~~~~~~~
.././subst.c:244:19: warning: 'list_dequote_escapes' declared 'static' but never defined [-Wunused-function]
244 | static WORD_LIST *list_dequote_escapes PARAMS((WORD_LIST *));
| ^~~~~~~~~~~~~~~~~~~~
.././subst.c:249:12: warning: 'unquoted_substring' declared 'static' but never defined [-Wunused-function]
249 | static int unquoted_substring PARAMS((char *, char *));
| ^~~~~~~~~~~~~~~~~~
.././subst.c:250:12: warning: 'unquoted_member' declared 'static' but never defined [-Wunused-function]
250 | static int unquoted_member PARAMS((int, char *));
| ^~~~~~~~~~~~~~~
.././subst.c:269:23: warning: 'mb_getcharlens' declared 'static' but never defined [-Wunused-function]
269 | static unsigned char *mb_getcharlens PARAMS((char *, int));
| ^~~~~~~~~~~~~~
.././subst.c:284:14: warning: 'variable_remove_pattern' declared 'static' but never defined [-Wunused-function]
284 | static char *variable_remove_pattern PARAMS((char *, char *, int, int));
| ^~~~~~~~~~~~~~~~~~~~~~~
.././subst.c:333:12: warning: 'shouldexp_replacement' declared 'static' but never defined [-Wunused-function]
333 | static int shouldexp_replacement PARAMS((char *));
| ^~~~~~~~~~~~~~~~~~~~~
.././subst.c:339:14: warning: 'pos_params_casemod' declared 'static' but never defined [-Wunused-function]
339 | static char *pos_params_casemod PARAMS((char *, char *, int, int));
| ^~~~~~~~~~~~~~~~~~
.././subst.c:215:53: warning: 'expand_param_unset' defined but not used [-Wunused-variable]
215 | static char expand_param_error, expand_param_fatal, expand_param_unset;
| ^~~~~~~~~~~~~~~~~~
.././subst.c: In function 'command_substitute':
.././subst.c:6250:35: warning: 'bufp' may be used uninitialized in this function [-Wmaybe-uninitialized]
6250 | istring[istring_index++] = *bufp++;
| ~~~~^~
.././subst.c:6172:29: note: 'bufp' was declared here
6172 | char *istring, buf[512], *bufp;
| ^~~~
.././subst.c: In function 'param_expand':
.././subst.c:6979:31: warning: 'v' may be used uninitialized in this function [-Wmaybe-uninitialized]
6979 | if (legal_identifier (name) && v == 0)
| ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~
.././subst.c:6957:14: note: 'v' was declared here
6957 | SHELL_VAR *v;
| ^
.././subst.c:9251:15: warning: 'modspec' may be used uninitialized in this function [-Wmaybe-uninitialized]
9251 | temp1 = parameter_brace_casemod (name, temp, ind, modspec, value, quoted, pflags, (tflag & W_ARRAYIND) ? AV_USEIND : 0);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.././subst.c:8806:34: note: 'modspec' was declared here
8806 | int t_index, sindex, c, tflag, modspec, local_pflags, all_element_arrayref;
| ^~~~~~~
In file included from .././shell.h:29,
from .././subst.c:46:
.././subst.c: In function 'parameter_brace_expand_length':
.././general.h:171:42: warning: 't' may be used uninitialized in this function [-Wmaybe-uninitialized]
171 | #define STRLEN(s) (((s) && (s)[0]) ? ((s)[1] ? ((s)[2] ? strlen(s) : 2) : 1) : 0)
| ^
.././subst.c:7289:9: note: 't' was declared here
7289 | char *t, *newname;
| ^
In file included from .././variables.h:25,
from .././shell.h:31,
from .././subst.c:46:
.././subst.c: In function 'parameter_brace_substring':
.././array.h:97:35: warning: 'a' may be used uninitialized in this function [-Wmaybe-uninitialized]
97 | #define array_num_elements(a) ((a)->num_elements)
| ^~
.././subst.c:7422:9: note: 'a' was declared here
7422 | ARRAY *a;
| ^
In file included from .././variables.h:26,
from .././shell.h:31,
from .././subst.c:46:
.././assoc.h:31:35: warning: 'h' may be used uninitialized in this function [-Wmaybe-uninitialized]
31 | #define assoc_num_elements(h) ((h)->nentries)
| ^~
.././subst.c:7423:14: note: 'h' was declared here
7423 | HASH_TABLE *h;
| ^
.././subst.c: In function 'parameter_brace_patsub':
.././subst.c:8385:15: warning: 'temp' may be used uninitialized in this function [-Wmaybe-uninitialized]
8385 | char *val, *temp, *pat, *rep, *p, *lpatsub, *tt, *oname;
| ^~~~
.././subst.c: In function 'parameter_brace_casemod':
.././subst.c:8622:15: warning: 'temp' may be used uninitialized in this function [-Wmaybe-uninitialized]
8622 | char *val, *temp, *pat, *p, *lpat, *tt, *oname;
| ^~~~
rm -f hashcmd.o
gcc -DPROGRAM='"bash"' -DCONF_HOSTTYPE='"x86_64"' -DCONF_OSTYPE='"linux-gnu"' -DCONF_MACHTYPE='"x86_64-pc-linux-gnu"' -DCONF_VENDOR='"pc"' -DLOCALEDIR='"/usr/share/locale"' -DPACKAGE='"bash"' -DSHELL -DHAVE_CONFIG_H -I. -I../. -I.././include -I.././lib -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -c .././hashcmd.c
rm -f hashlib.o
gcc -DPROGRAM='"bash"' -DCONF_HOSTTYPE='"x86_64"' -DCONF_OSTYPE='"linux-gnu"' -DCONF_MACHTYPE='"x86_64-pc-linux-gnu"' -DCONF_VENDOR='"pc"' -DLOCALEDIR='"/usr/share/locale"' -DPACKAGE='"bash"' -DSHELL -DHAVE_CONFIG_H -I. -I../. -I.././include -I.././lib -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -c .././hashlib.c
.././hashlib.c:169:1: warning: 'hash_shrink' defined but not used [-Wunused-function]
169 | hash_shrink (table)
| ^~~~~~~~~~~
rm -f mailcheck.o
gcc -DPROGRAM='"bash"' -DCONF_HOSTTYPE='"x86_64"' -DCONF_OSTYPE='"linux-gnu"' -DCONF_MACHTYPE='"x86_64-pc-linux-gnu"' -DCONF_VENDOR='"pc"' -DLOCALEDIR='"/usr/share/locale"' -DPACKAGE='"bash"' -DSHELL -DHAVE_CONFIG_H -I. -I../. -I.././include -I.././lib -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -c .././mailcheck.c
.././mailcheck.c: In function 'remember_mail_dates':
.././mailcheck.c:394:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
394 | while (mailfile = extract_colon_unit (mailpaths, &i))
| ^~~~~~~~
.././mailcheck.c: In function 'check_mail':
.././mailcheck.c:468:8: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
468 | if (temp = expand_string_to_string (message, Q_DOUBLE_QUOTES))
| ^~~~
rm -f mksignames.o
gcc -DPROGRAM='"bash"' -DCONF_HOSTTYPE='"x86_64"' -DCONF_OSTYPE='"linux-gnu"' -DCONF_MACHTYPE='"x86_64-pc-linux-gnu"' -DCONF_VENDOR='"pc"' -DLOCALEDIR='"/usr/share/locale"' -DPACKAGE='"bash"' -DSHELL -DHAVE_CONFIG_H -I. -I../. -I.././include -I.././lib -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -DBUILDTOOL -c .././support/mksignames.c
rm -f buildsignames.o
gcc -DPROGRAM='"bash"' -DCONF_HOSTTYPE='"x86_64"' -DCONF_OSTYPE='"linux-gnu"' -DCONF_MACHTYPE='"x86_64-pc-linux-gnu"' -DCONF_VENDOR='"pc"' -DLOCALEDIR='"/usr/share/locale"' -DPACKAGE='"bash"' -DSHELL -DHAVE_CONFIG_H -I. -I../. -I.././include -I.././lib -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -DBUILDTOOL -o buildsignames.o -c .././support/signames.c
rm -f mksignames
gcc -DPROGRAM='"bash"' -DCONF_HOSTTYPE='"x86_64"' -DCONF_OSTYPE='"linux-gnu"' -DCONF_MACHTYPE='"x86_64-pc-linux-gnu"' -DCONF_VENDOR='"pc"' -DLOCALEDIR='"/usr/share/locale"' -DPACKAGE='"bash"' -DSHELL -DHAVE_CONFIG_H -I. -I../. -I.././include -I.././lib -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wl,-z,relro -rdynamic -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -static -rdynamic -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -o mksignames mksignames.o buildsignames.o
rm -f lsignames.h
./mksignames lsignames.h
if cmp -s lsignames.h signames.h ; then :; else rm -f signames.h ; cp lsignames.h signames.h ; fi
rm -f trap.o
gcc -DPROGRAM='"bash"' -DCONF_HOSTTYPE='"x86_64"' -DCONF_OSTYPE='"linux-gnu"' -DCONF_MACHTYPE='"x86_64-pc-linux-gnu"' -DCONF_VENDOR='"pc"' -DLOCALEDIR='"/usr/share/locale"' -DPACKAGE='"bash"' -DSHELL -DHAVE_CONFIG_H -I. -I../. -I.././include -I.././lib -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -c .././trap.c
rm -f input.o
gcc -DPROGRAM='"bash"' -DCONF_HOSTTYPE='"x86_64"' -DCONF_OSTYPE='"linux-gnu"' -DCONF_MACHTYPE='"x86_64-pc-linux-gnu"' -DCONF_VENDOR='"pc"' -DLOCALEDIR='"/usr/share/locale"' -DPACKAGE='"bash"' -DSHELL -DHAVE_CONFIG_H -I. -I../. -I.././include -I.././lib -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -c .././input.c
rm -f unwind_prot.o
gcc -DPROGRAM='"bash"' -DCONF_HOSTTYPE='"x86_64"' -DCONF_OSTYPE='"linux-gnu"' -DCONF_MACHTYPE='"x86_64-pc-linux-gnu"' -DCONF_VENDOR='"pc"' -DLOCALEDIR='"/usr/share/locale"' -DPACKAGE='"bash"' -DSHELL -DHAVE_CONFIG_H -I. -I../. -I.././include -I.././lib -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -c .././unwind_prot.c
.././unwind_prot.c: In function 'unwind_frame_discard_internal':
.././unwind_prot.c:271:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
271 | while (elt = unwind_protect_list)
| ^~~
.././unwind_prot.c: In function 'unwind_frame_run_internal':
.././unwind_prot.c:306:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
306 | while (elt = unwind_protect_list)
| ^~~
rm -f pathexp.o
gcc -DPROGRAM='"bash"' -DCONF_HOSTTYPE='"x86_64"' -DCONF_OSTYPE='"linux-gnu"' -DCONF_MACHTYPE='"x86_64-pc-linux-gnu"' -DCONF_VENDOR='"pc"' -DLOCALEDIR='"/usr/share/locale"' -DPACKAGE='"bash"' -DSHELL -DHAVE_CONFIG_H -I. -I../. -I.././include -I.././lib -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -c .././pathexp.c
.././pathexp.c: In function 'unquoted_glob_pattern_p':
.././pathexp.c:78:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
78 | while (c = *string++)
| ^
.././pathexp.c: In function 'shell_glob_filename':
.././pathexp.c:464:15: warning: unused variable 'quoted_pattern' [-Wunused-variable]
464 | int gflags, quoted_pattern;
| ^~~~~~~~~~~~~~
.././pathexp.c: In function 'setup_ignore_patterns':
.././pathexp.c:673:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
673 | while (colon_bit = split_ignorespec (this_ignoreval, &ptr))
| ^~~~~~~~~
rm -f sig.o
gcc -DPROGRAM='"bash"' -DCONF_HOSTTYPE='"x86_64"' -DCONF_OSTYPE='"linux-gnu"' -DCONF_MACHTYPE='"x86_64-pc-linux-gnu"' -DCONF_VENDOR='"pc"' -DLOCALEDIR='"/usr/share/locale"' -DPACKAGE='"bash"' -DSHELL -DHAVE_CONFIG_H -I. -I../. -I.././include -I.././lib -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -c .././sig.c
rm -f test.o
gcc -DPROGRAM='"bash"' -DCONF_HOSTTYPE='"x86_64"' -DCONF_OSTYPE='"linux-gnu"' -DCONF_MACHTYPE='"x86_64-pc-linux-gnu"' -DCONF_VENDOR='"pc"' -DLOCALEDIR='"/usr/share/locale"' -DPACKAGE='"bash"' -DSHELL -DHAVE_CONFIG_H -I. -I../. -I.././include -I.././lib -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -c .././test.c
rm -f version.o
gcc -DPROGRAM='"bash"' -DCONF_HOSTTYPE='"x86_64"' -DCONF_OSTYPE='"linux-gnu"' -DCONF_MACHTYPE='"x86_64-pc-linux-gnu"' -DCONF_VENDOR='"pc"' -DLOCALEDIR='"/usr/share/locale"' -DPACKAGE='"bash"' -DSHELL -DHAVE_CONFIG_H -I. -I../. -I.././include -I.././lib -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -c .././version.c
rm -f alias.o
gcc -DPROGRAM='"bash"' -DCONF_HOSTTYPE='"x86_64"' -DCONF_OSTYPE='"linux-gnu"' -DCONF_MACHTYPE='"x86_64-pc-linux-gnu"' -DCONF_VENDOR='"pc"' -DLOCALEDIR='"/usr/share/locale"' -DPACKAGE='"bash"' -DSHELL -DHAVE_CONFIG_H -I. -I../. -I.././include -I.././lib -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -c .././alias.c
rm -f array.o
gcc -DPROGRAM='"bash"' -DCONF_HOSTTYPE='"x86_64"' -DCONF_OSTYPE='"linux-gnu"' -DCONF_MACHTYPE='"x86_64-pc-linux-gnu"' -DCONF_VENDOR='"pc"' -DLOCALEDIR='"/usr/share/locale"' -DPACKAGE='"bash"' -DSHELL -DHAVE_CONFIG_H -I. -I../. -I.././include -I.././lib -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -c .././array.c
.././array.c:66:14: warning: 'spacesep' defined but not used [-Wunused-variable]
66 | static char *spacesep = " ";
| ^~~~~~~~
rm -f arrayfunc.o
gcc -DPROGRAM='"bash"' -DCONF_HOSTTYPE='"x86_64"' -DCONF_OSTYPE='"linux-gnu"' -DCONF_MACHTYPE='"x86_64-pc-linux-gnu"' -DCONF_VENDOR='"pc"' -DLOCALEDIR='"/usr/share/locale"' -DPACKAGE='"bash"' -DSHELL -DHAVE_CONFIG_H -I. -I../. -I.././include -I.././lib -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -c .././arrayfunc.c
.././arrayfunc.c: In function 'quote_compound_array_word':
.././arrayfunc.c:892:31: warning: unused variable 't' [-Wunused-variable]
892 | char *nword, *sub, *value, *t;
| ^
.././arrayfunc.c: In function 'array_keys':
.././arrayfunc.c:1490:22: warning: unused variable 'temp' [-Wunused-variable]
1490 | char *retval, *t, *temp;
| ^~~~
.././arrayfunc.c: In function 'array_value_internal':
.././arrayfunc.c:1447:38: warning: 'ind' may be used uninitialized in this function [-Wmaybe-uninitialized]
1447 | return (ind == 0 ? value_cell (var) : (char *)NULL);
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
rm -f assoc.o
gcc -DPROGRAM='"bash"' -DCONF_HOSTTYPE='"x86_64"' -DCONF_OSTYPE='"linux-gnu"' -DCONF_MACHTYPE='"x86_64-pc-linux-gnu"' -DCONF_VENDOR='"pc"' -DLOCALEDIR='"/usr/share/locale"' -DPACKAGE='"bash"' -DSHELL -DHAVE_CONFIG_H -I. -I../. -I.././include -I.././lib -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -c .././assoc.c
rm -f braces.o
gcc -DPROGRAM='"bash"' -DCONF_HOSTTYPE='"x86_64"' -DCONF_OSTYPE='"linux-gnu"' -DCONF_MACHTYPE='"x86_64-pc-linux-gnu"' -DCONF_VENDOR='"pc"' -DLOCALEDIR='"/usr/share/locale"' -DPACKAGE='"bash"' -DSHELL -DHAVE_CONFIG_H -I. -I../. -I.././include -I.././lib -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -c .././braces.c
.././braces.c: In function 'mkseq':
.././braces.c:428:8: warning: variable 'len' set but not used [-Wunused-but-set-variable]
428 | int len, arg;
| ^~~
.././braces.c:435:8: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
435 | if (t = (char *)malloc (2))
| ^
.././braces.c: In function 'brace_gobbler':
.././braces.c:615:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
615 | while (c = text[i])
| ^
.././braces.c: In function 'brace_expand':
.././braces.c:462:51: warning: 'tr' may be used uninitialized in this function [-Wmaybe-uninitialized]
462 | if ((incr < 0 && n < end) || (incr > 0 && n > end))
| ~~^~~~~
.././braces.c:479:16: note: 'tr' was declared here
479 | intmax_t tl, tr;
| ^~
rm -f bracecomp.o
gcc -DPROGRAM='"bash"' -DCONF_HOSTTYPE='"x86_64"' -DCONF_OSTYPE='"linux-gnu"' -DCONF_MACHTYPE='"x86_64-pc-linux-gnu"' -DCONF_VENDOR='"pc"' -DLOCALEDIR='"/usr/share/locale"' -DPACKAGE='"bash"' -DSHELL -DHAVE_CONFIG_H -I. -I../. -I.././include -I.././lib -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -c .././bracecomp.c
rm -f bashhist.o
gcc -DPROGRAM='"bash"' -DCONF_HOSTTYPE='"x86_64"' -DCONF_OSTYPE='"linux-gnu"' -DCONF_MACHTYPE='"x86_64-pc-linux-gnu"' -DCONF_VENDOR='"pc"' -DLOCALEDIR='"/usr/share/locale"' -DPACKAGE='"bash"' -DSHELL -DHAVE_CONFIG_H -I. -I../. -I.././include -I.././lib -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -c .././bashhist.c
.././bashhist.c: In function 'hc_erasedups':
.././bashhist.c:726:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
726 | while (temp = previous_history ())
| ^~~~
rm -f bashline.o
gcc -DPROGRAM='"bash"' -DCONF_HOSTTYPE='"x86_64"' -DCONF_OSTYPE='"linux-gnu"' -DCONF_MACHTYPE='"x86_64-pc-linux-gnu"' -DCONF_VENDOR='"pc"' -DLOCALEDIR='"/usr/share/locale"' -DPACKAGE='"bash"' -DSHELL -DHAVE_CONFIG_H -I. -I../. -I.././include -I.././lib -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -c .././bashline.c
.././bashline.c: In function 'snarf_hosts_from_file':
.././bashline.c:796:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
796 | while (temp = fgets (buffer, 255, file))
| ^~~~
.././bashline.c: In function 'attempt_shell_completion':
.././bashline.c:1637:14: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
1637 | while (was_assignment = assignment (n, 0));
| ^~~~~~~~~~~~~~
.././bashline.c: In function 'command_word_completion_function':
.././bashline.c:2131:14: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
2131 | while (val = glob_matches[local_index++])
| ^~~
.././bashline.c: In function 'bash_servicename_completion_function':
.././bashline.c:2525:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
2525 | while (srvent = getservent ())
| ^~~~~~
.././bashline.c: In function 'bash_groupname_completion_function':
.././bashline.c:2581:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
2581 | while (grent = getgrent ())
| ^~~~~
.././bashline.c: In function 'bash_filename_stat_hook':
.././bashline.c:3295:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
3295 | if (t = mbschr (local_dirname, '$'))
| ^
.././bashline.c:3297:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
3297 | else if (t = mbschr (local_dirname, '`')) /* XXX */
| ^
.././bashline.c: In function 'bash_directory_completion_hook':
.././bashline.c:3375:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
3375 | if (t = mbschr (local_dirname, '$'))
| ^
.././bashline.c:3433:24: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
3433 | for (i = j = 0; c = default_filename_quote_characters[i]; i++)
| ^
.././bashline.c: In function 'bash_execute_unix_command':
.././bashline.c:4293:27: warning: unused variable 'old_ch' [-Wunused-variable]
4293 | char *cmd, *value, *ce, old_ch;
| ^~~~~~
.././bashline.c: In function 'isolate_sequence':
.././bashline.c:4470:19: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
4470 | for (passc = 0; c = string[i]; i++)
| ^
.././bashline.c: At top level:
.././bashline.c:209:12: warning: 'set_saved_history' declared 'static' but never defined [-Wunused-function]
209 | static int set_saved_history PARAMS((void));
| ^~~~~~~~~~~~~~~~~
.././bashline.c:4405:1: warning: 'get_cmd_xmap_from_edit_mode' defined but not used [-Wunused-function]
4405 | get_cmd_xmap_from_edit_mode ()
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
.././bashline.c:4232:1: warning: 'putx' defined but not used [-Wunused-function]
4232 | putx(c)
| ^~~~
.././bashline.c: In function '_ignore_completion_names':
.././bashline.c:2964:2: warning: 'oldnames' may be used uninitialized in this function [-Wmaybe-uninitialized]
2964 | free (oldnames[--oidx]);
| ^~~~~~~~~~~~~~~~~~~~~~~
.././bashline.c: In function 'attempt_shell_completion':
.././bashline.c:1650:44: warning: 'e1' may be used uninitialized in this function [-Wmaybe-uninitialized]
1650 | else if (start == end && start == s1 && e != 0 && e1 > end) /* beginning of command name, leading whitespace */
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~
rm -f list.o
gcc -DPROGRAM='"bash"' -DCONF_HOSTTYPE='"x86_64"' -DCONF_OSTYPE='"linux-gnu"' -DCONF_MACHTYPE='"x86_64-pc-linux-gnu"' -DCONF_VENDOR='"pc"' -DLOCALEDIR='"/usr/share/locale"' -DPACKAGE='"bash"' -DSHELL -DHAVE_CONFIG_H -I. -I../. -I.././include -I.././lib -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -c .././list.c
rm -f stringlib.o
gcc -DPROGRAM='"bash"' -DCONF_HOSTTYPE='"x86_64"' -DCONF_OSTYPE='"linux-gnu"' -DCONF_MACHTYPE='"x86_64-pc-linux-gnu"' -DCONF_VENDOR='"pc"' -DLOCALEDIR='"/usr/share/locale"' -DPACKAGE='"bash"' -DSHELL -DHAVE_CONFIG_H -I. -I../. -I.././include -I.././lib -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -c .././stringlib.c
rm -f locale.o
gcc -DPROGRAM='"bash"' -DCONF_HOSTTYPE='"x86_64"' -DCONF_OSTYPE='"linux-gnu"' -DCONF_MACHTYPE='"x86_64-pc-linux-gnu"' -DCONF_VENDOR='"pc"' -DLOCALEDIR='"/usr/share/locale"' -DPACKAGE='"bash"' -DSHELL -DHAVE_CONFIG_H -I. -I../. -I.././include -I.././lib -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -c .././locale.c
.././locale.c: In function 'reset_locale_vars':
.././locale.c:363:9: warning: variable 't' set but not used [-Wunused-but-set-variable]
363 | char *t, *x;
| ^
.././locale.c: In function 'locale_isutf8':
.././locale.c:597:14: warning: unused variable 'encoding' [-Wunused-variable]
597 | char *cp, *encoding;
| ^~~~~~~~
rm -f findcmd.o
gcc -DPROGRAM='"bash"' -DCONF_HOSTTYPE='"x86_64"' -DCONF_OSTYPE='"linux-gnu"' -DCONF_MACHTYPE='"x86_64-pc-linux-gnu"' -DCONF_VENDOR='"pc"' -DLOCALEDIR='"/usr/share/locale"' -DPACKAGE='"bash"' -DSHELL -DHAVE_CONFIG_H -I. -I../. -I.././include -I.././lib -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -c .././findcmd.c
.././findcmd.c: In function '_find_user_command_internal':
.././findcmd.c:269:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
269 | if (var = find_variable_tempenv ("PATH")) /* XXX could be array? */
| ^~~
make[5]: Entering directory '/sonic/src/bash/bash-5.1/build-static/builtins'
gcc -DHAVE_CONFIG_H -DSHELL -I. -I.. -I../../. -I../.././include -I../.././lib -I../.././builtins -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wl,-z,relro -rdynamic -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -rdynamic -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -o psize.aux ../.././builtins/psize.c
/bin/sh ../.././builtins/psize.sh > pipesize.h
make[5]: Leaving directory '/sonic/src/bash/bash-5.1/build-static/builtins'
rm -f redir.o
gcc -DPROGRAM='"bash"' -DCONF_HOSTTYPE='"x86_64"' -DCONF_OSTYPE='"linux-gnu"' -DCONF_MACHTYPE='"x86_64-pc-linux-gnu"' -DCONF_VENDOR='"pc"' -DLOCALEDIR='"/usr/share/locale"' -DPACKAGE='"bash"' -DSHELL -DHAVE_CONFIG_H -I. -I../. -I.././include -I.././lib -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -c .././redir.c
.././redir.c: In function 'redir_varvalue':
.././redir.c:1462:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
1462 | if (vr = valid_array_reference (w, 0))
| ^~
.././redir.c:1477:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
1477 | if (vr = valid_array_reference (w, 0))
| ^~
At top level:
.././redir.c:762:1: warning: 'undoablefd' defined but not used [-Wunused-function]
762 | undoablefd (fd)
| ^~~~~~~~~~
.././redir.c: In function 'do_redirection_internal.constprop':
.././redir.c:906:20: warning: 'oflags' may be used uninitialized in this function [-Wmaybe-uninitialized]
906 | redirectee->flags = oflags;
| ~~~~~~~~~~~~~~~~~~^~~~~~~~
.././redir.c:882:10: warning: 'new_redirect' may be used uninitialized in this function [-Wmaybe-uninitialized]
882 | ri = new_redirect->instruction;
| ~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
rm -f pcomplete.o
gcc -DPROGRAM='"bash"' -DCONF_HOSTTYPE='"x86_64"' -DCONF_OSTYPE='"linux-gnu"' -DCONF_MACHTYPE='"x86_64-pc-linux-gnu"' -DCONF_VENDOR='"pc"' -DLOCALEDIR='"/usr/share/locale"' -DPACKAGE='"bash"' -DSHELL -DHAVE_CONFIG_H -I. -I../. -I.././include -I.././lib -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -c .././pcomplete.c
rm -f pcomplib.o
gcc -DPROGRAM='"bash"' -DCONF_HOSTTYPE='"x86_64"' -DCONF_OSTYPE='"linux-gnu"' -DCONF_MACHTYPE='"x86_64-pc-linux-gnu"' -DCONF_VENDOR='"pc"' -DLOCALEDIR='"/usr/share/locale"' -DPACKAGE='"bash"' -DSHELL -DHAVE_CONFIG_H -I. -I../. -I.././include -I.././lib -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -c .././pcomplib.c
rm -f syntax.o
gcc -DPROGRAM='"bash"' -DCONF_HOSTTYPE='"x86_64"' -DCONF_OSTYPE='"linux-gnu"' -DCONF_MACHTYPE='"x86_64-pc-linux-gnu"' -DCONF_VENDOR='"pc"' -DLOCALEDIR='"/usr/share/locale"' -DPACKAGE='"bash"' -DSHELL -DHAVE_CONFIG_H -I. -I../. -I.././include -I.././lib -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -c syntax.c
rm -f xmalloc.o
gcc -DPROGRAM='"bash"' -DCONF_HOSTTYPE='"x86_64"' -DCONF_OSTYPE='"linux-gnu"' -DCONF_MACHTYPE='"x86_64-pc-linux-gnu"' -DCONF_VENDOR='"pc"' -DLOCALEDIR='"/usr/share/locale"' -DPACKAGE='"bash"' -DSHELL -DHAVE_CONFIG_H -I. -I../. -I.././include -I.././lib -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -c .././xmalloc.c
rm -f plugin.o
gcc -DPROGRAM='"bash"' -DCONF_HOSTTYPE='"x86_64"' -DCONF_OSTYPE='"linux-gnu"' -DCONF_MACHTYPE='"x86_64-pc-linux-gnu"' -DCONF_VENDOR='"pc"' -DLOCALEDIR='"/usr/share/locale"' -DPACKAGE='"bash"' -DSHELL -DHAVE_CONFIG_H -I. -I../. -I.././include -I.././lib -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -c .././plugin.c
.././plugin.c: In function 'invoke_plugin_on_shell_execve':
.././plugin.c:421:15: warning: unused variable 'real_path_buffer' [-Wunused-variable]
421 | char* real_path_buffer = realpath(cmd, resolved_path);
| ^~~~~~~~~~~~~~~~
make[5]: Entering directory '/sonic/src/bash/bash-5.1/build-static/builtins'
rm -f builtins.o
gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I.. -I../../. -I../.././include -I../.././lib -I../.././builtins -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall builtins.c
rm -f alias.o
./mkbuiltins -D ../.././builtins ../.././builtins/alias.def
gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I.. -I../../. -I../.././include -I../.././lib -I../.././builtins -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall alias.c || ( rm -f alias.c ; exit 1 )
rm -f alias.c
rm -f bind.o
./mkbuiltins -D ../.././builtins ../.././builtins/bind.def
gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I.. -I../../. -I../.././include -I../.././lib -I../.././builtins -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall bind.c || ( rm -f bind.c ; exit 1 )
rm -f bind.c
rm -f break.o
./mkbuiltins -D ../.././builtins ../.././builtins/break.def
gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I.. -I../../. -I../.././include -I../.././lib -I../.././builtins -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall break.c || ( rm -f break.c ; exit 1 )
rm -f break.c
rm -f builtin.o
./mkbuiltins -D ../.././builtins ../.././builtins/builtin.def
gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I.. -I../../. -I../.././include -I../.././lib -I../.././builtins -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall builtin.c || ( rm -f builtin.c ; exit 1 )
rm -f builtin.c
rm -f caller.o
./mkbuiltins -D ../.././builtins ../.././builtins/caller.def
gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I.. -I../../. -I../.././include -I../.././lib -I../.././builtins -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall caller.c || ( rm -f caller.c ; exit 1 )
rm -f caller.c
rm -f cd.o
./mkbuiltins -D ../.././builtins ../.././builtins/cd.def
gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I.. -I../../. -I../.././include -I../.././lib -I../.././builtins -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall cd.c || ( rm -f cd.c ; exit 1 )
../.././builtins/../.././builtins/cd.def: In function 'cd_builtin':
../.././builtins/../.././builtins/cd.def:370:14: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
../.././builtins/../.././builtins/cd.def: In function 'change_to_directory':
../.././builtins/../.././builtins/cd.def:555:20: warning: unused variable 'ndir' [-Wunused-variable]
At top level:
../.././builtins/../.././builtins/cd.def:198:1: warning: 'cdxattr' defined but not used [-Wunused-function]
rm -f cd.c
rm -f colon.o
./mkbuiltins -D ../.././builtins ../.././builtins/colon.def
gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I.. -I../../. -I../.././include -I../.././lib -I../.././builtins -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall colon.c || ( rm -f colon.c ; exit 1 )
rm -f colon.c
rm -f command.o
./mkbuiltins -D ../.././builtins ../.././builtins/command.def
gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I.. -I../../. -I../.././include -I../.././lib -I../.././builtins -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall command.c || ( rm -f command.c ; exit 1 )
rm -f command.c
rm -f common.o
gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I.. -I../../. -I../.././include -I../.././lib -I../.././builtins -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall ../.././builtins/common.c
rm -f declare.o
./mkbuiltins -D ../.././builtins ../.././builtins/declare.def
gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I.. -I../../. -I../.././include -I../.././lib -I../.././builtins -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall declare.c || ( rm -f declare.c ; exit 1 )
../.././builtins/../.././builtins/declare.def: In function 'declare_internal':
../.././builtins/../.././builtins/declare.def:319:11: warning: variable 'var_exists' set but not used [-Wunused-but-set-variable]
rm -f declare.c
rm -f echo.o
./mkbuiltins -D ../.././builtins ../.././builtins/echo.def
gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I.. -I../../. -I../.././include -I../.././lib -I../.././builtins -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall echo.c || ( rm -f echo.c ; exit 1 )
../.././builtins/../.././builtins/echo.def: In function 'echo_builtin':
../.././builtins/../.././builtins/echo.def:141:14: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
rm -f echo.c
rm -f enable.o
./mkbuiltins -D ../.././builtins ../.././builtins/enable.def
gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I.. -I../../. -I../.././include -I../.././lib -I../.././builtins -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall enable.c || ( rm -f enable.c ; exit 1 )
rm -f enable.c
rm -f eval.o
./mkbuiltins -D ../.././builtins ../.././builtins/eval.def
gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I.. -I../../. -I../.././include -I../.././lib -I../.././builtins -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall eval.c || ( rm -f eval.c ; exit 1 )
rm -f eval.c
rm -f evalfile.o
gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I.. -I../../. -I../.././include -I../.././lib -I../.././builtins -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall ../.././builtins/evalfile.c
rm -f evalstring.o
gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I.. -I../../. -I../.././include -I../.././lib -I../.././builtins -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall ../.././builtins/evalstring.c
../.././builtins/evalstring.c: In function 'parse_and_execute':
../.././builtins/evalstring.c:402:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
402 | else if (command = global_command)
| ^~~~~~~
rm -f exec.o
./mkbuiltins -D ../.././builtins ../.././builtins/exec.def
gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I.. -I../../. -I../.././include -I../.././lib -I../.././builtins -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall exec.c || ( rm -f exec.c ; exit 1 )
../.././builtins/../.././builtins/exec.def: In function 'exec_builtin':
../.././builtins/../.././builtins/exec.def:268:6: warning: 'orig_job_control' may be used uninitialized in this function [-Wmaybe-uninitialized]
rm -f exec.c
rm -f exit.o
./mkbuiltins -D ../.././builtins ../.././builtins/exit.def
gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I.. -I../../. -I../.././include -I../.././lib -I../.././builtins -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall exit.c || ( rm -f exit.c ; exit 1 )
rm -f exit.c
rm -f fc.o
./mkbuiltins -D ../.././builtins ../.././builtins/fc.def
gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I.. -I../../. -I../.././include -I../.././lib -I../.././builtins -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall fc.c || ( rm -f fc.c ; exit 1 )
rm -f fc.c
rm -f fg_bg.o
./mkbuiltins -D ../.././builtins ../.././builtins/fg_bg.def
gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I.. -I../../. -I../.././include -I../.././lib -I../.././builtins -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall fg_bg.c || ( rm -f fg_bg.c ; exit 1 )
rm -f fg_bg.c
rm -f hash.o
./mkbuiltins -D ../.././builtins ../.././builtins/hash.def
gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I.. -I../../. -I../.././include -I../.././lib -I../.././builtins -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall hash.c || ( rm -f hash.c ; exit 1 )
rm -f hash.c
rm -f help.o
./mkbuiltins -D ../.././builtins ../.././builtins/help.def
gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I.. -I../../. -I../.././include -I../.././lib -I../.././builtins -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall help.c || ( rm -f help.c ; exit 1 )
../.././builtins/../.././builtins/help.def: In function 'help_builtin':
../.././builtins/../.././builtins/help.def:145:16: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
../.././builtins/../.././builtins/help.def: In function 'show_desc':
../.././builtins/../.././builtins/help.def:261:19: warning: variable 'r' set but not used [-Wunused-but-set-variable]
../.././builtins/../.././builtins/help.def: In function 'show_builtin_command_help':
../.././builtins/../.././builtins/help.def:521:9: warning: unused variable 't' [-Wunused-variable]
../.././builtins/../.././builtins/help.def:519:10: warning: unused variable 'j' [-Wunused-variable]
rm -f help.c
rm -f history.o
./mkbuiltins -D ../.././builtins ../.././builtins/history.def
gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I.. -I../../. -I../.././include -I../.././lib -I../.././builtins -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall history.c || ( rm -f history.c ; exit 1 )
../.././builtins/../.././builtins/history.def: In function 'history_builtin':
../.././builtins/../.././builtins/history.def:188:4: warning: 'delete_arg' may be used uninitialized in this function [-Wmaybe-uninitialized]
rm -f history.c
rm -f jobs.o
./mkbuiltins -D ../.././builtins ../.././builtins/jobs.def
gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I.. -I../../. -I../.././include -I../.././lib -I../.././builtins -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall jobs.c || ( rm -f jobs.c ; exit 1 )
rm -f jobs.c
rm -f kill.o
./mkbuiltins -D ../.././builtins ../.././builtins/kill.def
gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I.. -I../../. -I../.././include -I../.././lib -I../.././builtins -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall kill.c || ( rm -f kill.c ; exit 1 )
rm -f kill.c
rm -f let.o
./mkbuiltins -D ../.././builtins ../.././builtins/let.def
gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I.. -I../../. -I../.././include -I../.././lib -I../.././builtins -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall let.c || ( rm -f let.c ; exit 1 )
rm -f let.c
rm -f mapfile.o
./mkbuiltins -D ../.././builtins ../.././builtins/mapfile.def
gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I.. -I../../. -I../.././include -I../.././lib -I../.././builtins -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall mapfile.c || ( rm -f mapfile.c ; exit 1 )
rm -f mapfile.c
rm -f pushd.o
./mkbuiltins -D ../.././builtins ../.././builtins/pushd.def
gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I.. -I../../. -I../.././include -I../.././lib -I../.././builtins -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall pushd.c || ( rm -f pushd.c ; exit 1 )
rm -f pushd.c
rm -f read.o
./mkbuiltins -D ../.././builtins ../.././builtins/read.def
gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I.. -I../../. -I../.././include -I../.././lib -I../.././builtins -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall read.c || ( rm -f read.c ; exit 1 )
rm -f read.c
rm -f return.o
./mkbuiltins -D ../.././builtins ../.././builtins/return.def
gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I.. -I../../. -I../.././include -I../.././lib -I../.././builtins -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall return.c || ( rm -f return.c ; exit 1 )
rm -f return.c
rm -f set.o
./mkbuiltins -D ../.././builtins ../.././builtins/set.def
gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I.. -I../../. -I../.././include -I../.././lib -I../.././builtins -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall set.c || ( rm -f set.c ; exit 1 )
../.././builtins/../.././builtins/set.def: In function 'parse_shellopts':
../.././builtins/../.././builtins/set.def:617:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
../.././builtins/../.././builtins/set.def: In function 'set_builtin':
../.././builtins/../.././builtins/set.def:742:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
../.././builtins/../.././builtins/set.def: In function 'unset_builtin':
../.././builtins/../.././builtins/set.def:946:8: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
../.././builtins/../.././builtins/set.def:985:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
../.././builtins/../.././builtins/set.def:1003:15: warning: 'tem' may be used uninitialized in this function [-Wmaybe-uninitialized]
rm -f set.c
rm -f setattr.o
./mkbuiltins -D ../.././builtins ../.././builtins/setattr.def
gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I.. -I../../. -I../.././include -I../.././lib -I../.././builtins -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall setattr.c || ( rm -f setattr.c ; exit 1 )
../.././builtins/../.././builtins/setattr.def: In function 'set_or_show_attributes':
../.././builtins/../.././builtins/setattr.def:320:16: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
../.././builtins/../.././builtins/setattr.def:337:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
../.././builtins/../.././builtins/setattr.def: In function 'show_all_var_attributes':
../.././builtins/../.././builtins/setattr.def:364:28: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
../.././builtins/../.././builtins/setattr.def:367:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
../.././builtins/../.././builtins/setattr.def: In function 'show_local_var_attributes':
../.././builtins/../.././builtins/setattr.def:388:28: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
../.././builtins/../.././builtins/setattr.def:391:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
rm -f setattr.c
rm -f shift.o
./mkbuiltins -D ../.././builtins ../.././builtins/shift.def
gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I.. -I../../. -I../.././include -I../.././lib -I../.././builtins -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall shift.c || ( rm -f shift.c ; exit 1 )
rm -f shift.c
rm -f source.o
./mkbuiltins -D ../.././builtins ../.././builtins/source.def
gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I.. -I../../. -I../.././include -I../.././lib -I../.././builtins -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall source.c || ( rm -f source.c ; exit 1 )
rm -f source.c
rm -f suspend.o
./mkbuiltins -D ../.././builtins ../.././builtins/suspend.def
gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I.. -I../../. -I../.././include -I../.././lib -I../.././builtins -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall suspend.c || ( rm -f suspend.c ; exit 1 )
rm -f suspend.c
rm -f test.o
./mkbuiltins -D ../.././builtins ../.././builtins/test.def
gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I.. -I../../. -I../.././include -I../.././lib -I../.././builtins -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall test.c || ( rm -f test.c ; exit 1 )
rm -f test.c
rm -f times.o
./mkbuiltins -D ../.././builtins ../.././builtins/times.def
gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I.. -I../../. -I../.././include -I../.././lib -I../.././builtins -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall times.c || ( rm -f times.c ; exit 1 )
rm -f times.c
rm -f trap.o
./mkbuiltins -D ../.././builtins ../.././builtins/trap.def
gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I.. -I../../. -I../.././include -I../.././lib -I../.././builtins -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall trap.c || ( rm -f trap.c ; exit 1 )
rm -f trap.c
rm -f type.o
./mkbuiltins -D ../.././builtins ../.././builtins/type.def
gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I.. -I../../. -I../.././include -I../.././lib -I../.././builtins -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall type.c || ( rm -f type.c ; exit 1 )
../.././builtins/../.././builtins/type.def: In function 'describe_command':
../.././builtins/../.././builtins/type.def:338:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
rm -f type.c
rm -f ulimit.o
./mkbuiltins -D ../.././builtins ../.././builtins/ulimit.def
gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I.. -I../../. -I../.././include -I../.././lib -I../.././builtins -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall ulimit.c || ( rm -f ulimit.c ; exit 1 )
../.././builtins/../.././builtins/ulimit.def:774:1: warning: 'set_all_limits' defined but not used [-Wunused-function]
rm -f ulimit.c
rm -f umask.o
./mkbuiltins -D ../.././builtins ../.././builtins/umask.def
gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I.. -I../../. -I../.././include -I../.././lib -I../.././builtins -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall umask.c || ( rm -f umask.c ; exit 1 )
rm -f umask.c
rm -f wait.o
./mkbuiltins -D ../.././builtins ../.././builtins/wait.def
gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I.. -I../../. -I../.././include -I../.././lib -I../.././builtins -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall wait.c || ( rm -f wait.c ; exit 1 )
../.././builtins/../.././builtins/wait.def: In function 'wait_builtin':
../.././builtins/../.././builtins/wait.def:116:14: warning: variable 'pidvar' set but not used [-Wunused-but-set-variable]
../.././builtins/../.././builtins/wait.def: In function 'set_waitlist':
../.././builtins/../.././builtins/wait.def:321:12: warning: unused variable 'r' [-Wunused-variable]
rm -f wait.c
rm -f getopts.o
./mkbuiltins -D ../.././builtins ../.././builtins/getopts.def
gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I.. -I../../. -I../.././include -I../.././lib -I../.././builtins -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall getopts.c || ( rm -f getopts.c ; exit 1 )
rm -f getopts.c
rm -f shopt.o
./mkbuiltins -D ../.././builtins ../.././builtins/shopt.def
gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I.. -I../../. -I../.././include -I../.././lib -I../.././builtins -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall shopt.c || ( rm -f shopt.c ; exit 1 )
../.././builtins/../.././builtins/shopt.def: In function 'toggle_shopts':
../.././builtins/../.././builtins/shopt.def:458:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
../.././builtins/../.././builtins/shopt.def: In function 'set_bashopts':
../.././builtins/../.././builtins/shopt.def:801:24: warning: unused variable 'ip' [-Wunused-variable]
../.././builtins/../.././builtins/shopt.def: In function 'parse_bashopts':
../.././builtins/../.././builtins/shopt.def:862:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
rm -f shopt.c
rm -f printf.o
./mkbuiltins -D ../.././builtins ../.././builtins/printf.def
gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I.. -I../../. -I../.././include -I../.././lib -I../.././builtins -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall printf.c || ( rm -f printf.c ; exit 1 )
rm -f printf.c
rm -f getopt.o
gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I.. -I../../. -I../.././include -I../.././lib -I../.././builtins -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall ../.././builtins/getopt.c
../.././builtins/getopt.c: In function 'sh_getopt':
../.././builtins/getopt.c:182:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
182 | if (sh_badopt = (temp == NULL || c == ':'))
| ^~~~~~~~~
rm -f bashgetopt.o
gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I.. -I../../. -I../.././include -I../.././lib -I../.././builtins -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall ../.././builtins/bashgetopt.c
rm -f complete.o
./mkbuiltins -D ../.././builtins ../.././builtins/complete.def
gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I.. -I../../. -I../.././include -I../.././lib -I../.././builtins -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall complete.c || ( rm -f complete.c ; exit 1 )
rm -f complete.c
rm -f libbuiltins.a
ar cr libbuiltins.a builtins.o alias.o bind.o break.o builtin.o caller.o cd.o colon.o command.o common.o declare.o echo.o enable.o eval.o evalfile.o evalstring.o exec.o exit.o fc.o fg_bg.o hash.o help.o history.o jobs.o kill.o let.o mapfile.o pushd.o read.o return.o set.o setattr.o shift.o source.o suspend.o test.o times.o trap.o type.o ulimit.o umask.o wait.o getopts.o shopt.o printf.o getopt.o bashgetopt.o complete.o
ranlib libbuiltins.a
make[5]: Leaving directory '/sonic/src/bash/bash-5.1/build-static/builtins'
making lib/glob/libglob.a in ./lib/glob
make[5]: Entering directory '/sonic/src/bash/bash-5.1/build-static/lib/glob'
rm -f glob.o
gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I../.. -I../../../. -I../../.././include -I../../.././lib -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall ../../.././lib/glob/glob.c
../../.././lib/glob/glob.c: In function 'extglob_skipname':
../../.././lib/glob/glob.c:230:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
230 | while (t = glob_patscan (pp, pe, '|'))
| ^
../../.././lib/glob/glob.c:197:27: warning: variable 'nullpat' set but not used [-Wunused-but-set-variable]
197 | int n, r, negate, wild, nullpat;
| ^~~~~~~
../../.././lib/glob/glob.c:197:13: warning: variable 'negate' set but not used [-Wunused-but-set-variable]
197 | int n, r, negate, wild, nullpat;
| ^~~~~~
../../.././lib/glob/glob.c: In function 'wextglob_skipname':
../../.././lib/glob/glob.c:348:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
348 | while (t = glob_patscan_wc (pp, pe, '|'))
| ^
../../.././lib/glob/glob.c:324:24: warning: variable 'nullpat' set but not used [-Wunused-but-set-variable]
324 | int r, negate, wild, nullpat;
| ^~~~~~~
../../.././lib/glob/glob.c:324:10: warning: variable 'negate' set but not used [-Wunused-but-set-variable]
324 | int r, negate, wild, nullpat;
| ^~~~~~
../../.././lib/glob/glob.c: In function 'wdequote_pathname':
../../.././lib/glob/glob.c:462:10: warning: unused variable 'j' [-Wunused-variable]
462 | int i, j;
| ^
../../.././lib/glob/glob.c:462:7: warning: unused variable 'i' [-Wunused-variable]
462 | int i, j;
| ^
../../.././lib/glob/glob.c: In function 'finddirs':
../../.././lib/glob/glob.c:565:14: warning: unused variable 'n' [-Wunused-variable]
565 | char **r, *n;
| ^
../../.././lib/glob/glob.c: In function 'glob_filename':
../../.././lib/glob/glob.c:1285:12: warning: unused variable 'dlen' [-Wunused-variable]
1285 | int dlen;
| ^~~~
../../.././lib/glob/glob.c: In function 'skipname.isra':
../../.././lib/glob/glob.c:197:10: warning: 'r' may be used uninitialized in this function [-Wmaybe-uninitialized]
197 | int n, r, negate, wild, nullpat;
| ^
../../.././lib/glob/glob.c: In function 'mbskipname.isra':
../../.././lib/glob/glob.c:408:10: warning: 'ret' may be used uninitialized in this function [-Wmaybe-uninitialized]
408 | return ret;
| ^~~
../../.././lib/glob/glob.c: In function 'glob_vector':
../../.././lib/glob/glob.c:836:11: warning: 'isdir' may be used uninitialized in this function [-Wmaybe-uninitialized]
836 | if (isdir == 0)
| ^
../../.././lib/glob/glob.c:841:9: warning: 'subdir' may be used uninitialized in this function [-Wmaybe-uninitialized]
841 | free (subdir);
| ^~~~~~~~~~~~~
rm -f strmatch.o
gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I../.. -I../../../. -I../../.././include -I../../.././lib -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall ../../.././lib/glob/strmatch.c
rm -f smatch.o
gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I../.. -I../../../. -I../../.././include -I../../.././lib -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall ../../.././lib/glob/smatch.c
../../.././lib/glob/smatch.c: In function 'charcmp':
../../.././lib/glob/smatch.c:108:7: warning: unused variable 'ret' [-Wunused-variable]
108 | int ret;
| ^~~
In file included from ../../.././lib/glob/smatch.c:330:
../../.././lib/glob/sm_loop.c: In function 'brackmatch':
../../.././lib/glob/sm_loop.c:404:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
404 | if (not = (*p == L('!') || *p == L('^')))
| ^~~
../../.././lib/glob/sm_loop.c: In function 'glob_patscan':
../../.././lib/glob/sm_loop.c:683:20: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
683 | for (s = string; c = *s; s++)
| ^
../../.././lib/glob/sm_loop.c: In function 'extmatch':
../../.././lib/glob/sm_loop.c:894:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
894 | if (m1 = (GMATCH (s, srest, psub, pnext - 1, NULL, flags) == 0))
| ^~
../../.././lib/glob/smatch.c: In function 'charcmp_wc':
../../.././lib/glob/smatch.c:386:7: warning: unused variable 'r' [-Wunused-variable]
386 | int r;
| ^
../../.././lib/glob/smatch.c: In function 'collequiv_wc':
../../.././lib/glob/smatch.c:421:14: warning: unused variable 'p' [-Wunused-variable]
421 | wchar_t s, p;
| ^
../../.././lib/glob/smatch.c:421:11: warning: unused variable 's' [-Wunused-variable]
421 | wchar_t s, p;
| ^
../../.././lib/glob/smatch.c: In function 'posix_cclass_only':
../../.././lib/glob/smatch.c:525:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
525 | while (p = strchr (p, '['))
| ^
In file included from ../../.././lib/glob/smatch.c:575:
../../.././lib/glob/sm_loop.c: In function 'brackmatch_wc':
../../.././lib/glob/sm_loop.c:404:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
404 | if (not = (*p == L('!') || *p == L('^')))
| ^~~
../../.././lib/glob/sm_loop.c: In function 'glob_patscan_wc':
../../.././lib/glob/sm_loop.c:683:20: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
683 | for (s = string; c = *s; s++)
| ^
../../.././lib/glob/sm_loop.c: In function 'extmatch_wc':
../../.././lib/glob/sm_loop.c:894:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
894 | if (m1 = (GMATCH (s, srest, psub, pnext - 1, NULL, flags) == 0))
| ^~
../../.././lib/glob/smatch.c: In function 'xstrmatch':
../../.././lib/glob/smatch.c:589:29: warning: unused variable 'mslen' [-Wunused-variable]
589 | size_t plen, slen, mplen, mslen;
| ^~~~~
../../.././lib/glob/smatch.c:589:22: warning: unused variable 'mplen' [-Wunused-variable]
589 | size_t plen, slen, mplen, mslen;
| ^~~~~
../../.././lib/glob/smatch.c:589:16: warning: unused variable 'slen' [-Wunused-variable]
589 | size_t plen, slen, mplen, mslen;
| ^~~~
../../.././lib/glob/smatch.c:589:10: warning: unused variable 'plen' [-Wunused-variable]
589 | size_t plen, slen, mplen, mslen;
| ^~~~
rm -f xmbsrtowcs.o
gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I../.. -I../../../. -I../../.././include -I../../.././lib -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall ../../.././lib/glob/xmbsrtowcs.c
../../.././lib/glob/xmbsrtowcs.c: In function 'xwcsrtombs':
../../.././lib/glob/xmbsrtowcs.c:456:1: warning: label 'handle_byte' defined but not used [-Wunused-label]
456 | handle_byte:
| ^~~~~~~~~~~
../../.././lib/glob/xmbsrtowcs.c:429:13: warning: unused variable 'prev_state' [-Wunused-variable]
429 | mbstate_t prev_state;
| ^~~~~~~~~~
rm -f gmisc.o
gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I../.. -I../../../. -I../../.././include -I../../.././lib -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall ../../.././lib/glob/gmisc.c
In file included from ../../.././lib/glob/gmisc.c:57:
../../.././lib/glob/gm_loop.c: In function 'umatchlen':
../../.././lib/glob/gm_loop.c:85:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
85 | while (c = *pat++)
| ^
../../.././lib/glob/gm_loop.c:79:25: warning: unused variable 't' [-Wunused-variable]
79 | int matlen, bracklen, t, in_cclass, in_collsym, in_equiv;
| ^
In file included from ../../.././lib/glob/gmisc.c:72:
../../.././lib/glob/gm_loop.c: In function 'wmatchlen':
../../.././lib/glob/gm_loop.c:85:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
85 | while (c = *pat++)
| ^
../../.././lib/glob/gm_loop.c:79:25: warning: unused variable 't' [-Wunused-variable]
79 | int matlen, bracklen, t, in_cclass, in_collsym, in_equiv;
| ^
rm -f -f libglob.a
ar cr libglob.a glob.o strmatch.o smatch.o xmbsrtowcs.o gmisc.o
test -n "ranlib" && ranlib libglob.a
make[5]: Leaving directory '/sonic/src/bash/bash-5.1/build-static/lib/glob'
making lib/sh/libsh.a in ./lib/sh
make[5]: Entering directory '/sonic/src/bash/bash-5.1/build-static/lib/sh'
gcc -c -I. -I../.. -I../../../. -I../../.././lib -I../../.././include -I../../.././lib/sh -DHAVE_CONFIG_H -DSHELL -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wdate-time -D_FORTIFY_SOURCE=2 ../../.././lib/sh/clktck.c
gcc -c -I. -I../.. -I../../../. -I../../.././lib -I../../.././include -I../../.././lib/sh -DHAVE_CONFIG_H -DSHELL -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wdate-time -D_FORTIFY_SOURCE=2 ../../.././lib/sh/clock.c
gcc -c -I. -I../.. -I../../../. -I../../.././lib -I../../.././include -I../../.././lib/sh -DHAVE_CONFIG_H -DSHELL -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wdate-time -D_FORTIFY_SOURCE=2 ../../.././lib/sh/getenv.c
../../.././lib/sh/getenv.c: In function 'getenv':
../../.././lib/sh/getenv.c:55:6: warning: 'nonnull' argument 'name' compared to NULL [-Wnonnull-compare]
55 | if (name == 0 || *name == '\0')
| ^
../../.././lib/sh/getenv.c: In function 'putenv':
../../.././lib/sh/getenv.c:112:6: warning: 'nonnull' argument 'str' compared to NULL [-Wnonnull-compare]
112 | if (str == 0 || *str == '\0')
| ^
../../.././lib/sh/getenv.c: In function 'unsetenv':
../../.././lib/sh/getenv.c:214:6: warning: 'nonnull' argument 'name' compared to NULL [-Wnonnull-compare]
214 | if (name == 0 || *name == '\0' || strchr (name, '=') != 0)
| ^
gcc -c -I. -I../.. -I../../../. -I../../.././lib -I../../.././include -I../../.././lib/sh -DHAVE_CONFIG_H -DSHELL -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wdate-time -D_FORTIFY_SOURCE=2 ../../.././lib/sh/oslib.c
gcc -c -I. -I../.. -I../../../. -I../../.././lib -I../../.././include -I../../.././lib/sh -DHAVE_CONFIG_H -DSHELL -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wdate-time -D_FORTIFY_SOURCE=2 ../../.././lib/sh/setlinebuf.c
gcc -c -I. -I../.. -I../../../. -I../../.././lib -I../../.././include -I../../.././lib/sh -DHAVE_CONFIG_H -DSHELL -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wdate-time -D_FORTIFY_SOURCE=2 ../../.././lib/sh/strnlen.c
gcc -c -I. -I../.. -I../../../. -I../../.././lib -I../../.././include -I../../.././lib/sh -DHAVE_CONFIG_H -DSHELL -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wdate-time -D_FORTIFY_SOURCE=2 ../../.././lib/sh/itos.c
gcc -c -I. -I../.. -I../../../. -I../../.././lib -I../../.././include -I../../.././lib/sh -DHAVE_CONFIG_H -DSHELL -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wdate-time -D_FORTIFY_SOURCE=2 ../../.././lib/sh/zread.c
gcc -c -I. -I../.. -I../../../. -I../../.././lib -I../../.././include -I../../.././lib/sh -DHAVE_CONFIG_H -DSHELL -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wdate-time -D_FORTIFY_SOURCE=2 ../../.././lib/sh/zwrite.c
gcc -c -I. -I../.. -I../../../. -I../../.././lib -I../../.././include -I../../.././lib/sh -DHAVE_CONFIG_H -DSHELL -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wdate-time -D_FORTIFY_SOURCE=2 ../../.././lib/sh/shtty.c
gcc -c -I. -I../.. -I../../../. -I../../.././lib -I../../.././include -I../../.././lib/sh -DHAVE_CONFIG_H -DSHELL -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wdate-time -D_FORTIFY_SOURCE=2 ../../.././lib/sh/shmatch.c
gcc -c -I. -I../.. -I../../../. -I../../.././lib -I../../.././include -I../../.././lib/sh -DHAVE_CONFIG_H -DSHELL -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wdate-time -D_FORTIFY_SOURCE=2 ../../.././lib/sh/eaccess.c
../../.././lib/sh/eaccess.c:176:1: warning: 'sh_euidaccess' defined but not used [-Wunused-function]
176 | sh_euidaccess (path, mode)
| ^~~~~~~~~~~~~
gcc -c -I. -I../.. -I../../../. -I../../.././lib -I../../.././include -I../../.././lib/sh -DHAVE_CONFIG_H -DSHELL -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wdate-time -D_FORTIFY_SOURCE=2 ../../.././lib/sh/netconn.c
gcc -c -I. -I../.. -I../../../. -I../../.././lib -I../../.././include -I../../.././lib/sh -DHAVE_CONFIG_H -DSHELL -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wdate-time -D_FORTIFY_SOURCE=2 ../../.././lib/sh/netopen.c
gcc -c -I. -I../.. -I../../../. -I../../.././lib -I../../.././include -I../../.././lib/sh -DHAVE_CONFIG_H -DSHELL -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wdate-time -D_FORTIFY_SOURCE=2 ../../.././lib/sh/timeval.c
gcc -c -I. -I../.. -I../../../. -I../../.././lib -I../../.././include -I../../.././lib/sh -DHAVE_CONFIG_H -DSHELL -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wdate-time -D_FORTIFY_SOURCE=2 ../../.././lib/sh/makepath.c
../../.././lib/sh/makepath.c: In function 'sh_makepath':
../../.././lib/sh/makepath.c:123:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
123 | while (*r++ = *s++)
| ^
gcc -c -I. -I../.. -I../../../. -I../../.././lib -I../../.././include -I../../.././lib/sh -DHAVE_CONFIG_H -DSHELL -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wdate-time -D_FORTIFY_SOURCE=2 ../../.././lib/sh/pathcanon.c
../../.././lib/sh/pathcanon.c: In function 'sh_canonpath':
../../.././lib/sh/pathcanon.c:117:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
117 | if (rooted = ROOTEDPATH(path))
| ^~~~~~
gcc -c -I. -I../.. -I../../../. -I../../.././lib -I../../.././include -I../../.././lib/sh -DHAVE_CONFIG_H -DSHELL -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wdate-time -D_FORTIFY_SOURCE=2 ../../.././lib/sh/pathphys.c
gcc -c -I. -I../.. -I../../../. -I../../.././lib -I../../.././include -I../../.././lib/sh -DHAVE_CONFIG_H -DSHELL -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wdate-time -D_FORTIFY_SOURCE=2 ../../.././lib/sh/tmpfile.c
../../.././lib/sh/tmpfile.c: In function 'sh_mktmpname':
../../.././lib/sh/tmpfile.c:142:14: warning: unused variable 'seeded' [-Wunused-variable]
142 | static int seeded = 0;
| ^~~~~~
../../.././lib/sh/tmpfile.c:141:10: warning: variable 'tdlen' set but not used [-Wunused-but-set-variable]
141 | int r, tdlen;
| ^~~~~
../../.././lib/sh/tmpfile.c:141:7: warning: unused variable 'r' [-Wunused-variable]
141 | int r, tdlen;
| ^
../../.././lib/sh/tmpfile.c:140:15: warning: unused variable 'sb' [-Wunused-variable]
140 | struct stat sb;
| ^~
../../.././lib/sh/tmpfile.c: In function 'sh_mktmpfd':
../../.././lib/sh/tmpfile.c:196:11: warning: variable 'tdlen' set but not used [-Wunused-but-set-variable]
196 | int fd, tdlen;
| ^~~~~
../../.././lib/sh/tmpfile.c: In function 'sh_mktmpdir':
../../.././lib/sh/tmpfile.c:271:11: warning: variable 'tdlen' set but not used [-Wunused-but-set-variable]
271 | int fd, tdlen;
| ^~~~~
../../.././lib/sh/tmpfile.c:271:7: warning: unused variable 'fd' [-Wunused-variable]
271 | int fd, tdlen;
| ^~
At top level:
../../.././lib/sh/tmpfile.c:142:14: warning: 'seeded' defined but not used [-Wunused-variable]
142 | static int seeded = 0;
| ^~~~~~
../../.././lib/sh/tmpfile.c:118:1: warning: 'sh_seedrand' defined but not used [-Wunused-function]
118 | sh_seedrand ()
| ^~~~~~~~~~~
../../.././lib/sh/tmpfile.c:63:22: warning: 'filenum' defined but not used [-Wunused-variable]
63 | static unsigned long filenum = 1L;
| ^~~~~~~
../../.././lib/sh/tmpfile.c:61:12: warning: 'ntmpfiles' defined but not used [-Wunused-variable]
61 | static int ntmpfiles;
| ^~~~~~~~~
gcc -c -I. -I../.. -I../../../. -I../../.././lib -I../../.././include -I../../.././lib/sh -DHAVE_CONFIG_H -DSHELL -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wdate-time -D_FORTIFY_SOURCE=2 ../../.././lib/sh/stringlist.c
gcc -c -I. -I../.. -I../../../. -I../../.././lib -I../../.././include -I../../.././lib/sh -DHAVE_CONFIG_H -DSHELL -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wdate-time -D_FORTIFY_SOURCE=2 ../../.././lib/sh/stringvec.c
gcc -c -I. -I../.. -I../../../. -I../../.././lib -I../../.././include -I../../.././lib/sh -DHAVE_CONFIG_H -DSHELL -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wdate-time -D_FORTIFY_SOURCE=2 ../../.././lib/sh/spell.c
../../.././lib/sh/spell.c: In function 'spname':
../../.././lib/sh/spell.c:98:22: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
98 | for (p = best; *np = *p++; np++)
| ^
gcc -c -I. -I../.. -I../../../. -I../../.././lib -I../../.././include -I../../.././lib/sh -DHAVE_CONFIG_H -DSHELL -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wdate-time -D_FORTIFY_SOURCE=2 ../../.././lib/sh/shquote.c
gcc -c -I. -I../.. -I../../../. -I../../.././lib -I../../.././include -I../../.././lib/sh -DHAVE_CONFIG_H -DSHELL -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wdate-time -D_FORTIFY_SOURCE=2 ../../.././lib/sh/strtrans.c
../../.././lib/sh/strtrans.c: In function 'ansicstr':
../../.././lib/sh/strtrans.c:59:7: warning: unused variable 'b' [-Wunused-variable]
59 | int b, mb_cur_max;
| ^
../../.././lib/sh/strtrans.c: In function 'ansic_quote':
../../.././lib/sh/strtrans.c:253:17: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
253 | for (s = str; c = *s; s++)
| ^
../../.././lib/sh/strtrans.c: In function 'ansic_wshouldquote':
../../.././lib/sh/strtrans.c:337:21: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
337 | for (wcs = wcstr; wcc = *wcs; wcs++)
| ^~~
../../.././lib/sh/strtrans.c: In function 'ansic_shouldquote':
../../.././lib/sh/strtrans.c:360:20: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
360 | for (s = string; c = *s; s++)
| ^
gcc -c -I. -I../.. -I../../../. -I../../.././lib -I../../.././include -I../../.././lib/sh -DHAVE_CONFIG_H -DSHELL -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wdate-time -D_FORTIFY_SOURCE=2 ../../.././lib/sh/snprintf.c
gcc -c -I. -I../.. -I../../../. -I../../.././lib -I../../.././include -I../../.././lib/sh -DHAVE_CONFIG_H -DSHELL -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wdate-time -D_FORTIFY_SOURCE=2 ../../.././lib/sh/mailstat.c
gcc -c -I. -I../.. -I../../../. -I../../.././lib -I../../.././include -I../../.././lib/sh -DHAVE_CONFIG_H -DSHELL -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wdate-time -D_FORTIFY_SOURCE=2 ../../.././lib/sh/fmtulong.c
gcc -c -I. -I../.. -I../../../. -I../../.././lib -I../../.././include -I../../.././lib/sh -DHAVE_CONFIG_H -DSHELL -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wdate-time -D_FORTIFY_SOURCE=2 ../../.././lib/sh/fmtullong.c
gcc -c -I. -I../.. -I../../../. -I../../.././lib -I../../.././include -I../../.././lib/sh -DHAVE_CONFIG_H -DSHELL -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wdate-time -D_FORTIFY_SOURCE=2 ../../.././lib/sh/fmtumax.c
gcc -c -I. -I../.. -I../../../. -I../../.././lib -I../../.././include -I../../.././lib/sh -DHAVE_CONFIG_H -DSHELL -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wdate-time -D_FORTIFY_SOURCE=2 ../../.././lib/sh/zcatfd.c
gcc -c -I. -I../.. -I../../../. -I../../.././lib -I../../.././include -I../../.././lib/sh -DHAVE_CONFIG_H -DSHELL -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wdate-time -D_FORTIFY_SOURCE=2 ../../.././lib/sh/zmapfd.c
gcc -c -I. -I../.. -I../../../. -I../../.././lib -I../../.././include -I../../.././lib/sh -DHAVE_CONFIG_H -DSHELL -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wdate-time -D_FORTIFY_SOURCE=2 ../../.././lib/sh/winsize.c
gcc -c -I. -I../.. -I../../../. -I../../.././lib -I../../.././include -I../../.././lib/sh -DHAVE_CONFIG_H -DSHELL -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wdate-time -D_FORTIFY_SOURCE=2 ../../.././lib/sh/wcsdup.c
gcc -c -I. -I../.. -I../../../. -I../../.././lib -I../../.././include -I../../.././lib/sh -DHAVE_CONFIG_H -DSHELL -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wdate-time -D_FORTIFY_SOURCE=2 ../../.././lib/sh/fpurge.c
gcc -c -I. -I../.. -I../../../. -I../../.././lib -I../../.././include -I../../.././lib/sh -DHAVE_CONFIG_H -DSHELL -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wdate-time -D_FORTIFY_SOURCE=2 ../../.././lib/sh/zgetline.c
gcc -c -I. -I../.. -I../../../. -I../../.././lib -I../../.././include -I../../.././lib/sh -DHAVE_CONFIG_H -DSHELL -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wdate-time -D_FORTIFY_SOURCE=2 ../../.././lib/sh/mbscmp.c
gcc -c -I. -I../.. -I../../../. -I../../.././lib -I../../.././include -I../../.././lib/sh -DHAVE_CONFIG_H -DSHELL -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wdate-time -D_FORTIFY_SOURCE=2 ../../.././lib/sh/uconvert.c
gcc -c -I. -I../.. -I../../../. -I../../.././lib -I../../.././include -I../../.././lib/sh -DHAVE_CONFIG_H -DSHELL -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wdate-time -D_FORTIFY_SOURCE=2 ../../.././lib/sh/ufuncs.c
../../.././lib/sh/ufuncs.c: In function 'fsleep':
../../.././lib/sh/ufuncs.c:92:26: warning: unused variable 'prevmask' [-Wunused-variable]
92 | sigset_t blocked_sigs, prevmask;
| ^~~~~~~~
gcc -c -I. -I../.. -I../../../. -I../../.././lib -I../../.././include -I../../.././lib/sh -DHAVE_CONFIG_H -DSHELL -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wdate-time -D_FORTIFY_SOURCE=2 ../../.././lib/sh/casemod.c
../../.././lib/sh/casemod.c: In function 'sh_modcase':
../../.././lib/sh/casemod.c:109:15: warning: unused variable 'c' [-Wunused-variable]
109 | int inword, c, nc, nop, match, usewords;
| ^
gcc -c -I. -I../.. -I../../../. -I../../.././lib -I../../.././include -I../../.././lib/sh -DHAVE_CONFIG_H -DSHELL -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wdate-time -D_FORTIFY_SOURCE=2 ../../.././lib/sh/input_avail.c
gcc -c -I. -I../.. -I../../../. -I../../.././lib -I../../.././include -I../../.././lib/sh -DHAVE_CONFIG_H -DSHELL -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wdate-time -D_FORTIFY_SOURCE=2 ../../.././lib/sh/mbscasecmp.c
gcc -c -I. -I../.. -I../../../. -I../../.././lib -I../../.././include -I../../.././lib/sh -DHAVE_CONFIG_H -DSHELL -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wdate-time -D_FORTIFY_SOURCE=2 ../../.././lib/sh/fnxform.c
../../.././lib/sh/fnxform.c:89:1: warning: 'init_fromfs' defined but not used [-Wunused-function]
89 | init_fromfs ()
| ^~~~~~~~~~~
../../.././lib/sh/fnxform.c:80:1: warning: 'init_tofs' defined but not used [-Wunused-function]
80 | init_tofs ()
| ^~~~~~~~~
../../.././lib/sh/fnxform.c:50:15: warning: 'outlen' defined but not used [-Wunused-variable]
50 | static size_t outlen = 0;
| ^~~~~~
../../.././lib/sh/fnxform.c:49:14: warning: 'outbuf' defined but not used [-Wunused-variable]
49 | static char *outbuf = 0;
| ^~~~~~
gcc -c -I. -I../.. -I../../../. -I../../.././lib -I../../.././include -I../../.././lib/sh -DHAVE_CONFIG_H -DSHELL -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wdate-time -D_FORTIFY_SOURCE=2 ../../.././lib/sh/unicode.c
gcc -c -I. -I../.. -I../../../. -I../../.././lib -I../../.././include -I../../.././lib/sh -DHAVE_CONFIG_H -DSHELL -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wdate-time -D_FORTIFY_SOURCE=2 ../../.././lib/sh/shmbchar.c
gcc -c -I. -I../.. -I../../../. -I../../.././lib -I../../.././include -I../../.././lib/sh -DHAVE_CONFIG_H -DSHELL -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wdate-time -D_FORTIFY_SOURCE=2 ../../.././lib/sh/utf8.c
gcc -c -I. -I../.. -I../../../. -I../../.././lib -I../../.././include -I../../.././lib/sh -DHAVE_CONFIG_H -DSHELL -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wdate-time -D_FORTIFY_SOURCE=2 ../../.././lib/sh/random.c
../../.././lib/sh/random.c: In function 'genseed':
../../.././lib/sh/random.c:93:8: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
93 | iv = (u_bits32_t)seedrand; /* let the compiler truncate */
| ^
../../.././lib/sh/random.c: In function 'brand32':
../../.././lib/sh/random.c:143:14: warning: unused variable 'ret' [-Wunused-variable]
143 | u_bits32_t ret;
| ^~~
gcc -c -I. -I../.. -I../../../. -I../../.././lib -I../../.././include -I../../.././lib/sh -DHAVE_CONFIG_H -DSHELL -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wdate-time -D_FORTIFY_SOURCE=2 ../../.././lib/sh/gettimeofday.c
gcc -c -I. -I../.. -I../../../. -I../../.././lib -I../../.././include -I../../.././lib/sh -DHAVE_CONFIG_H -DSHELL -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wdate-time -D_FORTIFY_SOURCE=2 ../../.././lib/sh/wcsnwidth.c
gcc -c -I. -I../.. -I../../../. -I../../.././lib -I../../.././include -I../../.././lib/sh -DHAVE_CONFIG_H -DSHELL -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wdate-time -D_FORTIFY_SOURCE=2 ../../.././lib/sh/mbschr.c
rm -f libsh.a
ar cr libsh.a clktck.o clock.o getenv.o oslib.o setlinebuf.o strnlen.o itos.o zread.o zwrite.o shtty.o shmatch.o eaccess.o netconn.o netopen.o timeval.o makepath.o pathcanon.o pathphys.o tmpfile.o stringlist.o stringvec.o spell.o shquote.o strtrans.o snprintf.o mailstat.o fmtulong.o fmtullong.o fmtumax.o zcatfd.o zmapfd.o winsize.o wcsdup.o fpurge.o zgetline.o mbscmp.o uconvert.o ufuncs.o casemod.o input_avail.o mbscasecmp.o fnxform.o unicode.o shmbchar.o utf8.o random.o gettimeofday.o wcsnwidth.o mbschr.o
test -n "ranlib" && ranlib libsh.a
make[5]: Leaving directory '/sonic/src/bash/bash-5.1/build-static/lib/sh'
making lib/readline/libreadline.a in ./lib/readline
make[5]: Entering directory '/sonic/src/bash/bash-5.1/build-static/lib/readline'
rm -f readline.o
gcc -c -DHAVE_CONFIG_H -DSHELL -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/sonic/src/bash/bash-5.1/build-static -I../../../. -I../../.././lib -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall ../../.././lib/readline/readline.c
../../.././lib/readline/readline.c: In function 'readline_internal_char':
../../.././lib/readline/readline.c:549:20: warning: variable 'r' set but not used [-Wunused-but-set-variable]
549 | int c, code, lk, r;
| ^
../../.././lib/readline/readline.c:548:21: warning: unused variable 'eof_found' [-Wunused-variable]
548 | static int lastc, eof_found;
| ^~~~~~~~~
At top level:
../../.././lib/readline/readline.c:548:21: warning: 'eof_found' defined but not used [-Wunused-variable]
../../.././lib/readline/readline.c:1311:1: warning: 'reset_default_bindings' defined but not used [-Wunused-function]
1311 | reset_default_bindings (void)
| ^~~~~~~~~~~~~~~~~~~~~~
rm -f vi_mode.o
gcc -c -DHAVE_CONFIG_H -DSHELL -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/sonic/src/bash/bash-5.1/build-static -I../../../. -I../../.././lib -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall ../../.././lib/readline/vi_mode.c
../../.././lib/readline/vi_mode.c: In function 'rl_vi_fword':
../../.././lib/readline/vi_mode.c:639:7: warning: variable 'opoint' set but not used [-Wunused-but-set-variable]
639 | int opoint;
| ^~~~~~
../../.././lib/readline/vi_mode.c: In function 'rl_vi_domove':
../../.././lib/readline/vi_mode.c:1360:7: warning: unused variable 'r' [-Wunused-variable]
1360 | int r;
| ^
At top level:
../../.././lib/readline/vi_mode.c:104:12: warning: 'vi_continued_command' defined but not used [-Wunused-variable]
104 | static int vi_continued_command;
| ^~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/string.h:495,
from ../../.././lib/readline/rldefs.h:61,
from ../../.././lib/readline/vi_mode.c:53:
In function 'strncpy',
inlined from 'rl_vi_change_char' at ../../.././lib/readline/vi_mode.c:2065:7:
/usr/include/x86_64-linux-gnu/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' output may be truncated copying 16 bytes from a string of length 16 [-Wstringop-truncation]
106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
rm -f funmap.o
gcc -c -DHAVE_CONFIG_H -DSHELL -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/sonic/src/bash/bash-5.1/build-static -I../../../. -I../../.././lib -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall ../../.././lib/readline/funmap.c
rm -f keymaps.o
gcc -c -DHAVE_CONFIG_H -DSHELL -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/sonic/src/bash/bash-5.1/build-static -I../../../. -I../../.././lib -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall ../../.././lib/readline/keymaps.c
rm -f parens.o
gcc -c -DHAVE_CONFIG_H -DSHELL -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/sonic/src/bash/bash-5.1/build-static -I../../../. -I../../.././lib -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall ../../.././lib/readline/parens.c
../../.././lib/readline/parens.c: In function 'rl_insert_close':
../../.././lib/readline/parens.c:118:36: warning: variable 'ready' set but not used [-Wunused-but-set-variable]
118 | int orig_point, match_point, ready;
| ^~~~~
rm -f search.o
gcc -c -DHAVE_CONFIG_H -DSHELL -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/sonic/src/bash/bash-5.1/build-static -I../../../. -I../../.././lib -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall ../../.././lib/readline/search.c
../../.././lib/readline/search.c: In function 'rl_history_search_internal':
../../.././lib/readline/search.c:524:9: warning: unused variable 't' [-Wunused-variable]
524 | char *t;
| ^
rm -f rltty.o
gcc -c -DHAVE_CONFIG_H -DSHELL -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/sonic/src/bash/bash-5.1/build-static -I../../../. -I../../.././lib -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall ../../.././lib/readline/rltty.c
rm -f complete.o
gcc -c -DHAVE_CONFIG_H -DSHELL -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/sonic/src/bash/bash-5.1/build-static -I../../../. -I../../.././lib -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall ../../.././lib/readline/complete.c
../../.././lib/readline/complete.c: In function '_rl_find_completion_word':
../../.././lib/readline/complete.c:1149:14: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
1149 | while (rl_point = MB_PREVCHAR (rl_line_buffer, rl_point, MB_FIND_ANY))
| ^~~~~~~~
../../.././lib/readline/complete.c: In function 'compute_lcd_of_matches':
../../.././lib/readline/complete.c:1321:7: warning: unused variable 'v' [-Wunused-variable]
1321 | int v;
| ^
../../.././lib/readline/complete.c: In function 'rl_completion_matches':
../../.././lib/readline/complete.c:2217:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
2217 | while (string = (*entry_function) (text, matches))
| ^~~~~~
../../.././lib/readline/complete.c: In function 'rl_username_completion_function':
../../.././lib/readline/complete.c:2289:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
2289 | while (entry = getpwent ())
| ^~~~~
../../.././lib/readline/complete.c: In function 'rl_menu_complete':
../../.././lib/readline/complete.c:2826:25: warning: unused variable 'cstate' [-Wunused-variable]
2826 | static int delimiter, cstate;
| ^~~~~~
At top level:
../../.././lib/readline/complete.c:2826:25: warning: 'cstate' defined but not used [-Wunused-variable]
../../.././lib/readline/complete.c: In function 'print_filename':
../../.././lib/readline/complete.c:1042:15: warning: 'printed_len' may be used uninitialized in this function [-Wmaybe-uninitialized]
1042 | printed_len++;
| ~~~~~~~~~~~^~
../../.././lib/readline/complete.c: In function 'rl_complete_internal':
../../.././lib/readline/complete.c:2086:7: warning: 'tlen' may be used uninitialized in this function [-Wmaybe-uninitialized]
2086 | if (mlen >= tlen)
| ^
rm -f bind.o
gcc -c -DHAVE_CONFIG_H -DSHELL -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/sonic/src/bash/bash-5.1/build-static -I../../../. -I../../.././lib -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall ../../.././lib/readline/bind.c
../../.././lib/readline/bind.c: In function '_rl_skip_to_delim':
../../.././lib/readline/bind.c:1495:29: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
1495 | for (i = start,passc = 0; c = string[i]; i++)
| ^
../../.././lib/readline/bind.c: In function 'rl_parse_and_bind':
../../.././lib/readline/bind.c:1589:11: warning: unused variable 's' [-Wunused-variable]
1589 | int s;
| ^
../../.././lib/readline/bind.c: In function 'rl_function_dumper':
../../.././lib/readline/bind.c:2693:15: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
2693 | for (i = 0; name = names[i]; i++)
| ^~~~
rm -f isearch.o
gcc -c -DHAVE_CONFIG_H -DSHELL -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/sonic/src/bash/bash-5.1/build-static -I../../../. -I../../.././lib -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall ../../.././lib/readline/isearch.c
../../.././lib/readline/isearch.c: In function '_rl_isearch_dispatch':
../../.././lib/readline/isearch.c:341:37: warning: unused variable 'incr' [-Wunused-variable]
341 | int n, wstart, wlen, limit, cval, incr;
| ^~~~
../../.././lib/readline/isearch.c: In function 'rl_search_history':
../../.././lib/readline/isearch.c:845:7: warning: variable 'c' set but not used [-Wunused-but-set-variable]
845 | int c, r;
| ^
../../.././lib/readline/isearch.c: In function '_rl_isearch_callback':
../../.././lib/readline/isearch.c:882:7: warning: variable 'c' set but not used [-Wunused-but-set-variable]
882 | int c, r;
| ^
rm -f display.o
gcc -c -DHAVE_CONFIG_H -DSHELL -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/sonic/src/bash/bash-5.1/build-static -I../../../. -I../../.././lib -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall ../../.././lib/readline/display.c
../../.././lib/readline/display.c: In function 'rl_redisplay':
../../.././lib/readline/display.c:746:38: warning: variable 'prompt_lines_estimate' set but not used [-Wunused-but-set-variable]
746 | int newlines, lpos, temp, n0, num, prompt_lines_estimate;
| ^~~~~~~~~~~~~~~~~~~~~
../../.././lib/readline/display.c:746:33: warning: variable 'num' set but not used [-Wunused-but-set-variable]
746 | int newlines, lpos, temp, n0, num, prompt_lines_estimate;
| ^~~
../../.././lib/readline/display.c:746:29: warning: unused variable 'n0' [-Wunused-variable]
746 | int newlines, lpos, temp, n0, num, prompt_lines_estimate;
| ^~
../../.././lib/readline/display.c: In function 'update_line':
../../.././lib/readline/display.c:1766:14: warning: unused variable 'optr' [-Wunused-variable]
1766 | char *optr;
| ^~~~
../../.././lib/readline/display.c:1765:12: warning: unused variable 'count' [-Wunused-variable]
1765 | int count, i, j;
| ^~~~~
../../.././lib/readline/display.c:1634:39: warning: unused variable 'twidth' [-Wunused-variable]
1634 | int temp, lendiff, wsatend, od, nd, twidth, o_cpos;
| ^~~~~~
At top level:
../../.././lib/readline/display.c:3202:1: warning: 'insert_some_chars' defined but not used [-Wunused-function]
3202 | insert_some_chars (char *string, int count, int col)
| ^~~~~~~~~~~~~~~~~
../../.././lib/readline/display.c: In function 'rl_redisplay':
../../.././lib/readline/display.c:1141:8: warning: 'wc_width' may be used uninitialized in this function [-Wmaybe-uninitialized]
1141 | for (i = 0; i < wc_width; i++)
| ^~~
rm -f signals.o
gcc -c -DHAVE_CONFIG_H -DSHELL -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/sonic/src/bash/bash-5.1/build-static -I../../../. -I../../.././lib -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall ../../.././lib/readline/signals.c
../../.././lib/readline/signals.c: In function 'rl_set_signals':
../../.././lib/readline/signals.c:439:25: warning: unused variable 'oset' [-Wunused-variable]
439 | static sigset_t bset, oset;
| ^~~~
At top level:
../../.././lib/readline/signals.c:439:25: warning: 'oset' defined but not used [-Wunused-variable]
../../.././lib/readline/signals.c:650:29: warning: 'sigint_oset' defined but not used [-Wunused-variable]
650 | static sigset_t sigint_set, sigint_oset;
| ^~~~~~~~~~~
../../.././lib/readline/signals.c:650:17: warning: 'sigint_set' defined but not used [-Wunused-variable]
650 | static sigset_t sigint_set, sigint_oset;
| ^~~~~~~~~~
rm -f util.o
gcc -c -DHAVE_CONFIG_H -DSHELL -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/sonic/src/bash/bash-5.1/build-static -I../../../. -I../../.././lib -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall ../../.././lib/readline/util.c
rm -f kill.o
gcc -c -DHAVE_CONFIG_H -DSHELL -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/sonic/src/bash/bash-5.1/build-static -I../../../. -I../../.././lib -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall ../../.././lib/readline/kill.c
../../.././lib/readline/kill.c: In function 'rl_bracketed_paste_begin':
../../.././lib/readline/kill.c:726:15: warning: unused variable 'cap' [-Wunused-variable]
726 | size_t len, cap;
| ^~~
../../.././lib/readline/kill.c:725:15: warning: unused variable 'c' [-Wunused-variable]
725 | int retval, c;
| ^
../../.././lib/readline/kill.c: In function '_rl_read_bracketed_paste_prefix':
../../.././lib/readline/kill.c:743:17: warning: unused variable 'j' [-Wunused-variable]
743 | int key, ind, j;
| ^
../../.././lib/readline/kill.c: In function '_rl_bracketed_read_mbstring':
../../.././lib/readline/kill.c:815:10: warning: unused variable 'r' [-Wunused-variable]
815 | int c, r;
| ^
../../.././lib/readline/kill.c: In function '_rl_read_bracketed_paste_prefix':
../../.././lib/readline/kill.c:766:29: warning: 'key' may be used uninitialized in this function [-Wmaybe-uninitialized]
766 | return (key < 0 ? key : 0);
| ~~~~~~~~~~~~~~~^~~~
rm -f undo.o
gcc -c -DHAVE_CONFIG_H -DSHELL -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/sonic/src/bash/bash-5.1/build-static -I../../../. -I../../.././lib -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall ../../.././lib/readline/undo.c
../../.././lib/readline/undo.c: In function 'rl_free_undo_list':
../../.././lib/readline/undo.c:121:14: warning: unused variable 'release' [-Wunused-variable]
121 | UNDO_LIST *release, *orig_list;
| ^~~~~~~
rm -f macro.o
gcc -c -DHAVE_CONFIG_H -DSHELL -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/sonic/src/bash/bash-5.1/build-static -I../../../. -I../../.././lib -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall ../../.././lib/readline/macro.c
rm -f input.o
gcc -c -DHAVE_CONFIG_H -DSHELL -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/sonic/src/bash/bash-5.1/build-static -I../../../. -I../../.././lib -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall ../../.././lib/readline/input.c
../../.././lib/readline/input.c: In function 'rl_read_key':
../../.././lib/readline/input.c:486:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
486 | if (c = _rl_next_macro_key ())
| ^
../../.././lib/readline/input.c: In function 'rl_getc':
../../.././lib/readline/input.c:595:1: warning: label 'handle_error' defined but not used [-Wunused-label]
595 | handle_error:
| ^~~~~~~~~~~~
../../.././lib/readline/input.c:529:12: warning: unused variable 'empty_set' [-Wunused-variable]
529 | sigset_t empty_set;
| ^~~~~~~~~
rm -f callback.o
gcc -c -DHAVE_CONFIG_H -DSHELL -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/sonic/src/bash/bash-5.1/build-static -I../../../. -I../../.././lib -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall ../../.././lib/readline/callback.c
rm -f terminal.o
gcc -c -DHAVE_CONFIG_H -DSHELL -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/sonic/src/bash/bash-5.1/build-static -I../../../. -I../../.././lib -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall ../../.././lib/readline/terminal.c
rm -f text.o
gcc -c -DHAVE_CONFIG_H -DSHELL -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/sonic/src/bash/bash-5.1/build-static -I../../../. -I../../.././lib -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall ../../.././lib/readline/text.c
../../.././lib/readline/text.c: In function '_rl_overwrite_char':
../../.././lib/readline/text.c:919:7: warning: variable 'k' set but not used [-Wunused-but-set-variable]
919 | int k;
| ^
In file included from /usr/include/string.h:495,
from ../../.././lib/readline/rldefs.h:61,
from ../../.././lib/readline/text.c:45:
In function 'strncpy',
inlined from 'rl_insert_text' at ../../.././lib/readline/text.c:99:3:
/usr/include/x86_64-linux-gnu/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation]
106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../.././lib/readline/text.c: In function 'rl_insert_text':
../../.././lib/readline/text.c:90:29: note: length computed here
90 | l = (string && *string) ? strlen (string) : 0;
| ^~~~~~~~~~~~~~~
rm -f nls.o
gcc -c -DHAVE_CONFIG_H -DSHELL -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/sonic/src/bash/bash-5.1/build-static -I../../../. -I../../.././lib -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall ../../.././lib/readline/nls.c
../../.././lib/readline/nls.c: In function 'utf8locale':
../../.././lib/readline/nls.c:106:10: warning: unused variable 'len' [-Wunused-variable]
106 | size_t len;
| ^~~
../../.././lib/readline/nls.c: In function '_rl_init_eightbit':
../../.././lib/readline/nls.c:154:9: warning: unused variable 'lspec' [-Wunused-variable]
154 | char *lspec, *t;
| ^~~~~
At top level:
../../.././lib/readline/nls.c:244:1: warning: 'find_codeset' defined but not used [-Wunused-function]
244 | find_codeset (char *name, size_t *lenp)
| ^~~~~~~~~~~~
rm -f misc.o
gcc -c -DHAVE_CONFIG_H -DSHELL -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/sonic/src/bash/bash-5.1/build-static -I../../../. -I../../.././lib -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall ../../.././lib/readline/misc.c
../../.././lib/readline/misc.c: In function '_rl_revert_previous_lines':
../../.././lib/readline/misc.c:450:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
450 | if (ul = (UNDO_LIST *)entry->data)
| ^~
../../.././lib/readline/misc.c: In function 'rl_clear_history':
../../.././lib/readline/misc.c:510:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
510 | if (ul = (UNDO_LIST *)hent->data)
| ^~
rm -f history.o
gcc -c -DHAVE_CONFIG_H -DSHELL -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/sonic/src/bash/bash-5.1/build-static -I../../../. -I../../.././lib -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall ../../.././lib/readline/history.c
../../.././lib/readline/history.c: In function 'add_history':
../../.././lib/readline/history.c:279:20: warning: unused variable 'i' [-Wunused-variable]
279 | register int i;
| ^
../../.././lib/readline/history.c: In function 'remove_history':
../../.././lib/readline/history.c:482:16: warning: unused variable 'i' [-Wunused-variable]
482 | register int i;
| ^
rm -f histexpand.o
gcc -c -DHAVE_CONFIG_H -DSHELL -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/sonic/src/bash/bash-5.1/build-static -I../../../. -I../../.././lib -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall ../../.././lib/readline/histexpand.c
../../.././lib/readline/histexpand.c: In function 'get_history_event':
../../.././lib/readline/histexpand.c:213:25: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
213 | for (local_index = i; c = string[i]; i++)
| ^
../../.././lib/readline/histexpand.c: In function 'history_expand_internal':
../../.././lib/readline/histexpand.c:682:41: warning: variable 'ws' set but not used [-Wunused-but-set-variable]
682 | int delimiter, failed, si, l_temp, ws, we;
| ^~
rm -f histfile.o
gcc -c -DHAVE_CONFIG_H -DSHELL -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/sonic/src/bash/bash-5.1/build-static -I../../../. -I../../.././lib -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall ../../.././lib/readline/histfile.c
../../.././lib/readline/histfile.c: In function 'history_backupfile':
../../.././lib/readline/histfile.c:195:15: warning: unused variable 'fs' [-Wunused-variable]
195 | struct stat fs;
| ^~
../../.././lib/readline/histfile.c: In function 'history_tempfile':
../../.././lib/readline/histfile.c:223:15: warning: unused variable 'fs' [-Wunused-variable]
223 | struct stat fs;
| ^~
../../.././lib/readline/histfile.c: In function 'history_truncate_file':
../../.././lib/readline/histfile.c:523:49: warning: variable 'r' set but not used [-Wunused-but-set-variable]
523 | int file, chars_read, rv, orig_lines, exists, r;
| ^
../../.././lib/readline/histfile.c: In function 'history_do_write':
../../.././lib/readline/histfile.c:685:22: warning: unused variable 'nfinfo' [-Wunused-variable]
685 | struct stat finfo, nfinfo;
| ^~~~~~
At top level:
../../.././lib/readline/histfile.c:475:1: warning: 'histfile_backup' defined but not used [-Wunused-function]
475 | histfile_backup (const char *filename, const char *back)
| ^~~~~~~~~~~~~~~
../../.././lib/readline/histfile.c:189:1: warning: 'history_backupfile' defined but not used [-Wunused-function]
189 | history_backupfile (const char *filename)
| ^~~~~~~~~~~~~~~~~~
../../.././lib/readline/histfile.c: In function 'history_truncate_file':
../../.././lib/readline/histfile.c:648:46: warning: 'orig_lines' may be used uninitialized in this function [-Wmaybe-uninitialized]
648 | history_lines_written_to_file = orig_lines - lines;
| ~~~~~~~~~~~^~~~~~~
rm -f histsearch.o
gcc -c -DHAVE_CONFIG_H -DSHELL -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/sonic/src/bash/bash-5.1/build-static -I../../../. -I../../.././lib -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall ../../.././lib/readline/histsearch.c
../../.././lib/readline/histsearch.c: In function '_hs_history_patsearch':
../../.././lib/readline/histsearch.c:212:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
212 | if (unescaped_backslash = (string[ret] == '\\'))
| ^~~~~~~~~~~~~~~~~~~
rm -f shell.o
gcc -c -DHAVE_CONFIG_H -DSHELL -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/sonic/src/bash/bash-5.1/build-static -I../../../. -I../../.././lib -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall ../../.././lib/readline/shell.c
../../.././lib/readline/shell.c:126:13: warning: 'putenv_buf2' defined but not used [-Wunused-variable]
126 | static char putenv_buf2[INT_STRLEN_BOUND (int) + 8 + 1]; /* sizeof("COLUMNS=") == 8 */
| ^~~~~~~~~~~
../../.././lib/readline/shell.c:125:13: warning: 'putenv_buf1' defined but not used [-Wunused-variable]
125 | static char putenv_buf1[INT_STRLEN_BOUND (int) + 6 + 1]; /* sizeof("LINES=") == 6 */
| ^~~~~~~~~~~
rm -f savestring.o
gcc -c -DHAVE_CONFIG_H -DSHELL -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/sonic/src/bash/bash-5.1/build-static -I../../../. -I../../.././lib -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall ../../.././lib/readline/savestring.c
rm -f mbutil.o
gcc -c -DHAVE_CONFIG_H -DSHELL -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/sonic/src/bash/bash-5.1/build-static -I../../../. -I../../.././lib -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall ../../.././lib/readline/mbutil.c
../../.././lib/readline/mbutil.c: In function '_rl_find_prev_utf8char':
../../.././lib/readline/mbutil.c:247:9: warning: unused variable 's' [-Wunused-variable]
247 | char *s;
| ^
At top level:
../../.././lib/readline/mbutil.c:87:1: warning: '_rl_utf8_mblen' defined but not used [-Wunused-function]
87 | _rl_utf8_mblen (const char *s, size_t n)
| ^~~~~~~~~~~~~~
rm -f tilde.o
gcc -DHAVE_CONFIG_H -DSHELL -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/sonic/src/bash/bash-5.1/build-static -I../../../. -I../../.././lib -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -DREADLINE_LIBRARY -c ../../.././lib/readline/tilde.c
../../.././lib/readline/tilde.c: In function 'tilde_expand':
../../.././lib/readline/tilde.c:195:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
195 | if (result = strchr (string, '~'))
| ^~~~~~
rm -f colors.o
gcc -c -DHAVE_CONFIG_H -DSHELL -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/sonic/src/bash/bash-5.1/build-static -I../../../. -I../../.././lib -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall ../../.././lib/readline/colors.c
rm -f parse-colors.o
gcc -c -DHAVE_CONFIG_H -DSHELL -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/sonic/src/bash/bash-5.1/build-static -I../../../. -I../../.././lib -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall ../../.././lib/readline/parse-colors.c
rm -f xmalloc.o
gcc -c -DHAVE_CONFIG_H -DSHELL -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/sonic/src/bash/bash-5.1/build-static -I../../../. -I../../.././lib -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall ../../.././lib/readline/xmalloc.c
rm -f xfree.o
gcc -c -DHAVE_CONFIG_H -DSHELL -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/sonic/src/bash/bash-5.1/build-static -I../../../. -I../../.././lib -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall ../../.././lib/readline/xfree.c
rm -f compat.o
gcc -c -DHAVE_CONFIG_H -DSHELL -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/sonic/src/bash/bash-5.1/build-static -I../../../. -I../../.././lib -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall ../../.././lib/readline/compat.c
rm -f libreadline.a
ar cr libreadline.a readline.o vi_mode.o funmap.o keymaps.o parens.o search.o rltty.o complete.o bind.o isearch.o display.o signals.o util.o kill.o undo.o macro.o input.o callback.o terminal.o text.o nls.o misc.o history.o histexpand.o histfile.o histsearch.o shell.o savestring.o mbutil.o tilde.o colors.o parse-colors.o xmalloc.o xfree.o compat.o
test -n "ranlib" && ranlib libreadline.a
make[5]: Leaving directory '/sonic/src/bash/bash-5.1/build-static/lib/readline'
making lib/readline/libhistory.a in ./lib/readline
make[5]: Entering directory '/sonic/src/bash/bash-5.1/build-static/lib/readline'
rm -f libhistory.a
ar cr libhistory.a history.o histexpand.o histfile.o histsearch.o shell.o savestring.o mbutil.o xmalloc.o xfree.o
test -n "ranlib" && ranlib libhistory.a
make[5]: Leaving directory '/sonic/src/bash/bash-5.1/build-static/lib/readline'
making lib/tilde/libtilde.a in ./lib/tilde
make[5]: Entering directory '/sonic/src/bash/bash-5.1/build-static/lib/tilde'
gcc -c -DHAVE_CONFIG_H -DSHELL -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I../.. -I../../../. -I../../.././include -I../../.././lib -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall ../../.././lib/tilde/tilde.c
../../.././lib/tilde/tilde.c: In function 'tilde_expand':
../../.././lib/tilde/tilde.c:195:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
195 | if (result = strchr (string, '~'))
| ^~~~~~
rm -f libtilde.a
ar cr libtilde.a tilde.o
test -n "ranlib" && ranlib libtilde.a
make[5]: Leaving directory '/sonic/src/bash/bash-5.1/build-static/lib/tilde'
rm -f bash
gcc -L./builtins -L./lib/readline -L./lib/readline -L./lib/glob -L./lib/tilde -L./lib/sh -Wl,-z,relro -rdynamic -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -static -o bash shell.o eval.o y.tab.o general.o make_cmd.o print_cmd.o dispose_cmd.o execute_cmd.o variables.o copy_cmd.o error.o expr.o flags.o jobs.o subst.o hashcmd.o hashlib.o mailcheck.o trap.o input.o unwind_prot.o pathexp.o sig.o test.o version.o alias.o array.o arrayfunc.o assoc.o braces.o bracecomp.o bashhist.o bashline.o list.o stringlib.o locale.o findcmd.o redir.o pcomplete.o pcomplib.o syntax.o xmalloc.o plugin.o -lbuiltins -lglob -lsh -lreadline -lhistory -ltinfo -ltilde -ldl
/usr/bin/ld: plugin.o: in function `try_load_plugin_by_path':
./build-static/.././plugin.c:209: warning: Using 'dlopen' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
/usr/bin/ld: bashline.o: in function `bash_groupname_completion_function':
./build-static/.././bashline.c:2581: warning: Using 'getgrent' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
/usr/bin/ld: ./build-static/.././bashline.c:2578: warning: Using 'setgrent' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
/usr/bin/ld: ./build-static/.././bashline.c:2589: warning: Using 'endgrent' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
/usr/bin/ld: ./lib/readline/libreadline.a(complete.o): in function `rl_username_completion_function':
./build-static/lib/readline/../../.././lib/readline/complete.c:2289: warning: Using 'getpwent' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
/usr/bin/ld: ./lib/readline/libreadline.a(tilde.o): in function `tilde_expand_word':
./build-static/lib/readline/../../.././lib/readline/tilde.c:386: warning: Using 'getpwnam' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
/usr/bin/ld: shell.o: in function `get_current_user_info':
./build-static/.././shell.c:1881: warning: Using 'getpwuid' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
/usr/bin/ld: ./lib/readline/libreadline.a(complete.o): in function `rl_username_completion_function':
./build-static/lib/readline/../../.././lib/readline/complete.c:2284: warning: Using 'setpwent' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
/usr/bin/ld: shell.o: in function `get_current_user_info':
./build-static/.././shell.c:1899: warning: Using 'endpwent' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
/usr/bin/ld: ./lib/sh/libsh.a(netopen.o): in function `_netopen6':
./build-static/lib/sh/../../.././lib/sh/netopen.c:229: warning: Using 'getaddrinfo' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
/usr/bin/ld: ./lib/sh/libsh.a(tmpfile.o): in function `sh_mktmpname':
./build-static/lib/sh/../../.././lib/sh/tmpfile.c:160: warning: the use of `mktemp' is dangerous, better use `mkstemp' or `mkdtemp'
/usr/bin/ld: bashline.o: in function `bash_servicename_completion_function':
./build-static/.././bashline.c:2525: warning: Using 'getservent' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
/usr/bin/ld: ./build-static/.././bashline.c:2522: warning: Using 'setservent' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
/usr/bin/ld: ./build-static/.././bashline.c:2547: warning: Using 'endservent' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
ls -l bash
-rwxr-xr-x 1 jenkins gjenkins 6597032 Sep 24 05:15 bash
size bash
text data bss dec hex filename
2235423 69876 55936 2361235 240793 bash
make[5]: Entering directory '/sonic/src/bash/bash-5.1/build-static/support'
rm -f man2html.o
gcc -c -DHAVE_CONFIG_H -DSHELL -I/sonic/src/bash/bash-5.1/build-static -I../../. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall ../.././support/man2html.c
../.././support/man2html.c: In function 'read_man_page':
../.././support/man2html.c:508:10: warning: unused variable 'i' [-Wunused-variable]
508 | int i;
| ^
../.././support/man2html.c: In function 'scan_table':
../.././support/man2html.c:1444:37: warning: unused variable 'ftable' [-Wunused-variable]
1444 | TABLEROW *layout = NULL, *currow, *ftable;
| ^~~~~~
../.././support/man2html.c:1439:10: warning: unused variable 't' [-Wunused-variable]
1439 | char *t, *h, *g;
| ^
../.././support/man2html.c: In function 'scan_expression':
../.././support/man2html.c:1774:29: warning: unused variable 'j' [-Wunused-variable]
1774 | int value = 0, value2, j = 0, sign = 1, opex = 0;
| ^
../.././support/man2html.c: In function 'skip_till_newline':
../.././support/man2html.c:2151:12: warning: suggest parentheses around '&&' within '||' [-Wparentheses]
2151 | while (*c && *c != '\n' || lvl > 0) {
| ~~~^~~~~~~~~~~~~
../.././support/man2html.c: In function 'scan_request':
../.././support/man2html.c:2243:13: warning: unused variable 'oldcurpos' [-Wunused-variable]
2243 | int oldcurpos = curpos;
| ^~~~~~~~~
../.././support/man2html.c:2540:13: warning: unused variable 'f' [-Wunused-variable]
2540 | FILE *f;
| ^
../.././support/man2html.c:3693:17: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
3693 | for (i = 0; owndef->st[deflen + 2 + i] = owndef->st[i]; i++);
| ^~~~~~
../.././support/man2html.c: In function 'scan_troff':
../.././support/man2html.c:3822:12: warning: unused variable 'mx' [-Wunused-variable]
3822 | int mx;
| ^~
../.././support/man2html.c:3763:10: warning: unused variable 'i' [-Wunused-variable]
3763 | int i;
| ^
../.././support/man2html.c: In function 'main':
../.././support/man2html.c:3996:14: warning: unused variable 'fullname' [-Wunused-variable]
3996 | char *h, *fullname;
| ^~~~~~~~
../.././support/man2html.c:3994:10: warning: unused variable 'l' [-Wunused-variable]
3994 | int l, i;
| ^
../.././support/man2html.c:3992:10: warning: unused variable 'f' [-Wunused-variable]
3992 | FILE *f;
| ^
At top level:
../.././support/man2html.c:3748:1: warning: 'flush' defined but not used [-Wunused-function]
3748 | flush(void)
| ^~~~~
../.././support/man2html.c:937:12: warning: 'asint' defined but not used [-Wunused-variable]
937 | static int asint = 0;
| ^~~~~
../.././support/man2html.c:428:31: warning: 'eqndelimclose' defined but not used [-Wunused-variable]
428 | static char eqndelimopen = 0, eqndelimclose = 0;
| ^~~~~~~~~~~~~
../.././support/man2html.c:428:13: warning: 'eqndelimopen' defined but not used [-Wunused-variable]
428 | static char eqndelimopen = 0, eqndelimclose = 0;
| ^~~~~~~~~~~~
../.././support/man2html.c:299:14: warning: 'idxfile' defined but not used [-Wunused-variable]
299 | static FILE *idxfile;
| ^~~~~~~
../.././support/man2html.c:298:14: warning: 'fname' defined but not used [-Wunused-variable]
298 | static char *fname;
| ^~~~~
../.././support/man2html.c:240:1: warning: 'escape_input' defined but not used [-Wunused-function]
240 | escape_input(char *str)
| ^~~~~~~~~~~~
../.././support/man2html.c:210:1: warning: 'strmaxcat' defined but not used [-Wunused-function]
210 | strmaxcat(char *to, char *from, int n)
| ^~~~~~~~~
../.././support/man2html.c:190:1: warning: 'strduplicate' defined but not used [-Wunused-function]
190 | strduplicate(char *from)
| ^~~~~~~~~~~~
../.././support/man2html.c:148:1: warning: 'strgrow' defined but not used [-Wunused-function]
148 | strgrow(char *old, int len)
| ^~~~~~~
../.././support/man2html.c:104:13: warning: 'location_base' defined but not used [-Wunused-variable]
104 | static char location_base[NULL_TERMINATED(MED_STR_MAX)] = "";
| ^~~~~~~~~~~~~
gcc -DHAVE_CONFIG_H -DSHELL -I/sonic/src/bash/bash-5.1/build-static -I../../. -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall man2html.o -o man2html
make[5]: Leaving directory '/sonic/src/bash/bash-5.1/build-static/support'
make[4]: Leaving directory '/sonic/src/bash/bash-5.1/build-static'
/usr/bin/make -C build-static/doc \
bash.info
make[4]: Entering directory '/sonic/src/bash/bash-5.1/build-static/doc'
makeinfo --no-split -I../.././lib/readline/doc ../.././doc/bashref.texi
/bin/sh ../.././doc/infopost.sh < ../.././doc/bashref.info > bash.info ; \
make[4]: Leaving directory '/sonic/src/bash/bash-5.1/build-static/doc'
touch stamps/stamp-build-static
make[3]: Leaving directory '/sonic/src/bash/bash-5.1'
gcc -c -o debian/bash.preinst.o -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wdate-time -D_FORTIFY_SOURCE=2 debian/bash.preinst.c
gcc -c -o debian/bash.preinst-lib.o -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wdate-time -D_FORTIFY_SOURCE=2 debian/bash.preinst-lib.c
gcc -o debian/bash.preinst -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wl,-z,relro debian/bash.preinst.o debian/bash.preinst-lib.o
strip -R .comment -R .note debian/bash.preinst
BEGIN test
END test
touch stamps/stamp-check
make[2]: Leaving directory '/sonic/src/bash/bash-5.1'
fakeroot debian/rules binary
make[2]: Entering directory '/sonic/src/bash/bash-5.1'
make[2]: warning: jobserver unavailable: using -j1. Add '+' to parent make rule.
/usr/bin/make -f debian/rules do-build-bash \
bash_src=. \
build=bash \
configure_args="--enable-largefile --prefix=/usr --infodir=/usr/share/info --mandir=/usr/share/man --without-bash-malloc --build x86_64-linux-gnu"
make[3]: Entering directory '/sonic/src/bash/bash-5.1'
make[3]: Nothing to be done for 'do-build-bash'.
make[3]: Leaving directory '/sonic/src/bash/bash-5.1'
dh_testdir
dh_autotools-dev_updateconfig
dh_autotools-dev_updateconfig: warning: dh_autotools-dev_updateconfig is deprecated; please see dh_autotools-dev_updateconfig(1) for a replacement
dh_autotools-dev_updateconfig: warning: This feature will be removed in compat 12.
mkdir -p stamps
: # see #327477, needed to have HAVE_DEV_STDIN defined
(test -d /dev/fd && test -r /dev/stdin < /dev/null) \
|| (test -d /proc/self/fd && test -r /dev/stdin < /dev/null)
gcc -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -Wl,-z,relro -Wdate-time -D_FORTIFY_SOURCE=2 -o clear_console \
debian/clear_console.c -ltinfo
debian/clear_console.c: In function 'clear_console':
debian/clear_console.c:179:3: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result]
179 | write(1, "\e[3J", 4);
| ^~~~~~~~~~~~~~~~~~~~
dh_testdir
dh_testroot
dh_prep -pbash -pbash-doc -pbash-builtins
dh_installdirs -pbash \
bin \
etc/skel \
usr/share/doc/bash
dh_installdirs -pbash-doc \
usr/share/doc/bash
dh_installdirs -pbash-builtins \
usr/share/doc/bash/examples/loadables
: # install it
/usr/bin/make -C build-bash install \
YACC="bison -y" \
DESTDIR=/sonic/src/bash/bash-5.1/debian/bash
make[3]: Entering directory '/sonic/src/bash/bash-5.1/build-bash'
***********************************************************
* *
* GNU bash, version 5.1.4(1)-release (x86_64-pc-linux-gnu)
* *
***********************************************************
mkdir -p -- /sonic/src/bash/bash-5.1/debian/bash/usr/bin
mkdir -p -- /sonic/src/bash/bash-5.1/debian/bash/usr/share/man/man1
mkdir -p -- /sonic/src/bash/bash-5.1/debian/bash/usr/share/info
( cd ./po/ ; /usr/bin/make -w -j1 DESTDIR=/sonic/src/bash/bash-5.1/debian/bash installdirs )
make[4]: Entering directory '/sonic/src/bash/bash-5.1/build-bash/po'
/bin/sh ../.././support/mkinstalldirs /sonic/src/bash/bash-5.1/debian/bash/usr/share
mkdir -p -- /sonic/src/bash/bash-5.1/debian/bash/usr/share/locale/en@quot/LC_MESSAGES
mkdir -p -- /sonic/src/bash/bash-5.1/debian/bash/usr/share/locale/en@boldquot/LC_MESSAGES
mkdir -p -- /sonic/src/bash/bash-5.1/debian/bash/usr/share/locale/af/LC_MESSAGES
mkdir -p -- /sonic/src/bash/bash-5.1/debian/bash/usr/share/locale/bg/LC_MESSAGES
mkdir -p -- /sonic/src/bash/bash-5.1/debian/bash/usr/share/locale/ca/LC_MESSAGES
mkdir -p -- /sonic/src/bash/bash-5.1/debian/bash/usr/share/locale/cs/LC_MESSAGES
mkdir -p -- /sonic/src/bash/bash-5.1/debian/bash/usr/share/locale/da/LC_MESSAGES
mkdir -p -- /sonic/src/bash/bash-5.1/debian/bash/usr/share/locale/de/LC_MESSAGES
mkdir -p -- /sonic/src/bash/bash-5.1/debian/bash/usr/share/locale/el/LC_MESSAGES
mkdir -p -- /sonic/src/bash/bash-5.1/debian/bash/usr/share/locale/eo/LC_MESSAGES
mkdir -p -- /sonic/src/bash/bash-5.1/debian/bash/usr/share/locale/es/LC_MESSAGES
mkdir -p -- /sonic/src/bash/bash-5.1/debian/bash/usr/share/locale/et/LC_MESSAGES
mkdir -p -- /sonic/src/bash/bash-5.1/debian/bash/usr/share/locale/fi/LC_MESSAGES
mkdir -p -- /sonic/src/bash/bash-5.1/debian/bash/usr/share/locale/fr/LC_MESSAGES
mkdir -p -- /sonic/src/bash/bash-5.1/debian/bash/usr/share/locale/ga/LC_MESSAGES
mkdir -p -- /sonic/src/bash/bash-5.1/debian/bash/usr/share/locale/gl/LC_MESSAGES
mkdir -p -- /sonic/src/bash/bash-5.1/debian/bash/usr/share/locale/hr/LC_MESSAGES
mkdir -p -- /sonic/src/bash/bash-5.1/debian/bash/usr/share/locale/hu/LC_MESSAGES
mkdir -p -- /sonic/src/bash/bash-5.1/debian/bash/usr/share/locale/id/LC_MESSAGES
mkdir -p -- /sonic/src/bash/bash-5.1/debian/bash/usr/share/locale/it/LC_MESSAGES
mkdir -p -- /sonic/src/bash/bash-5.1/debian/bash/usr/share/locale/ja/LC_MESSAGES
mkdir -p -- /sonic/src/bash/bash-5.1/debian/bash/usr/share/locale/ko/LC_MESSAGES
mkdir -p -- /sonic/src/bash/bash-5.1/debian/bash/usr/share/locale/lt/LC_MESSAGES
mkdir -p -- /sonic/src/bash/bash-5.1/debian/bash/usr/share/locale/nb/LC_MESSAGES
mkdir -p -- /sonic/src/bash/bash-5.1/debian/bash/usr/share/locale/nl/LC_MESSAGES
mkdir -p -- /sonic/src/bash/bash-5.1/debian/bash/usr/share/locale/pl/LC_MESSAGES
mkdir -p -- /sonic/src/bash/bash-5.1/debian/bash/usr/share/locale/pt/LC_MESSAGES
mkdir -p -- /sonic/src/bash/bash-5.1/debian/bash/usr/share/locale/pt_BR/LC_MESSAGES
mkdir -p -- /sonic/src/bash/bash-5.1/debian/bash/usr/share/locale/ro/LC_MESSAGES
mkdir -p -- /sonic/src/bash/bash-5.1/debian/bash/usr/share/locale/ru/LC_MESSAGES
mkdir -p -- /sonic/src/bash/bash-5.1/debian/bash/usr/share/locale/sk/LC_MESSAGES
mkdir -p -- /sonic/src/bash/bash-5.1/debian/bash/usr/share/locale/sl/LC_MESSAGES
mkdir -p -- /sonic/src/bash/bash-5.1/debian/bash/usr/share/locale/sr/LC_MESSAGES
mkdir -p -- /sonic/src/bash/bash-5.1/debian/bash/usr/share/locale/sv/LC_MESSAGES
mkdir -p -- /sonic/src/bash/bash-5.1/debian/bash/usr/share/locale/tr/LC_MESSAGES
mkdir -p -- /sonic/src/bash/bash-5.1/debian/bash/usr/share/locale/uk/LC_MESSAGES
mkdir -p -- /sonic/src/bash/bash-5.1/debian/bash/usr/share/locale/vi/LC_MESSAGES
mkdir -p -- /sonic/src/bash/bash-5.1/debian/bash/usr/share/locale/zh_CN/LC_MESSAGES
mkdir -p -- /sonic/src/bash/bash-5.1/debian/bash/usr/share/locale/zh_TW/LC_MESSAGES
if test "bash" = "gettext-tools"; then \
/bin/sh ../.././support/mkinstalldirs /sonic/src/bash/bash-5.1/debian/bash/usr/share/gettext/po; \
else \
: ; \
fi
make[4]: Leaving directory '/sonic/src/bash/bash-5.1/build-bash/po'
/usr/bin/install -c -m 0755 bash /sonic/src/bash/bash-5.1/debian/bash/usr/bin/bash
/usr/bin/install -c -m 0555 bashbug /sonic/src/bash/bash-5.1/debian/bash/usr/bin/bashbug
/usr/bin/install -c -m 644 .././CHANGES .././COMPAT .././NEWS .././POSIX .././RBASH .././README /sonic/src/bash/bash-5.1/debian/bash/usr/share/doc/bash
( cd ./doc ; /usr/bin/make -w -j1 \
man1dir=/usr/share/man/man1 man1ext=.1 \
man3dir=/usr/share/man/man3 man3ext=.3 \
infodir=/usr/share/info htmldir=/usr/share/doc/bash DESTDIR=/sonic/src/bash/bash-5.1/debian/bash install )
make[4]: Entering directory '/sonic/src/bash/bash-5.1/build-bash/doc'
/bin/sh ../.././support/mkinstalldirs /sonic/src/bash/bash-5.1/debian/bash/usr/share/man/man1
/bin/sh ../.././support/mkinstalldirs /sonic/src/bash/bash-5.1/debian/bash/usr/share/info
/bin/sh ../.././support/mkinstalldirs /sonic/src/bash/bash-5.1/debian/bash/usr/share/doc/bash
if test -n "/usr/share/doc/bash" ; then \
/bin/sh ../.././support/mkinstalldirs /sonic/src/bash/bash-5.1/debian/bash/usr/share/doc/bash ; \
fi
/usr/bin/install -c -m 644 ../.././doc/bash.1 /sonic/src/bash/bash-5.1/debian/bash/usr/share/man/man1/bash.1
/usr/bin/install -c -m 644 ../.././doc/bashbug.1 /sonic/src/bash/bash-5.1/debian/bash/usr/share/man/man1/bashbug.1
/usr/bin/install -c -m 644 ../.././doc/FAQ ../.././doc/INTRO /sonic/src/bash/bash-5.1/debian/bash/usr/share/doc/bash
/usr/bin/install: cannot stat '../.././doc/FAQ': No such file or directory
make[4]: [Makefile:253: install] Error 1 (ignored)
if test -f bash.info; then d=.; else d=../.././doc; fi; \
/usr/bin/install -c -m 644 $d/bash.info /sonic/src/bash/bash-5.1/debian/bash/usr/share/info/bash.info
if /bin/sh -c 'install-info --version' >/dev/null 2>&1; then \
install-info --dir-file=/sonic/src/bash/bash-5.1/debian/bash/usr/share/info/dir /sonic/src/bash/bash-5.1/debian/bash/usr/share/info/bash.info; \
else true; fi
if test -n "/usr/share/doc/bash" ; then \
/usr/bin/install -c -m 644 ../.././doc/bash.html /sonic/src/bash/bash-5.1/debian/bash/usr/share/doc/bash ; \
/usr/bin/install -c -m 644 ../.././doc/bashref.html /sonic/src/bash/bash-5.1/debian/bash/usr/share/doc/bash ; \
fi
make[4]: Leaving directory '/sonic/src/bash/bash-5.1/build-bash/doc'
( cd ./builtins ; /usr/bin/make -w -j1 DESTDIR=/sonic/src/bash/bash-5.1/debian/bash install )
make[4]: Entering directory '/sonic/src/bash/bash-5.1/build-bash/builtins'
make[4]: Nothing to be done for 'install'.
make[4]: Leaving directory '/sonic/src/bash/bash-5.1/build-bash/builtins'
( cd ./po/ ; /usr/bin/make -w -j1 DESTDIR=/sonic/src/bash/bash-5.1/debian/bash install )
make[4]: Entering directory '/sonic/src/bash/bash-5.1/build-bash/po'
test -z "en@quot.gmo en@boldquot.gmo af.gmo bg.gmo ca.gmo cs.gmo da.gmo de.gmo el.gmo eo.gmo es.gmo et.gmo fi.gmo fr.gmo ga.gmo gl.gmo hr.gmo hu.gmo id.gmo it.gmo ja.gmo ko.gmo lt.gmo nb.gmo nl.gmo pl.gmo pt.gmo pt_BR.gmo ro.gmo ru.gmo sk.gmo sl.gmo sr.gmo sv.gmo tr.gmo uk.gmo vi.gmo zh_CN.gmo zh_TW.gmo" || /usr/bin/make en@quot.gmo en@boldquot.gmo af.gmo bg.gmo ca.gmo cs.gmo da.gmo de.gmo el.gmo eo.gmo es.gmo et.gmo fi.gmo fr.gmo ga.gmo gl.gmo hr.gmo hu.gmo id.gmo it.gmo ja.gmo ko.gmo lt.gmo nb.gmo nl.gmo pl.gmo pt.gmo pt_BR.gmo ro.gmo ru.gmo sk.gmo sl.gmo sr.gmo sv.gmo tr.gmo uk.gmo vi.gmo zh_CN.gmo zh_TW.gmo
touch stamp-po
/bin/sh ../.././support/mkinstalldirs /sonic/src/bash/bash-5.1/debian/bash/usr/share
installing ../.././po/en@quot.gmo as /sonic/src/bash/bash-5.1/debian/bash/usr/share/locale/en@quot/LC_MESSAGES/bash.mo
installing ../.././po/en@boldquot.gmo as /sonic/src/bash/bash-5.1/debian/bash/usr/share/locale/en@boldquot/LC_MESSAGES/bash.mo
installing ../.././po/af.gmo as /sonic/src/bash/bash-5.1/debian/bash/usr/share/locale/af/LC_MESSAGES/bash.mo
installing ../.././po/bg.gmo as /sonic/src/bash/bash-5.1/debian/bash/usr/share/locale/bg/LC_MESSAGES/bash.mo
installing ../.././po/ca.gmo as /sonic/src/bash/bash-5.1/debian/bash/usr/share/locale/ca/LC_MESSAGES/bash.mo
installing ../.././po/cs.gmo as /sonic/src/bash/bash-5.1/debian/bash/usr/share/locale/cs/LC_MESSAGES/bash.mo
installing ../.././po/da.gmo as /sonic/src/bash/bash-5.1/debian/bash/usr/share/locale/da/LC_MESSAGES/bash.mo
installing ../.././po/de.gmo as /sonic/src/bash/bash-5.1/debian/bash/usr/share/locale/de/LC_MESSAGES/bash.mo
installing ../.././po/el.gmo as /sonic/src/bash/bash-5.1/debian/bash/usr/share/locale/el/LC_MESSAGES/bash.mo
installing ../.././po/eo.gmo as /sonic/src/bash/bash-5.1/debian/bash/usr/share/locale/eo/LC_MESSAGES/bash.mo
installing ../.././po/es.gmo as /sonic/src/bash/bash-5.1/debian/bash/usr/share/locale/es/LC_MESSAGES/bash.mo
installing ../.././po/et.gmo as /sonic/src/bash/bash-5.1/debian/bash/usr/share/locale/et/LC_MESSAGES/bash.mo
installing ../.././po/fi.gmo as /sonic/src/bash/bash-5.1/debian/bash/usr/share/locale/fi/LC_MESSAGES/bash.mo
installing ../.././po/fr.gmo as /sonic/src/bash/bash-5.1/debian/bash/usr/share/locale/fr/LC_MESSAGES/bash.mo
installing ../.././po/ga.gmo as /sonic/src/bash/bash-5.1/debian/bash/usr/share/locale/ga/LC_MESSAGES/bash.mo
installing ../.././po/gl.gmo as /sonic/src/bash/bash-5.1/debian/bash/usr/share/locale/gl/LC_MESSAGES/bash.mo
installing ../.././po/hr.gmo as /sonic/src/bash/bash-5.1/debian/bash/usr/share/locale/hr/LC_MESSAGES/bash.mo
installing ../.././po/hu.gmo as /sonic/src/bash/bash-5.1/debian/bash/usr/share/locale/hu/LC_MESSAGES/bash.mo
installing ../.././po/id.gmo as /sonic/src/bash/bash-5.1/debian/bash/usr/share/locale/id/LC_MESSAGES/bash.mo
installing ../.././po/it.gmo as /sonic/src/bash/bash-5.1/debian/bash/usr/share/locale/it/LC_MESSAGES/bash.mo
installing ../.././po/ja.gmo as /sonic/src/bash/bash-5.1/debian/bash/usr/share/locale/ja/LC_MESSAGES/bash.mo
installing ../.././po/ko.gmo as /sonic/src/bash/bash-5.1/debian/bash/usr/share/locale/ko/LC_MESSAGES/bash.mo
installing ../.././po/lt.gmo as /sonic/src/bash/bash-5.1/debian/bash/usr/share/locale/lt/LC_MESSAGES/bash.mo
installing ../.././po/nb.gmo as /sonic/src/bash/bash-5.1/debian/bash/usr/share/locale/nb/LC_MESSAGES/bash.mo
installing ../.././po/nl.gmo as /sonic/src/bash/bash-5.1/debian/bash/usr/share/locale/nl/LC_MESSAGES/bash.mo
installing ../.././po/pl.gmo as /sonic/src/bash/bash-5.1/debian/bash/usr/share/locale/pl/LC_MESSAGES/bash.mo
installing ../.././po/pt.gmo as /sonic/src/bash/bash-5.1/debian/bash/usr/share/locale/pt/LC_MESSAGES/bash.mo
installing ../.././po/pt_BR.gmo as /sonic/src/bash/bash-5.1/debian/bash/usr/share/locale/pt_BR/LC_MESSAGES/bash.mo
installing ../.././po/ro.gmo as /sonic/src/bash/bash-5.1/debian/bash/usr/share/locale/ro/LC_MESSAGES/bash.mo
installing ../.././po/ru.gmo as /sonic/src/bash/bash-5.1/debian/bash/usr/share/locale/ru/LC_MESSAGES/bash.mo
installing ../.././po/sk.gmo as /sonic/src/bash/bash-5.1/debian/bash/usr/share/locale/sk/LC_MESSAGES/bash.mo
installing ../.././po/sl.gmo as /sonic/src/bash/bash-5.1/debian/bash/usr/share/locale/sl/LC_MESSAGES/bash.mo
installing ../.././po/sr.gmo as /sonic/src/bash/bash-5.1/debian/bash/usr/share/locale/sr/LC_MESSAGES/bash.mo
installing ../.././po/sv.gmo as /sonic/src/bash/bash-5.1/debian/bash/usr/share/locale/sv/LC_MESSAGES/bash.mo
installing ../.././po/tr.gmo as /sonic/src/bash/bash-5.1/debian/bash/usr/share/locale/tr/LC_MESSAGES/bash.mo
installing ../.././po/uk.gmo as /sonic/src/bash/bash-5.1/debian/bash/usr/share/locale/uk/LC_MESSAGES/bash.mo
installing ../.././po/vi.gmo as /sonic/src/bash/bash-5.1/debian/bash/usr/share/locale/vi/LC_MESSAGES/bash.mo
installing ../.././po/zh_CN.gmo as /sonic/src/bash/bash-5.1/debian/bash/usr/share/locale/zh_CN/LC_MESSAGES/bash.mo
installing ../.././po/zh_TW.gmo as /sonic/src/bash/bash-5.1/debian/bash/usr/share/locale/zh_TW/LC_MESSAGES/bash.mo
if test "bash" = "gettext-tools"; then \
/bin/sh ../.././support/mkinstalldirs /sonic/src/bash/bash-5.1/debian/bash/usr/share/gettext/po; \
for file in Makefile.in.in remove-potcdate.sin quot.sed boldquot.sed en@quot.header en@boldquot.header insert-header.sin Rules-quot Makevars.template; do \
/usr/bin/install -c -m 644 ../.././po/$file \
/sonic/src/bash/bash-5.1/debian/bash/usr/share/gettext/po/$file; \
done; \
for file in Makevars; do \
rm -f /sonic/src/bash/bash-5.1/debian/bash/usr/share/gettext/po/$file; \
done; \
else \
: ; \
fi
make[4]: Leaving directory '/sonic/src/bash/bash-5.1/build-bash/po'
( cd /sonic/src/bash/bash-5.1/build-bash/examples/loadables && /usr/bin/make -w -j1 DESTDIR=/sonic/src/bash/bash-5.1/debian/bash install )
make[4]: Entering directory '/sonic/src/bash/bash-5.1/build-bash/examples/loadables'
gcc -fPIC -DHAVE_CONFIG_H -DSHELL -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -I. -I.. -I../../../. -I../../.././lib -I../../.././builtins -I../../.././examples/loadables -I../../.././include -I/sonic/src/bash/bash-5.1/build-bash -I/sonic/src/bash/bash-5.1/build-bash/lib -I/sonic/src/bash/bash-5.1/build-bash/builtins -c -o print.o ../../.././examples/loadables/print.c
../../.././examples/loadables/print.c: In function 'print_builtin':
../../.././examples/loadables/print.c:80:21: warning: unused variable 'arg' [-Wunused-variable]
80 | char **v, *pfmt, *arg;
| ^~~
../../.././examples/loadables/print.c:80:10: warning: unused variable 'v' [-Wunused-variable]
80 | char **v, *pfmt, *arg;
| ^
gcc -shared -Wl,-soname,print -Wl,-z,relro -o print print.o
gcc -fPIC -DHAVE_CONFIG_H -DSHELL -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -I. -I.. -I../../../. -I../../.././lib -I../../.././builtins -I../../.././examples/loadables -I../../.././include -I/sonic/src/bash/bash-5.1/build-bash -I/sonic/src/bash/bash-5.1/build-bash/lib -I/sonic/src/bash/bash-5.1/build-bash/builtins -c -o truefalse.o ../../.././examples/loadables/truefalse.c
gcc -shared -Wl,-soname,truefalse -Wl,-z,relro -o truefalse truefalse.o
gcc -fPIC -DHAVE_CONFIG_H -DSHELL -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -I. -I.. -I../../../. -I../../.././lib -I../../.././builtins -I../../.././examples/loadables -I../../.././include -I/sonic/src/bash/bash-5.1/build-bash -I/sonic/src/bash/bash-5.1/build-bash/lib -I/sonic/src/bash/bash-5.1/build-bash/builtins -c -o sleep.o ../../.././examples/loadables/sleep.c
../../.././examples/loadables/sleep.c: In function 'sleep_builtin':
../../.././examples/loadables/sleep.c:58:9: warning: unused variable 't' [-Wunused-variable]
58 | time_t t;
| ^
../../.././examples/loadables/sleep.c:57:9: warning: unused variable 'mul' [-Wunused-variable]
57 | int r, mul;
| ^~~
gcc -shared -Wl,-soname,sleep -Wl,-z,relro -o sleep sleep.o
gcc -fPIC -DHAVE_CONFIG_H -DSHELL -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -I. -I.. -I../../../. -I../../.././lib -I../../.././builtins -I../../.././examples/loadables -I../../.././include -I/sonic/src/bash/bash-5.1/build-bash -I/sonic/src/bash/bash-5.1/build-bash/lib -I/sonic/src/bash/bash-5.1/build-bash/builtins -c -o finfo.o ../../.././examples/loadables/finfo.c
../../.././examples/loadables/finfo.c: In function 'finfo_main':
../../.././examples/loadables/finfo.c:111:6: warning: unused variable 'mode' [-Wunused-variable]
111 | int mode, flags, opt;
| ^~~~
../../.././examples/loadables/finfo.c: In function 'finfo_builtin':
../../.././examples/loadables/finfo.c:399:14: warning: unused variable 'l' [-Wunused-variable]
399 | WORD_LIST *l;
| ^
gcc -shared -Wl,-soname,finfo -Wl,-z,relro -o finfo finfo.o
gcc -fPIC -DHAVE_CONFIG_H -DSHELL -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -I. -I.. -I../../../. -I../../.././lib -I../../.././builtins -I../../.././examples/loadables -I../../.././include -I/sonic/src/bash/bash-5.1/build-bash -I/sonic/src/bash/bash-5.1/build-bash/lib -I/sonic/src/bash/bash-5.1/build-bash/builtins -c -o logname.o ../../.././examples/loadables/logname.c
gcc -shared -Wl,-soname,logname -Wl,-z,relro -o logname logname.o
gcc -fPIC -DHAVE_CONFIG_H -DSHELL -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -I. -I.. -I../../../. -I../../.././lib -I../../.././builtins -I../../.././examples/loadables -I../../.././include -I/sonic/src/bash/bash-5.1/build-bash -I/sonic/src/bash/bash-5.1/build-bash/lib -I/sonic/src/bash/bash-5.1/build-bash/builtins -c -o basename.o ../../.././examples/loadables/basename.c
gcc -shared -Wl,-soname,basename -Wl,-z,relro -o basename basename.o
gcc -fPIC -DHAVE_CONFIG_H -DSHELL -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -I. -I.. -I../../../. -I../../.././lib -I../../.././builtins -I../../.././examples/loadables -I../../.././include -I/sonic/src/bash/bash-5.1/build-bash -I/sonic/src/bash/bash-5.1/build-bash/lib -I/sonic/src/bash/bash-5.1/build-bash/builtins -c -o dirname.o ../../.././examples/loadables/dirname.c
gcc -shared -Wl,-soname,dirname -Wl,-z,relro -o dirname dirname.o
gcc -fPIC -DHAVE_CONFIG_H -DSHELL -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -I. -I.. -I../../../. -I../../.././lib -I../../.././builtins -I../../.././examples/loadables -I../../.././include -I/sonic/src/bash/bash-5.1/build-bash -I/sonic/src/bash/bash-5.1/build-bash/lib -I/sonic/src/bash/bash-5.1/build-bash/builtins -c -o fdflags.o ../../.././examples/loadables/fdflags.c
../../.././examples/loadables/fdflags.c: In function 'getflags':
../../.././examples/loadables/fdflags.c:136:7: warning: unused variable 'allflags' [-Wunused-variable]
136 | int allflags;
| ^~~~~~~~
../../.././examples/loadables/fdflags.c: In function 'fdflags_builtin':
../../.././examples/loadables/fdflags.c:196:12: warning: 'setspec' may be used uninitialized in this function [-Wmaybe-uninitialized]
196 | for (s = strtok(s, ","); s; s = strtok(NULL, ","))
| ^~~~~~~~~~~~~~
../../.././examples/loadables/fdflags.c:284:9: note: 'setspec' was declared here
284 | char *setspec;
| ^~~~~~~
gcc -shared -Wl,-soname,fdflags -Wl,-z,relro -o fdflags fdflags.o
gcc -fPIC -DHAVE_CONFIG_H -DSHELL -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -I. -I.. -I../../../. -I../../.././lib -I../../.././builtins -I../../.././examples/loadables -I../../.././include -I/sonic/src/bash/bash-5.1/build-bash -I/sonic/src/bash/bash-5.1/build-bash/lib -I/sonic/src/bash/bash-5.1/build-bash/builtins -c -o tty.o ../../.././examples/loadables/tty.c
gcc -shared -Wl,-soname,tty -Wl,-z,relro -o tty tty.o
gcc -fPIC -DHAVE_CONFIG_H -DSHELL -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -I. -I.. -I../../../. -I../../.././lib -I../../.././builtins -I../../.././examples/loadables -I../../.././include -I/sonic/src/bash/bash-5.1/build-bash -I/sonic/src/bash/bash-5.1/build-bash/lib -I/sonic/src/bash/bash-5.1/build-bash/builtins -c -o pathchk.o ../../.././examples/loadables/pathchk.c
gcc -shared -Wl,-soname,pathchk -Wl,-z,relro -o pathchk pathchk.o
gcc -fPIC -DHAVE_CONFIG_H -DSHELL -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -I. -I.. -I../../../. -I../../.././lib -I../../.././builtins -I../../.././examples/loadables -I../../.././include -I/sonic/src/bash/bash-5.1/build-bash -I/sonic/src/bash/bash-5.1/build-bash/lib -I/sonic/src/bash/bash-5.1/build-bash/builtins -c -o tee.o ../../.././examples/loadables/tee.c
../../.././examples/loadables/tee.c: In function 'tee_builtin':
../../.././examples/loadables/tee.c:72:9: warning: unused variable 't' [-Wunused-variable]
72 | char *t;
| ^
gcc -shared -Wl,-soname,tee -Wl,-z,relro -o tee tee.o
gcc -fPIC -DHAVE_CONFIG_H -DSHELL -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -I. -I.. -I../../../. -I../../.././lib -I../../.././builtins -I../../.././examples/loadables -I../../.././include -I/sonic/src/bash/bash-5.1/build-bash -I/sonic/src/bash/bash-5.1/build-bash/lib -I/sonic/src/bash/bash-5.1/build-bash/builtins -c -o head.o ../../.././examples/loadables/head.c
../../.././examples/loadables/head.c: In function 'head_builtin':
../../.././examples/loadables/head.c:102:9: warning: unused variable 't' [-Wunused-variable]
102 | char *t;
| ^
gcc -shared -Wl,-soname,head -Wl,-z,relro -o head head.o
gcc -fPIC -DHAVE_CONFIG_H -DSHELL -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -I. -I.. -I../../../. -I../../.././lib -I../../.././builtins -I../../.././examples/loadables -I../../.././include -I/sonic/src/bash/bash-5.1/build-bash -I/sonic/src/bash/bash-5.1/build-bash/lib -I/sonic/src/bash/bash-5.1/build-bash/builtins -c -o mkdir.o ../../.././examples/loadables/mkdir.c
../../.././examples/loadables/mkdir.c: In function 'make_path':
../../.././examples/loadables/mkdir.c:173:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
173 | while (p = strchr (p, '/'))
| ^
../../.././examples/loadables/mkdir.c:142:7: warning: variable 'oumask' set but not used [-Wunused-but-set-variable]
142 | int oumask;
| ^~~~~~
gcc -shared -Wl,-soname,mkdir -Wl,-z,relro -o mkdir mkdir.o
gcc -fPIC -DHAVE_CONFIG_H -DSHELL -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -I. -I.. -I../../../. -I../../.././lib -I../../.././builtins -I../../.././examples/loadables -I../../.././include -I/sonic/src/bash/bash-5.1/build-bash -I/sonic/src/bash/bash-5.1/build-bash/lib -I/sonic/src/bash/bash-5.1/build-bash/builtins -c -o rmdir.o ../../.././examples/loadables/rmdir.c
gcc -shared -Wl,-soname,rmdir -Wl,-z,relro -o rmdir rmdir.o
gcc -fPIC -DHAVE_CONFIG_H -DSHELL -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -I. -I.. -I../../../. -I../../.././lib -I../../.././builtins -I../../.././examples/loadables -I../../.././include -I/sonic/src/bash/bash-5.1/build-bash -I/sonic/src/bash/bash-5.1/build-bash/lib -I/sonic/src/bash/bash-5.1/build-bash/builtins -c -o mkfifo.o ../../.././examples/loadables/mkfifo.c
../../.././examples/loadables/mkfifo.c: In function 'mkfifo_builtin':
../../.././examples/loadables/mkfifo.c:53:12: warning: variable 'mflag' set but not used [-Wunused-but-set-variable]
53 | int opt, mflag, omode, rval, nmode, basemode;
| ^~~~~
gcc -shared -Wl,-soname,mkfifo -Wl,-z,relro -o mkfifo mkfifo.o
gcc -fPIC -DHAVE_CONFIG_H -DSHELL -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -I. -I.. -I../../../. -I../../.././lib -I../../.././builtins -I../../.././examples/loadables -I../../.././include -I/sonic/src/bash/bash-5.1/build-bash -I/sonic/src/bash/bash-5.1/build-bash/lib -I/sonic/src/bash/bash-5.1/build-bash/builtins -c -o mktemp.o ../../.././examples/loadables/mktemp.c
../../.././examples/loadables/mktemp.c: In function 'mktemp_builtin':
../../.././examples/loadables/mktemp.c:38:14: warning: unused variable 'l' [-Wunused-variable]
38 | WORD_LIST *l;
| ^
gcc -shared -Wl,-soname,mktemp -Wl,-z,relro -o mktemp mktemp.o
gcc -fPIC -DHAVE_CONFIG_H -DSHELL -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -I. -I.. -I../../../. -I../../.././lib -I../../.././builtins -I../../.././examples/loadables -I../../.././include -I/sonic/src/bash/bash-5.1/build-bash -I/sonic/src/bash/bash-5.1/build-bash/lib -I/sonic/src/bash/bash-5.1/build-bash/builtins -c -o printenv.o ../../.././examples/loadables/printenv.c
gcc -shared -Wl,-soname,printenv -Wl,-z,relro -o printenv printenv.o
gcc -fPIC -DHAVE_CONFIG_H -DSHELL -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -I. -I.. -I../../../. -I../../.././lib -I../../.././builtins -I../../.././examples/loadables -I../../.././include -I/sonic/src/bash/bash-5.1/build-bash -I/sonic/src/bash/bash-5.1/build-bash/lib -I/sonic/src/bash/bash-5.1/build-bash/builtins -c -o id.o ../../.././examples/loadables/id.c
../../.././examples/loadables/id.c:67:14: warning: 'id_user' defined but not used [-Wunused-variable]
67 | static char *id_user;
| ^~~~~~~
gcc -shared -Wl,-soname,id -Wl,-z,relro -o id id.o
gcc -fPIC -DHAVE_CONFIG_H -DSHELL -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -I. -I.. -I../../../. -I../../.././lib -I../../.././builtins -I../../.././examples/loadables -I../../.././include -I/sonic/src/bash/bash-5.1/build-bash -I/sonic/src/bash/bash-5.1/build-bash/lib -I/sonic/src/bash/bash-5.1/build-bash/builtins -c -o whoami.o ../../.././examples/loadables/whoami.c
gcc -shared -Wl,-soname,whoami -Wl,-z,relro -o whoami whoami.o
gcc -fPIC -DHAVE_CONFIG_H -DSHELL -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -I. -I.. -I../../../. -I../../.././lib -I../../.././builtins -I../../.././examples/loadables -I../../.././include -I/sonic/src/bash/bash-5.1/build-bash -I/sonic/src/bash/bash-5.1/build-bash/lib -I/sonic/src/bash/bash-5.1/build-bash/builtins -c -o uname.o ../../.././examples/loadables/uname.c
../../.././examples/loadables/uname.c: In function 'uname_builtin':
../../.././examples/loadables/uname.c:70:12: warning: unused variable 'r' [-Wunused-variable]
70 | int opt, r;
| ^
gcc -shared -Wl,-soname,uname -Wl,-z,relro -o uname uname.o
gcc -fPIC -DHAVE_CONFIG_H -DSHELL -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -I. -I.. -I../../../. -I../../.././lib -I../../.././builtins -I../../.././examples/loadables -I../../.././include -I/sonic/src/bash/bash-5.1/build-bash -I/sonic/src/bash/bash-5.1/build-bash/lib -I/sonic/src/bash/bash-5.1/build-bash/builtins -c -o sync.o ../../.././examples/loadables/sync.c
gcc -shared -Wl,-soname,sync -Wl,-z,relro -o sync sync.o
gcc -fPIC -DHAVE_CONFIG_H -DSHELL -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -I. -I.. -I../../../. -I../../.././lib -I../../.././builtins -I../../.././examples/loadables -I../../.././include -I/sonic/src/bash/bash-5.1/build-bash -I/sonic/src/bash/bash-5.1/build-bash/lib -I/sonic/src/bash/bash-5.1/build-bash/builtins -c -o push.o ../../.././examples/loadables/push.c
gcc -shared -Wl,-soname,push -Wl,-z,relro -o push push.o
gcc -fPIC -DHAVE_CONFIG_H -DSHELL -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -I. -I.. -I../../../. -I../../.././lib -I../../.././builtins -I../../.././examples/loadables -I../../.././include -I/sonic/src/bash/bash-5.1/build-bash -I/sonic/src/bash/bash-5.1/build-bash/lib -I/sonic/src/bash/bash-5.1/build-bash/builtins -c -o ln.o ../../.././examples/loadables/ln.c
gcc -shared -Wl,-soname,ln -Wl,-z,relro -o ln ln.o
gcc -fPIC -DHAVE_CONFIG_H -DSHELL -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -I. -I.. -I../../../. -I../../.././lib -I../../.././builtins -I../../.././examples/loadables -I../../.././include -I/sonic/src/bash/bash-5.1/build-bash -I/sonic/src/bash/bash-5.1/build-bash/lib -I/sonic/src/bash/bash-5.1/build-bash/builtins -c -o unlink.o ../../.././examples/loadables/unlink.c
gcc -shared -Wl,-soname,unlink -Wl,-z,relro -o unlink unlink.o
gcc -fPIC -DHAVE_CONFIG_H -DSHELL -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -I. -I.. -I../../../. -I../../.././lib -I../../.././builtins -I../../.././examples/loadables -I../../.././include -I/sonic/src/bash/bash-5.1/build-bash -I/sonic/src/bash/bash-5.1/build-bash/lib -I/sonic/src/bash/bash-5.1/build-bash/builtins -c -o realpath.o ../../.././examples/loadables/realpath.c
gcc -shared -Wl,-soname,realpath -Wl,-z,relro -o realpath realpath.o
gcc -fPIC -DHAVE_CONFIG_H -DSHELL -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -I. -I.. -I../../../. -I../../.././lib -I../../.././builtins -I../../.././examples/loadables -I../../.././include -I/sonic/src/bash/bash-5.1/build-bash -I/sonic/src/bash/bash-5.1/build-bash/lib -I/sonic/src/bash/bash-5.1/build-bash/builtins -c -o strftime.o ../../.././examples/loadables/strftime.c
gcc -shared -Wl,-soname,strftime -Wl,-z,relro -o strftime strftime.o
gcc -fPIC -DHAVE_CONFIG_H -DSHELL -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -I. -I.. -I../../../. -I../../.././lib -I../../.././builtins -I../../.././examples/loadables -I../../.././include -I/sonic/src/bash/bash-5.1/build-bash -I/sonic/src/bash/bash-5.1/build-bash/lib -I/sonic/src/bash/bash-5.1/build-bash/builtins -c -o mypid.o ../../.././examples/loadables/mypid.c
gcc -shared -Wl,-soname,mypid -Wl,-z,relro -o mypid mypid.o
gcc -fPIC -DHAVE_CONFIG_H -DSHELL -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -I. -I.. -I../../../. -I../../.././lib -I../../.././builtins -I../../.././examples/loadables -I../../.././include -I/sonic/src/bash/bash-5.1/build-bash -I/sonic/src/bash/bash-5.1/build-bash/lib -I/sonic/src/bash/bash-5.1/build-bash/builtins -c -o setpgid.o ../../.././examples/loadables/setpgid.c
gcc -shared -Wl,-soname,setpgid -Wl,-z,relro -o setpgid setpgid.o
gcc -fPIC -DHAVE_CONFIG_H -DSHELL -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -I. -I.. -I../../../. -I../../.././lib -I../../.././builtins -I../../.././examples/loadables -I../../.././include -I/sonic/src/bash/bash-5.1/build-bash -I/sonic/src/bash/bash-5.1/build-bash/lib -I/sonic/src/bash/bash-5.1/build-bash/builtins -c -o seq.o ../../.././examples/loadables/seq.c
../../.././examples/loadables/seq.c: In function 'getprec':
../../.././examples/loadables/seq.c:178:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
178 | if (dp = strchr (numbuf, decimal_point))
| ^~
gcc -shared -Wl,-soname,seq -Wl,-z,relro -o seq seq.o
gcc -fPIC -DHAVE_CONFIG_H -DSHELL -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -I. -I.. -I../../../. -I../../.././lib -I../../.././builtins -I../../.././examples/loadables -I../../.././include -I/sonic/src/bash/bash-5.1/build-bash -I/sonic/src/bash/bash-5.1/build-bash/lib -I/sonic/src/bash/bash-5.1/build-bash/builtins -c -o rm.o ../../.././examples/loadables/rm.c
../../.././examples/loadables/rm.c: In function 'rm_builtin':
../../.././examples/loadables/rm.c:117:15: warning: unused variable 'name' [-Wunused-variable]
117 | const char *name;
| ^~~~
gcc -shared -Wl,-soname,rm -Wl,-z,relro -o rm rm.o
gcc -fPIC -DHAVE_CONFIG_H -DSHELL -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -I. -I.. -I../../../. -I../../.././lib -I../../.././builtins -I../../.././examples/loadables -I../../.././include -I/sonic/src/bash/bash-5.1/build-bash -I/sonic/src/bash/bash-5.1/build-bash/lib -I/sonic/src/bash/bash-5.1/build-bash/builtins -c -o accept.o ../../.././examples/loadables/accept.c
../../.././examples/loadables/accept.c: In function 'accept_builtin':
../../.././examples/loadables/accept.c:47:14: warning: unused variable 'l' [-Wunused-variable]
47 | WORD_LIST *l;
| ^
gcc -shared -Wl,-soname,accept -Wl,-z,relro -o accept accept.o
gcc -fPIC -DHAVE_CONFIG_H -DSHELL -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -I. -I.. -I../../../. -I../../.././lib -I../../.././builtins -I../../.././examples/loadables -I../../.././include -I/sonic/src/bash/bash-5.1/build-bash -I/sonic/src/bash/bash-5.1/build-bash/lib -I/sonic/src/bash/bash-5.1/build-bash/builtins -c -o csv.o ../../.././examples/loadables/csv.c
gcc -shared -Wl,-soname,csv -Wl,-z,relro -o csv csv.o
gcc -fPIC -DHAVE_CONFIG_H -DSHELL -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/sonic/src/bash/bash-5.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -I. -I.. -I../../../. -I../../.././lib -I../../.././builtins -I../../.././examples/loadables -I../../.././include -I/sonic/src/bash/bash-5.1/build-bash -I/sonic/src/bash/bash-5.1/build-bash/lib -I/sonic/src/bash/bash-5.1/build-bash/builtins -c -o cut.o ../../.././examples/loadables/cut.c
../../.././examples/loadables/cut.c: In function 'getlist':
../../.././examples/loadables/cut.c:89:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
89 | while (ltok = strsep (&larg, ","))
| ^~~~
../../.././examples/loadables/cut.c: In function 'cutfields':
../../.././examples/loadables/cut.c:282:10: warning: unused variable 'llen' [-Wunused-variable]
282 | size_t llen, fsize;
| ^~~~
../../.././examples/loadables/cut.c: In function 'cutfile':
../../.././examples/loadables/cut.c:389:16: warning: unused variable 'b' [-Wunused-variable]
389 | char *line, *b;
| ^
gcc -shared -Wl,-soname,cut -Wl,-z,relro -o cut cut.o
mkdir -p -- /sonic/src/bash/bash-5.1/debian/bash/usr/lib/bash
make[5]: Entering directory '/sonic/src/bash/bash-5.1/build-bash'
mkdir -p -- /sonic/src/bash/bash-5.1/debian/bash/usr/include/bash
mkdir -p -- /sonic/src/bash/bash-5.1/debian/bash/usr/include/bash/builtins
mkdir -p -- /sonic/src/bash/bash-5.1/debian/bash/usr/include/bash/include
mkdir -p -- /sonic/src/bash/bash-5.1/debian/bash/usr/lib/pkgconfig
/usr/bin/install -c -m 644 ./support/bash.pc /sonic/src/bash/bash-5.1/debian/bash/usr/lib/pkgconfig/bash.pc
make[5]: Leaving directory '/sonic/src/bash/bash-5.1/build-bash'
installing example loadable builtins in /sonic/src/bash/bash-5.1/debian/bash/usr/lib/bash
print
truefalse
sleep
finfo
logname
basename
dirname
fdflags
tty
pathchk
tee
head
mkdir
rmdir
mkfifo
mktemp
printenv
id
whoami
uname
sync
push
ln
unlink
realpath
strftime
mypid
setpgid
seq
rm
accept
csv
cut
make[4]: Leaving directory '/sonic/src/bash/bash-5.1/build-bash/examples/loadables'
make[3]: Leaving directory '/sonic/src/bash/bash-5.1/build-bash'
mv debian/bash/usr/bin/bash debian/bash/bin/.
chmod 755 debian/bash/usr/bin/bashbug
install -o 0 -g 0 -m 644 debian/bashbug.1 debian/bash/usr/share/man/man1/
rm -f debian/bash/usr/share/doc/bash/*.html
rm -f debian/bash/usr/share/info/*.info
rm -f debian/bash/usr/share/info/dir*
: # extra links
ln -sf bash debian/bash/bin/rbash
: # skeleton files
install -o 0 -g 0 -m 644 debian/etc.bash.bashrc debian/bash/etc/bash.bashrc
install -o 0 -g 0 -m 644 debian/skel.bashrc debian/bash/etc/skel/.bashrc
install -o 0 -g 0 -m 644 debian/skel.profile debian/bash/etc/skel/.profile
install -o 0 -g 0 -m 644 debian/skel.bash_logout debian/bash/etc/skel/.bash_logout
: # clean_console
install -o 0 -g 0 clear_console debian/bash/usr/bin/
install -o 0 -g 0 -m 644 debian/clear_console.1 debian/bash/usr/share/man/man1/
: # files for the bash-doc package
dh_installexamples -pbash-doc examples/*
rm -rf debian/bash-doc/usr/share/doc/bash/examples/loadables
mkdir -p debian/bash-doc/usr/share/doc/bash-doc
ln -sf ../bash/examples debian/bash-doc/usr/share/doc/bash-doc/examples
rm -rf debian/bash-doc/usr/share/doc/bash/examples/obashdb
cd debian/bash-doc/usr/share/doc/bash/examples && chmod 755 \
misc/aliasconv.*sh misc/cshtobash
cd debian/bash-doc/usr/share/doc/bash/examples && chmod 644 \
scripts/shprompt
: # files for the bash-builtins package
mv debian/bash/usr/include debian/bash-builtins/usr/.
mv debian/bash/usr/lib debian/bash-builtins/usr/.
install -o 0 -g 0 -m 644 examples/loadables/{README,*.c} \
debian/bash-builtins/usr/share/doc/bash/examples/loadables
install -o 0 -g 0 -m 644 build-bash/examples/loadables/Makefile \
debian/bash-builtins/usr/share/doc/bash/examples/loadables
ln -sf bash debian/bash-builtins/usr/share/doc/bash-builtins
sed -i \
-e 's@-ffile-prefix-map=[^ ]*[ ]*@@g' \
-e 's@-fdebug-prefix-map=[^ ]*[ ]*@@g' \
-e 's@^BUILD_DIR =.*@BUILD_DIR = /path/to/build-dir@' \
debian/bash/usr/bin/bashbug \
debian/bash-builtins/usr/lib/bash/Makefile.inc \
debian/bash-builtins/usr/share/doc/bash/examples/loadables/Makefile
cat debian/README > debian/README.Debian
touch stamps/stamp-install-bash
rm -f bash/doc/bashref.info
/usr/bin/make -C build-bash/doc info html MAN2HTML=/usr/bin/man2html
make[3]: Entering directory '/sonic/src/bash/bash-5.1/build-bash/doc'
make[3]: Nothing to be done for 'info'.
makeinfo --html --no-split -I../.././lib/readline/doc ../.././doc/bashref.texi
rm -f bash.html
/usr/bin/man2html ../.././doc/bash.1 | ../.././doc/htmlpost.sh > bash.html
man2html: Unknown operator .
make[3]: Leaving directory '/sonic/src/bash/bash-5.1/build-bash/doc'
/usr/bin/make -C build-bash/doc bash.pdf bashref.pdf
make[3]: Entering directory '/sonic/src/bash/bash-5.1/build-bash/doc'
rm -f bash.ps
groff -man ../.././doc/bash.1 > bash.ps
rm -f bash.pdf
gs -sPAPERSIZE=letter -sDEVICE=pdfwrite -dNOPAUSE -dBATCH -sOutputFile=bash.pdf bash.ps
GPL Ghostscript 9.53.3 (2020-10-01)
Copyright (C) 2020 Artifex Software, Inc. All rights reserved.
This software is supplied under the GNU AGPLv3 and comes with NO WARRANTY:
see the file COPYING for details.
Loading NimbusMonoPS-Regular font from /usr/share/ghostscript/9.53.3/Resource/Font/NimbusMonoPS-Regular... 5075408 3548188 2251272 928324 1 done.
Loading NimbusRoman-Italic font from /usr/share/ghostscript/9.53.3/Resource/Font/NimbusRoman-Italic... 5161720 3767905 2251272 934488 1 done.
Loading NimbusRoman-Bold font from /usr/share/ghostscript/9.53.3/Resource/Font/NimbusRoman-Bold... 5349032 3987231 2271472 943685 1 done.
Loading NimbusRoman-Regular font from /usr/share/ghostscript/9.53.3/Resource/Font/NimbusRoman-Regular... 5576744 4213848 2271472 949483 1 done.
Loading StandardSymbolsPS font from /usr/share/ghostscript/9.53.3/Resource/Font/StandardSymbolsPS... 5690312 4315234 2352272 1034003 2 done.
TEXINPUTS=.:../.././lib/readline/doc:$TEXINPUTS texi2dvi --pdf ../.././doc/bashref.texi || { rm -f bashref.pdf ; exit 1; }
This is pdfTeX, Version 3.14159265-2.6-1.40.21 (TeX Live 2020/Debian) (preloaded format=pdfetex)
restricted \write18 enabled.
entering extended mode
(./../.././doc/bashref.texi (/sonic/src/bash/bash-5.1/doc/texinfo.tex
Loading texinfo [version 2015-11-22.14]: pdf, fonts, markup, glyphs,
page headings, tables, conditionals, indexing, sectioning, toc, environments,
defuns, macros, cross references, insertions,
(/usr/share/texlive/texmf-dist/tex/generic/epsf/epsf.tex
This is `epsf.tex' v2.7.4 <14 February 2011>
) localization, formatting, and turning on texinfo input format.)
(/sonic/src/bash/bash-5.1/doc/version.texi) [1{/var/lib/texmf/fonts/map/pdftex/
updmap/pdftex.map}] [2] [-1] Chapter 1 Chapter 2 [1] [2]
Cross reference values unknown; you must run TeX again. [3] Chapter 3 [4]
[5] [6] [7]
Overfull \hbox (3.12749pt too wide) in paragraph at lines 613--614
@texttt coproc[]|
Overfull \hbox (3.12749pt too wide) in paragraph at lines 614--614
@texttt select[]|
Overfull \hbox (5.95723pt too wide) in paragraph at lines 614--615
@texttt function[]|
[8] [9] [10] [11] [12] [13] [14] [15] [16] [17] [18] [19] [20] [21] [22]
[23] [24] [25] [26] [27] [28] [29] [30] [31] [32] [33] [34] [35] [36] [37]
[38] [39] [40] [41] [42] [43] Chapter 4 [44] [45] [46] [47] [48] [49] [50]
[51] [52] [53] [54] [55] [56] [57] [58] [59] [60] [61] [62] [63] [64] [65]
[66] [67] [68] [69]
Underfull \hbox (badness 6842) in paragraph at lines 5363--5366
[]@texttt BASH_ARGC[] @textrm and @texttt BASH_ARGV[] @textrm are up-dated as
de-scribed
[70] [71] [72] Chapter 5 [73] [74] [75] [76] [77] [78] [79] [80] [81] [82]
[83] [84] [85] [86] Chapter 6 [87] [88] [89] [90] [91] [92] [93] [94] [95]
[96] [97] [98] [99] [100] [101] [102] [103] [104] [105] [106] [107] Chapter 7
[108] [109] [110] [111] (/sonic/src/bash/bash-5.1/lib/readline/doc/rluser.texi
Chapter 8 [112] [113] [114] [115] [116] [117] [118] [119] [120] [121] [122]
Underfull \hbox (badness 7540) in paragraph at lines 813--819
[]@textrm In the ex-am-ple above, @textttsl C-u[] @textrm is bound to the func
-tion
Underfull \hbox (badness 10000) in paragraph at lines 813--819
@texttt universal-argument[]@textrm , @textttsl M-DEL[] @textrm is bound to th
e func-tion
[123] [124] [125] [126]
Overfull \hbox (26.43913pt too wide) in paragraph at lines 1047--1047
[]@texttt Meta-Control-h: backward-kill-word Text after the function name is i
gnored[]
[127] [128] [129] [130] [131] [132] [133] [134] [135] [136] [137] [138]
[139] [140] [141]
Overfull \hbox (15.27109pt too wide) in paragraph at lines 2062--2062
[]@texttt complete [-abcdefgjksuv] [-o @textttsl comp-option@texttt ] [-DEI] [
-A @textttsl ac-tion@texttt ] [-
[142] [143] [144] [145] [146])
(/sonic/src/bash/bash-5.1/lib/readline/doc/hsuser.texi Chapter 9 [147] [148]
[149] [150] [151] [152]) Chapter 10 [153] [154] [155] [156] [157] [158]
[159] [160] Appendix A [161] Appendix B [162] [163] [164] [165] [166] [167]
Appendix C [168] (/sonic/src/bash/bash-5.1/doc/fdl.texi [169] [170] [171]
[172] [173] [174] [175]) Appendix D [176] [177]
kpathsea: Running mktexpk --mfmode / --bdpi 600 --mag 1+3/600 --dpi 603 ecrm1095
mktexpk: Running mf-nowin -progname=mf \mode:=ljfour; mag:=1+3/600; nonstopmode; input ecrm1095
This is METAFONT, Version 2.7182818 (TeX Live 2020/Debian) (preloaded base=mf)
(/usr/share/texlive/texmf-dist/fonts/source/jknappen/ec/ecrm1095.mf
(/usr/share/texlive/texmf-dist/fonts/source/jknappen/ec/exbase.mf)
(/usr/share/texlive/texmf-dist/fonts/source/jknappen/ec/ecrm.mf
(/usr/share/texlive/texmf-dist/fonts/source/jknappen/ec/exroman.mf
Ok (/usr/share/texlive/texmf-dist/fonts/source/jknappen/ec/exaccess.mf
Ok) (/usr/share/texlive/texmf-dist/fonts/source/jknappen/ec/expseudo.mf
Ok) (/usr/share/texlive/texmf-dist/fonts/source/jknappen/ec/exruwest.mf
Ok [192] [193] [194] [195] [196] [197] [198] [199] [200] [201] [202] [203]
[204] [205] [206] [207] [208] [209] [210] [211] [212] [213] [214] [215]
[216] [217] [218] [219] [220] [221] [222] [223])
(/usr/share/texlive/texmf-dist/fonts/source/jknappen/ec/exrlwest.mf
Ok [224] [225] [226] [227] [228] [229] [230] [231] [232] [233] [234] [235]
[236] [237] [238] [239] [240] [241] [242] [243] [244] [245] [246] [247]
[248] [249] [250] [251] [252] [253] [254] [255])
(/usr/share/texlive/texmf-dist/fonts/source/jknappen/ec/exrueast.mf
Ok [128] [129] [130] [131] [132] [133] [134] [135] [136] [137] [138] [139]
[140] [141] [142] [143] [144] [145] [146] [147] [148] [149] [150] [151]
[152] [153] [154] [155] [156] [157])
(/usr/share/texlive/texmf-dist/fonts/source/jknappen/ec/exrleast.mf
Ok [158] [160] [161] [162] [163] [164] [165] [166] [167] [168] [169] [170]
[171] [172] [173] [174] [175] [176] [177] [178] [179] [180] [181] [182]
[183] [184] [185] [186] [187] [188])
(/usr/share/texlive/texmf-dist/fonts/source/jknappen/ec/exbraces.mf
Ok [94] [126] [23] [40] [41] [60] [124] [62] [91] [93] [92] [123] [125]
[95] [127] [32])
(/usr/share/texlive/texmf-dist/fonts/source/jknappen/ec/expunct.mf
Ok [14] [15] [19] [20] [13] [18] [33] [39] [42] [43] [44] [46] [47] [58]
[59] [61] [96] [189] [17] [45] [16] [21] [22])
(/usr/share/texlive/texmf-dist/fonts/source/jknappen/ec/exaccent.mf
Ok [0] [1] [2] [3] [4] [5] [6] [7] [8] [9] [10] [11] [12])
(/usr/share/texlive/texmf-dist/fonts/source/jknappen/ec/exsign.mf
Ok [24] [34] [35] [36] [37] [64] [191] [159])
(/usr/share/texlive/texmf-dist/fonts/source/jknappen/ec/exrlig.mf
Ok [25] [26] [28] [27] [29] [30] [31])
(/usr/share/texlive/texmf-dist/fonts/source/jknappen/ec/exromp.mf
Ok [38] [63] [190])
(/usr/share/texlive/texmf-dist/fonts/source/jknappen/ec/exrulett.mf
Ok [65] [66] [67] [68] [69] [70] [71] [72] [73] [74] [75] [76] [77] [78]
[79] [80] [81] [82] [83] [84] [85] [86] [87] [88] [89] [90])
(/usr/share/texlive/texmf-dist/fonts/source/jknappen/ec/exrllett.mf
Ok [97] [98] [99] [100] [101] [102] [103] [104] [105] [106] [107] [108]
[109] [110] [111] [112] [113] [114] [115] [116] [117] [118] [119] [120]
[121] [122])
(/usr/share/texlive/texmf-dist/fonts/source/jknappen/ec/exrdigit.mf
Ok [48] [49] [50] [51] [52] [53] [54] [55] [56] [57])
(/usr/share/texlive/texmf-dist/fonts/source/jknappen/ec/exrligtb.mf
Ok) ) ) )
(some charht values had to be adjusted by as much as 0.07599pt)
Font metrics written on ecrm1095.tfm.
Output written on ecrm1095.603gf (256 characters, 55528 bytes).
Transcript written on ecrm1095.log.
mktexpk: /sonic/target/debs/bullseye/ecrm1095.603pk: successfully generated.
)
(see the transcript file for additional information)
Output written on bashref.pdf (180 pages, 675537 bytes).
Transcript written on bashref.log.
This is pdfTeX, Version 3.14159265-2.6-1.40.21 (TeX Live 2020/Debian) (preloaded format=pdfetex)
restricted \write18 enabled.
entering extended mode
(./../.././doc/bashref.texi (/sonic/src/bash/bash-5.1/doc/texinfo.tex
Loading texinfo [version 2015-11-22.14]: pdf, fonts, markup, glyphs,
page headings, tables, conditionals, indexing, sectioning, toc, environments,
defuns, macros, cross references, insertions,
(/usr/share/texlive/texmf-dist/tex/generic/epsf/epsf.tex
This is `epsf.tex' v2.7.4 <14 February 2011>
) localization, formatting, and turning on texinfo input format.)
(/sonic/src/bash/bash-5.1/doc/version.texi) [1{/var/lib/texmf/fonts/map/pdftex/
updmap/pdftex.map}] [2] (/sonic/src/bash/bash-5.1/build-bash/doc/bashref.toc
[-1] [-2] [-3]) [-4] (/sonic/src/bash/bash-5.1/build-bash/doc/bashref.toc)
(/sonic/src/bash/bash-5.1/build-bash/doc/bashref.toc) Chapter 1
(/sonic/src/bash/bash-5.1/build-bash/doc/bashref.aux) Chapter 2 [1] [2]
[3] Chapter 3 [4] [5] [6] [7]
Overfull \hbox (3.12749pt too wide) in paragraph at lines 613--614
@texttt coproc[]|
Overfull \hbox (3.12749pt too wide) in paragraph at lines 614--614
@texttt select[]|
Overfull \hbox (5.95723pt too wide) in paragraph at lines 614--615
@texttt function[]|
[8] [9] [10] [11] [12] [13] [14] [15] [16] [17] [18] [19] [20] [21] [22]
[23] [24] [25] [26] [27] [28] [29] [30] [31] [32] [33] [34] [35] [36] [37]
[38] [39] [40] [41] [42] Chapter 4 [43] [44] [45] [46] [47] [48] [49] [50]
[51] [52] [53] [54] [55] [56] [57] [58] [59] [60] [61] [62] [63] [64] [65]
[66] [67] [68] [69] [70] [71] Chapter 5 [72] [73] [74] [75] [76] [77] [78]
[79] [80] [81] [82] [83] [84] [85] Chapter 6 [86] [87] [88] [89] [90] [91]
[92] [93] [94] [95] [96] [97] [98] [99] [100] [101] [102] [103] [104] [105]
[106] Chapter 7 [107] [108] [109] [110]
(/sonic/src/bash/bash-5.1/lib/readline/doc/rluser.texi Chapter 8 [111] [112]
[113] [114] [115] [116] [117] [118] [119] [120] [121]
Underfull \hbox (badness 7540) in paragraph at lines 813--819
[]@textrm In the ex-am-ple above, @textttsl C-u[] @textrm is bound to the func
-tion
Underfull \hbox (badness 10000) in paragraph at lines 813--819
@texttt universal-argument[]@textrm , @textttsl M-DEL[] @textrm is bound to th
e func-tion
[122] [123] [124] [125]
Overfull \hbox (26.43913pt too wide) in paragraph at lines 1047--1047
[]@texttt Meta-Control-h: backward-kill-word Text after the function name is i
gnored[]
[126] [127] [128] [129] [130] [131] [132] [133] [134] [135] [136] [137]
[138] [139] [140]
Overfull \hbox (15.27109pt too wide) in paragraph at lines 2062--2062
[]@texttt complete [-abcdefgjksuv] [-o @textttsl comp-option@texttt ] [-DEI] [
-A @textttsl ac-tion@texttt ] [-
[141] [142] [143] [144] [145])
(/sonic/src/bash/bash-5.1/lib/readline/doc/hsuser.texi Chapter 9 [146] [147]
[148] [149] [150] [151]) Chapter 10 [152] [153] [154] [155] [156] [157]
[158] [159] Appendix A [160] Appendix B [161] [162] [163] [164] [165] [166]
Appendix C [167] (/sonic/src/bash/bash-5.1/doc/fdl.texi [168] [169] [170]
[171] [172] [173] [174]) Appendix D [175] [176] [177] [178] [179] [180]
[181] [182] [183] [184]
kpathsea: Running mktexpk --mfmode / --bdpi 600 --mag 0+583/600 --dpi 583 ecrm1440
mktexpk: Running mf-nowin -progname=mf \mode:=ljfour; mag:=0+583/600; nonstopmode; input ecrm1440
This is METAFONT, Version 2.7182818 (TeX Live 2020/Debian) (preloaded base=mf)
(/usr/share/texlive/texmf-dist/fonts/source/jknappen/ec/ecrm1440.mf
(/usr/share/texlive/texmf-dist/fonts/source/jknappen/ec/exbase.mf)
(/usr/share/texlive/texmf-dist/fonts/source/jknappen/ec/ecrm.mf
(/usr/share/texlive/texmf-dist/fonts/source/jknappen/ec/exroman.mf
Ok (/usr/share/texlive/texmf-dist/fonts/source/jknappen/ec/exaccess.mf
Ok) (/usr/share/texlive/texmf-dist/fonts/source/jknappen/ec/expseudo.mf
Ok) (/usr/share/texlive/texmf-dist/fonts/source/jknappen/ec/exruwest.mf
Ok [192] [193] [194] [195] [196] [197] [198] [199] [200] [201] [202] [203]
[204] [205] [206] [207] [208] [209] [210] [211] [212] [213] [214] [215]
[216] [217] [218] [219] [220] [221] [222] [223])
(/usr/share/texlive/texmf-dist/fonts/source/jknappen/ec/exrlwest.mf
Ok [224] [225] [226] [227] [228] [229] [230] [231] [232] [233] [234] [235]
[236] [237] [238] [239] [240] [241] [242] [243] [244] [245] [246] [247]
[248] [249] [250] [251] [252] [253] [254] [255])
(/usr/share/texlive/texmf-dist/fonts/source/jknappen/ec/exrueast.mf
Ok [128] [129] [130] [131] [132] [133] [134] [135] [136] [137] [138] [139]
[140] [141] [142] [143] [144] [145] [146] [147] [148] [149] [150] [151]
[152] [153] [154] [155] [156] [157])
(/usr/share/texlive/texmf-dist/fonts/source/jknappen/ec/exrleast.mf
Ok [158] [160] [161] [162] [163] [164] [165] [166] [167] [168] [169] [170]
[171] [172] [173] [174] [175] [176] [177] [178] [179] [180] [181] [182]
[183] [184] [185] [186] [187] [188])
(/usr/share/texlive/texmf-dist/fonts/source/jknappen/ec/exbraces.mf
Ok [94] [126] [23] [40] [41] [60] [124] [62] [91] [93] [92] [123] [125]
[95] [127] [32])
(/usr/share/texlive/texmf-dist/fonts/source/jknappen/ec/expunct.mf
Ok [14] [15] [19] [20] [13] [18] [33] [39] [42] [43] [44] [46] [47] [58]
[59] [61] [96] [189] [17] [45] [16] [21] [22])
(/usr/share/texlive/texmf-dist/fonts/source/jknappen/ec/exaccent.mf
Ok [0] [1] [2] [3] [4] [5] [6] [7] [8] [9] [10] [11] [12])
(/usr/share/texlive/texmf-dist/fonts/source/jknappen/ec/exsign.mf
Ok [24] [34] [35] [36] [37] [64] [191] [159])
(/usr/share/texlive/texmf-dist/fonts/source/jknappen/ec/exrlig.mf
Ok [25] [26] [28] [27] [29] [30] [31])
(/usr/share/texlive/texmf-dist/fonts/source/jknappen/ec/exromp.mf
Ok [38] [63] [190])
(/usr/share/texlive/texmf-dist/fonts/source/jknappen/ec/exrulett.mf
Ok [65] [66] [67] [68] [69] [70] [71] [72] [73] [74] [75] [76] [77] [78]
[79] [80] [81] [82] [83] [84] [85] [86] [87] [88] [89] [90])
(/usr/share/texlive/texmf-dist/fonts/source/jknappen/ec/exrllett.mf
Ok [97] [98] [99] [100] [101] [102] [103] [104] [105] [106] [107] [108]
[109] [110] [111] [112] [113] [114] [115] [116] [117] [118] [119] [120]
[121] [122])
(/usr/share/texlive/texmf-dist/fonts/source/jknappen/ec/exrdigit.mf
Ok [48] [49] [50] [51] [52] [53] [54] [55] [56] [57])
(/usr/share/texlive/texmf-dist/fonts/source/jknappen/ec/exrligtb.mf
Ok) ) ) )
(some charht values had to be adjusted by as much as 0.08084pt)
Font metrics written on ecrm1440.tfm.
Output written on ecrm1440.583gf (256 characters, 69360 bytes).
Transcript written on ecrm1440.log.
mktexpk: /sonic/target/debs/bullseye/ecrm1440.583pk: successfully generated.
)
(see the transcript file for additional information)
kpathsea: Running mktexpk --mfmode / --bdpi 600 --mag 1+3/600 --dpi 603 ecrm1095
mktexpk: /sonic/target/debs/bullseye/ecrm1095.603pk already exists.
Output written on bashref.pdf (190 pages, 761160 bytes).
Transcript written on bashref.log.
This is pdfTeX, Version 3.14159265-2.6-1.40.21 (TeX Live 2020/Debian) (preloaded format=pdfetex)
restricted \write18 enabled.
entering extended mode
(./../.././doc/bashref.texi (/sonic/src/bash/bash-5.1/doc/texinfo.tex
Loading texinfo [version 2015-11-22.14]: pdf, fonts, markup, glyphs,
page headings, tables, conditionals, indexing, sectioning, toc, environments,
defuns, macros, cross references, insertions,
(/usr/share/texlive/texmf-dist/tex/generic/epsf/epsf.tex
This is `epsf.tex' v2.7.4 <14 February 2011>
) localization, formatting, and turning on texinfo input format.)
(/sonic/src/bash/bash-5.1/doc/version.texi) [1{/var/lib/texmf/fonts/map/pdftex/
updmap/pdftex.map}] [2] (/sonic/src/bash/bash-5.1/build-bash/doc/bashref.toc
[-1] [-2] [-3]) [-4] (/sonic/src/bash/bash-5.1/build-bash/doc/bashref.toc)
(/sonic/src/bash/bash-5.1/build-bash/doc/bashref.toc) Chapter 1
(/sonic/src/bash/bash-5.1/build-bash/doc/bashref.aux) Chapter 2 [1] [2]
[3] Chapter 3 [4] [5] [6] [7]
Overfull \hbox (3.12749pt too wide) in paragraph at lines 613--614
@texttt coproc[]|
Overfull \hbox (3.12749pt too wide) in paragraph at lines 614--614
@texttt select[]|
Overfull \hbox (5.95723pt too wide) in paragraph at lines 614--615
@texttt function[]|
[8] [9] [10] [11] [12] [13] [14] [15] [16] [17] [18] [19] [20] [21] [22]
[23] [24] [25] [26] [27] [28] [29] [30] [31] [32] [33] [34] [35] [36] [37]
[38] [39] [40] [41] [42] Chapter 4 [43] [44] [45] [46] [47] [48] [49] [50]
[51] [52] [53] [54] [55] [56] [57] [58] [59] [60] [61] [62] [63] [64] [65]
[66] [67] [68] [69] [70] [71] Chapter 5 [72] [73] [74] [75] [76] [77] [78]
[79] [80] [81] [82] [83] [84] [85] Chapter 6 [86] [87] [88] [89] [90] [91]
[92] [93] [94] [95] [96] [97] [98] [99] [100] [101] [102] [103] [104] [105]
[106] Chapter 7 [107] [108] [109] [110]
(/sonic/src/bash/bash-5.1/lib/readline/doc/rluser.texi Chapter 8 [111] [112]
[113] [114] [115] [116] [117] [118] [119] [120] [121]
Underfull \hbox (badness 7540) in paragraph at lines 813--819
[]@textrm In the ex-am-ple above, @textttsl C-u[] @textrm is bound to the func
-tion
Underfull \hbox (badness 10000) in paragraph at lines 813--819
@texttt universal-argument[]@textrm , @textttsl M-DEL[] @textrm is bound to th
e func-tion
[122] [123] [124] [125]
Overfull \hbox (26.43913pt too wide) in paragraph at lines 1047--1047
[]@texttt Meta-Control-h: backward-kill-word Text after the function name is i
gnored[]
[126] [127] [128] [129] [130] [131] [132] [133] [134] [135] [136] [137]
[138] [139] [140]
Overfull \hbox (15.27109pt too wide) in paragraph at lines 2062--2062
[]@texttt complete [-abcdefgjksuv] [-o @textttsl comp-option@texttt ] [-DEI] [
-A @textttsl ac-tion@texttt ] [-
[141] [142] [143] [144] [145])
(/sonic/src/bash/bash-5.1/lib/readline/doc/hsuser.texi Chapter 9 [146] [147]
[148] [149] [150] [151]) Chapter 10 [152] [153] [154] [155] [156] [157]
[158] [159] Appendix A [160] Appendix B [161] [162] [163] [164] [165] [166]
Appendix C [167] (/sonic/src/bash/bash-5.1/doc/fdl.texi [168] [169] [170]
[171] [172] [173] [174]) Appendix D [175] [176] [177] [178] [179] [180]
[181] [182] [183] [184]
kpathsea: Running mktexpk --mfmode / --bdpi 600 --mag 0+583/600 --dpi 583 ecrm1440
mktexpk: /sonic/target/debs/bullseye/ecrm1440.583pk already exists.
)
(see the transcript file for additional information)
kpathsea: Running mktexpk --mfmode / --bdpi 600 --mag 1+3/600 --dpi 603 ecrm1095
mktexpk: /sonic/target/debs/bullseye/ecrm1095.603pk already exists.
Output written on bashref.pdf (190 pages, 761192 bytes).
Transcript written on bashref.log.
make[3]: Leaving directory '/sonic/src/bash/bash-5.1/build-bash/doc'
touch stamps/stamp-build-bash-doc
dh_testdir
dh_testroot
mkdir -p debian/bash-doc/usr/share/doc/bash
dh_installdocs -pbash-doc
cp -p build-bash/doc/bashref.{html,pdf} debian/bash-doc/usr/share/doc/bash/.
mkdir -p debian/bash-doc/usr/share/info
cp -p build-bash/doc/bash.info debian/bash-doc/usr/share/info/.
dh_link -pbash-doc \
/usr/share/doc/bash/bashref.html /usr/share/doc/bash-doc/bashref.html \
/usr/share/doc/bash/bashref.pdf /usr/share/doc/bash-doc/bashref.pdf
rm -f debian/bash-doc/usr/share/info/dir*
cp -p build-bash/doc/bash.html build-bash/doc/bash.pdf \
debian/bash-doc/usr/share/doc/bash/
dh_link -pbash-doc \
/usr/share/doc/bash/bash.html /usr/share/doc/bash-doc/bash.html \
/usr/share/doc/bash/bash.pdf /usr/share/doc/bash-doc/bash.pdf
dh_installchangelogs -pbash-doc CWRU/changelog
dh_compress -pbash-doc -Xexamples -X.pdf
dh_fixperms -pbash-doc
dh_installdeb -pbash-doc
dh_gencontrol -pbash-doc
dh_md5sums -pbash-doc
dh_builddeb -pbash-doc
dpkg-deb: building package 'bash-doc' in '../bash-doc_5.1-2_all.deb'.
dh_testdir
dh_testroot
dh_installchangelogs -pbash
dh_installdocs -pbash \
CHANGES NEWS COMPAT doc/INTRO POSIX \
debian/{README.Debian,README.abs-guide,README.commands} \
debian/inputrc.arrows
install -D -m 644 debian/bash.overrides \
debian/bash/usr/share/lintian/overrides/bash
install -D -m 644 debian/bash-builtins.overrides \
debian/bash-builtins/usr/share/lintian/overrides/bash-builtins
dh_installman -pbash doc/rbash.1 debian/bash-builtins.7
dh_installmenu -pbash
dh_strip -pbash
dh_compress -pbash
dh_fixperms -pbash
dh_shlibdeps -pbash -- -dPre-Depends debian/bash/bin/bash debian/bash.preinst
dpkg-shlibdeps: warning: binaries to analyze should already be installed in their package's directory
dh_installdeb -pbash
dh_gencontrol -pbash
dh_md5sums -pbash
dh_builddeb -pbash
dpkg-deb: building package 'bash-dbgsym' in '../bash-dbgsym_5.1-2_amd64.deb'.
dpkg-deb: building package 'bash' in '../bash_5.1-2_amd64.deb'.
dh_testdir
dh_testroot
dh_strip -pbash-builtins
dh_compress -pbash-builtins -Xexamples
dh_fixperms -pbash-builtins
dh_installdeb -pbash-builtins
dh_gencontrol -pbash-builtins
dh_md5sums -pbash-builtins
dh_builddeb -pbash-builtins
dpkg-deb: building package 'bash-builtins' in '../bash-builtins_5.1-2_amd64.deb'.
dpkg-deb: building package 'bash-builtins-dbgsym' in '../bash-builtins-dbgsym_5.1-2_amd64.deb'.
/usr/bin/make -f debian/rules do-build-static \
bash_src=. \
build=static \
configure_args="--enable-largefile --prefix=/usr --infodir=/usr/share/info --mandir=/usr/share/man --without-bash-malloc --build x86_64-linux-gnu --enable-static-link "
make[3]: Entering directory '/sonic/src/bash/bash-5.1'
make[3]: Nothing to be done for 'do-build-static'.
make[3]: Leaving directory '/sonic/src/bash/bash-5.1'
dh_testdir
dh_testroot
dh_prep -pbash-static
dh_installdirs -pbash-static \
bin \
usr/share/man/man1
cp -p build-static/bash debian/bash-static/bin/bash-static
cp -p doc/bash.1 debian/bash-static/usr/share/man/man1/bash-static.1
dh_installdocs -pbash-static
dh_installchangelogs -pbash-static
install -D -m 644 debian/bash-static.overrides \
debian/bash-static/usr/share/lintian/overrides/bash-static
dh_strip -pbash-static
dh_compress -pbash-static
dh_fixperms -pbash-static
dh_installdeb -pbash-static
dh_gencontrol -pbash-static -- \
'-Vglibc:Source=glibc (= 2.31-13+deb11u13), '
dh_md5sums -pbash-static
dh_builddeb -pbash-static
dpkg-deb: building package 'bash-static' in '../bash-static_5.1-2_amd64.deb'.
dpkg-deb: building package 'bash-static-dbgsym' in '../bash-static-dbgsym_5.1-2_amd64.deb'.
make[2]: Leaving directory '/sonic/src/bash/bash-5.1'
dpkg-genbuildinfo --build=binary --admindir=/sonic/dpkg/tmp.SJKpafKR9n
dpkg-genchanges --build=binary >../bash_5.1-2_amd64.changes
dpkg-genchanges: info: binary-only upload (no source code included)
dpkg-source --after-build .
dpkg-buildpackage: info: binary-only upload (no source included)
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
Beginning configuration for bash-5.1-release for x86_64-pc-linux-gnu
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for library containing strerror... none required
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... yes
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking whether gcc needs -traditional... no
checking for a BSD-compatible install... /usr/bin/install -c
checking for ar... ar
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 with more range or precision than double... yes
checking for function prototypes... yes
checking whether char is unsigned... no
checking for working volatile... yes
checking for C/C++ restrict keyword... __restrict
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for a sed that does not truncate output... /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 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 stdlib.h... (cached) yes
checking for unistd.h... (cached) yes
checking for sys/param.h... yes
checking for xlocale.h... no
checking for sys/time.h... yes
checking for getpagesize... 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... lib,lib
checking whether imported symbols can be declared weak... yes
checking pthread.h usability... yes
checking pthread.h presence... yes
checking for pthread.h... 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 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 argz.h usability... yes
checking argz.h presence... yes
checking for argz.h... yes
checking for inttypes.h... (cached) yes
checking limits.h usability... yes
checking limits.h presence... 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.7.5, 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 symlink... yes
checking for uselocale... yes
checking for alarm... yes
checking for fpurge... no
checking for __fpurge... yes
checking for snprintf... yes
checking for vsnprintf... 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 ar... (cached) ar
checking for ptrdiff_t... yes
checking features.h usability... yes
checking features.h presence... yes
checking for features.h... yes
checking stddef.h usability... yes
checking stddef.h presence... 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 whether time.h and sys/time.h may both be included... yes
checking whether sys/types.h defines makedev... no
checking sys/mkdev.h usability... no
checking sys/mkdev.h presence... no
checking for sys/mkdev.h... no
checking sys/sysmacros.h usability... yes
checking sys/sysmacros.h presence... yes
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 stdarg.h usability... yes
checking stdarg.h presence... yes
checking for stdarg.h... yes
checking varargs.h usability... no
checking varargs.h presence... no
checking for varargs.h... no
checking for limits.h... (cached) yes
checking for string.h... (cached) yes
checking for memory.h... (cached) yes
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking termcap.h usability... yes
checking termcap.h presence... yes
checking for termcap.h... yes
checking termio.h usability... yes
checking termio.h presence... yes
checking for termio.h... yes
checking termios.h usability... yes
checking termios.h presence... yes
checking for termios.h... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking stdbool.h usability... yes
checking stdbool.h presence... yes
checking for stdbool.h... yes
checking for stddef.h... (cached) yes
checking for stdint.h... (cached) yes
checking netdb.h usability... yes
checking netdb.h presence... yes
checking for netdb.h... yes
checking pwd.h usability... yes
checking pwd.h presence... yes
checking for pwd.h... yes
checking grp.h usability... yes
checking grp.h presence... yes
checking for grp.h... yes
checking for strings.h... (cached) yes
checking regex.h usability... yes
checking regex.h presence... yes
checking for regex.h... yes
checking syslog.h usability... yes
checking syslog.h presence... yes
checking for syslog.h... yes
checking ulimit.h usability... yes
checking ulimit.h presence... yes
checking for ulimit.h... yes
checking sys/pte.h usability... no
checking sys/pte.h presence... no
checking for sys/pte.h... no
checking sys/stream.h usability... no
checking sys/stream.h presence... no
checking for sys/stream.h... no
checking sys/select.h usability... yes
checking sys/select.h presence... yes
checking for sys/select.h... yes
checking sys/file.h usability... yes
checking sys/file.h presence... yes
checking for sys/file.h... yes
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
checking sys/mman.h usability... yes
checking sys/mman.h presence... yes
checking for sys/mman.h... yes
checking for sys/param.h... (cached) yes
checking sys/random.h usability... yes
checking sys/random.h presence... yes
checking for sys/random.h... yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking for sys/stat.h... (cached) yes
checking for sys/time.h... (cached) yes
checking sys/times.h usability... yes
checking sys/times.h presence... yes
checking for sys/times.h... yes
checking for sys/types.h... (cached) yes
checking sys/wait.h usability... yes
checking sys/wait.h presence... yes
checking for sys/wait.h... yes
checking netinet/in.h usability... yes
checking netinet/in.h presence... yes
checking for netinet/in.h... yes
checking arpa/inet.h usability... yes
checking arpa/inet.h presence... 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 in sys/types.h... yes
checking for unistd.h... (cached) yes
checking for working chown... yes
checking whether getpgrp requires zero arguments... yes
checking for vprintf... yes
checking for _doprnt... no
checking for working strcoll... yes
checking return type of signal handlers... void
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... no
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 strtoimax... yes
checking for strtoumax... yes
checking for dprintf... yes
checking for strchrnul... yes
checking for strdup... (cached) yes
checking libaudit.h usability... yes
checking libaudit.h presence... 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 for declaration of strtoimax... yes
checking for declaration of strtol... yes
checking for declaration of strtoll... yes
checking for declaration of strtoul... yes
checking for declaration of strtoull... yes
checking for declaration of strtoumax... yes
checking for working mktime... yes
checking for argz.h... (cached) yes
checking errno.h usability... yes
checking errno.h presence... yes
checking for errno.h... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking malloc.h usability... yes
checking malloc.h presence... yes
checking for malloc.h... yes
checking stdio_ext.h usability... yes
checking stdio_ext.h presence... yes
checking for stdio_ext.h... yes
checking for getpagesize... (cached) 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 wctype.h usability... yes
checking wctype.h presence... yes
checking for wctype.h... yes
checking wchar.h usability... yes
checking wchar.h presence... yes
checking for wchar.h... yes
checking langinfo.h usability... yes
checking langinfo.h presence... yes
checking for langinfo.h... yes
checking mbstr.h usability... no
checking mbstr.h presence... no
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 nl_langinfo and CODESET... yes
checking for wchar_t in wchar.h... yes
checking for wctype_t in wctype.h... yes
checking for wint_t in wctype.h... yes
checking for wcwidth broken with unicode combining characters... yes
checking 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 whether sys_siglist is declared... 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... long long
checking for unsigned long long... unsigned long long
checking return type of signal handlers... (cached) void
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 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 whether the ctype macros accept non-ascii characters... no
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 for sys_siglist in system C library... yes
checking for _sys_siglist in signal.h or unistd.h... yes
checking for _sys_siglist in system C library... yes
checking whether signal handlers are of type void... yes
checking for clock_t... yes
checking for sigset_t... yes
checking for sig_atomic_t... yes
checking for quad_t... yes
checking for intmax_t... yes
checking for uintmax_t... yes
checking for socklen_t... yes
checking for size and type of struct rlimit fields... rlim_t
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... yes
checking for struct dirent.d_fileno... yes
checking for struct dirent.d_namlen... 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 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... no
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/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 default commands
make[2]: Entering directory '/sonic/src/bash/bash-5.1'
make[2]: warning: jobserver unavailable: using -j1. Add '+' to parent make rule.
rm -f mksyntax
gcc -DPROGRAM='"bash"' -DCONF_HOSTTYPE='"x86_64"' -DCONF_OSTYPE='"linux-gnu"' -DCONF_MACHTYPE='"x86_64-pc-linux-gnu"' -DCONF_VENDOR='"pc"' -DLOCALEDIR='"/usr/local/share/locale"' -DPACKAGE='"bash"' -DSHELL -DHAVE_CONFIG_H -I. -I. -I./include -I./lib -g -O2 -Wno-parentheses -Wno-format-security -rdynamic -g -O2 -Wno-parentheses -Wno-format-security -rdynamic -g -O2 -Wno-parentheses -Wno-format-security -o mksyntax ./mksyntax.c
rm -f syntax.c
./mksyntax -o syntax.c
/bin/sh ./support/mkversion.sh -b -S . -s release -d 5.1 -o newversion.h \
&& mv newversion.h version.h
gcc -DPROGRAM='"bash"' -DCONF_HOSTTYPE='"x86_64"' -DCONF_OSTYPE='"linux-gnu"' -DCONF_MACHTYPE='"x86_64-pc-linux-gnu"' -DCONF_VENDOR='"pc"' -DLOCALEDIR='"/usr/local/share/locale"' -DPACKAGE='"bash"' -DSHELL -DHAVE_CONFIG_H -I. -I. -I./include -I./lib -g -O2 -Wno-parentheses -Wno-format-security -DBUILDTOOL -c -o buildversion.o ./version.c
gcc -DPROGRAM='"bash"' -DCONF_HOSTTYPE='"x86_64"' -DCONF_OSTYPE='"linux-gnu"' -DCONF_MACHTYPE='"x86_64-pc-linux-gnu"' -DCONF_VENDOR='"pc"' -DLOCALEDIR='"/usr/local/share/locale"' -DPACKAGE='"bash"' -DSHELL -DHAVE_CONFIG_H -I. -I. -I./include -I./lib -g -O2 -Wno-parentheses -Wno-format-security -rdynamic -g -O2 -Wno-parentheses -Wno-format-security -rdynamic -g -O2 -Wno-parentheses -Wno-format-security -o bashversion ./support/bashversion.c buildversion.o
***********************************************************
* *
* GNU bash, version 5.1.4(1)-release (x86_64-pc-linux-gnu)
* *
***********************************************************
rm -f shell.o
gcc -DPROGRAM='"bash"' -DCONF_HOSTTYPE='"x86_64"' -DCONF_OSTYPE='"linux-gnu"' -DCONF_MACHTYPE='"x86_64-pc-linux-gnu"' -DCONF_VENDOR='"pc"' -DLOCALEDIR='"/usr/local/share/locale"' -DPACKAGE='"bash"' -DSHELL -DHAVE_CONFIG_H -I. -I. -I./include -I./lib -g -O2 -Wno-parentheses -Wno-format-security -c shell.c
rm -f eval.o
gcc -DPROGRAM='"bash"' -DCONF_HOSTTYPE='"x86_64"' -DCONF_OSTYPE='"linux-gnu"' -DCONF_MACHTYPE='"x86_64-pc-linux-gnu"' -DCONF_VENDOR='"pc"' -DLOCALEDIR='"/usr/local/share/locale"' -DPACKAGE='"bash"' -DSHELL -DHAVE_CONFIG_H -I. -I. -I./include -I./lib -g -O2 -Wno-parentheses -Wno-format-security -c eval.c
make[3]: Entering directory '/sonic/src/bash/bash-5.1/builtins'
rm -f mkbuiltins.o
gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I.. -I.. -I../include -I../lib -I. -g -O2 -Wno-parentheses -Wno-format-security mkbuiltins.c
gcc -rdynamic -g -O2 -Wno-parentheses -Wno-format-security -rdynamic -g -O2 -Wno-parentheses -Wno-format-security -o mkbuiltins mkbuiltins.o -ldl
./mkbuiltins -externfile builtext.h -structfile builtins.c \
-noproduction -D . ./alias.def ./bind.def ./break.def ./builtin.def ./caller.def ./cd.def ./colon.def ./command.def ./declare.def ./echo.def ./enable.def ./eval.def ./getopts.def ./exec.def ./exit.def ./fc.def ./fg_bg.def ./hash.def ./help.def ./history.def ./jobs.def ./kill.def ./let.def ./read.def ./return.def ./set.def ./setattr.def ./shift.def ./source.def ./suspend.def ./test.def ./times.def ./trap.def ./type.def ./ulimit.def ./umask.def ./wait.def ./reserved.def ./pushd.def ./shopt.def ./printf.def ./complete.def ./mapfile.def
make[3]: Leaving directory '/sonic/src/bash/bash-5.1/builtins'
rm -f execute_cmd.o
gcc -DPROGRAM='"bash"' -DCONF_HOSTTYPE='"x86_64"' -DCONF_OSTYPE='"linux-gnu"' -DCONF_MACHTYPE='"x86_64-pc-linux-gnu"' -DCONF_VENDOR='"pc"' -DLOCALEDIR='"/usr/local/share/locale"' -DPACKAGE='"bash"' -DSHELL -DHAVE_CONFIG_H -I. -I. -I./include -I./lib -g -O2 -Wno-parentheses -Wno-format-security -c execute_cmd.c
rm -f y.tab.o
gcc -DPROGRAM='"bash"' -DCONF_HOSTTYPE='"x86_64"' -DCONF_OSTYPE='"linux-gnu"' -DCONF_MACHTYPE='"x86_64-pc-linux-gnu"' -DCONF_VENDOR='"pc"' -DLOCALEDIR='"/usr/local/share/locale"' -DPACKAGE='"bash"' -DSHELL -DHAVE_CONFIG_H -I. -I. -I./include -I./lib -g -O2 -Wno-parentheses -Wno-format-security -c y.tab.c
rm -f general.o
gcc -DPROGRAM='"bash"' -DCONF_HOSTTYPE='"x86_64"' -DCONF_OSTYPE='"linux-gnu"' -DCONF_MACHTYPE='"x86_64-pc-linux-gnu"' -DCONF_VENDOR='"pc"' -DLOCALEDIR='"/usr/local/share/locale"' -DPACKAGE='"bash"' -DSHELL -DHAVE_CONFIG_H -I. -I. -I./include -I./lib -g -O2 -Wno-parentheses -Wno-format-security -c general.c
rm -f make_cmd.o
gcc -DPROGRAM='"bash"' -DCONF_HOSTTYPE='"x86_64"' -DCONF_OSTYPE='"linux-gnu"' -DCONF_MACHTYPE='"x86_64-pc-linux-gnu"' -DCONF_VENDOR='"pc"' -DLOCALEDIR='"/usr/local/share/locale"' -DPACKAGE='"bash"' -DSHELL -DHAVE_CONFIG_H -I. -I. -I./include -I./lib -g -O2 -Wno-parentheses -Wno-format-security -c make_cmd.c
rm -f print_cmd.o
gcc -DPROGRAM='"bash"' -DCONF_HOSTTYPE='"x86_64"' -DCONF_OSTYPE='"linux-gnu"' -DCONF_MACHTYPE='"x86_64-pc-linux-gnu"' -DCONF_VENDOR='"pc"' -DLOCALEDIR='"/usr/local/share/locale"' -DPACKAGE='"bash"' -DSHELL -DHAVE_CONFIG_H -I. -I. -I./include -I./lib -g -O2 -Wno-parentheses -Wno-format-security -c print_cmd.c
rm -f dispose_cmd.o
gcc -DPROGRAM='"bash"' -DCONF_HOSTTYPE='"x86_64"' -DCONF_OSTYPE='"linux-gnu"' -DCONF_MACHTYPE='"x86_64-pc-linux-gnu"' -DCONF_VENDOR='"pc"' -DLOCALEDIR='"/usr/local/share/locale"' -DPACKAGE='"bash"' -DSHELL -DHAVE_CONFIG_H -I. -I. -I./include -I./lib -g -O2 -Wno-parentheses -Wno-format-security -c dispose_cmd.c
rm -f variables.o
gcc -DPROGRAM='"bash"' -DCONF_HOSTTYPE='"x86_64"' -DCONF_OSTYPE='"linux-gnu"' -DCONF_MACHTYPE='"x86_64-pc-linux-gnu"' -DCONF_VENDOR='"pc"' -DLOCALEDIR='"/usr/local/share/locale"' -DPACKAGE='"bash"' -DSHELL -DHAVE_CONFIG_H -I. -I. -I./include -I./lib -g -O2 -Wno-parentheses -Wno-format-security -c variables.c
rm -f copy_cmd.o
gcc -DPROGRAM='"bash"' -DCONF_HOSTTYPE='"x86_64"' -DCONF_OSTYPE='"linux-gnu"' -DCONF_MACHTYPE='"x86_64-pc-linux-gnu"' -DCONF_VENDOR='"pc"' -DLOCALEDIR='"/usr/local/share/locale"' -DPACKAGE='"bash"' -DSHELL -DHAVE_CONFIG_H -I. -I. -I./include -I./lib -g -O2 -Wno-parentheses -Wno-format-security -c copy_cmd.c
rm -f error.o
gcc -DPROGRAM='"bash"' -DCONF_HOSTTYPE='"x86_64"' -DCONF_OSTYPE='"linux-gnu"' -DCONF_MACHTYPE='"x86_64-pc-linux-gnu"' -DCONF_VENDOR='"pc"' -DLOCALEDIR='"/usr/local/share/locale"' -DPACKAGE='"bash"' -DSHELL -DHAVE_CONFIG_H -I. -I. -I./include -I./lib -g -O2 -Wno-parentheses -Wno-format-security -c error.c
rm -f expr.o
gcc -DPROGRAM='"bash"' -DCONF_HOSTTYPE='"x86_64"' -DCONF_OSTYPE='"linux-gnu"' -DCONF_MACHTYPE='"x86_64-pc-linux-gnu"' -DCONF_VENDOR='"pc"' -DLOCALEDIR='"/usr/local/share/locale"' -DPACKAGE='"bash"' -DSHELL -DHAVE_CONFIG_H -I. -I. -I./include -I./lib -g -O2 -Wno-parentheses -Wno-format-security -c expr.c
rm -f flags.o
gcc -DPROGRAM='"bash"' -DCONF_HOSTTYPE='"x86_64"' -DCONF_OSTYPE='"linux-gnu"' -DCONF_MACHTYPE='"x86_64-pc-linux-gnu"' -DCONF_VENDOR='"pc"' -DLOCALEDIR='"/usr/local/share/locale"' -DPACKAGE='"bash"' -DSHELL -DHAVE_CONFIG_H -I. -I. -I./include -I./lib -g -O2 -Wno-parentheses -Wno-format-security -c flags.c
rm -f jobs.o
gcc -DPROGRAM='"bash"' -DCONF_HOSTTYPE='"x86_64"' -DCONF_OSTYPE='"linux-gnu"' -DCONF_MACHTYPE='"x86_64-pc-linux-gnu"' -DCONF_VENDOR='"pc"' -DLOCALEDIR='"/usr/local/share/locale"' -DPACKAGE='"bash"' -DSHELL -DHAVE_CONFIG_H -I. -I. -I./include -I./lib -g -O2 -Wno-parentheses -Wno-format-security -c jobs.c
rm -f subst.o
gcc -DPROGRAM='"bash"' -DCONF_HOSTTYPE='"x86_64"' -DCONF_OSTYPE='"linux-gnu"' -DCONF_MACHTYPE='"x86_64-pc-linux-gnu"' -DCONF_VENDOR='"pc"' -DLOCALEDIR='"/usr/local/share/locale"' -DPACKAGE='"bash"' -DSHELL -DHAVE_CONFIG_H -I. -I. -I./include -I./lib -g -O2 -Wno-parentheses -Wno-format-security -c subst.c
rm -f hashcmd.o
gcc -DPROGRAM='"bash"' -DCONF_HOSTTYPE='"x86_64"' -DCONF_OSTYPE='"linux-gnu"' -DCONF_MACHTYPE='"x86_64-pc-linux-gnu"' -DCONF_VENDOR='"pc"' -DLOCALEDIR='"/usr/local/share/locale"' -DPACKAGE='"bash"' -DSHELL -DHAVE_CONFIG_H -I. -I. -I./include -I./lib -g -O2 -Wno-parentheses -Wno-format-security -c hashcmd.c
rm -f hashlib.o
gcc -DPROGRAM='"bash"' -DCONF_HOSTTYPE='"x86_64"' -DCONF_OSTYPE='"linux-gnu"' -DCONF_MACHTYPE='"x86_64-pc-linux-gnu"' -DCONF_VENDOR='"pc"' -DLOCALEDIR='"/usr/local/share/locale"' -DPACKAGE='"bash"' -DSHELL -DHAVE_CONFIG_H -I. -I. -I./include -I./lib -g -O2 -Wno-parentheses -Wno-format-security -c hashlib.c
rm -f mailcheck.o
gcc -DPROGRAM='"bash"' -DCONF_HOSTTYPE='"x86_64"' -DCONF_OSTYPE='"linux-gnu"' -DCONF_MACHTYPE='"x86_64-pc-linux-gnu"' -DCONF_VENDOR='"pc"' -DLOCALEDIR='"/usr/local/share/locale"' -DPACKAGE='"bash"' -DSHELL -DHAVE_CONFIG_H -I. -I. -I./include -I./lib -g -O2 -Wno-parentheses -Wno-format-security -c mailcheck.c
rm -f mksignames.o
gcc -DPROGRAM='"bash"' -DCONF_HOSTTYPE='"x86_64"' -DCONF_OSTYPE='"linux-gnu"' -DCONF_MACHTYPE='"x86_64-pc-linux-gnu"' -DCONF_VENDOR='"pc"' -DLOCALEDIR='"/usr/local/share/locale"' -DPACKAGE='"bash"' -DSHELL -DHAVE_CONFIG_H -I. -I. -I./include -I./lib -g -O2 -Wno-parentheses -Wno-format-security -DBUILDTOOL -c ./support/mksignames.c
rm -f buildsignames.o
gcc -DPROGRAM='"bash"' -DCONF_HOSTTYPE='"x86_64"' -DCONF_OSTYPE='"linux-gnu"' -DCONF_MACHTYPE='"x86_64-pc-linux-gnu"' -DCONF_VENDOR='"pc"' -DLOCALEDIR='"/usr/local/share/locale"' -DPACKAGE='"bash"' -DSHELL -DHAVE_CONFIG_H -I. -I. -I./include -I./lib -g -O2 -Wno-parentheses -Wno-format-security -DBUILDTOOL -o buildsignames.o -c ./support/signames.c
rm -f mksignames
gcc -DPROGRAM='"bash"' -DCONF_HOSTTYPE='"x86_64"' -DCONF_OSTYPE='"linux-gnu"' -DCONF_MACHTYPE='"x86_64-pc-linux-gnu"' -DCONF_VENDOR='"pc"' -DLOCALEDIR='"/usr/local/share/locale"' -DPACKAGE='"bash"' -DSHELL -DHAVE_CONFIG_H -I. -I. -I./include -I./lib -g -O2 -Wno-parentheses -Wno-format-security -rdynamic -g -O2 -Wno-parentheses -Wno-format-security -rdynamic -g -O2 -Wno-parentheses -Wno-format-security -o mksignames mksignames.o buildsignames.o
rm -f lsignames.h
./mksignames lsignames.h
if cmp -s lsignames.h signames.h ; then :; else rm -f signames.h ; cp lsignames.h signames.h ; fi
rm -f trap.o
gcc -DPROGRAM='"bash"' -DCONF_HOSTTYPE='"x86_64"' -DCONF_OSTYPE='"linux-gnu"' -DCONF_MACHTYPE='"x86_64-pc-linux-gnu"' -DCONF_VENDOR='"pc"' -DLOCALEDIR='"/usr/local/share/locale"' -DPACKAGE='"bash"' -DSHELL -DHAVE_CONFIG_H -I. -I. -I./include -I./lib -g -O2 -Wno-parentheses -Wno-format-security -c trap.c
rm -f input.o
gcc -DPROGRAM='"bash"' -DCONF_HOSTTYPE='"x86_64"' -DCONF_OSTYPE='"linux-gnu"' -DCONF_MACHTYPE='"x86_64-pc-linux-gnu"' -DCONF_VENDOR='"pc"' -DLOCALEDIR='"/usr/local/share/locale"' -DPACKAGE='"bash"' -DSHELL -DHAVE_CONFIG_H -I. -I. -I./include -I./lib -g -O2 -Wno-parentheses -Wno-format-security -c input.c
rm -f unwind_prot.o
gcc -DPROGRAM='"bash"' -DCONF_HOSTTYPE='"x86_64"' -DCONF_OSTYPE='"linux-gnu"' -DCONF_MACHTYPE='"x86_64-pc-linux-gnu"' -DCONF_VENDOR='"pc"' -DLOCALEDIR='"/usr/local/share/locale"' -DPACKAGE='"bash"' -DSHELL -DHAVE_CONFIG_H -I. -I. -I./include -I./lib -g -O2 -Wno-parentheses -Wno-format-security -c unwind_prot.c
rm -f pathexp.o
gcc -DPROGRAM='"bash"' -DCONF_HOSTTYPE='"x86_64"' -DCONF_OSTYPE='"linux-gnu"' -DCONF_MACHTYPE='"x86_64-pc-linux-gnu"' -DCONF_VENDOR='"pc"' -DLOCALEDIR='"/usr/local/share/locale"' -DPACKAGE='"bash"' -DSHELL -DHAVE_CONFIG_H -I. -I. -I./include -I./lib -g -O2 -Wno-parentheses -Wno-format-security -c pathexp.c
rm -f sig.o
gcc -DPROGRAM='"bash"' -DCONF_HOSTTYPE='"x86_64"' -DCONF_OSTYPE='"linux-gnu"' -DCONF_MACHTYPE='"x86_64-pc-linux-gnu"' -DCONF_VENDOR='"pc"' -DLOCALEDIR='"/usr/local/share/locale"' -DPACKAGE='"bash"' -DSHELL -DHAVE_CONFIG_H -I. -I. -I./include -I./lib -g -O2 -Wno-parentheses -Wno-format-security -c sig.c
rm -f test.o
gcc -DPROGRAM='"bash"' -DCONF_HOSTTYPE='"x86_64"' -DCONF_OSTYPE='"linux-gnu"' -DCONF_MACHTYPE='"x86_64-pc-linux-gnu"' -DCONF_VENDOR='"pc"' -DLOCALEDIR='"/usr/local/share/locale"' -DPACKAGE='"bash"' -DSHELL -DHAVE_CONFIG_H -I. -I. -I./include -I./lib -g -O2 -Wno-parentheses -Wno-format-security -c test.c
rm -f version.o
gcc -DPROGRAM='"bash"' -DCONF_HOSTTYPE='"x86_64"' -DCONF_OSTYPE='"linux-gnu"' -DCONF_MACHTYPE='"x86_64-pc-linux-gnu"' -DCONF_VENDOR='"pc"' -DLOCALEDIR='"/usr/local/share/locale"' -DPACKAGE='"bash"' -DSHELL -DHAVE_CONFIG_H -I. -I. -I./include -I./lib -g -O2 -Wno-parentheses -Wno-format-security -c version.c
rm -f alias.o
gcc -DPROGRAM='"bash"' -DCONF_HOSTTYPE='"x86_64"' -DCONF_OSTYPE='"linux-gnu"' -DCONF_MACHTYPE='"x86_64-pc-linux-gnu"' -DCONF_VENDOR='"pc"' -DLOCALEDIR='"/usr/local/share/locale"' -DPACKAGE='"bash"' -DSHELL -DHAVE_CONFIG_H -I. -I. -I./include -I./lib -g -O2 -Wno-parentheses -Wno-format-security -c alias.c
rm -f array.o
gcc -DPROGRAM='"bash"' -DCONF_HOSTTYPE='"x86_64"' -DCONF_OSTYPE='"linux-gnu"' -DCONF_MACHTYPE='"x86_64-pc-linux-gnu"' -DCONF_VENDOR='"pc"' -DLOCALEDIR='"/usr/local/share/locale"' -DPACKAGE='"bash"' -DSHELL -DHAVE_CONFIG_H -I. -I. -I./include -I./lib -g -O2 -Wno-parentheses -Wno-format-security -c array.c
rm -f arrayfunc.o
gcc -DPROGRAM='"bash"' -DCONF_HOSTTYPE='"x86_64"' -DCONF_OSTYPE='"linux-gnu"' -DCONF_MACHTYPE='"x86_64-pc-linux-gnu"' -DCONF_VENDOR='"pc"' -DLOCALEDIR='"/usr/local/share/locale"' -DPACKAGE='"bash"' -DSHELL -DHAVE_CONFIG_H -I. -I. -I./include -I./lib -g -O2 -Wno-parentheses -Wno-format-security -c arrayfunc.c
rm -f assoc.o
gcc -DPROGRAM='"bash"' -DCONF_HOSTTYPE='"x86_64"' -DCONF_OSTYPE='"linux-gnu"' -DCONF_MACHTYPE='"x86_64-pc-linux-gnu"' -DCONF_VENDOR='"pc"' -DLOCALEDIR='"/usr/local/share/locale"' -DPACKAGE='"bash"' -DSHELL -DHAVE_CONFIG_H -I. -I. -I./include -I./lib -g -O2 -Wno-parentheses -Wno-format-security -c assoc.c
rm -f braces.o
gcc -DPROGRAM='"bash"' -DCONF_HOSTTYPE='"x86_64"' -DCONF_OSTYPE='"linux-gnu"' -DCONF_MACHTYPE='"x86_64-pc-linux-gnu"' -DCONF_VENDOR='"pc"' -DLOCALEDIR='"/usr/local/share/locale"' -DPACKAGE='"bash"' -DSHELL -DHAVE_CONFIG_H -I. -I. -I./include -I./lib -g -O2 -Wno-parentheses -Wno-format-security -c braces.c
rm -f bracecomp.o
gcc -DPROGRAM='"bash"' -DCONF_HOSTTYPE='"x86_64"' -DCONF_OSTYPE='"linux-gnu"' -DCONF_MACHTYPE='"x86_64-pc-linux-gnu"' -DCONF_VENDOR='"pc"' -DLOCALEDIR='"/usr/local/share/locale"' -DPACKAGE='"bash"' -DSHELL -DHAVE_CONFIG_H -I. -I. -I./include -I./lib -g -O2 -Wno-parentheses -Wno-format-security -c bracecomp.c
rm -f bashhist.o
gcc -DPROGRAM='"bash"' -DCONF_HOSTTYPE='"x86_64"' -DCONF_OSTYPE='"linux-gnu"' -DCONF_MACHTYPE='"x86_64-pc-linux-gnu"' -DCONF_VENDOR='"pc"' -DLOCALEDIR='"/usr/local/share/locale"' -DPACKAGE='"bash"' -DSHELL -DHAVE_CONFIG_H -I. -I. -I./include -I./lib -g -O2 -Wno-parentheses -Wno-format-security -c bashhist.c
rm -f bashline.o
gcc -DPROGRAM='"bash"' -DCONF_HOSTTYPE='"x86_64"' -DCONF_OSTYPE='"linux-gnu"' -DCONF_MACHTYPE='"x86_64-pc-linux-gnu"' -DCONF_VENDOR='"pc"' -DLOCALEDIR='"/usr/local/share/locale"' -DPACKAGE='"bash"' -DSHELL -DHAVE_CONFIG_H -I. -I. -I./include -I./lib -g -O2 -Wno-parentheses -Wno-format-security -c bashline.c
rm -f list.o
gcc -DPROGRAM='"bash"' -DCONF_HOSTTYPE='"x86_64"' -DCONF_OSTYPE='"linux-gnu"' -DCONF_MACHTYPE='"x86_64-pc-linux-gnu"' -DCONF_VENDOR='"pc"' -DLOCALEDIR='"/usr/local/share/locale"' -DPACKAGE='"bash"' -DSHELL -DHAVE_CONFIG_H -I. -I. -I./include -I./lib -g -O2 -Wno-parentheses -Wno-format-security -c list.c
rm -f stringlib.o
gcc -DPROGRAM='"bash"' -DCONF_HOSTTYPE='"x86_64"' -DCONF_OSTYPE='"linux-gnu"' -DCONF_MACHTYPE='"x86_64-pc-linux-gnu"' -DCONF_VENDOR='"pc"' -DLOCALEDIR='"/usr/local/share/locale"' -DPACKAGE='"bash"' -DSHELL -DHAVE_CONFIG_H -I. -I. -I./include -I./lib -g -O2 -Wno-parentheses -Wno-format-security -c stringlib.c
rm -f locale.o
gcc -DPROGRAM='"bash"' -DCONF_HOSTTYPE='"x86_64"' -DCONF_OSTYPE='"linux-gnu"' -DCONF_MACHTYPE='"x86_64-pc-linux-gnu"' -DCONF_VENDOR='"pc"' -DLOCALEDIR='"/usr/local/share/locale"' -DPACKAGE='"bash"' -DSHELL -DHAVE_CONFIG_H -I. -I. -I./include -I./lib -g -O2 -Wno-parentheses -Wno-format-security -c locale.c
rm -f findcmd.o
gcc -DPROGRAM='"bash"' -DCONF_HOSTTYPE='"x86_64"' -DCONF_OSTYPE='"linux-gnu"' -DCONF_MACHTYPE='"x86_64-pc-linux-gnu"' -DCONF_VENDOR='"pc"' -DLOCALEDIR='"/usr/local/share/locale"' -DPACKAGE='"bash"' -DSHELL -DHAVE_CONFIG_H -I. -I. -I./include -I./lib -g -O2 -Wno-parentheses -Wno-format-security -c findcmd.c
make[3]: Entering directory '/sonic/src/bash/bash-5.1/builtins'
gcc -DHAVE_CONFIG_H -DSHELL -I. -I.. -I.. -I../include -I../lib -I. -g -O2 -Wno-parentheses -Wno-format-security -rdynamic -g -O2 -Wno-parentheses -Wno-format-security -rdynamic -g -O2 -Wno-parentheses -Wno-format-security -o psize.aux ./psize.c
/bin/sh ./psize.sh > pipesize.h
make[3]: Leaving directory '/sonic/src/bash/bash-5.1/builtins'
rm -f redir.o
gcc -DPROGRAM='"bash"' -DCONF_HOSTTYPE='"x86_64"' -DCONF_OSTYPE='"linux-gnu"' -DCONF_MACHTYPE='"x86_64-pc-linux-gnu"' -DCONF_VENDOR='"pc"' -DLOCALEDIR='"/usr/local/share/locale"' -DPACKAGE='"bash"' -DSHELL -DHAVE_CONFIG_H -I. -I. -I./include -I./lib -g -O2 -Wno-parentheses -Wno-format-security -c redir.c
rm -f pcomplete.o
gcc -DPROGRAM='"bash"' -DCONF_HOSTTYPE='"x86_64"' -DCONF_OSTYPE='"linux-gnu"' -DCONF_MACHTYPE='"x86_64-pc-linux-gnu"' -DCONF_VENDOR='"pc"' -DLOCALEDIR='"/usr/local/share/locale"' -DPACKAGE='"bash"' -DSHELL -DHAVE_CONFIG_H -I. -I. -I./include -I./lib -g -O2 -Wno-parentheses -Wno-format-security -c pcomplete.c
rm -f pcomplib.o
gcc -DPROGRAM='"bash"' -DCONF_HOSTTYPE='"x86_64"' -DCONF_OSTYPE='"linux-gnu"' -DCONF_MACHTYPE='"x86_64-pc-linux-gnu"' -DCONF_VENDOR='"pc"' -DLOCALEDIR='"/usr/local/share/locale"' -DPACKAGE='"bash"' -DSHELL -DHAVE_CONFIG_H -I. -I. -I./include -I./lib -g -O2 -Wno-parentheses -Wno-format-security -c pcomplib.c
rm -f syntax.o
gcc -DPROGRAM='"bash"' -DCONF_HOSTTYPE='"x86_64"' -DCONF_OSTYPE='"linux-gnu"' -DCONF_MACHTYPE='"x86_64-pc-linux-gnu"' -DCONF_VENDOR='"pc"' -DLOCALEDIR='"/usr/local/share/locale"' -DPACKAGE='"bash"' -DSHELL -DHAVE_CONFIG_H -I. -I. -I./include -I./lib -g -O2 -Wno-parentheses -Wno-format-security -c syntax.c
rm -f xmalloc.o
gcc -DPROGRAM='"bash"' -DCONF_HOSTTYPE='"x86_64"' -DCONF_OSTYPE='"linux-gnu"' -DCONF_MACHTYPE='"x86_64-pc-linux-gnu"' -DCONF_VENDOR='"pc"' -DLOCALEDIR='"/usr/local/share/locale"' -DPACKAGE='"bash"' -DSHELL -DHAVE_CONFIG_H -I. -I. -I./include -I./lib -g -O2 -Wno-parentheses -Wno-format-security -c xmalloc.c
rm -f plugin.o
gcc -DPROGRAM='"bash"' -DCONF_HOSTTYPE='"x86_64"' -DCONF_OSTYPE='"linux-gnu"' -DCONF_MACHTYPE='"x86_64-pc-linux-gnu"' -DCONF_VENDOR='"pc"' -DLOCALEDIR='"/usr/local/share/locale"' -DPACKAGE='"bash"' -DSHELL -DHAVE_CONFIG_H -I. -I. -I./include -I./lib -g -O2 -Wno-parentheses -Wno-format-security -c plugin.c
make[3]: Entering directory '/sonic/src/bash/bash-5.1/builtins'
rm -f builtins.o
gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I.. -I.. -I../include -I../lib -I. -g -O2 -Wno-parentheses -Wno-format-security builtins.c
rm -f alias.o
./mkbuiltins -D . alias.def
gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I.. -I.. -I../include -I../lib -I. -g -O2 -Wno-parentheses -Wno-format-security alias.c || ( rm -f alias.c ; exit 1 )
rm -f alias.c
rm -f bind.o
./mkbuiltins -D . bind.def
gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I.. -I.. -I../include -I../lib -I. -g -O2 -Wno-parentheses -Wno-format-security bind.c || ( rm -f bind.c ; exit 1 )
rm -f bind.c
rm -f break.o
./mkbuiltins -D . break.def
gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I.. -I.. -I../include -I../lib -I. -g -O2 -Wno-parentheses -Wno-format-security break.c || ( rm -f break.c ; exit 1 )
rm -f break.c
rm -f builtin.o
./mkbuiltins -D . builtin.def
gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I.. -I.. -I../include -I../lib -I. -g -O2 -Wno-parentheses -Wno-format-security builtin.c || ( rm -f builtin.c ; exit 1 )
rm -f builtin.c
rm -f caller.o
./mkbuiltins -D . caller.def
gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I.. -I.. -I../include -I../lib -I. -g -O2 -Wno-parentheses -Wno-format-security caller.c || ( rm -f caller.c ; exit 1 )
rm -f caller.c
rm -f cd.o
./mkbuiltins -D . cd.def
gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I.. -I.. -I../include -I../lib -I. -g -O2 -Wno-parentheses -Wno-format-security cd.c || ( rm -f cd.c ; exit 1 )
rm -f cd.c
rm -f colon.o
./mkbuiltins -D . colon.def
gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I.. -I.. -I../include -I../lib -I. -g -O2 -Wno-parentheses -Wno-format-security colon.c || ( rm -f colon.c ; exit 1 )
rm -f colon.c
rm -f command.o
./mkbuiltins -D . command.def
gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I.. -I.. -I../include -I../lib -I. -g -O2 -Wno-parentheses -Wno-format-security command.c || ( rm -f command.c ; exit 1 )
rm -f command.c
rm -f common.o
gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I.. -I.. -I../include -I../lib -I. -g -O2 -Wno-parentheses -Wno-format-security common.c
rm -f declare.o
./mkbuiltins -D . declare.def
gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I.. -I.. -I../include -I../lib -I. -g -O2 -Wno-parentheses -Wno-format-security declare.c || ( rm -f declare.c ; exit 1 )
rm -f declare.c
rm -f echo.o
./mkbuiltins -D . echo.def
gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I.. -I.. -I../include -I../lib -I. -g -O2 -Wno-parentheses -Wno-format-security echo.c || ( rm -f echo.c ; exit 1 )
rm -f echo.c
rm -f enable.o
./mkbuiltins -D . enable.def
gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I.. -I.. -I../include -I../lib -I. -g -O2 -Wno-parentheses -Wno-format-security enable.c || ( rm -f enable.c ; exit 1 )
rm -f enable.c
rm -f eval.o
./mkbuiltins -D . eval.def
gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I.. -I.. -I../include -I../lib -I. -g -O2 -Wno-parentheses -Wno-format-security eval.c || ( rm -f eval.c ; exit 1 )
rm -f eval.c
rm -f evalfile.o
gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I.. -I.. -I../include -I../lib -I. -g -O2 -Wno-parentheses -Wno-format-security evalfile.c
rm -f evalstring.o
gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I.. -I.. -I../include -I../lib -I. -g -O2 -Wno-parentheses -Wno-format-security evalstring.c
rm -f exec.o
./mkbuiltins -D . exec.def
gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I.. -I.. -I../include -I../lib -I. -g -O2 -Wno-parentheses -Wno-format-security exec.c || ( rm -f exec.c ; exit 1 )
rm -f exec.c
rm -f exit.o
./mkbuiltins -D . exit.def
gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I.. -I.. -I../include -I../lib -I. -g -O2 -Wno-parentheses -Wno-format-security exit.c || ( rm -f exit.c ; exit 1 )
rm -f exit.c
rm -f fc.o
./mkbuiltins -D . fc.def
gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I.. -I.. -I../include -I../lib -I. -g -O2 -Wno-parentheses -Wno-format-security fc.c || ( rm -f fc.c ; exit 1 )
rm -f fc.c
rm -f fg_bg.o
./mkbuiltins -D . fg_bg.def
gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I.. -I.. -I../include -I../lib -I. -g -O2 -Wno-parentheses -Wno-format-security fg_bg.c || ( rm -f fg_bg.c ; exit 1 )
rm -f fg_bg.c
rm -f hash.o
./mkbuiltins -D . hash.def
gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I.. -I.. -I../include -I../lib -I. -g -O2 -Wno-parentheses -Wno-format-security hash.c || ( rm -f hash.c ; exit 1 )
rm -f hash.c
rm -f help.o
./mkbuiltins -D . help.def
gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I.. -I.. -I../include -I../lib -I. -g -O2 -Wno-parentheses -Wno-format-security help.c || ( rm -f help.c ; exit 1 )
rm -f help.c
rm -f history.o
./mkbuiltins -D . history.def
gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I.. -I.. -I../include -I../lib -I. -g -O2 -Wno-parentheses -Wno-format-security history.c || ( rm -f history.c ; exit 1 )
rm -f history.c
rm -f jobs.o
./mkbuiltins -D . jobs.def
gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I.. -I.. -I../include -I../lib -I. -g -O2 -Wno-parentheses -Wno-format-security jobs.c || ( rm -f jobs.c ; exit 1 )
rm -f jobs.c
rm -f kill.o
./mkbuiltins -D . kill.def
gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I.. -I.. -I../include -I../lib -I. -g -O2 -Wno-parentheses -Wno-format-security kill.c || ( rm -f kill.c ; exit 1 )
rm -f kill.c
rm -f let.o
./mkbuiltins -D . let.def
gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I.. -I.. -I../include -I../lib -I. -g -O2 -Wno-parentheses -Wno-format-security let.c || ( rm -f let.c ; exit 1 )
rm -f let.c
rm -f mapfile.o
./mkbuiltins -D . mapfile.def
gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I.. -I.. -I../include -I../lib -I. -g -O2 -Wno-parentheses -Wno-format-security mapfile.c || ( rm -f mapfile.c ; exit 1 )
rm -f mapfile.c
rm -f pushd.o
./mkbuiltins -D . pushd.def
gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I.. -I.. -I../include -I../lib -I. -g -O2 -Wno-parentheses -Wno-format-security pushd.c || ( rm -f pushd.c ; exit 1 )
rm -f pushd.c
rm -f read.o
./mkbuiltins -D . read.def
gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I.. -I.. -I../include -I../lib -I. -g -O2 -Wno-parentheses -Wno-format-security read.c || ( rm -f read.c ; exit 1 )
rm -f read.c
rm -f return.o
./mkbuiltins -D . return.def
gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I.. -I.. -I../include -I../lib -I. -g -O2 -Wno-parentheses -Wno-format-security return.c || ( rm -f return.c ; exit 1 )
rm -f return.c
rm -f set.o
./mkbuiltins -D . set.def
gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I.. -I.. -I../include -I../lib -I. -g -O2 -Wno-parentheses -Wno-format-security set.c || ( rm -f set.c ; exit 1 )
rm -f set.c
rm -f setattr.o
./mkbuiltins -D . setattr.def
gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I.. -I.. -I../include -I../lib -I. -g -O2 -Wno-parentheses -Wno-format-security setattr.c || ( rm -f setattr.c ; exit 1 )
rm -f setattr.c
rm -f shift.o
./mkbuiltins -D . shift.def
gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I.. -I.. -I../include -I../lib -I. -g -O2 -Wno-parentheses -Wno-format-security shift.c || ( rm -f shift.c ; exit 1 )
rm -f shift.c
rm -f source.o
./mkbuiltins -D . source.def
gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I.. -I.. -I../include -I../lib -I. -g -O2 -Wno-parentheses -Wno-format-security source.c || ( rm -f source.c ; exit 1 )
rm -f source.c
rm -f suspend.o
./mkbuiltins -D . suspend.def
gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I.. -I.. -I../include -I../lib -I. -g -O2 -Wno-parentheses -Wno-format-security suspend.c || ( rm -f suspend.c ; exit 1 )
rm -f suspend.c
rm -f test.o
./mkbuiltins -D . test.def
gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I.. -I.. -I../include -I../lib -I. -g -O2 -Wno-parentheses -Wno-format-security test.c || ( rm -f test.c ; exit 1 )
rm -f test.c
rm -f times.o
./mkbuiltins -D . times.def
gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I.. -I.. -I../include -I../lib -I. -g -O2 -Wno-parentheses -Wno-format-security times.c || ( rm -f times.c ; exit 1 )
rm -f times.c
rm -f trap.o
./mkbuiltins -D . trap.def
gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I.. -I.. -I../include -I../lib -I. -g -O2 -Wno-parentheses -Wno-format-security trap.c || ( rm -f trap.c ; exit 1 )
rm -f trap.c
rm -f type.o
./mkbuiltins -D . type.def
gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I.. -I.. -I../include -I../lib -I. -g -O2 -Wno-parentheses -Wno-format-security type.c || ( rm -f type.c ; exit 1 )
rm -f type.c
rm -f ulimit.o
./mkbuiltins -D . ulimit.def
gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I.. -I.. -I../include -I../lib -I. -g -O2 -Wno-parentheses -Wno-format-security ulimit.c || ( rm -f ulimit.c ; exit 1 )
rm -f ulimit.c
rm -f umask.o
./mkbuiltins -D . umask.def
gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I.. -I.. -I../include -I../lib -I. -g -O2 -Wno-parentheses -Wno-format-security umask.c || ( rm -f umask.c ; exit 1 )
rm -f umask.c
rm -f wait.o
./mkbuiltins -D . wait.def
gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I.. -I.. -I../include -I../lib -I. -g -O2 -Wno-parentheses -Wno-format-security wait.c || ( rm -f wait.c ; exit 1 )
rm -f wait.c
rm -f getopts.o
./mkbuiltins -D . getopts.def
gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I.. -I.. -I../include -I../lib -I. -g -O2 -Wno-parentheses -Wno-format-security getopts.c || ( rm -f getopts.c ; exit 1 )
rm -f getopts.c
rm -f shopt.o
./mkbuiltins -D . shopt.def
gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I.. -I.. -I../include -I../lib -I. -g -O2 -Wno-parentheses -Wno-format-security shopt.c || ( rm -f shopt.c ; exit 1 )
rm -f shopt.c
rm -f printf.o
./mkbuiltins -D . printf.def
gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I.. -I.. -I../include -I../lib -I. -g -O2 -Wno-parentheses -Wno-format-security printf.c || ( rm -f printf.c ; exit 1 )
rm -f printf.c
rm -f getopt.o
gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I.. -I.. -I../include -I../lib -I. -g -O2 -Wno-parentheses -Wno-format-security getopt.c
rm -f bashgetopt.o
gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I.. -I.. -I../include -I../lib -I. -g -O2 -Wno-parentheses -Wno-format-security bashgetopt.c
rm -f complete.o
./mkbuiltins -D . complete.def
gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I.. -I.. -I../include -I../lib -I. -g -O2 -Wno-parentheses -Wno-format-security complete.c || ( rm -f complete.c ; exit 1 )
rm -f complete.c
rm -f libbuiltins.a
ar cr libbuiltins.a builtins.o alias.o bind.o break.o builtin.o caller.o cd.o colon.o command.o common.o declare.o echo.o enable.o eval.o evalfile.o evalstring.o exec.o exit.o fc.o fg_bg.o hash.o help.o history.o jobs.o kill.o let.o mapfile.o pushd.o read.o return.o set.o setattr.o shift.o source.o suspend.o test.o times.o trap.o type.o ulimit.o umask.o wait.o getopts.o shopt.o printf.o getopt.o bashgetopt.o complete.o
ranlib libbuiltins.a
make[3]: Leaving directory '/sonic/src/bash/bash-5.1/builtins'
making lib/glob/libglob.a in ./lib/glob
make[3]: Entering directory '/sonic/src/bash/bash-5.1/lib/glob'
rm -f glob.o
gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I../.. -I../.. -I../../include -I../../lib -g -O2 -Wno-parentheses -Wno-format-security glob.c
rm -f strmatch.o
gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I../.. -I../.. -I../../include -I../../lib -g -O2 -Wno-parentheses -Wno-format-security strmatch.c
rm -f smatch.o
gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I../.. -I../.. -I../../include -I../../lib -g -O2 -Wno-parentheses -Wno-format-security smatch.c
rm -f xmbsrtowcs.o
gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I../.. -I../.. -I../../include -I../../lib -g -O2 -Wno-parentheses -Wno-format-security xmbsrtowcs.c
rm -f gmisc.o
gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I../.. -I../.. -I../../include -I../../lib -g -O2 -Wno-parentheses -Wno-format-security gmisc.c
rm -f -f libglob.a
ar cr libglob.a glob.o strmatch.o smatch.o xmbsrtowcs.o gmisc.o
test -n "ranlib" && ranlib libglob.a
make[3]: Leaving directory '/sonic/src/bash/bash-5.1/lib/glob'
making lib/sh/libsh.a in ./lib/sh
make[3]: Entering directory '/sonic/src/bash/bash-5.1/lib/sh'
gcc -c -I. -I../.. -I../.. -I../../lib -I../../include -I. -DHAVE_CONFIG_H -DSHELL -g -O2 -Wno-parentheses -Wno-format-security clktck.c
gcc -c -I. -I../.. -I../.. -I../../lib -I../../include -I. -DHAVE_CONFIG_H -DSHELL -g -O2 -Wno-parentheses -Wno-format-security clock.c
gcc -c -I. -I../.. -I../.. -I../../lib -I../../include -I. -DHAVE_CONFIG_H -DSHELL -g -O2 -Wno-parentheses -Wno-format-security getenv.c
gcc -c -I. -I../.. -I../.. -I../../lib -I../../include -I. -DHAVE_CONFIG_H -DSHELL -g -O2 -Wno-parentheses -Wno-format-security oslib.c
gcc -c -I. -I../.. -I../.. -I../../lib -I../../include -I. -DHAVE_CONFIG_H -DSHELL -g -O2 -Wno-parentheses -Wno-format-security setlinebuf.c
gcc -c -I. -I../.. -I../.. -I../../lib -I../../include -I. -DHAVE_CONFIG_H -DSHELL -g -O2 -Wno-parentheses -Wno-format-security strnlen.c
gcc -c -I. -I../.. -I../.. -I../../lib -I../../include -I. -DHAVE_CONFIG_H -DSHELL -g -O2 -Wno-parentheses -Wno-format-security itos.c
gcc -c -I. -I../.. -I../.. -I../../lib -I../../include -I. -DHAVE_CONFIG_H -DSHELL -g -O2 -Wno-parentheses -Wno-format-security zread.c
gcc -c -I. -I../.. -I../.. -I../../lib -I../../include -I. -DHAVE_CONFIG_H -DSHELL -g -O2 -Wno-parentheses -Wno-format-security zwrite.c
gcc -c -I. -I../.. -I../.. -I../../lib -I../../include -I. -DHAVE_CONFIG_H -DSHELL -g -O2 -Wno-parentheses -Wno-format-security shtty.c
gcc -c -I. -I../.. -I../.. -I../../lib -I../../include -I. -DHAVE_CONFIG_H -DSHELL -g -O2 -Wno-parentheses -Wno-format-security shmatch.c
gcc -c -I. -I../.. -I../.. -I../../lib -I../../include -I. -DHAVE_CONFIG_H -DSHELL -g -O2 -Wno-parentheses -Wno-format-security eaccess.c
gcc -c -I. -I../.. -I../.. -I../../lib -I../../include -I. -DHAVE_CONFIG_H -DSHELL -g -O2 -Wno-parentheses -Wno-format-security netconn.c
gcc -c -I. -I../.. -I../.. -I../../lib -I../../include -I. -DHAVE_CONFIG_H -DSHELL -g -O2 -Wno-parentheses -Wno-format-security netopen.c
gcc -c -I. -I../.. -I../.. -I../../lib -I../../include -I. -DHAVE_CONFIG_H -DSHELL -g -O2 -Wno-parentheses -Wno-format-security timeval.c
gcc -c -I. -I../.. -I../.. -I../../lib -I../../include -I. -DHAVE_CONFIG_H -DSHELL -g -O2 -Wno-parentheses -Wno-format-security makepath.c
gcc -c -I. -I../.. -I../.. -I../../lib -I../../include -I. -DHAVE_CONFIG_H -DSHELL -g -O2 -Wno-parentheses -Wno-format-security pathcanon.c
gcc -c -I. -I../.. -I../.. -I../../lib -I../../include -I. -DHAVE_CONFIG_H -DSHELL -g -O2 -Wno-parentheses -Wno-format-security pathphys.c
gcc -c -I. -I../.. -I../.. -I../../lib -I../../include -I. -DHAVE_CONFIG_H -DSHELL -g -O2 -Wno-parentheses -Wno-format-security tmpfile.c
gcc -c -I. -I../.. -I../.. -I../../lib -I../../include -I. -DHAVE_CONFIG_H -DSHELL -g -O2 -Wno-parentheses -Wno-format-security stringlist.c
gcc -c -I. -I../.. -I../.. -I../../lib -I../../include -I. -DHAVE_CONFIG_H -DSHELL -g -O2 -Wno-parentheses -Wno-format-security stringvec.c
gcc -c -I. -I../.. -I../.. -I../../lib -I../../include -I. -DHAVE_CONFIG_H -DSHELL -g -O2 -Wno-parentheses -Wno-format-security spell.c
gcc -c -I. -I../.. -I../.. -I../../lib -I../../include -I. -DHAVE_CONFIG_H -DSHELL -g -O2 -Wno-parentheses -Wno-format-security shquote.c
gcc -c -I. -I../.. -I../.. -I../../lib -I../../include -I. -DHAVE_CONFIG_H -DSHELL -g -O2 -Wno-parentheses -Wno-format-security strtrans.c
gcc -c -I. -I../.. -I../.. -I../../lib -I../../include -I. -DHAVE_CONFIG_H -DSHELL -g -O2 -Wno-parentheses -Wno-format-security snprintf.c
gcc -c -I. -I../.. -I../.. -I../../lib -I../../include -I. -DHAVE_CONFIG_H -DSHELL -g -O2 -Wno-parentheses -Wno-format-security mailstat.c
gcc -c -I. -I../.. -I../.. -I../../lib -I../../include -I. -DHAVE_CONFIG_H -DSHELL -g -O2 -Wno-parentheses -Wno-format-security fmtulong.c
gcc -c -I. -I../.. -I../.. -I../../lib -I../../include -I. -DHAVE_CONFIG_H -DSHELL -g -O2 -Wno-parentheses -Wno-format-security fmtullong.c
gcc -c -I. -I../.. -I../.. -I../../lib -I../../include -I. -DHAVE_CONFIG_H -DSHELL -g -O2 -Wno-parentheses -Wno-format-security fmtumax.c
gcc -c -I. -I../.. -I../.. -I../../lib -I../../include -I. -DHAVE_CONFIG_H -DSHELL -g -O2 -Wno-parentheses -Wno-format-security zcatfd.c
gcc -c -I. -I../.. -I../.. -I../../lib -I../../include -I. -DHAVE_CONFIG_H -DSHELL -g -O2 -Wno-parentheses -Wno-format-security zmapfd.c
gcc -c -I. -I../.. -I../.. -I../../lib -I../../include -I. -DHAVE_CONFIG_H -DSHELL -g -O2 -Wno-parentheses -Wno-format-security winsize.c
gcc -c -I. -I../.. -I../.. -I../../lib -I../../include -I. -DHAVE_CONFIG_H -DSHELL -g -O2 -Wno-parentheses -Wno-format-security wcsdup.c
gcc -c -I. -I../.. -I../.. -I../../lib -I../../include -I. -DHAVE_CONFIG_H -DSHELL -g -O2 -Wno-parentheses -Wno-format-security fpurge.c
gcc -c -I. -I../.. -I../.. -I../../lib -I../../include -I. -DHAVE_CONFIG_H -DSHELL -g -O2 -Wno-parentheses -Wno-format-security zgetline.c
gcc -c -I. -I../.. -I../.. -I../../lib -I../../include -I. -DHAVE_CONFIG_H -DSHELL -g -O2 -Wno-parentheses -Wno-format-security mbscmp.c
gcc -c -I. -I../.. -I../.. -I../../lib -I../../include -I. -DHAVE_CONFIG_H -DSHELL -g -O2 -Wno-parentheses -Wno-format-security uconvert.c
gcc -c -I. -I../.. -I../.. -I../../lib -I../../include -I. -DHAVE_CONFIG_H -DSHELL -g -O2 -Wno-parentheses -Wno-format-security ufuncs.c
gcc -c -I. -I../.. -I../.. -I../../lib -I../../include -I. -DHAVE_CONFIG_H -DSHELL -g -O2 -Wno-parentheses -Wno-format-security casemod.c
gcc -c -I. -I../.. -I../.. -I../../lib -I../../include -I. -DHAVE_CONFIG_H -DSHELL -g -O2 -Wno-parentheses -Wno-format-security input_avail.c
gcc -c -I. -I../.. -I../.. -I../../lib -I../../include -I. -DHAVE_CONFIG_H -DSHELL -g -O2 -Wno-parentheses -Wno-format-security mbscasecmp.c
gcc -c -I. -I../.. -I../.. -I../../lib -I../../include -I. -DHAVE_CONFIG_H -DSHELL -g -O2 -Wno-parentheses -Wno-format-security fnxform.c
gcc -c -I. -I../.. -I../.. -I../../lib -I../../include -I. -DHAVE_CONFIG_H -DSHELL -g -O2 -Wno-parentheses -Wno-format-security unicode.c
gcc -c -I. -I../.. -I../.. -I../../lib -I../../include -I. -DHAVE_CONFIG_H -DSHELL -g -O2 -Wno-parentheses -Wno-format-security shmbchar.c
gcc -c -I. -I../.. -I../.. -I../../lib -I../../include -I. -DHAVE_CONFIG_H -DSHELL -g -O2 -Wno-parentheses -Wno-format-security utf8.c
gcc -c -I. -I../.. -I../.. -I../../lib -I../../include -I. -DHAVE_CONFIG_H -DSHELL -g -O2 -Wno-parentheses -Wno-format-security random.c
random.c: In function 'genseed':
random.c:93:8: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
93 | iv = (u_bits32_t)seedrand; /* let the compiler truncate */
| ^
gcc -c -I. -I../.. -I../.. -I../../lib -I../../include -I. -DHAVE_CONFIG_H -DSHELL -g -O2 -Wno-parentheses -Wno-format-security gettimeofday.c
gcc -c -I. -I../.. -I../.. -I../../lib -I../../include -I. -DHAVE_CONFIG_H -DSHELL -g -O2 -Wno-parentheses -Wno-format-security wcsnwidth.c
gcc -c -I. -I../.. -I../.. -I../../lib -I../../include -I. -DHAVE_CONFIG_H -DSHELL -g -O2 -Wno-parentheses -Wno-format-security mbschr.c
rm -f libsh.a
ar cr libsh.a clktck.o clock.o getenv.o oslib.o setlinebuf.o strnlen.o itos.o zread.o zwrite.o shtty.o shmatch.o eaccess.o netconn.o netopen.o timeval.o makepath.o pathcanon.o pathphys.o tmpfile.o stringlist.o stringvec.o spell.o shquote.o strtrans.o snprintf.o mailstat.o fmtulong.o fmtullong.o fmtumax.o zcatfd.o zmapfd.o winsize.o wcsdup.o fpurge.o zgetline.o mbscmp.o uconvert.o ufuncs.o casemod.o input_avail.o mbscasecmp.o fnxform.o unicode.o shmbchar.o utf8.o random.o gettimeofday.o wcsnwidth.o mbschr.o
test -n "ranlib" && ranlib libsh.a
make[3]: Leaving directory '/sonic/src/bash/bash-5.1/lib/sh'
making lib/readline/libreadline.a in ./lib/readline
make[3]: Entering directory '/sonic/src/bash/bash-5.1/lib/readline'
rm -f readline.o
gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I/sonic/src/bash/bash-5.1 -I../.. -I../../lib -g -O2 -Wno-parentheses -Wno-format-security readline.c
rm -f vi_mode.o
gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I/sonic/src/bash/bash-5.1 -I../.. -I../../lib -g -O2 -Wno-parentheses -Wno-format-security vi_mode.c
rm -f funmap.o
gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I/sonic/src/bash/bash-5.1 -I../.. -I../../lib -g -O2 -Wno-parentheses -Wno-format-security funmap.c
rm -f keymaps.o
gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I/sonic/src/bash/bash-5.1 -I../.. -I../../lib -g -O2 -Wno-parentheses -Wno-format-security keymaps.c
rm -f parens.o
gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I/sonic/src/bash/bash-5.1 -I../.. -I../../lib -g -O2 -Wno-parentheses -Wno-format-security parens.c
rm -f search.o
gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I/sonic/src/bash/bash-5.1 -I../.. -I../../lib -g -O2 -Wno-parentheses -Wno-format-security search.c
rm -f rltty.o
gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I/sonic/src/bash/bash-5.1 -I../.. -I../../lib -g -O2 -Wno-parentheses -Wno-format-security rltty.c
rm -f complete.o
gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I/sonic/src/bash/bash-5.1 -I../.. -I../../lib -g -O2 -Wno-parentheses -Wno-format-security complete.c
rm -f bind.o
gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I/sonic/src/bash/bash-5.1 -I../.. -I../../lib -g -O2 -Wno-parentheses -Wno-format-security bind.c
rm -f isearch.o
gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I/sonic/src/bash/bash-5.1 -I../.. -I../../lib -g -O2 -Wno-parentheses -Wno-format-security isearch.c
rm -f display.o
gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I/sonic/src/bash/bash-5.1 -I../.. -I../../lib -g -O2 -Wno-parentheses -Wno-format-security display.c
rm -f signals.o
gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I/sonic/src/bash/bash-5.1 -I../.. -I../../lib -g -O2 -Wno-parentheses -Wno-format-security signals.c
rm -f util.o
gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I/sonic/src/bash/bash-5.1 -I../.. -I../../lib -g -O2 -Wno-parentheses -Wno-format-security util.c
rm -f kill.o
gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I/sonic/src/bash/bash-5.1 -I../.. -I../../lib -g -O2 -Wno-parentheses -Wno-format-security kill.c
rm -f undo.o
gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I/sonic/src/bash/bash-5.1 -I../.. -I../../lib -g -O2 -Wno-parentheses -Wno-format-security undo.c
rm -f macro.o
gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I/sonic/src/bash/bash-5.1 -I../.. -I../../lib -g -O2 -Wno-parentheses -Wno-format-security macro.c
rm -f input.o
gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I/sonic/src/bash/bash-5.1 -I../.. -I../../lib -g -O2 -Wno-parentheses -Wno-format-security input.c
rm -f callback.o
gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I/sonic/src/bash/bash-5.1 -I../.. -I../../lib -g -O2 -Wno-parentheses -Wno-format-security callback.c
rm -f terminal.o
gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I/sonic/src/bash/bash-5.1 -I../.. -I../../lib -g -O2 -Wno-parentheses -Wno-format-security terminal.c
rm -f text.o
gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I/sonic/src/bash/bash-5.1 -I../.. -I../../lib -g -O2 -Wno-parentheses -Wno-format-security text.c
rm -f nls.o
gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I/sonic/src/bash/bash-5.1 -I../.. -I../../lib -g -O2 -Wno-parentheses -Wno-format-security nls.c
rm -f misc.o
gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I/sonic/src/bash/bash-5.1 -I../.. -I../../lib -g -O2 -Wno-parentheses -Wno-format-security misc.c
rm -f history.o
gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I/sonic/src/bash/bash-5.1 -I../.. -I../../lib -g -O2 -Wno-parentheses -Wno-format-security history.c
rm -f histexpand.o
gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I/sonic/src/bash/bash-5.1 -I../.. -I../../lib -g -O2 -Wno-parentheses -Wno-format-security histexpand.c
rm -f histfile.o
gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I/sonic/src/bash/bash-5.1 -I../.. -I../../lib -g -O2 -Wno-parentheses -Wno-format-security histfile.c
rm -f histsearch.o
gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I/sonic/src/bash/bash-5.1 -I../.. -I../../lib -g -O2 -Wno-parentheses -Wno-format-security histsearch.c
rm -f shell.o
gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I/sonic/src/bash/bash-5.1 -I../.. -I../../lib -g -O2 -Wno-parentheses -Wno-format-security shell.c
rm -f savestring.o
gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I/sonic/src/bash/bash-5.1 -I../.. -I../../lib -g -O2 -Wno-parentheses -Wno-format-security savestring.c
rm -f mbutil.o
gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I/sonic/src/bash/bash-5.1 -I../.. -I../../lib -g -O2 -Wno-parentheses -Wno-format-security mbutil.c
rm -f tilde.o
gcc -DHAVE_CONFIG_H -DSHELL -I. -I/sonic/src/bash/bash-5.1 -I../.. -I../../lib -g -O2 -Wno-parentheses -Wno-format-security -DREADLINE_LIBRARY -c ./tilde.c
rm -f colors.o
gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I/sonic/src/bash/bash-5.1 -I../.. -I../../lib -g -O2 -Wno-parentheses -Wno-format-security colors.c
rm -f parse-colors.o
gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I/sonic/src/bash/bash-5.1 -I../.. -I../../lib -g -O2 -Wno-parentheses -Wno-format-security parse-colors.c
rm -f xmalloc.o
gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I/sonic/src/bash/bash-5.1 -I../.. -I../../lib -g -O2 -Wno-parentheses -Wno-format-security xmalloc.c
rm -f xfree.o
gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I/sonic/src/bash/bash-5.1 -I../.. -I../../lib -g -O2 -Wno-parentheses -Wno-format-security xfree.c
rm -f compat.o
gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I/sonic/src/bash/bash-5.1 -I../.. -I../../lib -g -O2 -Wno-parentheses -Wno-format-security compat.c
rm -f libreadline.a
ar cr libreadline.a readline.o vi_mode.o funmap.o keymaps.o parens.o search.o rltty.o complete.o bind.o isearch.o display.o signals.o util.o kill.o undo.o macro.o input.o callback.o terminal.o text.o nls.o misc.o history.o histexpand.o histfile.o histsearch.o shell.o savestring.o mbutil.o tilde.o colors.o parse-colors.o xmalloc.o xfree.o compat.o
test -n "ranlib" && ranlib libreadline.a
make[3]: Leaving directory '/sonic/src/bash/bash-5.1/lib/readline'
making lib/readline/libhistory.a in ./lib/readline
make[3]: Entering directory '/sonic/src/bash/bash-5.1/lib/readline'
rm -f libhistory.a
ar cr libhistory.a history.o histexpand.o histfile.o histsearch.o shell.o savestring.o mbutil.o xmalloc.o xfree.o
test -n "ranlib" && ranlib libhistory.a
make[3]: Leaving directory '/sonic/src/bash/bash-5.1/lib/readline'
making lib/tilde/libtilde.a in ./lib/tilde
make[3]: Entering directory '/sonic/src/bash/bash-5.1/lib/tilde'
gcc -c -DHAVE_CONFIG_H -DSHELL -I. -I../.. -I../.. -I../../include -I../../lib -g -O2 -Wno-parentheses -Wno-format-security tilde.c
rm -f libtilde.a
ar cr libtilde.a tilde.o
test -n "ranlib" && ranlib libtilde.a
make[3]: Leaving directory '/sonic/src/bash/bash-5.1/lib/tilde'
make[3]: Entering directory '/sonic/src/bash/bash-5.1/lib/malloc'
gcc -I. -I../.. -I../.. -I../../include -I../../lib -DHAVE_CONFIG_H -DSHELL -g -O2 -Wno-parentheses -Wno-format-security -DRCHECK -Dbotch=programming_error -c malloc.c
gcc -I. -I../.. -I../.. -I../../include -I../../lib -DHAVE_CONFIG_H -DSHELL -g -O2 -Wno-parentheses -Wno-format-security -DRCHECK -Dbotch=programming_error -c trace.c
gcc -I. -I../.. -I../.. -I../../include -I../../lib -DHAVE_CONFIG_H -DSHELL -g -O2 -Wno-parentheses -Wno-format-security -DRCHECK -Dbotch=programming_error -c stats.c
gcc -I. -I../.. -I../.. -I../../include -I../../lib -DHAVE_CONFIG_H -DSHELL -g -O2 -Wno-parentheses -Wno-format-security -DRCHECK -Dbotch=programming_error -c table.c
gcc -I. -I../.. -I../.. -I../../include -I../../lib -DHAVE_CONFIG_H -DSHELL -g -O2 -Wno-parentheses -Wno-format-security -DRCHECK -Dbotch=programming_error -c watch.c
rm -f libmalloc.a
ar cr libmalloc.a malloc.o trace.o stats.o table.o watch.o
test -n "ranlib" && ranlib libmalloc.a
make[3]: Leaving directory '/sonic/src/bash/bash-5.1/lib/malloc'
rm -f bash
gcc -L./builtins -L./lib/readline -L./lib/readline -L./lib/glob -L./lib/tilde -L./lib/malloc -L./lib/sh -rdynamic -g -O2 -Wno-parentheses -Wno-format-security -o bash shell.o eval.o y.tab.o general.o make_cmd.o print_cmd.o dispose_cmd.o execute_cmd.o variables.o copy_cmd.o error.o expr.o flags.o jobs.o subst.o hashcmd.o hashlib.o mailcheck.o trap.o input.o unwind_prot.o pathexp.o sig.o test.o version.o alias.o array.o arrayfunc.o assoc.o braces.o bracecomp.o bashhist.o bashline.o list.o stringlib.o locale.o findcmd.o redir.o pcomplete.o pcomplib.o syntax.o xmalloc.o plugin.o -lbuiltins -lglob -lsh -lreadline -lhistory -ltermcap -ltilde -lmalloc -ldl -ldl
/usr/bin/ld: ./lib/sh/libsh.a(tmpfile.o): in function `sh_mktmpname':
/sonic/src/bash/bash-5.1/lib/sh/tmpfile.c:160: warning: the use of `mktemp' is dangerous, better use `mkstemp' or `mkdtemp'
ls -l bash
-rwxr-xr-x 1 jenkins gjenkins 5193304 Sep 24 05:17 bash
size bash
text data bss dec hex filename
1204666 47728 45520 1297914 13cdfa bash
make[3]: Entering directory '/sonic/src/bash/bash-5.1/support'
rm -f man2html.o
gcc -c -DHAVE_CONFIG_H -DSHELL -I/sonic/src/bash/bash-5.1 -I.. -g -O2 -Wno-parentheses -Wno-format-security man2html.c
gcc -DHAVE_CONFIG_H -DSHELL -I/sonic/src/bash/bash-5.1 -I.. -g -O2 -Wno-parentheses -Wno-format-security man2html.o -o man2html -ldl
make[3]: Leaving directory '/sonic/src/bash/bash-5.1/support'
make[2]: Leaving directory '/sonic/src/bash/bash-5.1'
make[2]: Entering directory '/sonic/src/bash/bash-5.1'
make[2]: warning: jobserver unavailable: using -j1. Add '+' to parent make rule.
gcc plugin_test.c -I.. -I../include -I../lib -Wno-parentheses -Wno-format-security -Wno-implicit-function-declaration -c -o plugin_test.o
gcc mock_helper.c -I.. -I../include -I../lib -Wno-parentheses -Wno-format-security -Wno-implicit-function-declaration -c -o mock_helper.o
gcc ../plugin.c -I.. -I../include -I../lib -Wno-parentheses -Wno-format-security -Wno-implicit-function-declaration -c -DDEBUG -DBASH_PLUGIN_UT -o plugin.o
gcc plugin_test.o mock_helper.o plugin.o -o plugin_test -lc -lcunit
make[2]: Leaving directory '/sonic/src/bash/bash-5.1/unittest'
make[2]: Entering directory '/sonic/src/bash/bash-5.1'
make[2]: warning: jobserver unavailable: using -j1. Add '+' to parent make rule.
# run unit test, if UT failed, build will break
./plugin_test
CUnit - A unit testing framework for C - Version 2.1-3
http://cunit.sourceforge.net/
Suite: plugin_test
Test: Test testcase_try_load_plugin_by_path_not_exist()...
...passed
Test: Test testcase_try_load_plugin_by_path_execve_not_exist()...
...passed
Test: Test testcase_try_load_plugin_by_path_plugin_uninit_not_exist()...
...passed
Test: Test testcase_try_load_plugin_by_path_plugin_init_not_exist()...
...passed
Test: Test testcase_try_load_plugin_by_path_plugin_init_success()...
...passed
Test: Test testcase_release_loaded_plugin()...
...passed
Test: Test testcase_load_plugin_by_config()...
...Count 0
passed
Test: Test testcase_invoke_plugin_on_shell_execve()...
...on_shell_execve: user: testuser, level: 1, command: testcommand, argv: 0x5234
Count 0
passed
Run Summary: Type Total Ran Passed Failed Inactive
suites 1 1 n/a 0 0
tests 8 8 8 0 0
asserts 32 32 32 0 n/a
Elapsed time = 0.000 seconds
make[2]: Leaving directory '/sonic/src/bash/bash-5.1/unittest'
/sonic/src/bash
make[1]: Leaving directory '/sonic/src/bash'
Build end time: Wed Sep 24 05:17:05 UTC 2025
Elapsed time: 0h 6m 2s
|