[package - main-armv6-default][math/xgraph] Failed for xgraph-11.3.2.20000910_4 in build

From: <pkg-fallout_at_FreeBSD.org>
Date: Sun, 26 Mar 2023 07:58:18 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/beefy8/data/main-armv6-default/pf4ce74f6722a_s28f957b8b3/logs/xgraph-11.3.2.20000910_4.log
Build URL:      https://pkg-status.freebsd.org/beefy8/build.html?mastername=main-armv6-default&build=pf4ce74f6722a_s28f957b8b3
Log:

=>> Building math/xgraph
build started at Sun Mar 26 07:57:58 UTC 2023
port directory: /usr/ports/math/xgraph
package name: xgraph-11.3.2.20000910_4
building for: FreeBSD main-armv6-default-job-04 14.0-CURRENT FreeBSD 14.0-CURRENT 1400084 arm
maintained by: ports@FreeBSD.org
Makefile ident: 
Poudriere version: 3.2.8-23-ga7f8d188
Host OSVERSION: 1400078
Jail OSVERSION: 1400084
Job Id: 04




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



---Begin Environment---
SHELL=/bin/sh
UNAME_p=armv6
UNAME_m=arm
ABI_FILE=/usr/lib/crt1.o
OSVERSION=1400084
UNAME_v=FreeBSD 14.0-CURRENT 1400084
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
QEMU_EMULATING=1
USER=root
LIBEXECPREFIX=/usr/local/libexec/poudriere
POUDRIERE_VERSION=3.2.8-23-ga7f8d188
MASTERMNT=/usr/local/poudriere/data/.m/main-armv6-default/ref
POUDRIERE_BUILD_TYPE=bulk
PACKAGE_BUILDING=yes
SAVED_TERM=
PWD=/usr/local/poudriere/data/.m/main-armv6-default/ref/.p/pool
P_PORTS_FEATURES=FLAVORS SELECTED_OPTIONS
MASTERNAME=main-armv6-default
SCRIPTPREFIX=/usr/local/share/poudriere
OLDPWD=/usr/local/poudriere/data/.m/main-armv6-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 xgraph-11.3.2.20000910_4:
     EXAMPLES=on: Build and/or install examples
===> 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=/nxb-bin/usr/bin/cc -DCplusplusCmd=/nxb-bin/usr/bin/c++" XDG_DATA_HOME=/wrkdirs/usr/ports/math/xgraph/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/math/xgraph/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/math/xgraph/work/.cache  HOME=/wrkdirs/usr/ports/math/xgraph/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/math/xgraph/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/math/xgraph/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=/nxb-bin/usr/bin/cc -DCplusplusCmd=/nxb-bin/usr/bin/c++" XDG_DATA_HOME=/wrkdirs/usr/ports/math/xgraph/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/math/xgraph/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/math/xgraph/work/.cache  HOME=/wrkdirs/usr/ports/math/xgraph/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/math/xgraph/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/math/xgraph/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="/nxb-bin/usr/bin/cc" CFLAGS="-O2 -pipe  -fstack-protector-strong -fno-strict-aliasing "  CPP="/nxb-bin/usr/bin/cpp" CPPFLAGS=""  LDFLAGS=" -fstack-protector-strong " LIBS=""  CXX="/nxb-bin/usr/bin/c++" CXXFLAGS="-O2 -pipe -fstack-protector-strong -fno-strict-aliasing  "  MANPREFIX="/us
r/local" BSD_INSTALL_PROGRAM="install  -s -m 555"  BSD_INSTALL_LIB="install  -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--
PORTEXAMPLES="" OSREL=14.0 PREFIX=%D LOCALBASE=/usr/local  RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/xgraph"  EXAMPLESDIR="share/examples/xgraph"  DATADIR="share/xgraph"  WWWDIR="www/xgraph"  ETCDIR="etc/xgraph"
--End PLIST_SUB--

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

