[package - 140arm64-default][math/grace] Failed for grace-5.1.25_11 in build

From: <pkg-fallout_at_FreeBSD.org>
Date: Mon, 10 Jun 2024 16:05:06 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/ampere3/data/140arm64-default/28444692ea26/logs/grace-5.1.25_11.log
Build URL:      https://pkg-status.freebsd.org/ampere3/build.html?mastername=140arm64-default&build=28444692ea26
Log:

=>> Building math/grace
build started at Mon Jun 10 16:04:21 UTC 2024
port directory: /usr/ports/math/grace
package name: grace-5.1.25_11
building for: FreeBSD 140arm64-default-job-13 14.0-RELEASE-p6 FreeBSD 14.0-RELEASE-p6 arm64
maintained by: ports@FreeBSD.org
Makefile datestamp: -rw-r--r--  1 root wheel 2615 Jan 14 01:02 /usr/ports/math/grace/Makefile
Ports top last git commit: 28444692ea2
Ports top unclean checkout: no
Port dir last git commit: 03c7f3c4124
Port dir unclean checkout: no
Poudriere version: poudriere-git-3.4.1-30-g79e3edcd
Host OSVERSION: 1500018
Jail OSVERSION: 1400097
Job Id: 13

---Begin Environment---
SHELL=/bin/sh
OSVERSION=1400097
UNAME_v=FreeBSD 14.0-RELEASE-p6
UNAME_r=14.0-RELEASE-p6
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
MAKE_OBJDIR_CHECK_WRITABLE=0
LOCALBASE=/usr/local
USER=root
POUDRIERE_NAME=poudriere-git
LIBEXECPREFIX=/usr/local/libexec/poudriere
POUDRIERE_VERSION=3.4.1-30-g79e3edcd
MASTERMNT=/usr/local/poudriere/data/.m/140arm64-default/ref
LC_COLLATE=C
POUDRIERE_BUILD_TYPE=bulk
PACKAGE_BUILDING=yes
SAVED_TERM=
OUTPUT_REDIRECTED_STDERR=4
OUTPUT_REDIRECTED=1
PWD=/usr/local/poudriere/data/.m/140arm64-default/13/.p
OUTPUT_REDIRECTED_STDOUT=3
P_PORTS_FEATURES=FLAVORS SUBPACKAGES SELECTED_OPTIONS
MASTERNAME=140arm64-default
SCRIPTPREFIX=/usr/local/share/poudriere
SCRIPTNAME=bulk.sh
OLDPWD=/usr/local/poudriere/data/.m/140arm64-default/ref/.p/pool
POUDRIERE_PKGNAME=poudriere-git-3.4.1-30-g79e3edcd
SCRIPTPATH=/usr/local/share/poudriere/bulk.sh
POUDRIEREPATH=/usr/local/bin/poudriere
---End Environment---

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

---Begin OPTIONS List---
===> The following configuration options are available for grace-5.1.25_11:
     DOCS=on: Build and/or install documentation
     EXAMPLES=on: Build and/or install examples
     FFTW=on: Discrete Fourier Transform support
     NETCDF=on: NetCDF data format support
     PDF=on: PDF output
     XMHTML=on: XmHTML based on-line help
===> Use 'make config' to modify these settings
---End OPTIONS List---

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

--CONFIGURE_ARGS--
--enable-grace-home=/usr/local/share/grace  --with-extra-incpath=/usr/local/include  --with-extra-ldpath=/usr/local/lib  --with-helpviewer="xdg-open %s"  --without-bundled-xbae --with-fftw --enable-netcdf --enable-pdfdrv --enable-xmhtml --x-libraries=/usr/local/lib --x-includes=/usr/local/include --prefix=/usr/local ${_LATE_CONFIGURE_ARGS}
--End CONFIGURE_ARGS--

