+ 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 sed -e "s;XAPPLOADDIR;/opt/pkg/lib/X11/app-defaults;" xp.man 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 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]); | ^ *** Error code 1 Stop. bmake: stopped making "all" in /home/pbulk/build/x11/xp/work/xp-1.2b10 *** Error code 1 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