Package: src:bash Version: 5.2.37-1.1 Severity: serious Tags: ftbfs trixie sid
Dear maintainer: During a rebuild of all packages in unstable, your package failed to build: -------------------------------------------------------------------------------- [...] debian/rules build 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 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -Wl,-z,relro -Wl,-z,now -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); [... snipped ...] gcc -c -I. -I../.. -I../../../. -I../../.././lib -I../../.././include -I../../.././lib/sh -DHAVE_CONFIG_H -DSHELL -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -Wdate-time -D_FORTIFY_SOURCE=2 ../../.././lib/sh/casemod.c ../../.././lib/sh/casemod.c: In function 'sh_modcase': ../../.././lib/sh/casemod.c:107:15: warning: unused variable 'c' [-Wunused-variable] 107 | 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 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -Wdate-time -D_FORTIFY_SOURCE=2 ../../.././lib/sh/strvis.c ../../.././lib/sh/strvis.c: In function 'sh_strvis': ../../.././lib/sh/strvis.c:126:17: warning: unused variable 'c' [-Wunused-variable] 126 | unsigned char c; | ^ gcc -c -I. -I../.. -I../../../. -I../../.././lib -I../../.././include -I../../.././lib/sh -DHAVE_CONFIG_H -DSHELL -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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; | ^~~ ../../.././lib/sh/random.c: At top level: ../../.././lib/sh/random.c:166:1: warning: 'perturb_rand32' defined but not used [-Wunused-function] 166 | perturb_rand32 () | ^~~~~~~~~~~~~~ ../../.././lib/sh/random.c:141:1: warning: 'brand32' defined but not used [-Wunused-function] 141 | brand32 () | ^~~~~~~ gcc -c -I. -I../.. -I../../../. -I../../.././lib -I../../.././include -I../../.././lib/sh -DHAVE_CONFIG_H -DSHELL -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall -Wdate-time -D_FORTIFY_SOURCE=2 ../../.././lib/sh/timers.c ../../.././lib/sh/timers.c: In function 'shtimer_select': ../../.././lib/sh/timers.c:185:26: warning: unused variable 'prevmask' [-Wunused-variable] 185 | sigset_t blocked_sigs, prevmask; | ^~~~~~~~ gcc -c -I. -I../.. -I../../../. -I../../.././lib -I../../.././include -I../../.././lib/sh -DHAVE_CONFIG_H -DSHELL -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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 strvis.o utf8.o random.o gettimeofday.o timers.o wcsnwidth.o mbschr.o test -n "ranlib" && ranlib libsh.a make[3]: Leaving directory '/<<PKGBUILDDIR>>/build-static/lib/sh' making lib/readline/libreadline.a in ./lib/readline make[3]: Entering directory '/<<PKGBUILDDIR>>/build-static/lib/readline' rm -f readline.o gcc -c -DHAVE_CONFIG_H -DSHELL -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<<PKGBUILDDIR>>/build-static -I../../../. -I../../.././lib -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall ../../.././lib/readline/readline.c ../../.././lib/readline/readline.c: In function 'readline_internal_char': ../../.././lib/readline/readline.c:568:20: warning: variable 'r' set but not used [-Wunused-but-set-variable] 568 | int c, code, lk, r; | ^ ../../.././lib/readline/readline.c:567:21: warning: unused variable 'eof_found' [-Wunused-variable] 567 | static int lastc, eof_found; | ^~~~~~~~~ ../../.././lib/readline/readline.c: At top level: ../../.././lib/readline/readline.c:1343:1: warning: 'reset_default_bindings' defined but not used [-Wunused-function] 1343 | reset_default_bindings (void) | ^~~~~~~~~~~~~~~~~~~~~~ In file included from ../../.././lib/readline/readline.c:76: ../../.././lib/readline/parse-colors.h:44:14: warning: 'color_buf' defined but not used [-Wunused-variable] 44 | static char *color_buf; | ^~~~~~~~~ rm -f vi_mode.o gcc -c -DHAVE_CONFIG_H -DSHELL -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<<PKGBUILDDIR>>/build-static -I../../../. -I../../.././lib -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall ../../.././lib/readline/vi_mode.c ../../.././lib/readline/vi_mode.c: In function 'rl_vi_fword': ../../.././lib/readline/vi_mode.c:622:7: warning: variable 'opoint' set but not used [-Wunused-but-set-variable] 622 | int opoint; | ^~~~~~ ../../.././lib/readline/vi_mode.c: In function 'rl_vi_domove': ../../.././lib/readline/vi_mode.c:1343:7: warning: unused variable 'r' [-Wunused-variable] 1343 | int r; | ^ ../../.././lib/readline/vi_mode.c: 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; | ^~~~~~~~~~~~~~~~~~~~ ../../.././lib/readline/vi_mode.c: In function 'rl_vi_change_char': ../../.././lib/readline/vi_mode.c:2069:7: warning: '__builtin_strncpy' output may be truncated copying 16 bytes from a string of length 16 [-Wstringop-truncation] 2069 | strncpy (mb, _rl_vi_last_replacement, MB_LEN_MAX); | ^ rm -f funmap.o gcc -c -DHAVE_CONFIG_H -DSHELL -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<<PKGBUILDDIR>>/build-static -I../../../. -I../../.././lib -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall ../../.././lib/readline/funmap.c rm -f keymaps.o gcc -c -DHAVE_CONFIG_H -DSHELL -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<<PKGBUILDDIR>>/build-static -I../../../. -I../../.././lib -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall ../../.././lib/readline/keymaps.c rm -f parens.o gcc -c -DHAVE_CONFIG_H -DSHELL -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<<PKGBUILDDIR>>/build-static -I../../../. -I../../.././lib -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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/<<PKGBUILDDIR>>/build-static -I../../../. -I../../.././lib -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall ../../.././lib/readline/search.c ../../.././lib/readline/search.c: In function 'rl_history_search_internal': ../../.././lib/readline/search.c:536:9: warning: unused variable 't' [-Wunused-variable] 536 | char *t; | ^ ../../.././lib/readline/search.c:535:7: warning: variable 'had_saved_line' set but not used [-Wunused-but-set-variable] 535 | int had_saved_line; | ^~~~~~~~~~~~~~ rm -f rltty.o gcc -c -DHAVE_CONFIG_H -DSHELL -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<<PKGBUILDDIR>>/build-static -I../../../. -I../../.././lib -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall ../../.././lib/readline/rltty.c rm -f complete.o gcc -c -DHAVE_CONFIG_H -DSHELL -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<<PKGBUILDDIR>>/build-static -I../../../. -I../../.././lib -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall ../../.././lib/readline/complete.c ../../.././lib/readline/complete.c: In function '_rl_find_completion_word': ../../.././lib/readline/complete.c:1151:14: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 1151 | 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:1323:7: warning: unused variable 'v' [-Wunused-variable] 1323 | int v; | ^ ../../.././lib/readline/complete.c: In function 'rl_completion_matches': ../../.././lib/readline/complete.c:2235:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 2235 | while (string = (*entry_function) (text, matches)) | ^~~~~~ ../../.././lib/readline/complete.c: In function 'rl_username_completion_function': ../../.././lib/readline/complete.c:2307:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 2307 | while (entry = getpwent ()) | ^~~~~ ../../.././lib/readline/complete.c: In function 'rl_menu_complete': ../../.././lib/readline/complete.c:2844:25: warning: unused variable 'cstate' [-Wunused-variable] 2844 | static int delimiter, cstate; | ^~~~~~ ../../.././lib/readline/complete.c: In function 'print_filename': ../../.././lib/readline/complete.c:1043:22: warning: 'printed_len' may be used uninitialized [-Wmaybe-uninitialized] 1043 | printed_len++; | ~~~~~~~~~~~^~ ../../.././lib/readline/complete.c:936:7: note: 'printed_len' was declared here 936 | int printed_len, extension_char, slen, tlen; | ^~~~~~~~~~~ ../../.././lib/readline/complete.c: In function 'rl_complete_internal': ../../.././lib/readline/complete.c:2104:14: warning: 'tlen' may be used uninitialized [-Wmaybe-uninitialized] 2104 | if (mlen >= tlen) | ^ ../../.././lib/readline/complete.c:2007:7: note: 'tlen' was declared here 2007 | int tlen, mlen, saved_last_completion_failed; | ^~~~ rm -f bind.o gcc -c -DHAVE_CONFIG_H -DSHELL -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<<PKGBUILDDIR>>/build-static -I../../../. -I../../.././lib -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall ../../.././lib/readline/bind.c ../../.././lib/readline/bind.c: In function '_rl_skip_to_delim': ../../.././lib/readline/bind.c:1581:29: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 1581 | for (i = start,passc = 0; c = string[i]; i++) | ^ ../../.././lib/readline/bind.c: In function 'rl_parse_and_bind': ../../.././lib/readline/bind.c:1675:11: warning: unused variable 's' [-Wunused-variable] 1675 | int s; | ^ ../../.././lib/readline/bind.c: In function 'rl_function_dumper': ../../.././lib/readline/bind.c:2805:15: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 2805 | 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/<<PKGBUILDDIR>>/build-static -I../../../. -I../../.././lib -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall ../../.././lib/readline/isearch.c ../../.././lib/readline/isearch.c: In function '_rl_isearch_dispatch': ../../.././lib/readline/isearch.c:343:37: warning: unused variable 'incr' [-Wunused-variable] 343 | int n, wstart, wlen, limit, cval, incr; | ^~~~ ../../.././lib/readline/isearch.c: In function 'rl_search_history': ../../.././lib/readline/isearch.c:848:7: warning: variable 'c' set but not used [-Wunused-but-set-variable] 848 | int c, r; | ^ ../../.././lib/readline/isearch.c: In function '_rl_isearch_callback': ../../.././lib/readline/isearch.c:885:7: warning: variable 'c' set but not used [-Wunused-but-set-variable] 885 | int c, r; | ^ rm -f display.o gcc -c -DHAVE_CONFIG_H -DSHELL -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<<PKGBUILDDIR>>/build-static -I../../../. -I../../.././lib -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall ../../.././lib/readline/display.c ../../.././lib/readline/display.c: In function 'rl_redisplay': ../../.././lib/readline/display.c:767:38: warning: variable 'prompt_lines_estimate' set but not used [-Wunused-but-set-variable] 767 | int newlines, lpos, temp, n0, num, prompt_lines_estimate; | ^~~~~~~~~~~~~~~~~~~~~ ../../.././lib/readline/display.c:767:33: warning: variable 'num' set but not used [-Wunused-but-set-variable] 767 | int newlines, lpos, temp, n0, num, prompt_lines_estimate; | ^~~ ../../.././lib/readline/display.c:767:29: warning: unused variable 'n0' [-Wunused-variable] 767 | int newlines, lpos, temp, n0, num, prompt_lines_estimate; | ^~ ../../.././lib/readline/display.c: In function 'update_line': ../../.././lib/readline/display.c:1787:21: warning: unused variable 'optr' [-Wunused-variable] 1787 | char *optr; | ^~~~ ../../.././lib/readline/display.c:1786:19: warning: unused variable 'count' [-Wunused-variable] 1786 | int count, i, j; | ^~~~~ ../../.././lib/readline/display.c:1655:39: warning: unused variable 'twidth' [-Wunused-variable] 1655 | int temp, lendiff, wsatend, od, nd, twidth, o_cpos; | ^~~~~~ ../../.././lib/readline/display.c: In function 'rl_forced_update_display': ../../.././lib/readline/display.c:2683:18: warning: unused variable 'temp' [-Wunused-variable] 2683 | register char *temp; | ^~~~ ../../.././lib/readline/display.c: At top level: ../../.././lib/readline/display.c:3236:1: warning: 'insert_some_chars' defined but not used [-Wunused-function] 3236 | insert_some_chars (char *string, int count, int col) | ^~~~~~~~~~~~~~~~~ ../../.././lib/readline/display.c: In function 'rl_redisplay': ../../.././lib/readline/display.c:1147:42: warning: 'wc_width' may be used uninitialized [-Wmaybe-uninitialized] 1147 | if (_rl_screenwidth < lpos + wc_width) | ~~~~~^~~~~~~~~~ ../../.././lib/readline/display.c:775:7: note: 'wc_width' was declared here 775 | int wc_width; | ^~~~~~~~ rm -f signals.o gcc -c -DHAVE_CONFIG_H -DSHELL -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<<PKGBUILDDIR>>/build-static -I../../../. -I../../.././lib -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall ../../.././lib/readline/signals.c ../../.././lib/readline/signals.c: In function 'rl_set_signals': ../../.././lib/readline/signals.c:414:25: warning: unused variable 'oset' [-Wunused-variable] 414 | static sigset_t bset, oset; | ^~~~ ../../.././lib/readline/signals.c: At top level: ../../.././lib/readline/signals.c:625:29: warning: 'sigint_oset' defined but not used [-Wunused-variable] 625 | static sigset_t sigint_set, sigint_oset; | ^~~~~~~~~~~ ../../.././lib/readline/signals.c:625:17: warning: 'sigint_set' defined but not used [-Wunused-variable] 625 | 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/<<PKGBUILDDIR>>/build-static -I../../../. -I../../.././lib -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall ../../.././lib/readline/util.c rm -f kill.o gcc -c -DHAVE_CONFIG_H -DSHELL -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<<PKGBUILDDIR>>/build-static -I../../../. -I../../.././lib -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall ../../.././lib/readline/kill.c ../../.././lib/readline/kill.c: In function 'rl_vi_yank_pop': ../../.././lib/readline/kill.c:562:13: warning: unused variable 'origpoint' [-Wunused-variable] 562 | int l, n, origpoint; | ^~~~~~~~~ ../../.././lib/readline/kill.c: In function 'rl_bracketed_paste_begin': ../../.././lib/readline/kill.c:760:15: warning: unused variable 'cap' [-Wunused-variable] 760 | size_t len, cap; | ^~~ ../../.././lib/readline/kill.c:759:15: warning: unused variable 'c' [-Wunused-variable] 759 | int retval, c; | ^ ../../.././lib/readline/kill.c: In function '_rl_read_bracketed_paste_prefix': ../../.././lib/readline/kill.c:777:17: warning: unused variable 'j' [-Wunused-variable] 777 | int key, ind, j; | ^ ../../.././lib/readline/kill.c: In function '_rl_bracketed_read_mbstring': ../../.././lib/readline/kill.c:849:10: warning: unused variable 'r' [-Wunused-variable] 849 | int c, r; | ^ ../../.././lib/readline/kill.c: In function '_rl_read_bracketed_paste_prefix': ../../.././lib/readline/kill.c:800:29: warning: 'key' may be used uninitialized [-Wmaybe-uninitialized] 800 | return (key < 0 ? key : 0); | ~~~~~~~~~~~~~~~^~~~ ../../.././lib/readline/kill.c:777:7: note: 'key' was declared here 777 | int key, ind, j; | ^~~ rm -f undo.o gcc -c -DHAVE_CONFIG_H -DSHELL -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<<PKGBUILDDIR>>/build-static -I../../../. -I../../.././lib -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall ../../.././lib/readline/undo.c ../../.././lib/readline/undo.c: In function 'rl_free_undo_list': ../../.././lib/readline/undo.c:119:14: warning: unused variable 'release' [-Wunused-variable] 119 | UNDO_LIST *release, *orig_list; | ^~~~~~~ rm -f macro.o gcc -c -DHAVE_CONFIG_H -DSHELL -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<<PKGBUILDDIR>>/build-static -I../../../. -I../../.././lib -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall ../../.././lib/readline/macro.c rm -f input.o gcc -c -DHAVE_CONFIG_H -DSHELL -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<<PKGBUILDDIR>>/build-static -I../../../. -I../../.././lib -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall ../../.././lib/readline/input.c ../../.././lib/readline/input.c: In function 'rl_read_key': ../../.././lib/readline/input.c:766:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 766 | if (c = _rl_next_macro_key ()) | ^ ../../.././lib/readline/input.c: In function 'rl_getc': ../../.././lib/readline/input.c:882:1: warning: label 'handle_error' defined but not used [-Wunused-label] 882 | handle_error: | ^~~~~~~~~~~~ ../../.././lib/readline/input.c:811:12: warning: unused variable 'empty_set' [-Wunused-variable] 811 | sigset_t empty_set; | ^~~~~~~~~ rm -f callback.o gcc -c -DHAVE_CONFIG_H -DSHELL -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<<PKGBUILDDIR>>/build-static -I../../../. -I../../.././lib -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall ../../.././lib/readline/callback.c rm -f terminal.o gcc -c -DHAVE_CONFIG_H -DSHELL -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<<PKGBUILDDIR>>/build-static -I../../../. -I../../.././lib -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall ../../.././lib/readline/terminal.c rm -f text.o gcc -c -DHAVE_CONFIG_H -DSHELL -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<<PKGBUILDDIR>>/build-static -I../../../. -I../../.././lib -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall ../../.././lib/readline/text.c ../../.././lib/readline/text.c: In function 'rl_insert_text': ../../.././lib/readline/text.c:101:3: warning: '__builtin_strncpy' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] 101 | strncpy (rl_line_buffer + rl_point, string, l); | ^ ../../.././lib/readline/text.c:91:29: note: length computed here 91 | l = (string && *string) ? strlen (string) : 0; | ^~~~~~~~~~~~~~~ rm -f nls.o gcc -c -DHAVE_CONFIG_H -DSHELL -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<<PKGBUILDDIR>>/build-static -I../../../. -I../../.././lib -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall ../../.././lib/readline/nls.c ../../.././lib/readline/nls.c: In function 'utf8locale': ../../.././lib/readline/nls.c:110:10: warning: unused variable 'len' [-Wunused-variable] 110 | size_t len; | ^~~ ../../.././lib/readline/nls.c: At top level: ../../.././lib/readline/nls.c:286:1: warning: 'find_codeset' defined but not used [-Wunused-function] 286 | 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/<<PKGBUILDDIR>>/build-static -I../../../. -I../../.././lib -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall ../../.././lib/readline/misc.c ../../.././lib/readline/misc.c: In function '_rl_free_saved_history_line': ../../.././lib/readline/misc.c:388:14: warning: unused variable 'orig' [-Wunused-variable] 388 | UNDO_LIST *orig; | ^~~~ ../../.././lib/readline/misc.c: In function '_rl_revert_previous_lines': ../../.././lib/readline/misc.c:465:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 465 | if (ul = (UNDO_LIST *)entry->data) | ^~ ../../.././lib/readline/misc.c: In function 'rl_clear_history': ../../.././lib/readline/misc.c:525:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 525 | if (ul = (UNDO_LIST *)hent->data) | ^~ rm -f history.o gcc -c -DHAVE_CONFIG_H -DSHELL -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<<PKGBUILDDIR>>/build-static -I../../../. -I../../.././lib -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall ../../.././lib/readline/history.c ../../.././lib/readline/history.c: In function 'add_history': ../../.././lib/readline/history.c:286:20: warning: unused variable 'i' [-Wunused-variable] 286 | register int i; | ^ ../../.././lib/readline/history.c: In function 'remove_history': ../../.././lib/readline/history.c:509:16: warning: unused variable 'i' [-Wunused-variable] 509 | register int i; | ^ rm -f histexpand.o gcc -c -DHAVE_CONFIG_H -DSHELL -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<<PKGBUILDDIR>>/build-static -I../../../. -I../../.././lib -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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:48: 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/<<PKGBUILDDIR>>/build-static -I../../../. -I../../.././lib -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall ../../.././lib/readline/histfile.c ../../.././lib/readline/histfile.c: In function 'history_backupfile': ../../.././lib/readline/histfile.c:193:15: warning: unused variable 'fs' [-Wunused-variable] 193 | struct stat fs; | ^~ ../../.././lib/readline/histfile.c: In function 'history_tempfile': ../../.././lib/readline/histfile.c:221:15: warning: unused variable 'fs' [-Wunused-variable] 221 | struct stat fs; | ^~ ../../.././lib/readline/histfile.c: In function 'history_truncate_file': ../../.././lib/readline/histfile.c:521:49: warning: variable 'r' set but not used [-Wunused-but-set-variable] 521 | int file, chars_read, rv, orig_lines, exists, r; | ^ ../../.././lib/readline/histfile.c: In function 'history_do_write': ../../.././lib/readline/histfile.c:683:22: warning: unused variable 'nfinfo' [-Wunused-variable] 683 | struct stat finfo, nfinfo; | ^~~~~~ ../../.././lib/readline/histfile.c: At top level: ../../.././lib/readline/histfile.c:473:1: warning: 'histfile_backup' defined but not used [-Wunused-function] 473 | histfile_backup (const char *filename, const char *back) | ^~~~~~~~~~~~~~~ ../../.././lib/readline/histfile.c:187:1: warning: 'history_backupfile' defined but not used [-Wunused-function] 187 | history_backupfile (const char *filename) | ^~~~~~~~~~~~~~~~~~ ../../.././lib/readline/histfile.c: In function 'history_truncate_file': ../../.././lib/readline/histfile.c:646:46: warning: 'orig_lines' may be used uninitialized [-Wmaybe-uninitialized] 646 | history_lines_written_to_file = orig_lines - lines; | ~~~~~~~~~~~^~~~~~~ ../../.././lib/readline/histfile.c:521:29: note: 'orig_lines' was declared here 521 | int file, chars_read, rv, orig_lines, exists, r; | ^~~~~~~~~~ rm -f histsearch.o gcc -c -DHAVE_CONFIG_H -DSHELL -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<<PKGBUILDDIR>>/build-static -I../../../. -I../../.././lib -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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/<<PKGBUILDDIR>>/build-static -I../../../. -I../../.././lib -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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/<<PKGBUILDDIR>>/build-static -I../../../. -I../../.././lib -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall ../../.././lib/readline/savestring.c rm -f mbutil.o gcc -c -DHAVE_CONFIG_H -DSHELL -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<<PKGBUILDDIR>>/build-static -I../../../. -I../../.././lib -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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; | ^ ../../.././lib/readline/mbutil.c: 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/<<PKGBUILDDIR>>/build-static -I../../../. -I../../.././lib -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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/<<PKGBUILDDIR>>/build-static -I../../../. -I../../.././lib -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall ../../.././lib/readline/colors.c rm -f parse-colors.o gcc -c -DHAVE_CONFIG_H -DSHELL -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<<PKGBUILDDIR>>/build-static -I../../../. -I../../.././lib -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall ../../.././lib/readline/parse-colors.c rm -f xmalloc.o gcc -c -DHAVE_CONFIG_H -DSHELL -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<<PKGBUILDDIR>>/build-static -I../../../. -I../../.././lib -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall ../../.././lib/readline/xmalloc.c rm -f xfree.o gcc -c -DHAVE_CONFIG_H -DSHELL -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<<PKGBUILDDIR>>/build-static -I../../../. -I../../.././lib -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wall ../../.././lib/readline/xfree.c rm -f compat.o gcc -c -DHAVE_CONFIG_H -DSHELL -Wdate-time -D_FORTIFY_SOURCE=2 -I. -I/<<PKGBUILDDIR>>/build-static -I../../../. -I../../.././lib -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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[3]: Leaving directory '/<<PKGBUILDDIR>>/build-static/lib/readline' making lib/readline/libhistory.a in ./lib/readline make[3]: Entering directory '/<<PKGBUILDDIR>>/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[3]: Leaving directory '/<<PKGBUILDDIR>>/build-static/lib/readline' making lib/tilde/libtilde.a in ./lib/tilde make[3]: Entering directory '/<<PKGBUILDDIR>>/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 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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[3]: Leaving directory '/<<PKGBUILDDIR>>/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 -Wl,-z,now -rdynamic -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -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 -lbuiltins -lglob -lsh -lreadline -lhistory -ltinfo -ltilde /usr/bin/ld: ./lib/sh/libsh.a(tmpfile.o): in function `sh_mktmpname': ./build-static/lib/sh/../../.././lib/sh/tmpfile.c:160:(.text+0x172): warning: the use of `mktemp' is dangerous, better use `mkstemp' or `mkdtemp' /usr/bin/ld: bashline.o: in function `bash_groupname_completion_function': ./build-static/.././bashline.c:2665:(.text+0x8081): 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:2662:(.text+0x806f): 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:2673:(.text+0x80d9): warning: Using 'endgrent' 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:(.text+0x93): warning: Using 'getaddrinfo' 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:2307:(.text+0x48e1): warning: Using 'getpwent' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking /usr/bin/ld: ./build-static/lib/readline/../../.././lib/readline/complete.c:2302:(.text+0x48d6): 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:1920:(.text+0x642): warning: Using 'endpwent' 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:(.text+0x144): 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:1902:(.text+0x5ad): warning: Using 'getpwuid' 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_servicename_completion_function': ./build-static/.././bashline.c:2609:(.text+0x7f21): 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:2606:(.text+0x7f18): 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:2631:(.text+0x800b): warning: Using 'endservent' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking /usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/14/../../../x86_64-linux-gnu/libc.a(getenv.o): in function `getenv': (.text+0x0): multiple definition of `getenv'; ./lib/sh/libsh.a(getenv.o):./build-static/lib/sh/../../.././lib/sh/getenv.c:52: first defined here collect2: error: ld returned 1 exit status make[2]: *** [Makefile:595: bash] Error 1 make[2]: Leaving directory '/<<PKGBUILDDIR>>/build-static' make[1]: *** [debian/rules:370: stamps/stamp-build-static] Error 2 make[1]: Leaving directory '/<<PKGBUILDDIR>>' make: *** [debian/rules:129: static-build] Error 2 dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2 -------------------------------------------------------------------------------- The above is just how the build ends and not necessarily the most relevant part. If required, the full build log is available here: https://people.debian.org/~sanvila/build-logs/202503/ About the archive rebuild: The build was made on virtual machines from AWS, using sbuild and a reduced chroot with only build-essential packages. If you could not reproduce the bug please contact me privately, as I am willing to provide ssh access to a virtual machine where the bug is fully reproducible. If this is really a bug in one of the build-depends, please use reassign and add an affects on src:bash, so that this is still visible in the BTS web page for this package. Thanks.