--CONFIGURE_ENV--
MAKE=gmake XDG_DATA_HOME=/wrkdirs/usr/ports/math/grace/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/math/grace/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/math/grace/work/.cache  HOME=/wrkdirs/usr/ports/math/grace/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/math/grace/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/math/grace/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig SHELL=/bin/sh CONFIG_SHELL=/bin/sh CONFIG_SITE=/usr/ports/Templates/config.site lt_cv_sys_max_cmd_len=524288
--End CONFIGURE_ENV--

--MAKE_ENV--
MOTIFLIB="-L/usr/local/lib -lXm" XDG_DATA_HOME=/wrkdirs/usr/ports/math/grace/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/math/grace/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/math/grace/work/.cache  HOME=/wrkdirs/usr/ports/math/grace/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/math/grace/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/math/grace/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  " 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--
PORTDOCS="" PORTEXAMPLES="" OSREL=14.0 PREFIX=%D LOCALBASE=/usr/local  RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/grace"  EXAMPLESDIR="share/examples/grace"  DATADIR="share/grace"  WWWDIR="www/grace"  ETCDIR="etc/grace"
--End PLIST_SUB--

--SUB_LIST--
 PREFIX=/usr/local LOCALBASE=/usr/local  DATADIR=/usr/local/share/grace DOCSDIR=/usr/local/share/doc/grace EXAMPLESDIR=/usr/local/share/examples/grace  WWWDIR=/usr/local/www/grace ETCDIR=/usr/local/etc/grace
--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
####  ####
# 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 3 jobs
MAKE_JOBS_NUMBER=3
#### Misc Poudriere ####
.include "/etc/make.conf.ports_env"
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)  8192
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   >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>   NOTICE:

The grace 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 GPLv2 accepted by the user
===========================================================================
=======================<phase: pkg-depends    >============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===>   grace-5.1.25_11 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-1.21.3.pkg
[140arm64-default-job-13] Installing pkg-1.21.3...
[140arm64-default-job-13] Extracting pkg-1.21.3: .......... done
===>   grace-5.1.25_11 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of grace-5.1.25_11
===========================================================================
=======================<phase: fetch-depends  >============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===========================================================================
=======================<phase: fetch          >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>   NOTICE:

The grace 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 GPLv2 accepted by the user
===> Fetching all distfiles required by grace-5.1.25_11 for building
===========================================================================
=======================<phase: checksum       >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>   NOTICE:

The grace 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 GPLv2 accepted by the user
===> Fetching all distfiles required by grace-5.1.25_11 for building
=> SHA256 Checksum OK for grace-5.1.25.tar.gz.
===========================================================================
=======================<phase: extract-depends>============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
<snip>
motifutils.c:1130: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]
    ok = cbdata->cbproc(s, cbdata->anydata);
                       ^
motifutils.c:2059:32: warning: cast to 'void *' from smaller integer type 'int' [-Wint-to-void-pointer-cast]
            create_leval_frame((void *) gno);
                               ^~~~~~~~~~~~
cc -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -I.. -I.   -I/usr/local/include -I/usr/local/include -I/usr/local/include  -c -o compwin.o compwin.c
motifutils.c:2895:19: 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]
    cbdata->cbproc(onoff, cbdata->anydata);
                  ^
motifutils.c:3000: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]
    retval = cbdata->cbproc(cbdata->anydata);
                           ^
compwin.c:162:16: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast]
    aac_mode = (int) data;
               ^~~~~~~~~~
compwin.c:930:6: warning: cast to smaller integer type 'int' from 'XtPointer' (aka 'void *') [-Wvoid-pointer-to-int-cast]
        if( (int)client_data == 2 )
            ^~~~~~~~~~~~~~~~
compwin.c:1004:28: warning: cast to 'XtPointer' (aka 'void *') from smaller integer type 'int' [-Wint-to-void-pointer-cast]
                                        set_regr_sensitivity, (XtPointer)(i-2) );
                                                              ^~~~~~~~~~~~~~~~
