=> "/opt/pkg/bin/bmake" ["-C", "/Volumes/data/jenkins/workspace/pkgsrc-macos-trunk-arm64/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 --- clang -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I/usr/include/X11 -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DNO_AUDIO -I/opt/pkg/include -c Mailbox.c --- xmailbox.o --- clang -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -I/usr/include/X11 -I/opt/pkg/include -D__aarch64__ -D__DARWIN__ -DNO_ALLOCA -DCSRG_BASED -DNO_AUDIO -I/opt/pkg/include -c xmailbox.c xmailbox.c:76:1: warning: return type of 'main' is not 'int' [-Wmain-return-type] 76 | void main (argc, argv) | ^ xmailbox.c:76:1: note: change return type to 'int' 76 | void main (argc, argv) | ^~~~ | int xmailbox.c:81:22: warning: variable 'w' set but not used [-Wunused-but-set-variable] 81 | Widget toplevel, w; | ^ xmailbox.c:76:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 76 | void main (argc, argv) | ^ xmailbox.c:107:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 107 | static void quit (w, event, params, num_params) | ^ xmailbox.c:40:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 40 | static void quit(); | ^ 5 warnings generated. --- xmailbox._man --- rm -f xmailbox._man if test -z "" ; then cd `dirname xmailbox` && ln -s `basename xmailbox.man` `basename xmailbox._man`; else /usr/bin/cpp -undef -traditional -D__GNUC__ -D__apploaddir__=/opt/pkg/lib/X11/app-defaults -D__appmansuffix__=1 -D__filemansuffix__=5 -D__libmansuffix__=3 -D__miscmansuffix__=7 -D__drivermansuffix__=4 -D__adminmansuffix__=8 -D__projectroot__=/opt/pkg -D__xconfigfile__=xorg.conf -D__xconfigdir__=/opt/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" < xmailbox.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/\@\@$/\/' >xmailbox._man; fi --- Mailbox.o --- Mailbox.c:268:11: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 268 | static GC get_mailbox_gc (w) | ^ Mailbox.c:309:12: warning: passing arguments to 'CloseDown' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 309 | CloseDown (w, 1); | ^ Mailbox.c:326:13: warning: passing arguments to 'CloseDown' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 326 | CloseDown (w, 1); | ^ Mailbox.c:329:43: warning: passing arguments to 'GetMailFile' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 329 | if (!w->mailbox.filename) GetMailFile (w); | ^ Mailbox.c:337:46: warning: passing arguments to 'ReadIconFile' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 337 | if (w->mailbox.mail_xpmfile) ReadIconFile(w, True); | ^ Mailbox.c:338:59: warning: passing arguments to 'DefaultXpmImage' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 338 | if (w->mailbox.full[0].xpmimg == None) DefaultXpmImage(w, True); | ^ Mailbox.c:341:48: warning: passing arguments to 'ReadIconFile' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 341 | if (w->mailbox.nomail_xpmfile) ReadIconFile(w, False); | ^ Mailbox.c:342:57: warning: passing arguments to 'DefaultXpmImage' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 342 | if (w->mailbox.empty.xpmimg == None) DefaultXpmImage(w, False); | ^ Mailbox.c:291:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 291 | static void Initialize (request, new) | ^ Mailbox.c:215:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 215 | static void Initialize(), Realize(), Destroy(), Redisplay(); | ^ Mailbox.c:372:19: warning: passing arguments to 'check_mailbox' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 372 | check_mailbox (w, TRUE, FALSE, TRUE); /* redraw, no reset */ | ^ Mailbox.c:362:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 362 | static void Set (gw, event, params, nparams) | ^ Mailbox.c:162:22: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 162 | static void Check(), Set(), Unset(), Ack(); | ^ Mailbox.c:391:16: warning: passing arguments to 'check_mailbox' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 391 | check_mailbox (w, TRUE, TRUE, TRUE); /* redraw, reset */ | ^ Mailbox.c:383:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 383 | static void Ack (gw, event, params, nparams) | ^ Mailbox.c:162:38: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 162 | static void Check(), Set(), Unset(), Ack(); | ^ Mailbox.c:409:16: warning: passing arguments to 'check_mailbox' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 409 | check_mailbox (w, TRUE, TRUE, FALSE); /* redraw, reset */ | ^ Mailbox.c:401:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 401 | static void Unset (gw, event, params, nparams) | ^ Mailbox.c:162:29: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 162 | static void Check(), Set(), Unset(), Ack(); | ^ Mailbox.c:428:19: warning: passing arguments to 'check_mailbox' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 428 | check_mailbox (w, TRUE, FALSE, TRUE); /* redraw, no reset */ | ^ Mailbox.c:420:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 420 | static void Check (gw, event, params, nparams) | ^ Mailbox.c:162:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 162 | static void Check(), Set(), Unset(), Ack(); | ^ Mailbox.c:441:16: warning: passing arguments to 'redraw_mailbox' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 441 | redraw_mailbox(w); | ^ Mailbox.c:435:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 435 | static void clock_tic_anim (client_data, id) | ^ Mailbox.c:460:19: warning: passing arguments to 'check_mailbox' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 460 | check_mailbox (w, FALSE, FALSE, TRUE); /* no redraw, no reset */ | ^ Mailbox.c:454:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 454 | static void clock_tic (client_data, id) | ^ Mailbox.c:514:19: warning: passing arguments to 'check_mailbox' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 514 | check_mailbox (w, TRUE, FALSE, TRUE); | ^ Mailbox.c:473:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 473 | static void Realize (gw, valuemaskp, attr) | ^ Mailbox.c:215:27: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 215 | static void Initialize(), Realize(), Destroy(), Redisplay(); | ^ Mailbox.c:520:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 520 | static void Destroy (gw) | ^ Mailbox.c:215:38: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 215 | static void Initialize(), Realize(), Destroy(), Redisplay(); | ^ Mailbox.c:549:19: warning: passing arguments to 'check_mailbox' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 549 | check_mailbox (w, TRUE, FALSE, TRUE); | ^ Mailbox.c:544:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 544 | static void Redisplay (gw) | ^ Mailbox.c:215:49: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 215 | static void Initialize(), Realize(), Destroy(), Redisplay(); | ^ Mailbox.c:635:11: warning: passing arguments to 'beep' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 635 | beep(w); | ^ Mailbox.c:640:35: warning: passing arguments to 'redraw_mailbox' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 640 | if (force_redraw) redraw_mailbox (w); | ^ Mailbox.c:553:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 553 | static void check_mailbox (w, force_redraw, reset, ackonly) | ^ Mailbox.c:214:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 214 | static void check_mailbox(), redraw_mailbox(), beep(); | ^ Mailbox.c:669:17: warning: passing arguments to 'CloseDown' without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 669 | CloseDown (w, 1); | ^ Mailbox.c:648:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 648 | static void GetMailFile (w) | ^ Mailbox.c:213:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 213 | static void GetMailFile(), CloseDown(), ReadIconFile(), DefaultXpmImage(); | ^ Mailbox.c:681:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 681 | static void CloseDown (w, status) | ^ Mailbox.c:213:28: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 213 | static void GetMailFile(), CloseDown(), ReadIconFile(), DefaultXpmImage(); | ^ Mailbox.c:696:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 696 | static void ReadIconFile (w, flag) | ^ Mailbox.c:213:41: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 213 | static void GetMailFile(), CloseDown(), ReadIconFile(), DefaultXpmImage(); | ^ Mailbox.c:757:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 757 | static void DefaultXpmImage(w, flag) | ^ Mailbox.c:213:57: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 213 | static void GetMailFile(), CloseDown(), ReadIconFile(), DefaultXpmImage(); | ^ Mailbox.c:799:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 799 | static Boolean SetValues (gcurrent, grequest, gnew) | ^ Mailbox.c:216:16: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 216 | static Boolean SetValues(); | ^ Mailbox.c:887:30: warning: for loop has empty body [-Wempty-body] 887 | parent = XtParent(parent)); | ^ Mailbox.c:887:30: note: put the semicolon on a separate line to silence this warning Mailbox.c:823:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 823 | static void redraw_mailbox (w) | ^ Mailbox.c:214:30: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 214 | static void check_mailbox(), redraw_mailbox(), beep(); | ^ Mailbox.c:932:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype] 932 | static void beep (w) | ^ Mailbox.c:214:48: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype] 214 | static void check_mailbox(), redraw_mailbox(), beep(); | ^ 54 warnings generated. --- xmailbox --- rm -f xmailbox clang -o xmailbox -pipe -Os -I/opt/pkg/include -Wall -Wpointer-arith -no-cpp-precomp -L/opt/pkg/lib -L/opt/pkg/lib Mailbox.o xmailbox.o -L/usr/X11/lib -lXpm -lXext -lX11 -lXaw -lXt -lSM -lICE -lXmu -lXt -lSM -lICE -lXext -lX11 ld: warning: ignoring duplicate libraries: '-lICE', '-lSM', '-lX11', '-lXext', '-lXt'