Package: procps
Cook summary
Summary for: procps 3.2.8
================================================================================
Src file : procps-3.2.8.tar.gz
Src size : 280.0K
Source dir : 2.0M
Produced : 596.0K
Cook time : 13s
Cook date : 2026-07-15 17:05
Target arch : i486
--------------------------------------------------------------------------------
# : Packed : Compressed : Files : Package name
--------------------------------------------------------------------------------
1 : 488.0K : 107.8K : 18 : procps-3.2.8.tazpkg
Cook: procps 3.2.8
================================================================================
QA: checking package receipt...
Checking build dependencies...
Installing (pkg/local): ncursesw-dev-6.4
Installing (pkg/local): ncurses-dev-6.4
Extracting source archive "procps-3.2.8.tar.gz"
Executing: compile_rules
CFLAGS : -march=i486 -Os -pipe -fstack-protector-strong
CXXLAGS : -march=i486 -Os -pipe -fstack-protector-strong
CPPFLAGS : -D_GLIBCXX_USE_C99_MATH=1 -D_FORTIFY_SOURCE=2
LDFLAGS : -Wl,--as-needed,-z,relro,-z,now
patching file Makefile
cc -D_GNU_SOURCE -I proc -I/usr/include/ncurses -MM -MG proc/alloc.c proc/devname.c proc/escape.c proc/ksym.c proc/pwcache.c proc/readproc.c proc/sig.c proc/slab.c proc/smaps.c proc/sysinfo.c proc/version.c proc/whattime.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/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/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/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/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/pwcache.c -o proc/pwcache.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
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
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 -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/sysinfo.c -o proc/sysinfo.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 between signed and unsigned integer expressions [-Wsign-compare]
if(len >= sizeof tmn->name)
^~
In file included from proc/readproc.c:13:0:
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/whattime.c -o proc/whattime.o
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;
^~~
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
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){
^~~~~
proc/slab.c:99:1: warning: multi-line comment [-Wcomment]
// # name <active_objs> <num_objs> <objsize> <objperslab> <pagesperslab> \
^
proc/slab.c:104:1: warning: multi-line comment [-Wcomment]
// # name <active_objs> <num_objs> <objsize> <objperslab> <pagesperslab> \
^
proc/slab.c:111:1: warning: multi-line comment [-Wcomment]
// # name <active_objs> <num_objs> <objsize> <objperslab> <pagesperslab> \
^
proc/slab.c:116:1: warning: multi-line comment [-Wcomment]
// # name <active_objs> <num_objs> <objsize> <objperslab> <pagesperslab> \
^
In file included from proc/escape.h:7:0,
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 -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
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;
^
tload.c:33:12: warning: redundant redeclaration of 'optind' [-Wredundant-decls]
extern int optind;
^~~~~~
In file included from /usr/include/unistd.h:871:0,
from tload.c:19:
/usr/include/getopt.h:71: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/unistd.h:871:0,
from tload.c:19:
/usr/include/getopt.h:57:14: note: previous declaration of 'optarg' was here
extern char *optarg;
^~~~~~
In file included from w.c:10:0:
proc/readproc.h:76:2: warning: padding struct to align 'start_code' [-Wpadded]
start_code, // stat address of beginning of code segment
^~~~~~~~~~
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 between signed and unsigned integer expressions [-Wsign-compare]
if(!ignoreuser && uid != tmp->euid && uid != tmp->ruid) continue;
^~
w.c:161:44: warning: comparison between signed and unsigned integer expressions [-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
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
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
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
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
In file included from top.c:49:0:
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:0:
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:0:
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 between signed and unsigned integer expressions [-Wsign-compare]
if (pp->ruid == selection_uid) return 1;
^~
top.c:855:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (pp->suid == selection_uid) return 1;
^~
top.c:856:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (pp->fuid == selection_uid) return 1;
^~
top.c:859:20: warning: comparison between signed and unsigned integer expressions [-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:759:0,
from top.c:34:
/usr/include/bits/stdlib-bsearch.h:20:1: 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 *)}'
bsearch (const void *__key, const void *__base, size_t __nmemb, size_t __size,
^~~~~~~
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:29:0,
from top.c:24:
/usr/include/sys/select.h:106:12: note: expected 'struct timeval * restrict' but argument is of type 'volatile struct timeval *'
extern int select (int __nfds, fd_set *__restrict __readfds,
^~~~~~
In file included from pmap.c:24:0:
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: large integer implicitly truncated to unsigned type [-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 top.c:56:0:
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:29:0,
from top.c:24:
/usr/include/sys/select.h:106:12: note: expected 'struct timeval * restrict' but argument is of type 'volatile struct timeval *'
extern int select (int __nfds, fd_set *__restrict __readfds,
^~~~~~
In file included from pgrep.c:30:0:
proc/readproc.h:76:2: warning: padding struct to align 'start_code' [-Wpadded]
start_code, // stat address of beginning of code segment
^~~~~~~~~~
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:29:0,
from top.c:24:
/usr/include/sys/select.h:106:12: note: expected 'struct timeval * restrict' but argument is of type 'volatile struct timeval *'
extern int select (int __nfds, fd_set *__restrict __readfds,
^~~~~~
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 -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/alloc.o proc/devname.o proc/escape.o proc/ksym.o proc/pwcache.o proc/readproc.o proc/sig.o proc/slab.o proc/smaps.o proc/sysinfo.o proc/version.o proc/whattime.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 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
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 slabtop.o proc/libproc-3.2.8.so -Wl,-warn-common -o slabtop -lncurses -ltinfo
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
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
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
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:0,
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
^~~~~~~~~~
In file included from ps/../proc/escape.h:7:0,
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
^~~~~~~~~~
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 vmstat.o proc/libproc-3.2.8.so -Wl,-warn-common -o vmstat
In file included from ps/../proc/escape.h:7:0,
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 -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
In file included from ps/output.c:58:0:
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 pmap.o proc/libproc-3.2.8.so -Wl,-warn-common -o pmap
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 between signed and unsigned integer expressions [-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 between signed and unsigned integer expressions [-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 between signed and unsigned integer expressions [-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:0:
/usr/include/time.h:243: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 -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
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);
^~~~~~~~~~~~~~~
ln -f pgrep pkill
In file included from ps/../proc/escape.h:7:0,
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
^~~~~~~~~~
In file included from ps/sortformat.c:21:0:
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 watch.o -Wl,-warn-common -o watch -lncurses -ltinfo
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 is guarded by the 'if'
return ARG_FAIL;
^~~~~~
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
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 -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 -ltinfo
install -D --owner 0 --group 0 --mode a=rx uptime ${install}/usr/bin/uptime
install -D --owner 0 --group 0 --mode a=rx tload ${install}/usr/bin/tload
install -D --owner 0 --group 0 --mode a=rx free ${install}/usr/bin/free
install -D --owner 0 --group 0 --mode a=rx w ${install}/usr/bin/w
install -D --owner 0 --group 0 --mode a=rx top ${install}/usr/bin/top
install -D --owner 0 --group 0 --mode a=rx vmstat ${install}/usr/bin/vmstat
install -D --owner 0 --group 0 --mode a=rx watch ${install}/usr/bin/watch
install -D --owner 0 --group 0 --mode a=rx skill ${install}/usr/bin/skill
install -D --owner 0 --group 0 --mode a=rx snice ${install}/usr/bin/snice
install -D --owner 0 --group 0 --mode a=rx kill ${install}/bin/kill
install -D --owner 0 --group 0 --mode a=rx sysctl ${install}/sbin/sysctl
install -D --owner 0 --group 0 --mode a=rx pmap ${install}/usr/bin/pmap
install -D --owner 0 --group 0 --mode a=rx pgrep ${install}/usr/bin/pgrep
install -D --owner 0 --group 0 --mode a=rx pkill ${install}/usr/bin/pkill
install -D --owner 0 --group 0 --mode a=rx slabtop ${install}/usr/bin/slabtop
install -D --owner 0 --group 0 --mode a=rx pwdx ${install}/usr/bin/pwdx
install -D --owner 0 --group 0 --mode a=r uptime.1 ${install}/usr/share/man/man1/uptime.1
install -D --owner 0 --group 0 --mode a=r tload.1 ${install}/usr/share/man/man1/tload.1
install -D --owner 0 --group 0 --mode a=r free.1 ${install}/usr/share/man/man1/free.1
install -D --owner 0 --group 0 --mode a=r w.1 ${install}/usr/share/man/man1/w.1
install -D --owner 0 --group 0 --mode a=r top.1 ${install}/usr/share/man/man1/top.1
install -D --owner 0 --group 0 --mode a=r watch.1 ${install}/usr/share/man/man1/watch.1
install -D --owner 0 --group 0 --mode a=r skill.1 ${install}/usr/share/man/man1/skill.1
install -D --owner 0 --group 0 --mode a=r kill.1 ${install}/usr/share/man/man1/kill.1
install -D --owner 0 --group 0 --mode a=r snice.1 ${install}/usr/share/man/man1/snice.1
install -D --owner 0 --group 0 --mode a=r pgrep.1 ${install}/usr/share/man/man1/pgrep.1
install -D --owner 0 --group 0 --mode a=r pkill.1 ${install}/usr/share/man/man1/pkill.1
install -D --owner 0 --group 0 --mode a=r pmap.1 ${install}/usr/share/man/man1/pmap.1
install -D --owner 0 --group 0 --mode a=r sysctl.conf.5 ${install}/usr/share/man/man5/sysctl.conf.5
install -D --owner 0 --group 0 --mode a=r vmstat.8 ${install}/usr/share/man/man8/vmstat.8
install -D --owner 0 --group 0 --mode a=r sysctl.8 ${install}/usr/share/man/man8/sysctl.8
install -D --owner 0 --group 0 --mode a=r slabtop.1 ${install}/usr/share/man/man1/slabtop.1
install -D --owner 0 --group 0 --mode a=r pwdx.1 ${install}/usr/share/man/man1/pwdx.1
install -D --owner 0 --group 0 --mode a=rx proc/libproc-3.2.8.so ${install}/lib/libproc-3.2.8.so
ldconfig
install -D --owner 0 --group 0 --mode a=rx ps/ps ${install}/bin/ps
install -D --owner 0 --group 0 --mode a=r ps/ps.1 ${install}/usr/share/man/man1/ps.1
rm -f ${install}/var/catman/cat1/ps.1.gz ${install}/var/man/cat1/ps.1.gz
cd ${install}/usr/bin/ && ln -f skill snice
cd ${install}/usr/bin/ && ln -f pgrep pkill
================================================================================
Executing strip on all files... Done
Time: 9.60s. Size: 457700 B -> 457700 B. Save: 0 KB.
Compressing man pages... Done
Time: 20.65s. Size: 140325 B -> 49634 B. Save: 89 KB. Cache hit: 0/18.
================================================================================
Build dependencies to remove: 2
Removing: ncurses-dev ncursesw-dev
Pack: procps 3.2.8
================================================================================
Executing: genpkg_rules
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
The release checksum has not changed.
================================================================================
Package "procps-3.2.8.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
Checking broken symlinks in install... 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 : 596.0K
Cook time : 13s
Cook date : 2026-07-15 17:05
Target arch : i486
--------------------------------------------------------------------------------
# : Packed : Compressed : Files : Package name
--------------------------------------------------------------------------------
1 : 488.0K : 107.8K : 18 : procps-3.2.8.tazpkg
================================================================================