+ 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/xalarm-3.06nb5/work.log + su pbulk -c '"$@"' make /usr/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/xalarm-3.06nb5/work.log => Bootstrap dependency digest>=20211023: found digest-20220214 WARNING: [license.mk] Every package should define a LICENSE. ===> Building for xalarm-3.06nb5 --- alarm.o --- --- when.o --- --- alarm.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 -DUSERENAME -DUSEGETHOSTNAME -DUSEGETPWUID -I/usr/pkg/include -c alarm.c --- when.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 -DUSERENAME -DUSEGETHOSTNAME -DUSEGETPWUID -I/usr/pkg/include -c when.c --- alarm.o --- In file included from /usr/include/sys/types.h:25, from /home/pbulk/build/time/xalarm/work/.buildlink/include/X11/Xos.h:42, from xalarm.h:26, from alarm.c:25: /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" ^~~~~~~ --- when.o --- In file included from /usr/include/sys/types.h:25, from /home/pbulk/build/time/xalarm/work/.buildlink/include/X11/Xos.h:42, from xalarm.h:26, from when.c:26: /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" ^~~~~~~ --- alarm.o --- alarm.c: In function 'SnoozeAmount': alarm.c:133:18: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] int mins = (int) clientdata; ^ alarm.c: In function 'WakeUp': alarm.c:179:34: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] SnoozeAmount ((Widget) NULL, (XtPointer) xalarm.snooze, (XtPointer) NULL); ^ --- when.o --- when.c: In function 'Edit': when.c:286:13: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] switch ((int) clientdata) { ^ --- warnings.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 -DUSERENAME -DUSEGETHOSTNAME -DUSEGETPWUID -I/usr/pkg/include -c warnings.c In file included from /usr/include/sys/types.h:25, from /home/pbulk/build/time/xalarm/work/.buildlink/include/X11/Xos.h:42, from xalarm.h:26, from warnings.c:26: /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" ^~~~~~~ warnings.c: In function 'Reset': warnings.c:196:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] (void) ResetAlarm ((int) NULL, (int) NULL, (struct sigcontext *) NULL, ^ warnings.c:196:36: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] (void) ResetAlarm ((int) NULL, (int) NULL, (struct sigcontext *) NULL, ^ --- times.o --- --- dates.o --- --- times.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 -DUSERENAME -DUSEGETHOSTNAME -DUSEGETPWUID -I/usr/pkg/include -c times.c --- dates.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 -DUSERENAME -DUSEGETHOSTNAME -DUSEGETPWUID -I/usr/pkg/include -c dates.c --- times.o --- In file included from /usr/include/sys/types.h:25, from /home/pbulk/build/time/xalarm/work/.buildlink/include/X11/Xos.h:42, from xalarm.h:26, from times.c:25: /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" ^~~~~~~ --- dates.o --- In file included from /usr/include/sys/types.h:25, from /home/pbulk/build/time/xalarm/work/.buildlink/include/X11/Xos.h:42, from xalarm.h:26, from dates.c:25: /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" ^~~~~~~ --- file.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 -DUSERENAME -DUSEGETHOSTNAME -DUSEGETPWUID -I/usr/pkg/include -c file.c In file included from /usr/include/sys/types.h:25, from /home/pbulk/build/time/xalarm/work/.buildlink/include/X11/Xos.h:42, from xalarm.h:26, from file.c:24: /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" ^~~~~~~ --- dates.o --- dates.c: In function 'ParseDateString': dates.c:188:10: warning: implicit declaration of function 'atoi' [-Wimplicit-function-declaration] *days = atoi (str); ^~~~ --- file.o --- file.c: In function 'ParseAlarmFile': file.c:136:4: warning: implicit declaration of function 'exit' [-Wimplicit-function-declaration] exit (-1); ^~~~ file.c:136:4: warning: incompatible implicit declaration of built-in function 'exit' file.c:136:4: note: include '<stdlib.h>' or provide a declaration of 'exit' file.c:28:1: +#include <stdlib.h> file.c:136:4: exit (-1); ^~~~ file.c: In function 'AlarmDying': file.c:205:5: warning: incompatible implicit declaration of built-in function 'exit' exit (0); ^~~~ file.c:205:5: note: include '<stdlib.h>' or provide a declaration of 'exit' file.c: In function 'SaveAlarm': file.c:225:12: warning: implicit declaration of function 'umask'; did you mean 'sigmask'? [-Wimplicit-function-declaration] (void) umask (63); ^~~~~ sigmask file.c: In function 'RestartDiedAlarms': file.c:302:10: warning: implicit declaration of function 'wait'; did you mean 'write'? [-Wimplicit-function-declaration] (void) wait ((int *) NULL); ^~~~ write --- fns.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 -DUSERENAME -DUSEGETHOSTNAME -DUSEGETPWUID -I/usr/pkg/include -c fns.c In file included from /usr/include/sys/types.h:25, from /home/pbulk/build/time/xalarm/work/.buildlink/include/X11/Xos.h:42, from xalarm.h:26, from fns.c:24: /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" ^~~~~~~ fns.c: In function 'Initialise': fns.c:131:6: warning: implicit declaration of function 'system' [-Wimplicit-function-declaration] if (system (command) != 0) ^~~~~~ fns.c:137:16: warning: implicit declaration of function 'atoi' [-Wimplicit-function-declaration] if (kill (atoi (data->reset), SIGUSR1) == -1) ^~~~ fns.c:159:2: warning: implicit declaration of function 'exit' [-Wimplicit-function-declaration] exit (0); ^~~~ fns.c:159:2: warning: incompatible implicit declaration of built-in function 'exit' fns.c:159:2: note: include '<stdlib.h>' or provide a declaration of 'exit' fns.c:29:1: +#include <stdlib.h> #else fns.c:159:2: exit (0); ^~~~ fns.c:172:2: warning: incompatible implicit declaration of built-in function 'exit' exit (0); ^~~~ fns.c:172:2: note: include '<stdlib.h>' or provide a declaration of 'exit' fns.c: In function 'PreParseArgList': fns.c:202:3: warning: incompatible implicit declaration of built-in function 'exit' exit (-1); ^~~~ fns.c:202:3: note: include '<stdlib.h>' or provide a declaration of 'exit' fns.c:205:3: warning: incompatible implicit declaration of built-in function 'exit' exit (-1); ^~~~ fns.c:205:3: note: include '<stdlib.h>' or provide a declaration of 'exit' fns.c:211:3: warning: incompatible implicit declaration of built-in function 'exit' exit (-1); ^~~~ fns.c:211:3: note: include '<stdlib.h>' or provide a declaration of 'exit' fns.c:214:3: warning: incompatible implicit declaration of built-in function 'exit' exit (-1); ^~~~ fns.c:214:3: note: include '<stdlib.h>' or provide a declaration of 'exit' fns.c:217:3: warning: incompatible implicit declaration of built-in function 'exit' exit (-1); ^~~~ fns.c:217:3: note: include '<stdlib.h>' or provide a declaration of 'exit' fns.c: In function 'StartDaemon': fns.c:257:2: warning: incompatible implicit declaration of built-in function 'exit' exit (-1); ^~~~ fns.c:257:2: note: include '<stdlib.h>' or provide a declaration of 'exit' fns.c:287:10: warning: implicit declaration of function 'wait'; did you mean 'Quit'? [-Wimplicit-function-declaration] (void) wait ((int *) NULL); ^~~~ Quit fns.c: In function 'KillDaemon': fns.c:316:5: warning: incompatible implicit declaration of built-in function 'exit' exit (0); ^~~~ fns.c:316:5: note: include '<stdlib.h>' or provide a declaration of 'exit' fns.c: In function 'DisplayName': fns.c:535:3: warning: incompatible implicit declaration of built-in function 'exit' exit (-1); ^~~~ fns.c:535:3: note: include '<stdlib.h>' or provide a declaration of 'exit' fns.c: In function 'Quit': fns.c:730:5: warning: incompatible implicit declaration of built-in function 'exit' exit (0); ^~~~ fns.c:730:5: note: include '<stdlib.h>' or provide a declaration of 'exit' --- xalarm.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 -DUSERENAME -DUSEGETHOSTNAME -DUSEGETPWUID -I/usr/pkg/include -c xalarm.c In file included from /usr/include/sys/types.h:25, from /home/pbulk/build/time/xalarm/work/.buildlink/include/X11/Xos.h:42, from xalarm.h:26, from xalarm.c:27: /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" ^~~~~~~ --- xalarm._man --- rm -f xalarm._man if test -z "" ; then cd `dirname xalarm` && ln -s `basename xalarm.man` `basename xalarm._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" < xalarm.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/\@\@$/\\/' >xalarm._man; fi --- xalarm --- rm -f xalarm cc -o xalarm -O2 -fno-strength-reduce -fno-strict-aliasing -Wl,-zrelro -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/pkg/lib alarm.o when.o warnings.o times.o dates.o file.o fns.o xalarm.o -lXaw -lXmu -lXt -lSM -lICE -lXpm -lXext -lX11 -Wl,-rpath,/usr/pkg/lib -Wl,-rpath-link,./exports/lib