[package - main-armv7-default][mail/xmailbox] Failed for xmailbox-2.5_2 in build

From: <pkg-fallout_at_FreeBSD.org>
Date: Fri, 28 Jul 2023 20:58:43 UTC
You are receiving this mail as a port that you maintain
is failing to build on the FreeBSD package build server.
Please investigate the failure and submit a PR to fix
build.

Maintainer:     ports@FreeBSD.org
Log URL:        https://pkg-status.freebsd.org/ampere2/data/main-armv7-default/pe5b71726cc79_s92fd2f39e5/logs/xmailbox-2.5_2.log
Build URL:      https://pkg-status.freebsd.org/ampere2/build.html?mastername=main-armv7-default&build=pe5b71726cc79_s92fd2f39e5
Log:

=>> Building mail/xmailbox
build started at Fri Jul 28 20:58:29 UTC 2023
port directory: /usr/ports/mail/xmailbox
package name: xmailbox-2.5_2
building for: FreeBSD main-armv7-default-job-01 14.0-CURRENT FreeBSD 14.0-CURRENT 1400093 arm
maintained by: ports@FreeBSD.org
Makefile ident: 
Poudriere version: 3.2.8-23-ga7f8d188
Host OSVERSION: 1400089
Jail OSVERSION: 1400093
Job Id: 01




!!! Jail is newer than host. (Jail: 1400093, Host: 1400089) !!!
!!! This is not supported. !!!
!!! Host kernel must be same or newer than jail. !!!
!!! Expect build failures. !!!



---Begin Environment---
SHELL=/bin/sh
OSVERSION=1400093
UNAME_v=FreeBSD 14.0-CURRENT 1400093
UNAME_r=14.0-CURRENT
BLOCKSIZE=K
MAIL=/var/mail/root
MM_CHARSET=UTF-8
LANG=C.UTF-8
STATUS=1
HOME=/root
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin
LOCALBASE=/usr/local
USER=root
LIBEXECPREFIX=/usr/local/libexec/poudriere
POUDRIERE_VERSION=3.2.8-23-ga7f8d188
MASTERMNT=/usr/local/poudriere/data/.m/main-armv7-default/ref
POUDRIERE_BUILD_TYPE=bulk
PACKAGE_BUILDING=yes
SAVED_TERM=
PWD=/usr/local/poudriere/data/.m/main-armv7-default/ref/.p/pool
P_PORTS_FEATURES=FLAVORS SELECTED_OPTIONS
MASTERNAME=main-armv7-default
SCRIPTPREFIX=/usr/local/share/poudriere
OLDPWD=/usr/local/poudriere/data/.m/main-armv7-default/ref/.p
SCRIPTPATH=/usr/local/share/poudriere/bulk.sh
POUDRIEREPATH=/usr/local/bin/poudriere
---End Environment---

---Begin Poudriere Port Flags/Env---
PORT_FLAGS=
PKGENV=
FLAVOR=
DEPENDS_ARGS=
MAKE_ARGS=
---End Poudriere Port Flags/Env---

---Begin OPTIONS List---
===> The following configuration options are available for xmailbox-2.5_2:
     DOCS=on: Build and/or install documentation
===> Use 'make config' to modify these settings
---End OPTIONS List---

--MAINTAINER--
ports@FreeBSD.org
--End MAINTAINER--

--CONFIGURE_ARGS--

--End CONFIGURE_ARGS--

--CONFIGURE_ENV--
IMAKECPP=tradcpp IMAKECPPFLAGS="-DCppCmd=tradcpp -DCcCmd=cc -DCplusplusCmd=c++" XDG_DATA_HOME=/wrkdirs/usr/ports/mail/xmailbox/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/mail/xmailbox/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/mail/xmailbox/work/.cache  HOME=/wrkdirs/usr/ports/mail/xmailbox/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/mail/xmailbox/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/mail/xmailbox/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig SHELL=/bin/sh CONFIG_SHELL=/bin/sh
--End CONFIGURE_ENV--

--MAKE_ENV--
IMAKECPP=tradcpp IMAKECPPFLAGS="-DCppCmd=tradcpp -DCcCmd=cc -DCplusplusCmd=c++" XDG_DATA_HOME=/wrkdirs/usr/ports/mail/xmailbox/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/mail/xmailbox/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/mail/xmailbox/work/.cache  HOME=/wrkdirs/usr/ports/mail/xmailbox/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/mail/xmailbox/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/mail/xmailbox/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES PREFIX=/usr/local  LOCALBASE=/usr/local  CC="cc" CFLAGS="-O2 -pipe  -fstack-protector-strong -fno-strict-aliasing "  CPP="cpp" CPPFLAGS=""  LDFLAGS=" -fstack-protector-strong " LIBS=""  CXX="c++" CXXFLAGS="-O2 -pipe -fstack-protector-strong -fno-strict-aliasing  "  MANPREFIX="/usr/local" BSD_INSTALL_PROGRAM="install  -s -m 555"  BSD_INSTALL_LIB="insta
ll  -s -m 0644"  BSD_INSTALL_SCRIPT="install  -m 555"  BSD_INSTALL_DATA="install  -m 0644"  BSD_INSTALL_MAN="install  -m 444"
--End MAKE_ENV--

