=> "/opt/pkg/bin/bmake" ["-C", "/data/jenkins/workspace/pkgsrc-upstream-trunk/mail/xmailwatcher", "all", "BATCH=1", "DEPENDS_TARGET=/nonexistent"] WARNING: [license.mk] Every package should define a LICENSE. ===> Building for xmailwatcher-1.6nb3 --- xmailwatcher.o --- --- box.o --- --- xmailwatcher.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 xmailwatcher.c --- box.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 box.c box.c: In function 'mungeSender': box.c:162:21: error: implicit declaration of function 'isgraph' [-Wimplicit-function-declaration] 162 | if (isgraph(*b)) break; | ^~~~~~~ box.c:36:1: note: include '' or provide a declaration of 'isgraph' 35 | #include +++ |+#include 36 | box.c: In function 'LowerFront': box.c:171:16: error: implicit declaration of function 'isalpha' [-Wimplicit-function-declaration] 171 | while (isalpha(*line)) { | ^~~~~~~ box.c:171:16: note: include '' or provide a declaration of 'isalpha' box.c:172:25: error: implicit declaration of function 'tolower' [-Wimplicit-function-declaration] 172 | *line = tolower(*line); | ^~~~~~~ box.c:172:25: note: include '' or provide a declaration of 'tolower' box.c: In function 'MHparseMailbox': box.c:261:17: error: implicit declaration of function 'free' [-Wimplicit-function-declaration] 261 | free((char *)namelist[i]); | ^~~~ box.c:36:1: note: include '' or provide a declaration of 'free' 35 | #include +++ |+#include 36 | box.c:261:17: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 261 | free((char *)namelist[i]); | ^~~~ box.c:261:17: note: include '' or provide a declaration of 'free' box.c:263:9: warning: incompatible implicit declaration of built-in function 'free' [-Wbuiltin-declaration-mismatch] 263 | free((char *)namelist); | ^~~~ box.c:263:9: note: include '' or provide a declaration of 'free' *** [box.o] Error code 1 bmake: stopped making "all" in /home/pbulk/work/mail/xmailwatcher/work/xmailwatcher --- xmailwatcher.o --- xmailwatcher.c:168:1: error: return type defaults to 'int' [-Wimplicit-int] 168 | main(argc, argv) | ^~~~ xmailwatcher.c: In function 'main': xmailwatcher.c:168:1: warning: old-style function definition [-Wold-style-definition] xmailwatcher.c:274:55: error: passing argument 3 of 'XtAddCallback' from incompatible pointer type [-Wincompatible-pointer-types] 274 | XtAddCallback(iconLabel, XtNcallback, iconCallback, NULL); | ^~~~~~~~~~~~ | | | void (*)(void) In file included from /home/pbulk/work/mail/xmailwatcher/work/.buildlink/include/X11/IntrinsicP.h:51, from xmailwatcher.c:36: /home/pbulk/work/mail/xmailwatcher/work/.buildlink/include/X11/Intrinsic.h:1256:5: note: expected 'XtCallbackProc' {aka 'void (*)(struct _WidgetRec *, void *, void *)'} but argument is of type 'void (*)(void)' 1256 | XtCallbackProc /* callback */, | ^~~~~~~~~~~~~~ xmailwatcher.c:153:13: note: 'iconCallback' declared here 153 | static void iconCallback(); | ^~~~~~~~~~~~ /home/pbulk/work/mail/xmailwatcher/work/.buildlink/include/X11/Intrinsic.h:341:16: note: 'XtCallbackProc' declared here 341 | typedef void (*XtCallbackProc)( | ^~~~~~~~~~~~~~ xmailwatcher.c:283:32: error: passing argument 4 of 'XtAddEventHandler' from incompatible pointer type [-Wincompatible-pointer-types] 283 | False, iconEvent, NULL); | ^~~~~~~~~ | | | void (*)(void) /home/pbulk/work/mail/xmailwatcher/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 (*)(void)' 849 | XtEventHandler /* proc */, | ^~~~~~~~~~~~~~ xmailwatcher.c:152:6: note: 'iconEvent' declared here 152 | void iconEvent(); | ^~~~~~~~~ /home/pbulk/work/mail/xmailwatcher/work/.buildlink/include/X11/Intrinsic.h:302:16: note: 'XtEventHandler' declared here 302 | typedef void (*XtEventHandler)( | ^~~~~~~~~~~~~~ xmailwatcher.c:303:24: error: passing argument 4 of 'XtAddEventHandler' from incompatible pointer type [-Wincompatible-pointer-types] 303 | False, listEvent, NULL); | ^~~~~~~~~ | | | void (*)(void) /home/pbulk/work/mail/xmailwatcher/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 (*)(void)' 849 | XtEventHandler /* proc */, | ^~~~~~~~~~~~~~ xmailwatcher.c:151:6: note: 'listEvent' declared here 151 | void listEvent(); | ^~~~~~~~~ /home/pbulk/work/mail/xmailwatcher/work/.buildlink/include/X11/Intrinsic.h:302:16: note: 'XtEventHandler' declared here 302 | typedef void (*XtEventHandler)( | ^~~~~~~~~~~~~~ xmailwatcher.c:332:9: error: too many arguments to function 'timedRescan'; expected 0, have 2 332 | timedRescan(NULL, NULL); | ^~~~~~~~~~~ ~~~~ xmailwatcher.c:150:6: note: declared here 150 | void timedRescan(); | ^~~~~~~~~~~ xmailwatcher.c: In function 'iconCallback': xmailwatcher.c:341:13: warning: old-style function definition [-Wold-style-definition] 341 | static void iconCallback(w, client_data, call_data) | ^~~~~~~~~~~~ xmailwatcher.c: In function 'rescanMailbox': xmailwatcher.c:414:13: warning: old-style function definition [-Wold-style-definition] 414 | static void rescanMailbox(timedScan) | ^~~~~~~~~~~~~ xmailwatcher.c: In function 'timedRescan': xmailwatcher.c:540:6: warning: old-style function definition [-Wold-style-definition] 540 | void timedRescan(d, t) | ^~~~~~~~~~~ xmailwatcher.c:543:1: error: number of arguments doesn't match prototype 543 | { rescanMailbox(1); | ^ xmailwatcher.c:150:6: error: prototype declaration 150 | void timedRescan(); | ^~~~~~~~~~~ xmailwatcher.c:545:17: error: passing argument 3 of 'XtAppAddTimeOut' from incompatible pointer type [-Wincompatible-pointer-types] 545 | timedRescan, NULL); | ^~~~~~~~~~~ | | | void (*)(void) /home/pbulk/work/mail/xmailwatcher/work/.buildlink/include/X11/Intrinsic.h:999:5: note: expected 'XtTimerCallbackProc' {aka 'void (*)(void *, long unsigned int *)'} but argument is of type 'void (*)(void)' 999 | XtTimerCallbackProc /* proc */, | ^~~~~~~~~~~~~~~~~~~ xmailwatcher.c:540:6: note: 'timedRescan' declared here 540 | void timedRescan(d, t) | ^~~~~~~~~~~ /home/pbulk/work/mail/xmailwatcher/work/.buildlink/include/X11/Intrinsic.h:318:16: note: 'XtTimerCallbackProc' declared here 318 | typedef void (*XtTimerCallbackProc)( | ^~~~~~~~~~~~~~~~~~~ xmailwatcher.c: In function 'listEvent': xmailwatcher.c:549:6: warning: old-style function definition [-Wold-style-definition] 549 | void listEvent(w, cd, e, ctd) | ^~~~~~~~~ xmailwatcher.c:554:1: error: number of arguments doesn't match prototype 554 | { if (e->type == MapNotify) { | ^ xmailwatcher.c:151:6: error: prototype declaration 151 | void listEvent(); | ^~~~~~~~~ xmailwatcher.c: In function 'iconEvent': xmailwatcher.c:575:6: warning: old-style function definition [-Wold-style-definition] 575 | void iconEvent(w, cd, e, ctd) | ^~~~~~~~~ xmailwatcher.c:580:1: error: number of arguments doesn't match prototype 580 | { if (e->type == UnmapNotify) { | ^ xmailwatcher.c:152:6: error: prototype declaration 152 | void iconEvent(); | ^~~~~~~~~ *** [xmailwatcher.o] Error code 1 bmake: stopped making "all" in /home/pbulk/work/mail/xmailwatcher/work/xmailwatcher bmake: 2 errors bmake: stopped making "all" in /home/pbulk/work/mail/xmailwatcher/work/xmailwatcher *** Error code 2 Stop. bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/mail/xmailwatcher *** Error code 1 Stop. bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/mail/xmailwatcher