+ 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/speyes-1.2.0nb1/work.log + su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/speyes-1.2.0nb1/work.log WARNING: [license.mk] Every package should define a LICENSE. ===> Building for speyes-1.2.0nb1 --- speyes.o --- --- getopt.o --- --- getopt1.o --- --- speyes.o --- gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -DNO_ASM -I/opt/pkg/include -Dsun -DSVR4 -D__EXTENSIONS__ -D__amd64 -I/opt/pkg/include -c speyes.c --- getopt.o --- gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -DNO_ASM -I/opt/pkg/include -Dsun -DSVR4 -D__EXTENSIONS__ -D__amd64 -I/opt/pkg/include -c getopt.c --- getopt1.o --- gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -DNO_ASM -I/opt/pkg/include -Dsun -DSVR4 -D__EXTENSIONS__ -D__amd64 -I/opt/pkg/include -c getopt1.c --- getopt.o --- getopt.c: In function '_getopt_internal': getopt.c:527:30: error: implicit declaration of function 'strcmp' [-Wimplicit-function-declaration] 527 | if (optind != argc && !strcmp (argv[optind], "--")) | ^~~~~~ getopt.c:114:1: note: include '' or provide a declaration of 'strcmp' 113 | #include "getopt.h" +++ |+#include 114 | getopt.c:603:14: error: implicit declaration of function 'strncmp' [-Wimplicit-function-declaration] 603 | if (!strncmp (p->name, nextchar, nameend - nextchar)) | ^~~~~~~ getopt.c:603:14: note: include '' or provide a declaration of 'strncmp' getopt.c:603:50: warning: 'strncmp' argument 3 type is 'long int' where 'long unsigned int' is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch] 603 | if (!strncmp (p->name, nextchar, nameend - nextchar)) | ~~~~~~~~^~~~~~~~~~ : note: built-in 'strncmp' declared here getopt.c:606:35: error: implicit declaration of function 'strlen' [-Wimplicit-function-declaration] 606 | == (unsigned int) strlen (p->name)) | ^~~~~~ getopt.c:606:35: note: include '' or provide a declaration of 'strlen' getopt.c:606:35: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch] getopt.c:606:35: note: include '' or provide a declaration of 'strlen' getopt.c:630:23: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch] 630 | nextchar += strlen (nextchar); | ^~~~~~ getopt.c:630:23: note: include '' or provide a declaration of 'strlen' getopt.c:660:31: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch] 660 | nextchar += strlen (nextchar); | ^~~~~~ getopt.c:660:31: note: include '' or provide a declaration of 'strlen' getopt.c:676:31: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch] 676 | nextchar += strlen (nextchar); | ^~~~~~ getopt.c:676:31: note: include '' or provide a declaration of 'strlen' getopt.c:681:23: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch] 681 | nextchar += strlen (nextchar); | ^~~~~~ getopt.c:681:23: note: include '' or provide a declaration of 'strlen' getopt.c:790:52: warning: 'strncmp' argument 3 type is 'long int' where 'long unsigned int' is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch] 790 | if (!strncmp (p->name, nextchar, nameend - nextchar)) | ~~~~~~~~^~~~~~~~~~ : note: built-in 'strncmp' declared here getopt.c:792:58: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch] 792 | if ((unsigned int) (nameend - nextchar) == strlen (p->name)) | ^~~~~~ getopt.c:792:58: note: include '' or provide a declaration of 'strlen' getopt.c:815:25: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch] 815 | nextchar += strlen (nextchar); | ^~~~~~ getopt.c:815:25: note: include '' or provide a declaration of 'strlen' getopt.c:835:33: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch] 835 | nextchar += strlen (nextchar); | ^~~~~~ getopt.c:835:33: note: include '' or provide a declaration of 'strlen' getopt.c:849:33: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch] 849 | nextchar += strlen (nextchar); | ^~~~~~ getopt.c:849:33: note: include '' or provide a declaration of 'strlen' getopt.c:853:25: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch] 853 | nextchar += strlen (nextchar); | ^~~~~~ getopt.c:853:25: note: include '' or provide a declaration of 'strlen' *** [getopt.o] Error code 1 bmake: stopped making "all" in /home/pbulk/build/x11/speyes/work/speyes-1.2.0 --- speyes.o --- speyes.c: In function 'main': speyes.c:303:9: error: implicit declaration of function 'pause' [-Wimplicit-function-declaration] 303 | pause(); | ^~~~~ *** [speyes.o] Error code 1 bmake: stopped making "all" in /home/pbulk/build/x11/speyes/work/speyes-1.2.0 bmake: 2 errors bmake: stopped making "all" in /home/pbulk/build/x11/speyes/work/speyes-1.2.0 *** Error code 2 Stop. bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/x11/speyes *** Error code 1 Stop. bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/x11/speyes