21 warnings generated.
cc -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -I.. -I.   -I/usr/local/include -I/usr/local/include -I/usr/local/include  -c -o comwin.o comwin.c
cc -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -I.. -I.   -I/usr/local/include -I/usr/local/include -I/usr/local/include  -c -o eblockwin.o eblockwin.c
3 warnings generated.
cc -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -I.. -I.   -I/usr/local/include -I/usr/local/include -I/usr/local/include  -c -o editpwin.o editpwin.c
cc -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -I.. -I.   -I/usr/local/include -I/usr/local/include -I/usr/local/include  -c -o events.o events.c
events.c:203:46: warning: cast to 'void *' from smaller integer type 'int' [-Wint-to-void-pointer-cast]
                        define_symbols_popup((void *) track_setno);
                                             ^~~~~~~~~~~~~~~~~~~~
cc -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -I.. -I.   -I/usr/local/include -I/usr/local/include -I/usr/local/include  -c -o featext.o featext.c
events.c:556:16: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast]
    int func = (int) data;
               ^~~~~~~~~~
featext.c:87:17: warning: cast to smaller integer type 'int' from 'XtPointer' (aka 'void *') [-Wvoid-pointer-to-int-cast]
    int value = (int) client_data;
                ^~~~~~~~~~~~~~~~~
featext.c:146:37: warning: cast to 'XtPointer' (aka 'void *') from smaller integer type 'int' [-Wint-to-void-pointer-cast]
                        (XtCallbackProc) do_fext_toggle, (XtPointer) i);
                                                         ^~~~~~~~~~~~~
8 warnings generated.
cc -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -I.. -I.   -I/usr/local/include -I/usr/local/include -I/usr/local/include  -c -o fileswin.o fileswin.c
2 warnings generated.
cc -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -I.. -I.   -I/usr/local/include -I/usr/local/include -I/usr/local/include  -c -o plotwin.o plotwin.c
fileswin.c:216:56: warning: cast to 'XtPointer' (aka 'void *') from smaller integer type 'int' [-Wint-to-void-pointer-cast]
                XmNvalueChangedCallback, set_src_proc, (XtPointer) i);
                                                       ^~~~~~~~~~~~~
fileswin.c:268:17: warning: cast to smaller integer type 'int' from 'XtPointer' (aka 'void *') [-Wvoid-pointer-to-int-cast]
    int which = (int) client_data;
                ^~~~~~~~~~~~~~~~~
2 warnings generated.
cc -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -I.. -I.   -I/usr/local/include -I/usr/local/include -I/usr/local/include  -c -o graphappwin.o graphappwin.c
cc -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -I.. -I.   -I/usr/local/include -I/usr/local/include -I/usr/local/include  -c -o helpwin.o helpwin.c
2 warnings generated.
cc -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -I.. -I.   -I/usr/local/include -I/usr/local/include -I/usr/local/include  -c -o hotwin.o hotwin.c
graphappwin.c:113:27: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast]
    create_graphapp_frame((int) data);
                          ^~~~~~~~~~
cc -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -I.. -I.   -I/usr/local/include -I/usr/local/include -I/usr/local/include  -c -o locatewin.o locatewin.c
1 warning generated.
cc -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -I.. -I.   -I/usr/local/include -I/usr/local/include -I/usr/local/include  -c -o miscwin.o miscwin.c
cc -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -I.. -I.   -I/usr/local/include -I/usr/local/include -I/usr/local/include  -c -o monwin.o monwin.c
cc -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -I.. -I.   -I/usr/local/include -I/usr/local/include -I/usr/local/include  -c -o nonlwin.o nonlwin.c
cc -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -I.. -I.   -I/usr/local/include -I/usr/local/include -I/usr/local/include  -c -o printwin.o printwin.c
cc -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -I.. -I.   -I/usr/local/include -I/usr/local/include -I/usr/local/include  -c -o ptswin.o ptswin.c
nonlwin.c:204:63: warning: cast to 'void *' from smaller integer type 'int' [-Wint-to-void-pointer-cast]
            AddToggleButtonCB(nonl_constr_item[i], do_constr_toggle, (void *) i);
                                                                     ^~~~~~~~~~
