=> "/opt/pkg/bin/bmake" ["-C", "/data/jenkins/workspace/pkgsrc-upstream-trunk/mail/xmailbox", "all", "BATCH=1", "DEPENDS_TARGET=/nonexistent"] WARNING: [license.mk] Every package should define a LICENSE. ===> Building for xmailbox-2.5nb3 --- Mailbox.o --- --- xmailbox.o --- --- Mailbox.o --- gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -DNO_ASM -I/usr/include/X11 -I/opt/pkg/include -Dsun -DSVR4 -D__EXTENSIONS__ -D__amd64 -DNO_AUDIO -I/opt/pkg/include -c Mailbox.c --- xmailbox.o --- gcc -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -I/opt/pkg/include -DNO_ASM -I/usr/include/X11 -I/opt/pkg/include -Dsun -DSVR4 -D__EXTENSIONS__ -D__amd64 -DNO_AUDIO -I/opt/pkg/include -c xmailbox.c xmailbox.c:39:13: warning: conflicting types for built-in function 'exit'; expected 'void(int)' [-Wbuiltin-declaration-mismatch] 39 | extern void exit(); | ^~~~ xmailbox.c:38:1: note: 'exit' is declared in header '' 37 | #include +++ |+#include 38 | xmailbox.c:51:15: error: initialization of 'void (*)(struct _WidgetRec *, XEvent *, char **, Cardinal *)' {aka 'void (*)(struct _WidgetRec *, union _XEvent *, char **, unsigned int *)'} from incompatible pointer type 'void (*)(void)' [-Wincompatible-pointer-types] 51 | { "quit", quit } | ^~~~ xmailbox.c:51:15: note: (near initialization for 'xmailbox_actions[0].proc') xmailbox.c:40:13: note: 'quit' declared here 40 | static void quit(); | ^~~~ xmailbox.c: In function 'Usage': xmailbox.c:72:5: error: too many arguments to function 'exit'; expected 0, have 1 72 | exit (1); | ^~~~ ~ xmailbox.c:39:13: note: declared here 39 | extern void exit(); | ^~~~ xmailbox.c: In function 'main': xmailbox.c:76:6: warning: old-style function definition [-Wold-style-definition] 76 | void main (argc, argv) | ^~~~ xmailbox.c: In function 'quit': xmailbox.c:107:13: warning: old-style function definition [-Wold-style-definition] 107 | static void quit (w, event, params, num_params) | ^~~~ xmailbox.c:119:5: error: too many arguments to function 'exit'; expected 0, have 1 119 | exit (0); | ^~~~ ~ xmailbox.c:39:13: note: declared here 39 | extern void exit(); | ^~~~ --- Mailbox.o --- Mailbox.c:164:17: error: initialization of 'void (*)(struct _WidgetRec *, XEvent *, char **, Cardinal *)' {aka 'void (*)(struct _WidgetRec *, union _XEvent *, char **, unsigned int *)'} from incompatible pointer type 'void (*)(void)' [-Wincompatible-pointer-types] 164 | { "check", Check }, | ^~~~~ Mailbox.c:164:17: note: (near initialization for 'actionsList[0].proc') Mailbox.c:161:13: note: 'Check' declared here 161 | static void Check(), Set(), Unset(), Ack(); | ^~~~~ Mailbox.c:165:17: error: initialization of 'void (*)(struct _WidgetRec *, XEvent *, char **, Cardinal *)' {aka 'void (*)(struct _WidgetRec *, union _XEvent *, char **, unsigned int *)'} from incompatible pointer type 'void (*)(void)' [-Wincompatible-pointer-types] 165 | { "unset", Unset }, | ^~~~~ Mailbox.c:165:17: note: (near initialization for 'actionsList[1].proc') Mailbox.c:161:29: note: 'Unset' declared here 161 | static void Check(), Set(), Unset(), Ack(); | ^~~~~ Mailbox.c:166:17: error: initialization of 'void (*)(struct _WidgetRec *, XEvent *, char **, Cardinal *)' {aka 'void (*)(struct _WidgetRec *, union _XEvent *, char **, unsigned int *)'} from incompatible pointer type 'void (*)(void)' [-Wincompatible-pointer-types] 166 | { "set", Set }, | ^~~ Mailbox.c:166:17: note: (near initialization for 'actionsList[2].proc') Mailbox.c:161:22: note: 'Set' declared here 161 | static void Check(), Set(), Unset(), Ack(); | ^~~ Mailbox.c:167:17: error: initialization of 'void (*)(struct _WidgetRec *, XEvent *, char **, Cardinal *)' {aka 'void (*)(struct _WidgetRec *, union _XEvent *, char **, unsigned int *)'} from incompatible pointer type 'void (*)(void)' [-Wincompatible-pointer-types] 167 | { "ack", Ack }, | ^~~ Mailbox.c:167:17: note: (near initialization for 'actionsList[3].proc') Mailbox.c:161:38: note: 'Ack' declared here 161 | static void Check(), Set(), Unset(), Ack(); | ^~~ Mailbox.c:225:57: error: initialization of 'void (*)(struct _WidgetRec *, struct _WidgetRec *, struct *, Cardinal *)' {aka 'void (*)(struct _WidgetRec *, struct _WidgetRec *, struct *, unsigned int *)'} from incompatible pointer type 'void (*)(void)' [-Wincompatible-pointer-types] 225 | /* initialize */ Initialize, | ^~~~~~~~~~ Mailbox.c:225:57: note: (near initialization for 'mailboxClassRec.core_class.initialize') Mailbox.c:214:13: note: 'Initialize' declared here 214 | static void Initialize(), Realize(), Destroy(), Redisplay(); | ^~~~~~~~~~ Mailbox.c:227:57: error: initialization of 'void (*)(struct _WidgetRec *, XtValueMask *, XSetWindowAttributes *)' {aka 'void (*)(struct _WidgetRec *, long unsigned int *, XSetWindowAttributes *)'} from incompatible pointer type 'void (*)(void)' [-Wincompatible-pointer-types] 227 | /* realize */ Realize, | ^~~~~~~ Mailbox.c:227:57: note: (near initialization for 'mailboxClassRec.core_class.realize') Mailbox.c:214:27: note: 'Realize' declared here 214 | static void Initialize(), Realize(), Destroy(), Redisplay(); | ^~~~~~~ Mailbox.c:237:57: error: initialization of 'void (*)(struct _WidgetRec *)' from incompatible pointer type 'void (*)(void)' [-Wincompatible-pointer-types] 237 | /* destroy */ Destroy, | ^~~~~~~ Mailbox.c:237:57: note: (near initialization for 'mailboxClassRec.core_class.destroy') Mailbox.c:214:38: note: 'Destroy' declared here 214 | static void Initialize(), Realize(), Destroy(), Redisplay(); | ^~~~~~~ Mailbox.c:239:57: error: initialization of 'void (*)(struct _WidgetRec *, XEvent *, struct _XRegion *)' {aka 'void (*)(struct _WidgetRec *, union _XEvent *, struct _XRegion *)'} from incompatible pointer type 'void (*)(void)' [-Wincompatible-pointer-types] 239 | /* expose */ Redisplay, | ^~~~~~~~~ Mailbox.c:239:57: note: (near initialization for 'mailboxClassRec.core_class.expose') Mailbox.c:214:49: note: 'Redisplay' declared here 214 | static void Initialize(), Realize(), Destroy(), Redisplay(); | ^~~~~~~~~ Mailbox.c:240:57: error: initialization of 'Boolean (*)(struct _WidgetRec *, struct _WidgetRec *, struct _WidgetRec *, struct *, Cardinal *)' {aka 'char (*)(struct _WidgetRec *, struct _WidgetRec *, struct _WidgetRec *, struct *, unsigned int *)'} from incompatible pointer type 'Boolean (*)(void)' {aka 'char (*)(void)'} [-Wincompatible-pointer-types] 240 | /* set_values */ SetValues, | ^~~~~~~~~ Mailbox.c:240:57: note: (near initialization for 'mailboxClassRec.core_class.set_values') Mailbox.c:215:16: note: 'SetValues' declared here 215 | static Boolean SetValues(); | ^~~~~~~~~ Mailbox.c: In function 'get_mailbox_gc': Mailbox.c:267:11: warning: old-style function definition [-Wold-style-definition] 267 | static GC get_mailbox_gc (w) | ^~~~~~~~~~~~~~ Mailbox.c: In function 'Initialize': Mailbox.c:290:13: warning: old-style function definition [-Wold-style-definition] 290 | static void Initialize (request, new) | ^~~~~~~~~~ Mailbox.c:301:9: error: implicit declaration of function 'signal'; did you mean 'strsignal'? [-Wimplicit-function-declaration] 301 | signal(SIGCHLD, zombiekiller); | ^~~~~~ | strsignal Mailbox.c:308:9: error: too many arguments to function 'CloseDown'; expected 0, have 2 308 | CloseDown (w, 1); | ^~~~~~~~~ ~ Mailbox.c:212:28: note: declared here 212 | static void GetMailFile(), CloseDown(), ReadIconFile(), DefaultXpmImage(); | ^~~~~~~~~ Mailbox.c:325:17: error: too many arguments to function 'CloseDown'; expected 0, have 2 325 | CloseDown (w, 1); | ^~~~~~~~~ ~ Mailbox.c:212:28: note: declared here 212 | static void GetMailFile(), CloseDown(), ReadIconFile(), DefaultXpmImage(); | ^~~~~~~~~ Mailbox.c:328:31: error: too many arguments to function 'GetMailFile'; expected 0, have 1 328 | if (!w->mailbox.filename) GetMailFile (w); | ^~~~~~~~~~~ ~ Mailbox.c:212:13: note: declared here 212 | static void GetMailFile(), CloseDown(), ReadIconFile(), DefaultXpmImage(); | ^~~~~~~~~~~ Mailbox.c:336:34: error: too many arguments to function 'ReadIconFile'; expected 0, have 2 336 | if (w->mailbox.mail_xpmfile) ReadIconFile(w, True); | ^~~~~~~~~~~~ ~ Mailbox.c:212:41: note: declared here 212 | static void GetMailFile(), CloseDown(), ReadIconFile(), DefaultXpmImage(); | ^~~~~~~~~~~~ Mailbox.c:337:44: error: too many arguments to function 'DefaultXpmImage'; expected 0, have 2 337 | if (w->mailbox.full[0].xpmimg == None) DefaultXpmImage(w, True); | ^~~~~~~~~~~~~~~ ~ Mailbox.c:212:57: note: declared here 212 | static void GetMailFile(), CloseDown(), ReadIconFile(), DefaultXpmImage(); | ^~~~~~~~~~~~~~~ Mailbox.c:340:36: error: too many arguments to function 'ReadIconFile'; expected 0, have 2 340 | if (w->mailbox.nomail_xpmfile) ReadIconFile(w, False); | ^~~~~~~~~~~~ ~ Mailbox.c:212:41: note: declared here 212 | static void GetMailFile(), CloseDown(), ReadIconFile(), DefaultXpmImage(); | ^~~~~~~~~~~~ Mailbox.c:341:42: error: too many arguments to function 'DefaultXpmImage'; expected 0, have 2 341 | if (w->mailbox.empty.xpmimg == None) DefaultXpmImage(w, False); | ^~~~~~~~~~~~~~~ ~ Mailbox.c:212:57: note: declared here 212 | static void GetMailFile(), CloseDown(), ReadIconFile(), DefaultXpmImage(); | ^~~~~~~~~~~~~~~ Mailbox.c: In function 'Set': Mailbox.c:361:13: warning: old-style function definition [-Wold-style-definition] 361 | static void Set (gw, event, params, nparams) | ^~~ Mailbox.c:371:5: error: too many arguments to function 'check_mailbox'; expected 0, have 4 371 | check_mailbox (w, TRUE, FALSE, TRUE); /* redraw, no reset */ | ^~~~~~~~~~~~~ ~ Mailbox.c:213:13: note: declared here 213 | static void check_mailbox(), redraw_mailbox(), beep(); | ^~~~~~~~~~~~~ Mailbox.c: In function 'Ack': Mailbox.c:382:13: warning: old-style function definition [-Wold-style-definition] 382 | static void Ack (gw, event, params, nparams) | ^~~ Mailbox.c:390:9: error: too many arguments to function 'check_mailbox'; expected 0, have 4 390 | check_mailbox (w, TRUE, TRUE, TRUE); /* redraw, reset */ | ^~~~~~~~~~~~~ ~ Mailbox.c:213:13: note: declared here 213 | static void check_mailbox(), redraw_mailbox(), beep(); | ^~~~~~~~~~~~~ Mailbox.c: In function 'Unset': Mailbox.c:400:13: warning: old-style function definition [-Wold-style-definition] 400 | static void Unset (gw, event, params, nparams) | ^~~~~ Mailbox.c:408:9: error: too many arguments to function 'check_mailbox'; expected 0, have 4 408 | check_mailbox (w, TRUE, TRUE, FALSE); /* redraw, reset */ | ^~~~~~~~~~~~~ ~ Mailbox.c:213:13: note: declared here 213 | static void check_mailbox(), redraw_mailbox(), beep(); | ^~~~~~~~~~~~~ Mailbox.c: In function 'Check': Mailbox.c:419:13: warning: old-style function definition [-Wold-style-definition] 419 | static void Check (gw, event, params, nparams) | ^~~~~ Mailbox.c:427:5: error: too many arguments to function 'check_mailbox'; expected 0, have 4 427 | check_mailbox (w, TRUE, FALSE, TRUE); /* redraw, no reset */ | ^~~~~~~~~~~~~ ~ Mailbox.c:213:13: note: declared here 213 | static void check_mailbox(), redraw_mailbox(), beep(); | ^~~~~~~~~~~~~ Mailbox.c: In function 'clock_tic_anim': Mailbox.c:434:13: warning: old-style function definition [-Wold-style-definition] 434 | static void clock_tic_anim (client_data, id) | ^~~~~~~~~~~~~~ Mailbox.c:440:9: error: too many arguments to function 'redraw_mailbox'; expected 0, have 1 440 | redraw_mailbox(w); | ^~~~~~~~~~~~~~ ~ Mailbox.c:213:30: note: declared here 213 | static void check_mailbox(), redraw_mailbox(), beep(); | ^~~~~~~~~~~~~~ Mailbox.c: In function 'clock_tic': Mailbox.c:453:13: warning: old-style function definition [-Wold-style-definition] 453 | static void clock_tic (client_data, id) | ^~~~~~~~~ --- xmailbox.o --- *** [xmailbox.o] Error code 1 bmake: stopped making "all" in /home/pbulk/work/mail/xmailbox/work/xmailbox-2.5 --- Mailbox.o --- Mailbox.c:459:5: error: too many arguments to function 'check_mailbox'; expected 0, have 4 459 | check_mailbox (w, FALSE, FALSE, TRUE); /* no redraw, no reset */ | ^~~~~~~~~~~~~ ~ Mailbox.c:213:13: note: declared here 213 | static void check_mailbox(), redraw_mailbox(), beep(); | ^~~~~~~~~~~~~ Mailbox.c: In function 'Realize': Mailbox.c:472:13: warning: old-style function definition [-Wold-style-definition] 472 | static void Realize (gw, valuemaskp, attr) | ^~~~~~~ Mailbox.c:513:5: error: too many arguments to function 'check_mailbox'; expected 0, have 4 513 | check_mailbox (w, TRUE, FALSE, TRUE); | ^~~~~~~~~~~~~ ~ Mailbox.c:213:13: note: declared here 213 | static void check_mailbox(), redraw_mailbox(), beep(); | ^~~~~~~~~~~~~ Mailbox.c: In function 'Destroy': Mailbox.c:519:13: warning: old-style function definition [-Wold-style-definition] 519 | static void Destroy (gw) | ^~~~~~~ Mailbox.c: In function 'Redisplay': Mailbox.c:543:13: warning: old-style function definition [-Wold-style-definition] 543 | static void Redisplay (gw) | ^~~~~~~~~ Mailbox.c:548:5: error: too many arguments to function 'check_mailbox'; expected 0, have 4 548 | check_mailbox (w, TRUE, FALSE, TRUE); | ^~~~~~~~~~~~~ ~ Mailbox.c:213:13: note: declared here 213 | static void check_mailbox(), redraw_mailbox(), beep(); | ^~~~~~~~~~~~~ Mailbox.c: In function 'check_mailbox': Mailbox.c:552:13: warning: old-style function definition [-Wold-style-definition] 552 | static void check_mailbox (w, force_redraw, reset, ackonly) | ^~~~~~~~~~~~~ Mailbox.c:616:27: error: implicit declaration of function 'fork' [-Wimplicit-function-declaration] 616 | pid = fork(); | ^~~~ Mailbox.c:619:33: error: implicit declaration of function '_exit' [-Wimplicit-function-declaration] 619 | _exit(0); | ^~~~~ Mailbox.c:619:33: warning: incompatible implicit declaration of built-in function '_exit' [-Wbuiltin-declaration-mismatch] Mailbox.c:634:17: error: too many arguments to function 'beep'; expected 0, have 1 634 | beep(w); | ^~~~ ~ Mailbox.c:213:48: note: declared here 213 | static void check_mailbox(), redraw_mailbox(), beep(); | ^~~~ Mailbox.c:639:27: error: too many arguments to function 'redraw_mailbox'; expected 0, have 1 639 | if (force_redraw) redraw_mailbox (w); | ^~~~~~~~~~~~~~ ~ Mailbox.c:213:30: note: declared here 213 | static void check_mailbox(), redraw_mailbox(), beep(); | ^~~~~~~~~~~~~~ Mailbox.c: In function 'GetMailFile': Mailbox.c:647:13: warning: old-style function definition [-Wold-style-definition] 647 | static void GetMailFile (w) | ^~~~~~~~~~~ Mailbox.c:663:47: error: implicit declaration of function 'getuid'; did you mean 'getcwd'? [-Wimplicit-function-declaration] 663 | struct passwd *pw = getpwuid (getuid ()); | ^~~~~~ | getcwd Mailbox.c:668:17: error: too many arguments to function 'CloseDown'; expected 0, have 2 668 | CloseDown (w, 1); | ^~~~~~~~~ ~ Mailbox.c:212:28: note: declared here 212 | static void GetMailFile(), CloseDown(), ReadIconFile(), DefaultXpmImage(); | ^~~~~~~~~ Mailbox.c: In function 'CloseDown': Mailbox.c:680:13: warning: old-style function definition [-Wold-style-definition] 680 | static void CloseDown (w, status) | ^~~~~~~~~ Mailbox.c: In function 'ReadIconFile': Mailbox.c:695:13: warning: old-style function definition [-Wold-style-definition] 695 | static void ReadIconFile (w, flag) | ^~~~~~~~~~~~ Mailbox.c: In function 'DefaultXpmImage': Mailbox.c:756:13: warning: old-style function definition [-Wold-style-definition] 756 | static void DefaultXpmImage(w, flag) | ^~~~~~~~~~~~~~~ Mailbox.c:770:25: error: too many arguments to function 'CloseDown'; expected 0, have 2 770 | CloseDown (w, 1); \ | ^~~~~~~~~ ~ Mailbox.c:785:25: note: in expansion of macro 'MakeXpmImage' 785 | MakeXpmImage(); | ^~~~~~~~~~~~ Mailbox.c:680:13: note: declared here 680 | static void CloseDown (w, status) | ^~~~~~~~~ Mailbox.c:770:25: error: too many arguments to function 'CloseDown'; expected 0, have 2 770 | CloseDown (w, 1); \ | ^~~~~~~~~ ~ Mailbox.c:792:17: note: in expansion of macro 'MakeXpmImage' 792 | MakeXpmImage(); | ^~~~~~~~~~~~ Mailbox.c:680:13: note: declared here 680 | static void CloseDown (w, status) | ^~~~~~~~~ Mailbox.c: In function 'SetValues': Mailbox.c:798:16: warning: old-style function definition [-Wold-style-definition] 798 | static Boolean SetValues (gcurrent, grequest, gnew) | ^~~~~~~~~ Mailbox.c: In function 'redraw_mailbox': Mailbox.c:822:13: warning: old-style function definition [-Wold-style-definition] 822 | static void redraw_mailbox (w) | ^~~~~~~~~~~~~~ Mailbox.c: In function 'beep': Mailbox.c:931:13: warning: old-style function definition [-Wold-style-definition] 931 | static void beep (w) | ^~~~ *** [Mailbox.o] Error code 1 bmake: stopped making "all" in /home/pbulk/work/mail/xmailbox/work/xmailbox-2.5 bmake: 2 errors bmake: stopped making "all" in /home/pbulk/work/mail/xmailbox/work/xmailbox-2.5 *** Error code 2 Stop. bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/mail/xmailbox *** Error code 1 Stop. bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/mail/xmailbox