MidnightBSD Magus

mail/xmailbox

Mailbox checker with sound and animation for X Window System

Flavor Version Run OSVersion Arch License Restricted Status
2.5 621 4.0 amd64 No License 0 fail

License Permissions:

Events

Machine Type Time Message
m4064b info 2025-12-09 03:52:34.250939 Test Started
m4064b fail 2025-12-09 03:52:48.640715 make build returned non-zero: 1
m4064b fail 2025-12-09 03:52:48.705989 Test complete.

Log

===>  Building for xmailbox-2.5
--- Mailbox.o ---
--- xmailbox.o ---
--- xmailbox._man ---
--- Mailbox.o ---
cc  -O2 -pipe -fstack-protector-strong -fno-strict-aliasing      -I/usr/local/include/X11  -I/usr/local/include    -DCSRG_BASED  -DFUNCPROTO=15 -DNARROWPROTO     -c Mailbox.c -o Mailbox.o
--- xmailbox.o ---
cc  -O2 -pipe -fstack-protector-strong -fno-strict-aliasing      -I/usr/local/include/X11  -I/usr/local/include    -DCSRG_BASED  -DFUNCPROTO=15 -DNARROWPROTO     -c xmailbox.c -o xmailbox.o
--- xmailbox._man ---
rm -f xmailbox._man
if test -z "" ; then  cd `dirname xmailbox` &&  ln -s `basename xmailbox.man` `basename xmailbox._man`;  else  tradcpp -undef -traditional  -D__apploaddir__=/usr/local/lib/X11/app-defaults -D__appmansuffix__=1 -D__filemansuffix__=5 -D__libmansuffix__=3 -D__miscmansuffix__=7 -D__drivermansuffix__=4 -D__adminmansuffix__=8 -D__projectroot__=/usr/local -D__xconfigfile__=xorg.conf -D__xconfigdir__=/usr/local/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
--- xmailbox.o ---
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: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();
      |             ^
4 warnings generated.
--- Mailbox.o ---
Mailbox.c:267:11: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype]
  267 | static GC get_mailbox_gc (w)
      |           ^
Mailbox.c:287:1: warning: non-void function does not return a value [-Wreturn-type]
  287 | }
      | ^
Mailbox.c:301:18: error: incompatible function pointer types passing 'int ()' to parameter of type '__sighandler_t *' (aka 'void (*)(int)') [-Wincompatible-function-pointer-types]
  301 |         signal(SIGCHLD, zombiekiller);
      |                         ^~~~~~~~~~~~
/usr/include/sys/signal.h:511:45: note: passing argument to parameter here
  511 | __sighandler_t *signal(int, __sighandler_t *);
      |                                             ^
Mailbox.c:308: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]
  308 |         CloseDown (w, 1);
      |                   ^
Mailbox.c:325: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]
  325 |                 CloseDown (w, 1);
      |                           ^
Mailbox.c:328: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]
  328 |     if (!w->mailbox.filename) GetMailFile (w);
      |                                           ^
Mailbox.c:336: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]
  336 |     if (w->mailbox.mail_xpmfile) ReadIconFile(w, True);
      |                                              ^
Mailbox.c:337: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]
  337 |     if (w->mailbox.full[0].xpmimg == None) DefaultXpmImage(w, True);
      |                                                           ^
Mailbox.c:340: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]
  340 |     if (w->mailbox.nomail_xpmfile) ReadIconFile(w, False);
      |                                                ^
Mailbox.c:341: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]
  341 |     if (w->mailbox.empty.xpmimg == None) DefaultXpmImage(w, False);
      |                                                         ^
Mailbox.c:290:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype]
  290 | static void Initialize (request, new)
      |             ^
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 Initialize(), Realize(), Destroy(), Redisplay();
      |             ^
Mailbox.c:371: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]
  371 |     check_mailbox (w, TRUE, FALSE, TRUE);       /* redraw, no reset */
      |                   ^
Mailbox.c:361:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype]
  361 | static void Set (gw, event, params, nparams)
      |             ^
Mailbox.c:161: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]
  161 | static void Check(), Set(), Unset(), Ack();
      |                      ^
Mailbox.c:390: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]
  390 |         check_mailbox (w, TRUE, TRUE, TRUE);    /* redraw, reset */
      |                       ^
Mailbox.c:382:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype]
  382 | static void Ack (gw, event, params, nparams)
      |             ^
Mailbox.c:161: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]
  161 | static void Check(), Set(), Unset(), Ack();
      |                                      ^
Mailbox.c:408: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]
  408 |         check_mailbox (w, TRUE, TRUE, FALSE);   /* redraw, reset */
      |                       ^
Mailbox.c:400:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype]
  400 | static void Unset (gw, event, params, nparams)
      |             ^
Mailbox.c:161: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]
  161 | static void Check(), Set(), Unset(), Ack();
      |                             ^
Mailbox.c:427: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]
  427 |     check_mailbox (w, TRUE, FALSE, TRUE);       /* redraw, no reset */
      |                   ^