nonlwin.c:372:17: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast]
    int value = (int) data;
                ^~~~~~~~~~
ptswin.c:76:20: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast]
    track_add_at = (int) data;
                   ^~~~~~~~~~
ptswin.c:116:22: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast]
    track_move_dir = (int) data;
                     ^~~~~~~~~~
printwin.c:252:13: warning: comparison of array 'print_file' equal to a null pointer is always false [-Wtautological-pointer-compare]
        if (print_file == NULL || print_file[0] == '\0') {
            ^~~~~~~~~~    ~~~~
2 warnings generated.
cc -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -I.. -I.   -I/usr/local/include -I/usr/local/include -I/usr/local/include  -c -o regionwin.o regionwin.c
2 warnings generated.
cc -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -I.. -I.   -I/usr/local/include -I/usr/local/include -I/usr/local/include  -c -o setwin.o setwin.c
1 warning generated.
cc -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -I.. -I.   -I/usr/local/include -I/usr/local/include -I/usr/local/include  -c -o strwin.o strwin.c
cc -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -I.. -I.   -I/usr/local/include -I/usr/local/include -I/usr/local/include  -c -o setappwin.o setappwin.c
setwin.c:680:15: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast]
    int gno = (int) data;
              ^~~~~~~~~~
strwin.c:201:16: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast]
    int type = (int) data;
               ^~~~~~~~~~
setappwin.c:137:13: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast]
    setno = (int) data;
            ^~~~~~~~~~
setappwin.c:668:17: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast]
    proc_type = (int) data;
                ^~~~~~~~~~
setappwin.c:724:16: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast]
    int mask = (int) data;
               ^~~~~~~~~~
1 warning generated.
cc -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -I.. -I.   -I/usr/local/include -I/usr/local/include -I/usr/local/include  -c -o tickwin.o tickwin.c
3 warnings generated.
cc -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -I.. -I.   -I/usr/local/include -I/usr/local/include -I/usr/local/include  -c -o worldwin.o worldwin.c
1 warning generated.
cc -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -I.. -I.   -I/usr/local/include -I/usr/local/include -I/usr/local/include  -c -o fontwin.o fontwin.c
fontwin.c:279:57: warning: cast to 'XtPointer' (aka 'void *') from smaller integer type 'int' [-Wint-to-void-pointer-cast]
    XbaeMatrixSetCellUserData(w, cbs->row, cbs->column, (XtPointer) valid_char);  
                                                        ^~~~~~~~~~~~~~~~~~~~~~
fontwin.c:298:18: warning: cast to smaller integer type 'int' from 'XtPointer' (aka 'void *') [-Wvoid-pointer-to-int-cast]
    valid_char = (int) XbaeMatrixGetCellUserData(w, cbs->row, cbs->column);
                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
fontwin.c:399:22: warning: cast to smaller integer type 'int' from 'XtPointer' (aka 'void *') [-Wvoid-pointer-to-int-cast]
        valid_char = (int) XbaeMatrixGetCellUserData(ftable, row, column);
                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
fontwin.c:412:16: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast]
    aac_mode = (int) data;
               ^~~~~~~~~~
