[package - main-arm64-default][math/grace] Failed for grace-5.1.25_10 in build

From: <pkg-fallout_at_FreeBSD.org>
Date: Fri, 22 Dec 2023 07:49:31 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-arm64-default/p1129bbfc327e_s7c8f163184/logs/grace-5.1.25_10.log
Build URL:      https://pkg-status.freebsd.org/ampere2/build.html?mastername=main-arm64-default&build=p1129bbfc327e_s7c8f163184
Log:

=>> Building math/grace
build started at Fri Dec 22 07:48:38 UTC 2023
port directory: /usr/ports/math/grace
package name: grace-5.1.25_10
building for: FreeBSD main-arm64-default-job-02 15.0-CURRENT FreeBSD 15.0-CURRENT 1500007 arm64
maintained by: ports@FreeBSD.org
Makefile datestamp: -rw-r--r--  1 root wheel 2609 Aug  1 01:03 /usr/ports/math/grace/Makefile
Ports top last git commit: 1129bbfc327
Ports top unclean checkout: no
Port dir last git commit: 664a2fa1e56
Port dir unclean checkout: no
Poudriere version: poudriere-git-3.4.0
Host OSVERSION: 1500006
Jail OSVERSION: 1500007
Job Id: 02




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



---Begin Environment---
SHELL=/bin/sh
OSVERSION=1500007
UNAME_v=FreeBSD 15.0-CURRENT 1500007
UNAME_r=15.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
MAKE_OBJDIR_CHECK_WRITABLE=0
LOCALBASE=/usr/local
USER=root
POUDRIERE_NAME=poudriere-git
LIBEXECPREFIX=/usr/local/libexec/poudriere
POUDRIERE_VERSION=3.4.0
MASTERMNT=/usr/local/poudriere/data/.m/main-arm64-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/main-arm64-default/02/.p
OUTPUT_REDIRECTED_STDOUT=3
P_PORTS_FEATURES=FLAVORS SELECTED_OPTIONS
MASTERNAME=main-arm64-default
SCRIPTPREFIX=/usr/local/share/poudriere
SCRIPTNAME=bulk.sh
OLDPWD=/usr/local/poudriere/data/.m/main-arm64-default/ref/.p/pool
POUDRIERE_PKGNAME=poudriere-git-3.4.0
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_10:
     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  "  MANPREFIX="/usr/local" BSD_INSTALL_PROGRAM="install  -s -m 555"  BSD_INSTALL_LIB="install  -s -m 0644"  BSD_INSTALL_SCRIPT="install  -m 555"  BSD_INSTAL
L_DATA="install  -m 0644"  BSD_INSTALL_MAN="install  -m 444"
--End MAKE_ENV--

--PLIST_SUB--
PORTDOCS="" PORTEXAMPLES="" OSREL=15.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_10 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-1.20.9.pkg
[main-arm64-default-job-02] Installing pkg-1.20.9...
[main-arm64-default-job-02] Extracting pkg-1.20.9: .......... done
===>   grace-5.1.25_10 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of grace-5.1.25_10
===========================================================================
=======================<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_10 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

<snip>
      |                        ^
motifutils.c:2059:32: warning: cast to 'void *' from smaller integer type 'int' [-Wint-to-void-pointer-cast]
 2059 |             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]
 2895 |     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]
 3000 |     retval = cbdata->cbproc(cbdata->anydata);
      |                            ^
compwin.c:162:16: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast]
  162 |     aac_mode = (int) data;
      |                ^~~~~~~~~~
compwin.c:930:6: warning: cast to smaller integer type 'int' from 'XtPointer' (aka 'void *') [-Wvoid-pointer-to-int-cast]
  930 |         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]
 1004 |                                         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]
  203 |                         define_symbols_popup((void *) track_setno);
      |                                              ^~~~~~~~~~~~~~~~~~~~
events.c:556:16: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast]
  556 |     int func = (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 featext.o featext.c
featext.c:87:17: warning: cast to smaller integer type 'int' from 'XtPointer' (aka 'void *') [-Wvoid-pointer-to-int-cast]
   87 |     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]
  146 |                         (XtCallbackProc) do_fext_toggle, (XtPointer) i);
      |                                                          ^~~~~~~~~~~~~
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 fileswin.o fileswin.c
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 plotwin.o plotwin.c
fileswin.c:216:56: warning: cast to 'XtPointer' (aka 'void *') from smaller integer type 'int' [-Wint-to-void-pointer-cast]
  216 |                 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]
  268 |     int which = (int) client_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 graphappwin.o graphappwin.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 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]
  113 |     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]
  204 |             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]
  372 |     int value = (int) data;
      |                 ^~~~~~~~~~
