+ case "${usergroup_phase}" in
+ local run_cmd
+ run_cmd=run_su
+ shift
+ run_su /usr/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/xscript-19930228nb2/work.log
+ su pbulk -c '"$@"' make /usr/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/xscript-19930228nb2/work.log
=> Bootstrap dependency digest>=20211023: found digest-20220214
WARNING: [license.mk] Every package should define a LICENSE.
===> Building for xscript-19930228nb2
--- scope.o ---
--- common.o ---
--- scope.o ---
cc -O2 -fno-strength-reduce -fno-strict-aliasing      -I/usr/pkg/include    -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L 				-D_POSIX_SOURCE -D_XOPEN_SOURCE 				-D_BSD_SOURCE -D_SVID_SOURCE                                 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 				  				  -DFUNCPROTO=15 -DNARROWPROTO     -I/usr/pkg/include -c scope.c
--- common.o ---
rm -f common.o
cc -c -O2 -fno-strength-reduce -fno-strict-aliasing      -I/usr/pkg/include    -Dlinux -D__amd64__ -D_POSIX_C_SOURCE=199309L 				-D_POSIX_SOURCE -D_XOPEN_SOURCE 				-D_BSD_SOURCE -D_SVID_SOURCE                                 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 				  				  -DFUNCPROTO=15 -DNARROWPROTO      common.c
--- scope.o ---
scope.c: In function 'Usage':
scope.c:158:3: warning: incompatible implicit declaration of built-in function 'exit' [enabled by default]
   exit(1);
   ^
scope.c: In function 'ScanArgs':
scope.c:264:8: warning: incompatible implicit declaration of built-in function 'exit' [enabled by default]
        exit (1);
        ^
scope.c:284:8: warning: incompatible implicit declaration of built-in function 'exit' [enabled by default]
        exit (1);
        ^
scope.c: In function 'ReportAndExit':
scope.c:404:5: warning: incompatible implicit declaration of built-in function 'exit' [enabled by default]
     exit (2);
     ^
scope.c:406:3: warning: incompatible implicit declaration of built-in function 'exit' [enabled by default]
   exit (0);
   ^
scope.c: In function 'WaitUntilWriteable':
scope.c:532:24: warning: passing argument 2 of 'select' from incompatible pointer type [enabled by default]
                (struct timeval *)NULL);
                        ^
In file included from /usr/include/sys/types.h:219:0,
                 from /home/pbulk/build/x11/xscript/work/.buildlink/include/X11/Xos.h:42,
                 from scope.h:10,
                 from scope.c:13:
/usr/include/sys/select.h:106:12: note: expected 'struct fd_set * __restrict__' but argument is of type 'long int *'
 extern int select (int __nfds, fd_set *__restrict __readfds,
            ^
scope.c:532:24: warning: passing argument 3 of 'select' from incompatible pointer type [enabled by default]
                (struct timeval *)NULL);
                        ^
In file included from /usr/include/sys/types.h:219:0,
                 from /home/pbulk/build/x11/xscript/work/.buildlink/include/X11/Xos.h:42,
                 from scope.h:10,
                 from scope.c:13:
/usr/include/sys/select.h:106:12: note: expected 'struct fd_set * __restrict__' but argument is of type 'long int *'
 extern int select (int __nfds, fd_set *__restrict __readfds,
            ^
scope.c:532:24: warning: passing argument 4 of 'select' from incompatible pointer type [enabled by default]
                (struct timeval *)NULL);
                        ^
In file included from /usr/include/sys/types.h:219:0,
                 from /home/pbulk/build/x11/xscript/work/.buildlink/include/X11/Xos.h:42,
                 from scope.h:10,
                 from scope.c:13:
/usr/include/sys/select.h:106:12: note: expected 'struct fd_set * __restrict__' but argument is of type 'long int *'
 extern int select (int __nfds, fd_set *__restrict __readfds,
            ^
scope.c: In function 'ConnectToServer':
scope.c:828:43: error: 'SO_USELOOPBACK' undeclared (first use in this function)
   (void) setsockopt(ServerFD, SOL_SOCKET, SO_USELOOPBACK,(char *) NULL, 0);
                                           ^
scope.c:828:43: note: each undeclared identifier is reported only once for each function it appears in
scope.c: In function 'DataOnXDisplay':
scope.c:946:7: warning: passing argument 1 of 'XRefreshKeyboardMapping' from incompatible pointer type [enabled by default]
       XRefreshKeyboardMapping ( &ev );
       ^
In file included from scope.c:32:0:
/home/pbulk/build/x11/xscript/work/.buildlink/include/X11/Xlib.h:3077:12: note: expected 'struct XMappingEvent *' but argument is of type 'union XEvent *'
 extern int XRefreshKeyboardMapping(
            ^
*** [scope.o] Error code 1

bmake: stopped making "all" in /home/pbulk/build/x11/xscript/work/test-distrib/src
--- common.o ---
common.c: In function 'panic':
common.c:36:3: warning: incompatible implicit declaration of built-in function 'exit' [enabled by default]
   exit(1);
   ^
common.c: At top level:
common.c:45:14: error: conflicting types for 'malloc'
 extern char *malloc();
              ^
common.c: In function 'Free':
common.c:62:3: warning: incompatible implicit declaration of built-in function 'free' [enabled by default]
   free(p);
   ^
common.c: In function 'SignalINT':
common.c:103:3: warning: incompatible implicit declaration of built-in function 'exit' [enabled by default]
   exit(1);
   ^
common.c: In function 'SignalQUIT':
common.c:112:3: warning: incompatible implicit declaration of built-in function 'exit' [enabled by default]
   exit(1);
   ^
common.c: In function 'SignalTERM':
common.c:121:3: warning: incompatible implicit declaration of built-in function 'exit' [enabled by default]
   exit(1);
   ^
common.c: In function 'SetUpConnectionSocket':
common.c:208:7: warning: incompatible implicit declaration of built-in function 'exit' [enabled by default]
       exit(-1);
       ^
common.c:211:50: error: 'SO_USELOOPBACK' undeclared (first use in this function)
   (void)setsockopt(ConnectionSocket, SOL_SOCKET, SO_USELOOPBACK, (char *)NULL, 0);
                                                  ^
common.c:211:50: note: each undeclared identifier is reported only once for each function it appears in
common.c:253:7: warning: incompatible implicit declaration of built-in function 'exit' [enabled by default]
       exit(-1);
       ^
common.c:263:7: warning: incompatible implicit declaration of built-in function 'exit' [enabled by default]
       exit(-1);
       ^
*** [common.o] Error code 1

bmake: stopped making "all" in /home/pbulk/build/x11/xscript/work/test-distrib/src
bmake: 2 errors

bmake: stopped making "all" in /home/pbulk/build/x11/xscript/work/test-distrib/src
*** Error code 2

Stop.
bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/x11/xscript
*** Error code 1

Stop.
bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/x11/xscript