+ 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: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"
   ^~~~~~~
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: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"
   ^~~~~~~
xbmbrowser.c: In function 'usage':
xbmbrowser.c:223:3: warning: implicit declaration of function 'exit' [-Wimplicit-function-declaration]
   exit(1);
   ^~~~
xbmbrowser.c:223:3: warning: incompatible implicit declaration of built-in function 'exit'
xbmbrowser.c:223:3: note: include '<stdlib.h>' or provide a declaration of 'exit'
xbmbrowser.c:46:1:
+#include <stdlib.h>
 
xbmbrowser.c:223:3:
   exit(1);
   ^~~~
xbmbrowser.c: At top level:
xbmbrowser.c:227:1: warning: return type defaults to 'int' [-Wimplicit-int]
 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]
       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'
       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'
       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'
     exit(-1);
     ^~~~
xbmbrowser.c:367:5: note: include '<stdlib.h>' or provide a declaration of 'exit'
images.c: In function 'allocate_widgets':
images.c:167:9: warning: implicit declaration of function 'abort' [-Wimplicit-function-declaration]
         abort();
         ^~~~~
images.c:167:9: warning: incompatible implicit declaration of built-in function 'abort'
images.c:167:9: note: include '<stdlib.h>' or provide a declaration of 'abort'
images.c:25:1:
+#include <stdlib.h>
 
images.c:167:9:
         abort();
         ^~~~~
images.c:170:32: warning: implicit declaration of function 'realloc' [-Wimplicit-function-declaration]
       widget_array = (Widget *)realloc(widget_array, n * sizeof(Widget) );
                                ^~~~~~~
images.c:170:32: warning: incompatible implicit declaration of built-in function 'realloc'
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'
         abort();
         ^~~~~
images.c:173:9: note: include '<stdlib.h>' or provide a declaration of 'abort'
xbmbrowser.c:370:10: warning: ignoring return value of 'getcwd', declared with attribute warn_unused_result [-Wunused-result]
   (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: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"
   ^~~~~~~
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: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"
   ^~~~~~~
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
misc.c: In function 'init_stipple':
misc.c:80:13: warning: implicit declaration of function 'XmuCreateStippledPixmap'; did you mean 'XpmCreateDataFromPixmap'? [-Wimplicit-function-declaration]
   stipple = XmuCreateStippledPixmap(
             ^~~~~~~~~~~~~~~~~~~~~~~
             XpmCreateDataFromPixmap
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: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"
   ^~~~~~~
In file included from /usr/include/string.h:495,
                 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:151:10: warning: '__builtin___strncat_chk' specified bound 255 equals destination size [-Wstringop-overflow=]
   return __builtin___strncat_chk (__dest, __src, __len,
          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
       __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: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"
   ^~~~~~~
user_functs.c: In function 'quit_browser':
user_functs.c:33:3: warning: implicit declaration of function 'exit' [-Wimplicit-function-declaration]
   exit(0);
   ^~~~
user_functs.c:33:3: warning: incompatible implicit declaration of built-in function 'exit'
user_functs.c:33:3: note: include '<stdlib.h>' or provide a declaration of 'exit'
user_functs.c:25:1:
+#include <stdlib.h>
 
user_functs.c:33:3:
   exit(0);
   ^~~~
user_functs.c: In function 'expand_tilder':
user_functs.c:64:34: warning: comparison between pointer and zero character constant [-Wpointer-compare]
   if(*buf && (p = getpwnam(buf)) == '\0') /* find correct home */
                                  ^~
user_functs.c:64:14: note: did you mean to dereference the pointer?
   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]
   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]
     (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: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"
   ^~~~~~~
IconLabel.c: In function 'GetGCs':
IconLabel.c:170:23: warning: implicit declaration of function 'XmuCreateStippledPixmap'; did you mean 'XCreateSimpleWindow'? [-Wimplicit-function-declaration]
   values.tile       = XmuCreateStippledPixmap( XtScreen((Widget)ilw),
                       ^~~~~~~~~~~~~~~~~~~~~~~
                       XCreateSimpleWindow
IconLabel.c: In function 'ReleaseGCs':
IconLabel.c:187:3: warning: implicit declaration of function 'XmuReleaseStippledPixmap' [-Wimplicit-function-declaration]
   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
DIVIDING COLOR AD "XbmBrowser-color.ad.sed" ==> "XbmBrowser.ad.sed"
SED SUBSTITUTIONS "XbmBrowser-color.ad.sed" ==> "XbmBrowser-color.ad"
SED SUBSTITUTIONS "xbmbrowser.menu.sed" ==> "xbmbrowser.menu"
SED SUBSTITUTIONS "xbmbrowser.menu.tut.sed" ==> "xbmbrowser.menu.tut"
SED SUBSTITUTIONS "XbmBrowser.ad.sed" ==> "XbmBrowser.ad"