cc -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -I.. -I.   -I/usr/local/include -I/usr/local/include -I/usr/local/include  -c -o xutil.o xutil.c
4 warnings generated.
cc -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -I.. -I.   -I/usr/local/include -I/usr/local/include -I/usr/local/include  -c -o x11drv.o x11drv.c
cc -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -I.. -I.   -I/usr/local/include -I/usr/local/include -I/usr/local/include  -c -o xmgrace.o xmgrace.c
cc -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -I.. -I.   -I/usr/local/include -I/usr/local/include buildinfo.o -o buildinfo -L/usr/local/lib  -fstack-protector-strong  -L/usr/local/lib   -lXbae -lXm -lXpm -lXmu -lXt -lXext -lX11  -lSM -lICE  -lt1 -ljpeg -lpng -lz -lm 
xmgrace.c:487:13: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast]
    switch ((int) data) {
            ^~~~~~~~~~
xmgrace.c:542:29: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast]
    if (autoscale_graph(cg, (int) data) == RETURN_SUCCESS) {
                            ^~~~~~~~~~
xmgrace.c:1254:18: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast]
    graph_scroll((int) data);
                 ^~~~~~~~~~
xmgrace.c:1260:16: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast]
    graph_zoom((int) data);
               ^~~~~~~~~~
xmgrace.c:1266:13: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast]
    switch ((int) data) {
            ^~~~~~~~~~
rm -f t.h
./buildinfo > t.h
mv -f t.h buildinfo.h
cc -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -I.. -I.   -I/usr/local/include -I/usr/local/include -I/usr/local/include  -c -o utils.o utils.c
5 warnings generated.
utils.c:1174:16: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
        printf(s);
               ^
utils.c:1174:16: note: treat the string as an argument to avoid this
        printf(s);
               ^
               "%s", 
utils.c:1179:17: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
        fprintf(resfp, s);
                       ^
utils.c:1179:17: note: treat the string as an argument to avoid this
        fprintf(resfp, s);
                       ^
                       "%s", 
utils.c:1392:22: warning: parameter 'flag' was not declared, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int]
void lock_dirtystate(flag)
                     ^
utils.c:1392: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 lock_dirtystate(flag)
     ^