Mailbox.c:419:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype]
  419 | static void Check (gw, event, params, nparams)
      |             ^
Mailbox.c:161: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]
  161 | static void Check(), Set(), Unset(), Ack();
      |             ^
Mailbox.c:440: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]
  440 |         redraw_mailbox(w);
      |                       ^
Mailbox.c:434:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype]
  434 | static void clock_tic_anim (client_data, id)
      |             ^
Mailbox.c:459: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]
  459 |     check_mailbox (w, FALSE, FALSE, TRUE);      /* no redraw, no reset */
      |                   ^
Mailbox.c:453:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype]
  453 | static void clock_tic (client_data, id)
      |             ^
Mailbox.c:513: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]
  513 |     check_mailbox (w, TRUE, FALSE, TRUE);
      |                   ^
Mailbox.c:472:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype]
  472 | static void Realize (gw, valuemaskp, attr)
      |             ^
Mailbox.c:214: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]
  214 | static void Initialize(), Realize(), Destroy(), Redisplay();
      |                           ^
Mailbox.c:519:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype]
  519 | static void Destroy (gw)
      |             ^
Mailbox.c:214: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]
  214 | static void Initialize(), Realize(), Destroy(), Redisplay();
      |                                      ^
Mailbox.c:548: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]
  548 |     check_mailbox (w, TRUE, FALSE, TRUE);
      |                   ^
Mailbox.c:543:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype]
  543 | static void Redisplay (gw)
      |             ^
Mailbox.c:214: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]
  214 | static void Initialize(), Realize(), Destroy(), Redisplay();
      |                                                 ^
Mailbox.c:616:13: warning: call to undeclared function 'fork'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
  616 |                     pid = fork();
      |                           ^
Mailbox.c:619:5: warning: call to undeclared library function '_exit' with type 'void (int) __attribute__((noreturn))'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
  619 |                                 _exit(0);
      |                                 ^
Mailbox.c:619:5: note: include the header  or explicitly provide a declaration for '_exit'
Mailbox.c:634: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]
  634 |                 beep(w); 
      |                     ^
Mailbox.c:639: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]
  639 |         if (force_redraw) redraw_mailbox (w);
      |                                          ^
Mailbox.c:552:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype]
  552 | static void check_mailbox (w, force_redraw, reset, ackonly)
      |             ^
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 check_mailbox(), redraw_mailbox(), beep();
      |             ^
Mailbox.c:663:33: warning: call to undeclared function 'getuid'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
  663 |                 struct passwd *pw = getpwuid (getuid ());
      |                                               ^
Mailbox.c:668: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]
  668 |                 CloseDown (w, 1);
      |                           ^
Mailbox.c:647:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype]
  647 | static void GetMailFile (w)
      |             ^
Mailbox.c:212: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]
  212 | static void GetMailFile(), CloseDown(), ReadIconFile(), DefaultXpmImage();
      |             ^
Mailbox.c:680:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype]
  680 | static void CloseDown (w, status)
      |             ^
Mailbox.c:212: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]
  212 | static void GetMailFile(), CloseDown(), ReadIconFile(), DefaultXpmImage();
      |                            ^
Mailbox.c:695:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype]
  695 | static void ReadIconFile (w, flag)
      |             ^
Mailbox.c:212: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]
  212 | static void GetMailFile(), CloseDown(), ReadIconFile(), DefaultXpmImage();
      |                                         ^
Mailbox.c:756:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype]
  756 | static void DefaultXpmImage(w, flag)
      |             ^
Mailbox.c:212: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]
  212 | static void GetMailFile(), CloseDown(), ReadIconFile(), DefaultXpmImage();
      |                                                         ^
Mailbox.c:798:16: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype]
  798 | static Boolean SetValues (gcurrent, grequest, gnew)
      |                ^
Mailbox.c:215: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]
  215 | static Boolean SetValues();
      |                ^
Mailbox.c:886:30: warning: for loop has empty body [-Wempty-body]
  886 |                  parent = XtParent(parent));
      |                                            ^
Mailbox.c:886:30: note: put the semicolon on a separate line to silence this warning
Mailbox.c:822:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype]
  822 | static void redraw_mailbox (w)
      |             ^
Mailbox.c:213: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]
  213 | static void check_mailbox(), redraw_mailbox(), beep();
      |                              ^
Mailbox.c:931:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype]
  931 | static void beep (w)
      |             ^
Mailbox.c:213: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]
  213 | static void check_mailbox(), redraw_mailbox(), beep();
      |                                                ^
58 warnings and 1 error generated.
*** [Mailbox.o] Error code 1

make: stopped in /magus/work/usr/mports/mail/xmailbox/work/xmailbox-2.5
1 error

make: stopped in /magus/work/usr/mports/mail/xmailbox/work/xmailbox-2.5
===> Compilation failed unexpectedly.
Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to
the maintainer.
*** Error code 1

Stop.
make: stopped in /usr/mports/mail/xmailbox

Links

Depends On

Depend Of

Nothing

Categories

CVEs

  • Loading CVE information...

LLM Analysis