+ 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/xgas-1.0nb3/work.log
+ su pbulk -c '"$@"' make /usr/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/xgas-1.0nb3/work.log
=> Bootstrap dependency digest>=20211023: found digest-20220214
WARNING: [license.mk] Every package should define a LICENSE.
===> Building for xgas-1.0nb3
--- main.o ---
--- dynamics.o ---
--- main.o ---
cc -O2 -fno-strength-reduce -fno-strict-aliasing    -I./lib/Xt -I.  -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 main.c
--- dynamics.o ---
cc -O2 -fno-strength-reduce -fno-strict-aliasing    -I./lib/Xt -I.  -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 dynamics.c
In file included from /usr/include/sys/types.h:25,
                 from /home/pbulk/build/x11/xgas/work/.buildlink/include/X11/Xlib.h:38,
                 from /home/pbulk/build/x11/xgas/work/.buildlink/include/X11/Intrinsic.h:53,
                 from xgas.h:8,
                 from dynamics.c:8:
/usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
 # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
   ^~~~~~~
--- main.o ---
In file included from /usr/include/sys/types.h:25,
                 from /home/pbulk/build/x11/xgas/work/.buildlink/include/X11/Xlib.h:38,
                 from /home/pbulk/build/x11/xgas/work/.buildlink/include/X11/Intrinsic.h:53,
                 from xgas.h:8,
                 from main.c:40:
/usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
 # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
   ^~~~~~~