4 warnings generated.
cc -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -I.. -I.   -I/usr/local/include -I/usr/local/include main.o plotone.o files.o ssdata.o utils.o drawticks.o nonlfit.o lmdif.o as274c.o fit.o fourier.o graphs.o graphutils.o setutils.o regionutils.o objutils.o computils.o defaults.o params.o draw.o dlmodule.o pars.o missing.o  iofilters.o dates.o t1fonts.o device.o dummydrv.o mfdrv.o mifdrv.o psdrv.o pdfdrv.o svgdrv.o gd.o rstdrv.o humlik.o mathstuff.o Tab.o motifutils.o compwin.o comwin.o eblockwin.o editpwin.o events.o featext.o fileswin.o plotwin.o graphappwin.o helpwin.o hotwin.o locatewin.o miscwin.o monwin.o nonlwin.o printwin.o ptswin.o regionwin.o setwin.o strwin.o setappwin.o tickwin.o worldwin.o fontwin.o xutil.o x11drv.o xmgrace.o -o xmgrace -L/usr/local/lib  -fstack-protector-strong  -L/usr/local/lib   -lXbae -lXm -lXpm -lXmu -lXt -lXext -lX11  -lSM -lICE  ../cephes/libcephes.a -lnetcdf -lfftw -lt1 -lpdf -ljpeg -lpng -lz -lm  
ld: error: lmdif.o:(function dpmpar_: .text+0x24): improper alignment for relocation R_AARCH64_LDST64_ABS_LO12_NC: 0x30341C is not aligned to 8 bytes
ld: error: lmdif.o:(function dpmpar_: .text+0x30): improper alignment for relocation R_AARCH64_LDST64_ABS_LO12_NC: 0x30343C is not aligned to 8 bytes
ld: error: lmdif.o:(function dpmpar_: .text+0x3c): improper alignment for relocation R_AARCH64_LDST64_ABS_LO12_NC: 0x303424 is not aligned to 8 bytes
ld: error: lmdif.o:(function fdjac2_: .text+0x1bc): improper alignment for relocation R_AARCH64_LDST64_ABS_LO12_NC: 0x30341C is not aligned to 8 bytes
ld: error: lmdif.o:(function lmdif_: .text+0x430): improper alignment for relocation R_AARCH64_LDST64_ABS_LO12_NC: 0x30341C is not aligned to 8 bytes
ld: error: lmdif.o:(function qrfac_: .text+0x16a4): improper alignment for relocation R_AARCH64_LDST64_ABS_LO12_NC: 0x30341C is not aligned to 8 bytes
ld: error: lmdif.o:(function lmpar_: .text+0x1da4): improper alignment for relocation R_AARCH64_LDST64_ABS_LO12_NC: 0x303424 is not aligned to 8 bytes
ld: error: computils.o:(function do_differ: .text+0x12b0): improper alignment for relocation R_AARCH64_LDST64_ABS_LO12_NC: 0x30343C is not aligned to 8 bytes
ld: error: computils.o:(function do_differ: .text+0x1404): improper alignment for relocation R_AARCH64_LDST64_ABS_LO12_NC: 0x30343C is not aligned to 8 bytes
ld: error: computils.o:(function do_differ: .text+0x1524): improper alignment for relocation R_AARCH64_LDST64_ABS_LO12_NC: 0x30343C is not aligned to 8 bytes
ld: error: ../cephes/libcephes.a(airy.o):(function airy: .text+0x58): improper alignment for relocation R_AARCH64_LDST64_ABS_LO12_NC: 0x30343C is not aligned to 8 bytes
ld: error: ../cephes/libcephes.a(airy.o):(function airy: .text+0x60): improper alignment for relocation R_AARCH64_LDST64_ABS_LO12_NC: 0x30343C is not aligned to 8 bytes
ld: error: ../cephes/libcephes.a(airy.o):(function airy: .text+0x124): improper alignment for relocation R_AARCH64_LDST64_ABS_LO12_NC: 0x303444 is not aligned to 8 bytes
ld: error: ../cephes/libcephes.a(airy.o):(function airy: .text+0x370): improper alignment for relocation R_AARCH64_LDST64_ABS_LO12_NC: 0x30341C is not aligned to 8 bytes
ld: error: ../cephes/libcephes.a(airy.o):(function airy: .text+0x424): improper alignment for relocation R_AARCH64_LDST64_ABS_LO12_NC: 0x30341C is not aligned to 8 bytes
ld: error: ../cephes/libcephes.a(beta.o):(function beta: .text+0x94): improper alignment for relocation R_AARCH64_LDST64_ABS_LO12_NC: 0x30342C is not aligned to 8 bytes
ld: error: ../cephes/libcephes.a(beta.o):(function beta: .text+0xdc): improper alignment for relocation R_AARCH64_LDST64_ABS_LO12_NC: 0x30343C is not aligned to 8 bytes
ld: error: ../cephes/libcephes.a(beta.o):(function lbeta: .text+0x1f8): improper alignment for relocation R_AARCH64_LDST64_ABS_LO12_NC: 0x30343C is not aligned to 8 bytes
ld: error: ../cephes/libcephes.a(ellie.o):(function ellie: .text+0x38): improper alignment for relocation R_AARCH64_LDST64_ABS_LO12_NC: 0x30344C is not aligned to 8 bytes
ld: error: ../cephes/libcephes.a(ellie.o):(function ellie: .text+0x110): improper alignment for relocation R_AARCH64_LDST64_ABS_LO12_NC: 0x30341C is not aligned to 8 bytes
ld: error: too many errors emitted, stopping now (use --error-limit=0 to see all errors)
cc: error: linker command failed with exit code 1 (use -v to see invocation)
gmake[1]: *** [Makefile:40: xmgrace] Error 1
gmake[1]: Leaving directory '/wrkdirs/usr/ports/math/grace/work/grace-5.1.25/src'
gmake: *** [Makefile:10: subdirs] Error 1
===> 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/grace