---Begin make.conf---
.sinclude "/etc/make.nxb.conf"
USE_PACKAGE_DEPENDS=yes
BATCH=yes
WRKDIRPREFIX=/wrkdirs
PORTSDIR=/usr/ports
PACKAGES=/packages
DISTDIR=/distfiles
PACKAGE_BUILDING=yes
PACKAGE_BUILDING_FLAVORS=yes
MACHINE=arm
MACHINE_ARCH=armv6
ARCH=${MACHINE_ARCH}
#### /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_9d218390=FreeBSD clang version 15.0.7 (https://github.com/llvm/llvm-project.git llvmorg-15.0.7-0-g8dfdcc7b7bf6) Target: armv6-unknown-freebsd14.0-gnueabihf Thread model: posix InstalledDir: /nxb-bin/usr/bin
_ALTCCVERSION_9d218390=none
_CXXINTERNAL_9c45a5b1=FreeBSD clang version 15.0.7 (https://github.com/llvm/llvm-project.git llvmorg-15.0.7-0-g8dfdcc7b7bf6) Target: armv6-unknown-freebsd14.0-gnueabihf Thread model: posix InstalledDir: /nxb-bin/usr/bin "/nxb-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_9d218390_58173849=yes
CC_OUTPUT_9d218390_9bdba57c=yes
CC_OUTPUT_9d218390_6a4fe7f5=yes
CC_OUTPUT_9d218390_6bcac02b=yes
CC_OUTPUT_9d218390_67d20829=yes
CC_OUTPUT_9d218390_bfa62e83=yes
CC_OUTPUT_9d218390_f0b4d593=yes
CC_OUTPUT_9d218390_308abb44=yes
CC_OUTPUT_9d218390_f00456e5=yes
CC_OUTPUT_9d218390_65ad290d=yes
CC_OUTPUT_9d218390_f2776b26=yes
CC_OUTPUT_9d218390_53255a77=yes
CC_OUTPUT_9d218390_911cfe02=yes
CC_OUTPUT_9d218390_b2657cc3=yes
CC_OUTPUT_9d218390_380987f7=yes
CC_OUTPUT_9d218390_160933ec=yes
CC_OUTPUT_9d218390_fb62803b=yes
CC_OUTPUT_9d218390_af59ad06=yes
CC_OUTPUT_9d218390_a15f3fcf=yes
_OBJC_CCVERSION_9d218390=FreeBSD clang version 15.0.7 (https://github.com/llvm/llvm-project.git llvmorg-15.0.7-0-g8dfdcc7b7bf6) Target: armv6-unknown-freebsd14.0-gnueabihf Thread model: posix InstalledDir: /nxb-bin/usr/bin
_OBJC_ALTCCVERSION_9d218390=none
ARCH=armv6
OPSYS=FreeBSD
_OSRELEASE=14.0-CURRENT
OSREL=14.0
OSVERSION=1400084
PYTHONBASE=/usr/local
CONFIGURE_MAX_CMD_LEN=524288
HAVE_PORTS_ENV=1
#### Misc Poudriere ####
GID=0
UID=0
DISABLE_MAKE_JOBS=poudriere
---End make.conf---
---Begin make.nxb.conf---
CC=/nxb-bin/usr/bin/cc
CPP=/nxb-bin/usr/bin/cpp
CXX=/nxb-bin/usr/bin/c++
NM=/nxb-bin/usr/bin/nm
LD=/nxb-bin/usr/bin/ld
OBJCOPY=/nxb-bin/usr/bin/objcopy
SIZE=/nxb-bin/usr/bin/size
STRIPBIN=/nxb-bin/usr/bin/strip
SED=/nxb-bin/usr/bin/sed
RANLIB=/nxb-bin/usr/bin/ranlib
YACC=/nxb-bin/usr/bin/yacc
MAKE=/nxb-bin/usr/bin/make
STRINGS=/nxb-bin/usr/bin/strings
AWK=/nxb-bin/usr/bin/awk
FLEX=/nxb-bin/usr/bin/flex
---End make.nxb.conf---
--Resource limits--
cpu time               (seconds, -t)  unlimited
file size           (512-blocks, -f)  unlimited
data seg size           (kbytes, -d)  33554432
stack size              (kbytes, -s)  524288
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 xgraph 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

<snip>
./xgraph.h:37: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]
extern void do_hardcopy();      /* Carries out hardcopy    */
            ^
xgraph.c:2519:14: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
static char *tildeExpand(out, in)
             ^
xgraph.c:2565:12: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
static int XErrHandler(disp_ptr, evt)
           ^
161 warnings generated.
/nxb-bin/usr/bin/cc  -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing        -I/usr/local/include    -DCSRG_BASED  -DFUNCPROTO=15 -DNARROWPROTO     -c xgX.c -o xgX.o
xgX.c:69:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
void set_X(new_win, out_info)
     ^
In file included from xgX.c:16:
In file included from ./xgout.h:8:
./xgraph.h:39: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]
extern void set_X();            /* Initializes X device    */
            ^
