+ 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/xpostit-3.3.1nb4/work.log
+ su pbulk -c '"$@"' make /usr/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/xpostit-3.3.1nb4/work.log
=> Bootstrap dependency digest>=20211023: found digest-20220214
WARNING: [license.mk] Every package should define a LICENSE.
===> Building for xpostit-3.3.1nb4
--- Plaid.o ---
--- confirm.o ---
--- Plaid.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     -I/usr/pkg/include -c Plaid.c
--- confirm.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     -I/usr/pkg/include -c confirm.c
--- menu.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     -I/usr/pkg/include -c menu.c
--- note.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     -I/usr/pkg/include -c note.c
--- menu.o ---
menu.c: In function 'CreateMenuWidget':
menu.c:123:3: warning: passing argument 4 of 'XtAddCallback' makes pointer from integer without a cast [enabled by default]
   XtAddCallback(entry, XtNcallback, HandleMenuSelection, i);
   ^
In file included from menu.c:46:0:
/home/pbulk/build/x11/xpostit/work/.buildlink/include/X11/Intrinsic.h:1258:13: note: expected 'XtPointer' but argument is of type 'int'
 extern void XtAddCallback(
             ^
menu.c: In function 'HandleMenuSelection':
menu.c:145:10: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
  switch ((int) client_data) {
          ^
--- note.o ---
note.c: In function 'LoadSavedNotes':
note.c:241:8: warning: conflicting types for built-in function 'realloc' [enabled by default]
  char *realloc();
        ^
--- plaid.o ---
--- note.o ---
note.c: In function 'SaveAllNotes':
note.c:475:32: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
   SaveNote(pn->pn_shellwidget, (caddr_t) pn->pn_index, 0);
                                ^
In file included from note.c:110:0:
note.c: In function 'MakeNoteWidget':
xpostit.h:110:28: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
     callbacks[0].closure = (caddr_t) (val)
                            ^
note.c:555:2: note: in expansion of macro 'SetCallback'
  SetCallback(SaveNote, pn->pn_index);
  ^
xpostit.h:110:28: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
     callbacks[0].closure = (caddr_t) (val)
                            ^
note.c:566:2: note: in expansion of macro 'SetCallback'
  SetCallback(EraseNote, pn->pn_index);
  ^
xpostit.h:110:28: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
     callbacks[0].closure = (caddr_t) (val)
                            ^
--- plaid.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     -I/usr/pkg/include -c plaid.c
--- note.o ---
note.c:578:2: note: in expansion of macro 'SetCallback'
  SetCallback(DestroyNote, pn->pn_index);
  ^
xpostit.h:110:28: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
     callbacks[0].closure = (caddr_t) (val)
                            ^
note.c:590:2: note: in expansion of macro 'SetCallback'
  SetCallback(TitleNote, pn->pn_index);
  ^
note.c:653:3: warning: passing argument 4 of 'XtAddEventHandler' from incompatible pointer type [enabled by default]
   (XtEventHandler *) StructureNotifyHandler, (XtPointer) pn);
   ^
In file included from note.c:97:0:
/home/pbulk/build/x11/xpostit/work/.buildlink/include/X11/Intrinsic.h:850:13: note: expected 'XtEventHandler' but argument is of type 'void (**)(struct _WidgetRec *, void *, union XEvent *, Boolean *)'
 extern void XtAddEventHandler(
             ^
note.c: In function 'SaveNote':
note.c:719:21: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
  if ((pn = FindNote((int) client_data)) == NULL)
                     ^
note.c: In function 'EraseNote':
note.c:823:21: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
  if ((pn = FindNote((int) client_data)) == NULL)
                     ^
note.c:841:23: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  confirm[0].closure = (caddr_t) pn->pn_index;
                       ^
note.c:843:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  cancel[0].closure = (caddr_t) pn->pn_index;
                      ^
note.c: In function 'DestroyNote':
note.c:868:21: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
  if ((pn = FindNote((int) client_data)) == NULL)
                     ^
note.c:872:23: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  confirm[0].closure = (caddr_t) pn->pn_index;
                       ^
note.c:874:22: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  cancel[0].closure = (caddr_t) pn->pn_index;
                      ^
note.c: In function 'TitleNote':
note.c:895:21: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
  if ((pn = FindNote((int) client_data)) == NULL)
                     ^
note.c: In function 'ConfirmErase':
note.c:924:21: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
  if ((pn = FindNote((int) client_data)) == NULL)
                     ^
note.c: In function 'ConfirmDestroy':
note.c:970:21: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
  if ((pn = FindNote((int) client_data)) == NULL)
                     ^
note.c:999:3: warning: incompatible implicit declaration of built-in function 'free' [enabled by default]
   free(pn->pn_file);
   ^
note.c:1005:2: warning: incompatible implicit declaration of built-in function 'free' [enabled by default]
  free(pn->pn_text);
  ^
note.c: In function 'OkayTitle':
note.c:1050:10: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
  title = (String) XawDialogGetValueString(dialog);
          ^
note.c:1055:2: warning: incompatible implicit declaration of built-in function 'free' [enabled by default]
  free(pn->pn_title);
  ^
note.c: In function 'LoadSavedNotes':
note.c:294:8: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result]
   fgets(buf, sizeof(buf), fp);
        ^
note.c:394:8: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result]
   fread(pn->pn_text, sizeof(char), pn->pn_textsize, fp);
        ^
--- title.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     -I/usr/pkg/include -c title.c
--- util.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     -I/usr/pkg/include -c util.c
--- version.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     -I/usr/pkg/include -c version.c
--- xpostit.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     -I/usr/pkg/include -c xpostit.c
--- xpostit._man ---
rm -f xpostit._man
if test -z "" ; then  cd `dirname xpostit` &&  ln -s `basename xpostit.man` `basename xpostit._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"   < xpostit.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/\@\@$/\\/' >xpostit._man;  fi
--- xpostit.o ---
xpostit.c: In function 'main':
xpostit.c:181:7: warning: passing argument 5 of 'XtGetApplicationResources' from incompatible pointer type [enabled by default]
       XtNumber(resources), argv, argc);
       ^
In file included from xpostit.c:52:0:
/home/pbulk/build/x11/xpostit/work/.buildlink/include/X11/Intrinsic.h:1571:13: note: expected 'ArgList' but argument is of type 'char **'
 extern void XtGetApplicationResources(
             ^
--- xpostit ---
rm -f xpostit
cc -o xpostit -O2 -fno-strength-reduce -fno-strict-aliasing     -Wl,-zrelro -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/pkg/lib   Plaid.o confirm.o menu.o note.o plaid.o title.o util.o 	   	  version.o xpostit.o    -lXaw -lXmu -lXt -lSM -lICE -lXpm  -lXext -lX11   -Wl,-rpath,/usr/pkg/lib -Wl,-rpath-link,./exports/lib