+ 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/postmark-1.5/work.log + su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/postmark-1.5/work.log WARNING: [license.mk] Every package should define a LICENSE. ===> Building for postmark-1.5 (cd /home/pbulk/build/benchmarks/postmark/work && gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -o postmark postmark.c) postmark.c: In function 'write_blocks': postmark.c:640:7: error: implicit declaration of function 'write'; did you mean 'fwrite'? [-Wimplicit-function-declaration] 640 | write(fd,file_source+offset,write_block_size); | ^~~~~ | fwrite postmark.c: In function 'create_file': postmark.c:718:13: error: implicit declaration of function 'close'; did you mean 'pclose'? [-Wimplicit-function-declaration] 718 | close(fd); | ^~~~~ | pclose postmark.c: In function 'read_file': postmark.c:771:13: error: implicit declaration of function 'read'; did you mean 'fread'? [-Wimplicit-function-declaration] 771 | read(fd,read_buffer,read_block_size); | ^~~~ | fread postmark.c: In function 'create_subdirectories': postmark.c:68:18: error: implicit declaration of function 'mkdir' [-Wimplicit-function-declaration] 68 | #define MKDIR(x) mkdir(x,0700) | ^~~~~ postmark.c:937:10: note: in expansion of macro 'MKDIR' 937 | MKDIR(dir_name); | ^~~~~ postmark.c: In function 'delete_subdirectories': postmark.c:966:10: error: implicit declaration of function 'rmdir' [-Wimplicit-function-declaration] 966 | rmdir(dir_name); | ^~~~~ postmark.c: At top level: postmark.c:1231:1: error: return type defaults to 'int' [-Wimplicit-int] 1231 | main(argc,argv) | ^~~~ *** Error code 1 Stop. bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/benchmarks/postmark *** Error code 1 Stop. bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/benchmarks/postmark