+ case "${usergroup_phase}" in + local run_cmd + run_cmd=run_su + shift + run_su /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/top-3.6.1nb1/work.log + su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/top-3.6.1nb1/work.log WARNING: [license.mk] Every package should define a LICENSE. ===> Building for top-3.6.1nb1 gcc -DHAVE_CONFIG_H -I. -I. -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include/ncurses -I/opt/pkg/include/ncurses -c color.c In file included from color.c:31: os.h:43:9: warning: conflicting types for built-in function 'malloc'; expected 'void *(long unsigned int)' [-Wbuiltin-declaration-mismatch] 43 | caddr_t malloc(); | ^~~~~~ os.h:37:1: note: 'malloc' is declared in header '' 36 | #include +++ |+#include 37 | #else color.c: In function 'color_slot': color.c:74:31: error: implicit declaration of function 'realloc' [-Wimplicit-function-declaration] 74 | color_ansi = (char **)realloc(color_ansi, max_color_ansi * sizeof(char *)); | ^~~~~~~ color.c:33:1: note: include '' or provide a declaration of 'realloc' 32 | #include "message.h" +++ |+#include 33 | color.c:74:31: warning: incompatible implicit declaration of built-in function 'realloc' [-Wbuiltin-declaration-mismatch] 74 | color_ansi = (char **)realloc(color_ansi, max_color_ansi * sizeof(char *)); | ^~~~~~~ color.c:74:31: note: include '' or provide a declaration of 'realloc' color.c: In function 'color_env_parse': color.c:120:27: error: implicit declaration of function 'atoi' [-Wimplicit-function-declaration] 120 | ce->min = atoi(++min); | ^~~~ color.c: In function 'color_tag': color.c:174:33: warning: incompatible implicit declaration of built-in function 'realloc' [-Wbuiltin-declaration-mismatch] 174 | bytag = (color_entry **)realloc(bytag, totaltags * sizeof(color_entry *)); | ^~~~~~~ color.c:174:33: note: include '' or provide a declaration of 'realloc' *** Error code 1 Stop. bmake: stopped making "all" in /home/pbulk/build/sysutils/top/work/top-3.6.1 *** Error code 1 Stop. bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/sysutils/top *** Error code 1 Stop. bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/sysutils/top