+ 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 -O -I/opt/x11r5/include -DSVR4 -I/usr/pkg/include -c Plaid.c --- confirm.o --- cc -O -I/opt/x11r5/include -DSVR4 -I/usr/pkg/include -c confirm.c --- menu.o --- --- note.o --- --- menu.o --- cc -O -I/opt/x11r5/include -DSVR4 -I/usr/pkg/include -c menu.c --- note.o --- cc -O -I/opt/x11r5/include -DSVR4 -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(); ^ 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 --- --- 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) --- plaid.o --- cc -O -I/opt/x11r5/include -DSVR4 -I/usr/pkg/include -c plaid.c --- note.o --- ^ 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 -O -I/opt/x11r5/include -DSVR4 -I/usr/pkg/include -c title.c --- util.o --- cc -O -I/opt/x11r5/include -DSVR4 -I/usr/pkg/include -c util.c --- version.o --- cc -O -I/opt/x11r5/include -DSVR4 -I/usr/pkg/include -c version.c --- xpostit.o --- cc -O -I/opt/x11r5/include -DSVR4 -I/usr/pkg/include -c xpostit.c In file included from /home/pbulk/build/x11/xpostit/work/.buildlink/include/X11/Xos.h:146:0, from xpostit.c:55: /home/pbulk/build/x11/xpostit/work/.buildlink/include/X11/Xarch.h:44:30: fatal error: sys/byteorder.h: No such file or directory # include ^ compilation terminated. *** [xpostit.o] Error code 1 bmake: stopped in /home/pbulk/build/x11/xpostit/work/xpostit 1 error bmake: stopped in /home/pbulk/build/x11/xpostit/work/xpostit *** Error code 2 Stop. bmake[1]: stopped in /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/x11/xpostit *** Error code 1 Stop. bmake: stopped in /data/jenkins/workspace/pkgsrc-el7-trunk-x86_64/x11/xpostit