+ case "${usergroup_phase}" in + local run_cmd + run_cmd=run_su + shift + run_su /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/xpostit-3.3.1nb4/work.log + su pbulk -c '"$@"' make /opt/pkg/bin/bmake all BATCH=1 DEPENDS_TARGET=/nonexistent WRKLOG=/tmp/bulklog/xpostit-3.3.1nb4/work.log WARNING: [license.mk] Every package should define a LICENSE. ===> Building for xpostit-3.3.1nb4 --- Plaid.o --- --- confirm.o --- --- menu.o --- --- note.o --- --- Plaid.o --- gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -DNO_ASM -I/opt/pkg/include -Dsun -DSVR4 -D__EXTENSIONS__ -D__amd64 -I/opt/pkg/include -c Plaid.c --- confirm.o --- gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -DNO_ASM -I/opt/pkg/include -Dsun -DSVR4 -D__EXTENSIONS__ -D__amd64 -I/opt/pkg/include -c confirm.c --- menu.o --- gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -DNO_ASM -I/opt/pkg/include -Dsun -DSVR4 -D__EXTENSIONS__ -D__amd64 -I/opt/pkg/include -c menu.c --- note.o --- gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -DNO_ASM -I/opt/pkg/include -Dsun -DSVR4 -D__EXTENSIONS__ -D__amd64 -I/opt/pkg/include -c note.c --- menu.o --- menu.c: In function 'CreateMenuWidget': menu.c:123:72: error: passing argument 4 of 'XtAddCallback' makes pointer from integer without a cast [-Wint-conversion] 123 | XtAddCallback(entry, XtNcallback, HandleMenuSelection, i); | ^ | | | int In file included from menu.c:46: /home/pbulk/build/x11/xpostit/work/.buildlink/include/X11/Intrinsic.h:1257:5: note: expected 'XtPointer' {aka 'void *'} but argument is of type 'int' 1257 | XtPointer /* closure */ | ^~~~~~~~~ menu.c: In function 'HandleMenuSelection': menu.c:145:17: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 145 | switch ((int) client_data) { | ^ --- note.o --- In file included from note.c:111: vroot.h: In function 'VirtualRootWindow': vroot.h:29:1: error: type of 'screen' defaults to 'int' [-Wimplicit-int] 29 | VirtualRootWindow(dpy, screen) | ^~~~~~~~~~~~~~~~~ note.c: In function 'LoadSavedNotes': note.c:241:15: warning: conflicting types for built-in function 'realloc'; expected 'void *(void *, long unsigned int)' [-Wbuiltin-declaration-mismatch] 241 | char *realloc(); | ^~~~~~~ note.c:112:1: note: 'realloc' is declared in header '' 111 | #include "vroot.h" +++ |+#include 112 | note.c:337:21: error: implicit declaration of function 'atoi' [-Wimplicit-function-declaration] 337 | n = atoi(&(d->d_name[nlen])); | ^~~~ note.c: In function 'SaveAllNotes': note.c:475:46: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 475 | SaveNote(pn->pn_shellwidget, (caddr_t) pn->pn_index, 0); | ^ In file included from note.c:110: note.c: In function 'MakeNoteWidget': xpostit.h:110:56: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 110 | callbacks[0].closure = (caddr_t) (val) | ^ note.c:555:9: note: in expansion of macro 'SetCallback' 555 | SetCallback(SaveNote, pn->pn_index); | ^~~~~~~~~~~ xpostit.h:110:56: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 110 | callbacks[0].closure = (caddr_t) (val) | ^ note.c:566:9: note: in expansion of macro 'SetCallback' 566 | SetCallback(EraseNote, pn->pn_index); | ^~~~~~~~~~~ xpostit.h:110:56: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 110 | callbacks[0].closure = (caddr_t) (val) | ^ note.c:578:9: note: in expansion of macro 'SetCallback' 578 | SetCallback(DestroyNote, pn->pn_index); | ^~~~~~~~~~~ xpostit.h:110:56: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 110 | callbacks[0].closure = (caddr_t) (val) | ^ note.c:590:9: note: in expansion of macro 'SetCallback' 590 | SetCallback(TitleNote, pn->pn_index); | ^~~~~~~~~~~ note.c:653:17: error: passing argument 4 of 'XtAddEventHandler' from incompatible pointer type [-Wincompatible-pointer-types] 653 | (XtEventHandler *) StructureNotifyHandler, (XtPointer) pn); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | void (**)(struct _WidgetRec *, void *, XEvent *, Boolean *) {aka void (**)(struct _WidgetRec *, void *, union _XEvent *, char *)} --- menu.o --- *** [menu.o] Error code 1 bmake: stopped making "all" in /home/pbulk/build/x11/xpostit/work/xpostit --- note.o --- In file included from note.c:97: /home/pbulk/build/x11/xpostit/work/.buildlink/include/X11/Intrinsic.h:849:5: note: expected 'XtEventHandler' {aka 'void (*)(struct _WidgetRec *, void *, union _XEvent *, char *)'} but argument is of type 'void (**)(struct _WidgetRec *, void *, XEvent *, Boolean *)' {aka 'void (**)(struct _WidgetRec *, void *, union _XEvent *, char *)'} 849 | XtEventHandler /* proc */, | ^~~~~~~~~~~~~~ note.c: In function 'SaveNote': note.c:719:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 719 | if ((pn = FindNote((int) client_data)) == NULL) | ^ note.c:731:9: error: implicit declaration of function 'GetNotePosition' [-Wimplicit-function-declaration] 731 | GetNotePosition(pn->pn_shellwidget, &shellx, &shelly); | ^~~~~~~~~~~~~~~ note.c:757:13: error: implicit declaration of function 'access'; did you mean 'Success'? [-Wimplicit-function-declaration] 757 | if (access(app_res.note_dir, 0) < 0) { | ^~~~~~ | Success note.c:758:21: error: implicit declaration of function 'mkdir'; did you mean 'seekdir'? [-Wimplicit-function-declaration] 758 | if (mkdir(app_res.note_dir, 0700) < 0) { | ^~~~~ | seekdir note.c: In function 'EraseNote': note.c:823:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 823 | if ((pn = FindNote((int) client_data)) == NULL) | ^ note.c:841:30: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 841 | confirm[0].closure = (caddr_t) pn->pn_index; | ^ note.c:843:29: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 843 | cancel[0].closure = (caddr_t) pn->pn_index; | ^ note.c: In function 'DestroyNote': note.c:868:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 868 | if ((pn = FindNote((int) client_data)) == NULL) | ^ note.c:872:30: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 872 | confirm[0].closure = (caddr_t) pn->pn_index; | ^ note.c:874:29: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 874 | cancel[0].closure = (caddr_t) pn->pn_index; | ^ note.c: In function 'TitleNote': note.c:895:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 895 | if ((pn = FindNote((int) client_data)) == NULL) | ^ note.c:901:9: error: implicit declaration of function 'GetNoteTitle' [-Wimplicit-function-declaration] 901 | GetNoteTitle(pn, OkayTitle, CancelTitle); | ^~~~~~~~~~~~ note.c: In function 'ConfirmErase': note.c:924:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 924 | if ((pn = FindNote((int) client_data)) == NULL) | ^ note.c: In function 'ConfirmDestroy': note.c:970:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 970 | if ((pn = FindNote((int) client_data)) == NULL) | ^ note.c:998:17: error: implicit declaration of function 'unlink' [-Wimplicit-function-declaration] 998 | unlink(pn->pn_file); | ^~~~~~ note.c:999:17: error: implicit declaration of function 'free' [-Wimplicit-function-declaration] 999 | free(pn->pn_file); | ^~~~ note.c:999:17: note: include '' or provide a declaration of 'free' note.c:999:17: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] note.c:999:17: note: include '' or provide a declaration of 'free' note.c:1005:9: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 1005 | free(pn->pn_text); | ^~~~ note.c:1005:9: note: include '' or provide a declaration of 'free' note.c: In function 'OkayTitle': note.c:1039:9: error: implicit declaration of function 'ClearTitle' [-Wimplicit-function-declaration] 1039 | ClearTitle(); | ^~~~~~~~~~ note.c:1050:26: error: implicit declaration of function 'XawDialogGetValueString' [-Wimplicit-function-declaration] 1050 | title = (String) XawDialogGetValueString(dialog); | ^~~~~~~~~~~~~~~~~~~~~~~ note.c:1050:17: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 1050 | title = (String) XawDialogGetValueString(dialog); | ^ note.c:1055:9: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 1055 | free(pn->pn_title); | ^~~~ note.c:1055:9: note: include '' or provide a declaration of 'free' note.c: At top level: note.c:1172:1: error: return type defaults to 'int' [-Wimplicit-int] 1172 | GetNotePosition(w, x, y) | ^~~~~~~~~~~~~~~ *** [note.o] Error code 1 bmake: stopped making "all" in /home/pbulk/build/x11/xpostit/work/xpostit bmake: 2 errors bmake: stopped making "all" in /home/pbulk/build/x11/xpostit/work/xpostit *** Error code 2 Stop. bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/x11/xpostit *** Error code 1 Stop. bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/x11/xpostit