From https://github.com/archlinux/svntogit-community * branch packages/ksh -> FETCH_HEAD * [new branch] packages/ksh -> community/packages/ksh Cloning into 'ksh'... done. :: Synchronizing package databases... % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 66 131k 66 89758 0 0 256k 0 --:--:-- --:--:-- --:--:-- 255k 100 131k 100 131k 0 0 385k 0 --:--:-- --:--:-- --:--:-- 384k % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 3 8542k 3 331k 0 0 327k 0 0:00:26 0:00:01 0:00:25 328k 28 8542k 28 2421k 0 0 1297k 0 0:00:06 0:00:01 0:00:05 1297k 62 8542k 62 5313k 0 0 1858k 0 0:00:04 0:00:02 0:00:02 1858k 100 8542k 100 8542k 0 0 2415k 0 0:00:03 0:00:03 --:--:-- 2415k % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 143k 100 143k 0 0 831k 0 --:--:-- --:--:-- --:--:-- 836k :: Starting full system upgrade... there is nothing to do gpg: key 62213CE2D3CB82EA: public key "Siteshwar Vashisht " imported gpg: Total number processed: 1 gpg: imported: 1 ==> Making package: ksh 2020.0.0-3 (Tue Aug 27 11:17:40 2024) ==> Checking runtime dependencies... ==> Checking buildtime dependencies... ==> Installing missing dependencies... resolving dependencies... looking for conflicting packages... Packages (5) ninja-1.11.1-3 python-tqdm-4.65.0-3 python-typing_extensions-4.7.1-1 meson-1.2.0-2 samurai-1.2-2 Total Download Size: 2.36 MiB Total Installed Size: 14.52 MiB :: Proceed with installation? [Y/n] :: Retrieving packages... % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 145k 100 145k 0 0 55.2M 0 --:--:-- --:--:-- --:--:-- 70.9M % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 128k 100 128k 0 0 54.5M 0 --:--:-- --:--:-- --:--:-- 62.6M % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 69151 100 69151 0 0 39.9M 0 --:--:-- --:--:-- --:--:-- 65.9M % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2037k 100 2037k 0 0 88.7M 0 --:--:-- --:--:-- --:--:-- 90.4M % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 34871 100 34871 0 0 23.8M 0 --:--:-- --:--:-- --:--:-- 33.2M checking keyring... checking package integrity... loading package files... checking for file conflicts... checking available disk space... :: Processing package changes... installing ninja... installing python-tqdm... Optional dependencies for python-tqdm python-requests: telegram installing python-typing_extensions... installing meson... installing samurai... :: Running post-transaction hooks... (1/1) Arming ConditionNeedsUpdate... ==> Retrieving sources... -> Downloading ksh-2020.0.0.tar.xz... % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1212k 100 1212k 0 0 4039k 0 --:--:-- --:--:-- --:--:-- 4039k -> Downloading ksh-2020.0.0.tar.xz.asc... % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 833 100 833 0 0 2761 0 --:--:-- --:--:-- --:--:-- 2761 -> Downloading d89753b5d38482f4a3f17ba3b7d09ab07cfe7419.patch... % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1396 100 1396 0 0 7943 0 --:--:-- --:--:-- --:--:-- 7977 -> Found CVE-2019-14868.patch ==> WARNING: Skipping verification of source file PGP signatures. ==> Validating source files with sha256sums... ksh-2020.0.0.tar.xz ... Passed ksh-2020.0.0.tar.xz.asc ... Skipped d89753b5d38482f4a3f17ba3b7d09ab07cfe7419.patch ... Passed CVE-2019-14868.patch ... Passed ==> Validating source files with b2sums... ksh-2020.0.0.tar.xz ... Passed ksh-2020.0.0.tar.xz.asc ... Skipped d89753b5d38482f4a3f17ba3b7d09ab07cfe7419.patch ... Passed CVE-2019-14868.patch ... Passed ==> Extracting sources... -> Extracting ksh-2020.0.0.tar.xz with bsdtar ==> Starting prepare()... patching file src/lib/libast/tests/misc/meson.build patching file src/cmd/ksh93/sh/arith.c patching file src/cmd/ksh93/tests/subshell.sh ==> Starting build()... The Meson build system Version: 1.2.0 Source dir: /tmp/archlinux-ci/ksh-archlinuxrb-build-O1i0fpvg/ksh/trunk/src/ksh-2020.0.0 Build dir: /tmp/archlinux-ci/ksh-archlinuxrb-build-O1i0fpvg/ksh/trunk/src/ksh-2020.0.0/build Build type: native build Project name: ksh93 Project version: undefined C compiler for the host machine: cc (gcc 13.1.1 "cc (GCC) 13.1.1 20230714") C linker for the host machine: cc ld.bfd 2.40.0 Host machine cpu family: x86_64 Host machine cpu: x86_64 ../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 WARNING: You should add the boolean check kwarg to the run_command call. It currently defaults to false, but it will default to true in future releases of meson. See also: https://github.com/mesonbuild/meson/issues/9300 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: YES Checking if "Check if -D_FILE_OFFSET_BITS=64 works with fts functions" compiles: YES Program tput found: YES (/usr/sbin/tput) Program ed found: NO Program atos found: NO Program addr2line found: YES (/usr/sbin/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/sbin/sh) ../src/lib/libast/tests/misc/meson.build:28: WARNING: skipping debug on linux 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 Generating targets: 0%| | 0/131 eta ? Generating targets: 8%|▊ | 11/131 eta 00:01 Generating targets: 51%|█████ | 67/131 eta 00:00 Generating targets: 95%|█████████▍| 124/131 eta 00:00 Writing build.ninja: 0%| | 0/565 eta ? WARNING: Running the setup command as `meson [options]` instead of `meson setup [options]` is ambiguous and deprecated. [1/538] Compiling C object src/cmd/ksh93/shcomp.p/sh_shcomp.c.o [2/538] Compiling C object src/lib/libdll/libsample.so.p/sample.c.o [3/538] Compiling C object src/cmd/ksh93/tests/api/ksh_debug.p/ksh_debug.c.o [4/538] Compiling C object src/lib/libdll/libdll.a.p/dllscan.c.o [5/538] Compiling C object src/lib/libdll/libdll.a.p/dllplug.c.o [6/538] Compiling C object src/lib/libdll/libdll.a.p/dllopen.c.o [7/538] Compiling C object src/lib/libdll/libdll.a.p/dllnext.c.o [8/538] Compiling C object src/lib/libdll/libdll.a.p/dlllook.c.o [9/538] Compiling C object src/lib/libdll/libdll.a.p/dllfind.c.o [10/538] Compiling C object src/lib/libdll/libdll.a.p/dllerror.c.o [11/538] Compiling C object src/lib/libdll/libdll.a.p/dllcheck.c.o [12/538] Compiling C object src/lib/libdll/libdll.a.p/dlfcn.c.o [13/538] Generating src/cmd/ksh93/include/version.h with a custom command [14/538] Compiling C object src/cmd/ksh93/cmds/libcmd.a.p/wc.c.o [15/538] Compiling C object src/cmd/ksh93/cmds/libcmd.a.p/uname.c.o [16/538] Compiling C object src/cmd/ksh93/cmds/libcmd.a.p/sync.c.o [17/538] Compiling C object src/cmd/ksh93/cmds/libcmd.a.p/mkdir.c.o [18/538] Compiling C object src/cmd/ksh93/cmds/libcmd.a.p/logname.c.o [19/538] Compiling C object src/cmd/ksh93/cmds/libcmd.a.p/head.c.o [20/538] Compiling C object src/cmd/ksh93/cmds/libcmd.a.p/dirname.c.o [21/538] Linking target src/lib/libdll/libsample.so [22/538] Compiling C object src/cmd/ksh93/libksh.a.p/sh_xec.c.o [23/538] Compiling C object src/cmd/ksh93/libksh.a.p/sh_trestore.c.o [24/538] Compiling C object src/cmd/ksh93/libksh.a.p/sh_timers.c.o [25/538] Compiling C object src/cmd/ksh93/libksh.a.p/sh_tdump.c.o [26/538] Compiling C object src/cmd/ksh93/libksh.a.p/sh_subshell.c.o [27/538] Compiling C object src/cmd/ksh93/libksh.a.p/sh_string.c.o [28/538] Compiling C object src/cmd/ksh93/libksh.a.p/sh_streval.c.o [29/538] Compiling C object src/cmd/ksh93/libksh.a.p/sh_path.c.o [30/538] Compiling C object src/cmd/ksh93/libksh.a.p/sh_parse.c.o [31/538] Compiling C object src/cmd/ksh93/libksh.a.p/sh_nvtype.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)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [32/538] Compiling C object src/cmd/ksh93/libksh.a.p/sh_nvtree.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 [-Wmaybe-uninitialized] 122 | if (mkdir(path, n ? dmode : mode) < 0 && errno != EEXIST && | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/cmd/ksh93/cmds/mkdir.c:53:12: note: 'dmode' was declared here 53 | mode_t dmode; | ^~~~~ [33/538] Compiling C object src/cmd/ksh93/libksh.a.p/sh_nvdisc.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); | ^~~~~~~~~~~~~~~~~ [34/538] Compiling C object src/cmd/ksh93/libksh.a.p/sh_name.c.o [35/538] Compiling C object src/cmd/ksh93/libksh.a.p/sh_main.c.o [36/538] Compiling C object src/cmd/ksh93/libksh.a.p/sh_macro.c.o [37/538] Compiling C object src/cmd/ksh93/libksh.a.p/sh_lex.c.o [38/538] Compiling C object src/cmd/ksh93/libksh.a.p/sh_jobs.c.o [39/538] Compiling C object src/cmd/ksh93/libksh.a.p/sh_io.c.o [40/538] Compiling C object src/cmd/ksh93/libksh.a.p/sh_init.c.o ../src/lib/libdll/dllscan.c: In function 'dllinfo': ../src/lib/libdll/dllscan.c:110:25: warning: 'vn' may be used uninitialized [-Wmaybe-uninitialized] 110 | if (v && vn < sizeof(info.envbuf)) { | ~~~^~~~~~~~~~~~~~~~~~~~~ ../src/lib/libdll/dllscan.c:67:9: note: 'vn' was declared here 67 | int vn; | ^~ ../src/lib/libdll/dllscan.c:101:24: warning: 'pn' may be used uninitialized [-Wmaybe-uninitialized] 101 | if (pn >= sizeof(pat)) pn = sizeof(pat) - 1; | ~~~^~~~~~~~~~~~~~ ../src/lib/libdll/dllscan.c:68:9: note: 'pn' was declared here 68 | int pn; | ^~ [41/538] Linking static target src/lib/libdll/libdll.a [42/538] Compiling C object src/cmd/ksh93/libksh.a.p/sh_fcin.c.o [43/538] Compiling C object src/cmd/ksh93/libksh.a.p/sh_fault.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; | ^~~~~~ [44/538] Compiling C object src/cmd/ksh93/libksh.a.p/sh_expand.c.o [45/538] Compiling C object src/cmd/ksh93/libksh.a.p/sh_defs.c.o [46/538] Compiling C object src/cmd/ksh93/libksh.a.p/sh_debug.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; | ^~~~ [47/538] Compiling C object src/cmd/ksh93/libksh.a.p/sh_bash.c.o [48/538] Compiling C object src/cmd/ksh93/libksh.a.p/sh_array.c.o [49/538] Compiling C object src/cmd/ksh93/libksh.a.p/sh_arith.c.o [50/538] Compiling C object src/cmd/ksh93/libksh.a.p/sh_args.c.o ../src/cmd/ksh93/sh/expand.c: In function 'path_generate': ../src/cmd/ksh93/sh/expand.c:346:9: warning: 'pat' may be used uninitialized [-Wmaybe-uninitialized] 346 | *cp = 0; | ~~~~^~~ ../src/cmd/ksh93/sh/expand.c:214:11: note: 'pat' was declared here 214 | char *pat, *rescan; | ^~~ [51/538] Compiling C object src/cmd/ksh93/libksh.a.p/edit_vi.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; | ^~~~~~ [52/538] Compiling C object src/cmd/ksh93/libksh.a.p/edit_pcomplete.c.o [53/538] Compiling C object src/cmd/ksh93/libksh.a.p/edit_history.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 [-Wmaybe-uninitialized] 1489 | stkset(shp->stk, savptr, offset); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/cmd/ksh93/sh/path.c:1451:11: note: 'savptr' was declared here 1451 | char *savptr; | ^~~~~~ [54/538] Compiling C object src/cmd/ksh93/libksh.a.p/edit_hexpand.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 [-Wmaybe-uninitialized] 302 | nv_putsub(dp->table, NULL, dot, flags); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/cmd/ksh93/sh/nvtree.c:284:14: note: 'flags' was declared here 284 | nvflag_t 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 [-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 [-Wmaybe-uninitialized] 850 | if (!json && *cp != '[' && tp) { | ~~~~~~~~~~~~~~~~~~~~^~~~~ ../src/cmd/ksh93/sh/nvtree.c:805:20: note: 'tp' was declared here 805 | Namval_t *np, *tp; | ^~ [55/538] Compiling C object src/cmd/ksh93/libksh.a.p/edit_emacs.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, | ~~~~^~~~~~ [56/538] Compiling C object src/cmd/ksh93/libksh.a.p/edit_edit.c.o ../src/cmd/ksh93/sh/jobs.c: In function 'job_kill': ../src/cmd/ksh93/sh/jobs.c:1003:8: warning: 'r' may be used uninitialized [-Wmaybe-uninitialized] 1003 | if (r == -2) r = 2; | ^ ../src/cmd/ksh93/sh/jobs.c:907:9: note: 'r' was declared here 907 | int r; | ^ [57/538] Compiling C object src/cmd/ksh93/libksh.a.p/edit_completion.c.o [58/538] Compiling C object src/cmd/ksh93/libksh.a.p/meson-generated_.._data_documentation.c.o [59/538] Compiling C object src/cmd/ksh93/libksh.a.p/data_variables.c.o [60/538] Compiling C object src/cmd/ksh93/libksh.a.p/data_testops.c.o [61/538] Compiling C object src/cmd/ksh93/libksh.a.p/data_strdata.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); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ [62/538] Compiling C object src/cmd/ksh93/libksh.a.p/data_signals.c.o ../src/cmd/ksh93/edit/pcomplete.c: In function 'ed_pcomplete': ../src/cmd/ksh93/edit/pcomplete.c:282:21: warning: 'csave' may be used uninitialized [-Wmaybe-uninitialized] 282 | *cpsave = csave; | ~~~~~~~~^~~~~~~ ../src/cmd/ksh93/edit/pcomplete.c:221:13: note: 'csave' was declared here 221 | int csave; | ^~~~~ ../src/cmd/ksh93/edit/pcomplete.c:280:13: warning: 'cp' may be used uninitialized [-Wmaybe-uninitialized] 280 | sfprintf(shp->stk, "%s \"%s\" \"%s\" \"%s\"\n\0", nv_name(comp->fun), comp->name, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 281 |  prefix, lastword); | ~~~~~~~~~~~~~~~~~ ../src/cmd/ksh93/edit/pcomplete.c:166:17: note: 'cp' was declared here 166 | char **av, *cp, *str, *lastword; | ^~ ../src/cmd/ksh93/edit/pcomplete.c:282:21: warning: 'cpsave' may be used uninitialized [-Wmaybe-uninitialized] 282 | *cpsave = csave; | ~~~~~~~~^~~~~~~ ../src/cmd/ksh93/edit/pcomplete.c:220:15: note: 'cpsave' was declared here 220 | char *cpsave; | ^~~~~~ ../src/cmd/ksh93/edit/pcomplete.c:348:23: warning: 'len' may be used uninitialized [-Wmaybe-uninitialized] 348 | if (prefix && strncmp(prefix, str, len)) continue; | ^~~~~~~~~~~~~~~~~~~~~~~~~ ../src/cmd/ksh93/edit/pcomplete.c:165:12: note: 'len' was declared here 165 | size_t len, tlen = 0, plen = 0, slen = 0, wlen; | ^~~ ../src/cmd/ksh93/edit/pcomplete.c:374:13: warning: 'av' may be used uninitialized [-Wmaybe-uninitialized] 374 | *av = 0; | ~~~~^~~ ../src/cmd/ksh93/edit/pcomplete.c:166:12: note: 'av' was declared here 166 | char **av, *cp, *str, *lastword; | ^~ [63/538] Compiling C object src/cmd/ksh93/libksh.a.p/data_options.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 [-Wmaybe-uninitialized] 1042 | *tp = (Shnode_t *)ac; | ~~~~^~~~~~~~~~~~~~~~ ../src/cmd/ksh93/sh/parse.c:899:20: note: 'ac' was declared here 899 | struct comnod *ac; | ^~ [64/538] Compiling C object src/cmd/ksh93/libksh.a.p/data_msg.c.o [65/538] Compiling C object src/cmd/ksh93/libksh.a.p/data_limits.c.o [66/538] Compiling C object src/cmd/ksh93/libksh.a.p/data_lexstates.c.o [67/538] Compiling C object src/cmd/ksh93/libksh.a.p/data_keywords.c.o [68/538] Compiling C object src/cmd/ksh93/libksh.a.p/data_builtins.c.o [69/538] Compiling C object src/cmd/ksh93/libksh.a.p/data_aliases.c.o [70/538] Compiling C object src/cmd/ksh93/libksh.a.p/bltins_whence.c.o [71/538] Compiling C object src/cmd/ksh93/libksh.a.p/bltins_wait.c.o [72/538] Compiling C object src/cmd/ksh93/libksh.a.p/bltins_unset.c.o [73/538] Compiling C object src/cmd/ksh93/libksh.a.p/bltins_unalias.c.o [74/538] Compiling C object src/cmd/ksh93/libksh.a.p/bltins_umask.c.o [75/538] Compiling C object src/cmd/ksh93/libksh.a.p/bltins_ulimit.c.o [76/538] Compiling C object src/cmd/ksh93/libksh.a.p/bltins_typeset.c.o [77/538] Compiling C object src/cmd/ksh93/libksh.a.p/bltins_true.c.o ../src/cmd/ksh93/sh/array.c: In function 'nv_atypeindex': ../src/cmd/ksh93/sh/array.c:743:11: warning: array subscript 0 is outside array bounds of 'void[72]' [-Warray-bounds=] 743 | np->nvname = tp->nvname; | ^~ In file included from ../src/cmd/ksh93/sh/array.c:26: ./config_ast.h:246:22: note: at offset -16 into object of size 72 allocated by 'ast_calloc' 246 | #define calloc(c, s) ast_calloc(c, s) | ^~~~~~~~~~~~~~~~ ../src/cmd/ksh93/sh/array.c:741:18: note: in expansion of macro 'calloc' 741 | ap->xp = calloc(NV_MINSZ, 1); | ^~~~~~ In file included from ../src/cmd/ksh93/include/defs.h:36, from ../src/cmd/ksh93/sh/array.c:35: In function 'nv_onattr', inlined from 'nv_atypeindex' at ../src/cmd/ksh93/sh/array.c:744:9: ../src/cmd/ksh93/include/name.h:454:5: warning: array subscript 0 is outside array bounds of 'void[72]' [-Warray-bounds=] 454 | nv_isvalid(np->nvflag); | ^~~~~~~~~~~~~~~~~~~~~~ ../src/cmd/ksh93/sh/array.c: In function 'nv_atypeindex': ./config_ast.h:246:22: note: at offset -16 into object of size 72 allocated by 'ast_calloc' 246 | #define calloc(c, s) ast_calloc(c, s) | ^~~~~~~~~~~~~~~~ ../src/cmd/ksh93/sh/array.c:741:18: note: in expansion of macro 'calloc' 741 | ap->xp = calloc(NV_MINSZ, 1); | ^~~~~~ In function 'nv_onattr', inlined from 'nv_atypeindex' at ../src/cmd/ksh93/sh/array.c:744:9: ../src/cmd/ksh93/include/name.h:456:16: warning: array subscript 0 is outside array bounds of 'void[72]' [-Warray-bounds=] 456 | np->nvflag |= nvflag; | ~~~~~~~~~~~^~~~~~~~~ ../src/cmd/ksh93/sh/array.c: In function 'nv_atypeindex': ./config_ast.h:246:22: note: at offset -16 into object of size 72 allocated by 'ast_calloc' 246 | #define calloc(c, s) ast_calloc(c, s) | ^~~~~~~~~~~~~~~~ ../src/cmd/ksh93/sh/array.c:741:18: note: in expansion of macro 'calloc' 741 | ap->xp = calloc(NV_MINSZ, 1); | ^~~~~~ In function 'nv_offattr', inlined from 'nv_atypeindex' at ../src/cmd/ksh93/sh/array.c:746:9: ../src/cmd/ksh93/include/name.h:461:5: warning: array subscript 0 is outside array bounds of 'void[72]' [-Warray-bounds=] 461 | nv_isvalid(np->nvflag); | ^~~~~~~~~~~~~~~~~~~~~~ ../src/cmd/ksh93/sh/array.c: In function 'nv_atypeindex': ./config_ast.h:246:22: note: at offset -16 into object of size 72 allocated by 'ast_calloc' 246 | #define calloc(c, s) ast_calloc(c, s) | ^~~~~~~~~~~~~~~~ ../src/cmd/ksh93/sh/array.c:741:18: note: in expansion of macro 'calloc' 741 | ap->xp = calloc(NV_MINSZ, 1); | ^~~~~~ In function 'nv_offattr', inlined from 'nv_atypeindex' at ../src/cmd/ksh93/sh/array.c:746:9: ../src/cmd/ksh93/include/name.h:463:16: warning: array subscript 0 is outside array bounds of 'void[72]' [-Warray-bounds=] 463 | np->nvflag &= ~nvflag; | ~~~~~~~~~~~^~~~~~~~~~ ../src/cmd/ksh93/sh/array.c: In function 'nv_atypeindex': ./config_ast.h:246:22: note: at offset -16 into object of size 72 allocated by 'ast_calloc' 246 | #define calloc(c, s) ast_calloc(c, s) | ^~~~~~~~~~~~~~~~ ../src/cmd/ksh93/sh/array.c:741:18: note: in expansion of macro 'calloc' 741 | ap->xp = calloc(NV_MINSZ, 1); | ^~~~~~ [78/538] Compiling C object src/cmd/ksh93/libksh.a.p/bltins_trap.c.o [79/538] Compiling C object src/cmd/ksh93/libksh.a.p/bltins_times.c.o [80/538] Compiling C object src/cmd/ksh93/libksh.a.p/bltins_test.c.o [81/538] Compiling C object src/cmd/ksh93/libksh.a.p/bltins_source.c.o [82/538] Compiling C object src/cmd/ksh93/libksh.a.p/bltins_sleep.c.o [83/538] Compiling C object src/cmd/ksh93/libksh.a.p/bltins_shift.c.o [84/538] Compiling C object src/cmd/ksh93/libksh.a.p/bltins_set.c.o [85/538] Compiling C object src/cmd/ksh93/libksh.a.p/bltins_return.c.o [86/538] Compiling C object src/cmd/ksh93/libksh.a.p/bltins_readonly.c.o [87/538] Compiling C object src/cmd/ksh93/libksh.a.p/bltins_read.c.o ../src/cmd/ksh93/bltins/ulimit.c: In function 'b_ulimit': ../src/cmd/ksh93/bltins/ulimit.c:181:23: warning: 'i' may be used uninitialized [-Wmaybe-uninitialized] 181 | } else if (i != INFINITY) { | ^ ../src/cmd/ksh93/bltins/ulimit.c:68:12: note: 'i' was declared here 68 | rlim_t i; | ^ ../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) { | ~~~~^~~~~ [88/538] Compiling C object src/cmd/ksh93/libksh.a.p/bltins_pwd.c.o [89/538] Compiling C object src/cmd/ksh93/libksh.a.p/bltins_print.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); } | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/cmd/ksh93/edit/edit.c: In function 'ed_histgen': ../src/cmd/ksh93/edit/edit.c:1150:49: warning: 'mp' may be used uninitialized [-Wmaybe-uninitialized] 1150 | for (; l >= 0 && (*av = (char *)mp); mp = mp->next, av++) { | ~~~^~~~~~~~~~ ../src/cmd/ksh93/edit/edit.c:1090:18: note: 'mp' was declared here 1090 | Histmatch_t *mp, *mplast = NULL; | ^~ ../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); | ^~~~~~~~~~~~~~~~~~~~~~~~~ [90/538] Compiling C object src/cmd/ksh93/libksh.a.p/bltins_math.c.o [91/538] Compiling C object src/cmd/ksh93/libksh.a.p/bltins_let.c.o ../src/cmd/ksh93/bltins/source.c: In function 'b_source': ../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) { | ~~~~~~^~~~~~ [92/538] Compiling C object src/cmd/ksh93/libksh.a.p/bltins_jobs.c.o [93/538] Compiling C object src/cmd/ksh93/libksh.a.p/bltins_hist.c.o [94/538] Compiling C object src/cmd/ksh93/libksh.a.p/bltins_getopts.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; | ^~ [95/538] Compiling C object src/cmd/ksh93/libksh.a.p/bltins_fg.c.o [96/538] Compiling C object src/cmd/ksh93/libksh.a.p/bltins_false.c.o [97/538] Compiling C object src/cmd/ksh93/libksh.a.p/bltins_eval.c.o ../src/cmd/ksh93/bltins/trap.c: In function 'b_trap': ../src/cmd/ksh93/bltins/trap.c:178:23: warning: 'clear' may be used uninitialized [-Wmaybe-uninitialized] 178 | } else if (clear) { | ^ ../src/cmd/ksh93/bltins/trap.c:55:14: note: 'clear' was declared here 55 | int sig, clear; | ^~~~~ [98/538] Compiling C object src/cmd/ksh93/libksh.a.p/bltins_export.c.o [99/538] Compiling C object src/cmd/ksh93/libksh.a.p/bltins_exit.c.o [100/538] Compiling C object src/cmd/ksh93/libksh.a.p/bltins_exec_login.c.o [101/538] Compiling C object src/cmd/ksh93/libksh.a.p/bltins_enum.c.o [102/538] Compiling C object src/cmd/ksh93/libksh.a.p/bltins_disown.c.o [103/538] Compiling C object src/cmd/ksh93/libksh.a.p/bltins_continue.c.o [104/538] Compiling C object src/cmd/ksh93/libksh.a.p/bltins_command.c.o [105/538] Compiling C object src/cmd/ksh93/libksh.a.p/bltins_cd.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) { | ~~~~~~^~~~~~ ../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) { | ~~~~~~^~~~~~ [106/538] Compiling C object src/cmd/ksh93/libksh.a.p/bltins_builtin.c.o [107/538] Compiling C object src/cmd/ksh93/libksh.a.p/bltins_break.c.o [108/538] Compiling C object src/cmd/ksh93/libksh.a.p/bltins_bg.c.o [109/538] Compiling C object src/cmd/ksh93/libksh.a.p/bltins_alias.c.o [110/538] Compiling C object src/cmd/ksh93/cmds/libcmd.a.p/cut.c.o [111/538] Compiling C object src/cmd/ksh93/cmds/libcmd.a.p/cmp.c.o [112/538] Compiling C object src/cmd/ksh93/cmds/libcmd.a.p/cmdinit.c.o [113/538] Compiling C object src/cmd/ksh93/cmds/libcmd.a.p/chmod.c.o [114/538] Compiling C object src/cmd/ksh93/cmds/libcmd.a.p/cat.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); | ^~~~~~~ ../src/cmd/ksh93/sh/xec.c: 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:2330:33: warning: 'right' may be used uninitialized [-Wmaybe-uninitialized] 2330 | argv[3] = right; | ~~~~~~~~^~~~~~~ ../src/cmd/ksh93/sh/xec.c:2287:23: note: 'right' was declared here 2287 | char *right; | ^~~~~ ../src/cmd/ksh93/sh/xec.c:2337:25: warning: 'op' may be used uninitialized [-Wmaybe-uninitialized] 2337 | sfprintf(sfstderr, "%s %s ", sh_fmtq(left), op); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/cmd/ksh93/sh/xec.c:2322:27: note: 'op' was declared here 2322 | char *op; | ^~ ../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: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) { | ~~~~^~~~ [115/538] Compiling C object src/cmd/ksh93/cmds/libcmd.a.p/basename.c.o [116/538] Compiling C object src/cmd/ksh93/ksh.p/sh_pmain.c.o [117/538] Compiling C object src/lib/libast/tests/tm/tvgettime.p/tvgettime.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 [-Wmaybe-uninitialized] 268 | n = ap->nelem; | ~~^~~~~~~ ../src/cmd/ksh93/bltins/enum.c:216:15: note: 'ap' was declared here 216 | Namarr_t *ap; | ^~ [118/538] Compiling C object src/lib/libast/tests/string/utf.p/utf.c.o [119/538] Compiling C object src/lib/libast/tests/string/struniq.p/struniq.c.o [120/538] Compiling C object src/lib/libast/tests/string/strtonll.p/strtonll.c.o [121/538] Compiling C object src/lib/libast/tests/string/strsort.p/strsort.c.o [122/538] Compiling C object src/lib/libast/tests/string/strperm.p/strperm.c.o [123/538] Compiling C object src/lib/libast/tests/string/strmatch.p/strmatch.c.o ../src/cmd/ksh93/bltins/typeset.c: In function 'setall': ../src/cmd/ksh93/bltins/typeset.c:562:29: warning: 'ap' may be used uninitialized [-Wmaybe-uninitialized] 562 | if (ap && comvar) ap->flags |= ARRAY_TREE; | ^~ ../src/cmd/ksh93/bltins/typeset.c:440:23: note: 'ap' was declared here 440 | Namarr_t *ap; | ^~ [124/538] Compiling C object src/lib/libast/tests/string/strlcpy.p/strlcpy.c.o [125/538] Compiling C object src/lib/libast/tests/string/strlcat.p/strlcat.c.o [126/538] Compiling C object src/lib/libast/tests/string/stresc.p/stresc.c.o [127/538] Compiling C object src/lib/libast/tests/string/strelapsed.p/strelapsed.c.o [128/538] Compiling C object src/lib/libast/tests/string/fmttmx.p/fmttmx.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); | ^~~~~~~~~~~~~~~~ [129/538] Compiling C object src/lib/libast/tests/string/fmtscale.p/fmtscale.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: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, | ~~~~~~~~^~~~ [130/538] Compiling C object src/lib/libast/tests/string/fmtre.p/fmtre.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); | ^~~~~~~~~~~~~~~~ [131/538] Compiling C object src/lib/libast/tests/string/fmtperm.p/fmtperm.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); | ^~~~~~~~~~~~~~~~ [132/538] Compiling C object src/lib/libast/tests/string/fmtmode.p/fmtmode.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); | ^~~~~~~~~~~~~~~~ [133/538] Compiling C object src/lib/libast/tests/string/fmtmatch.p/fmtmatch.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); | ^~~~~~~~~~~~~~~~ [134/538] Compiling C object src/lib/libast/tests/string/fmtint.p/fmtint.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); | ^~~~~~~~~~~~~~~~ [135/538] Compiling C object src/lib/libast/tests/string/fmtfmt.p/fmtfmt.c.o ../src/cmd/ksh93/bltins/print.c: In function 'b_print': ../src/cmd/ksh93/bltins/print.c:191:19: warning: storing the address of local variable 'disc' in '*_opt_infop_.disc' [-Wdangling-pointer=] 191 | opt_info.disc = &disc; ../src/cmd/ksh93/bltins/print.c:186:15: note: 'disc' declared here 186 | Optdisc_t disc; | ^~~~ In file included from ../src/cmd/ksh93/include/name.h:36, from ../src/cmd/ksh93/include/builtins.h:24, from ../src/cmd/ksh93/bltins/print.c:40: ../src/lib/libast/include/option.h:68:15: note: '_opt_infop_' declared here 68 | extern Opt_t *_opt_infop_; | ^~~~~~~~~~~ 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); | ^~~~~~~~~~~~~~~~ [136/538] Compiling C object src/lib/libast/tests/string/fmtesc.p/fmtesc.c.o [137/538] Compiling C object src/lib/libast/tests/string/fmtelapsed.p/fmtelapsed.c.o [138/538] Compiling C object src/lib/libast/tests/string/fmtbase.p/fmtbase.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); | ^~~~~~~~~~~~~~~~ [139/538] Compiling C object src/lib/libast/tests/string/chresc.p/chresc.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); | ^~~~~~~~~~~~~~~~ [140/538] Compiling C object src/lib/libast/tests/string/base64.p/base64.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); | ^~~~~~~~~~~~~~~~ [141/538] Compiling C object src/lib/libast/tests/sfio/tprintf.p/tprintf.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); | ^~~~~~~~~~~~~~~~ [142/538] Compiling C object src/lib/libast/tests/sfio/twrrd.p/twrrd.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); | ^~~~~~~~~~~~~~~~ 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); | ^~~~~~~~~~~~~~~~ [143/538] Compiling C object src/lib/libast/tests/sfio/twhole.p/twhole.c.o [144/538] Compiling C object src/lib/libast/tests/sfio/tungetc.p/tungetc.c.o ../src/cmd/ksh93/sh/macro.c: In function 'varsub': ../src/cmd/ksh93/sh/macro.c:1305:30: warning: 'v' may be used uninitialized [-Wmaybe-uninitialized] 1305 | np = nv_putsub(np, v, 0, ARRAY_SCAN); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/cmd/ksh93/sh/macro.c:1035:11: note: 'v' was declared here 1035 | char *v; | ^ In function 'mac_getstring', inlined from 'varsub' at ../src/cmd/ksh93/sh/macro.c:1662:52: ../src/cmd/ksh93/sh/macro.c:2585:24: warning: 'dp' may be used uninitialized [-Wmaybe-uninitialized] 2585 | if (rep) *dp++ = c; | ~~~~~~^~~ ../src/cmd/ksh93/sh/macro.c: In function 'varsub': ../src/cmd/ksh93/sh/macro.c:2575:39: note: 'dp' was declared here 2575 | char *cp = pattern, *rep = NULL, *dp; | ^~ ../src/cmd/ksh93/sh/macro.c:1725:21: warning: 'vsize_last' may be used uninitialized [-Wmaybe-uninitialized] 1725 | sh_setmatch(mp->shp, vlast, vsize_last, nmatch, match, index++); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/cmd/ksh93/sh/macro.c:1672:34: note: 'vsize_last' was declared here 1672 | int nmatch, nmatch_prev, vsize_last, tsize; | ^~~~~~~~~~ ../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) { | ~~~~~~^~~~~~ [145/538] Compiling C object src/lib/libast/tests/sfio/ttmpfile.p/ttmpfile.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); | ^~~~~~~~~~~~~~~~ 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); | ^~~~~~~~~~~~~~~~ [146/538] Compiling C object src/lib/libast/tests/sfio/ttmp.p/ttmp.c.o [147/538] Compiling C object src/lib/libast/tests/sfio/ttell.p/ttell.c.o In function 'cutfields', inlined from 'b_cut' at ../src/cmd/ksh93/cmds/cut.c:595:13: ../src/cmd/ksh93/cmds/cut.c:431:20: warning: 'nfields' may be used uninitialized [-Wmaybe-uninitialized] 431 | if (--nfields > 0) continue; | ^ ../src/cmd/ksh93/cmds/cut.c: In function 'b_cut': ../src/cmd/ksh93/cmds/cut.c:301:12: note: 'nfields' was declared here 301 | int c, nfields; | ^~~~~~~ In function 'cutfields', inlined from 'b_cut' at ../src/cmd/ksh93/cmds/cut.c:595:13: ../src/cmd/ksh93/cmds/cut.c:445:24: warning: 'nodelim' may be used uninitialized [-Wmaybe-uninitialized] 445 | if (nodelim) { | ^ ../src/cmd/ksh93/cmds/cut.c: In function 'b_cut': ../src/cmd/ksh93/cmds/cut.c:304:9: note: 'nodelim' was declared here 304 | int nodelim, empty, inword = 0; | ^~~~~~~ In function 'cutfields', inlined from 'b_cut' at ../src/cmd/ksh93/cmds/cut.c:595:13: ../src/cmd/ksh93/cmds/cut.c:440:39: warning: 'empty' may be used uninitialized [-Wmaybe-uninitialized] 440 | copy = empty ? cp : wp; | ~~~~~~~~~~~^~~~ ../src/cmd/ksh93/cmds/cut.c: In function 'b_cut': ../src/cmd/ksh93/cmds/cut.c:304:18: note: 'empty' was declared here 304 | int nodelim, empty, inword = 0; | ^~~~~ In function 'cutfields', inlined from 'b_cut' at ../src/cmd/ksh93/cmds/cut.c:595:13: ../src/cmd/ksh93/cmds/cut.c:465:57: warning: 'first' may be used uninitialized [-Wmaybe-uninitialized] 465 | if (inword && nodelim && !cut->sflag && (c = cp - first) > 0) { | ~~~^~~~~~~ ../src/cmd/ksh93/cmds/cut.c: In function 'b_cut': ../src/cmd/ksh93/cmds/cut.c:306:25: note: 'first' was declared here 306 | unsigned char *bp, *first; | ^~~~~ [148/538] Linking static target src/cmd/ksh93/cmds/libcmd.a 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); | ^~~~~~~~~~~~~~~~ [149/538] Compiling C object src/lib/libast/tests/sfio/tsync.p/tsync.c.o [150/538] Compiling C object src/lib/libast/tests/sfio/tswap.p/tswap.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); | ^~~~~~~~~~~~~~~~ [151/538] Compiling C object src/lib/libast/tests/sfio/tstring.p/tstring.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); | ^~~~~~~~~~~~~~~~ [152/538] Compiling C object src/lib/libast/tests/sfio/tstkpk.p/tstkpk.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); | ^~~~~~~~~~~~~~~~ [153/538] Compiling C object src/lib/libast/tests/sfio/tstatus.p/tstatus.c.o In file included from /usr/include/string.h:535, from ../src/cmd/ksh93/sh/name.c:30: In function 'memcpy', inlined from 'nv_create' at ../src/cmd/ksh93/sh/name.c:729:22: /usr/include/bits/string_fortified.h:29:10: warning: 'sp' may be used uninitialized [-Wmaybe-uninitialized] 29 | return __builtin___memcpy_chk (__dest, __src, __len, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 30 |  __glibc_objsize0 (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/cmd/ksh93/sh/name.c: In function 'nv_create': ../src/cmd/ksh93/sh/name.c:712:11: note: 'sp' was declared here 712 | char *sp, *xp; | ^~ ../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) { | ~~~~~~~^~~~~ [154/538] Linking static target src/cmd/ksh93/libksh.a 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); | ^~~~~~~~~~~~~~~~ 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); | ^~~~~~~~~~~~~~~~ [155/538] Compiling C object src/lib/libast/tests/sfio/tstack.p/tstack.c.o [156/538] Compiling C object src/lib/libast/tests/sfio/tsize.p/tsize.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); | ^~~~~~~~~~~~~~~~ [157/538] Compiling C object src/lib/libast/tests/sfio/tshare.p/tshare.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); | ^~~~~~~~~~~~~~~~ [158/538] Compiling C object src/lib/libast/tests/sfio/tsfstr.p/tsfstr.c.o [159/538] Compiling C object src/lib/libast/tests/sfio/tsetfd.p/tsetfd.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); | ^~~~~~~~~~~~~~~~ [160/538] Compiling C object src/lib/libast/tests/sfio/tsetbuf.p/tsetbuf.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); | ^~~~~~~~~~~~~~~~ [161/538] Compiling C object src/lib/libast/tests/sfio/tseek.p/tseek.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); | ^~~~~~~~~~~~~~~~ [162/538] Compiling C object src/lib/libast/tests/sfio/tscanf1.p/tscanf1.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); | ^~~~~~~~~~~~~~~~ [163/538] Compiling C object src/lib/libast/tests/sfio/tscanf.p/tscanf.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); | ^~~~~~~~~~~~~~~~ [164/538] Compiling C object src/lib/libast/tests/sfio/tresize.p/tresize.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); | ^~~~~~~~~~~~~~~~ [165/538] Compiling C object src/lib/libast/tests/sfio/treserve.p/treserve.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); | ^~~~~~~~~~~~~~~~ [166/538] Compiling C object src/lib/libast/tests/sfio/trcrv.p/trcrv.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); | ^~~~~~~~~~~~~~~~ [167/538] Compiling C object src/lib/libast/tests/sfio/tputgetu.p/tputgetu.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); | ^~~~~~~~~~~~~~~~ [168/538] Compiling C object src/lib/libast/tests/sfio/tputgetr.p/tputgetr.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); | ^~~~~~~~~~~~~~~~ [169/538] Compiling C object src/lib/libast/tests/sfio/tputgetm.p/tputgetm.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); | ^~~~~~~~~~~~~~~~ [170/538] Compiling C object src/lib/libast/tests/sfio/tputgetl.p/tputgetl.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); | ^~~~~~~~~~~~~~~~ [171/538] Compiling C object src/lib/libast/tests/sfio/tputgetd.p/tputgetd.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); | ^~~~~~~~~~~~~~~~ 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); | ^~~~~~~~~~~~~~~~ [172/538] Compiling C object src/lib/libast/tests/sfio/tputgetc.p/tputgetc.c.o [173/538] Compiling C object src/lib/libast/tests/sfio/tpublic.p/tpublic.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); | ^~~~~~~~~~~~~~~~ [174/538] Compiling C object src/lib/libast/tests/sfio/tpopenrw.p/tpopenrw.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); | ^~~~~~~~~~~~~~~~ [175/538] Compiling C object src/lib/libast/tests/sfio/tpopen.p/tpopen.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); | ^~~~~~~~~~~~~~~~ [176/538] Compiling C object src/lib/libast/tests/sfio/tpool.p/tpool.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); | ^~~~~~~~~~~~~~~~ [177/538] Compiling C object src/lib/libast/tests/sfio/tpkrd.p/tpkrd.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); | ^~~~~~~~~~~~~~~~ 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); | ^~~~~~~~~~~~~~~~ [178/538] Compiling C object src/lib/libast/tests/sfio/tpipemove.p/tpipemove.c.o [179/538] Compiling C object src/lib/libast/tests/sfio/tpipe.p/tpipe.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); | ^~~~~~~~~~~~~~~~ [180/538] Compiling C object src/lib/libast/tests/sfio/topen.p/topen.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); | ^~~~~~~~~~~~~~~~ [181/538] Compiling C object src/lib/libast/tests/sfio/tnotify.p/tnotify.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); | ^~~~~~~~~~~~~~~~ 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); | ^~~~~~~~~~~~~~~~ [182/538] Compiling C object src/lib/libast/tests/sfio/tnoseek.p/tnoseek.c.o [183/538] Compiling C object src/lib/libast/tests/sfio/tmwrite.p/tmwrite.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); | ^~~~~~~~~~~~~~~~ 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); | ^~~~~~~~~~~~~~~~ [184/538] Compiling C object src/lib/libast/tests/sfio/tmultiple.p/tmultiple.c.o [185/538] Compiling C object src/lib/libast/tests/sfio/tmtsafe.p/tmtsafe.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); | ^~~~~~~~~~~~~~~~ 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); | ^~~~~~~~~~~~~~~~ [186/538] Compiling C object src/lib/libast/tests/sfio/tmprocess.p/tmprocess.c.o [187/538] Compiling C object src/lib/libast/tests/sfio/tmpread.p/tmpread.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); | ^~~~~~~~~~~~~~~~ [188/538] Compiling C object src/lib/libast/tests/sfio/tmprdwr.p/tmprdwr.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); | ^~~~~~~~~~~~~~~~ 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); | ^~~~~~~~~~~~~~~~ [189/538] Compiling C object src/lib/libast/tests/sfio/tmove.p/tmove.c.o [190/538] Compiling C object src/lib/libast/tests/sfio/tmode.p/tmode.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); | ^~~~~~~~~~~~~~~~ [191/538] Compiling C object src/lib/libast/tests/sfio/tlongdouble.p/tlongdouble.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/tlocale.p/tlocale.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); | ^~~~~~~~~~~~~~~~ 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); | ^~~~~~~~~~~~~~~~ [193/538] Compiling C object src/lib/libast/tests/sfio/tleak.p/tleak.c.o [194/538] Compiling C object src/lib/libast/tests/sfio/thole.p/thole.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); | ^~~~~~~~~~~~~~~~ [195/538] Compiling C object src/lib/libast/tests/sfio/tgetr.p/tgetr.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); | ^~~~~~~~~~~~~~~~ [196/538] Compiling C object src/lib/libast/tests/sfio/tfmt.p/tfmt.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); | ^~~~~~~~~~~~~~~~ [197/538] Compiling C object src/lib/libast/tests/sfio/tflags.p/tflags.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]; | ^~~ [198/538] Compiling C object src/lib/libast/tests/sfio/texcept.p/texcept.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); | ^~~~~~~~~~~~~~~~ [199/538] Compiling C object src/lib/libast/tests/sfio/terrno.p/terrno.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); | ^~~~~~~~~~~~~~~~ [200/538] Compiling C object src/lib/libast/tests/sfio/tclose.p/tclose.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); | ^~~~~~~~~~~~~~~~ [201/538] Compiling C object src/lib/libast/tests/sfio/tbadargs.p/tbadargs.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])); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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); | ^~~~~~~~~~~~~~~~ [202/538] Compiling C object src/lib/libast/tests/sfio/tatexit.p/tatexit.c.o [203/538] Compiling C object src/lib/libast/tests/sfio/tappend.p/tappend.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); | ^~~~~~~~~~~~~~~~ [204/538] Compiling C object src/lib/libast/tests/sfio/talign.p/talign.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); | ^~~~~~~~~~~~~~~~ [205/538] Compiling C object src/lib/libast/tests/sfio/talarm.p/talarm.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); | ^~~~~~~~~~~~~~~~ [206/538] Compiling C object src/lib/libast/tests/path/pathtemp.p/pathtemp.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); | ^~~~~~~~~~~~~~~~ [207/538] Compiling C object src/lib/libast/tests/path/pathstat.p/pathstat.c.o 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); | ^~~~~~~~~~~~~~~~ [208/538] Compiling C object src/lib/libast/tests/path/pathshell.p/pathshell.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); | ^~~~~~~~~~~~~~~~ [209/538] Compiling C object src/lib/libast/tests/path/pathpath.p/pathpath.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); | ^~~~~~~~~~~~~~~~ [210/538] Compiling C object src/lib/libast/tests/path/pathprog.p/pathprog.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); | ^~~~~~~~~~~~~~~~ [211/538] Compiling C object src/lib/libast/tests/path/pathgetlink.p/pathgetlink.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); | ^~~~~~~~~~~~~~~~ [212/538] Compiling C object src/lib/libast/tests/path/pathexists.p/pathexists.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); | ^~~~~~~~~~~~~~~~ [213/538] Compiling C object src/lib/libast/tests/path/pathcat.p/pathcat.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); | ^~~~~~~~~~~~~~~~ [214/538] Compiling C object src/lib/libast/tests/path/pathcanon.p/pathcanon.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); | ^~~~~~~~~~~~~~~~ [215/538] Compiling C object src/lib/libast/tests/path/pathbin.p/pathbin.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); | ^~~~~~~~~~~~~~~~ [216/538] Compiling C object src/lib/libast/tests/path/pathaccess.p/pathaccess.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); | ^~~~~~~~~~~~~~~~ [217/538] Compiling C object src/lib/libast/tests/misc/environ.p/environ.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])); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [218/538] Compiling C object src/lib/libast/tests/misc/stk.p/stk.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); | ^~~~~~~~~~~~~~~~ [219/538] Compiling C object src/lib/libast/tests/misc/glob.p/glob.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); | ^~~~~~~~~~~~~~~~ [220/538] Compiling C object src/lib/libast/tests/cdt/trehash.p/trehash.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); | ^~~~~~~~~~~~~~~~ [221/538] Compiling C object src/lib/libast/tests/cdt/tview.p/tview.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); | ^~~~~~~~~~~~~~~~ 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); | ^~~~~~~~~~~~~~~~ [222/538] Compiling C object src/lib/libast/tests/cdt/twalk.p/twalk.c.o [223/538] Compiling C object src/lib/libast/tests/cdt/tvthread.p/tvthread.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); | ^~~~~~~~~~~~~~~~ [224/538] Compiling C object src/lib/libast/tests/cdt/tuser.p/tuser.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)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [225/538] Compiling C object src/lib/libast/tests/cdt/tstringset.p/tstringset.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); | ^~~~~~~~~~~~~~~~ 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); | ^~~~~~~~~~~~~~~~ [226/538] Compiling C object src/lib/libast/tests/cdt/tsearch.p/tsearch.c.o [227/538] Compiling C object src/lib/libast/tests/cdt/trhbags.p/trhbags.c.o 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); | ^~~~~~~~~~~~~~~~ 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); | ^~~~~~~~~~~~~~~~ [228/538] Compiling C object src/lib/libast/tests/cdt/tqueue.p/tqueue.c.o [229/538] Compiling C object src/lib/libast/tests/cdt/tobag.p/tobag.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); | ^~~~~~~~~~~~~~~~ [230/538] Compiling C object src/lib/libast/tests/cdt/tlist.p/tlist.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); | ^~~~~~~~~~~~~~~~ [231/538] Compiling C object src/lib/libast/tests/cdt/tinstall.p/tinstall.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); | ^~~~~~~~~~~~~~~~ [232/538] Compiling C object src/lib/libast/tests/cdt/tevent.p/tevent.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); | ^~~~~~~~~~~~~~~~ [233/538] Compiling C object src/lib/libast/tests/cdt/tdtstack.p/tdtstack.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); | ^~~~~~~~~~~~~~~~ [234/538] Compiling C object src/lib/libast/tests/cdt/tdict.p/tdict.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); | ^~~~~~~~~~~~~~~~ [235/538] Compiling C object src/lib/libast/tests/cdt/tdeque.p/tdeque.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); | ^~~~~~~~~~~~~~~~ [236/538] Compiling C object src/lib/libast/tests/cdt/tbags.p/tbags.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); | ^~~~~~~~~~~~~~~~ [237/538] Compiling C object src/lib/libast/tests/cdt/tannounce.p/tannounce.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); | ^~~~~~~~~~~~~~~~ [238/538] Compiling C object src/lib/libast/tests/aso/tlock.p/tlock.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); | ^~~~~~~~~~~~~~~~ [239/538] Compiling C object src/lib/libast/libenv.a.p/misc_environ.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); | ^~~~~~~~~~~~~~~~ [240/538] Compiling C object src/lib/libast/libast.a.p/tm_tvtouch.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); | ^~~~~~~~~~~~~~~~ [241/538] Compiling C object src/lib/libast/libast.a.p/tm_tvsleep.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); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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); | ^~~~~~~~~~~~~~~~ [242/538] Compiling C object src/lib/libast/libast.a.p/tm_tvgettime.c.o [243/538] Compiling C object src/lib/libast/libast.a.p/tm_tmzone.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); | ^~~~~~~~~~~~~~~~ [244/538] Compiling C object src/lib/libast/libast.a.p/tm_tmxtime.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); | ^~~~~~~~~~~~~~~~ [245/538] Compiling C object src/lib/libast/libast.a.p/tm_tmxscan.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); | ^~~~~~~~~~~~~~~~ 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); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [246/538] Compiling C object src/lib/libast/libast.a.p/tm_tmxmake.c.o [247/538] Compiling C object src/lib/libast/libast.a.p/tm_tmxgettime.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); | ^~~~~~~~~~~~~~~~ [248/538] Compiling C object src/lib/libast/libast.a.p/tm_tmxfmt.c.o 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); | ^~~~~~~~~~~~~~~~ [249/538] Linking static target src/lib/libast/libenv.a [250/538] Compiling C object src/lib/libast/libast.a.p/tm_tmxdate.c.o [251/538] Compiling C object src/lib/libast/libast.a.p/tm_tmword.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); | ^~~~~~~~~~~~~~~~ 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); | ^~~~~~~~~~~~~~~~ [252/538] Compiling C object src/lib/libast/libast.a.p/tm_tmweek.c.o [253/538] Compiling C object src/lib/libast/libast.a.p/tm_tmtype.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); | ^~~~~~~~~~~~~~~~ [254/538] Compiling C object src/lib/libast/libast.a.p/tm_tmtime.c.o [255/538] Compiling C object src/lib/libast/libast.a.p/tm_tmsleep.c.o [256/538] Compiling C object src/lib/libast/libast.a.p/tm_tmpoff.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); | ^~~~~~~~~~~~~~~~ [257/538] Compiling C object src/lib/libast/libast.a.p/tm_tmmake.c.o [258/538] Compiling C object src/lib/libast/libast.a.p/tm_tmlocale.c.o [259/538] Compiling C object src/lib/libast/libast.a.p/tm_tmlex.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); | ^~~~~~~~~~~~~~~~ [260/538] Compiling C object src/lib/libast/libast.a.p/tm_tminit.c.o [261/538] Compiling C object src/lib/libast/libast.a.p/tm_tmgoff.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); | ^~~~~~~~~~~~~~~~ [262/538] Compiling C object src/lib/libast/libast.a.p/tm_tmfix.c.o [263/538] Compiling C object src/lib/libast/libast.a.p/tm_tmequiv.c.o [264/538] Compiling C object src/lib/libast/libast.a.p/tm_tmdata.c.o [265/538] Compiling C object src/lib/libast/libast.a.p/string_wcstoutf32s.c.o [266/538] Compiling C object src/lib/libast/libast.a.p/string_utf8toutf32.c.o [267/538] Compiling C object src/lib/libast/libast.a.p/string_utf32toutf8.c.o [268/538] Compiling C object src/lib/libast/libast.a.p/string_utf32stowcs.c.o [269/538] Compiling C object src/lib/libast/libast.a.p/string_struniq.c.o [270/538] Compiling C object src/lib/libast/libast.a.p/string_strtonll.c.o [271/538] Compiling C object src/lib/libast/libast.a.p/string_strsort.c.o [272/538] Compiling C object src/lib/libast/libast.a.p/string_strperm.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); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [273/538] Compiling C object src/lib/libast/libast.a.p/string_strmatch.c.o [274/538] Compiling C object src/lib/libast/libast.a.p/string_strlcpy.c.o [275/538] Compiling C object src/lib/libast/libast.a.p/string_strlcat.c.o [276/538] Compiling C object src/lib/libast/libast.a.p/string_stresc.c.o [277/538] Compiling C object src/lib/libast/libast.a.p/string_strelapsed.c.o [278/538] Compiling C object src/lib/libast/libast.a.p/string_modedata.c.o [279/538] Compiling C object src/lib/libast/libast.a.p/string_memdup.c.o [280/538] Compiling C object src/lib/libast/libast.a.p/string_fmttmx.c.o [281/538] Compiling C object src/lib/libast/libast.a.p/string_fmtscale.c.o [282/538] Compiling C object src/lib/libast/libast.a.p/string_fmtre.c.o [283/538] Compiling C object src/lib/libast/libast.a.p/string_fmtperm.c.o [284/538] Compiling C object src/lib/libast/libast.a.p/string_fmtmode.c.o [285/538] Compiling C object src/lib/libast/libast.a.p/string_fmtmatch.c.o [286/538] Compiling C object src/lib/libast/libast.a.p/string_fmtint.c.o [287/538] Compiling C object src/lib/libast/libast.a.p/string_fmtident.c.o [288/538] Compiling C object src/lib/libast/libast.a.p/string_fmtfmt.c.o [289/538] Compiling C object src/lib/libast/libast.a.p/string_fmtesc.c.o [290/538] Compiling C object src/lib/libast/libast.a.p/string_fmtelapsed.c.o [291/538] Compiling C object src/lib/libast/libast.a.p/string_fmtbuf.c.o [292/538] Compiling C object src/lib/libast/libast.a.p/string_fmtbase.c.o [293/538] Compiling C object src/lib/libast/libast.a.p/string_chresc.c.o [294/538] Compiling C object src/lib/libast/libast.a.p/string_base64.c.o [295/538] Compiling C object src/lib/libast/libast.a.p/sfio_sfwrite.c.o [296/538] Compiling C object src/lib/libast/libast.a.p/sfio_sfwr.c.o [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 [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 [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 [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 [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 ../src/lib/libast/sfio/sftable.c: In function 'sffmtpos': ../src/lib/libast/sfio/sftable.c:422:28: warning: 'size' may be used uninitialized [-Wmaybe-uninitialized] 422 | if (size == sizeof(Sfdouble_t)) { | ^ ../src/lib/libast/sfio/sftable.c:49:20: note: 'size' was declared here 49 | ssize_t n_str, size; | ^~~~ [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 [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 [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 ../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)); | ^~~~~~~~~~~~~~~~~~~~~~~~ [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 ../src/lib/libast/tm/tmxdate.c: In function 'tmxdate': ../src/lib/libast/tm/tmxdate.c:683:53: warning: 'k' may be used uninitialized [-Wmaybe-uninitialized] 683 | } else if ((*++t && dig1(t, k) < 1) || k > 7) { | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ ../src/lib/libast/tm/tmxdate.c:170:9: note: 'k' was declared here 170 | int k; | ^ ../src/lib/libast/tm/tmxdate.c:1469:24: warning: 'w' may be used uninitialized [-Wmaybe-uninitialized] 1469 | if (n < 0 || w > 4) break; | ~~^~~ ../src/lib/libast/tm/tmxdate.c:151:9: note: 'w' was declared here 151 | int w; | ^ [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 ../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); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [402/538] Compiling C object src/lib/libast/libast.a.p/cdt_dttree.c.o [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 ../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); | ^~~~~~~~~~ [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 In file included from ../src/lib/libast/sfio/sfvscanf.c:47: In function '_sfdscan', inlined from 'sfvscanf' at ../src/lib/libast/sfio/sfvscanf.c:757:23: ../src/lib/libast/sfio/sfstrtof.h:370:9: warning: 'back_n' may be used uninitialized [-Wmaybe-uninitialized] 370 | if (n && part < elementsof(parts)) { | ^ ../src/lib/libast/sfio/sfstrtof.h: In function 'sfvscanf': ../src/lib/libast/sfio/sfstrtof.h:187:15: note: 'back_n' was declared here 187 | S2F_batch back_n; | ^~~~~~ In function '_sfdscan', inlined from 'sfvscanf' at ../src/lib/libast/sfio/sfvscanf.c:757:23: ../src/lib/libast/sfio/sfstrtof.h:370:19: warning: 'back_part' may be used uninitialized [-Wmaybe-uninitialized] 370 | if (n && part < elementsof(parts)) { ../src/lib/libast/sfio/sfstrtof.h: In function 'sfvscanf': ../src/lib/libast/sfio/sfstrtof.h:186:9: note: 'back_part' was declared here 186 | int back_part; | ^~~~~~~~~ [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/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)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ [413/538] Compiling C object src/lib/libast/tests/aso/taso.p/taso.c.o ../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 [-Wmaybe-uninitialized] 676 | if (gp->gl_stak) stkinstall(oldstak, 0); | ^~~~~~~~~~~~~~~~~~~~~~ ../src/lib/libast/misc/glob.c:473:13: note: 'oldstak' was declared here 473 | Sfio_t *oldstak; | ^~~~~~~ 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); | ^~~~~~~~~~~~~~~~ In file included from ../src/lib/libast/sfio/sfhdr.h:68, from ../src/lib/libast/sfio/sfvprintf.c:33: ../src/lib/libast/sfio/sfvprintf.c: In function 'sfvprintf': ../src/lib/libast/include/ast.h:227:25: warning: 'wsp' may be used uninitialized [-Wmaybe-uninitialized] 227 | #define mbconv(s, w, q) wcrtomb((s), (w), (mbstate_t *)(q)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/lib/libast/sfio/sfvprintf.c:866:36: note: in expansion of macro 'mbconv' 866 | if ((n_s = mbconv(buf, *wsp++, &mbs)) <= 0) break; | ^~~~~~ ../src/lib/libast/sfio/sfvprintf.c:132:14: note: 'wsp' was declared here 132 | wchar_t *wsp; | ^~~ ../src/lib/libast/regex/regnexec.c: In function 'regnexec_parse': ../src/lib/libast/regex/regnexec.c:1013:21: warning: the comparison will always evaluate as 'true' for the pointer operand in 'env->bestpos->vec + (sizetype)(n * (ssize_t)env->bestpos->siz)' must not be NULL [-Waddress] 1013 | if (!vector(Pos_t, env->bestpos, n)) { | ^ ../src/lib/libast/regex/regcomp.c: In function 'regcomp_seq': ../src/lib/libast/regex/regcomp.c:2431:28: warning: 'n' may be used uninitialized [-Wmaybe-uninitialized] 2431 | if ((s -= n) == buf) { | ^~ ../src/lib/libast/regex/regcomp.c:2380:9: note: 'n' was declared here 2380 | int n; | ^ In file included from ../src/lib/libast/regex/regcomp.c:40: In function 'regcomp_bra', inlined from 'regcomp_seq' at ../src/lib/libast/regex/regcomp.c:2570:25: ../src/lib/libast/regex/reglib.h:157:50: warning: 'last' may be used uninitialized [-Wmaybe-uninitialized] 157 | #define bitset(p, c) ((p)[(c) >> 3] |= (1 << ((c)&07))) | ~~~~^~~~ ../src/lib/libast/regex/reglib.h:160:22: note: in expansion of macro 'bitset' 160 | #define setadd(p, c) bitset((p)->bits, c) | ^~~~~~ ../src/lib/libast/regex/regcomp.c:1192:25: note: in expansion of macro 'setadd' 1192 | setadd(e->re.charclass, last); | ^~~~~~ ../src/lib/libast/regex/regcomp.c: In function 'regcomp_seq': ../src/lib/libast/regex/regcomp.c:1076:9: note: 'last' was declared here 1076 | int last; | ^~~~ In function 'regcomp_bra', inlined from 'regcomp_seq' at ../src/lib/libast/regex/regcomp.c:2570:25: ../src/lib/libast/regex/regcomp.c:1422:52: warning: 'rp' may be used uninitialized [-Wmaybe-uninitialized] 1422 | if (inrange == 1) ce = regcomp_col(env, ce, ic, rp, rw, rc, NULL, 0, 0); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/lib/libast/regex/regcomp.c: In function 'regcomp_seq': ../src/lib/libast/regex/regcomp.c:1307:24: note: 'rp' was declared here 1307 | unsigned char *rp; | ^~ In function 'regcomp_bra', inlined from 'regcomp_seq' at ../src/lib/libast/regex/regcomp.c:2570:25: ../src/lib/libast/regex/regcomp.c:1422:52: warning: 'rw' may be used uninitialized [-Wmaybe-uninitialized] 1422 | if (inrange == 1) ce = regcomp_col(env, ce, ic, rp, rw, rc, NULL, 0, 0); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/lib/libast/regex/regcomp.c: In function 'regcomp_seq': ../src/lib/libast/regex/regcomp.c:1304:13: note: 'rw' was declared here 1304 | int rw; | ^~ In function 'regcomp_bra', inlined from 'regcomp_seq' at ../src/lib/libast/regex/regcomp.c:2570:25: ../src/lib/libast/regex/regcomp.c:1422:52: warning: 'rc' may be used uninitialized [-Wmaybe-uninitialized] 1422 | if (inrange == 1) ce = regcomp_col(env, ce, ic, rp, rw, rc, NULL, 0, 0); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/lib/libast/regex/regcomp.c: In function 'regcomp_seq': ../src/lib/libast/regex/regcomp.c:1305:13: note: 'rc' was declared here 1305 | int rc; | ^~ ../src/lib/libast/regex/regcomp.c:2441:24: warning: 'x' may be used uninitialized [-Wmaybe-uninitialized] 2441 | if (x >= 0) { | ^ ../src/lib/libast/regex/regcomp.c:2381:9: note: 'x' was declared here 2381 | int x; | ^ In file included from /usr/include/string.h:535, from ../src/lib/libast/regex/regcomp.c:33: In function 'memcpy', inlined from 'regcomp_seq' at ../src/lib/libast/regex/regcomp.c:2454:25: /usr/include/bits/string_fortified.h:29:10: warning: 'p' may be used uninitialized [-Wmaybe-uninitialized] 29 | return __builtin___memcpy_chk (__dest, __src, __len, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 30 |  __glibc_objsize0 (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ ../src/lib/libast/regex/regcomp.c: In function 'regcomp_seq': ../src/lib/libast/regex/regcomp.c:2388:20: note: 'p' was declared here 2388 | unsigned char *p; | ^ ../src/lib/libast/regex/regcomp.c: In function 'regcomp_grp': ../src/lib/libast/regex/regcomp.c:2352:13: warning: 'e' may be used uninitialized [-Wmaybe-uninitialized] 2352 | if (regcomp_stats(env, e)) { | ^~~~~~~~~~~~~~~~~~~~~ ../src/lib/libast/regex/regcomp.c:1844:12: note: 'e' was declared here 1844 | Rex_t *e; | ^ ../src/lib/libast/misc/optget.c: In function 'opthelp': ../src/lib/libast/misc/optget.c:2558:33: warning: 'cl' may be used uninitialized [-Wmaybe-uninitialized] 2558 | p = optget_textout(sp, p, cb, cl, style, 1, 3, sp_info, version, id, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2559 |  catalog, &hflags); | ~~~~~~~~~~~~~~~~~ ../src/lib/libast/misc/optget.c:1992:9: note: 'cl' was declared here 1992 | int cl; | ^~ ../src/lib/libast/misc/optget.c:3266:28: warning: 'dt' may be used uninitialized [-Wmaybe-uninitialized] 3266 | if (dt) { | ^ ../src/lib/libast/misc/optget.c:1981:11: note: 'dt' was declared here 1981 | char *dt; | ^~ ../src/lib/libast/misc/optget.c: In function 'optget': ../src/lib/libast/misc/optget.c:4437:32: warning: 'numchr' may be used uninitialized [-Wmaybe-uninitialized] 4437 | c = opt_info.option[1] = numchr; ../src/lib/libast/misc/optget.c:3643:9: note: 'numchr' was declared here 3643 | int numchr; | ^~~~~~ ../src/lib/libast/misc/optget.c: In function 'optstr': ../src/lib/libast/misc/optget.c:4835:27: warning: 'qc' may be used uninitialized [-Wmaybe-uninitialized] 4835 | qc++; | ~~^~ ../src/lib/libast/misc/optget.c:4767:9: note: 'qc' was declared here 4767 | int qc; | ^~ [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 ==> Entering fakeroot environment... ==> Starting package()... [1/8] Generating src/cmd/ksh93/include/version.h with a custom command [2/2] Installing files. Installing src/cmd/ksh93/ksh to /tmp/archlinux-ci/ksh-archlinuxrb-build-O1i0fpvg/ksh/trunk/pkg/ksh/usr/bin Installing src/cmd/ksh93/shcomp to /tmp/archlinux-ci/ksh-archlinuxrb-build-O1i0fpvg/ksh/trunk/pkg/ksh/usr/bin Installing /tmp/archlinux-ci/ksh-archlinuxrb-build-O1i0fpvg/ksh/trunk/src/ksh-2020.0.0/src/cmd/ksh93/docs/ksh.1 to /tmp/archlinux-ci/ksh-archlinuxrb-build-O1i0fpvg/ksh/trunk/pkg/ksh/usr/share/man/man1 ==> Tidying install... -> Removing libtool files... -> Purging unwanted files... -> Removing static library files... -> Stripping unneeded symbols from binaries and libraries... -> Compressing man and info pages... ==> Checking for packaging issues... ==> Creating package "ksh"... -> Generating .PKGINFO file... -> Generating .BUILDINFO file... -> Adding install file... -> Generating .MTREE file... -> Compressing package... ==> Leaving fakeroot environment. ==> Finished making: ksh 2020.0.0-3 (Tue Aug 27 11:18:10 2024)