The Meson build system Version: 0.60.3 Source dir: /build/ksh/src/ksh-2020.0.0 Build dir: /build/ksh/src/ksh-2020.0.0/build Build type: native build Project name: ksh93 Project version: undefined C compiler for the host machine: cc (gcc 11.1.0 "cc (GCC) 11.1.0") C linker for the host machine: cc ld.bfd 2.36.1 Host machine cpu family: riscv64 Host machine cpu: riscv64 ../meson.build:33: WARNING: Consider using the built-in option for language standard version instead of using "-std=gnu99". ../meson.build:68: WARNING: Consider using the built-in warning_level option instead of using "-Wextra". Compiler for C supports arguments -Wno-cast-function-type: YES Compiler for C supports arguments -Werror=implicit: YES Checking for size of "void*" : 8 Checking for size of "int" : 4 Checking for size of "long" : 8 Checking for size of "size_t" : 8 Checking for size of "off_t" : 8 Checking for size of "int32_t" : 4 Checking for size of "wchar_t" : 4 Checking for size of "long long" : 8 Library m found: YES Library socket found: NO Library nsl found: YES Library dl found: YES Library execinfo found: NO Library fts found: NO Library iconv found: NO Library catgets found: NO Has header "execinfo.h" : YES Has header "filio.h" : NO Has header "malloc.h" : YES Has header "stdlib.h" : YES Has header "sys/filio.h" : NO Has header "sys/ldr.h" : NO Has header "sys/pstat.h" : NO Has header "sys/ptem.h" : NO Has header "stream.h" : NO Checking for function "lchmod" : YES Checking for function "getrusage" : YES Checking for function "sigqueue" : YES Checking for function "isnanl" : YES Checking for function "eaccess" : YES Checking for function "euidaccess" : YES Checking for function "faccessat" : YES Checking for function "mkostemp" : YES Checking for function "strlcat" : NO Checking for function "utimensat" : YES Checking for function "sysinfo" : NO Checking for function "pipe2" : YES Checking for function "syncfs" : YES Checking for function "expm1l" with dependency -lm: YES Checking for function "log1pl" with dependency -lm: YES Checking for function "remainderl" with dependency -lm: YES Checking for function "log2l" with dependency -lm: YES Checking for function "tgammal" with dependency -lm: YES Checking for function "lgammal" with dependency -lm: YES Checking if "fchmod() after socketpair() shutdown()" runs: YES Checking if "max signal number" runs: YES Checking for type "sighandler_t" : YES Checking whether type "struct dirent" has member "d_fileno" : YES Checking whether type "struct dirent" has member "d_ino" : YES Checking whether type "struct dirent" has member "d_reclen" : YES Checking whether type "struct dirent" has member "d_type" : YES Checking whether type "struct dirent" has member "d_namlen" : NO Checking whether type "struct stat" has member "st_mtim" : YES Checking if "poll() exists and is worth using" runs: YES Checking if "posix_spawn() exists and is worth using" runs: NO (1) Checking if "Check if -D_FILE_OFFSET_BITS=64 works with fts functions" : compiles: YES Program tput found: YES (/usr/bin/tput) Program ed found: YES (/usr/bin/ed) Program atos found: NO Program addr2line found: YES (/usr/bin/addr2line) Has header "dl.h" : NO Has header "dlfcn.h" : YES Has header "dll.h" : NO Has header "rld_interface.h" : NO Has header "mach-o/dyld.h" : NO Has header "sys/ldr.h" : NO (cached) Library dl found: YES Checking for function "dlopen" with dependency -ldl: YES Checking for function "dllload" with dependency -ldl: NO Checking for function "loadbind" with dependency -ldl: NO Checking if "_DYNAMIC check" runs: DID NOT COMPILE Checking for function "clock_gettime" : YES Checking for function "gettimeofday" : YES Has header "sys/syscall.h" : YES Has header "sys/systeminfo.h" : NO Has header "sys/syssgi.h" : NO Checking for function "syscall" : YES Checking for function "systeminfo" : NO Configuring config_ast.h using configuration Checking if "gcc 4.1+ 64 bit memory atomic operations model" : links: YES Program sh found: YES (/usr/bin/sh) ../src/lib/libast/tests/misc/meson.build:28: WARNING: skipping debug on linux Program /usr/bin/meson found: YES (/usr/bin/meson) Configuring documentation.c with command ../src/cmd/ksh93/tests/meson.build:171: WARNING: skipping b_set/shcomp on linux ../src/cmd/ksh93/tests/meson.build:171: WARNING: skipping io/shcomp on linux ../src/cmd/ksh93/tests/meson.build:171: WARNING: skipping treemove/shcomp on linux Build targets in project: 131 ksh93 undefined User defined options buildtype: plain prefix : /usr Found samurai-1.9 at /usr/bin/samu [1/538] Compiling C object src/cmd/ksh93/tests/api/ksh_debug.p/ksh_debug.c.o [2/538] Compiling C object src/cmd/ksh93/shcomp.p/sh_shcomp.c.o [3/538] Compiling C object src/cmd/ksh93/ksh.p/sh_pmain.c.o [4/538] Compiling C object src/cmd/ksh93/cmds/libcmd.a.p/wc.c.o [5/538] Compiling C object src/cmd/ksh93/cmds/libcmd.a.p/uname.c.o [6/538] Compiling C object src/cmd/ksh93/cmds/libcmd.a.p/sync.c.o [7/538] Compiling C object src/cmd/ksh93/cmds/libcmd.a.p/mkdir.c.o [8/538] Compiling C object src/cmd/ksh93/cmds/libcmd.a.p/logname.c.o [9/538] Compiling C object src/cmd/ksh93/cmds/libcmd.a.p/head.c.o [10/538] Compiling C object src/cmd/ksh93/cmds/libcmd.a.p/dirname.c.o [11/538] Compiling C object src/cmd/ksh93/cmds/libcmd.a.p/cut.c.o [12/538] Compiling C object src/cmd/ksh93/cmds/libcmd.a.p/cmp.c.o [13/538] Compiling C object src/cmd/ksh93/cmds/libcmd.a.p/cmdinit.c.o [14/538] Compiling C object src/cmd/ksh93/cmds/libcmd.a.p/chmod.c.o [15/538] Compiling C object src/cmd/ksh93/cmds/libcmd.a.p/cat.c.o [16/538] Compiling C object src/cmd/ksh93/cmds/libcmd.a.p/basename.c.o [17/538] Generating src/cmd/ksh93/include/version.h with a custom command [18/538] Compiling C object src/lib/libast/tests/tm/tvgettime.p/tvgettime.c.o [19/538] Compiling C object src/lib/libast/tests/string/utf.p/utf.c.o [20/538] Compiling C object src/lib/libast/tests/string/struniq.p/struniq.c.o [21/538] Compiling C object src/lib/libast/tests/string/strtonll.p/strtonll.c.o [22/538] Compiling C object src/lib/libast/tests/string/strsort.p/strsort.c.o [23/538] Compiling C object src/lib/libast/tests/string/strperm.p/strperm.c.o [24/538] Compiling C object src/lib/libast/tests/string/strmatch.p/strmatch.c.o [25/538] Compiling C object src/lib/libast/tests/string/strlcpy.p/strlcpy.c.o [26/538] Compiling C object src/lib/libast/tests/string/strlcat.p/strlcat.c.o [27/538] Compiling C object src/lib/libast/tests/string/stresc.p/stresc.c.o [28/538] Compiling C object src/lib/libast/tests/string/strelapsed.p/strelapsed.c.o [29/538] Compiling C object src/lib/libast/tests/string/fmttmx.p/fmttmx.c.o [30/538] Compiling C object src/lib/libast/tests/string/fmtscale.p/fmtscale.c.o [31/538] Compiling C object src/lib/libast/tests/string/fmtre.p/fmtre.c.o [32/538] Compiling C object src/lib/libast/tests/string/fmtperm.p/fmtperm.c.o [33/538] Compiling C object src/lib/libast/tests/string/fmtmode.p/fmtmode.c.o [34/538] Compiling C object src/lib/libast/tests/string/fmtmatch.p/fmtmatch.c.o [35/538] Compiling C object src/lib/libast/tests/string/fmtint.p/fmtint.c.o [36/538] Compiling C object src/lib/libast/tests/string/fmtfmt.p/fmtfmt.c.o [37/538] Compiling C object src/lib/libast/tests/string/fmtesc.p/fmtesc.c.o [38/538] Compiling C object src/lib/libast/tests/string/fmtelapsed.p/fmtelapsed.c.o [39/538] Compiling C object src/lib/libast/tests/string/fmtbase.p/fmtbase.c.o [40/538] Compiling C object src/lib/libast/tests/string/chresc.p/chresc.c.o [41/538] Compiling C object src/lib/libast/tests/string/base64.p/base64.c.o [42/538] Compiling C object src/lib/libast/tests/sfio/tprintf.p/tprintf.c.o [43/538] Compiling C object src/lib/libast/tests/sfio/twrrd.p/twrrd.c.o [44/538] Compiling C object src/lib/libast/tests/sfio/twhole.p/twhole.c.o [45/538] Compiling C object src/lib/libast/tests/sfio/tungetc.p/tungetc.c.o [46/538] Compiling C object src/lib/libast/tests/sfio/ttmpfile.p/ttmpfile.c.o [47/538] Compiling C object src/lib/libast/tests/sfio/ttmp.p/ttmp.c.o [48/538] Compiling C object src/lib/libast/tests/sfio/ttell.p/ttell.c.o [49/538] Compiling C object src/lib/libast/tests/sfio/tsync.p/tsync.c.o [50/538] Compiling C object src/lib/libast/tests/sfio/tswap.p/tswap.c.o [51/538] Compiling C object src/lib/libast/tests/sfio/tstring.p/tstring.c.o In file included from ../src/lib/libast/tests/string/strtonll.c:7: ../src/lib/libast/tests/terror.h: In function ‘tstputmesg’: ../src/lib/libast/tests/terror.h:144:9: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 144 | write(2, buf, n); | ^~~~~~~~~~~~~~~~ [52/538] Compiling C object src/lib/libast/tests/sfio/tstkpk.p/tstkpk.c.o [53/538] Compiling C object src/lib/libast/tests/sfio/tstatus.p/tstatus.c.o In file included from ../src/lib/libast/tests/sfio/tswap.c:25: ../src/lib/libast/tests/terror.h: In function ‘tstputmesg’: ../src/lib/libast/tests/terror.h:144:9: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 144 | write(2, buf, n); | ^~~~~~~~~~~~~~~~ [54/538] Compiling C object src/lib/libast/tests/sfio/tstack.p/tstack.c.o [55/538] Compiling C object src/lib/libast/tests/sfio/tsize.p/tsize.c.o In file included from ../src/lib/libast/tests/string/strmatch.c:6: ../src/lib/libast/tests/terror.h: In function ‘tstputmesg’: ../src/lib/libast/tests/terror.h:144:9: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 144 | write(2, buf, n); | ^~~~~~~~~~~~~~~~ [56/538] Compiling C object src/lib/libast/tests/sfio/tshare.p/tshare.c.o In file included from ../src/lib/libast/tests/string/fmttmx.c:7: ../src/lib/libast/tests/terror.h: In function ‘tstputmesg’: ../src/lib/libast/tests/terror.h:144:9: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 144 | write(2, buf, n); | ^~~~~~~~~~~~~~~~ [57/538] Compiling C object src/lib/libast/tests/sfio/tsfstr.p/tsfstr.c.o [58/538] Compiling C object src/lib/libast/tests/sfio/tsetfd.p/tsetfd.c.o [59/538] Compiling C object src/lib/libast/tests/sfio/tsetbuf.p/tsetbuf.c.o In file included from ../src/lib/libast/tests/sfio/twrrd.c:25: ../src/lib/libast/tests/terror.h: In function ‘tstputmesg’: ../src/lib/libast/tests/terror.h:144:9: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 144 | write(2, buf, n); | ^~~~~~~~~~~~~~~~ [60/538] Compiling C object src/lib/libast/tests/sfio/tseek.p/tseek.c.o [61/538] Compiling C object src/lib/libast/tests/sfio/tscanf1.p/tscanf1.c.o In file included from ../src/lib/libast/tests/string/strsort.c:6: ../src/lib/libast/tests/terror.h: In function ‘tstputmesg’: ../src/lib/libast/tests/terror.h:144:9: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 144 | write(2, buf, n); | ^~~~~~~~~~~~~~~~ [62/538] Compiling C object src/lib/libast/tests/sfio/tscanf.p/tscanf.c.o ../src/cmd/ksh93/cmds/chmod.c: In function ‘b_chmod’: ../src/cmd/ksh93/cmds/chmod.c:206:30: warning: ‘mode’ may be used uninitialized in this function [-Wmaybe-uninitialized] 206 | if (show || (*chmodf)(ent->fts_accpath, mode) >= 0) { | ~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [63/538] Compiling C object src/lib/libast/tests/sfio/tresize.p/tresize.c.o In file included from ../src/lib/libast/tests/string/struniq.c:6: ../src/lib/libast/tests/terror.h: In function ‘tstputmesg’: ../src/lib/libast/tests/terror.h:144:9: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 144 | write(2, buf, n); | ^~~~~~~~~~~~~~~~ [64/538] Compiling C object src/lib/libast/tests/sfio/treserve.p/treserve.c.o [65/538] Compiling C object src/lib/libast/tests/sfio/trcrv.p/trcrv.c.o ../src/cmd/ksh93/cmds/uname.c: In function ‘b_uname’: ../src/cmd/ksh93/cmds/uname.c:181:9: warning: ignoring return value of ‘getdomainname’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 181 | getdomainname(buf, sizeof(buf)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [66/538] Compiling C object src/lib/libast/tests/sfio/tputgetu.p/tputgetu.c.o [67/538] Compiling C object src/lib/libast/tests/sfio/tputgetr.p/tputgetr.c.o In file included from ../src/lib/libast/tests/sfio/tstkpk.c:26: ../src/lib/libast/tests/terror.h: In function ‘tstputmesg’: ../src/lib/libast/tests/terror.h:144:9: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 144 | write(2, buf, n); | ^~~~~~~~~~~~~~~~ [68/538] Compiling C object src/lib/libast/tests/sfio/tputgetm.p/tputgetm.c.o In file included from ../src/lib/libast/tests/sfio/ttmpfile.c:25: ../src/lib/libast/tests/terror.h: In function ‘tstputmesg’: ../src/lib/libast/tests/terror.h:144:9: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 144 | write(2, buf, n); | ^~~~~~~~~~~~~~~~ [69/538] Compiling C object src/lib/libast/tests/sfio/tputgetl.p/tputgetl.c.o In file included from ../src/lib/libast/tests/tm/tvgettime.c:6: ../src/lib/libast/tests/terror.h: In function ‘tstputmesg’: ../src/lib/libast/tests/terror.h:144:9: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 144 | write(2, buf, n); | ^~~~~~~~~~~~~~~~ [70/538] Compiling C object src/lib/libast/tests/sfio/tputgetd.p/tputgetd.c.o In file included from ../src/lib/libast/tests/string/strlcat.c:5: ../src/lib/libast/tests/terror.h: In function ‘tstputmesg’: ../src/lib/libast/tests/terror.h:144:9: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 144 | write(2, buf, n); | ^~~~~~~~~~~~~~~~ [71/538] Compiling C object src/lib/libast/tests/sfio/tputgetc.p/tputgetc.c.o In file included from ../src/lib/libast/tests/string/fmtmatch.c:8: ../src/lib/libast/tests/terror.h: In function ‘tstputmesg’: ../src/lib/libast/tests/terror.h:144:9: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 144 | write(2, buf, n); | ^~~~~~~~~~~~~~~~ [72/538] Compiling C object src/lib/libast/tests/sfio/tpublic.p/tpublic.c.o In file included from ../src/lib/libast/tests/string/fmtscale.c:6: ../src/lib/libast/tests/terror.h: In function ‘tstputmesg’: ../src/lib/libast/tests/terror.h:144:9: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 144 | write(2, buf, n); | ^~~~~~~~~~~~~~~~ [73/538] Compiling C object src/lib/libast/tests/sfio/tpopenrw.p/tpopenrw.c.o In file included from ../src/lib/libast/tests/string/fmtmode.c:6: ../src/lib/libast/tests/terror.h: In function ‘tstputmesg’: ../src/lib/libast/tests/terror.h:144:9: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 144 | write(2, buf, n); | ^~~~~~~~~~~~~~~~ [74/538] Compiling C object src/lib/libast/tests/sfio/tpopen.p/tpopen.c.o [75/538] Compiling C object src/cmd/ksh93/libksh.a.p/sh_xec.c.o In file included from ../src/lib/libast/tests/sfio/tstring.c:25: ../src/lib/libast/tests/terror.h: In function ‘tstputmesg’: ../src/lib/libast/tests/terror.h:144:9: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 144 | write(2, buf, n); | ^~~~~~~~~~~~~~~~ [76/538] Compiling C object src/cmd/ksh93/libksh.a.p/sh_trestore.c.o In file included from ../src/lib/libast/tests/string/strperm.c:6: ../src/lib/libast/tests/terror.h: In function ‘tstputmesg’: ../src/lib/libast/tests/terror.h:144:9: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 144 | write(2, buf, n); | ^~~~~~~~~~~~~~~~ [77/538] Compiling C object src/cmd/ksh93/libksh.a.p/sh_timers.c.o In file included from ../src/lib/libast/tests/string/base64.c:7: ../src/lib/libast/tests/terror.h: In function ‘tstputmesg’: ../src/lib/libast/tests/terror.h:144:9: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 144 | write(2, buf, n); | ^~~~~~~~~~~~~~~~ [78/538] Compiling C object src/cmd/ksh93/libksh.a.p/sh_tdump.c.o In file included from ../src/lib/libast/tests/string/fmtesc.c:6: ../src/lib/libast/tests/terror.h: In function ‘tstputmesg’: ../src/lib/libast/tests/terror.h:144:9: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 144 | write(2, buf, n); | ^~~~~~~~~~~~~~~~ [79/538] Compiling C object src/cmd/ksh93/libksh.a.p/sh_subshell.c.o In file included from ../src/lib/libast/tests/sfio/tungetc.c:26: ../src/lib/libast/tests/terror.h: In function ‘tstputmesg’: ../src/lib/libast/tests/terror.h:144:9: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 144 | write(2, buf, n); | ^~~~~~~~~~~~~~~~ [80/538] Compiling C object src/cmd/ksh93/libksh.a.p/sh_string.c.o In file included from ../src/lib/libast/tests/string/stresc.c:6: ../src/lib/libast/tests/terror.h: In function ‘tstputmesg’: ../src/lib/libast/tests/terror.h:144:9: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 144 | write(2, buf, n); | ^~~~~~~~~~~~~~~~ [81/538] Compiling C object src/cmd/ksh93/libksh.a.p/sh_streval.c.o In file included from ../src/lib/libast/tests/string/strlcpy.c:5: ../src/lib/libast/tests/terror.h: In function ‘tstputmesg’: ../src/lib/libast/tests/terror.h:144:9: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 144 | write(2, buf, n); | ^~~~~~~~~~~~~~~~ [82/538] Compiling C object src/cmd/ksh93/libksh.a.p/sh_path.c.o In file included from ../src/lib/libast/tests/string/fmtre.c:8: ../src/lib/libast/tests/terror.h: In function ‘tstputmesg’: ../src/lib/libast/tests/terror.h:144:9: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 144 | write(2, buf, n); | ^~~~~~~~~~~~~~~~ [83/538] Compiling C object src/cmd/ksh93/libksh.a.p/sh_parse.c.o ../src/cmd/ksh93/cmds/mkdir.c: In function ‘b_mkdir’: ../src/cmd/ksh93/cmds/mkdir.c:122:21: warning: ‘dmode’ may be used uninitialized in this function [-Wmaybe-uninitialized] 122 | if (mkdir(path, n ? dmode : mode) < 0 && errno != EEXIST && | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [84/538] Compiling C object src/cmd/ksh93/libksh.a.p/sh_nvtype.c.o In file included from ../src/lib/libast/tests/string/strelapsed.c:6: ../src/lib/libast/tests/terror.h: In function ‘tstputmesg’: ../src/lib/libast/tests/terror.h:144:9: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 144 | write(2, buf, n); | ^~~~~~~~~~~~~~~~ [85/538] Compiling C object src/cmd/ksh93/libksh.a.p/sh_nvtree.c.o In file included from ../src/lib/libast/tests/string/fmtfmt.c:6: ../src/lib/libast/tests/terror.h: In function ‘tstputmesg’: ../src/lib/libast/tests/terror.h:144:9: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 144 | write(2, buf, n); | ^~~~~~~~~~~~~~~~ [86/538] Compiling C object src/cmd/ksh93/libksh.a.p/sh_nvdisc.c.o In file included from ../src/lib/libast/tests/string/fmtelapsed.c:6: ../src/lib/libast/tests/terror.h: In function ‘tstputmesg’: ../src/lib/libast/tests/terror.h:144:9: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 144 | write(2, buf, n); | ^~~~~~~~~~~~~~~~ [87/538] Compiling C object src/cmd/ksh93/libksh.a.p/sh_name.c.o In file included from ../src/lib/libast/tests/string/fmtint.c:6: ../src/lib/libast/tests/terror.h: In function ‘tstputmesg’: ../src/lib/libast/tests/terror.h:144:9: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 144 | write(2, buf, n); | ^~~~~~~~~~~~~~~~ [88/538] Compiling C object src/cmd/ksh93/libksh.a.p/sh_main.c.o In file included from ../src/lib/libast/tests/string/fmtbase.c:6: ../src/lib/libast/tests/terror.h: In function ‘tstputmesg’: ../src/lib/libast/tests/terror.h:144:9: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 144 | write(2, buf, n); | ^~~~~~~~~~~~~~~~ [89/538] Compiling C object src/cmd/ksh93/libksh.a.p/sh_macro.c.o In file included from ../src/lib/libast/tests/sfio/tstatus.c:25: ../src/lib/libast/tests/terror.h: In function ‘tstputmesg’: ../src/lib/libast/tests/terror.h:144:9: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 144 | write(2, buf, n); | ^~~~~~~~~~~~~~~~ [90/538] Compiling C object src/cmd/ksh93/libksh.a.p/sh_lex.c.o In file included from ../src/lib/libast/tests/sfio/twhole.c:26: ../src/lib/libast/tests/terror.h: In function ‘tstputmesg’: ../src/lib/libast/tests/terror.h:144:9: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 144 | write(2, buf, n); | ^~~~~~~~~~~~~~~~ [91/538] Compiling C object src/cmd/ksh93/libksh.a.p/sh_jobs.c.o In file included from ../src/lib/libast/tests/string/fmtperm.c:6: ../src/lib/libast/tests/terror.h: In function ‘tstputmesg’: ../src/lib/libast/tests/terror.h:144:9: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 144 | write(2, buf, n); | ^~~~~~~~~~~~~~~~ [92/538] Compiling C object src/cmd/ksh93/libksh.a.p/sh_io.c.o In file included from ../src/lib/libast/tests/string/chresc.c:6: ../src/lib/libast/tests/terror.h: In function ‘tstputmesg’: ../src/lib/libast/tests/terror.h:144:9: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 144 | write(2, buf, n); | ^~~~~~~~~~~~~~~~ [93/538] Compiling C object src/cmd/ksh93/libksh.a.p/sh_init.c.o In file included from ../src/lib/libast/tests/string/utf.c:11: ../src/lib/libast/tests/terror.h: In function ‘tstputmesg’: ../src/lib/libast/tests/terror.h:144:9: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 144 | write(2, buf, n); | ^~~~~~~~~~~~~~~~ [94/538] Compiling C object src/cmd/ksh93/libksh.a.p/sh_fcin.c.o In file included from ../src/lib/libast/tests/sfio/ttmp.c:29: ../src/lib/libast/tests/terror.h: In function ‘tstputmesg’: ../src/lib/libast/tests/terror.h:144:9: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 144 | write(2, buf, n); | ^~~~~~~~~~~~~~~~ [95/538] Compiling C object src/cmd/ksh93/libksh.a.p/sh_fault.c.o In file included from ../src/lib/libast/tests/sfio/ttell.c:26: ../src/lib/libast/tests/terror.h: In function ‘tstputmesg’: ../src/lib/libast/tests/terror.h:144:9: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 144 | write(2, buf, n); | ^~~~~~~~~~~~~~~~ [96/538] Compiling C object src/cmd/ksh93/libksh.a.p/sh_expand.c.o ../src/cmd/ksh93/tests/api/ksh_debug.c: In function ‘main’: ../src/cmd/ksh93/tests/api/ksh_debug.c:266:5: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 266 | write(2, "\n", 1); | ^~~~~~~~~~~~~~~~~ ../src/cmd/ksh93/tests/api/ksh_debug.c:268:5: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 268 | write(2, "\n", 1); | ^~~~~~~~~~~~~~~~~ ../src/cmd/ksh93/tests/api/ksh_debug.c: In function ‘test_dprint_nv’: ../src/cmd/ksh93/tests/api/ksh_debug.c:225:5: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 225 | write(2, "\n", 1); | ^~~~~~~~~~~~~~~~~ [97/538] Compiling C object src/cmd/ksh93/libksh.a.p/sh_defs.c.o [98/538] Compiling C object src/cmd/ksh93/libksh.a.p/sh_debug.c.o In file included from ../src/lib/libast/tests/sfio/tsync.c:27: ../src/lib/libast/tests/terror.h: In function ‘tstputmesg’: ../src/lib/libast/tests/terror.h:144:9: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 144 | write(2, buf, n); | ^~~~~~~~~~~~~~~~ [99/538] Compiling C object src/cmd/ksh93/libksh.a.p/sh_bash.c.o In file included from ../src/lib/libast/tests/sfio/tstack.c:26: ../src/lib/libast/tests/terror.h: In function ‘tstputmesg’: ../src/lib/libast/tests/terror.h:144:9: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 144 | write(2, buf, n); | ^~~~~~~~~~~~~~~~ [100/538] Compiling C object src/cmd/ksh93/libksh.a.p/sh_array.c.o In file included from ../src/lib/libast/tests/sfio/tshare.c:25: ../src/lib/libast/tests/terror.h: In function ‘tstputmesg’: ../src/lib/libast/tests/terror.h:144:9: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 144 | write(2, buf, n); | ^~~~~~~~~~~~~~~~ [101/538] Compiling C object src/cmd/ksh93/libksh.a.p/sh_arith.c.o [102/538] Compiling C object src/cmd/ksh93/libksh.a.p/sh_args.c.o In file included from ../src/lib/libast/tests/sfio/tputgetu.c:23: ../src/lib/libast/tests/terror.h: In function ‘tstputmesg’: ../src/lib/libast/tests/terror.h:144:9: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 144 | write(2, buf, n); | ^~~~~~~~~~~~~~~~ [103/538] Compiling C object src/cmd/ksh93/libksh.a.p/edit_vi.c.o [104/538] Compiling C object src/cmd/ksh93/libksh.a.p/edit_pcomplete.c.o In file included from ../src/lib/libast/tests/sfio/tscanf1.c:26: ../src/lib/libast/tests/terror.h: In function ‘tstputmesg’: ../src/lib/libast/tests/terror.h:144:9: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 144 | write(2, buf, n); | ^~~~~~~~~~~~~~~~ [105/538] Compiling C object src/cmd/ksh93/libksh.a.p/edit_history.c.o In file included from ../src/lib/libast/tests/sfio/tputgetm.c:23: ../src/lib/libast/tests/terror.h: In function ‘tstputmesg’: ../src/lib/libast/tests/terror.h:144:9: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 144 | write(2, buf, n); | ^~~~~~~~~~~~~~~~ [106/538] Compiling C object src/cmd/ksh93/libksh.a.p/edit_hexpand.c.o In file included from ../src/lib/libast/tests/sfio/tsfstr.c:25: ../src/lib/libast/tests/terror.h: In function ‘tstputmesg’: ../src/lib/libast/tests/terror.h:144:9: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 144 | write(2, buf, n); | ^~~~~~~~~~~~~~~~ [107/538] Compiling C object src/cmd/ksh93/libksh.a.p/edit_emacs.c.o In file included from ../src/lib/libast/tests/sfio/tsetbuf.c:28: ../src/lib/libast/tests/terror.h: In function ‘tstputmesg’: ../src/lib/libast/tests/terror.h:144:9: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 144 | write(2, buf, n); | ^~~~~~~~~~~~~~~~ [108/538] Compiling C object src/cmd/ksh93/libksh.a.p/edit_edit.c.o [109/538] Compiling C object src/cmd/ksh93/libksh.a.p/edit_completion.c.o In file included from ../src/lib/libast/tests/sfio/trcrv.c:26: ../src/lib/libast/tests/terror.h: In function ‘tstputmesg’: ../src/lib/libast/tests/terror.h:144:9: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 144 | write(2, buf, n); | ^~~~~~~~~~~~~~~~ [110/538] Compiling C object src/cmd/ksh93/libksh.a.p/meson-generated_.._data_documentation.c.o In file included from ../src/lib/libast/tests/sfio/tpopen.c:27: ../src/lib/libast/tests/terror.h: In function ‘tstputmesg’: ../src/lib/libast/tests/terror.h:144:9: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 144 | write(2, buf, n); | ^~~~~~~~~~~~~~~~ [111/538] Compiling C object src/cmd/ksh93/libksh.a.p/data_variables.c.o In file included from ../src/lib/libast/tests/sfio/tsetfd.c:25: ../src/lib/libast/tests/terror.h: In function ‘tstputmesg’: ../src/lib/libast/tests/terror.h:144:9: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 144 | write(2, buf, n); | ^~~~~~~~~~~~~~~~ [112/538] Compiling C object src/cmd/ksh93/libksh.a.p/data_testops.c.o In file included from ../src/lib/libast/tests/sfio/tputgetd.c:25: ../src/lib/libast/tests/terror.h: In function ‘tstputmesg’: ../src/lib/libast/tests/terror.h:144:9: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 144 | write(2, buf, n); | ^~~~~~~~~~~~~~~~ [113/538] Compiling C object src/cmd/ksh93/libksh.a.p/data_strdata.c.o [114/538] Compiling C object src/cmd/ksh93/libksh.a.p/data_signals.c.o [115/538] Compiling C object src/cmd/ksh93/libksh.a.p/data_options.c.o In file included from ../src/lib/libast/tests/sfio/tputgetl.c:23: ../src/lib/libast/tests/terror.h: In function ‘tstputmesg’: ../src/lib/libast/tests/terror.h:144:9: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 144 | write(2, buf, n); | ^~~~~~~~~~~~~~~~ [116/538] Compiling C object src/cmd/ksh93/libksh.a.p/data_msg.c.o [117/538] Compiling C object src/cmd/ksh93/libksh.a.p/data_limits.c.o In file included from ../src/lib/libast/tests/sfio/tsize.c:26: ../src/lib/libast/tests/terror.h: In function ‘tstputmesg’: ../src/lib/libast/tests/terror.h:144:9: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 144 | write(2, buf, n); | ^~~~~~~~~~~~~~~~ [118/538] Compiling C object src/cmd/ksh93/libksh.a.p/data_lexstates.c.o In file included from ../src/lib/libast/tests/sfio/tputgetr.c:26: ../src/lib/libast/tests/terror.h: In function ‘tstputmesg’: ../src/lib/libast/tests/terror.h:144:9: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 144 | write(2, buf, n); | ^~~~~~~~~~~~~~~~ [119/538] Compiling C object src/cmd/ksh93/libksh.a.p/data_keywords.c.o [120/538] Compiling C object src/cmd/ksh93/libksh.a.p/data_builtins.c.o In file included from ../src/lib/libast/tests/sfio/tresize.c:25: ../src/lib/libast/tests/terror.h: In function ‘tstputmesg’: ../src/lib/libast/tests/terror.h:144:9: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 144 | write(2, buf, n); | ^~~~~~~~~~~~~~~~ [121/538] Compiling C object src/cmd/ksh93/libksh.a.p/data_aliases.c.o [122/538] Compiling C object src/cmd/ksh93/libksh.a.p/bltins_whence.c.o [123/538] Compiling C object src/cmd/ksh93/libksh.a.p/bltins_wait.c.o [124/538] Compiling C object src/cmd/ksh93/libksh.a.p/bltins_unset.c.o In file included from ../src/lib/libast/tests/sfio/tprintf.c:27: ../src/lib/libast/tests/terror.h: In function ‘tstputmesg’: ../src/lib/libast/tests/terror.h:144:9: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 144 | write(2, buf, n); | ^~~~~~~~~~~~~~~~ [125/538] Compiling C object src/cmd/ksh93/libksh.a.p/bltins_unalias.c.o [126/538] Compiling C object src/cmd/ksh93/libksh.a.p/bltins_umask.c.o [127/538] Compiling C object src/cmd/ksh93/libksh.a.p/bltins_ulimit.c.o [128/538] Compiling C object src/cmd/ksh93/libksh.a.p/bltins_typeset.c.o In file included from ../src/lib/libast/tests/sfio/tpopenrw.c:26: ../src/lib/libast/tests/terror.h: In function ‘tstputmesg’: ../src/lib/libast/tests/terror.h:144:9: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 144 | write(2, buf, n); | ^~~~~~~~~~~~~~~~ [129/538] Compiling C object src/cmd/ksh93/libksh.a.p/bltins_true.c.o In file included from ../src/lib/libast/tests/sfio/tseek.c:26: ../src/lib/libast/tests/terror.h: In function ‘tstputmesg’: ../src/lib/libast/tests/terror.h:144:9: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 144 | write(2, buf, n); | ^~~~~~~~~~~~~~~~ [130/538] Compiling C object src/cmd/ksh93/libksh.a.p/bltins_trap.c.o [131/538] Compiling C object src/cmd/ksh93/libksh.a.p/bltins_times.c.o [132/538] Compiling C object src/cmd/ksh93/libksh.a.p/bltins_test.c.o [133/538] Linking static target src/cmd/ksh93/cmds/libcmd.a In file included from ../src/lib/libast/tests/sfio/tputgetc.c:23: ../src/lib/libast/tests/terror.h: In function ‘tstputmesg’: ../src/lib/libast/tests/terror.h:144:9: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 144 | write(2, buf, n); | ^~~~~~~~~~~~~~~~ [134/538] Compiling C object src/cmd/ksh93/libksh.a.p/bltins_source.c.o [135/538] Compiling C object src/cmd/ksh93/libksh.a.p/bltins_sleep.c.o [136/538] Compiling C object src/cmd/ksh93/libksh.a.p/bltins_shift.c.o In file included from ../src/lib/libast/tests/sfio/treserve.c:26: ../src/lib/libast/tests/terror.h: In function ‘tstputmesg’: ../src/lib/libast/tests/terror.h:144:9: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 144 | write(2, buf, n); | ^~~~~~~~~~~~~~~~ [137/538] Compiling C object src/cmd/ksh93/libksh.a.p/bltins_set.c.o In file included from ../src/lib/libast/tests/sfio/tscanf.c:25: ../src/lib/libast/tests/terror.h: In function ‘tstputmesg’: ../src/lib/libast/tests/terror.h:144:9: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 144 | write(2, buf, n); | ^~~~~~~~~~~~~~~~ [138/538] Compiling C object src/cmd/ksh93/libksh.a.p/bltins_return.c.o [139/538] Compiling C object src/cmd/ksh93/libksh.a.p/bltins_readonly.c.o [140/538] Compiling C object src/cmd/ksh93/libksh.a.p/bltins_read.c.o [141/538] Compiling C object src/cmd/ksh93/libksh.a.p/bltins_pwd.c.o [142/538] Compiling C object src/cmd/ksh93/libksh.a.p/bltins_print.c.o In file included from ../src/lib/libast/tests/sfio/tpublic.c:26: ../src/lib/libast/tests/terror.h: In function ‘tstputmesg’: ../src/lib/libast/tests/terror.h:144:9: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 144 | write(2, buf, n); | ^~~~~~~~~~~~~~~~ [143/538] Compiling C object src/cmd/ksh93/libksh.a.p/bltins_math.c.o [144/538] Compiling C object src/cmd/ksh93/libksh.a.p/bltins_let.c.o [145/538] Compiling C object src/cmd/ksh93/libksh.a.p/bltins_jobs.c.o ../src/cmd/ksh93/sh/fault.c: In function ‘sh_trap’: ../src/cmd/ksh93/sh/fault.c:699:17: warning: variable ‘savxit’ might be clobbered by ‘longjmp’ or ‘vfork’ [-Wclobbered] 699 | int jmpval, savxit = shp->exitval; | ^~~~~~ [146/538] Compiling C object src/cmd/ksh93/libksh.a.p/bltins_hist.c.o [147/538] Compiling C object src/cmd/ksh93/libksh.a.p/bltins_getopts.c.o [148/538] Compiling C object src/cmd/ksh93/libksh.a.p/bltins_fg.c.o ../src/cmd/ksh93/sh/expand.c: In function ‘path_generate’: ../src/cmd/ksh93/sh/expand.c:217:22: warning: ‘incr’ may be used uninitialized in this function [-Wmaybe-uninitialized] 217 | int first, last, incr, count = 0; | ^~~~ ../src/cmd/ksh93/sh/expand.c:217:16: warning: ‘last’ may be used uninitialized in this function [-Wmaybe-uninitialized] 217 | int first, last, incr, count = 0; | ^~~~ ../src/cmd/ksh93/sh/expand.c:363:31: warning: ‘first’ may be used uninitialized in this function [-Wmaybe-uninitialized] 363 | if (incr * (first + incr) > last * incr) { | ~~~~~~~^~~~~~~ ../src/cmd/ksh93/sh/expand.c:346:9: warning: ‘pat’ may be used uninitialized in this function [-Wmaybe-uninitialized] 346 | *cp = 0; | ~~~~^~~ [149/538] Compiling C object src/cmd/ksh93/libksh.a.p/bltins_false.c.o [150/538] Compiling C object src/cmd/ksh93/libksh.a.p/bltins_eval.c.o [151/538] Compiling C object src/cmd/ksh93/libksh.a.p/bltins_export.c.o [152/538] Compiling C object src/cmd/ksh93/libksh.a.p/bltins_exit.c.o ../src/cmd/ksh93/sh/subshell.c: In function ‘sh_subtmpfile’: ../src/cmd/ksh93/sh/subshell.c:138:27: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 138 | if (off >= 0) write(fds[1], sfgetbuf(sfstdout), off); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/cmd/ksh93/sh/subshell.c: In function ‘sh_subshell’: ../src/cmd/ksh93/sh/subshell.c:702:38: warning: ignoring return value of ‘chdir’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 702 | if (sp->shpwdfd < 0) chdir(shp->pwd); | ^~~~~~~~~~~~~~~ ../src/cmd/ksh93/sh/subshell.c:447:23: warning: variable ‘nsig’ might be clobbered by ‘longjmp’ or ‘vfork’ [-Wclobbered] 447 | int jmpval, isig, nsig = 0, duped = 0; | ^~~~ ../src/cmd/ksh93/sh/subshell.c:447:33: warning: variable ‘duped’ might be clobbered by ‘longjmp’ or ‘vfork’ [-Wclobbered] 447 | int jmpval, isig, nsig = 0, duped = 0; | ^~~~~ ../src/cmd/ksh93/sh/subshell.c:451:12: warning: variable ‘savsig’ might be clobbered by ‘longjmp’ or ‘vfork’ [-Wclobbered] 451 | char **savsig; | ^~~~~~ ../src/cmd/ksh93/sh/subshell.c:452:13: warning: variable ‘iop’ might be clobbered by ‘longjmp’ or ‘vfork’ [-Wclobbered] 452 | Sfio_t *iop = NULL; | ^~~ ../src/cmd/ksh93/sh/subshell.c:456:9: warning: variable ‘argcnt’ might be clobbered by ‘longjmp’ or ‘vfork’ [-Wclobbered] 456 | int argcnt; | ^~~~~~ [153/538] Compiling C object src/cmd/ksh93/libksh.a.p/bltins_exec_login.c.o [154/538] Compiling C object src/cmd/ksh93/libksh.a.p/bltins_enum.c.o ../src/cmd/ksh93/sh/main.c: In function ‘exfile’: ../src/cmd/ksh93/sh/main.c:327:28: warning: variable ‘tdone’ might be clobbered by ‘longjmp’ or ‘vfork’ [-Wclobbered] 327 | int maxtry = IOMAXTRY, tdone = 0, execflags; | ^~~~~ ../src/cmd/ksh93/sh/main.c:324:45: warning: argument ‘iop’ might be clobbered by ‘longjmp’ or ‘vfork’ [-Wclobbered] 324 | static_fn void exfile(Shell_t *shp, Sfio_t *iop, int fno) { | ~~~~~~~~^~~ ../src/cmd/ksh93/sh/main.c:324:54: warning: argument ‘fno’ might be clobbered by ‘longjmp’ or ‘vfork’ [-Wclobbered] 324 | static_fn void exfile(Shell_t *shp, Sfio_t *iop, int fno) { | ~~~~^~~ ../src/cmd/ksh93/sh/main.c: In function ‘sh_main’: ../src/cmd/ksh93/sh/main.c:100:9: warning: variable ‘fdin’ might be clobbered by ‘longjmp’ or ‘vfork’ [-Wclobbered] 100 | int fdin = 0; | ^~~~ [155/538] Compiling C object src/cmd/ksh93/libksh.a.p/bltins_disown.c.o [156/538] Compiling C object src/cmd/ksh93/libksh.a.p/bltins_continue.c.o [157/538] Compiling C object src/cmd/ksh93/libksh.a.p/bltins_command.c.o ../src/cmd/ksh93/bltins/source.c: In function ‘b_source’: ../src/cmd/ksh93/bltins/source.c:48:9: warning: variable ‘fd’ might be clobbered by ‘longjmp’ or ‘vfork’ [-Wclobbered] 48 | int fd; | ^~ ../src/cmd/ksh93/bltins/source.c:50:11: warning: variable ‘buffer’ might be clobbered by ‘longjmp’ or ‘vfork’ [-Wclobbered] 50 | char *buffer = NULL; | ^~~~~~ ../src/cmd/ksh93/bltins/source.c:42:27: warning: argument ‘argv’ might be clobbered by ‘longjmp’ or ‘vfork’ [-Wclobbered] 42 | int b_source(int n, char *argv[], Shbltin_t *context) { | ~~~~~~^~~~~~ [158/538] Compiling C object src/cmd/ksh93/libksh.a.p/bltins_cd.c.o [159/538] Compiling C object src/cmd/ksh93/libksh.a.p/bltins_builtin.c.o [160/538] Compiling C object src/cmd/ksh93/libksh.a.p/bltins_break.c.o ../src/cmd/ksh93/bltins/ulimit.c: In function ‘b_ulimit’: ../src/cmd/ksh93/bltins/ulimit.c:182:19: warning: ‘i’ may be used uninitialized in this function [-Wmaybe-uninitialized] 182 | i += (unit - 1); | ~~^~~~~~~~~~~~~ [161/538] Compiling C object src/cmd/ksh93/libksh.a.p/bltins_bg.c.o [162/538] Compiling C object src/cmd/ksh93/libksh.a.p/bltins_alias.c.o [163/538] Compiling C object src/lib/libast/tests/sfio/tpool.p/tpool.c.o [164/538] Compiling C object src/lib/libast/tests/sfio/tpkrd.p/tpkrd.c.o ../src/cmd/ksh93/sh/debug.c: In function ‘_dprint_vtp’: ../src/cmd/ksh93/sh/debug.c:450:45: warning: argument ‘lineno’ might be clobbered by ‘longjmp’ or ‘vfork’ [-Wclobbered] 450 | void _dprint_vtp(const char *file_name, int lineno, const char *func_name, int level, | ~~~~^~~~~~ [165/538] Compiling C object src/lib/libast/tests/sfio/tpipemove.p/tpipemove.c.o [166/538] Compiling C object src/lib/libast/tests/sfio/tpipe.p/tpipe.c.o [167/538] Compiling C object src/lib/libast/tests/sfio/topen.p/topen.c.o ../src/cmd/ksh93/bltins/trap.c: In function ‘b_trap’: ../src/cmd/ksh93/bltins/trap.c:162:24: warning: ‘clear’ may be used uninitialized in this function [-Wmaybe-uninitialized] 162 | if (clear) { | ^ [168/538] Compiling C object src/lib/libast/tests/sfio/tnotify.p/tnotify.c.o [169/538] Compiling C object src/lib/libast/tests/sfio/tnoseek.p/tnoseek.c.o [170/538] Compiling C object src/lib/libast/tests/sfio/tmwrite.p/tmwrite.c.o [171/538] Compiling C object src/lib/libast/tests/sfio/tmultiple.p/tmultiple.c.o ../src/cmd/ksh93/edit/pcomplete.c: In function ‘ed_pcomplete’: ../src/cmd/ksh93/edit/pcomplete.c:306:21: warning: ‘csave’ may be used uninitialized [-Wmaybe-uninitialized] 306 | *cpsave = csave; | ~~~~~~~~^~~~~~~ ../src/cmd/ksh93/edit/pcomplete.c:361:23: warning: ‘cp’ may be used uninitialized in this function [-Wmaybe-uninitialized] 361 | memcpy(cp += plen, str, wlen); | ~~~^~~~~~~ ../src/cmd/ksh93/edit/pcomplete.c:374:13: warning: ‘av’ may be used uninitialized in this function [-Wmaybe-uninitialized] 374 | *av = 0; | ~~~~^~~ ../src/cmd/ksh93/edit/pcomplete.c:348:23: warning: ‘len’ may be used uninitialized in this function [-Wmaybe-uninitialized] 348 | if (prefix && strncmp(prefix, str, len)) continue; | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../src/cmd/ksh93/edit/pcomplete.c:306:21: warning: ‘cpsave’ may be used uninitialized in this function [-Wmaybe-uninitialized] 306 | *cpsave = csave; | ~~~~~~~~^~~~~~~ ../src/cmd/ksh93/edit/pcomplete.c:303:13: warning: ‘lastword’ may be used uninitialized in this function [-Wmaybe-uninitialized] 303 | sfprintf(shp->stk, "(\"%s\" \"%s\" \"%s\" \"%s\") >&%d\n", comp->command, comp->name, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 304 |  prefix, lastword, sffileno(tmp)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [172/538] Compiling C object src/lib/libast/tests/sfio/tmtsafe.p/tmtsafe.c.o [173/538] Compiling C object src/lib/libast/tests/sfio/tmprocess.p/tmprocess.c.o [174/538] Compiling C object src/lib/libast/tests/sfio/tmpread.p/tmpread.c.o [175/538] Compiling C object src/lib/libast/tests/sfio/tmprdwr.p/tmprdwr.c.o [176/538] Compiling C object src/lib/libast/tests/sfio/tmove.p/tmove.c.o [177/538] Compiling C object src/lib/libast/tests/sfio/tmode.p/tmode.c.o [178/538] Compiling C object src/lib/libast/tests/sfio/tlongdouble.p/tlongdouble.c.o [179/538] Compiling C object src/lib/libast/tests/sfio/tlocale.p/tlocale.c.o [180/538] Compiling C object src/lib/libast/tests/sfio/tleak.p/tleak.c.o [181/538] Compiling C object src/lib/libast/tests/sfio/thole.p/thole.c.o [182/538] Compiling C object src/lib/libast/tests/sfio/tgetr.p/tgetr.c.o ../src/cmd/ksh93/bltins/getopts.c: In function ‘b_getopts’: ../src/cmd/ksh93/bltins/getopts.c:66:11: warning: variable ‘options’ might be clobbered by ‘longjmp’ or ‘vfork’ [-Wclobbered] 66 | char *options = error_info.context->id; | ^~~~~~~ ../src/cmd/ksh93/bltins/getopts.c:65:19: warning: argument ‘argc’ might be clobbered by ‘longjmp’ or ‘vfork’ [-Wclobbered] 65 | int b_getopts(int argc, char *argv[], Shbltin_t *context) { | ~~~~^~~~ ../src/cmd/ksh93/bltins/getopts.c:65:31: warning: argument ‘argv’ might be clobbered by ‘longjmp’ or ‘vfork’ [-Wclobbered] 65 | int b_getopts(int argc, char *argv[], Shbltin_t *context) { | ~~~~~~^~~~~~ [183/538] Compiling C object src/lib/libast/tests/sfio/tfmt.p/tfmt.c.o [184/538] Compiling C object src/lib/libast/tests/sfio/tflags.p/tflags.c.o [185/538] Compiling C object src/lib/libast/tests/sfio/texcept.p/texcept.c.o [186/538] Compiling C object src/lib/libast/tests/sfio/terrno.p/terrno.c.o ../src/cmd/ksh93/sh/streval.c: In function ‘expr’: ../src/cmd/ksh93/sh/streval.c:660:25: warning: ‘assignop.flag’ may be used uninitialized in this function [-Wmaybe-uninitialized] 660 | struct lval lvalue, assignop; | ^~~~~~~~ [187/538] Compiling C object src/lib/libast/tests/sfio/tclose.p/tclose.c.o ../src/cmd/ksh93/edit/history.c: In function ‘hist_eof’: ../src/cmd/ksh93/edit/history.c:505:17: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 505 | write(fd, (char *)hist_stamp, 2); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/cmd/ksh93/edit/history.c:506:17: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 506 | write(fd, buff, HIST_MARKSZ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ [188/538] Compiling C object src/lib/libast/tests/sfio/tbadargs.p/tbadargs.c.o ../src/cmd/ksh93/edit/emacs.c: In function ‘ed_emacsread’: ../src/cmd/ksh93/edit/emacs.c:162:14: warning: variable ‘ep’ might be clobbered by ‘longjmp’ or ‘vfork’ [-Wclobbered] 162 | Emacs_t *ep = ed->e_emacs; | ^~ ../src/cmd/ksh93/edit/emacs.c:156:57: warning: argument ‘scend’ might be clobbered by ‘longjmp’ or ‘vfork’ [-Wclobbered] 156 | int ed_emacsread(void *context, int fd, char *buff, int scend, int reedit) { | ~~~~^~~~~ [189/538] Compiling C object src/lib/libast/tests/sfio/tatexit.p/tatexit.c.o [190/538] Compiling C object src/lib/libast/tests/sfio/tappend.p/tappend.c.o In file included from ../src/lib/libast/tests/sfio/tpipemove.c:26: ../src/lib/libast/tests/terror.h: In function ‘tstputmesg’: ../src/lib/libast/tests/terror.h:144:9: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 144 | write(2, buf, n); | ^~~~~~~~~~~~~~~~ [191/538] Compiling C object src/lib/libast/tests/sfio/talign.p/talign.c.o In file included from ../src/lib/libast/tests/sfio/tpkrd.c:27: ../src/lib/libast/tests/terror.h: In function ‘tstputmesg’: ../src/lib/libast/tests/terror.h:144:9: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 144 | write(2, buf, n); | ^~~~~~~~~~~~~~~~ [192/538] Compiling C object src/lib/libast/tests/sfio/talarm.p/talarm.c.o [193/538] Compiling C object src/lib/libast/tests/path/pathtemp.p/pathtemp.c.o In file included from ../src/lib/libast/tests/sfio/tnoseek.c:25: ../src/lib/libast/tests/terror.h: In function ‘tstputmesg’: ../src/lib/libast/tests/terror.h:144:9: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 144 | write(2, buf, n); | ^~~~~~~~~~~~~~~~ ../src/lib/libast/tests/sfio/tnoseek.c: In function ‘main’: ../src/lib/libast/tests/sfio/tnoseek.c:57:5: warning: ‘buf’ may be used uninitialized [-Wmaybe-uninitialized] 57 | sfsetbuf(sfstdout, buf, sizeof(buf)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from ../src/lib/libast/tests/sfio/tnoseek.c:24: ../src/lib/libast/include/sfio.h:247:14: note: by argument 2 of type ‘const void *’ to ‘sfsetbuf’ declared here 247 | extern void *sfsetbuf(Sfio_t *, const void *, size_t); | ^~~~~~~~ ../src/lib/libast/tests/sfio/tnoseek.c:55:10: note: ‘buf’ declared here 55 | char buf[1024]; | ^~~ [194/538] Compiling C object src/lib/libast/tests/path/pathstat.p/pathstat.c.o [195/538] Compiling C object src/lib/libast/tests/path/pathshell.p/pathshell.c.o ../src/cmd/ksh93/bltins/enum.c: In function ‘b_enum’: ../src/cmd/ksh93/bltins/enum.c:268:15: warning: ‘ap’ may be used uninitialized in this function [-Wmaybe-uninitialized] 268 | n = ap->nelem; | ~~^~~~~~~ [196/538] Compiling C object src/lib/libast/tests/path/pathpath.p/pathpath.c.o ../src/cmd/ksh93/bltins/typeset.c: In function ‘setall’: ../src/cmd/ksh93/bltins/typeset.c:562:53: warning: ‘ap’ may be used uninitialized in this function [-Wmaybe-uninitialized] 562 | if (ap && comvar) ap->flags |= ARRAY_TREE; | ^~ [197/538] Compiling C object src/lib/libast/tests/path/pathprog.p/pathprog.c.o ../src/cmd/ksh93/bltins/test.c: In function ‘b_test’: ../src/cmd/ksh93/bltins/test.c:121:11: warning: variable ‘cp’ might be clobbered by ‘longjmp’ or ‘vfork’ [-Wclobbered] 121 | char *cp = argv[0]; | ^~ ../src/cmd/ksh93/bltins/test.c:119:16: warning: argument ‘argc’ might be clobbered by ‘longjmp’ or ‘vfork’ [-Wclobbered] 119 | int b_test(int argc, char *argv[], Shbltin_t *context) { | ~~~~^~~~ ../src/cmd/ksh93/bltins/test.c:119:28: warning: argument ‘argv’ might be clobbered by ‘longjmp’ or ‘vfork’ [-Wclobbered] 119 | int b_test(int argc, char *argv[], Shbltin_t *context) { | ~~~~~~^~~~~~ [198/538] Compiling C object src/lib/libast/tests/path/pathgetlink.p/pathgetlink.c.o In file included from ../src/lib/libast/tests/sfio/tmultiple.c:27: ../src/lib/libast/tests/terror.h: In function ‘tstputmesg’: ../src/lib/libast/tests/terror.h:144:9: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 144 | write(2, buf, n); | ^~~~~~~~~~~~~~~~ ../src/lib/libast/tests/sfio/tmultiple.c: In function ‘main’: ../src/lib/libast/tests/sfio/tmultiple.c:73:5: warning: ignoring return value of ‘system’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 73 | system(sfprints("%s -r", argv[0])); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/lib/libast/tests/sfio/tmultiple.c:85:5: warning: ignoring return value of ‘system’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 85 | system(sfprints("%s -m", argv[0])); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [199/538] Compiling C object src/lib/libast/tests/path/pathexists.p/pathexists.c.o In file included from ../src/lib/libast/tests/sfio/tleak.c:23: ../src/lib/libast/tests/terror.h: In function ‘tstputmesg’: ../src/lib/libast/tests/terror.h:144:9: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 144 | write(2, buf, n); | ^~~~~~~~~~~~~~~~ [200/538] Compiling C object src/lib/libast/tests/path/pathcat.p/pathcat.c.o In file included from ../src/lib/libast/tests/sfio/tmtsafe.c:22: ../src/lib/libast/tests/terror.h: In function ‘tstputmesg’: ../src/lib/libast/tests/terror.h:144:9: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 144 | write(2, buf, n); | ^~~~~~~~~~~~~~~~ [201/538] Compiling C object src/lib/libast/tests/path/pathcanon.p/pathcanon.c.o In file included from ../src/lib/libast/tests/sfio/topen.c:27: ../src/lib/libast/tests/terror.h: In function ‘tstputmesg’: ../src/lib/libast/tests/terror.h:144:9: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 144 | write(2, buf, n); | ^~~~~~~~~~~~~~~~ [202/538] Compiling C object src/lib/libast/tests/path/pathbin.p/pathbin.c.o [203/538] Compiling C object src/lib/libast/tests/path/pathaccess.p/pathaccess.c.o In file included from ../src/lib/libast/tests/sfio/tgetr.c:25: ../src/lib/libast/tests/terror.h: In function ‘tstputmesg’: ../src/lib/libast/tests/terror.h:144:9: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 144 | write(2, buf, n); | ^~~~~~~~~~~~~~~~ [204/538] Compiling C object src/lib/libast/tests/misc/environ.p/environ.c.o In file included from ../src/lib/libast/tests/sfio/tnotify.c:25: ../src/lib/libast/tests/terror.h: In function ‘tstputmesg’: ../src/lib/libast/tests/terror.h:144:9: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 144 | write(2, buf, n); | ^~~~~~~~~~~~~~~~ [205/538] Compiling C object src/lib/libast/tests/misc/stk.p/stk.c.o [206/538] Compiling C object src/lib/libast/tests/misc/glob.p/glob.c.o In file included from ../src/lib/libast/tests/sfio/tmprocess.c:27: ../src/lib/libast/tests/terror.h: In function ‘tstputmesg’: ../src/lib/libast/tests/terror.h:144:9: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 144 | write(2, buf, n); | ^~~~~~~~~~~~~~~~ [207/538] Compiling C object src/lib/libast/tests/cdt/trehash.p/trehash.c.o [208/538] Compiling C object src/lib/libast/tests/cdt/tview.p/tview.c.o In file included from ../src/lib/libast/tests/sfio/tpipe.c:27: ../src/lib/libast/tests/terror.h: In function ‘tstputmesg’: ../src/lib/libast/tests/terror.h:144:9: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 144 | write(2, buf, n); | ^~~~~~~~~~~~~~~~ [209/538] Compiling C object src/lib/libast/tests/cdt/twalk.p/twalk.c.o In file included from ../src/lib/libast/tests/sfio/tmode.c:25: ../src/lib/libast/tests/terror.h: In function ‘tstputmesg’: ../src/lib/libast/tests/terror.h:144:9: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 144 | write(2, buf, n); | ^~~~~~~~~~~~~~~~ In file included from ../src/lib/libast/tests/sfio/tlocale.c:27: ../src/lib/libast/tests/terror.h: In function ‘tstputmesg’: ../src/lib/libast/tests/terror.h:144:9: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 144 | write(2, buf, n); | ^~~~~~~~~~~~~~~~ [210/538] Compiling C object src/lib/libast/tests/cdt/tvthread.p/tvthread.c.o [211/538] Compiling C object src/lib/libast/tests/cdt/tuser.p/tuser.c.o In file included from ../src/lib/libast/tests/sfio/tpool.c:26: ../src/lib/libast/tests/terror.h: In function ‘tstputmesg’: ../src/lib/libast/tests/terror.h:144:9: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 144 | write(2, buf, n); | ^~~~~~~~~~~~~~~~ [212/538] Compiling C object src/lib/libast/tests/cdt/tstringset.p/tstringset.c.o In file included from ../src/lib/libast/tests/sfio/tlongdouble.c:26: ../src/lib/libast/tests/terror.h: In function ‘tstputmesg’: ../src/lib/libast/tests/terror.h:144:9: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 144 | write(2, buf, n); | ^~~~~~~~~~~~~~~~ [213/538] Compiling C object src/lib/libast/tests/cdt/tsearch.p/tsearch.c.o In file included from ../src/lib/libast/tests/sfio/tmpread.c:26: ../src/lib/libast/tests/terror.h: In function ‘tstputmesg’: ../src/lib/libast/tests/terror.h:144:9: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 144 | write(2, buf, n); | ^~~~~~~~~~~~~~~~ [214/538] Compiling C object src/lib/libast/tests/cdt/trhbags.p/trhbags.c.o ../src/cmd/ksh93/bltins/read.c: In function ‘sh_readline’: ../src/cmd/ksh93/bltins/read.c:436:13: warning: variable ‘iop’ might be clobbered by ‘longjmp’ or ‘vfork’ [-Wclobbered] 436 | Sfio_t *iop; | ^~~ ../src/cmd/ksh93/bltins/read.c:438:20: warning: variable ‘cpmax’ might be clobbered by ‘longjmp’ or ‘vfork’ [-Wclobbered] 438 | unsigned char *cpmax; | ^~~~~ ../src/cmd/ksh93/bltins/read.c:440:11: warning: variable ‘ifs’ might be clobbered by ‘longjmp’ or ‘vfork’ [-Wclobbered] 440 | char *ifs = NULL; | ^~~ ../src/cmd/ksh93/bltins/read.c:441:15: warning: variable ‘np’ might be clobbered by ‘longjmp’ or ‘vfork’ [-Wclobbered] 441 | Namval_t *np = NULL; | ^~ ../src/cmd/ksh93/bltins/read.c:443:10: warning: variable ‘was_escape’ might be clobbered by ‘longjmp’ or ‘vfork’ [-Wclobbered] 443 | char was_escape = 0; | ^~~~~~~~~~ ../src/cmd/ksh93/bltins/read.c:444:10: warning: variable ‘use_stak’ might be clobbered by ‘longjmp’ or ‘vfork’ [-Wclobbered] 444 | char use_stak = 0; | ^~~~~~~~ ../src/cmd/ksh93/bltins/read.c:449:10: warning: variable ‘array_index’ might be clobbered by ‘longjmp’ or ‘vfork’ [-Wclobbered] 449 | long array_index = 0; | ^~~~~~~~~~~ ../src/cmd/ksh93/bltins/read.c:450:14: warning: variable ‘timeslot’ might be clobbered by ‘longjmp’ or ‘vfork’ [-Wclobbered] 450 | Timer_t *timeslot = NULL; | ^~~~~~~~ ../src/cmd/ksh93/bltins/read.c:451:9: warning: variable ‘delim’ might be clobbered by ‘longjmp’ or ‘vfork’ [-Wclobbered] 451 | int delim = '\n'; | ^~~~~ ../src/cmd/ksh93/bltins/read.c:454:10: warning: variable ‘inquote’ might be clobbered by ‘longjmp’ or ‘vfork’ [-Wclobbered] 454 | bool inquote = false; | ^~~~~~~ ../src/cmd/ksh93/bltins/read.c:431:38: warning: argument ‘names’ might be clobbered by ‘longjmp’ or ‘vfork’ [-Wclobbered] 431 | int sh_readline(Shell_t *shp, char **names, void *readfn, volatile int fd, int flags, ssize_t size, | ~~~~~~~^~~~~ ../src/cmd/ksh93/bltins/read.c:431:80: warning: argument ‘flags’ might be clobbered by ‘longjmp’ or ‘vfork’ [-Wclobbered] 431 | int sh_readline(Shell_t *shp, char **names, void *readfn, volatile int fd, int flags, ssize_t size, | ~~~~^~~~~ ../src/cmd/ksh93/bltins/read.c:431:95: warning: argument ‘size’ might be clobbered by ‘longjmp’ or ‘vfork’ [-Wclobbered] 431 | int sh_readline(Shell_t *shp, char **names, void *readfn, volatile int fd, int flags, ssize_t size, | ~~~~~~~~^~~~ [215/538] Compiling C object src/lib/libast/tests/cdt/tqueue.p/tqueue.c.o ../src/cmd/ksh93/sh/nvtree.c: In function ‘nv_dirnext’: ../src/cmd/ksh93/sh/nvtree.c:302:17: warning: ‘flags’ may be used uninitialized in this function [-Wmaybe-uninitialized] 302 | nv_putsub(dp->table, NULL, dot, flags); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/cmd/ksh93/sh/nvtree.c: In function ‘nv_outnode’: ../src/cmd/ksh93/sh/nvtree.c:529:14: warning: ‘scan’ may be used uninitialized in this function [-Wmaybe-uninitialized] 529 | nvflag_t scan; | ^~~~ ../src/cmd/ksh93/sh/nvtree.c: In function ‘genvalue’: ../src/cmd/ksh93/sh/nvtree.c:850:45: warning: ‘tp’ may be used uninitialized in this function [-Wmaybe-uninitialized] 850 | if (!json && *cp != '[' && tp) { | ~~~~~~~~~~~~~~~~~~~~^~~~~ [216/538] Compiling C object src/lib/libast/tests/cdt/tobag.p/tobag.c.o In file included from ../src/lib/libast/tests/sfio/terrno.c:27: ../src/lib/libast/tests/terror.h: In function ‘tstputmesg’: ../src/lib/libast/tests/terror.h:144:9: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 144 | write(2, buf, n); | ^~~~~~~~~~~~~~~~ [217/538] Compiling C object src/lib/libast/tests/cdt/tlist.p/tlist.c.o In file included from ../src/lib/libast/tests/sfio/tmove.c:25: ../src/lib/libast/tests/terror.h: In function ‘tstputmesg’: ../src/lib/libast/tests/terror.h:144:9: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 144 | write(2, buf, n); | ^~~~~~~~~~~~~~~~ [218/538] Compiling C object src/lib/libast/tests/cdt/tinstall.p/tinstall.c.o ../src/cmd/ksh93/sh/path.c: In function ‘path_addpath’: ../src/cmd/ksh93/sh/path.c:1489:9: warning: ‘savptr’ may be used uninitialized in this function [-Wmaybe-uninitialized] 1489 | stkset(shp->stk, savptr, offset); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [219/538] Compiling C object src/lib/libast/tests/cdt/tevent.p/tevent.c.o ../src/cmd/ksh93/edit/vi.c: In function ‘ed_viread’: ../src/cmd/ksh93/edit/vi.c:165:11: warning: variable ‘vp’ might be clobbered by ‘longjmp’ or ‘vfork’ [-Wclobbered] 165 | Vi_t *vp = ed->e_vi; | ^~ [220/538] Compiling C object src/lib/libast/tests/cdt/tdtstack.p/tdtstack.c.o In file included from ../src/lib/libast/tests/sfio/tfmt.c:25: ../src/lib/libast/tests/terror.h: In function ‘tstputmesg’: ../src/lib/libast/tests/terror.h:144:9: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 144 | write(2, buf, n); | ^~~~~~~~~~~~~~~~ [221/538] Compiling C object src/lib/libast/tests/cdt/tdict.p/tdict.c.o ../src/cmd/ksh93/edit/edit.c: In function ‘ed_flush’: ../src/cmd/ksh93/edit/edit.c:269:5: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 269 | write(fd, ep->e_outbase, (unsigned)n); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/cmd/ksh93/edit/edit.c: In function ‘ed_ringbell’: ../src/cmd/ksh93/edit/edit.c:276:26: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 276 | void ed_ringbell(void) { write(STDERR_FILENO, bellchr, 1); } | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [222/538] Compiling C object src/lib/libast/tests/cdt/tdeque.p/tdeque.c.o In file included from ../src/lib/libast/tests/sfio/texcept.c:26: ../src/lib/libast/tests/terror.h: In function ‘tstputmesg’: ../src/lib/libast/tests/terror.h:144:9: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 144 | write(2, buf, n); | ^~~~~~~~~~~~~~~~ [223/538] Compiling C object src/lib/libast/tests/cdt/tbags.p/tbags.c.o In file included from ../src/lib/libast/tests/sfio/tmprdwr.c:26: ../src/lib/libast/tests/terror.h: In function ‘tstputmesg’: ../src/lib/libast/tests/terror.h:144:9: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 144 | write(2, buf, n); | ^~~~~~~~~~~~~~~~ [224/538] Compiling C object src/lib/libast/tests/cdt/tannounce.p/tannounce.c.o In file included from ../src/lib/libast/tests/sfio/tmwrite.c:26: ../src/lib/libast/tests/terror.h: In function ‘tstputmesg’: ../src/lib/libast/tests/terror.h:144:9: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 144 | write(2, buf, n); | ^~~~~~~~~~~~~~~~ [225/538] Compiling C object src/lib/libast/tests/aso/tlock.p/tlock.c.o In file included from ../src/lib/libast/tests/sfio/thole.c:25: ../src/lib/libast/tests/terror.h: In function ‘tstputmesg’: ../src/lib/libast/tests/terror.h:144:9: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 144 | write(2, buf, n); | ^~~~~~~~~~~~~~~~ [226/538] Compiling C object src/lib/libast/tests/aso/taso.p/taso.c.o [227/538] Compiling C object src/lib/libdll/libsample.so.p/sample.c.o In file included from ../src/lib/libast/tests/sfio/tflags.c:25: ../src/lib/libast/tests/terror.h: In function ‘tstputmesg’: ../src/lib/libast/tests/terror.h:144:9: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 144 | write(2, buf, n); | ^~~~~~~~~~~~~~~~ [228/538] Compiling C object src/lib/libdll/libdll.a.p/dllscan.c.o In file included from ../src/lib/libast/tests/path/pathtemp.c:7: ../src/lib/libast/tests/terror.h: In function ‘tstputmesg’: ../src/lib/libast/tests/terror.h:144:9: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 144 | write(2, buf, n); | ^~~~~~~~~~~~~~~~ [229/538] Compiling C object src/lib/libdll/libdll.a.p/dllplug.c.o In file included from ../src/lib/libast/tests/sfio/tatexit.c:25: ../src/lib/libast/tests/terror.h: In function ‘tstputmesg’: ../src/lib/libast/tests/terror.h:144:9: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 144 | write(2, buf, n); | ^~~~~~~~~~~~~~~~ ../src/lib/libast/tests/sfio/tatexit.c: In function ‘main’: ../src/lib/libast/tests/sfio/tatexit.c:49:9: warning: ignoring return value of ‘system’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 49 | system(sfprints("%s 1", argv[0])); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [230/538] Compiling C object src/lib/libdll/libdll.a.p/dllopen.c.o ../src/cmd/ksh93/sh/parse.c: In function ‘parse_assign’: ../src/cmd/ksh93/sh/parse.c:1042:9: warning: ‘ac’ may be used uninitialized in this function [-Wmaybe-uninitialized] 1042 | *tp = (Shnode_t *)ac; | ~~~~^~~~~~~~~~~~~~~~ [231/538] Compiling C object src/lib/libdll/libdll.a.p/dllnext.c.o In file included from ../src/lib/libast/tests/path/pathcat.c:7: ../src/lib/libast/tests/terror.h: In function ‘tstputmesg’: ../src/lib/libast/tests/terror.h:144:9: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 144 | write(2, buf, n); | ^~~~~~~~~~~~~~~~ [232/538] Compiling C object src/lib/libdll/libdll.a.p/dlllook.c.o In file included from ../src/lib/libast/tests/sfio/tappend.c:25: ../src/lib/libast/tests/terror.h: In function ‘tstputmesg’: ../src/lib/libast/tests/terror.h:144:9: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 144 | write(2, buf, n); | ^~~~~~~~~~~~~~~~ [233/538] Compiling C object src/lib/libdll/libdll.a.p/dllfind.c.o In file included from ../src/lib/libast/tests/path/pathstat.c:8: ../src/lib/libast/tests/terror.h: In function ‘tstputmesg’: ../src/lib/libast/tests/terror.h:144:9: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 144 | write(2, buf, n); | ^~~~~~~~~~~~~~~~ [234/538] Compiling C object src/lib/libdll/libdll.a.p/dllerror.c.o In file included from ../src/lib/libast/tests/sfio/talign.c:25: ../src/lib/libast/tests/terror.h: In function ‘tstputmesg’: ../src/lib/libast/tests/terror.h:144:9: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 144 | write(2, buf, n); | ^~~~~~~~~~~~~~~~ [235/538] Compiling C object src/lib/libdll/libdll.a.p/dllcheck.c.o In file included from ../src/lib/libast/tests/path/pathgetlink.c:8: ../src/lib/libast/tests/terror.h: In function ‘tstputmesg’: ../src/lib/libast/tests/terror.h:144:9: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 144 | write(2, buf, n); | ^~~~~~~~~~~~~~~~ [236/538] Compiling C object src/lib/libdll/libdll.a.p/dlfcn.c.o In file included from ../src/lib/libast/tests/sfio/tclose.c:28: ../src/lib/libast/tests/terror.h: In function ‘tstputmesg’: ../src/lib/libast/tests/terror.h:144:9: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 144 | write(2, buf, n); | ^~~~~~~~~~~~~~~~ [237/538] Compiling C object src/lib/libast/libenv.a.p/misc_environ.c.o [238/538] Compiling C object src/lib/libast/libast.a.p/tm_tvtouch.c.o In file included from ../src/lib/libast/tests/misc/glob.c:9: ../src/lib/libast/tests/terror.h: In function ‘tstputmesg’: ../src/lib/libast/tests/terror.h:144:9: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 144 | write(2, buf, n); | ^~~~~~~~~~~~~~~~ [239/538] Compiling C object src/lib/libast/libast.a.p/tm_tvsleep.c.o In file included from ../src/lib/libast/tests/cdt/tdtstack.c:26: ../src/lib/libast/tests/terror.h: In function ‘tstputmesg’: ../src/lib/libast/tests/terror.h:144:9: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 144 | write(2, buf, n); | ^~~~~~~~~~~~~~~~ [240/538] Compiling C object src/lib/libast/libast.a.p/tm_tvgettime.c.o [241/538] Compiling C object src/lib/libast/libast.a.p/tm_tmzone.c.o In file included from ../src/lib/libast/tests/path/pathexists.c:9: ../src/lib/libast/tests/terror.h: In function ‘tstputmesg’: ../src/lib/libast/tests/terror.h:144:9: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 144 | write(2, buf, n); | ^~~~~~~~~~~~~~~~ [242/538] Compiling C object src/lib/libast/libast.a.p/tm_tmxtime.c.o In file included from ../src/lib/libast/tests/path/pathpath.c:10: ../src/lib/libast/tests/terror.h: In function ‘tstputmesg’: ../src/lib/libast/tests/terror.h:144:9: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 144 | write(2, buf, n); | ^~~~~~~~~~~~~~~~ ../src/lib/libast/tests/path/pathpath.c: In function ‘main’: ../src/lib/libast/tests/path/pathpath.c:22:5: warning: ignoring return value of ‘getcwd’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 22 | getcwd(absolute_test_path, sizeof(absolute_test_path)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [243/538] Compiling C object src/lib/libast/libast.a.p/tm_tmxscan.c.o In file included from ../src/lib/libast/tests/path/pathprog.c:7: ../src/lib/libast/tests/terror.h: In function ‘tstputmesg’: ../src/lib/libast/tests/terror.h:144:9: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 144 | write(2, buf, n); | ^~~~~~~~~~~~~~~~ [244/538] Compiling C object src/lib/libast/libast.a.p/tm_tmxmake.c.o [245/538] Linking target src/lib/libdll/libsample.so In file included from ../src/lib/libast/tests/sfio/tbadargs.c:28: ../src/lib/libast/tests/terror.h: In function ‘tstputmesg’: ../src/lib/libast/tests/terror.h:144:9: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 144 | write(2, buf, n); | ^~~~~~~~~~~~~~~~ [246/538] Compiling C object src/lib/libast/libast.a.p/tm_tmxgettime.c.o In file included from ../src/lib/libast/tests/path/pathcanon.c:10: ../src/lib/libast/tests/terror.h: In function ‘tstputmesg’: ../src/lib/libast/tests/terror.h:144:9: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 144 | write(2, buf, n); | ^~~~~~~~~~~~~~~~ [247/538] Compiling C object src/lib/libast/libast.a.p/tm_tmxfmt.c.o In file included from ../src/lib/libast/tests/misc/environ.c:27: ../src/lib/libast/tests/terror.h: In function ‘tstputmesg’: ../src/lib/libast/tests/terror.h:144:9: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 144 | write(2, buf, n); | ^~~~~~~~~~~~~~~~ [248/538] Compiling C object src/lib/libast/libast.a.p/tm_tmxdate.c.o In file included from ../src/lib/libast/tests/path/pathshell.c:7: ../src/lib/libast/tests/terror.h: In function ‘tstputmesg’: ../src/lib/libast/tests/terror.h:144:9: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 144 | write(2, buf, n); | ^~~~~~~~~~~~~~~~ [249/538] Compiling C object src/lib/libast/libast.a.p/tm_tmword.c.o [250/538] Compiling C object src/lib/libast/libast.a.p/tm_tmweek.c.o In file included from ../src/lib/libast/tests/sfio/talarm.c:28: ../src/lib/libast/tests/terror.h: In function ‘tstputmesg’: ../src/lib/libast/tests/terror.h:144:9: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 144 | write(2, buf, n); | ^~~~~~~~~~~~~~~~ [251/538] Compiling C object src/lib/libast/libast.a.p/tm_tmtype.c.o In file included from ../src/lib/libast/tests/misc/stk.c:25: ../src/lib/libast/tests/terror.h: In function ‘tstputmesg’: ../src/lib/libast/tests/terror.h:144:9: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 144 | write(2, buf, n); | ^~~~~~~~~~~~~~~~ [252/538] Compiling C object src/lib/libast/libast.a.p/tm_tmtime.c.o [253/538] Compiling C object src/lib/libast/libast.a.p/tm_tmsleep.c.o In file included from ../src/lib/libast/tests/cdt/tview.c:26: ../src/lib/libast/tests/terror.h: In function ‘tstputmesg’: ../src/lib/libast/tests/terror.h:144:9: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 144 | write(2, buf, n); | ^~~~~~~~~~~~~~~~ [254/538] Compiling C object src/lib/libast/libast.a.p/tm_tmpoff.c.o In file included from ../src/lib/libast/tests/aso/taso.c:24: ../src/lib/libast/tests/terror.h: In function ‘tstputmesg’: ../src/lib/libast/tests/terror.h:144:9: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 144 | write(2, buf, n); | ^~~~~~~~~~~~~~~~ [255/538] Compiling C object src/lib/libast/libast.a.p/tm_tmmake.c.o In file included from ../src/lib/libast/tests/path/pathbin.c:10: ../src/lib/libast/tests/terror.h: In function ‘tstputmesg’: ../src/lib/libast/tests/terror.h:144:9: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 144 | write(2, buf, n); | ^~~~~~~~~~~~~~~~ [256/538] Compiling C object src/lib/libast/libast.a.p/tm_tmlocale.c.o [257/538] Compiling C object src/lib/libast/libast.a.p/tm_tmlex.c.o In file included from ../src/lib/libast/tests/path/pathaccess.c:10: ../src/lib/libast/tests/terror.h: In function ‘tstputmesg’: ../src/lib/libast/tests/terror.h:144:9: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 144 | write(2, buf, n); | ^~~~~~~~~~~~~~~~ [258/538] Compiling C object src/lib/libast/libast.a.p/tm_tminit.c.o [259/538] Compiling C object src/lib/libast/libast.a.p/tm_tmgoff.c.o [260/538] Compiling C object src/lib/libast/libast.a.p/tm_tmfix.c.o In file included from ../src/lib/libast/tests/cdt/trhbags.c:23: ../src/lib/libast/tests/terror.h: In function ‘tstputmesg’: ../src/lib/libast/tests/terror.h:144:9: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 144 | write(2, buf, n); | ^~~~~~~~~~~~~~~~ [261/538] Compiling C object src/lib/libast/libast.a.p/tm_tmequiv.c.o In file included from ../src/lib/libast/tests/cdt/tevent.c:28: ../src/lib/libast/tests/terror.h: In function ‘tstputmesg’: ../src/lib/libast/tests/terror.h:144:9: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 144 | write(2, buf, n); | ^~~~~~~~~~~~~~~~ [262/538] Compiling C object src/lib/libast/libast.a.p/tm_tmdata.c.o In file included from ../src/lib/libast/tests/cdt/tuser.c:26: ../src/lib/libast/tests/terror.h: In function ‘tstputmesg’: ../src/lib/libast/tests/terror.h:144:9: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 144 | write(2, buf, n); | ^~~~~~~~~~~~~~~~ [263/538] Compiling C object src/lib/libast/libast.a.p/string_wcstoutf32s.c.o In file included from ../src/lib/libast/tests/cdt/tannounce.c:26: ../src/lib/libast/tests/terror.h: In function ‘tstputmesg’: ../src/lib/libast/tests/terror.h:144:9: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 144 | write(2, buf, n); | ^~~~~~~~~~~~~~~~ [264/538] Compiling C object src/lib/libast/libast.a.p/string_utf8toutf32.c.o [265/538] Compiling C object src/lib/libast/libast.a.p/string_utf32toutf8.c.o In file included from ../src/lib/libast/tests/cdt/tlist.c:26: ../src/lib/libast/tests/terror.h: In function ‘tstputmesg’: ../src/lib/libast/tests/terror.h:144:9: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 144 | write(2, buf, n); | ^~~~~~~~~~~~~~~~ [266/538] Compiling C object src/lib/libast/libast.a.p/string_utf32stowcs.c.o In file included from ../src/lib/libast/tests/cdt/tqueue.c:26: ../src/lib/libast/tests/terror.h: In function ‘tstputmesg’: ../src/lib/libast/tests/terror.h:144:9: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 144 | write(2, buf, n); | ^~~~~~~~~~~~~~~~ [267/538] Compiling C object src/lib/libast/libast.a.p/string_struniq.c.o [268/538] Linking static target src/lib/libast/libenv.a In file included from ../src/lib/libast/tests/cdt/tobag.c:26: ../src/lib/libast/tests/terror.h: In function ‘tstputmesg’: ../src/lib/libast/tests/terror.h:144:9: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 144 | write(2, buf, n); | ^~~~~~~~~~~~~~~~ [269/538] Compiling C object src/lib/libast/libast.a.p/string_strtonll.c.o [270/538] Compiling C object src/lib/libast/libast.a.p/string_strsort.c.o In file included from ../src/lib/libast/tests/cdt/tstringset.c:26: ../src/lib/libast/tests/terror.h: In function ‘tstputmesg’: ../src/lib/libast/tests/terror.h:144:9: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 144 | write(2, buf, n); | ^~~~~~~~~~~~~~~~ [271/538] Compiling C object src/lib/libast/libast.a.p/string_strperm.c.o [272/538] Compiling C object src/lib/libast/libast.a.p/string_strmatch.c.o In file included from ../src/lib/libast/tests/cdt/tinstall.c:23: ../src/lib/libast/tests/terror.h: In function ‘tstputmesg’: ../src/lib/libast/tests/terror.h:144:9: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 144 | write(2, buf, n); | ^~~~~~~~~~~~~~~~ [273/538] Compiling C object src/lib/libast/libast.a.p/string_strlcpy.c.o [274/538] Compiling C object src/lib/libast/libast.a.p/string_strlcat.c.o [275/538] Compiling C object src/lib/libast/libast.a.p/string_stresc.c.o [276/538] Compiling C object src/lib/libast/libast.a.p/string_strelapsed.c.o In file included from ../src/lib/libast/tests/cdt/tdict.c:26: ../src/lib/libast/tests/terror.h: In function ‘tstputmesg’: ../src/lib/libast/tests/terror.h:144:9: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 144 | write(2, buf, n); | ^~~~~~~~~~~~~~~~ [277/538] Compiling C object src/lib/libast/libast.a.p/string_modedata.c.o In file included from ../src/lib/libast/tests/cdt/tsearch.c:26: ../src/lib/libast/tests/terror.h: In function ‘tstputmesg’: ../src/lib/libast/tests/terror.h:144:9: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 144 | write(2, buf, n); | ^~~~~~~~~~~~~~~~ [278/538] Compiling C object src/lib/libast/libast.a.p/string_memdup.c.o [279/538] Compiling C object src/lib/libast/libast.a.p/string_fmttmx.c.o [280/538] Compiling C object src/lib/libast/libast.a.p/string_fmtscale.c.o [281/538] Compiling C object src/lib/libast/libast.a.p/string_fmtre.c.o [282/538] Compiling C object src/lib/libast/libast.a.p/string_fmtperm.c.o [283/538] Compiling C object src/lib/libast/libast.a.p/string_fmtmode.c.o [284/538] Compiling C object src/lib/libast/libast.a.p/string_fmtmatch.c.o In file included from ../src/lib/libast/tests/cdt/twalk.c:25: ../src/lib/libast/tests/terror.h: In function ‘tstputmesg’: ../src/lib/libast/tests/terror.h:144:9: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 144 | write(2, buf, n); | ^~~~~~~~~~~~~~~~ [285/538] Compiling C object src/lib/libast/libast.a.p/string_fmtint.c.o [286/538] Compiling C object src/lib/libast/libast.a.p/string_fmtident.c.o In file included from ../src/lib/libast/tests/cdt/tvthread.c:28: ../src/lib/libast/tests/terror.h: In function ‘tstputmesg’: ../src/lib/libast/tests/terror.h:144:9: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 144 | write(2, buf, n); | ^~~~~~~~~~~~~~~~ ../src/lib/libast/tests/terror.h: In function ‘asointr’: ../src/lib/libast/tests/terror.h:301:13: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 301 | write(2, "\tFAILED due to timeout\n", 23); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/lib/libast/tests/terror.h:304:13: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 304 | write(2, "\tFAILED with SIGBUS\n", 20); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/lib/libast/tests/terror.h:308:13: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 308 | write(2, "\tFAILED with SIGSEGV\n", 21); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [287/538] Compiling C object src/lib/libast/libast.a.p/string_fmtfmt.c.o [288/538] Compiling C object src/lib/libast/libast.a.p/string_fmtesc.c.o [289/538] Compiling C object src/lib/libast/libast.a.p/string_fmtelapsed.c.o In file included from ../src/lib/libast/tests/cdt/tdeque.c:26: ../src/lib/libast/tests/terror.h: In function ‘tstputmesg’: ../src/lib/libast/tests/terror.h:144:9: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 144 | write(2, buf, n); | ^~~~~~~~~~~~~~~~ [290/538] Compiling C object src/lib/libast/libast.a.p/string_fmtbuf.c.o [291/538] Compiling C object src/lib/libast/libast.a.p/string_fmtbase.c.o [292/538] Compiling C object src/lib/libast/libast.a.p/string_chresc.c.o [293/538] Compiling C object src/lib/libast/libast.a.p/string_base64.c.o [294/538] Compiling C object src/lib/libast/libast.a.p/sfio_sfwrite.c.o [295/538] Compiling C object src/lib/libast/libast.a.p/sfio_sfwr.c.o ../src/lib/libdll/dllscan.c: In function ‘dllinfo’: ../src/lib/libdll/dllscan.c:102:17: warning: ‘pn’ may be used uninitialized in this function [-Wmaybe-uninitialized] 102 | memcpy(pat, p, pn); | ^~~~~~~~~~~~~~~~~~ [296/538] Linking static target src/lib/libdll/libdll.a [297/538] Compiling C object src/lib/libast/libast.a.p/sfio_sfvscanf.c.o [298/538] Compiling C object src/lib/libast/libast.a.p/sfio_sfvprintf.c.o [299/538] Compiling C object src/lib/libast/libast.a.p/sfio_sfungetc.c.o [300/538] Compiling C object src/lib/libast/libast.a.p/sfio_sftmp.c.o [301/538] Compiling C object src/lib/libast/libast.a.p/sfio_sftell.c.o In file included from ../src/lib/libast/tests/cdt/tbags.c:25: ../src/lib/libast/tests/terror.h: In function ‘tstputmesg’: ../src/lib/libast/tests/terror.h:144:9: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 144 | write(2, buf, n); | ^~~~~~~~~~~~~~~~ [302/538] Compiling C object src/lib/libast/libast.a.p/sfio_sftable.c.o [303/538] Compiling C object src/lib/libast/libast.a.p/sfio_sfsync.c.o [304/538] Compiling C object src/lib/libast/libast.a.p/sfio_sfswap.c.o [305/538] Compiling C object src/lib/libast/libast.a.p/sfio_sfstrtod.c.o [306/538] Compiling C object src/lib/libast/libast.a.p/sfio_sfstack.c.o In file included from ../src/lib/libast/tests/aso/tlock.c:28: ../src/lib/libast/tests/terror.h: In function ‘tstputmesg’: ../src/lib/libast/tests/terror.h:144:9: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 144 | write(2, buf, n); | ^~~~~~~~~~~~~~~~ ../src/lib/libast/tests/terror.h: In function ‘asointr’: ../src/lib/libast/tests/terror.h:301:13: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 301 | write(2, "\tFAILED due to timeout\n", 23); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/lib/libast/tests/terror.h:304:13: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 304 | write(2, "\tFAILED with SIGBUS\n", 20); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/lib/libast/tests/terror.h:308:13: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 308 | write(2, "\tFAILED with SIGSEGV\n", 21); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [307/538] Compiling C object src/lib/libast/libast.a.p/sfio_sfsk.c.o [308/538] Compiling C object src/lib/libast/libast.a.p/sfio_sfsize.c.o [309/538] Compiling C object src/lib/libast/libast.a.p/sfio_sfsetfd.c.o [310/538] Compiling C object src/lib/libast/libast.a.p/sfio_sfsetbuf.c.o [311/538] Compiling C object src/lib/libast/libast.a.p/sfio_sfset.c.o In file included from ../src/lib/libast/tests/cdt/trehash.c:33: ../src/lib/libast/tests/terror.h: In function ‘tstputmesg’: ../src/lib/libast/tests/terror.h:144:9: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 144 | write(2, buf, n); | ^~~~~~~~~~~~~~~~ ../src/lib/libast/tests/terror.h: In function ‘asointr’: ../src/lib/libast/tests/terror.h:301:13: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 301 | write(2, "\tFAILED due to timeout\n", 23); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/lib/libast/tests/terror.h:304:13: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 304 | write(2, "\tFAILED with SIGBUS\n", 20); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/lib/libast/tests/terror.h:308:13: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 308 | write(2, "\tFAILED with SIGSEGV\n", 21); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [312/538] Compiling C object src/lib/libast/libast.a.p/sfio_sfseek.c.o [313/538] Compiling C object src/lib/libast/libast.a.p/sfio_sfscanf.c.o [314/538] Compiling C object src/lib/libast/libast.a.p/sfio_sfresize.c.o [315/538] Compiling C object src/lib/libast/libast.a.p/sfio_sfreserve.c.o [316/538] Compiling C object src/lib/libast/libast.a.p/sfio_sfread.c.o [317/538] Compiling C object src/lib/libast/libast.a.p/sfio_sfrd.c.o [318/538] Compiling C object src/lib/libast/libast.a.p/sfio_sfraise.c.o ../src/cmd/ksh93/sh/io.c: In function ‘sh_redirect’: ../src/cmd/ksh93/sh/io.c:1190:33: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 1190 | write(f, sp->data, (size_t)last); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/cmd/ksh93/sh/io.c: In function ‘sh_iorestore’: ../src/cmd/ksh93/sh/io.c:1830:30: warning: ignoring return value of ‘ftruncate’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 1830 | if (offset >= 0) ftruncate(origfd, offset); | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../src/cmd/ksh93/sh/io.c: In function ‘sh_redirect’: ../src/cmd/ksh93/sh/io.c:1399:16: warning: ‘fd’ may be used uninitialized in this function [-Wmaybe-uninitialized] 1399 | if (fd < 0) { | ^ [319/538] Compiling C object src/lib/libast/libast.a.p/sfio_sfputwc.c.o [320/538] Compiling C object src/lib/libast/libast.a.p/sfio_sfputu.c.o [321/538] Compiling C object src/lib/libast/libast.a.p/sfio_sfputr.c.o [322/538] Compiling C object src/lib/libast/libast.a.p/sfio_sfpurge.c.o [323/538] Compiling C object src/lib/libast/libast.a.p/sfio_sfprints.c.o [324/538] Compiling C object src/lib/libast/libast.a.p/sfio_sfprintf.c.o [325/538] Compiling C object src/lib/libast/libast.a.p/sfio_sfpopen.c.o [326/538] Compiling C object src/lib/libast/libast.a.p/sfio_sfpool.c.o [327/538] Compiling C object src/lib/libast/libast.a.p/sfio_sfpkrd.c.o [328/538] Compiling C object src/lib/libast/libast.a.p/sfio_sfpeek.c.o [329/538] Compiling C object src/lib/libast/libast.a.p/sfio_sfopen.c.o [330/538] Compiling C object src/lib/libast/libast.a.p/sfio_sfnputc.c.o [331/538] Compiling C object src/lib/libast/libast.a.p/sfio_sfnotify.c.o [332/538] Compiling C object src/lib/libast/libast.a.p/sfio_sfnew.c.o [333/538] Compiling C object src/lib/libast/libast.a.p/sfio_sfmutex.c.o [334/538] Compiling C object src/lib/libast/libast.a.p/sfio_sfmove.c.o [335/538] Compiling C object src/lib/libast/libast.a.p/sfio_sfmode.c.o [336/538] Compiling C object src/lib/libast/libast.a.p/sfio_sfgetwc.c.o [337/538] Compiling C object src/lib/libast/libast.a.p/sfio_sfgetu.c.o [338/538] Compiling C object src/lib/libast/libast.a.p/sfio_sfgetr.c.o [339/538] Compiling C object src/lib/libast/libast.a.p/sfio_sfgetm.c.o [340/538] Compiling C object src/lib/libast/libast.a.p/sfio_sfgetl.c.o [341/538] Compiling C object src/lib/libast/libast.a.p/sfio_sfgetd.c.o [342/538] Compiling C object src/lib/libast/libast.a.p/sfio_sfflsbuf.c.o [343/538] Compiling C object src/lib/libast/libast.a.p/sfio_sffilbuf.c.o [344/538] Compiling C object src/lib/libast/libast.a.p/sfio_sffcvt.c.o [345/538] Compiling C object src/lib/libast/libast.a.p/sfio_sfextern.c.o [346/538] Compiling C object src/lib/libast/libast.a.p/sfio_sfexcept.c.o [347/538] Compiling C object src/lib/libast/libast.a.p/sfio_sfecvt.c.o [348/538] Compiling C object src/lib/libast/libast.a.p/sfio_sfdisc.c.o [349/538] Compiling C object src/lib/libast/libast.a.p/sfio_sfcvt.c.o [350/538] Compiling C object src/lib/libast/libast.a.p/sfio_sfclrlock.c.o [351/538] Compiling C object src/lib/libast/libast.a.p/sfio_sfclose.c.o [352/538] Compiling C object src/lib/libast/libast.a.p/sfio__sfputu.c.o [353/538] Compiling C object src/lib/libast/libast.a.p/sfio__sfputm.c.o ../src/cmd/ksh93/sh/macro.c: In function ‘varsub’: ../src/cmd/ksh93/sh/macro.c:1725:21: warning: ‘vsize_last’ may be used uninitialized in this function [-Wmaybe-uninitialized] 1725 | sh_setmatch(mp->shp, vlast, vsize_last, nmatch, match, index++); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/cmd/ksh93/sh/macro.c:1459:44: warning: ‘v’ may be used uninitialized in this function [-Wmaybe-uninitialized] 1459 | } else if (type == M_EVAL && (np = nv_open(v, mp->shp->var_tree, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1460 |  NV_NOREF | NV_NOADD | NV_VARNAME | NV_NOFAIL))) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/cmd/ksh93/sh/macro.c: In function ‘sh_mactry’: ../src/cmd/ksh93/sh/macro.c:140:37: warning: argument ‘string’ might be clobbered by ‘longjmp’ or ‘vfork’ [-Wclobbered] 140 | char *sh_mactry(Shell_t *shp, char *string) { | ~~~~~~^~~~~~ [354/538] Compiling C object src/lib/libast/libast.a.p/sfio__sfputl.c.o [355/538] Compiling C object src/lib/libast/libast.a.p/sfio__sfputd.c.o [356/538] Compiling C object src/lib/libast/libast.a.p/sfio__sfopen.c.o [357/538] Compiling C object src/lib/libast/libast.a.p/regex_regstat.c.o [358/538] Compiling C object src/lib/libast/libast.a.p/regex_regrexec.c.o [359/538] Compiling C object src/lib/libast/libast.a.p/regex_regrecord.c.o [360/538] Compiling C object src/lib/libast/libast.a.p/regex_regnexec.c.o [361/538] Compiling C object src/lib/libast/libast.a.p/regex_reginit.c.o [362/538] Compiling C object src/lib/libast/libast.a.p/regex_regexec.c.o [363/538] Compiling C object src/lib/libast/libast.a.p/regex_regfatal.c.o [364/538] Compiling C object src/lib/libast/libast.a.p/regex_regcomp.c.o ../src/cmd/ksh93/sh/xec.c: In function ‘forked_child’: ../src/cmd/ksh93/sh/xec.c:856:55: warning: ignoring return value of ‘nice’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 856 | if ((type & FAMP) && sh_isoption(shp, SH_BGNICE)) nice(4); | ^~~~~~~ At top level: ../src/cmd/ksh93/sh/xec.c:171:26: warning: ‘clock_t_delta’ defined but not used [-Wunused-function] 171 | static_fn struct timeval clock_t_delta(int clk_tck, clock_t after, clock_t before) { | ^~~~~~~~~~~~~ ../src/cmd/ksh93/sh/xec.c: In function ‘sh_funscope’: ../src/cmd/ksh93/sh/xec.c:2991:12: warning: variable ‘savsig’ might be clobbered by ‘longjmp’ or ‘vfork’ [-Wclobbered] 2991 | char **savsig; | ^~~~~~ ../src/cmd/ksh93/sh/xec.c:2992:20: warning: variable ‘fp’ might be clobbered by ‘longjmp’ or ‘vfork’ [-Wclobbered] 2992 | struct funenv *fp = NULL; | ^~ ../src/cmd/ksh93/sh/xec.c: In function ‘sh_exec’: ../src/cmd/ksh93/sh/xec.c:2339:29: warning: ‘right’ may be used uninitialized in this function [-Wmaybe-uninitialized] 2339 | out_pattern(sfstderr, right, -1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/cmd/ksh93/sh/xec.c:946:11: warning: variable ‘comn’ might be clobbered by ‘longjmp’ or ‘vfork’ [-Wclobbered] 946 | char *comn; | ^~~~ ../src/cmd/ksh93/sh/xec.c:980:28: warning: variable ‘argp’ might be clobbered by ‘longjmp’ or ‘vfork’ [-Wclobbered] 980 | struct argnod *argp; | ^~~~ ../src/cmd/ksh93/sh/xec.c:982:23: warning: variable ‘np’ might be clobbered by ‘longjmp’ or ‘vfork’ [-Wclobbered] 982 | Namval_t *np, *nq, *last_table; | ^~ ../src/cmd/ksh93/sh/xec.c:982:33: warning: variable ‘last_table’ might be clobbered by ‘longjmp’ or ‘vfork’ [-Wclobbered] 982 | Namval_t *np, *nq, *last_table; | ^~~~~~~~~~ ../src/cmd/ksh93/sh/xec.c:984:17: warning: variable ‘command’ might be clobbered by ‘longjmp’ or ‘vfork’ [-Wclobbered] 984 | int command = 0; | ^~~~~~~ ../src/cmd/ksh93/sh/xec.c:1201:33: warning: variable ‘save_prompt’ might be clobbered by ‘longjmp’ or ‘vfork’ [-Wclobbered] 1201 | int jmpval, save_prompt; | ^~~~~~~~~~~ ../src/cmd/ksh93/sh/xec.c:1202:25: warning: variable ‘was_nofork’ might be clobbered by ‘longjmp’ or ‘vfork’ [-Wclobbered] 1202 | int was_nofork = execflg ? sh_isstate(shp, SH_NOFORK) : 0; | ^~~~~~~~~~ ../src/cmd/ksh93/sh/xec.c:1400:32: warning: variable ‘buffp’ might be clobbered by ‘longjmp’ or ‘vfork’ [-Wclobbered] 1400 | checkpt_t *buffp = stkalloc(shp->stk, sizeof(checkpt_t)); | ^~~~~ ../src/cmd/ksh93/sh/xec.c:1402:31: warning: variable ‘namespace’ might be clobbered by ‘longjmp’ or ‘vfork’ [-Wclobbered] 1402 | Namval_t *namespace = NULL; | ^~~~~~~~~ ../src/cmd/ksh93/sh/xec.c:1404:30: warning: variable ‘mode’ might be clobbered by ‘longjmp’ or ‘vfork’ [-Wclobbered] 1404 | nvflag_t mode; | ^~~~ ../src/cmd/ksh93/sh/xec.c:1623:19: warning: variable ‘pid’ might be clobbered by ‘longjmp’ or ‘vfork’ [-Wclobbered] 1623 | pid_t pid; | ^~~ ../src/cmd/ksh93/sh/xec.c:1624:25: warning: variable ‘waitall’ might be clobbered by ‘longjmp’ or ‘vfork’ [-Wclobbered] 1624 | int jmpval, waitall; | ^~~~~~~ ../src/cmd/ksh93/sh/xec.c:1853:23: warning: variable ‘np’ might be clobbered by ‘longjmp’ or ‘vfork’ [-Wclobbered] 1853 | Namval_t *np; | ^~ ../src/cmd/ksh93/sh/xec.c:1854:17: warning: variable ‘flag’ might be clobbered by ‘longjmp’ or ‘vfork’ [-Wclobbered] 1854 | int flag = errorflg | ARG_OPTIMIZE; | ^~~~ ../src/cmd/ksh93/sh/xec.c:1855:28: warning: variable ‘argsav’ might be clobbered by ‘longjmp’ or ‘vfork’ [-Wclobbered] 1855 | struct dolnod *argsav = NULL; | ^~~~~~ ../src/cmd/ksh93/sh/xec.c:1859:26: warning: variable ‘refresh’ might be clobbered by ‘longjmp’ or ‘vfork’ [-Wclobbered] 1859 | int nameref, refresh = 1; | ^~~~~~~ ../src/cmd/ksh93/sh/xec.c:1966:17: warning: variable ‘first’ might be clobbered by ‘longjmp’ or ‘vfork’ [-Wclobbered] 1966 | int first = ARG_OPTIMIZE; | ^~~~~ ../src/cmd/ksh93/sh/xec.c:1968:21: warning: variable ‘iop’ might be clobbered by ‘longjmp’ or ‘vfork’ [-Wclobbered] 1968 | Sfio_t *iop = NULL; | ^~~ ../src/cmd/ksh93/sh/xec.c:1969:17: warning: variable ‘savein’ might be clobbered by ‘longjmp’ or ‘vfork’ [-Wclobbered] 1969 | int savein; | ^~~~~~ ../src/cmd/ksh93/sh/xec.c:2058:23: warning: variable ‘tt’ might be clobbered by ‘longjmp’ or ‘vfork’ [-Wclobbered] 2058 | Shnode_t *tt = (Shnode_t *)t; | ^~ ../src/cmd/ksh93/sh/xec.c:923:43: warning: argument ‘t’ might be clobbered by ‘longjmp’ or ‘vfork’ [-Wclobbered] 923 | int sh_exec(Shell_t *shp, const Shnode_t *t, int flags) { | ~~~~~~~~~~~~~~~~^ ../src/cmd/ksh93/sh/xec.c:923:50: warning: argument ‘flags’ might be clobbered by ‘longjmp’ or ‘vfork’ [-Wclobbered] 923 | int sh_exec(Shell_t *shp, const Shnode_t *t, int flags) { | ~~~~^~~~~ ../src/cmd/ksh93/sh/xec.c: In function ‘sh_fun’: ../src/cmd/ksh93/sh/xec.c:2717:11: warning: variable ‘base’ might be clobbered by ‘longjmp’ or ‘vfork’ [-Wclobbered] 2717 | char *base; | ^~~~ ../src/cmd/ksh93/sh/xec.c:2722:9: warning: variable ‘n’ might be clobbered by ‘longjmp’ or ‘vfork’ [-Wclobbered] 2722 | int n = 0; | ^ ../src/cmd/ksh93/sh/xec.c:2715:60: warning: argument ‘argv’ might be clobbered by ‘longjmp’ or ‘vfork’ [-Wclobbered] 2715 | int sh_fun(Shell_t *shp, Namval_t *np, Namval_t *nq, char *argv[]) { | ~~~~~~^~~~~~ ../src/cmd/ksh93/sh/xec.c: In function ‘sh_eval’: ../src/cmd/ksh93/sh/xec.c:3147:44: warning: argument ‘mode’ might be clobbered by ‘longjmp’ or ‘vfork’ [-Wclobbered] 3147 | int sh_eval(Shell_t *shp, Sfio_t *iop, int mode) { | ~~~~^~~~ [365/538] Compiling C object src/lib/libast/libast.a.p/regex_regcoll.c.o [366/538] Compiling C object src/lib/libast/libast.a.p/regex_regclass.c.o [367/538] Compiling C object src/lib/libast/libast.a.p/regex_regcache.c.o [368/538] Compiling C object src/lib/libast/libast.a.p/path_pathuniverse.c.o [369/538] Compiling C object src/lib/libast/libast.a.p/path_pathtemp.c.o [370/538] Compiling C object src/lib/libast/libast.a.p/path_pathstat.c.o [371/538] Compiling C object src/lib/libast/libast.a.p/path_pathshell.c.o [372/538] Compiling C object src/lib/libast/libast.a.p/path_pathprog.c.o [373/538] Compiling C object src/lib/libast/libast.a.p/path_pathpath.c.o [374/538] Compiling C object src/lib/libast/libast.a.p/path_pathgetlink.c.o [375/538] Compiling C object src/lib/libast/libast.a.p/path_pathexists.c.o [376/538] Compiling C object src/lib/libast/libast.a.p/path_pathcat.c.o [377/538] Compiling C object src/lib/libast/libast.a.p/path_pathcanon.c.o [378/538] Compiling C object src/lib/libast/libast.a.p/path_pathbin.c.o [379/538] Compiling C object src/lib/libast/libast.a.p/path_pathaccess.c.o [380/538] Compiling C object src/lib/libast/libast.a.p/misc_vmbusy.c.o [381/538] Compiling C object src/lib/libast/libast.a.p/misc_translate.c.o [382/538] Compiling C object src/lib/libast/libast.a.p/misc_stk.c.o [383/538] Compiling C object src/lib/libast/libast.a.p/misc_state.c.o [384/538] Compiling C object src/lib/libast/libast.a.p/misc_sigcrit.c.o [385/538] Compiling C object src/lib/libast/libast.a.p/misc_setlocale.c.o [386/538] Compiling C object src/lib/libast/libast.a.p/misc_procopen.c.o [387/538] Compiling C object src/lib/libast/libast.a.p/misc_procfree.c.o [388/538] Compiling C object src/lib/libast/libast.a.p/misc_procclose.c.o [389/538] Compiling C object src/lib/libast/libast.a.p/misc_optget.c.o [390/538] Compiling C object src/lib/libast/libast.a.p/misc_glob.c.o [391/538] Compiling C object src/lib/libast/libast.a.p/misc_fgetcwd.c.o [392/538] Compiling C object src/lib/libast/libast.a.p/misc_fallbacks.c.o [393/538] Compiling C object src/lib/libast/libast.a.p/misc_errorx.c.o [394/538] Compiling C object src/lib/libast/libast.a.p/misc_errormsg.c.o [395/538] Compiling C object src/lib/libast/libast.a.p/misc_errorf.c.o [396/538] Compiling C object src/lib/libast/libast.a.p/misc_error.c.o [397/538] Compiling C object src/lib/libast/libast.a.p/misc_debug.c.o [398/538] Compiling C object src/lib/libast/libast.a.p/misc_astwinsize.c.o [399/538] Compiling C object src/lib/libast/libast.a.p/cdt_dtwalk.c.o [400/538] Compiling C object src/lib/libast/libast.a.p/cdt_dtview.c.o [401/538] Compiling C object src/lib/libast/libast.a.p/cdt_dtuser.c.o [402/538] Compiling C object src/lib/libast/libast.a.p/cdt_dttree.c.o ../src/lib/libast/sfio/sftable.c: In function ‘sffmtpos’: ../src/lib/libast/sfio/sftable.c:414:32: warning: ‘size’ may be used uninitialized in this function [-Wmaybe-uninitialized] 414 | if (size == sizeof(long)) { | ^ [403/538] Compiling C object src/lib/libast/libast.a.p/cdt_dtstrhash.c.o [404/538] Compiling C object src/lib/libast/libast.a.p/cdt_dtstat.c.o [405/538] Compiling C object src/lib/libast/libast.a.p/cdt_dtrehash.c.o [406/538] Compiling C object src/lib/libast/libast.a.p/cdt_dtopen.c.o [407/538] Compiling C object src/lib/libast/libast.a.p/cdt_dtmethod.c.o [408/538] Compiling C object src/lib/libast/libast.a.p/cdt_dtlist.c.o [409/538] Compiling C object src/lib/libast/libast.a.p/cdt_dthash.c.o [410/538] Compiling C object src/lib/libast/libast.a.p/cdt_dtdisc.c.o [411/538] Compiling C object src/lib/libast/libast.a.p/cdt_dtclose.c.o [412/538] Compiling C object src/lib/libast/libast.a.p/aso_aso.c.o ../src/lib/libast/path/pathpath.c: In function ‘pathpath’: ../src/lib/libast/path/pathpath.c:72:17: warning: ignoring return value of ‘getcwd’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 72 | getcwd(buf, sizeof(buf)); | ^~~~~~~~~~~~~~~~~~~~~~~~ ../src/lib/libast/misc/fgetcwd.c: In function ‘fgetcwd’: ../src/lib/libast/misc/fgetcwd.c:223:39: warning: ignoring return value of ‘fchdir’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 223 | if (dd != AT_FDCWD && !dd_closed) fchdir(dd); | ^~~~~~~~~~ ../src/lib/libast/misc/fgetcwd.c:230:25: warning: ignoring return value of ‘fchdir’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 230 | if (dd != AT_FDCWD) fchdir(dd); | ^~~~~~~~~~ ../src/cmd/ksh93/sh/name.c: In function ‘nv_unall’: ../src/cmd/ksh93/sh/name.c:3244:21: warning: argument ‘names’ might be clobbered by ‘longjmp’ or ‘vfork’ [-Wclobbered] 3244 | int nv_unall(char **names, bool aliases, nvflag_t nvflags, Dt_t *troot, Shell_t *shp) { | ~~~~~~~^~~~~ [413/538] Linking static target src/cmd/ksh93/libksh.a ../src/lib/libast/misc/stk.c: In function ‘overflow’: ../src/lib/libast/misc/stk.c:146:5: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 146 | write(2, Omsg, sizeof(Omsg) - 1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/lib/libast/misc/debug.c: In function ‘_dprintf’: ../src/lib/libast/misc/debug.c:99:5: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 99 | write(2, buf2, n); | ^~~~~~~~~~~~~~~~~ ../src/lib/libast/misc/debug.c: In function ‘run_addr2lines_prog’: ../src/lib/libast/misc/debug.c:180:5: warning: ignoring return value of ‘pipe’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 180 | pipe(fds); | ^~~~~~~~~ ../src/lib/libast/misc/debug.c:199:13: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 199 | write(1, msg, sizeof(msg) - 1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/lib/libast/misc/debug.c: In function ‘dump_backtrace’: ../src/lib/libast/misc/debug.c:339:5: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 339 | write(2, text, strlen(text)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/lib/libast/misc/debug.c:378:9: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 378 | write(2, text, strlen(text)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/lib/libast/misc/procopen.c: In function ‘procopen’: ../src/lib/libast/misc/procopen.c:436:36: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 436 | if (proc->pid > 0) write(pop[1], &proc->pid, sizeof(proc->pid)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/lib/libast/misc/glob.c: In function ‘ast_glob’: ../src/lib/libast/misc/glob.c:676:22: warning: ‘oldstak’ may be used uninitialized in this function [-Wmaybe-uninitialized] 676 | if (gp->gl_stak) stkinstall(oldstak, 0); | ^~~~~~~~~~~~~~~~~~~~~~ ../src/lib/libast/tm/tmxdate.c: In function ‘tmxdate’: ../src/lib/libast/tm/tmxdate.c:683:53: warning: ‘k’ may be used uninitialized in this function [-Wmaybe-uninitialized] 683 | } else if ((*++t && dig1(t, k) < 1) || k > 7) { | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ ../src/lib/libast/tm/tmxdate.c:1479:19: warning: ‘w’ may be used uninitialized in this function [-Wmaybe-uninitialized] 1479 | } else if (w == 2 && !(state & YEAR)) { | ^ In file included from ../src/lib/libast/sfio/sfvscanf.c:47: ../src/lib/libast/sfio/sfvscanf.c: In function ‘sfvscanf’: ../src/lib/libast/sfio/sfstrtof.h:371:27: warning: ‘back_n’ may be used uninitialized in this function [-Wmaybe-uninitialized] 371 | parts[part].batch = n; | ~~~~~~~~~~~~~~~~~~^~~ ../src/lib/libast/sfio/sfstrtof.h:187:15: note: ‘back_n’ was declared here 187 | S2F_batch back_n; | ^~~~~~ ../src/lib/libast/sfio/sfstrtof.h:372:28: warning: ‘back_part’ may be used uninitialized in this function [-Wmaybe-uninitialized] 372 | parts[part].digits = digits; | ~~~~~~~~~~~~~~~~~~~^~~~~~~~ ../src/lib/libast/sfio/sfstrtof.h:186:9: note: ‘back_part’ was declared here 186 | int back_part; | ^~~~~~~~~ ../src/lib/libast/sfio/sfvprintf.c: In function ‘sfvprintf’: ../src/lib/libast/sfio/sfvprintf.c:867:39: warning: ‘wsp’ may be used uninitialized in this function [-Wmaybe-uninitialized] 867 | if (wc) n_s = wcwidth(*(wsp - 1)); | ^~~~~~~~~~~~~~~~~~~ ../src/lib/libast/sfio/sfvprintf.c:105:12: warning: ‘v’ may be used uninitialized in this function [-Wmaybe-uninitialized] 105 | int n, v, w, k, n_s, base, fmt, flags; | ^ ../src/lib/libast/regex/regcomp.c: In function ‘regcomp_seq’: ../src/lib/libast/regex/regcomp.c:1400:30: warning: ‘rc’ may be used uninitialized in this function [-Wmaybe-uninitialized] 1400 | ce = regcomp_col(env, ce, ic, rp, rw, rc, NULL, 0, 0); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/lib/libast/regex/regcomp.c:1305:13: note: ‘rc’ was declared here 1305 | int rc; | ^~ ../src/lib/libast/regex/regcomp.c:1400:30: warning: ‘rw’ may be used uninitialized in this function [-Wmaybe-uninitialized] 1400 | ce = regcomp_col(env, ce, ic, rp, rw, rc, NULL, 0, 0); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/lib/libast/regex/regcomp.c:1304:13: note: ‘rw’ was declared here 1304 | int rw; | ^~ ../src/lib/libast/regex/regcomp.c:1400:30: warning: ‘rp’ may be used uninitialized in this function [-Wmaybe-uninitialized] 1400 | ce = regcomp_col(env, ce, ic, rp, rw, rc, NULL, 0, 0); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/lib/libast/regex/regcomp.c:1307:24: note: ‘rp’ was declared here 1307 | unsigned char *rp; | ^~ In file included from ../src/lib/libast/regex/regcomp.c:40: ../src/lib/libast/regex/reglib.h:157:50: warning: ‘last’ may be used uninitialized in this function [-Wmaybe-uninitialized] 157 | #define bitset(p, c) ((p)[(c) >> 3] |= (1 << ((c)&07))) | ^ ../src/lib/libast/regex/regcomp.c:1076:9: note: ‘last’ was declared here 1076 | int last; | ^~~~ ../src/lib/libast/regex/regcomp.c:2446:39: warning: ‘x’ may be used uninitialized in this function [-Wmaybe-uninitialized] 2446 | f->re.onechar = (env->flags & REG_ICASE) ? toupper(x) : x; | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/lib/libast/regex/regcomp.c:2431:28: warning: ‘n’ may be used uninitialized in this function [-Wmaybe-uninitialized] 2431 | if ((s -= n) == buf) { | ^~ ../src/lib/libast/misc/optget.c: In function ‘opthelp’: ../src/lib/libast/misc/optget.c:3266:28: warning: ‘dt’ may be used uninitialized in this function [-Wmaybe-uninitialized] 3266 | if (dt) { | ^ ../src/lib/libast/misc/optget.c:2872:29: warning: ‘cl’ may be used uninitialized in this function [-Wmaybe-uninitialized] 2872 | optget_textout(sp_body, u, cb, cl, style, 0, 3, sp_info, version, id, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2873 |  catalog, &bflags); | ~~~~~~~~~~~~~~~~~ ../src/lib/libast/misc/optget.c:2867:29: warning: ‘cb’ may be used uninitialized in this function [-Wmaybe-uninitialized] 2867 | optget_textout(sp_body, d, cb, cl, style, 0, 3, sp_info, version, id, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2868 |  catalog, &bflags); | ~~~~~~~~~~~~~~~~~ ../src/lib/libast/misc/optget.c: In function ‘optstr’: ../src/lib/libast/misc/optget.c:4832:28: warning: ‘qc’ may be used uninitialized in this function [-Wmaybe-uninitialized] 4832 | if (--qc <= 0) qr = ql = 0; | ^ [414/538] Linking static target src/lib/libast/libast.a [415/538] Linking target src/cmd/ksh93/tests/api/ksh_debug [416/538] Linking target src/cmd/ksh93/shcomp [417/538] Linking target src/cmd/ksh93/ksh [418/538] Linking target src/lib/libast/tests/tm/tvgettime [419/538] Linking target src/lib/libast/tests/string/utf [420/538] Linking target src/lib/libast/tests/string/struniq [421/538] Linking target src/lib/libast/tests/string/strtonll [422/538] Linking target src/lib/libast/tests/string/strsort [423/538] Linking target src/lib/libast/tests/string/strperm [424/538] Linking target src/lib/libast/tests/string/strmatch [425/538] Linking target src/lib/libast/tests/string/strlcpy [426/538] Linking target src/lib/libast/tests/string/strlcat [427/538] Linking target src/lib/libast/tests/string/stresc [428/538] Linking target src/lib/libast/tests/string/strelapsed [429/538] Linking target src/lib/libast/tests/string/fmttmx [430/538] Linking target src/lib/libast/tests/string/fmtscale [431/538] Linking target src/lib/libast/tests/string/fmtre [432/538] Linking target src/lib/libast/tests/string/fmtperm [433/538] Linking target src/lib/libast/tests/string/fmtmode [434/538] Linking target src/lib/libast/tests/string/fmtmatch [435/538] Linking target src/lib/libast/tests/string/fmtint [436/538] Linking target src/lib/libast/tests/string/fmtfmt [437/538] Linking target src/lib/libast/tests/string/fmtesc [438/538] Linking target src/lib/libast/tests/string/fmtelapsed [439/538] Linking target src/lib/libast/tests/string/fmtbase [440/538] Linking target src/lib/libast/tests/string/chresc [441/538] Linking target src/lib/libast/tests/string/base64 [442/538] Linking target src/lib/libast/tests/sfio/tprintf [443/538] Linking target src/lib/libast/tests/sfio/twrrd [444/538] Linking target src/lib/libast/tests/sfio/twhole [445/538] Linking target src/lib/libast/tests/sfio/tungetc [446/538] Linking target src/lib/libast/tests/sfio/ttmpfile [447/538] Linking target src/lib/libast/tests/sfio/ttmp [448/538] Linking target src/lib/libast/tests/sfio/ttell [449/538] Linking target src/lib/libast/tests/sfio/tsync [450/538] Linking target src/lib/libast/tests/sfio/tswap [451/538] Linking target src/lib/libast/tests/sfio/tstring [452/538] Linking target src/lib/libast/tests/sfio/tstkpk [453/538] Linking target src/lib/libast/tests/sfio/tstatus [454/538] Linking target src/lib/libast/tests/sfio/tstack [455/538] Linking target src/lib/libast/tests/sfio/tsize [456/538] Linking target src/lib/libast/tests/sfio/tshare [457/538] Linking target src/lib/libast/tests/sfio/tsfstr [458/538] Linking target src/lib/libast/tests/sfio/tsetfd [459/538] Linking target src/lib/libast/tests/sfio/tsetbuf [460/538] Linking target src/lib/libast/tests/sfio/tseek [461/538] Linking target src/lib/libast/tests/sfio/tscanf1 [462/538] Linking target src/lib/libast/tests/sfio/tscanf [463/538] Linking target src/lib/libast/tests/sfio/tresize [464/538] Linking target src/lib/libast/tests/sfio/treserve [465/538] Linking target src/lib/libast/tests/sfio/trcrv [466/538] Linking target src/lib/libast/tests/sfio/tputgetu [467/538] Linking target src/lib/libast/tests/sfio/tputgetr [468/538] Linking target src/lib/libast/tests/sfio/tputgetm [469/538] Linking target src/lib/libast/tests/sfio/tputgetl [470/538] Linking target src/lib/libast/tests/sfio/tputgetd [471/538] Linking target src/lib/libast/tests/sfio/tputgetc [472/538] Linking target src/lib/libast/tests/sfio/tpublic [473/538] Linking target src/lib/libast/tests/sfio/tpopenrw [474/538] Linking target src/lib/libast/tests/sfio/tpopen [475/538] Linking target src/lib/libast/tests/sfio/tpool [476/538] Linking target src/lib/libast/tests/sfio/tpkrd [477/538] Linking target src/lib/libast/tests/sfio/tpipemove [478/538] Linking target src/lib/libast/tests/sfio/tpipe [479/538] Linking target src/lib/libast/tests/sfio/topen [480/538] Linking target src/lib/libast/tests/sfio/tnotify [481/538] Linking target src/lib/libast/tests/sfio/tnoseek [482/538] Linking target src/lib/libast/tests/sfio/tmwrite [483/538] Linking target src/lib/libast/tests/sfio/tmultiple [484/538] Linking target src/lib/libast/tests/sfio/tmtsafe [485/538] Linking target src/lib/libast/tests/sfio/tmprocess [486/538] Linking target src/lib/libast/tests/sfio/tmpread [487/538] Linking target src/lib/libast/tests/sfio/tmprdwr [488/538] Linking target src/lib/libast/tests/sfio/tmove [489/538] Linking target src/lib/libast/tests/sfio/tmode [490/538] Linking target src/lib/libast/tests/sfio/tlongdouble [491/538] Linking target src/lib/libast/tests/sfio/tlocale [492/538] Linking target src/lib/libast/tests/sfio/tleak [493/538] Linking target src/lib/libast/tests/sfio/thole [494/538] Linking target src/lib/libast/tests/sfio/tgetr [495/538] Linking target src/lib/libast/tests/sfio/tfmt [496/538] Linking target src/lib/libast/tests/sfio/tflags [497/538] Linking target src/lib/libast/tests/sfio/texcept [498/538] Linking target src/lib/libast/tests/sfio/terrno [499/538] Linking target src/lib/libast/tests/sfio/tclose [500/538] Linking target src/lib/libast/tests/sfio/tbadargs [501/538] Linking target src/lib/libast/tests/sfio/tatexit [502/538] Linking target src/lib/libast/tests/sfio/tappend [503/538] Linking target src/lib/libast/tests/sfio/talign [504/538] Linking target src/lib/libast/tests/sfio/talarm [505/538] Linking target src/lib/libast/tests/path/pathtemp [506/538] Linking target src/lib/libast/tests/path/pathstat [507/538] Linking target src/lib/libast/tests/path/pathshell [508/538] Linking target src/lib/libast/tests/path/pathpath [509/538] Linking target src/lib/libast/tests/path/pathprog [510/538] Linking target src/lib/libast/tests/path/pathgetlink [511/538] Linking target src/lib/libast/tests/path/pathexists [512/538] Linking target src/lib/libast/tests/path/pathcat [513/538] Linking target src/lib/libast/tests/path/pathcanon [514/538] Linking target src/lib/libast/tests/path/pathbin [515/538] Linking target src/lib/libast/tests/path/pathaccess [516/538] Linking target src/lib/libast/tests/misc/environ [517/538] Linking target src/lib/libast/tests/misc/stk [518/538] Linking target src/lib/libast/tests/misc/glob [519/538] Linking target src/lib/libast/tests/cdt/trehash [520/538] Linking target src/lib/libast/tests/cdt/tview [521/538] Linking target src/lib/libast/tests/cdt/twalk [522/538] Linking target src/lib/libast/tests/cdt/tvthread [523/538] Linking target src/lib/libast/tests/cdt/tuser [524/538] Linking target src/lib/libast/tests/cdt/tstringset [525/538] Linking target src/lib/libast/tests/cdt/tsearch [526/538] Linking target src/lib/libast/tests/cdt/trhbags [527/538] Linking target src/lib/libast/tests/cdt/tqueue [528/538] Linking target src/lib/libast/tests/cdt/tobag [529/538] Linking target src/lib/libast/tests/cdt/tlist [530/538] Linking target src/lib/libast/tests/cdt/tinstall [531/538] Linking target src/lib/libast/tests/cdt/tevent [532/538] Linking target src/lib/libast/tests/cdt/tdtstack [533/538] Linking target src/lib/libast/tests/cdt/tdict [534/538] Linking target src/lib/libast/tests/cdt/tdeque [535/538] Linking target src/lib/libast/tests/cdt/tbags [536/538] Linking target src/lib/libast/tests/cdt/tannounce [537/538] Linking target src/lib/libast/tests/aso/tlock [538/538] Linking target src/lib/libast/tests/aso/taso