+ 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 --- color.o --- --- sigdesc.h --- --- display.o --- --- screen.o --- --- color.o --- 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 --- sigdesc.h --- /usr/bin/nawk -f ./sigconv.awk /usr/include/sys/signal.h >sigdesc.h --- display.o --- 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 display.c --- screen.o --- 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 screen.c --- top.o --- 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 top.c --- color.o --- 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 *)); --- screen.o --- In file included from screen.c:21: 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.o --- | ^~~~~~~ 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' --- display.o --- In file included from display.c:29: 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 display.c: In function 'display_resize': display.c:616:13: error: implicit declaration of function 'free' [-Wimplicit-function-declaration] 616 | free(screenbuf); | ^~~~ display.c:43:1: note: include '' or provide a declaration of 'free' 42 | #include "color.h" +++ |+#include 43 | #endif display.c:616:13: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 616 | free(screenbuf); | ^~~~ display.c:616:13: note: include '' or provide a declaration of 'free' --- top.o --- In file included from top.c:32: 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 --- display.o --- display.c:620:13: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 620 | free(colorbuf); | ^~~~ display.c:620:13: note: include '' or provide a declaration of 'free' display.c:625:29: error: implicit declaration of function 'calloc' [-Wimplicit-function-declaration] 625 | screenbuf = (char *)calloc(bufsize, sizeof(char)); | ^~~~~~ display.c:625:29: note: include '' or provide a declaration of 'calloc' display.c:625:29: warning: incompatible implicit declaration of built-in function 'calloc' [-Wbuiltin-declaration-mismatch] display.c:625:29: note: include '' or provide a declaration of 'calloc' display.c: In function 'readline': display.c:1477:38: error: implicit declaration of function 'atoi' [-Wimplicit-function-declaration] 1477 | return(cnt == 0 ? -1 : numeric ? atoi(buffer) : cnt); | ^~~~ --- top.o --- top.c: In function 'leave': top.c:143:5: error: implicit declaration of function 'exit' [-Wimplicit-function-declaration] 143 | exit(0); | ^~~~ top.c:59:1: note: include '' or provide a declaration of 'exit' 58 | #include "color.h" +++ |+#include 59 | #endif top.c:143:5: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch] 143 | exit(0); | ^~~~ top.c:143:5: note: include '' or provide a declaration of 'exit' top.c: In function 'quit': top.c:218:5: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch] 218 | exit(status); | ^~~~ top.c:218:5: note: include '' or provide a declaration of 'exit' top.c: In function 'main': top.c:376:17: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch] 376 | exit(1); | ^~~~ top.c:376:17: note: include '' or provide a declaration of 'exit' top.c:429:30: error: implicit declaration of function 'atoi' [-Wimplicit-function-declaration] 429 | if ((delay = atoi(optarg)) < 0 || (delay == 0 && getuid() != 0)) | ^~~~ top.c:516:9: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch] 516 | exit(1); | ^~~~ top.c:516:9: note: include '' or provide a declaration of 'exit' top.c:540:13: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch] 540 | exit(1); | ^~~~ top.c:540:13: note: include '' or provide a declaration of 'exit' top.c:567:9: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch] 567 | exit(4); | ^~~~ top.c:567:9: note: include '' or provide a declaration of 'exit' top.c:574:9: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch] 574 | exit(0); | ^~~~ top.c:574:9: note: include '' or provide a declaration of 'exit' --- display.o --- *** [display.o] Error code 1 bmake: stopped making "all" in /home/pbulk/build/sysutils/top/work/top-3.6.1 --- color.o --- *** [color.o] Error code 1 bmake: stopped making "all" in /home/pbulk/build/sysutils/top/work/top-3.6.1 --- top.o --- *** [top.o] Error code 1 bmake: stopped making "all" in /home/pbulk/build/sysutils/top/work/top-3.6.1 bmake: 3 errors bmake: stopped making "all" in /home/pbulk/build/sysutils/top/work/top-3.6.1 *** Error code 2 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