+ 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/esh-0.8nb4/work.log + su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/esh-0.8nb4/work.log WARNING: [license.mk] Every package should define a LICENSE. ===> Building for esh-0.8nb4 --- list.o --- --- hash.o --- --- builtins.o --- --- esh.o --- --- list.o --- gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -Wall -Ifake-readline/ -c list.c --- hash.o --- gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -Wall -Ifake-readline/ -c hash.c --- builtins.o --- gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -Wall -Ifake-readline/ -c builtins.c --- esh.o --- gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -Wall -Ifake-readline/ -c esh.c --- builtins.o --- builtins.c: In function 'run': builtins.c:604:17: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 604 | (int)ls_data(arg), 0); | ^ builtins.c:606:7: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 606 | if ((int)ls_data(arg)) { | ^ --- esh.o --- esh.c: In function 'main': esh.c:1584:9: warning: unused variable 'tmp' [-Wunused-variable] 1584 | list* tmp = NULL; | ^~~ --- format.o --- --- gc.o --- --- format.o --- gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -Wall -Ifake-readline/ -c format.c --- gc.o --- gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -Wall -Ifake-readline/ -c gc.c --- all --- gcc esh.o list.o hash.o builtins.o format.o gc.o fake-readline/readline.c -o esh fake-readline/readline.c: In function 'readline': fake-readline/readline.c:27:22: error: implicit declaration of function 'malloc' [-Wimplicit-function-declaration] 27 | char* ret = (char*)malloc(sizeof(char) * len); | ^~~~~~ fake-readline/readline.c:9:1: note: include '' or provide a declaration of 'malloc' 8 | #include +++ |+#include 9 | fake-readline/readline.c:27:22: warning: incompatible implicit declaration of built-in function 'malloc' [-Wbuiltin-declaration-mismatch] 27 | char* ret = (char*)malloc(sizeof(char) * len); | ^~~~~~ fake-readline/readline.c:27:22: note: include '' or provide a declaration of 'malloc' fake-readline/readline.c:41:7: error: implicit declaration of function 'free' [-Wimplicit-function-declaration] 41 | free(ret); | ^~~~ fake-readline/readline.c:41:7: note: include '' or provide a declaration of 'free' fake-readline/readline.c:41:7: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] fake-readline/readline.c:41:7: note: include '' or provide a declaration of 'free' fake-readline/readline.c:50:7: error: implicit declaration of function 'strcpy' [-Wimplicit-function-declaration] 50 | strcpy(tmp, ret); | ^~~~~~ fake-readline/readline.c:9:1: note: include '' or provide a declaration of 'strcpy' 8 | #include +++ |+#include 9 | fake-readline/readline.c:50:7: warning: incompatible implicit declaration of built-in function 'strcpy' [-Wbuiltin-declaration-mismatch] 50 | strcpy(tmp, ret); | ^~~~~~ fake-readline/readline.c:50:7: note: include '' or provide a declaration of 'strcpy' fake-readline/readline.c:51:7: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 51 | free(ret); | ^~~~ fake-readline/readline.c:51:7: note: include '' or provide a declaration of 'free' *** [all] Error code 1 bmake: stopped making "all" in /home/pbulk/build/shells/esh/work/esh bmake: 1 error bmake: stopped making "all" in /home/pbulk/build/shells/esh/work/esh *** Error code 2 Stop. bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/shells/esh *** Error code 1 Stop. bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/shells/esh