+ 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/xp-1.2b10nb4/work.log + su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/xp-1.2b10nb4/work.log WARNING: [license.mk] Every package should define a LICENSE. ===> Building for xp-1.2b10nb4 --- xp.man --- --- xp.o --- --- text.o --- --- readfile.o --- --- xp.man --- sed -e "s;XAPPLOADDIR;/opt/pkg/lib/X11/app-defaults;" xp.man --- xp.o --- gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include -Dsun -DSVR4 -D__EXTENSIONS__ -D__amd64 -DHASVFORK -I/opt/pkg/include -c xp.c --- regexp.o --- --- text.o --- gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include -Dsun -DSVR4 -D__EXTENSIONS__ -D__amd64 -DHASVFORK -I/opt/pkg/include -c text.c --- readfile.o --- gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include -Dsun -DSVR4 -D__EXTENSIONS__ -D__amd64 -DHASVFORK -I/opt/pkg/include -c readfile.c --- regexp.o --- gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -I/opt/pkg/include -Dsun -DSVR4 -D__EXTENSIONS__ -D__amd64 -DHASVFORK -I/opt/pkg/include -c regexp.c regexp.c: In function 'regcomp': regexp.c:197:22: warning: conflicting types for built-in function 'malloc'; expected 'void *(long unsigned int)' [-Wbuiltin-declaration-mismatch] 197 | extern char *malloc(); | ^~~~~~ regexp.c:28:1: note: 'malloc' is declared in header '' 27 | #include "regmagic.h" +++ |+#include 28 | regexp.c:255:60: error: implicit declaration of function 'strlen' [-Wimplicit-function-declaration] 255 | if (OP(scan) == EXACTLY && strlen(OPERAND(scan)) >= len) { | ^~~~~~ regexp.c:28:1: note: include '' or provide a declaration of 'strlen' 27 | #include "regmagic.h" +++ |+#include 28 | regexp.c:255:60: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch] 255 | if (OP(scan) == EXACTLY && strlen(OPERAND(scan)) >= len) { | ^~~~~~ regexp.c:255:60: note: include '' or provide a declaration of 'strlen' regexp.c: In function 'regatom': regexp.c:535:31: error: implicit declaration of function 'strcspn' [-Wimplicit-function-declaration] 535 | len = strcspn(regparse, META); | ^~~~~~~ regexp.c:535:31: note: include '' or provide a declaration of 'strcspn' regexp.c:535:31: warning: incompatible implicit declaration of built-in function 'strcspn' [-Wbuiltin-declaration-mismatch] regexp.c:535:31: note: include '' or provide a declaration of 'strcspn' regexp.c: In function 'regexec': regexp.c:724:29: error: implicit declaration of function 'strncmp' [-Wimplicit-function-declaration] 724 | if (strncmp(s, prog->regmust, prog->regmlen) == 0) | ^~~~~~~ regexp.c:724:29: note: include '' or provide a declaration of 'strncmp' regexp.c:724:59: warning: 'strncmp' argument 3 type is 'int' where 'long unsigned int' is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch] 724 | if (strncmp(s, prog->regmust, prog->regmlen) == 0) | ~~~~^~~~~~~~~ : note: built-in 'strncmp' declared here regexp.c: In function 'regmatch': regexp.c:841:39: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch] 841 | len = strlen(opnd); | ^~~~~~ regexp.c:841:39: note: include '' or provide a declaration of 'strlen' regexp.c:842:72: warning: 'strncmp' argument 3 type is 'int' where 'long unsigned int' is expected in a call to built-in function declared without prototype [-Wbuiltin-declaration-mismatch] 842 | if (len > 1 && strncmp(opnd, reginput, len) != 0) | ^~~ : note: built-in 'strncmp' declared here regexp.c: In function 'regrepeat': regexp.c:1000:25: warning: incompatible implicit declaration of built-in function 'strlen' [-Wbuiltin-declaration-mismatch] 1000 | count = strlen(scan); | ^~~~~~ regexp.c:1000:25: note: include '' or provide a declaration of 'strlen' *** [regexp.o] Error code 1 bmake: stopped making "all" in /home/pbulk/build/x11/xp/work/xp-1.2b10 --- text.o --- text.c: In function 'outputselection': text.c:195:9: error: implicit declaration of function 'write'; did you mean 'fwrite'? [-Wimplicit-function-declaration] 195 | write(fileno(file),data + from,length); | ^~~~~ | fwrite *** [text.o] Error code 1 bmake: stopped making "all" in /home/pbulk/build/x11/xp/work/xp-1.2b10 --- xp.o --- xp.c:626:1: error: return type defaults to 'int' [-Wimplicit-int] 626 | main (argc, argv) | ^~~~ xp.c: In function 'main': xp.c:762:5: error: implicit declaration of function 'redirect'; did you mean 'KeyRedirect'? [-Wimplicit-function-declaration] 762 | redirect(); | ^~~~~~~~ | KeyRedirect xp.c: In function 'makewidgets': xp.c:834:64: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 834 | XtAddCallback(entry, XtNcallback, FilesMenuSelect, (XtPointer)i); | ^ xp.c: In function 'makecmndsmenu': xp.c:1005:61: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 1005 | XtAddCallback(entry,XtNcallback,CmndsMenuSelect,(XtPointer)i); | ^ xp.c: In function 'FilesMenuSelect': xp.c:1462:17: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 1462 | newfile((int)client_data, NULL,0); | ^ xp.c: In function 'CmndsMenuSelect': xp.c:1481:13: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 1481 | int i = (int) client_data; | ^ xp.c: At top level: xp.c:1648:8: error: type defaults to 'int' in declaration of 'validAction' [-Wimplicit-int] 1648 | static validAction; | ^~~~~~~~~~~ xp.c: In function 'Cmnd': xp.c:1753:14: error: implicit declaration of function 'mysystem'; did you mean 'system'? [-Wimplicit-function-declaration] 1753 | if (mysystem(cmndbuf,file_name(te->file)) < 0) | ^~~~~~~~ | system xp.c:1783:39: error: implicit declaration of function 'Where' [-Wimplicit-function-declaration] 1783 | sprintf(cmndbuf,"%d", Where(te->widget)); | ^~~~~ xp.c:1849:15: error: implicit declaration of function 'regsearch'; did you mean 'bsearch'? [-Wimplicit-function-declaration] 1849 | if (regsearch(data, data+startpos, uptr+1,TRUE, | ^~~~~~~~~ | bsearch xp.c: In function 'shellr': xp.c:2152:21: error: implicit declaration of function 'outputselection'; did you mean 'XtNselection'? [-Wimplicit-function-declaration] 2152 | outputselection(target->widget,fout,target->data); | ^~~~~~~~~~~~~~~ | XtNselection xp.c:2156:46: error: implicit declaration of function 'mypclose'; did you mean 'pclose'? [-Wimplicit-function-declaration] 2156 | background ? fclose(fout) : mypclose(fout); | ^~~~~~~~ | pclose xp.c: In function 'Do_stderr': xp.c:2177:14: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 2177 | int fd = (int)client_data; | ^ xp.c: At top level: xp.c:2198:1: error: return type defaults to 'int' [-Wimplicit-int] 2198 | redirect() | ^~~~~~~~ xp.c: In function 'redirect': xp.c:2208:96: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 2208 | XtAppAddInput(app,stderr_pipe[0],(XtPointer)(XtInputReadMask|XtInputExceptMask), Do_stderr,(XtPointer)stderr_pipe[0]); | ^ *** [xp.o] Error code 1 bmake: stopped making "all" in /home/pbulk/build/x11/xp/work/xp-1.2b10 bmake: 3 errors bmake: stopped making "all" in /home/pbulk/build/x11/xp/work/xp-1.2b10 *** Error code 2 Stop. bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/x11/xp *** Error code 1 Stop. bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/x11/xp