--PLIST_SUB--
PORTDOCS="" OSREL=14.0 PREFIX=%D LOCALBASE=/usr/local  RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/xmailbox"  EXAMPLESDIR="share/examples/xmailbox"  DATADIR="share/xmailbox"  WWWDIR="www/xmailbox"  ETCDIR="etc/xmailbox"
--End PLIST_SUB--

--SUB_LIST--
PREFIX=/usr/local LOCALBASE=/usr/local  DATADIR=/usr/local/share/xmailbox DOCSDIR=/usr/local/share/doc/xmailbox EXAMPLESDIR=/usr/local/share/examples/xmailbox  WWWDIR=/usr/local/www/xmailbox ETCDIR=/usr/local/etc/xmailbox
--End SUB_LIST--

---Begin make.conf---
USE_PACKAGE_DEPENDS=yes
BATCH=yes
WRKDIRPREFIX=/wrkdirs
PORTSDIR=/usr/ports
PACKAGES=/packages
DISTDIR=/distfiles
PACKAGE_BUILDING=yes
PACKAGE_BUILDING_FLAVORS=yes
#### /usr/local/etc/poudriere.d/make.conf ####
# XXX: We really need this but cannot use it while 'make checksum' does not
# try the next mirror on checksum failure.  It currently retries the same
# failed mirror and then fails rather then trying another.  It *does*
# try the next if the size is mismatched though.
#MASTER_SITE_FREEBSD=yes
# Build ALLOW_MAKE_JOBS_PACKAGES with 2 jobs
MAKE_JOBS_NUMBER=2
#### /usr/ports/Mk/Scripts/ports_env.sh ####
_CCVERSION_921dbbb2=FreeBSD clang version 16.0.6 (https://github.com/llvm/llvm-project.git llvmorg-16.0.6-0-g7cbf1a259152) Target: armv7-unknown-freebsd14.0-gnueabihf Thread model: posix InstalledDir: /usr/bin
_ALTCCVERSION_921dbbb2=none
_CXXINTERNAL_acaad9ca=FreeBSD clang version 16.0.6 (https://github.com/llvm/llvm-project.git llvmorg-16.0.6-0-g7cbf1a259152) Target: armv7-unknown-freebsd14.0-gnueabihf Thread model: posix InstalledDir: /usr/bin "/usr/bin/ld" "--eh-frame-hdr" "-dynamic-linker" "/libexec/ld-elf.so.1" "--hash-style=both" "--enable-new-dtags" "-o" "a.out" "/usr/lib/crt1.o" "/usr/lib/crti.o" "/usr/lib/crtbegin.o" "-L/usr/lib" "/dev/null" "-lc++" "-lm" "-lgcc" "--as-needed" "-lgcc_s" "--no-as-needed" "-lc" "-lgcc" "--as-needed" "-lgcc_s" "--no-as-needed" "/usr/lib/crtend.o" "/usr/lib/crtn.o"
CC_OUTPUT_921dbbb2_58173849=yes
CC_OUTPUT_921dbbb2_9bdba57c=yes
CC_OUTPUT_921dbbb2_6a4fe7f5=yes
CC_OUTPUT_921dbbb2_6bcac02b=yes
CC_OUTPUT_921dbbb2_67d20829=yes
CC_OUTPUT_921dbbb2_bfa62e83=yes
CC_OUTPUT_921dbbb2_f0b4d593=yes
CC_OUTPUT_921dbbb2_308abb44=yes
CC_OUTPUT_921dbbb2_f00456e5=yes
CC_OUTPUT_921dbbb2_65ad290d=yes
CC_OUTPUT_921dbbb2_f2776b26=yes
CC_OUTPUT_921dbbb2_53255a77=yes
CC_OUTPUT_921dbbb2_911cfe02=yes
CC_OUTPUT_921dbbb2_b2657cc3=yes
CC_OUTPUT_921dbbb2_380987f7=yes
CC_OUTPUT_921dbbb2_160933ec=yes
CC_OUTPUT_921dbbb2_fb62803b=yes
CC_OUTPUT_921dbbb2_af59ad06=yes
CC_OUTPUT_921dbbb2_a15f3fcf=yes
_OBJC_CCVERSION_921dbbb2=FreeBSD clang version 16.0.6 (https://github.com/llvm/llvm-project.git llvmorg-16.0.6-0-g7cbf1a259152) Target: armv7-unknown-freebsd14.0-gnueabihf Thread model: posix InstalledDir: /usr/bin
_OBJC_ALTCCVERSION_921dbbb2=none
ARCH=armv7
OPSYS=FreeBSD
_OSRELEASE=14.0-CURRENT
OSREL=14.0
OSVERSION=1400093
PYTHONBASE=/usr/local
CONFIGURE_MAX_CMD_LEN=524288
HAVE_PORTS_ENV=1
#### Misc Poudriere ####
GID=0
UID=0
---End make.conf---
--Resource limits--
cpu time               (seconds, -t)  unlimited
file size           (512-blocks, -f)  unlimited
data seg size           (kbytes, -d)  1048576
stack size              (kbytes, -s)  1048576
core file size      (512-blocks, -c)  unlimited
max memory size         (kbytes, -m)  unlimited
locked memory           (kbytes, -l)  unlimited
max user processes              (-u)  89999
open files                      (-n)  1024
virtual mem size        (kbytes, -v)  unlimited
swap limit              (kbytes, -w)  unlimited
socket buffer size       (bytes, -b)  unlimited
pseudo-terminals                (-p)  unlimited
kqueues                         (-k)  unlimited
umtx shared locks               (-o)  unlimited
--End resource limits--
=======================<phase: check-sanity   >============================
===>   NOTICE:

The xmailbox port currently does not have a maintainer. As a result, it is
more likely to have unresolved issues, not be up-to-date, or even be removed in
the future. To volunteer to maintain this port, please create an issue at:

https://bugs.freebsd.org/bugzilla

More information about port maintainership is available at:

https://docs.freebsd.org/en/articles/contributing/#ports-contributing

===========================================================================
=======================<phase: pkg-depends    >============================
===>   xmailbox-2.5_2 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-1.20.4.pkg
[main-armv7-default-job-01] Installing pkg-1.20.4...
[main-armv7-default-job-01] Extracting pkg-1.20.4: .......... done
===>   xmailbox-2.5_2 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of xmailbox-2.5_2
===========================================================================
=======================<phase: fetch-depends  >============================
===========================================================================
=======================<phase: fetch          >============================
===>   NOTICE:

The xmailbox port currently does not have a maintainer. As a result, it is
more likely to have unresolved issues, not be up-to-date, or even be removed in
the future. To volunteer to maintain this port, please create an issue at:

https://bugs.freebsd.org/bugzilla

More information about port maintainership is available at:

https://docs.freebsd.org/en/articles/contributing/#ports-contributing

===> Fetching all distfiles required by xmailbox-2.5_2 for building
===========================================================================
<snip>
--- 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
--- 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 C2x [-Wdeprecated-non-prototype]
static GC get_mailbox_gc (w)
          ^
Mailbox.c:287:1: warning: non-void function does not return a value [-Wreturn-type]
}
^
Mailbox.c:301:18: error: incompatible function pointer types passing 'int ()' to parameter of type '__sighandler_t *' (aka 'void (*)(int)') [-Wincompatible-function-pointer-types]
        signal(SIGCHLD, zombiekiller);
                        ^~~~~~~~~~~~
/usr/include/sys/signal.h:519:45: note: passing argument to parameter here
__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 C2x [-Wdeprecated-non-prototype]
        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 C2x [-Wdeprecated-non-prototype]
                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 C2x [-Wdeprecated-non-prototype]
    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 C2x [-Wdeprecated-non-prototype]
    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 C2x [-Wdeprecated-non-prototype]
    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 C2x [-Wdeprecated-non-prototype]
    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 C2x [-Wdeprecated-non-prototype]
    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 C2x [-Wdeprecated-non-prototype]
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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
    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 C2x [-Wdeprecated-non-prototype]
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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
        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 C2x [-Wdeprecated-non-prototype]
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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
        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 C2x [-Wdeprecated-non-prototype]
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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
    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 C2x [-Wdeprecated-non-prototype]
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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
        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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
    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 C2x [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
    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 C2x [-Wdeprecated-non-prototype]
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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
    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 C2x [-Wdeprecated-non-prototype]
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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
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]
                    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]
                                _exit(0);
                                ^
Mailbox.c:619:5: note: include the header <unistd.h> 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 C2x [-Wdeprecated-non-prototype]
                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 C2x [-Wdeprecated-non-prototype]
        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 C2x [-Wdeprecated-non-prototype]
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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
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]
                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 C2x [-Wdeprecated-non-prototype]
                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 C2x [-Wdeprecated-non-prototype]
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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
static Boolean SetValues();
               ^
Mailbox.c:886:30: warning: for loop has empty body [-Wempty-body]
                 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 C2x [-Wdeprecated-non-prototype]
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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
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 C2x [-Wdeprecated-non-prototype]
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 C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
static void check_mailbox(), redraw_mailbox(), beep();
                                               ^
58 warnings and 1 error generated.
*** [Mailbox.o] Error code 1

make[1]: stopped in /wrkdirs/usr/ports/mail/xmailbox/work/xmailbox-2.5
1 error

make[1]: stopped in /wrkdirs/usr/ports/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/ports/mail/xmailbox