+ 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 --- 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 --- 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 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:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ --- dynamics.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 dynamics.c:8: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ --- main.o --- main.c:108:1: warning: return type defaults to 'int' [-Wimplicit-int] 108 | Syntax(call) | ^~~~~~ main.c: In function 'Syntax': main.c:111:16: warning: implicit declaration of function 'printf' [-Wimplicit-function-declaration] 111 | (void) printf ("Usage: %s [-as] [-ts <microsec>] [-d <time>]\n", call); | ^~~~~~ main.c:43:1: note: include '<stdio.h>' or provide a declaration of 'printf' 42 | #include <X11/Shell.h> +++ |+#include <stdio.h> 43 | main.c:111:16: warning: incompatible implicit declaration of built-in function 'printf' [-Wbuiltin-declaration-mismatch] 111 | (void) printf ("Usage: %s [-as] [-ts <microsec>] [-d <time>]\n", call); | ^~~~~~ main.c:111:16: note: include '<stdio.h>' or provide a declaration of 'printf' main.c:115:9: warning: implicit declaration of function 'exit' [-Wimplicit-function-declaration] 115 | exit(1); | ^~~~ main.c:43:1: note: include '<stdlib.h>' or provide a declaration of 'exit' 42 | #include <X11/Shell.h> +++ |+#include <stdlib.h> 43 | main.c:115:9: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch] 115 | exit(1); | ^~~~ main.c:115:9: note: include '<stdlib.h>' or provide a declaration of 'exit' main.c: At top level: main.c:118:1: warning: return type defaults to 'int' [-Wimplicit-int] 118 | main( argc, argv ) | ^~~~ main.c: In function 'main': main.c:147:19: warning: implicit declaration of function 'malloc' [-Wimplicit-function-declaration] 147 | = (Molecule*) malloc( (unsigned)labData.maxMolecules | ^~~~~~ main.c:147:19: note: include '<stdlib.h>' or provide a declaration of 'malloc' main.c:147:19: warning: incompatible implicit declaration of built-in function 'malloc' [-Wbuiltin-declaration-mismatch] main.c:147:19: note: include '<stdlib.h>' or provide a declaration of 'malloc' --- dynamics.o --- dynamics.c: In function 'findNextCollision': dynamics.c:144:9: warning: implicit declaration of function 'error'; did you mean 'XtError'? [-Wimplicit-function-declaration] 144 | error("In findNextCollision(): couldn't find a wall to hit.", | ^~~~~ | XtError --- main.o --- main.c:187:3: warning: implicit declaration of function 'createHelpWidgets' [-Wimplicit-function-declaration] 187 | createHelpWidgets( help ); | ^~~~~~~~~~~~~~~~~ --- 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 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:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ --- 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:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ timestep.c: In function 'oneTimestep': timestep.c:78:5: warning: implicit declaration of function 'sprintf' [-Wimplicit-function-declaration] 78 | sprintf( str, "%6.3f msec", 1.0e-3 * data->time); | ^~~~~~~ timestep.c:7:1: note: include '<stdio.h>' or provide a declaration of 'sprintf' 6 | #include "xgas.h" +++ |+#include <stdio.h> 7 | timestep.c:78:5: warning: incompatible implicit declaration of built-in function 'sprintf' [-Wbuiltin-declaration-mismatch] 78 | sprintf( str, "%6.3f msec", 1.0e-3 * data->time); | ^~~~~~~ timestep.c:78:5: note: include '<stdio.h>' or provide a declaration of 'sprintf' --- 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 --- 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 --- molecule.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 molecule.c:8: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ --- util.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 util.c:37: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ util.c: In function 'changeTemp': util.c:62:5: warning: implicit declaration of function 'sprintf' [-Wimplicit-function-declaration] 62 | sprintf( str, "%.1f K", chamberTmp); | ^~~~~~~ util.c:38:1: note: include '<stdio.h>' or provide a declaration of 'sprintf' 37 | #include "xgas.h" +++ |+#include <stdio.h> 38 | util.c:62:5: warning: incompatible implicit declaration of built-in function 'sprintf' [-Wbuiltin-declaration-mismatch] 62 | sprintf( str, "%.1f K", chamberTmp); | ^~~~~~~ util.c:62:5: note: include '<stdio.h>' or provide a declaration of 'sprintf' util.c: In function 'frand': util.c:79:10: warning: implicit declaration of function 'rand'; did you mean 'frand'? [-Wimplicit-function-declaration] 79 | n = (rand() & 0x7fff) / 32768.0; | ^~~~ | frand util.c: At top level: util.c:88:1: warning: return type defaults to 'int' [-Wimplicit-int] 88 | error( message, time) | ^~~~~ util.c: In function 'error': util.c:92:5: warning: implicit declaration of function 'printf' [-Wimplicit-function-declaration] 92 | printf("Error at time = %6.3f msec: %s\n", 1.0e-3 * time, message); | ^~~~~~ util.c:92:5: note: include '<stdio.h>' or provide a declaration of 'printf' util.c:92:5: warning: incompatible implicit declaration of built-in function 'printf' [-Wbuiltin-declaration-mismatch] 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] 93 | exit(-1); | ^~~~ util.c:38:1: note: include '<stdlib.h>' or provide a declaration of 'exit' 37 | #include "xgas.h" +++ |+#include <stdlib.h> 38 | util.c:93:5: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch] 93 | exit(-1); | ^~~~ util.c:93:5: note: include '<stdlib.h>' or provide a declaration of 'exit' util.c: In function 'quit_callback': util.c:105:4: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch] 105 | exit(0); | ^~~~ util.c:105:4: note: include '<stdlib.h>' or provide a declaration of 'exit' --- molecule.o --- molecule.c: In function 'addMolecule': molecule.c:85:9: warning: implicit declaration of function 'error'; did you mean 'XtError'? [-Wimplicit-function-declaration] 85 | error("In addMolecule(): couldn't pick a box.", 0); | ^~~~~ | XtError --- 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 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:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ --- 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 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:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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] 45 | 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 --- 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