+ 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/xml2doc-20030510nb28/work.log + su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/xml2doc-20030510nb28/work.log WARNING: [license.mk] Every package should define a LICENSE. ===> Building for xml2doc-20030510nb28 Building xml2doc /opt/pkg/bin/gmake -C src/ build gmake[1]: Entering directory '/home/pbulk/build/textproc/xml2doc/work/xml2doc/src' gcc -I/opt/pkg/include/libxml2 -I/opt/pkg/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -c -I. -DWITH_PDF -I/opt/pkg/include -DVERSION=\"20030510\" main.c gcc -I/opt/pkg/include/libxml2 -I/opt/pkg/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -c -I. -DWITH_PDF -I/opt/pkg/include -DVERSION=\"20030510\" defs.c gcc -I/opt/pkg/include/libxml2 -I/opt/pkg/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -c -I. -DWITH_PDF -I/opt/pkg/include -DVERSION=\"20030510\" parse.c gcc -I/opt/pkg/include/libxml2 -I/opt/pkg/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -c -I. -DWITH_PDF -I/opt/pkg/include -DVERSION=\"20030510\" parse_include.c parse.c: In function 'parse': parse.c:50:25: error: implicit declaration of function 'exit' [-Wimplicit-function-declaration] 50 | exit(1); | ^~~~ parse.c:2:1: note: include '' or provide a declaration of 'exit' 1 | #include "defs.h" +++ |+#include 2 | parse.c:50:25: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch] 50 | exit(1); | ^~~~ parse.c:50:25: note: include '' or provide a declaration of 'exit' main.c: In function 'main': main.c:28:26: error: implicit declaration of function 'malloc' [-Wimplicit-function-declaration] 28 | Doc=(DocStruct *)malloc(sizeof(DocStruct)); | ^~~~~~ main.c:2:1: note: include '' or provide a declaration of 'malloc' 1 | #include "main.h" +++ |+#include 2 | main.c:28:26: warning: incompatible implicit declaration of built-in function 'malloc' [-Wbuiltin-declaration-mismatch] 28 | Doc=(DocStruct *)malloc(sizeof(DocStruct)); | ^~~~~~ main.c:28:26: note: include '' or provide a declaration of 'malloc' main.c:48:27: error: implicit declaration of function 'exit' [-Wimplicit-function-declaration] 48 | exit(1); | ^~~~ main.c:48:27: note: include '' or provide a declaration of 'exit' main.c:48:27: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch] main.c:48:27: note: include '' or provide a declaration of 'exit' defs.c: In function 'defs_init': defs.c:10:42: error: implicit declaration of function 'malloc' [-Wimplicit-function-declaration] 10 | DocS.add.colors=(struct_colors *)malloc(1); | ^~~~~~ defs.c:2:1: note: include '' or provide a declaration of 'malloc' 1 | #include "defs.h" +++ |+#include 2 | defs.c:10:42: warning: incompatible implicit declaration of built-in function 'malloc' [-Wbuiltin-declaration-mismatch] 10 | DocS.add.colors=(struct_colors *)malloc(1); | ^~~~~~ defs.c:10:42: note: include '' or provide a declaration of 'malloc' defs.c: In function 'defs_upload': defs.c:58:17: error: implicit declaration of function 'exit' [-Wimplicit-function-declaration] 58 | exit(1); | ^~~~ defs.c:58:17: note: include '' or provide a declaration of 'exit' defs.c:58:17: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch] defs.c:58:17: note: include '' or provide a declaration of 'exit' defs.c:60:25: error: implicit declaration of function 'realloc' [-Wimplicit-function-declaration] 60 | Doc=(DocStruct*)realloc(Doc,sizeof(DocStruct)*(n+1)); | ^~~~~~~ defs.c:60:25: note: include '' or provide a declaration of 'realloc' defs.c:60:25: warning: incompatible implicit declaration of built-in function 'realloc' [-Wbuiltin-declaration-mismatch] defs.c:60:25: note: include '' or provide a declaration of 'realloc' parse_include.c: In function 'parse_include': parse_include.c:14:17: error: implicit declaration of function 'exit' [-Wimplicit-function-declaration] 14 | exit(1); | ^~~~ parse_include.c:2:1: note: include '' or provide a declaration of 'exit' 1 | #include "defs.h" +++ |+#include 2 | parse_include.c:14:17: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch] 14 | exit(1); | ^~~~ parse_include.c:14:17: note: include '' or provide a declaration of 'exit' gmake[1]: *** [Makefile:77: parse.o] Error 1 gmake[1]: *** Waiting for unfinished jobs.... gmake[1]: *** [Makefile:74: defs.o] Error 1 gmake[1]: *** [Makefile:41: main.o] Error 1 gmake[1]: *** [Makefile:80: parse_include.o] Error 1 gmake[1]: Leaving directory '/home/pbulk/build/textproc/xml2doc/work/xml2doc/src' gmake: *** [Makefile:11: build] Error 2 *** Error code 2 Stop. bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/textproc/xml2doc *** Error code 1 Stop. bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/textproc/xml2doc