xgX.c:166:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
void init_X(user_state)
     ^
xgX.c:181: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 textGC(t_win, t_font)
          ^
xgX.c:205: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 segGC(l_win, l_fg, l_style, l_width, l_chars, l_len)
          ^
xgX.c:236: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 dotGC(d_win, d_fg, d_clipmask, d_xorg, d_yorg)
          ^
xgX.c:265:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
void text_X(user_state, x, y, text, just, style)
     ^
xgX.c:28:6: 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]
void text_X();
     ^
xgX.c:336:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
void seg_X(user_state, ns, segs, width, style, lappr, color)
     ^
xgX.c:29:6: 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]
void seg_X();
     ^
xgX.c:367:26: warning: multiple unsequenced modifications to 'param_temp_ptr' [-Wunsequenced]
            gc = segGC(st->win, PM_PIXEL("Foreground"),
                                ^
./params.h:100:18: note: expanded from macro 'PM_PIXEL'
((param_temp_ptr = param_get(name, &param_temp)) ? \
                 ^
xgX.c:370:26: warning: multiple unsequenced modifications to 'param_temp_ptr' [-Wunsequenced]
            gc = segGC(st->win, PM_PIXEL("Foreground"),
                                ^
./params.h:100:18: note: expanded from macro 'PM_PIXEL'
((param_temp_ptr = param_get(name, &param_temp)) ? \
                 ^
xgX.c:378:26: warning: multiple unsequenced modifications to 'param_temp_ptr' [-Wunsequenced]
            gc = segGC(st->win, PM_PIXEL("ZeroColor"),
                                ^
./params.h:100:18: note: expanded from macro 'PM_PIXEL'
((param_temp_ptr = param_get(name, &param_temp)) ? \
                 ^
xgX.c:381:26: warning: multiple unsequenced modifications to 'param_temp_ptr' [-Wunsequenced]
            gc = segGC(st->win, PM_PIXEL("ZeroColor"),
                                ^
./params.h:100:18: note: expanded from macro 'PM_PIXEL'
((param_temp_ptr = param_get(name, &param_temp)) ? \
                 ^
xgX.c:401:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
void dot_X(user_state, x, y, style, type, color)
     ^
xgX.c:30:6: 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]
void dot_X();
     ^
16 warnings generated.
/nxb-bin/usr/bin/cc  -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing        -I/usr/local/include    -DCSRG_BASED  -DFUNCPROTO=15 -DNARROWPROTO     -c hard_devices.c -o hard_devices.o
/nxb-bin/usr/bin/cc  -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing        -I/usr/local/include    -DCSRG_BASED  -DFUNCPROTO=15 -DNARROWPROTO     -c dialog.c -o dialog.o
dialog.c:66:17: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
static xtb_hret df_fun(win, ch, text, val)
                ^
dialog.c:131:15: warning: passing arguments to 'do_hardcopy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                        do_hardcopy(real_info->prog, real_info->cookie,
                                   ^
dialog.c:138:12: warning: passing arguments to 'do_error' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                        do_error("Bad axis font size\n");
                                ^
dialog.c:143:15: warning: passing arguments to 'do_error' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                    do_error("Bad title font size\n");
                            ^
dialog.c:148:11: warning: passing arguments to 'do_error' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                do_error("Bad maximum dimension\n");
                        ^
dialog.c:153:14: warning: passing arguments to 'do_error' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            do_error("Must specify `To File' or `To Device'\n");
                    ^
dialog.c:158:10: warning: passing arguments to 'do_error' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        do_error("Must specify an output device\n");
                ^
dialog.c:91:17: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
static xtb_hret ok_fun(win, bval, info)
                ^
dialog.c:166:17: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
static xtb_hret can_fun(win, val, info)
                ^
dialog.c:183:17: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
static xtb_hret docu_fun(win, val, info)
                ^
dialog.c:232:14: warning: passing arguments to 'do_error' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            do_error("Warning: can't read maximum dimension");
                    ^
dialog.c:238:14: warning: passing arguments to 'do_error' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            do_error("Warning: can't read title font size");
                    ^
dialog.c:244:14: warning: passing arguments to 'do_error' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            do_error("Warning: can't read axis font size");
                    ^
dialog.c:200:17: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
static xtb_hret dev_fun(win, old, new, info)
                ^
dialog.c:283:17: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
static xtb_hret fd_fun(win, old, new, info)
                ^
dialog.c:336: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 make_dialog(win, spawned, prog, cookie, okbtn, frame)
            ^
dialog.c:561:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
void ho_dialog(parent, prog, cookie)
     ^
In file included from dialog.c:13:
In file included from ./xgout.h:8:
./xgraph.h:38: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]
extern void ho_dialog();        /* Hardcopy dialog         */
            ^
dialog.c:631:17: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
static xtb_hret err_func(win, bval, info)
                ^
dialog.c:705:12: warning: call to undeclared function 'get_line'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
    while (get_line(&lineptr, line)) {
           ^
dialog.c:659: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 make_msg_box(text, title, frame)
            ^
dialog.c:792:16: warning: passing arguments to 'del_msg_box' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    del_msg_box(text_frame.win);
               ^
dialog.c:747:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
void msg_box(title, text)
     ^
dialog.c:795:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
void do_error(err_text)
     ^
dialog.c:20:6: 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]
void do_error();
     ^
dialog.c:803:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
int get_line(tptr, lptr)
    ^
dialog.c:829: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 del_msg_box(msg)
            ^
27 warnings generated.
/nxb-bin/usr/bin/cc  -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing        -I/usr/local/include    -DCSRG_BASED  -DFUNCPROTO=15 -DNARROWPROTO     -c hpgl.c -o hpgl.o
hpgl.c:77:27: error: incompatible pointer to integer conversion returning 'void *' from a function with result type 'int' [-Wint-conversion]
        if(myInfo == NULL) return(NULL);
                                 ^~~~~~
hpgl.c:61:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
hpglInit(stream,width,height,title_family, title_size,
^
hpgl.c:114:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
hpglText(userState,x,y,text,just,style)
^
hpgl.c:258:45: warning: invalid conversion specifier 'D' [-Wformat-invalid-specifier]
                        fprintf(userState->plotterFile,"PD,PA%d,%D;PA%d,%D;PA%d,%d;\n",
                                                                ~^
hpgl.c:258:53: warning: invalid conversion specifier 'D' [-Wformat-invalid-specifier]
                        fprintf(userState->plotterFile,"PD,PA%d,%D;PA%d,%D;PA%d,%d;\n",
                                                                        ~^
hpgl.c:261:5: warning: data argument not used by format string [-Wformat-extra-args]
                                MAPX(userState,ulx),MAPY(userState,uly) );
                                ^
hpgl.c:7:23: note: expanded from macro 'MAPX'
#define MAPX(state,x) ( (x) + P1X + state->clipminX ) 
                      ^
hpgl.c:189:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
hpglSeg(userState,ns,segs,width,style,lappr,color)
^
hpgl.c:272:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
hpglDot(userState,x,y,style,type,color)
^
hpgl.c:304:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
hpglEnd(userState)
^
8 warnings and 1 error generated.
*** Error code 1

Stop.
make[1]: stopped in /wrkdirs/usr/ports/math/xgraph/work/xgraph
*** Error code 1

Stop.
make: stopped in /usr/ports/math/xgraph