+ 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/xbmbrowser-5.1nb5/work.log + su pbulk -c '"$@"' make /usr/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/xbmbrowser-5.1nb5/work.log => Bootstrap dependency digest>=20211023: found digest-20220214 WARNING: [license.mk] Every package should define a LICENSE. ===> Building for xbmbrowser-5.1nb5 cc -O2 -fno-strength-reduce -fno-strict-aliasing -DNDEBUG -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 -DLIBRARY_RC=\"/usr/pkg/lib/X11/xbmbrowser/xbmbrowser.menu\" -DUSERS_RC=\".xbmbrowserrc\" -DDO_XPMS -I/usr/pkg/include/X11 -I/usr/pkg/include -c -o xbmbrowser.o xbmbrowser.c cc -O2 -fno-strength-reduce -fno-strict-aliasing -DNDEBUG -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 -DLIBRARY_RC=\"/usr/pkg/lib/X11/xbmbrowser/xbmbrowser.menu\" -DUSERS_RC=\".xbmbrowserrc\" -DDO_XPMS -I/usr/pkg/include/X11 -I/usr/pkg/include -c -o images.o images.c In file included from /usr/include/sys/types.h:25, from /home/pbulk/build/graphics/xbmbrowser/work/.buildlink/include/X11/Xos.h:42, from xbmbrowser.h:19, from xbmbrowser.c:20: /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" | ^~~~~~~ In file included from /usr/include/sys/types.h:25, from /home/pbulk/build/graphics/xbmbrowser/work/.buildlink/include/X11/Xos.h:42, from xbmbrowser.h:19, from images.c:24: /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" | ^~~~~~~ images.c: In function 'allocate_widgets': images.c:167:9: warning: implicit declaration of function 'abort' [-Wimplicit-function-declaration] 167 | abort(); | ^~~~~ images.c:25:1: note: include '<stdlib.h>' or provide a declaration of 'abort' 24 | #include "xbmbrowser.h" +++ |+#include <stdlib.h> 25 | images.c:167:9: warning: incompatible implicit declaration of built-in function 'abort' [-Wbuiltin-declaration-mismatch] 167 | abort(); | ^~~~~ images.c:167:9: note: include '<stdlib.h>' or provide a declaration of 'abort' images.c:170:32: warning: implicit declaration of function 'realloc' [-Wimplicit-function-declaration] 170 | widget_array = (Widget *)realloc(widget_array, n * sizeof(Widget) ); | ^~~~~~~ images.c:170:32: note: include '<stdlib.h>' or provide a declaration of 'realloc' images.c:170:32: warning: incompatible implicit declaration of built-in function 'realloc' [-Wbuiltin-declaration-mismatch] images.c:170:32: note: include '<stdlib.h>' or provide a declaration of 'realloc' images.c:173:9: warning: incompatible implicit declaration of built-in function 'abort' [-Wbuiltin-declaration-mismatch] 173 | abort(); | ^~~~~ images.c:173:9: note: include '<stdlib.h>' or provide a declaration of 'abort' xbmbrowser.c: In function 'usage': xbmbrowser.c:223:3: warning: implicit declaration of function 'exit' [-Wimplicit-function-declaration] 223 | exit(1); | ^~~~ xbmbrowser.c:46:1: note: include '<stdlib.h>' or provide a declaration of 'exit' 45 | #include "filesyms/filemask.xbm" +++ |+#include <stdlib.h> 46 | xbmbrowser.c:223:3: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch] 223 | exit(1); | ^~~~ xbmbrowser.c:223:3: note: include '<stdlib.h>' or provide a declaration of 'exit' xbmbrowser.c: At top level: xbmbrowser.c:227:1: warning: return type defaults to 'int' [-Wimplicit-int] 227 | main(argc, argv) | ^~~~ xbmbrowser.c: In function 'main': xbmbrowser.c:333:7: warning: implicit declaration of function 'read_user_menus'; did you mean 'read_user_menu'? [-Wimplicit-function-declaration] 333 | read_user_menus(toplevel, rc, app_data.cmd_rc); | ^~~~~~~~~~~~~~~ | read_user_menu xbmbrowser.c:340:7: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch] 340 | exit(-1); | ^~~~ xbmbrowser.c:340:7: note: include '<stdlib.h>' or provide a declaration of 'exit' xbmbrowser.c:357:7: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch] 357 | exit(-1); | ^~~~ xbmbrowser.c:357:7: note: include '<stdlib.h>' or provide a declaration of 'exit' xbmbrowser.c:367:5: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch] 367 | exit(-1); | ^~~~ xbmbrowser.c:367:5: note: include '<stdlib.h>' or provide a declaration of 'exit' xbmbrowser.c:370:10: warning: ignoring return value of 'getcwd' declared with attribute 'warn_unused_result' [-Wunused-result] 370 | (void) getcwd(dir_name, NAME_MAX); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ cc -O2 -fno-strength-reduce -fno-strict-aliasing -DNDEBUG -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 -DLIBRARY_RC=\"/usr/pkg/lib/X11/xbmbrowser/xbmbrowser.menu\" -DUSERS_RC=\".xbmbrowserrc\" -DDO_XPMS -I/usr/pkg/include/X11 -I/usr/pkg/include -c -o callbacks.o callbacks.c In file included from /usr/include/sys/types.h:25, from /home/pbulk/build/graphics/xbmbrowser/work/.buildlink/include/X11/Xos.h:42, from xbmbrowser.h:19, from callbacks.c:16: /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" | ^~~~~~~ cc -O2 -fno-strength-reduce -fno-strict-aliasing -DNDEBUG -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 -DLIBRARY_RC=\"/usr/pkg/lib/X11/xbmbrowser/xbmbrowser.menu\" -DUSERS_RC=\".xbmbrowserrc\" -DDO_XPMS -I/usr/pkg/include/X11 -I/usr/pkg/include -c -o misc.o misc.c In file included from /usr/include/sys/types.h:25, from misc.c:17: /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" | ^~~~~~~ cc -O2 -fno-strength-reduce -fno-strict-aliasing -DNDEBUG -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 -DLIBRARY_RC=\"/usr/pkg/lib/X11/xbmbrowser/xbmbrowser.menu\" -DUSERS_RC=\".xbmbrowserrc\" -DDO_XPMS -I/usr/pkg/include/X11 -I/usr/pkg/include -c -o user_menu.o user_menu.c In file included from /usr/include/sys/types.h:25, from /home/pbulk/build/graphics/xbmbrowser/work/.buildlink/include/X11/Xos.h:42, from xbmbrowser.h:19, from user_menu.c:139: /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" | ^~~~~~~ misc.c: In function 'init_stipple': misc.c:80:13: warning: implicit declaration of function 'XmuCreateStippledPixmap' [-Wimplicit-function-declaration] 80 | stipple = XmuCreateStippledPixmap( | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/string.h:519, from /home/pbulk/build/graphics/xbmbrowser/work/.buildlink/include/X11/Xos.h:62, from xbmbrowser.h:19, from misc.c:19: In function 'strncat', inlined from 'read_dir' at misc.c:187:5: /usr/include/bits/string_fortified.h:138:10: warning: '__builtin___strncat_chk' specified bound 255 equals destination size [-Wstringop-overflow=] 138 | return __builtin___strncat_chk (__dest, __src, __len, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 139 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ cc -O2 -fno-strength-reduce -fno-strict-aliasing -DNDEBUG -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 -DLIBRARY_RC=\"/usr/pkg/lib/X11/xbmbrowser/xbmbrowser.menu\" -DUSERS_RC=\".xbmbrowserrc\" -DDO_XPMS -I/usr/pkg/include/X11 -I/usr/pkg/include -c -o user_functs.o user_functs.c In file included from /usr/include/sys/types.h:25, from /home/pbulk/build/graphics/xbmbrowser/work/.buildlink/include/X11/Xos.h:42, from xbmbrowser.h:19, from user_functs.c:23: /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" | ^~~~~~~ user_functs.c: In function 'quit_browser': user_functs.c:33:3: warning: implicit declaration of function 'exit' [-Wimplicit-function-declaration] 33 | exit(0); | ^~~~ user_functs.c:25:1: note: include '<stdlib.h>' or provide a declaration of 'exit' 24 | #include <pwd.h> +++ |+#include <stdlib.h> 25 | user_functs.c:33:3: warning: incompatible implicit declaration of built-in function 'exit' [-Wbuiltin-declaration-mismatch] 33 | exit(0); | ^~~~ user_functs.c:33:3: note: include '<stdlib.h>' or provide a declaration of 'exit' user_functs.c: In function 'expand_tilder': user_functs.c:64:34: warning: comparison between pointer and zero character constant [-Wpointer-compare] 64 | if(*buf && (p = getpwnam(buf)) == '\0') /* find correct home */ | ^~ user_functs.c:64:14: note: did you mean to dereference the pointer? 64 | if(*buf && (p = getpwnam(buf)) == '\0') /* find correct home */ | ^ user_functs.c: In function 'exec_string': user_functs.c:132:3: warning: implicit declaration of function 'system' [-Wimplicit-function-declaration] 132 | system(command); | ^~~~~~ user_functs.c: In function 'change_dir': user_functs.c:102:12: warning: ignoring return value of 'getcwd' declared with attribute 'warn_unused_result' [-Wunused-result] 102 | (void) getcwd(newdir, NAME_MAX); | ^~~~~~~~~~~~~~~~~~~~~~~~ cc -O2 -fno-strength-reduce -fno-strict-aliasing -DNDEBUG -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 -DLIBRARY_RC=\"/usr/pkg/lib/X11/xbmbrowser/xbmbrowser.menu\" -DUSERS_RC=\".xbmbrowserrc\" -DDO_XPMS -I/usr/pkg/include/X11 -I/usr/pkg/include -c -o IconLabel.o IconLabel.c In file included from /usr/include/sys/types.h:25, from /home/pbulk/build/graphics/xbmbrowser/work/.buildlink/include/X11/Xlib.h:38, from /home/pbulk/build/graphics/xbmbrowser/work/.buildlink/include/X11/Intrinsic.h:53, from /home/pbulk/build/graphics/xbmbrowser/work/.buildlink/include/X11/IntrinsicP.h:51, from IconLabel.c:34: /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" | ^~~~~~~ IconLabel.c: In function 'GetGCs': IconLabel.c:170:23: warning: implicit declaration of function 'XmuCreateStippledPixmap' [-Wimplicit-function-declaration] 170 | values.tile = XmuCreateStippledPixmap( XtScreen((Widget)ilw), | ^~~~~~~~~~~~~~~~~~~~~~~ IconLabel.c: In function 'ReleaseGCs': IconLabel.c:187:3: warning: implicit declaration of function 'XmuReleaseStippledPixmap' [-Wimplicit-function-declaration] 187 | XmuReleaseStippledPixmap( XtScreen((Widget)ilw), ilw->icon_label.stipple ); | ^~~~~~~~~~~~~~~~~~~~~~~~ rm -f xbmbrowser cc -o xbmbrowser -O2 -fno-strength-reduce -fno-strict-aliasing -DNDEBUG -Wl,-zrelro -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/pkg/lib xbmbrowser.o images.o callbacks.o misc.o user_menu.o user_functs.o IconLabel.o -lXpm -lXaw -lXmu -lXt -lSM -lICE -lXpm -lXext -lX11 -Wl,-rpath,/usr/pkg/lib -Wl,-rpath-link,./exports/lib rm -f xbmbrowser._man if test -z "" ; then \ cd `dirname xbmbrowser` && \ ln -s `basename xbmbrowser.man` `basename xbmbrowser._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" \ < xbmbrowser.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/\@\@$/\\/' >xbmbrowser._man; \ fi SED SUBSTITUTIONS "XbmBrowser-color.ad.sed" ==> "XbmBrowser-color.ad" DIVIDING COLOR AD "XbmBrowser-color.ad.sed" ==> "XbmBrowser.ad.sed" SED SUBSTITUTIONS "xbmbrowser.menu.sed" ==> "xbmbrowser.menu" SED SUBSTITUTIONS "xbmbrowser.menu.tut.sed" ==> "xbmbrowser.menu.tut" SED SUBSTITUTIONS "XbmBrowser.ad.sed" ==> "XbmBrowser.ad"