Cook: procps 3.2.8 ================================================================================ QA: checking package receipt... Checking build dependencies... Extracting source archive "procps-3.2.8.tar.gz" Executing: compile_rules CFLAGS : -march=i486 -Os -pipe -mindirect-branch=thunk CXXLAGS : -march=i486 -Os -pipe -mindirect-branch=thunk CPPFLAGS : -D_GLIBCXX_USE_C99_MATH=1 LDFLAGS : -Wl,-Os,--as-needed Applying patch procps-3.2.8+gmake-3.82.patch patching file Makefile cc -D_GNU_SOURCE -I proc -I/usr/include/ncurses -MM -MG proc/readproc.c proc/smaps.c proc/devname.c proc/whattime.c proc/sysinfo.c proc/ksym.c proc/slab.c proc/version.c proc/escape.c proc/alloc.c proc/sig.c proc/pwcache.c > proc/.depend cc -D_GNU_SOURCE -I proc -I/usr/include/ncurses -fno-common -ffast-math -W -Wall -Wshadow -Wcast-align -Wredundant-decls -Wbad-function-cast -Wcast-qual -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -O2 -s -Wdeclaration-after-statement -Wpadded -Wstrict-aliasing -fweb -frename-registers -fomit-frame-pointer -fno-inline-functions -c -o uptime.o uptime.c cc -c -D_GNU_SOURCE -I proc -I/usr/include/ncurses -fno-common -ffast-math -W -Wall -Wshadow -Wcast-align -Wredundant-decls -Wbad-function-cast -Wcast-qual -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -O2 -s -Wdeclaration-after-statement -Wpadded -Wstrict-aliasing -fweb -frename-registers -fomit-frame-pointer -fno-inline-functions -DSHARED=1 -fpic proc/smaps.c -o proc/smaps.o cc -c -D_GNU_SOURCE -I proc -I/usr/include/ncurses -fno-common -ffast-math -W -Wall -Wshadow -Wcast-align -Wredundant-decls -Wbad-function-cast -Wcast-qual -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -O2 -s -Wdeclaration-after-statement -Wpadded -Wstrict-aliasing -fweb -frename-registers -fomit-frame-pointer -fno-inline-functions -DSHARED=1 -fpic proc/devname.c -o proc/devname.o cc -c -D_GNU_SOURCE -I proc -I/usr/include/ncurses -fno-common -ffast-math -W -Wall -Wshadow -Wcast-align -Wredundant-decls -Wbad-function-cast -Wcast-qual -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -O2 -s -Wdeclaration-after-statement -Wpadded -Wstrict-aliasing -fweb -frename-registers -fomit-frame-pointer -fno-inline-functions -DSHARED=1 -fpic proc/whattime.c -o proc/whattime.o cc -c -D_GNU_SOURCE -I proc -I/usr/include/ncurses -fno-common -ffast-math -W -Wall -Wshadow -Wcast-align -Wredundant-decls -Wbad-function-cast -Wcast-qual -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -O2 -s -Wdeclaration-after-statement -Wpadded -Wstrict-aliasing -fweb -frename-registers -fomit-frame-pointer -fno-inline-functions -DSHARED=1 -fpic proc/sysinfo.c -o proc/sysinfo.o cc -c -D_GNU_SOURCE -I proc -I/usr/include/ncurses -fno-common -ffast-math -W -Wall -Wshadow -Wcast-align -Wredundant-decls -Wbad-function-cast -Wcast-qual -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -O2 -s -Wdeclaration-after-statement -Wpadded -Wstrict-aliasing -fweb -frename-registers -fomit-frame-pointer -fno-inline-functions -DSHARED=1 -fpic proc/ksym.c -o proc/ksym.o cc -c -D_GNU_SOURCE -I proc -I/usr/include/ncurses -fno-common -ffast-math -W -Wall -Wshadow -Wcast-align -Wredundant-decls -Wbad-function-cast -Wcast-qual -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -O2 -s -Wdeclaration-after-statement -Wpadded -Wstrict-aliasing -fweb -frename-registers -fomit-frame-pointer -fno-inline-functions -DSHARED=1 -fpic proc/slab.c -o proc/slab.o cc -D_GNU_SOURCE -I proc -I/usr/include/ncurses -fno-common -ffast-math -W -Wall -Wshadow -Wcast-align -Wredundant-decls -Wbad-function-cast -Wcast-qual -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -O2 -s -Wdeclaration-after-statement -Wpadded -Wstrict-aliasing -fweb -frename-registers -fomit-frame-pointer -fno-inline-functions -DSHARED=1 -fpic -DVERSION=\"3\" -DSUBVERSION=\"2\" -DMINORVERSION=\"8\" -c -o proc/version.o proc/version.c proc/devname.c: In function 'load_drivers': proc/devname.c:87:12: warning: comparison of integer expressions of different signedness: 'int' and 'unsigned int' [-Wsign-compare] if(len >= sizeof tmn->name) ^~ proc/slab.c:99:1: warning: multi-line comment [-Wcomment] // # name \ ^ proc/slab.c:104:1: warning: multi-line comment [-Wcomment] // # name \ ^ proc/slab.c:111:1: warning: multi-line comment [-Wcomment] // # name \ ^ proc/slab.c:116:1: warning: multi-line comment [-Wcomment] // # name \ ^ proc/sysinfo.c: In function 'getstat': proc/sysinfo.c:391:3: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read(fd,buff,BUFFSIZE-1); ^~~~~~~~~~~~~~~~~~~~~~~~ proc/sysinfo.c: In function 'getrunners': proc/sysinfo.c:352:5: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read(fd, tbuf, sizeof tbuf - 1); // need 32 byte buffer at most ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -c -D_GNU_SOURCE -I proc -I/usr/include/ncurses -fno-common -ffast-math -W -Wall -Wshadow -Wcast-align -Wredundant-decls -Wbad-function-cast -Wcast-qual -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -O2 -s -Wdeclaration-after-statement -Wpadded -Wstrict-aliasing -fweb -frename-registers -fomit-frame-pointer -fno-inline-functions -DSHARED=1 -fpic proc/escape.c -o proc/escape.o cc -c -D_GNU_SOURCE -I proc -I/usr/include/ncurses -fno-common -ffast-math -W -Wall -Wshadow -Wcast-align -Wredundant-decls -Wbad-function-cast -Wcast-qual -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -O2 -s -Wdeclaration-after-statement -Wpadded -Wstrict-aliasing -fweb -frename-registers -fomit-frame-pointer -fno-inline-functions -DSHARED=1 -fpic proc/alloc.c -o proc/alloc.o cc -c -D_GNU_SOURCE -I proc -I/usr/include/ncurses -fno-common -ffast-math -W -Wall -Wshadow -Wcast-align -Wredundant-decls -Wbad-function-cast -Wcast-qual -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -O2 -s -Wdeclaration-after-statement -Wpadded -Wstrict-aliasing -fweb -frename-registers -fomit-frame-pointer -fno-inline-functions -DSHARED=1 -fpic proc/readproc.c -o proc/readproc.o In file included from proc/escape.h:7, from proc/escape.c:15: proc/readproc.h:76:2: warning: padding struct to align 'start_code' [-Wpadded] start_code, // stat address of beginning of code segment ^~~~~~~~~~ cc -c -D_GNU_SOURCE -I proc -I/usr/include/ncurses -fno-common -ffast-math -W -Wall -Wshadow -Wcast-align -Wredundant-decls -Wbad-function-cast -Wcast-qual -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -O2 -s -Wdeclaration-after-statement -Wpadded -Wstrict-aliasing -fweb -frename-registers -fomit-frame-pointer -fno-inline-functions -DSHARED=1 -fpic proc/sig.c -o proc/sig.o In file included from proc/readproc.c:13: proc/readproc.h:76:2: warning: padding struct to align 'start_code' [-Wpadded] start_code, // stat address of beginning of code segment ^~~~~~~~~~ cc -c -D_GNU_SOURCE -I proc -I/usr/include/ncurses -fno-common -ffast-math -W -Wall -Wshadow -Wcast-align -Wredundant-decls -Wbad-function-cast -Wcast-qual -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -O2 -s -Wdeclaration-after-statement -Wpadded -Wstrict-aliasing -fweb -frename-registers -fomit-frame-pointer -fno-inline-functions -DSHARED=1 -fpic proc/pwcache.c -o proc/pwcache.o proc/escape.c: In function 'escape_command': proc/escape.c:184:23: warning: to be safe all intermediate pointers in cast from 'char ** const' to 'const char **' must be 'const' qualified [-Wcast-qual] const char **lc = (const char**)pp->cmdline; ^ proc/sysinfo.c: In function 'getstat': proc/sysinfo.c:347:26: warning: '%s' directive writing up to 255 bytes into a region of size 26 [-Wformat-overflow=] sprintf(tbuf, "/proc/%s/stat", ent->d_name); ^~ In file included from /usr/include/stdio.h:873, from proc/sysinfo.c:12: /usr/include/bits/stdio2.h:36:10: note: '__builtin___sprintf_chk' output between 12 and 267 bytes into a destination of size 32 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -D_GNU_SOURCE -I proc -I/usr/include/ncurses -fno-common -ffast-math -W -Wall -Wshadow -Wcast-align -Wredundant-decls -Wbad-function-cast -Wcast-qual -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -O2 -s -Wdeclaration-after-statement -Wpadded -Wstrict-aliasing -fweb -frename-registers -fomit-frame-pointer -fno-inline-functions -c -o tload.o tload.c proc/readproc.c: In function 'status2proc': proc/readproc.c:176:33: warning: array subscript has type 'char' [-Wchar-subscripts] entry = table[63 & (asso[S[3]] + asso[S[2]] + asso[S[0]])]; ^ proc/readproc.c:176:46: warning: array subscript has type 'char' [-Wchar-subscripts] entry = table[63 & (asso[S[3]] + asso[S[2]] + asso[S[0]])]; ^ proc/readproc.c:176:59: warning: array subscript has type 'char' [-Wchar-subscripts] entry = table[63 & (asso[S[3]] + asso[S[2]] + asso[S[0]])]; ^ proc/readproc.c: In function 'stat2proc': proc/readproc.c:359:8: warning: use of assignment suppression and length modifier together in gnu_scanf format [-Wformat=] "%c " ^~~~~ proc/readproc.c:359:8: warning: use of assignment suppression and length modifier together in gnu_scanf format [-Wformat=] proc/readproc.c: In function 'statm2proc': proc/readproc.c:403:9: warning: variable 'num' set but not used [-Wunused-but-set-variable] int num; ^~~ At top level: proc/readproc.c:41:27: warning: 'unhex' defined but not used [-Wunused-function] static unsigned long long unhex(const char *restrict cp){ ^~~~~ cc -D_GNU_SOURCE -I proc -I/usr/include/ncurses -fno-common -ffast-math -W -Wall -Wshadow -Wcast-align -Wredundant-decls -Wbad-function-cast -Wcast-qual -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -O2 -s -Wdeclaration-after-statement -Wpadded -Wstrict-aliasing -fweb -frename-registers -fomit-frame-pointer -fno-inline-functions -c -o free.o free.c cc -D_GNU_SOURCE -I proc -I/usr/include/ncurses -fno-common -ffast-math -W -Wall -Wshadow -Wcast-align -Wredundant-decls -Wbad-function-cast -Wcast-qual -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -O2 -s -Wdeclaration-after-statement -Wpadded -Wstrict-aliasing -fweb -frename-registers -fomit-frame-pointer -fno-inline-functions -c w.c cc -D_GNU_SOURCE -I proc -I/usr/include/ncurses -fno-common -ffast-math -W -Wall -Wshadow -Wcast-align -Wredundant-decls -Wbad-function-cast -Wcast-qual -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -O2 -s -Wdeclaration-after-statement -Wpadded -Wstrict-aliasing -fweb -frename-registers -fomit-frame-pointer -fno-inline-functions -c -o top.o top.c In file included from w.c:10: proc/readproc.h:76:2: warning: padding struct to align 'start_code' [-Wpadded] start_code, // stat address of beginning of code segment ^~~~~~~~~~ tload.c:33:12: warning: redundant redeclaration of 'optind' [-Wredundant-decls] extern int optind; ^~~~~~ In file included from /usr/include/bits/getopt_posix.h:27, from /usr/include/unistd.h:869, from tload.c:19: /usr/include/bits/getopt_core.h:50:12: note: previous declaration of 'optind' was here extern int optind; ^~~~~~ tload.c:34:14: warning: redundant redeclaration of 'optarg' [-Wredundant-decls] extern char *optarg; ^~~~~~ In file included from /usr/include/bits/getopt_posix.h:27, from /usr/include/unistd.h:869, from tload.c:19: /usr/include/bits/getopt_core.h:36:14: note: previous declaration of 'optarg' was here extern char *optarg; ^~~~~~ tload.c: In function 'main': tload.c:152:2: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(fd, "\033[H", 3); ^~~~~~~~~~~~~~~~~~~~~~ tload.c:153:2: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(fd, screen, scr_size - 1); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -D_GNU_SOURCE -I proc -I/usr/include/ncurses -fno-common -ffast-math -W -Wall -Wshadow -Wcast-align -Wredundant-decls -Wbad-function-cast -Wcast-qual -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -O2 -s -Wdeclaration-after-statement -Wpadded -Wstrict-aliasing -fweb -frename-registers -fomit-frame-pointer -fno-inline-functions -c -o vmstat.o vmstat.c w.c: In function 'getproc': w.c:161:24: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] if(!ignoreuser && uid != tmp->euid && uid != tmp->ruid) continue; ^~ w.c:161:44: warning: comparison of integer expressions of different signedness: 'unsigned int' and 'int' [-Wsign-compare] if(!ignoreuser && uid != tmp->euid && uid != tmp->ruid) continue; ^~ cc -D_GNU_SOURCE -I proc -I/usr/include/ncurses -fno-common -ffast-math -W -Wall -Wshadow -Wcast-align -Wredundant-decls -Wbad-function-cast -Wcast-qual -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -O2 -s -Wdeclaration-after-statement -Wpadded -Wstrict-aliasing -fweb -frename-registers -fomit-frame-pointer -fno-inline-functions -c -o watch.o watch.c cc -D_GNU_SOURCE -I proc -I/usr/include/ncurses -fno-common -ffast-math -W -Wall -Wshadow -Wcast-align -Wredundant-decls -Wbad-function-cast -Wcast-qual -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -O2 -s -Wdeclaration-after-statement -Wpadded -Wstrict-aliasing -fweb -frename-registers -fomit-frame-pointer -fno-inline-functions -c -o skill.o skill.c proc/readproc.c: In function 'simple_nexttid': proc/readproc.c:738:46: warning: '%s' directive output may be truncated writing up to 255 bytes into a region of size between 41 and 51 [-Wformat-truncation=] snprintf(path, PROCPATHLEN, "/proc/%d/task/%s", p->tgid, ent->d_name); ^~ In file included from /usr/include/stdio.h:873, from proc/readproc.c:18: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 14 and 279 bytes into a destination of size 64 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from top.c:49: proc/readproc.h:76:2: warning: padding struct to align 'start_code' [-Wpadded] start_code, // stat address of beginning of code segment ^~~~~~~~~~ In file included from top.c:56: top.h:342:1: warning: padding struct size to alignment boundary [-Wpadded] } WIN_t; ^ top.c: In function 'capsmk': top.c:489:30: warning: value computed is not used [-Wunused-value] #define CAPCOPY(dst,src) src && strcpy(dst,src) ^~ top.c:506:7: note: in expansion of macro 'CAPCOPY' CAPCOPY(Cap_clr_eol, clr_eol); ^~~~~~~ top.c:489:30: warning: value computed is not used [-Wunused-value] #define CAPCOPY(dst,src) src && strcpy(dst,src) ^~ top.c:507:7: note: in expansion of macro 'CAPCOPY' CAPCOPY(Cap_clr_eos, clr_eos); ^~~~~~~ top.c:489:30: warning: value computed is not used [-Wunused-value] #define CAPCOPY(dst,src) src && strcpy(dst,src) ^~ top.c:508:7: note: in expansion of macro 'CAPCOPY' CAPCOPY(Cap_clr_scr, clear_screen); ^~~~~~~ top.c:489:30: warning: value computed is not used [-Wunused-value] #define CAPCOPY(dst,src) src && strcpy(dst,src) ^~ top.c:511:10: note: in expansion of macro 'CAPCOPY' CAPCOPY(Cap_rmam, exit_am_mode); ^~~~~~~ top.c:489:30: warning: value computed is not used [-Wunused-value] #define CAPCOPY(dst,src) src && strcpy(dst,src) ^~ top.c:512:10: note: in expansion of macro 'CAPCOPY' CAPCOPY(Cap_smam, enter_am_mode); ^~~~~~~ top.c:489:30: warning: value computed is not used [-Wunused-value] #define CAPCOPY(dst,src) src && strcpy(dst,src) ^~ top.c:522:7: note: in expansion of macro 'CAPCOPY' CAPCOPY(Cap_curs_huge, cursor_visible); ^~~~~~~ top.c:489:30: warning: value computed is not used [-Wunused-value] #define CAPCOPY(dst,src) src && strcpy(dst,src) ^~ top.c:523:7: note: in expansion of macro 'CAPCOPY' CAPCOPY(Cap_curs_norm, cursor_normal); ^~~~~~~ top.c:489:30: warning: value computed is not used [-Wunused-value] #define CAPCOPY(dst,src) src && strcpy(dst,src) ^~ top.c:524:7: note: in expansion of macro 'CAPCOPY' CAPCOPY(Cap_home, cursor_home); ^~~~~~~ top.c:489:30: warning: value computed is not used [-Wunused-value] #define CAPCOPY(dst,src) src && strcpy(dst,src) ^~ top.c:525:7: note: in expansion of macro 'CAPCOPY' CAPCOPY(Cap_norm, exit_attribute_mode); ^~~~~~~ top.c:489:30: warning: value computed is not used [-Wunused-value] #define CAPCOPY(dst,src) src && strcpy(dst,src) ^~ top.c:526:7: note: in expansion of macro 'CAPCOPY' CAPCOPY(Cap_reverse, enter_reverse_mode); ^~~~~~~ In file included from top.c:56: top.c: In function 'show_special': top.h:156:15: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] _ptr = "\n"; \ ^ top.c:691:12: note: in expansion of macro 'PUFF' else PUFF("%s%s\n", row, Cap_clr_eol); ^~~~ top.c: In function 'good_uid': top.c:854:20: warning: comparison of integer expressions of different signedness: 'int' and 'uid_t' {aka 'unsigned int'} [-Wsign-compare] if (pp->ruid == selection_uid) return 1; ^~ top.c:855:20: warning: comparison of integer expressions of different signedness: 'int' and 'uid_t' {aka 'unsigned int'} [-Wsign-compare] if (pp->suid == selection_uid) return 1; ^~ top.c:856:20: warning: comparison of integer expressions of different signedness: 'int' and 'uid_t' {aka 'unsigned int'} [-Wsign-compare] if (pp->fuid == selection_uid) return 1; ^~ top.c:859:20: warning: comparison of integer expressions of different signedness: 'int' and 'uid_t' {aka 'unsigned int'} [-Wsign-compare] if (pp->euid == selection_uid) return 1; ^~ top.c: In function 'prochlp': top.c:1075:56: warning: passing argument 5 of 'bsearch' from incompatible pointer type [-Wincompatible-pointer-types] ptr = bsearch(&tmp, hist_sav, maxt_sav, sizeof tmp, sort_HST_t); ^~~~~~~~~~ In file included from /usr/include/stdlib.h:822, from top.c:34: /usr/include/bits/stdlib-bsearch.h:21:17: note: expected '__compar_fn_t' {aka 'int (*)(const void *, const void *)'} but argument is of type 'int (*)(const HST_t *, const HST_t *)' {aka 'int (*)(const struct HST_t *, const struct HST_t *)'} __compar_fn_t __compar) ~~~~~~~~~~~~~~^~~~~~~~ top.c: In function 'summary_show': top.c:2959:35: warning: passing argument 5 of 'select' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] select(0, NULL, NULL, NULL, &tv); // ought to loop until done ^~~ In file included from /usr/include/sys/time.h:32, from top.c:24: /usr/include/sys/select.h:104:33: note: expected 'struct timeval * restrict' but argument is of type 'volatile struct timeval *' struct timeval *__restrict __timeout); ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ cc -D_GNU_SOURCE -I proc -I/usr/include/ncurses -fno-common -ffast-math -W -Wall -Wshadow -Wcast-align -Wredundant-decls -Wbad-function-cast -Wcast-qual -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -O2 -s -Wdeclaration-after-statement -Wpadded -Wstrict-aliasing -fweb -frename-registers -fomit-frame-pointer -fno-inline-functions -c -o sysctl.o sysctl.c watch.c: In function 'main': watch.c:255:4: warning: ignoring return value of 'asprintf', declared with attribute warn_unused_result [-Wunused-result] asprintf(&header, "Every %.1fs: %.*s", ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ interval, min(width - 1, command_length), command); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from top.c:56: top.c: In function 'task_show': top.h:156:15: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] _ptr = "\n"; \ ^ top.c:3179:4: note: in expansion of macro 'PUFF' PUFF( ^~~~ top.c: In function 'window_show': top.h:156:15: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] _ptr = "\n"; \ ^ top.c:3205:4: note: in expansion of macro 'PUFF' PUFF("\n%s%s%s%s", q->capclr_hdr, q->columnhdr, Caps_off, Cap_clr_eol); ^~~~ top.c: In function 'main': top.c:3379:38: warning: passing argument 5 of 'select' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] select(0, NULL, NULL, NULL, &tv); // ought to loop until done ^~~ In file included from /usr/include/sys/time.h:32, from top.c:24: /usr/include/sys/select.h:104:33: note: expected 'struct timeval * restrict' but argument is of type 'volatile struct timeval *' struct timeval *__restrict __timeout); ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ top.c:3398:40: warning: passing argument 5 of 'select' discards 'volatile' qualifier from pointer target type [-Wdiscarded-qualifiers] select(1, &fs, NULL, NULL, &tv); ^~~ In file included from /usr/include/sys/time.h:32, from top.c:24: /usr/include/sys/select.h:104:33: note: expected 'struct timeval * restrict' but argument is of type 'volatile struct timeval *' struct timeval *__restrict __timeout); ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~ skill.c: In function 'skillsnice_parse': skill.c:479:15: warning: this statement may fall through [-Wimplicit-fallthrough=] if(stat(argptr,&sbuf)<0) break; /* the shell eats '?' */ ^ skill.c:480:11: note: here case '-': ^~~~ skill.c:488:9: warning: this statement may fall through [-Wimplicit-fallthrough=] if(force) continue; ^ skill.c:489:5: note: here case 'u': ^~~~ skill.c:499:9: warning: this statement may fall through [-Wimplicit-fallthrough=] if(force) continue; ^ skill.c:500:5: note: here case 'p': ^~~~ skill.c:512:9: warning: this statement may fall through [-Wimplicit-fallthrough=] if(num_found) continue; /* could still be an option */ ^ skill.c:513:5: note: here case 'c': ^~~~ skill.c: In function 'check_proc': skill.c:140:3: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result] read(fd,buf,128); ^~~~~~~~~~~~~~~~ top.c: In function 'show_special': top.c:672:31: warning: this statement may fall through [-Wimplicit-fallthrough=] *(sub_end + 1) = '\0'; /* extend str end, then fall through */ ~~~~~~~~~~~~~~~^~~~~~ top.c:673:13: note: here case 1 ... 8: ^~~~ cc -D_GNU_SOURCE -I proc -I/usr/include/ncurses -fno-common -ffast-math -W -Wall -Wshadow -Wcast-align -Wredundant-decls -Wbad-function-cast -Wcast-qual -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -O2 -s -Wdeclaration-after-statement -Wpadded -Wstrict-aliasing -fweb -frename-registers -fomit-frame-pointer -fno-inline-functions -c -o pmap.o pmap.c cc -D_GNU_SOURCE -I proc -I/usr/include/ncurses -fno-common -ffast-math -W -Wall -Wshadow -Wcast-align -Wredundant-decls -Wbad-function-cast -Wcast-qual -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -O2 -s -Wdeclaration-after-statement -Wpadded -Wstrict-aliasing -fweb -frename-registers -fomit-frame-pointer -fno-inline-functions -c -o pgrep.o pgrep.c In file included from pmap.c:24: proc/readproc.h:76:2: warning: padding struct to align 'start_code' [-Wpadded] start_code, // stat address of beginning of code segment ^~~~~~~~~~ pmap.c:43:36: warning: conversion from 'long long unsigned int' to 'long unsigned int' changes value from '18446744073709551615' to '4294967295' [-Woverflow] static unsigned KLONG range_high = ~0ull; ^ pmap.c: In function 'main': pmap.c:311:13: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] char *arg2 = strchr(arg1,','); ^~~~ pmap.c:314:18: warning: operation on 'arg2' may be undefined [-Wsequence-point] arg2 = arg2 ? arg2++ : arg1; ~~~~~^~~~~~~~~~~~~~~~~~~~~~ In file included from pgrep.c:30: proc/readproc.h:76:2: warning: padding struct to align 'start_code' [-Wpadded] start_code, // stat address of beginning of code segment ^~~~~~~~~~ pgrep.c:158:5: warning: no previous prototype for 'fcntl_lock' [-Wmissing-prototypes] int fcntl_lock(int fd, int cmd, int type, int whence, int start, int len) ^~~~~~~~~~ cc -D_GNU_SOURCE -I proc -I/usr/include/ncurses -fno-common -ffast-math -W -Wall -Wshadow -Wcast-align -Wredundant-decls -Wbad-function-cast -Wcast-qual -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -O2 -s -Wdeclaration-after-statement -Wpadded -Wstrict-aliasing -fweb -frename-registers -fomit-frame-pointer -fno-inline-functions -c -o slabtop.o slabtop.c top.c: In function 'msg_save': top.c:577:55: warning: '%s' directive output may be truncated writing up to 319 bytes into a region of size 314 [-Wformat-truncation=] snprintf(Msg_delayed, sizeof(Msg_delayed), "\a*** %s ***", strim_0(tmp)); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:873, from /usr/include/curses.h:183, from top.c:28: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 12 and 331 bytes into a destination of size 320 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from top.c:56: top.c: In function 'show_special': top.c:690:26: warning: '%s' directive output may be truncated writing up to 31 bytes into a region of size between 1 and 640 [-Wformat-truncation=] if (interact) PUTT("%s%s\n", row, Cap_clr_eol); ^~~~~~~~ ~~~~~~~~~~~ top.h:121:36: note: in definition of macro 'PUTT' snprintf(_str, sizeof(_str), fmt, ## arg); \ ^~~ In file included from /usr/include/stdio.h:873, from /usr/include/curses.h:183, from top.c:28: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 2 and 672 bytes into a destination of size 640 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -D_GNU_SOURCE -I proc -I/usr/include/ncurses -fno-common -ffast-math -W -Wall -Wshadow -Wcast-align -Wredundant-decls -Wbad-function-cast -Wcast-qual -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -O2 -s -Wdeclaration-after-statement -Wpadded -Wstrict-aliasing -fweb -frename-registers -fomit-frame-pointer -fno-inline-functions -c -o pwdx.o pwdx.c cc -fno-common -ffast-math -W -Wall -Wshadow -Wcast-align -Wredundant-decls -Wbad-function-cast -Wcast-qual -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -O2 -s -Wdeclaration-after-statement -Wpadded -Wstrict-aliasing -fweb -frename-registers -fomit-frame-pointer -fno-inline-functions -Wl,-warn-common -shared -Wl,-soname,libproc-3.2.8.so -Wl,--version-script=proc/library.map -o proc/libproc-3.2.8.so proc/smaps.o proc/devname.o proc/whattime.o proc/sysinfo.o proc/ksym.o proc/slab.o proc/version.o proc/escape.o proc/alloc.o proc/readproc.o proc/sig.o proc/pwcache.o -lc cc -fno-common -ffast-math -W -Wall -Wshadow -Wcast-align -Wredundant-decls -Wbad-function-cast -Wcast-qual -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -O2 -s -Wdeclaration-after-statement -Wpadded -Wstrict-aliasing -fweb -frename-registers -fomit-frame-pointer -fno-inline-functions watch.o -Wl,-warn-common -o watch -lncurses pwdx.c: In function 'main': pwdx.c:85:36: warning: passing argument 2 to restrict-qualified parameter aliases with argument 1 [-Wrestrict] if ((len = readlink(buf, buf, PATH_MAX)) < 0) { ~~~ ^~~ cc -fno-common -ffast-math -W -Wall -Wshadow -Wcast-align -Wredundant-decls -Wbad-function-cast -Wcast-qual -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -O2 -s -Wdeclaration-after-statement -Wpadded -Wstrict-aliasing -fweb -frename-registers -fomit-frame-pointer -fno-inline-functions skill.o proc/libproc-3.2.8.so -Wl,-warn-common -o skill slabtop.c: In function 'main': slabtop.c:315:8: warning: this statement may fall through [-Wimplicit-fallthrough=] ret = 0; ~~~~^~~ slabtop.c:316:3: note: here default: ^~~~~~~ cc -fno-common -ffast-math -W -Wall -Wshadow -Wcast-align -Wredundant-decls -Wbad-function-cast -Wcast-qual -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -O2 -s -Wdeclaration-after-statement -Wpadded -Wstrict-aliasing -fweb -frename-registers -fomit-frame-pointer -fno-inline-functions sysctl.o proc/libproc-3.2.8.so -Wl,-warn-common -o sysctl cc -fno-common -ffast-math -W -Wall -Wshadow -Wcast-align -Wredundant-decls -Wbad-function-cast -Wcast-qual -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -O2 -s -Wdeclaration-after-statement -Wpadded -Wstrict-aliasing -fweb -frename-registers -fomit-frame-pointer -fno-inline-functions pmap.o proc/libproc-3.2.8.so -Wl,-warn-common -o pmap cc -c -D_GNU_SOURCE -I proc -I/usr/include/ncurses -fno-common -ffast-math -W -Wall -Wshadow -Wcast-align -Wredundant-decls -Wbad-function-cast -Wcast-qual -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -O2 -s -Wdeclaration-after-statement -Wpadded -Wstrict-aliasing -fweb -frename-registers -fomit-frame-pointer -fno-inline-functions ps/display.c -o ps/display.o cc -c -D_GNU_SOURCE -I proc -I/usr/include/ncurses -fno-common -ffast-math -W -Wall -Wshadow -Wcast-align -Wredundant-decls -Wbad-function-cast -Wcast-qual -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -O2 -s -Wdeclaration-after-statement -Wpadded -Wstrict-aliasing -fweb -frename-registers -fomit-frame-pointer -fno-inline-functions ps/global.c -o ps/global.o cc -c -D_GNU_SOURCE -I proc -I/usr/include/ncurses -fno-common -ffast-math -W -Wall -Wshadow -Wcast-align -Wredundant-decls -Wbad-function-cast -Wcast-qual -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -O2 -s -Wdeclaration-after-statement -Wpadded -Wstrict-aliasing -fweb -frename-registers -fomit-frame-pointer -fno-inline-functions ps/help.c -o ps/help.o cc -c -D_GNU_SOURCE -I proc -I/usr/include/ncurses -fno-common -ffast-math -W -Wall -Wshadow -Wcast-align -Wredundant-decls -Wbad-function-cast -Wcast-qual -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -O2 -s -Wdeclaration-after-statement -Wpadded -Wstrict-aliasing -fweb -frename-registers -fomit-frame-pointer -fno-inline-functions ps/output.c -o ps/output.o In file included from ps/../proc/escape.h:7, from ps/common.h:16, from ps/global.c:24: ps/../proc/readproc.h:76:2: warning: padding struct to align 'start_code' [-Wpadded] start_code, // stat address of beginning of code segment ^~~~~~~~~~ In file included from ps/../proc/escape.h:7, from ps/common.h:16, from ps/display.c:31: ps/../proc/readproc.h:76:2: warning: padding struct to align 'start_code' [-Wpadded] start_code, // stat address of beginning of code segment ^~~~~~~~~~ cc -c -D_GNU_SOURCE -I proc -I/usr/include/ncurses -fno-common -ffast-math -W -Wall -Wshadow -Wcast-align -Wredundant-decls -Wbad-function-cast -Wcast-qual -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -O2 -s -Wdeclaration-after-statement -Wpadded -Wstrict-aliasing -fweb -frename-registers -fomit-frame-pointer -fno-inline-functions ps/parser.c -o ps/parser.o In file included from ps/output.c:58: ps/../proc/readproc.h:76:2: warning: padding struct to align 'start_code' [-Wpadded] start_code, // stat address of beginning of code segment ^~~~~~~~~~ ps/output.c: In function 'pr_args': ps/output.c:341:6: warning: the address of 'forest_prefix' will always evaluate as 'true' [-Waddress] if(forest_prefix){ ^~~~~~~~~~~~~ ps/output.c:351:24: warning: to be safe all intermediate pointers in cast from 'char ** const' to 'const char **' must be 'const' qualified [-Wcast-qual] const char **env = (const char**)pp->environ; ^ ps/output.c: In function 'pr_comm': ps/output.c:368:6: warning: the address of 'forest_prefix' will always evaluate as 'true' [-Waddress] if(forest_prefix){ ^~~~~~~~~~~~~ ps/output.c:378:24: warning: to be safe all intermediate pointers in cast from 'char ** const' to 'const char **' must be 'const' qualified [-Wcast-qual] const char **env = (const char**)pp->environ; ^ ps/output.c: In function 'pr_fname': ps/output.c:393:6: warning: the address of 'forest_prefix' will always evaluate as 'true' [-Waddress] if(forest_prefix){ ^~~~~~~~~~~~~ ps/output.c: In function 'pr_nice': ps/output.c:592:31: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] if(pp->sched!=0 && pp->sched!=-1) return snprintf(outbuf, COLWID, "-"); ^~ ps/output.c: In function 'pr_rtprio': ps/output.c:629:31: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] if(pp->sched==0 || pp->sched==-1) return snprintf(outbuf, COLWID, "-"); ^~ ps/output.c: In function 'pr_sched': ps/output.c:633:15: warning: comparison of integer expressions of different signedness: 'long unsigned int' and 'int' [-Wsign-compare] if(pp->sched==-1) return snprintf(outbuf, COLWID, "-"); ^~ ps/output.c: In function 'pr_stime': ps/output.c:930:24: warning: pointer targets in passing argument 1 of 'localtime' differ in signedness [-Wpointer-sign] our_time = localtime(&seconds_since_1970); /* not reentrant */ ^~~~~~~~~~~~~~~~~~~ In file included from ps/output.c:54: /usr/include/time.h:123:19: note: expected 'const time_t *' {aka 'const long int *'} but argument is of type 'long unsigned int *' extern struct tm *localtime (const time_t *__timer) __THROW; ^~~~~~~~~ cc -c -D_GNU_SOURCE -I proc -I/usr/include/ncurses -fno-common -ffast-math -W -Wall -Wshadow -Wcast-align -Wredundant-decls -Wbad-function-cast -Wcast-qual -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -O2 -s -Wdeclaration-after-statement -Wpadded -Wstrict-aliasing -fweb -frename-registers -fomit-frame-pointer -fno-inline-functions ps/select.c -o ps/select.o In file included from ps/../proc/escape.h:7, from ps/common.h:16, from ps/parser.c:28: ps/../proc/readproc.h:76:2: warning: padding struct to align 'start_code' [-Wpadded] start_code, // stat address of beginning of code segment ^~~~~~~~~~ ps/output.c: In function 'init_output': ps/output.c:1941:12: warning: this statement may fall through [-Wimplicit-fallthrough=] default: fprintf(stderr, "Unknown page size! (assume 4096)\n"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ps/output.c:1942:3: note: here case 4096: page_shift = 12; break; ^~~~ At top level: ps/output.c:1651:18: warning: 'shortsort_array_count' defined but not used [-Wunused-const-variable=] static const int shortsort_array_count = sizeof(shortsort_array)/sizeof(shortsort_struct); ^~~~~~~~~~~~~~~~~~~~~ ps/output.c:1617:18: warning: 'aix_array_count' defined but not used [-Wunused-const-variable=] static const int aix_array_count = sizeof(aix_array)/sizeof(aix_struct); ^~~~~~~~~~~~~~~ ps/parser.c: In function 'arg_type': ps/parser.c:1081:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if(tmp=='\0') return ARG_END; ^~ ps/parser.c:1082:34: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' return ARG_FAIL; ^~~~~~ In file included from ps/../proc/escape.h:7, from ps/common.h:16, from ps/select.c:16: ps/../proc/readproc.h:76:2: warning: padding struct to align 'start_code' [-Wpadded] start_code, // stat address of beginning of code segment ^~~~~~~~~~ cc -c -D_GNU_SOURCE -I proc -I/usr/include/ncurses -fno-common -ffast-math -W -Wall -Wshadow -Wcast-align -Wredundant-decls -Wbad-function-cast -Wcast-qual -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -O2 -s -Wdeclaration-after-statement -Wpadded -Wstrict-aliasing -fweb -frename-registers -fomit-frame-pointer -fno-inline-functions ps/sortformat.c -o ps/sortformat.o cc -fno-common -ffast-math -W -Wall -Wshadow -Wcast-align -Wredundant-decls -Wbad-function-cast -Wcast-qual -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -O2 -s -Wdeclaration-after-statement -Wpadded -Wstrict-aliasing -fweb -frename-registers -fomit-frame-pointer -fno-inline-functions uptime.o proc/libproc-3.2.8.so -Wl,-warn-common -o uptime cc -fno-common -ffast-math -W -Wall -Wshadow -Wcast-align -Wredundant-decls -Wbad-function-cast -Wcast-qual -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -O2 -s -Wdeclaration-after-statement -Wpadded -Wstrict-aliasing -fweb -frename-registers -fomit-frame-pointer -fno-inline-functions tload.o proc/libproc-3.2.8.so -Wl,-warn-common -o tload In file included from ps/sortformat.c:21: ps/../proc/readproc.h:76:2: warning: padding struct to align 'start_code' [-Wpadded] start_code, // stat address of beginning of code segment ^~~~~~~~~~ cc -fno-common -ffast-math -W -Wall -Wshadow -Wcast-align -Wredundant-decls -Wbad-function-cast -Wcast-qual -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -O2 -s -Wdeclaration-after-statement -Wpadded -Wstrict-aliasing -fweb -frename-registers -fomit-frame-pointer -fno-inline-functions free.o proc/libproc-3.2.8.so -Wl,-warn-common -o free cc -fno-common -ffast-math -W -Wall -Wshadow -Wcast-align -Wredundant-decls -Wbad-function-cast -Wcast-qual -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -O2 -s -Wdeclaration-after-statement -Wpadded -Wstrict-aliasing -fweb -frename-registers -fomit-frame-pointer -fno-inline-functions w.o proc/libproc-3.2.8.so -Wl,-warn-common -o w cc -fno-common -ffast-math -W -Wall -Wshadow -Wcast-align -Wredundant-decls -Wbad-function-cast -Wcast-qual -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -O2 -s -Wdeclaration-after-statement -Wpadded -Wstrict-aliasing -fweb -frename-registers -fomit-frame-pointer -fno-inline-functions vmstat.o proc/libproc-3.2.8.so -Wl,-warn-common -o vmstat ln -f skill snice ln -f skill kill cc -fno-common -ffast-math -W -Wall -Wshadow -Wcast-align -Wredundant-decls -Wbad-function-cast -Wcast-qual -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -O2 -s -Wdeclaration-after-statement -Wpadded -Wstrict-aliasing -fweb -frename-registers -fomit-frame-pointer -fno-inline-functions pgrep.o proc/libproc-3.2.8.so -Wl,-warn-common -o pgrep top.c: In function 'window_show': top.c:3034:36: warning: '%s' directive output may be truncated writing up to 639 bytes into a region of size between 577 and 640 [-Wformat-truncation=] snprintf(cbuf, sizeof(cbuf), "%s%s%s", \ ^~~~~~~~ top.c:3036:10: _z, \ ~~ top.c:3099:13: note: in expansion of macro 'MKCOL' MKCOL(""); ^~~~~ In file included from /usr/include/stdio.h:873, from /usr/include/curses.h:183, from top.c:28: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 1 and 766 bytes into a destination of size 640 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ top.c:3034:36: warning: '%s' directive output may be truncated writing up to 639 bytes into a region of size between 577 and 640 [-Wformat-truncation=] snprintf(cbuf, sizeof(cbuf), "%s%s%s", \ ^~~~~~~~ top.c:3036:10: _z, \ ~~ top.c:3170:16: note: in expansion of macro 'MKCOL' MKCOL(lookup_wchan(p->wchan, p->XXXID)); ^~~~~ In file included from /usr/include/stdio.h:873, from /usr/include/curses.h:183, from top.c:28: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 1 and 766 bytes into a destination of size 640 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ top.c:3034:36: warning: '%s' directive output may be truncated writing up to 639 bytes into a region of size between 577 and 640 [-Wformat-truncation=] snprintf(cbuf, sizeof(cbuf), "%s%s%s", \ ^~~~~~~~ top.c:3036:10: _z, \ ~~ top.c:3168:16: note: in expansion of macro 'MKCOL' MKCOL((long)p->wchan); ^~~~~ In file included from /usr/include/stdio.h:873, from /usr/include/curses.h:183, from top.c:28: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 1 and 766 bytes into a destination of size 640 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ top.c:3034:36: warning: '%s' directive output may be truncated writing up to 639 bytes into a region of size between 577 and 640 [-Wformat-truncation=] snprintf(cbuf, sizeof(cbuf), "%s%s%s", \ ^~~~~~~~ top.c:3036:10: _z, \ ~~ top.c:3073:13: note: in expansion of macro 'MKCOL' MKCOL(q->maxcmdln, q->maxcmdln, tmp); ^~~~~ In file included from /usr/include/stdio.h:873, from /usr/include/curses.h:183, from top.c:28: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 1 and 766 bytes into a destination of size 640 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -fno-common -ffast-math -W -Wall -Wshadow -Wcast-align -Wredundant-decls -Wbad-function-cast -Wcast-qual -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -O2 -s -Wdeclaration-after-statement -Wpadded -Wstrict-aliasing -fweb -frename-registers -fomit-frame-pointer -fno-inline-functions slabtop.o proc/libproc-3.2.8.so -Wl,-warn-common -o slabtop -lncurses top.c:3034:36: warning: '%s' directive output may be truncated writing up to 639 bytes into a region of size between 577 and 640 [-Wformat-truncation=] snprintf(cbuf, sizeof(cbuf), "%s%s%s", \ ^~~~~~~~ top.c:3036:10: _z, \ ~~ top.c:3134:13: note: in expansion of macro 'MKCOL' MKCOL(p->state); ^~~~~ In file included from /usr/include/stdio.h:873, from /usr/include/curses.h:183, from top.c:28: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 1 and 766 bytes into a destination of size 640 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ top.c:3034:36: warning: '%s' directive output may be truncated writing up to 639 bytes into a region of size between 577 and 640 [-Wformat-truncation=] snprintf(cbuf, sizeof(cbuf), "%s%s%s", \ ^~~~~~~~ top.c:3036:10: _z, \ ~~ top.c:3092:13: note: in expansion of macro 'MKCOL' MKCOL(scale_num((unsigned)p->dt, w, s)); ^~~~~ In file included from /usr/include/stdio.h:873, from /usr/include/curses.h:183, from top.c:28: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 1 and 766 bytes into a destination of size 640 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ top.c:3034:36: warning: '%s' directive output may be truncated writing up to 639 bytes into a region of size between 577 and 640 [-Wformat-truncation=] snprintf(cbuf, sizeof(cbuf), "%s%s%s", \ ^~~~~~~~ top.c:3036:10: _z, \ ~~ top.c:3103:13: note: in expansion of macro 'MKCOL' MKCOL(scale_num(p->maj_flt, w, s)); ^~~~~ In file included from /usr/include/stdio.h:873, from /usr/include/curses.h:183, from top.c:28: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 1 and 766 bytes into a destination of size 640 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ top.c:3034:36: warning: '%s' directive output may be truncated writing up to 639 bytes into a region of size between 577 and 640 [-Wformat-truncation=] snprintf(cbuf, sizeof(cbuf), "%s%s%s", \ ^~~~~~~~ top.c:3036:10: _z, \ ~~ top.c:3131:13: note: in expansion of macro 'MKCOL' MKCOL(scale_num(PAGES_TO_KB(p->share), w, s)); ^~~~~ In file included from /usr/include/stdio.h:873, from /usr/include/curses.h:183, from top.c:28: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 1 and 766 bytes into a destination of size 640 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ top.c:3034:36: warning: '%s' directive output may be truncated writing up to 639 bytes into a region of size between 577 and 640 [-Wformat-truncation=] snprintf(cbuf, sizeof(cbuf), "%s%s%s", \ ^~~~~~~~ top.c:3036:10: _z, \ ~~ top.c:3089:13: note: in expansion of macro 'MKCOL' MKCOL(scale_num(PAGES_TO_KB(p->drs), w, s)); ^~~~~ In file included from /usr/include/stdio.h:873, from /usr/include/curses.h:183, from top.c:28: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 1 and 766 bytes into a destination of size 640 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ top.c:3034:36: warning: '%s' directive output may be truncated writing up to 639 bytes into a region of size between 577 and 640 [-Wformat-truncation=] snprintf(cbuf, sizeof(cbuf), "%s%s%s", \ ^~~~~~~~ top.c:3036:10: _z, \ ~~ top.c:3077:13: note: in expansion of macro 'MKCOL' MKCOL(scale_num(PAGES_TO_KB(p->trs), w, s)); ^~~~~ In file included from /usr/include/stdio.h:873, from /usr/include/curses.h:183, from top.c:28: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 1 and 766 bytes into a destination of size 640 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ top.c:3034:36: warning: '%s' directive output may be truncated writing up to 639 bytes into a region of size between 577 and 640 [-Wformat-truncation=] snprintf(cbuf, sizeof(cbuf), "%s%s%s", \ ^~~~~~~~ top.c:3036:10: _z, \ ~~ top.c:3128:13: note: in expansion of macro 'MKCOL' MKCOL(scale_num(PAGES_TO_KB(p->resident), w, s)); ^~~~~ In file included from /usr/include/stdio.h:873, from /usr/include/curses.h:183, from top.c:28: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 1 and 766 bytes into a destination of size 640 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ top.c:3034:36: warning: '%s' directive output may be truncated writing up to 639 bytes into a region of size between 577 and 640 [-Wformat-truncation=] snprintf(cbuf, sizeof(cbuf), "%s%s%s", \ ^~~~~~~~ top.c:3036:10: _z, \ ~~ top.c:3137:13: note: in expansion of macro 'MKCOL' MKCOL(scale_num(PAGES_TO_KB(p->size - p->resident), w, s)); ^~~~~ In file included from /usr/include/stdio.h:873, from /usr/include/curses.h:183, from top.c:28: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 1 and 766 bytes into a destination of size 640 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ top.c:3034:36: warning: '%s' directive output may be truncated writing up to 639 bytes into a region of size between 577 and 640 [-Wformat-truncation=] snprintf(cbuf, sizeof(cbuf), "%s%s%s", \ ^~~~~~~~ top.c:3036:10: _z, \ ~~ top.c:3163:13: note: in expansion of macro 'MKCOL' MKCOL(scale_num(PAGES_TO_KB(p->size), w, s)); ^~~~~ In file included from /usr/include/stdio.h:873, from /usr/include/curses.h:183, from top.c:28: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 1 and 766 bytes into a destination of size 640 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ top.c:3034:36: warning: '%s' directive output may be truncated writing up to 639 bytes into a region of size between 577 and 640 [-Wformat-truncation=] snprintf(cbuf, sizeof(cbuf), "%s%s%s", \ ^~~~~~~~ top.c:3036:10: _z, \ ~~ top.c:3109:13: note: in expansion of macro 'MKCOL' MKCOL((float)PAGES_TO_KB(p->resident) * 100 / kb_main_total); ^~~~~ In file included from /usr/include/stdio.h:873, from /usr/include/curses.h:183, from top.c:28: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 1 and 766 bytes into a destination of size 640 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ top.c:3034:36: warning: '%s' directive output may be truncated writing up to 639 bytes into a region of size between 577 and 640 [-Wformat-truncation=] snprintf(cbuf, sizeof(cbuf), "%s%s%s", \ ^~~~~~~~ top.c:3036:10: _z, \ ~~ top.c:3144:13: note: in expansion of macro 'MKCOL' MKCOL(scale_tics(t, w)); ^~~~~ In file included from /usr/include/stdio.h:873, from /usr/include/curses.h:183, from top.c:28: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 1 and 766 bytes into a destination of size 640 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ top.c:3034:36: warning: '%s' directive output may be truncated writing up to 639 bytes into a region of size between 577 and 640 [-Wformat-truncation=] snprintf(cbuf, sizeof(cbuf), "%s%s%s", \ ^~~~~~~~ top.c:3036:10: _z, \ ~~ top.c:3085:13: note: in expansion of macro 'MKCOL' MKCOL(u); ^~~~~ In file included from /usr/include/stdio.h:873, from /usr/include/curses.h:183, from top.c:28: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 1 and 766 bytes into a destination of size 640 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ top.c:3034:36: warning: '%s' directive output may be truncated writing up to 639 bytes into a region of size between 577 and 640 [-Wformat-truncation=] snprintf(cbuf, sizeof(cbuf), "%s%s%s", \ ^~~~~~~~ top.c:3036:10: _z, \ ~~ top.c:3080:13: note: in expansion of macro 'MKCOL' MKCOL((unsigned)p->processor); ^~~~~ In file included from /usr/include/stdio.h:873, from /usr/include/curses.h:183, from top.c:28: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 1 and 766 bytes into a destination of size 640 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ top.c:3034:36: warning: '%s' directive output may be truncated writing up to 639 bytes into a region of size between 577 and 640 [-Wformat-truncation=] snprintf(cbuf, sizeof(cbuf), "%s%s%s", \ ^~~~~~~~ top.c:3036:10: _z, \ ~~ top.c:3112:13: note: in expansion of macro 'MKCOL' MKCOL((int)p->nice); ^~~~~ In file included from /usr/include/stdio.h:873, from /usr/include/curses.h:183, from top.c:28: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 1 and 766 bytes into a destination of size 640 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ top.c:3034:36: warning: '%s' directive output may be truncated writing up to 639 bytes into a region of size between 577 and 640 [-Wformat-truncation=] snprintf(cbuf, sizeof(cbuf), "%s%s%s", \ ^~~~~~~~ top.c:3036:10: _z, \ ~~ top.c:3125:16: note: in expansion of macro 'MKCOL' MKCOL((int)p->priority); ^~~~~ In file included from /usr/include/stdio.h:873, from /usr/include/curses.h:183, from top.c:28: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 1 and 766 bytes into a destination of size 640 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ top.c:3034:36: warning: '%s' directive output may be truncated writing up to 639 bytes into a region of size between 577 and 640 [-Wformat-truncation=] snprintf(cbuf, sizeof(cbuf), "%s%s%s", \ ^~~~~~~~ top.c:3036:10: _z, \ ~~ top.c:3123:16: note: in expansion of macro 'MKCOL' MKCOL(""); ^~~~~ In file included from /usr/include/stdio.h:873, from /usr/include/curses.h:183, from top.c:28: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 1 and 766 bytes into a destination of size 640 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ top.c:3034:36: warning: '%s' directive output may be truncated writing up to 639 bytes into a region of size between 577 and 640 [-Wformat-truncation=] snprintf(cbuf, sizeof(cbuf), "%s%s%s", \ ^~~~~~~~ top.c:3036:10: _z, \ ~~ top.c:3150:13: note: in expansion of macro 'MKCOL' MKCOL(tmp); ^~~~~ In file included from /usr/include/stdio.h:873, from /usr/include/curses.h:183, from top.c:28: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 1 and 766 bytes into a destination of size 640 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ top.c:3034:36: warning: '%s' directive output may be truncated writing up to 639 bytes into a region of size between 577 and 640 [-Wformat-truncation=] snprintf(cbuf, sizeof(cbuf), "%s%s%s", \ ^~~~~~~~ top.c:3036:10: _z, \ ~~ top.c:3106:13: note: in expansion of macro 'MKCOL' MKCOL(p->egroup); ^~~~~ In file included from /usr/include/stdio.h:873, from /usr/include/curses.h:183, from top.c:28: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 1 and 766 bytes into a destination of size 640 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ top.c:3034:36: warning: '%s' directive output may be truncated writing up to 639 bytes into a region of size between 577 and 640 [-Wformat-truncation=] snprintf(cbuf, sizeof(cbuf), "%s%s%s", \ ^~~~~~~~ top.c:3036:10: _z, \ ~~ top.c:3157:13: note: in expansion of macro 'MKCOL' MKCOL(p->euser); ^~~~~ In file included from /usr/include/stdio.h:873, from /usr/include/curses.h:183, from top.c:28: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 1 and 766 bytes into a destination of size 640 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ top.c:3034:36: warning: '%s' directive output may be truncated writing up to 639 bytes into a region of size between 577 and 640 [-Wformat-truncation=] snprintf(cbuf, sizeof(cbuf), "%s%s%s", \ ^~~~~~~~ top.c:3036:10: _z, \ ~~ top.c:3154:13: note: in expansion of macro 'MKCOL' MKCOL((unsigned)p->euid); ^~~~~ In file included from /usr/include/stdio.h:873, from /usr/include/curses.h:183, from top.c:28: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 1 and 766 bytes into a destination of size 640 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ top.c:3034:36: warning: '%s' directive output may be truncated writing up to 639 bytes into a region of size between 577 and 640 [-Wformat-truncation=] snprintf(cbuf, sizeof(cbuf), "%s%s%s", \ ^~~~~~~~ top.c:3036:10: _z, \ ~~ top.c:3160:13: note: in expansion of macro 'MKCOL' MKCOL(p->ruser); ^~~~~ In file included from /usr/include/stdio.h:873, from /usr/include/curses.h:183, from top.c:28: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 1 and 766 bytes into a destination of size 640 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ top.c:3034:36: warning: '%s' directive output may be truncated writing up to 639 bytes into a region of size between 577 and 640 [-Wformat-truncation=] snprintf(cbuf, sizeof(cbuf), "%s%s%s", \ ^~~~~~~~ top.c:3036:10: _z, \ ~~ top.c:3118:13: note: in expansion of macro 'MKCOL' MKCOL((unsigned)p->ppid); ^~~~~ In file included from /usr/include/stdio.h:873, from /usr/include/curses.h:183, from top.c:28: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 1 and 766 bytes into a destination of size 640 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ top.c:3034:36: warning: '%s' directive output may be truncated writing up to 639 bytes into a region of size between 577 and 640 [-Wformat-truncation=] snprintf(cbuf, sizeof(cbuf), "%s%s%s", \ ^~~~~~~~ top.c:3036:10: _z, \ ~~ top.c:3115:13: note: in expansion of macro 'MKCOL' MKCOL((unsigned)p->XXXID); ^~~~~ In file included from /usr/include/stdio.h:873, from /usr/include/curses.h:183, from top.c:28: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 1 and 766 bytes into a destination of size 640 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -fno-common -ffast-math -W -Wall -Wshadow -Wcast-align -Wredundant-decls -Wbad-function-cast -Wcast-qual -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -O2 -s -Wdeclaration-after-statement -Wpadded -Wstrict-aliasing -fweb -frename-registers -fomit-frame-pointer -fno-inline-functions pwdx.o proc/libproc-3.2.8.so -Wl,-warn-common -o pwdx ln -f pgrep pkill top.c: In function 'capsmk.part.15': top.c:554:62: warning: '%s' directive output may be truncated writing up to 31 bytes into a region of size between 1 and 64 [-Wformat-truncation=] snprintf(q->capclr_rowhigh, sizeof(q->capclr_rowhigh), "%s%s" ^~ In file included from /usr/include/stdio.h:873, from /usr/include/curses.h:183, from top.c:28: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 1 and 95 bytes into a destination of size 64 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ top.c: In function 'main': top.c:1648:45: warning: '%u' directive output may be truncated writing between 1 and 10 bytes into a region of size 4 [-Wformat-truncation=] snprintf(pid_fmt, sizeof pid_fmt, " %%%uu", pid_digits); ^~ top.c:1648:41: note: directive argument in the range [4, 4294967295] snprintf(pid_fmt, sizeof pid_fmt, " %%%uu", pid_digits); ^~~~~~~~ In file included from /usr/include/stdio.h:873, from /usr/include/curses.h:183, from top.c:28: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 5 and 14 bytes into a destination of size 6 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -fno-common -ffast-math -W -Wall -Wshadow -Wcast-align -Wredundant-decls -Wbad-function-cast -Wcast-qual -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -O2 -s -Wdeclaration-after-statement -Wpadded -Wstrict-aliasing -fweb -frename-registers -fomit-frame-pointer -fno-inline-functions -Wl,-warn-common -o ps/ps ps/display.o ps/global.o ps/help.o ps/output.o ps/parser.o ps/select.o ps/sortformat.o proc/libproc-3.2.8.so cc -fno-common -ffast-math -W -Wall -Wshadow -Wcast-align -Wredundant-decls -Wbad-function-cast -Wcast-qual -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -O2 -s -Wdeclaration-after-statement -Wpadded -Wstrict-aliasing -fweb -frename-registers -fomit-frame-pointer -fno-inline-functions top.o proc/libproc-3.2.8.so -Wl,-warn-common -o top -lncurses install -D --owner 0 --group 0 --mode a=rx uptime /home/slitaz/wok/procps/install/usr/bin/uptime install -D --owner 0 --group 0 --mode a=rx tload /home/slitaz/wok/procps/install/usr/bin/tload install -D --owner 0 --group 0 --mode a=rx free /home/slitaz/wok/procps/install/usr/bin/free install -D --owner 0 --group 0 --mode a=rx w /home/slitaz/wok/procps/install/usr/bin/w install -D --owner 0 --group 0 --mode a=rx top /home/slitaz/wok/procps/install/usr/bin/top install -D --owner 0 --group 0 --mode a=rx vmstat /home/slitaz/wok/procps/install/usr/bin/vmstat install -D --owner 0 --group 0 --mode a=rx watch /home/slitaz/wok/procps/install/usr/bin/watch install -D --owner 0 --group 0 --mode a=rx skill /home/slitaz/wok/procps/install/usr/bin/skill install -D --owner 0 --group 0 --mode a=rx snice /home/slitaz/wok/procps/install/usr/bin/snice install -D --owner 0 --group 0 --mode a=rx kill /home/slitaz/wok/procps/install/bin/kill install -D --owner 0 --group 0 --mode a=rx sysctl /home/slitaz/wok/procps/install/sbin/sysctl install -D --owner 0 --group 0 --mode a=rx pmap /home/slitaz/wok/procps/install/usr/bin/pmap install -D --owner 0 --group 0 --mode a=rx pgrep /home/slitaz/wok/procps/install/usr/bin/pgrep install -D --owner 0 --group 0 --mode a=rx pkill /home/slitaz/wok/procps/install/usr/bin/pkill install -D --owner 0 --group 0 --mode a=rx slabtop /home/slitaz/wok/procps/install/usr/bin/slabtop install -D --owner 0 --group 0 --mode a=rx pwdx /home/slitaz/wok/procps/install/usr/bin/pwdx install -D --owner 0 --group 0 --mode a=r uptime.1 /home/slitaz/wok/procps/install/usr/share/man/man1/uptime.1 install -D --owner 0 --group 0 --mode a=r tload.1 /home/slitaz/wok/procps/install/usr/share/man/man1/tload.1 install -D --owner 0 --group 0 --mode a=r free.1 /home/slitaz/wok/procps/install/usr/share/man/man1/free.1 install -D --owner 0 --group 0 --mode a=r w.1 /home/slitaz/wok/procps/install/usr/share/man/man1/w.1 install -D --owner 0 --group 0 --mode a=r top.1 /home/slitaz/wok/procps/install/usr/share/man/man1/top.1 install -D --owner 0 --group 0 --mode a=r watch.1 /home/slitaz/wok/procps/install/usr/share/man/man1/watch.1 install -D --owner 0 --group 0 --mode a=r skill.1 /home/slitaz/wok/procps/install/usr/share/man/man1/skill.1 install -D --owner 0 --group 0 --mode a=r kill.1 /home/slitaz/wok/procps/install/usr/share/man/man1/kill.1 install -D --owner 0 --group 0 --mode a=r snice.1 /home/slitaz/wok/procps/install/usr/share/man/man1/snice.1 install -D --owner 0 --group 0 --mode a=r pgrep.1 /home/slitaz/wok/procps/install/usr/share/man/man1/pgrep.1 install -D --owner 0 --group 0 --mode a=r pkill.1 /home/slitaz/wok/procps/install/usr/share/man/man1/pkill.1 install -D --owner 0 --group 0 --mode a=r pmap.1 /home/slitaz/wok/procps/install/usr/share/man/man1/pmap.1 install -D --owner 0 --group 0 --mode a=r sysctl.conf.5 /home/slitaz/wok/procps/install/usr/share/man/man5/sysctl.conf.5 install -D --owner 0 --group 0 --mode a=r vmstat.8 /home/slitaz/wok/procps/install/usr/share/man/man8/vmstat.8 install -D --owner 0 --group 0 --mode a=r sysctl.8 /home/slitaz/wok/procps/install/usr/share/man/man8/sysctl.8 install -D --owner 0 --group 0 --mode a=r slabtop.1 /home/slitaz/wok/procps/install/usr/share/man/man1/slabtop.1 install -D --owner 0 --group 0 --mode a=r pwdx.1 /home/slitaz/wok/procps/install/usr/share/man/man1/pwdx.1 install -D --owner 0 --group 0 --mode a=rx proc/libproc-3.2.8.so /home/slitaz/wok/procps/install/lib/libproc-3.2.8.so ldconfig install -D --owner 0 --group 0 --mode a=rx ps/ps /home/slitaz/wok/procps/install/bin/ps install -D --owner 0 --group 0 --mode a=r ps/ps.1 /home/slitaz/wok/procps/install/usr/share/man/man1/ps.1 rm -f /home/slitaz/wok/procps/install/var/catman/cat1/ps.1.gz /home/slitaz/wok/procps/install/var/man/cat1/ps.1.gz cd /home/slitaz/wok/procps/install/usr/bin/ && ln -f skill snice cd /home/slitaz/wok/procps/install/usr/bin/ && ln -f pgrep pkill ================================================================================ Executing strip on all files... Done Time: 3.23s. Size: 455540 B -> 455540 B. Save: 0 KB. Installing (pkg/local): advancecomp-static-2.1-i486 Compressing man pages... Done Time: 3.59s. Size: 140325 B -> 49634 B. Save: 89 KB. Cache hit: 18/18. ================================================================================ Build dependencies to remove: 1 Removing: advancecomp-static Pack: procps 3.2.8 ================================================================================ Executing: genpkg_rules Copying folders and files... Done Copying "receipt"... Done Determining package architecture... i486 Creating the list of files... Done Creating md5sum of files... Done Compressing the FS... Done Creating full cpio archive... Done QA: checking for empty package... Done Removing old package "procps-3.2.8-i486.tazpkg" Done The release checksum has changed. ================================================================================ Package "procps-3.2.8-i486.tazpkg" created Post-check ================================================================================ Checking build... Done Checking 'any' arch... Done Checking libtool in source/procps-3.2.8... Done Checking site script in source/procps-3.2.8... Done Checking ownership in install... Done Checking permissions in install... Failed Problems found: 0555 /bin/kill 0555 /bin/ps 0555 /lib/libproc-3.2.8.so 0555 /sbin/sysctl 0555 /usr/bin/free 0555 /usr/bin/pgrep 0555 /usr/bin/pkill 0555 /usr/bin/pmap 0555 /usr/bin/pwdx 0555 /usr/bin/skill 0555 /usr/bin/slabtop 0555 /usr/bin/snice 0555 /usr/bin/tload 0555 /usr/bin/top 0555 /usr/bin/uptime 0555 /usr/bin/vmstat 0555 /usr/bin/w 0555 /usr/bin/watch 0444 /usr/share/man/man1/free.1.gz 0444 /usr/share/man/man1/kill.1.gz 0444 /usr/share/man/man1/pgrep.1.gz 0444 /usr/share/man/man1/pkill.1.gz 0444 /usr/share/man/man1/pmap.1.gz 0444 /usr/share/man/man1/ps.1.gz 0444 /usr/share/man/man1/pwdx.1.gz 0444 /usr/share/man/man1/skill.1.gz 0444 /usr/share/man/man1/slabtop.1.gz 0444 /usr/share/man/man1/snice.1.gz 0444 /usr/share/man/man1/tload.1.gz 0444 /usr/share/man/man1/top.1.gz 0444 /usr/share/man/man1/uptime.1.gz 0444 /usr/share/man/man1/w.1.gz 0444 /usr/share/man/man1/watch.1.gz 0444 /usr/share/man/man5/sysctl.conf.5.gz 0444 /usr/share/man/man8/sysctl.8.gz 0444 /usr/share/man/man8/vmstat.8.gz Checking broken symlinks in install... Done Querying Repology... Done Updating activity log... Done ================================================================================ Summary for: procps 3.2.8 ================================================================================ Src file : procps-3.2.8.tar.gz Src size : 280.0K Source dir : 2.0M Produced : 600.0K Cook time : 20s Cook date : 2020-07-07 19:10 Target arch : i486 -------------------------------------------------------------------------------- # : Packed : Compressed : Files : Package name -------------------------------------------------------------------------------- 1 : 492.0K : 108.4K : 18 : procps-3.2.8-i486.tazpkg ================================================================================