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

From: <pkg-fallout_at_FreeBSD.org>
Date: Mon, 29 May 2023 13:44:54 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/beefy18/data/main-amd64-default/p8fa1ee41e29a_sbaef3a5b58/logs/xgraph-11.3.2.20000910_4.log
Build URL:      https://pkg-status.freebsd.org/beefy18/build.html?mastername=main-amd64-default&build=p8fa1ee41e29a_sbaef3a5b58
Log:

=>> Building math/xgraph
build started at Mon May 29 13:44:45 UTC 2023
port directory: /usr/ports/math/xgraph
package name: xgraph-11.3.2.20000910_4
building for: FreeBSD main-amd64-default-job-07 14.0-CURRENT FreeBSD 14.0-CURRENT 1400088 amd64
maintained by: ports@FreeBSD.org
Makefile ident: 
Poudriere version: 3.2.8-23-ga7f8d188
Host OSVERSION: 1400073
Jail OSVERSION: 1400088
Job Id: 07




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



---Begin Environment---
SHELL=/bin/sh
OSVERSION=1400088
UNAME_v=FreeBSD 14.0-CURRENT 1400088
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-amd64-default/ref
POUDRIERE_BUILD_TYPE=bulk
PACKAGE_BUILDING=yes
SAVED_TERM=
PWD=/usr/local/poudriere/data/.m/main-amd64-default/ref/.p/pool
P_PORTS_FEATURES=FLAVORS SELECTED_OPTIONS
MASTERNAME=main-amd64-default
SCRIPTPREFIX=/usr/local/share/poudriere
OLDPWD=/usr/local/poudriere/data/.m/main-amd64-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=cc -DCplusplusCmd=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=cc -DCplusplusCmd=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="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="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---
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 15.0.7 (https://github.com/llvm/llvm-project.git llvmorg-15.0.7-0-g8dfdcc7b7bf6) Target: x86_64-unknown-freebsd14.0 Thread model: posix InstalledDir: /usr/bin
_ALTCCVERSION_921dbbb2=none
_CXXINTERNAL_acaad9ca=FreeBSD clang version 15.0.7 (https://github.com/llvm/llvm-project.git llvmorg-15.0.7-0-g8dfdcc7b7bf6) Target: x86_64-unknown-freebsd14.0 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 15.0.7 (https://github.com/llvm/llvm-project.git llvmorg-15.0.7-0-g8dfdcc7b7bf6) Target: x86_64-unknown-freebsd14.0 Thread model: posix InstalledDir: /usr/bin
_OBJC_ALTCCVERSION_921dbbb2=none
ARCH=amd64
OPSYS=FreeBSD
_OSRELEASE=14.0-CURRENT
OSREL=14.0
OSVERSION=1400088
PYTHONBASE=/usr/local
HAVE_COMPAT_IA32_KERN=YES
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)  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

===>  License XGRAPH accepted by the user
===========================================================================
=======================<phase: pkg-depends    >============================
===>   xgraph-11.3.2.20000910_4 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-1.19.1_1.pkg
[main-amd64-default-job-07] Installing pkg-1.19.1_1...
[main-amd64-default-job-07] Extracting pkg-1.19.1_1: .......... done
===>   xgraph-11.3.2.20000910_4 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of xgraph-11.3.2.20000910_4
===========================================================================
=======================<phase: fetch-depends  >============================
===========================================================================
=======================<phase: fetch          >============================
===>   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.c:2345:22: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                wi->dev_info.xg_seg(wi->dev_info.user_state,
                                   ^
xgraph.c:2164: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 DrawData(wi)
    ^
xgraph.c:2354:1: warning: non-void function does not return a value in all control paths [-Wreturn-type]
}
^
xgraph.c:2369:19: warning: passing arguments to 'set_mark_flags' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    set_mark_flags(&markFlag, &pixelMarks, &bigPixel, &colorMark);
                  ^
xgraph.c:2380:28: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
              wi->dev_info.xg_text(wi->dev_info.user_state,
                                  ^
xgraph.c:2398:27: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
              wi->dev_info.xg_seg(wi->dev_info.user_state,
                                 ^
xgraph.c:2402:24: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                  wi->dev_info.xg_dot(wi->dev_info.user_state,
                                     ^
xgraph.c:2358: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 DrawLegend(wi)
    ^
xgraph.c:2410:1: warning: non-void function does not return a value [-Wreturn-type]
}
^
xgraph.c:2414: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_mark_flags(markFlag, pixelMarks, bigPixel, colorMark)
            ^
xgraph.c:2478: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(sprintf(err, "Unable to issue command:\n  %s\n", buf));
                    ^
xgraph.c:2482:13: warning: passing arguments to 'tildeExpand' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        tildeExpand(tilde, file_or_dev);
                   ^
xgraph.c:2485: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(sprintf(err, "Unable to open file `%s'\n", tilde));
                    ^
xgraph.c:2502:20: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    if ((*init_fun)(out_stream, final_w, final_h, ti_fam, ti_size,
                   ^
xgraph.c:2506:29: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            thisWin.dev_info.xg_end(thisWin.dev_info.user_state);
                                   ^
xgraph.c:2509: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(ierr);
                ^
xgraph.c:2444: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_hardcopy(prog, info, init_fun, dev_spec, file_or_dev, maxdim,
     ^
In file included from xgraph.c:19:
In file included from ./xgout.h:8:
./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)
           ^
--- xgX.o ---
16 warnings generated.
--- hard_devices.o ---
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
--- dialog.o ---
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.
--- hpgl.o ---
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.
*** [hpgl.o] Error code 1

make[1]: stopped in /wrkdirs/usr/ports/math/xgraph/work/xgraph
--- xgraph.o ---
161 warnings generated.
1 error

make[1]: stopped in /wrkdirs/usr/ports/math/xgraph/work/xgraph
===> 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/math/xgraph