+ 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/nettest-92.11.09/work.log + su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/nettest-92.11.09/work.log WARNING: [license.mk] Every package should define a LICENSE. ===> Building for nettest-92.11.09 make objs INCLUDE="-I." DEFINES="-DSYSV -DWAIT3CODE -DNAMEDPIPES -DNO_ISO" LIBS="-lsocket -lnsl" OPT="-O" gcc -O -I. -DSYSV -DWAIT3CODE -DNAMEDPIPES -DNO_ISO nettestd.c -o nettestd -lsocket -lnsl nettestd.c:67:1: error: return type defaults to 'int' [-Wimplicit-int] 67 | dochild() | ^~~~~~~ nettestd.c:119:1: error: return type defaults to 'int' [-Wimplicit-int] 119 | main(argc, argv) | ^~~~ nettestd.c: In function 'main': nettestd.c:164:30: error: implicit declaration of function 'strcmp' [-Wimplicit-function-declaration] 164 | if (!strcmp(optarg, "unix")) { | ^~~~~~ nettestd.c:65:1: note: include '' or provide a declaration of 'strcmp' 64 | #include +++ |+#include 65 | nettestd.c:176:33: error: implicit declaration of function 'usage' [-Wimplicit-function-declaration] 176 | usage(); | ^~~~~ nettestd.c:283:21: error: implicit declaration of function 'setpgrp' [-Wimplicit-function-declaration] 283 | if (setpgrp() < 0) | ^~~~~~~ nettestd.c:287:31: error: implicit declaration of function 'ioctl' [-Wimplicit-function-declaration] 287 | (void)ioctl(c, TIOCNOTTY, (char *)0); | ^~~~~ nettestd.c:288:31: error: implicit declaration of function 'close'; did you mean 'pclose'? [-Wimplicit-function-declaration] 288 | (void)close(c); | ^~~~~ | pclose nettestd.c:290:25: error: implicit declaration of function 'fork' [-Wimplicit-function-declaration] 290 | switch (fork()) { | ^~~~ nettestd.c:299:26: error: implicit declaration of function 'getdtablesize' [-Wimplicit-function-declaration] 299 | for (c = getdtablesize(); c >= 0; --c) | ^~~~~~~~~~~~~ nettestd.c:314:25: error: implicit declaration of function 'unlink' [-Wimplicit-function-declaration] 314 | unlink(buf); | ^~~~~~ nettestd.c:316:33: error: implicit declaration of function 'error'; did you mean 'perror'? [-Wimplicit-function-declaration] 316 | error("mknod"); | ^~~~~ | perror nettestd.c:335:25: error: implicit declaration of function 'data_stream' [-Wimplicit-function-declaration] 335 | data_stream(s2, s); | ^~~~~~~~~~~ nettestd.c:356:25: error: implicit declaration of function 'sleep' [-Wimplicit-function-declaration] 356 | sleep(1); | ^~~~~ nettestd.c:364:17: error: implicit declaration of function 'strcpy' [-Wimplicit-function-declaration] 364 | strcpy(name.d_unix.sun_path, portname); | ^~~~~~ nettestd.c:364:17: note: include '' or provide a declaration of 'strcpy' nettestd.c:364:17: warning: incompatible implicit declaration of built-in function 'strcpy' [-Wbuiltin-declaration-mismatch] nettestd.c:364:17: note: include '' or provide a declaration of 'strcpy' nettestd.c:434:25: error: implicit declaration of function 'do_dgram' [-Wimplicit-function-declaration] 434 | do_dgram(s); | ^~~~~~~~ nettestd.c:436:25: error: implicit declaration of function 'do_stream' [-Wimplicit-function-declaration] 436 | do_stream(s); | ^~~~~~~~~ nettestd.c: At top level: nettestd.c:442:1: error: return type defaults to 'int' [-Wimplicit-int] 442 | do_stream(s) | ^~~~~~~~~ nettestd.c:523:1: error: return type defaults to 'int' [-Wimplicit-int] 523 | data_stream(in, out) | ^~~~~~~~~~~ nettestd.c: In function 'data_stream': nettestd.c:524:10: error: type defaults to 'int' in declaration of 'in' [-Wimplicit-int] 524 | register in, out; | ^~ nettestd.c:524:14: error: type defaults to 'int' in declaration of 'out' [-Wimplicit-int] 524 | register in, out; | ^~~ nettestd.c:568:17: error: implicit declaration of function 'write'; did you mean 'fwrite'? [-Wimplicit-function-declaration] 568 | write(out, buf, strlen(buf)); | ^~~~~ | fwrite nettestd.c:571:9: warning: incompatible implicit declaration of built-in function 'strcpy' [-Wbuiltin-declaration-mismatch] 571 | strcpy(buf, "1"); | ^~~~~~ nettestd.c:571:9: note: include '' or provide a declaration of 'strcpy' nettestd.c:579:25: error: implicit declaration of function 'strcat' [-Wimplicit-function-declaration] 579 | strcat(buf, " Cannot set buffers sizes."); | ^~~~~~ nettestd.c:579:25: note: include '' or provide a declaration of 'strcat' nettestd.c:579:25: warning: incompatible implicit declaration of built-in function 'strcat' [-Wbuiltin-declaration-mismatch] nettestd.c:579:25: note: include '' or provide a declaration of 'strcat' nettestd.c:585:25: warning: incompatible implicit declaration of built-in function 'strcat' [-Wbuiltin-declaration-mismatch] 585 | strcat(buf, " Cannot set TOS bits."); | ^~~~~~ nettestd.c:585:25: note: include '' or provide a declaration of 'strcat' nettestd.c:592:25: warning: incompatible implicit declaration of built-in function 'strcat' [-Wbuiltin-declaration-mismatch] 592 | strcat(buf, " Cannot set TCP_NODELAY."); | ^~~~~~ nettestd.c:592:25: note: include '' or provide a declaration of 'strcat' nettestd.c:597:23: error: assignment to 'int (*)()' from incompatible pointer type 'ssize_t (*)(int, void *, size_t, int)' {aka 'long int (*)(int, void *, long unsigned int, int)'} [-Wincompatible-pointer-types] 597 | rfunc = recv; | ^ nettestd.c:603:9: warning: incompatible implicit declaration of built-in function 'strcat' [-Wbuiltin-declaration-mismatch] 603 | strcat(buf, " \n"); | ^~~~~~ nettestd.c:603:9: note: include '' or provide a declaration of 'strcat' nettestd.c: At top level: nettestd.c:690:1: error: return type defaults to 'int' [-Wimplicit-int] 690 | do_dgram(s) | ^~~~~~~~ nettestd.c:752:1: error: return type defaults to 'int' [-Wimplicit-int] 752 | usage() | ^~~~~ nettestd.c:769:1: error: return type defaults to 'int' [-Wimplicit-int] 769 | error(string) | ^~~~~ *** Error code 1 Stop. make[2]: stopped making "objs" in /home/pbulk/build/benchmarks/nettest/work *** Error code 1 Stop. make[1]: stopped making "SunOS" in /home/pbulk/build/benchmarks/nettest/work *** Error code 1 Stop. bmake: stopped making "all" in /home/pbulk/build/benchmarks/nettest/work *** Error code 1 Stop. bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/benchmarks/nettest *** Error code 1 Stop. bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/benchmarks/nettest