printwin.c:252:13: warning: comparison of array 'print_file' equal to a null pointer is always false [-Wtautological-pointer-compare]
ptswin.c  252 |         if (print_file == NULL || print_file[0] == '\0') {
      |             ^~~~~~~~~~    ~~~~
:76:20: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast]
   76 |     track_add_at = (int) data;
      |                    ^~~~~~~~~~
ptswin.c:116:22: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast]
  116 |     track_move_dir = (int) 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 regionwin.o regionwin.c
1 warning generated.
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
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
setwin.c:680:15: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast]
  680 |     int gno = (int) data;
      |               ^~~~~~~~~~
strwin.c:201:16: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast]
  201 |     int type = (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 setappwin.o setappwin.c
setappwin.c:137:13: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast]
  137 |     setno = (int) data;
      |             ^~~~~~~~~~
setappwin.c:668:17: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast]
  668 |     proc_type = (int) data;
      |                 ^~~~~~~~~~
setappwin.c:724:16: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast]
  724 |     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.
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 worldwin.o worldwin.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 fontwin.o fontwin.c
fontwin.c:279:57: warning: cast to 'XtPointer' (aka 'void *') from smaller integer type 'int' [-Wint-to-void-pointer-cast]
  279 |     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]
  298 |     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]
  399 |         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]
  412 |     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
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
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 xmgrace.o xmgrace.c
xmgrace.c:487:13: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast]
  487 |     switch ((int) data) {
      |             ^~~~~~~~~~
xmgrace.c:542:29: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast]
  542 |     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]
 1254 |     graph_scroll((int) data);
      |                  ^~~~~~~~~~
xmgrace.c:1260:16: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast]
 1260 |     graph_zoom((int) data);
      |                ^~~~~~~~~~
xmgrace.c:1266:13: warning: cast to smaller integer type 'int' from 'void *' [-Wvoid-pointer-to-int-cast]
 1266 |     switch ((int) data) {
      |             ^~~~~~~~~~
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 
rm -f t.h
./buildinfo > t.h
mv -f t.h buildinfo.h
5 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 utils.o utils.c
utils.c:1174:16: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
 1174 |         printf(s);
      |                ^
utils.c:1174:16: note: treat the string as an argument to avoid this
 1174 |         printf(s);
      |                ^
      |                "%s", 
utils.c:1179:17: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
 1179 |         fprintf(resfp, s);
      |                        ^
utils.c:1179:17: note: treat the string as an argument to avoid this
 1179 |         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]
 1392 | void lock_dirtystate(flag)
      |                      ^
 1393 | {
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]
 1392 | 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: 0x3031CC is not aligned to 8 bytes
ld: error: lmdif.o:(function dpmpar_: .text+0x30): improper alignment for relocation R_AARCH64_LDST64_ABS_LO12_NC: 0x3031EC is not aligned to 8 bytes
ld: error: lmdif.o:(function dpmpar_: .text+0x3c): improper alignment for relocation R_AARCH64_LDST64_ABS_LO12_NC: 0x3031D4 is not aligned to 8 bytes
ld: error: lmdif.o:(function fdjac2_: .text+0x1bc): improper alignment for relocation R_AARCH64_LDST64_ABS_LO12_NC: 0x3031CC is not aligned to 8 bytes
ld: error: lmdif.o:(function lmdif_: .text+0x430): improper alignment for relocation R_AARCH64_LDST64_ABS_LO12_NC: 0x3031CC is not aligned to 8 bytes
ld: error: lmdif.o:(function qrfac_: .text+0x173c): improper alignment for relocation R_AARCH64_LDST64_ABS_LO12_NC: 0x3031CC is not aligned to 8 bytes
ld: error: lmdif.o:(function lmpar_: .text+0x1e30): improper alignment for relocation R_AARCH64_LDST64_ABS_LO12_NC: 0x3031D4 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: 0x3031EC 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: 0x3031EC 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: 0x3031EC 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: 0x3031EC 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: 0x3031EC 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: 0x3031F4 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: 0x3031CC 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: 0x3031CC 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: 0x3031DC 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: 0x3031EC 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: 0x3031EC 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: 0x3031FC 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: 0x3031CC 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[2]: *** [Makefile:40: xmgrace] Error 1
gmake[2]: Leaving directory '/wrkdirs/usr/ports/math/grace/work/grace-5.1.25/src'
gmake[1]: *** [Makefile:10: subdirs] Error 1
gmake[1]: Leaving directory '/wrkdirs/usr/ports/math/grace/work/grace-5.1.25'
===> 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