--- dynamics.o ---
dynamics.c: In function 'findNextCollision':
dynamics.c:144:2: warning: implicit declaration of function 'error' [-Wimplicit-function-declaration]
  error("In findNextCollision(): couldn't find a wall to hit.",
  ^~~~~
--- main.o ---
main.c:108:1: warning: return type defaults to 'int' [-Wimplicit-int]
 Syntax(call)
 ^~~~~~
main.c: In function 'Syntax':
main.c:111:16: warning: implicit declaration of function 'printf' [-Wimplicit-function-declaration]
         (void) printf ("Usage: %s [-as] [-ts <microsec>] [-d <time>]\n", call);
                ^~~~~~
main.c:111:16: warning: incompatible implicit declaration of built-in function 'printf'
main.c:111:16: note: include '<stdio.h>' or provide a declaration of 'printf'
main.c:43:1:
+#include <stdio.h>
 
main.c:111:16:
         (void) printf ("Usage: %s [-as] [-ts <microsec>] [-d <time>]\n", call);
                ^~~~~~
main.c:115:9: warning: implicit declaration of function 'exit' [-Wimplicit-function-declaration]
         exit(1);
         ^~~~
main.c:115:9: warning: incompatible implicit declaration of built-in function 'exit'
main.c:115:9: note: include '<stdlib.h>' or provide a declaration of 'exit'
main.c:43:1:
+#include <stdlib.h>
 
main.c:115:9:
         exit(1);
         ^~~~
main.c: At top level:
main.c:118:1: warning: return type defaults to 'int' [-Wimplicit-int]
 main( argc, argv )
 ^~~~
main.c: In function 'main':
main.c:147:19: warning: implicit declaration of function 'malloc' [-Wimplicit-function-declaration]
     = (Molecule*) malloc( (unsigned)labData.maxMolecules
                   ^~~~~~
main.c:147:19: warning: incompatible implicit declaration of built-in function 'malloc'
main.c:147:19: note: include '<stdlib.h>' or provide a declaration of 'malloc'
main.c:187:3: warning: implicit declaration of function 'createHelpWidgets'; did you mean 'XtCreateWidget'? [-Wimplicit-function-declaration]
   createHelpWidgets( help );
   ^~~~~~~~~~~~~~~~~
   XtCreateWidget
--- chamber.o ---
cc -O2 -fno-strength-reduce -fno-strict-aliasing    -I./lib/Xt -I.  -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 chamber.c
--- timestep.o ---
cc -O2 -fno-strength-reduce -fno-strict-aliasing    -I./lib/Xt -I.  -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 timestep.c
In file included from /usr/include/sys/types.h:25,
                 from /home/pbulk/build/x11/xgas/work/.buildlink/include/X11/Xlib.h:38,
                 from /home/pbulk/build/x11/xgas/work/.buildlink/include/X11/Intrinsic.h:53,
                 from xgas.h:8,
                 from timestep.c:6:
/usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
 # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
   ^~~~~~~
--- chamber.o ---
In file included from /usr/include/sys/types.h:25,
                 from /home/pbulk/build/x11/xgas/work/.buildlink/include/X11/Xlib.h:38,
                 from /home/pbulk/build/x11/xgas/work/.buildlink/include/X11/Intrinsic.h:53,
                 from xgas.h:8,
                 from chamber.c:7:
/usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
 # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
   ^~~~~~~
--- timestep.o ---
timestep.c: In function 'oneTimestep':
timestep.c:78:5: warning: implicit declaration of function 'sprintf' [-Wimplicit-function-declaration]
     sprintf( str, "%6.3f msec", 1.0e-3 * data->time);
     ^~~~~~~
timestep.c:78:5: warning: incompatible implicit declaration of built-in function 'sprintf'
timestep.c:78:5: note: include '<stdio.h>' or provide a declaration of 'sprintf'
timestep.c:7:1:
+#include <stdio.h>
 
timestep.c:78:5:
     sprintf( str, "%6.3f msec", 1.0e-3 * data->time);
     ^~~~~~~
--- molecule.o ---
cc -O2 -fno-strength-reduce -fno-strict-aliasing    -I./lib/Xt -I.  -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 molecule.c
In file included from /usr/include/sys/types.h:25,
                 from /home/pbulk/build/x11/xgas/work/.buildlink/include/X11/Xlib.h:38,
                 from /home/pbulk/build/x11/xgas/work/.buildlink/include/X11/Intrinsic.h:53,
                 from xgas.h:8,
                 from molecule.c:8:
/usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
 # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
   ^~~~~~~
--- util.o ---
cc -O2 -fno-strength-reduce -fno-strict-aliasing    -I./lib/Xt -I.  -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 util.c
In file included from /usr/include/sys/types.h:25,
                 from /home/pbulk/build/x11/xgas/work/.buildlink/include/X11/Xlib.h:38,
                 from /home/pbulk/build/x11/xgas/work/.buildlink/include/X11/Intrinsic.h:53,
                 from xgas.h:8,
                 from util.c:37:
/usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
 # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
   ^~~~~~~
--- molecule.o ---
molecule.c: In function 'addMolecule':
molecule.c:85:2: warning: implicit declaration of function 'error' [-Wimplicit-function-declaration]
  error("In addMolecule(): couldn't pick a box.", 0);
  ^~~~~
--- util.o ---
util.c: In function 'changeTemp':
util.c:62:5: warning: implicit declaration of function 'sprintf' [-Wimplicit-function-declaration]
     sprintf( str, "%.1f K", chamberTmp);
     ^~~~~~~
util.c:62:5: warning: incompatible implicit declaration of built-in function 'sprintf'
util.c:62:5: note: include '<stdio.h>' or provide a declaration of 'sprintf'
util.c:38:1:
+#include <stdio.h>
 
util.c:62:5:
     sprintf( str, "%.1f K", chamberTmp);
     ^~~~~~~
util.c: In function 'frand':
util.c:79:10: warning: implicit declaration of function 'rand'; did you mean 'frand'? [-Wimplicit-function-declaration]
     n = (rand() & 0x7fff) / 32768.0;
          ^~~~
          frand
util.c: At top level:
util.c:88:1: warning: return type defaults to 'int' [-Wimplicit-int]
 error( message, time)
 ^~~~~
util.c: In function 'error':
util.c:92:5: warning: implicit declaration of function 'printf' [-Wimplicit-function-declaration]
     printf("Error at time = %6.3f msec: %s\n", 1.0e-3 * time, message);
     ^~~~~~
util.c:92:5: warning: incompatible implicit declaration of built-in function 'printf'
util.c:92:5: note: include '<stdio.h>' or provide a declaration of 'printf'
util.c:93:5: warning: implicit declaration of function 'exit' [-Wimplicit-function-declaration]
     exit(-1);
     ^~~~
util.c:93:5: warning: incompatible implicit declaration of built-in function 'exit'
util.c:93:5: note: include '<stdlib.h>' or provide a declaration of 'exit'
util.c:38:1:
+#include <stdlib.h>
 
util.c:93:5:
     exit(-1);
     ^~~~
util.c: In function 'quit_callback':
util.c:105:4: warning: incompatible implicit declaration of built-in function 'exit'
    exit(0);
    ^~~~
util.c:105:4: note: include '<stdlib.h>' or provide a declaration of 'exit'
--- help.o ---
cc -O2 -fno-strength-reduce -fno-strict-aliasing    -I./lib/Xt -I.  -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 help.c
--- Gas.o ---
cc -O2 -fno-strength-reduce -fno-strict-aliasing    -I./lib/Xt -I.  -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 Gas.c
--- help.o ---
In file included from /usr/include/sys/types.h:25,
                 from /home/pbulk/build/x11/xgas/work/.buildlink/include/X11/Xlib.h:38,
                 from /home/pbulk/build/x11/xgas/work/.buildlink/include/X11/Intrinsic.h:53,
                 from xgas.h:8,
                 from help.c:7:
/usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
 # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
   ^~~~~~~
--- Gas.o ---
In file included from /usr/include/sys/types.h:25,
                 from /home/pbulk/build/x11/xgas/work/.buildlink/include/X11/Xlib.h:38,
                 from /home/pbulk/build/x11/xgas/work/.buildlink/include/X11/Intrinsic.h:53,
                 from /home/pbulk/build/x11/xgas/work/.buildlink/include/X11/IntrinsicP.h:51,
                 from Gas.c:32:
/usr/include/features.h:184:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp]
 # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE"
   ^~~~~~~
--- help.o ---
help.c:45:1: warning: return type defaults to 'int' [-Wimplicit-int]
 createHelpWidgets( parent )
 ^~~~~~~~~~~~~~~~~
--- quick.o ---
cc -O2 -fno-strength-reduce -fno-strict-aliasing    -I./lib/Xt -I.  -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 quick.c
--- man.o ---
--- xgas._man ---
--- man.o ---
cc -O2 -fno-strength-reduce -fno-strict-aliasing    -I./lib/Xt -I.  -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 man.c
--- xgas._man ---
rm -f xgas._man
if test -z "" ; then  cd `dirname xgas` &&  ln -s `basename xgas.man` `basename xgas._man`;  else  cpp -undef -traditional  -D__apploaddir__=/usr/share/X11/app-defaults -D__appmansuffix__=1 -D__filemansuffix__=5 -D__libmansuffix__=3 -D__miscmansuffix__=7 -D__drivermansuffix__=4 -D__adminmansuffix__=8 -D__projectroot__=/usr/pkg -D__xconfigfile__=xorg.conf -D__xconfigdir__=/usr/pkg/lib/X11 -D__xlogfile__=Xorg -D__xservername__=Xorg -D__xorgversion__="\"`echo 7 7 0 | sed -e 's/ /./g' -e 's/^/Version\\\ /'`\" \"X Version 11\"" -D__vendorversion__="`echo 7 7 0 | sed -e 's/ /./g' -e 's/^/Version\\\ /'` X.Org"   < xgas.man | sed -e '/^#  *[0-9][0-9]*  *.*$/d' 			-e '/^#line  *[0-9][0-9]*  *.*$/d' 			-e '/^[ 	]*XCOMM$/s/XCOMM/#/' 			-e '/^[ 	]*XCOMM[^a-zA-Z0-9_]/s/XCOMM/#/' 			-e '/^[ 	]*XHASH/s/XHASH/#/' 			-e '/\@\@$/s/\@\@$/\\/' >xgas._man;  fi
--- doc.o ---
cc -O2 -fno-strength-reduce -fno-strict-aliasing    -I./lib/Xt -I.  -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 doc.c
--- xgas ---
rm -f xgas
cc -o xgas -O2 -fno-strength-reduce -fno-strict-aliasing     -Wl,-zrelro -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/pkg/lib   main.o dynamics.o chamber.o timestep.o molecule.o util.o                   help.o Gas.o doc.o quick.o man.o -lXaw -lXmu -lXt -lSM -lICE -lXext -lX11 -lXt -lSM -lICE -lXext -lX11   -lm   -Wl,-rpath,/usr/pkg/lib -Wl,-rpath-link,./exports/lib