[package - main-arm64-default][net/c3270] Failed for c3270-4.2_2 in build

From: <pkg-fallout_at_FreeBSD.org>
Date: Sun, 04 Feb 2024 10:50:19 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:     kbowling@FreeBSD.org
Log URL:        https://pkg-status.freebsd.org/ampere2/data/main-arm64-default/pe72d10c28234_s2c191ba6b0/logs/c3270-4.2_2.log
Build URL:      https://pkg-status.freebsd.org/ampere2/build.html?mastername=main-arm64-default&build=pe72d10c28234_s2c191ba6b0
Log:

=>> Building net/c3270
build started at Sun Feb  4 10:49:05 UTC 2024
port directory: /usr/ports/net/c3270
package name: c3270-4.2_2
building for: FreeBSD main-arm64-default-job-05 15.0-CURRENT FreeBSD 15.0-CURRENT 1500012 arm64
maintained by: kbowling@FreeBSD.org
Makefile datestamp: -rw-r--r--  1 root wheel 231 Sep  4  2021 /usr/ports/net/c3270/Makefile
Ports top last git commit: e72d10c2823
Ports top unclean checkout: no
Port dir last git commit: 87b574bf836
Port dir unclean checkout: no
Poudriere version: poudriere-git-3.4.1
Host OSVERSION: 1500006
Jail OSVERSION: 1500012
Job Id: 05




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



---Begin Environment---
SHELL=/bin/sh
OSVERSION=1500012
UNAME_v=FreeBSD 15.0-CURRENT 1500012
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.1
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/05/.p
OUTPUT_REDIRECTED_STDOUT=3
P_PORTS_FEATURES=FLAVORS SUBPACKAGES 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.1
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 c3270-4.2_2:
     DBCS=off: EBCDIC double-byte character set support
     DOCS=on: Build and/or install documentation
     EXAMPLES=on: Build and/or install examples
===> Use 'make config' to modify these settings
---End OPTIONS List---

--MAINTAINER--
kbowling@FreeBSD.org
--End MAINTAINER--

--CONFIGURE_ARGS--
--enable-unix --disable-x3270  --disable-x3270if --enable-dbcs --prefix=/usr/local ${_LATE_CONFIGURE_ARGS}
--End CONFIGURE_ARGS--

--CONFIGURE_ENV--
MAKE=gmake XDG_DATA_HOME=/wrkdirs/usr/ports/net/c3270/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/net/c3270/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/net/c3270/work/.cache  HOME=/wrkdirs/usr/ports/net/c3270/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/net/c3270/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/net/c3270/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--
OPENSSLBASE=/usr OPENSSLDIR=/etc/ssl OPENSSLINC=/usr/include OPENSSLLIB=/usr/lib XDG_DATA_HOME=/wrkdirs/usr/ports/net/c3270/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/net/c3270/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/net/c3270/work/.cache  HOME=/wrkdirs/usr/ports/net/c3270/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/net/c3270/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/net/c3270/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  -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing "  CPP="cpp" CPPFLAGS="-DLIBICONV_PLUG -I/usr/local/include"  LDFLAGS=" -L/usr/local/lib  -fstack-protector-strong " LIBS=""  CXX="c++" CXXFLAGS="-O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing  -DLIBICONV_PLUG " BSD_INSTA
LL_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="" X3270="@comment " DBCS="" OSREL=15.0 PREFIX=%D LOCALBASE=/usr/local  RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/c3270"  EXAMPLESDIR="share/examples/c3270"  DATADIR="share/c3270"  WWWDIR="www/c3270"  ETCDIR="etc/c3270"
--End PLIST_SUB--

--SUB_LIST--
 PREFIX=/usr/local LOCALBASE=/usr/local  DATADIR=/usr/local/share/c3270 DOCSDIR=/usr/local/share/doc/c3270 EXAMPLESDIR=/usr/local/share/examples/c3270  WWWDIR=/usr/local/www/c3270 ETCDIR=/usr/local/etc/c3270
--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
===>  License BSD3CLAUSE accepted by the user
===========================================================================
=======================<phase: pkg-depends    >============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===>   c3270-4.2_2 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-1.20.9_1.pkg
[main-arm64-default-job-05] Installing pkg-1.20.9_1...
[main-arm64-default-job-05] Extracting pkg-1.20.9_1: .......... done
===>   c3270-4.2_2 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of c3270-4.2_2
===========================================================================
=======================<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
===>  License BSD3CLAUSE accepted by the user
===> Fetching all distfiles required by c3270-4.2_2 for building
===========================================================================
=======================<phase: checksum       >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>  License BSD3CLAUSE accepted by the user
===> Fetching all distfiles required by c3270-4.2_2 for building
=> SHA256 Checksum OK for suite3270-4.2ga10-src.tgz.
===========================================================================
=======================<phase: extract-depends>============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===========================================================================
=======================<phase: extract        >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>  License BSD3CLAUSE accepted by the user
===> Fetching all distfiles required by c3270-4.2_2 for building
===>  Extracting for c3270-4.2_2
=> SHA256 Checksum OK for suite3270-4.2ga10-src.tgz.
===========================================================================
=======================<phase: patch-depends  >============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===========================================================================
=======================<phase: patch          >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>  Patching for c3270-4.2_2
===========================================================================
=======================<phase: build-depends  >============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===>   c3270-4.2_2 depends on executable: tclsh - not found
===>   Installing existing package /packages/All/tcl-wrapper-1.1_3.pkg
[main-arm64-default-job-05] Installing tcl-wrapper-1.1_3...
[main-arm64-default-job-05] `-- Installing tcl86-8.6.13_1...
[main-arm64-default-job-05] `-- Extracting tcl86-8.6.13_1: .......... done
[main-arm64-default-job-05] Extracting tcl-wrapper-1.1_3: ..... done
=====
Message from tcl-wrapper-1.1_3:

--
You may wish to modify (or create) the configuration file:
/usr/local/etc/tclsh.conf
<snip>
In file included from ../../../Common/c3270/c3270.c:98:
../../../include/telnet.h:77:27: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes]
   77 | bool net_secure_connection();
      |                           ^
      |                            void
In file included from ../../../Common/c3270/c3270.c:112:
In file included from /usr/local/include/readline/readline.h:36:
/usr/local/include/readline/rltypedefs.h:35:22: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes]
   35 | typedef int Function () __attribute__((deprecated));
      |                      ^
      |                       void
/usr/local/include/readline/rltypedefs.h:36:24: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes]
   36 | typedef void VFunction () __attribute__((deprecated));
      |                        ^
      |                         void
/usr/local/include/readline/rltypedefs.h:37:26: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes]
   37 | typedef char *CPFunction () __attribute__((deprecated));
      |                          ^
      |                           void
/usr/local/include/readline/rltypedefs.h:38:28: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes]
   38 | typedef char **CPPFunction () __attribute__((deprecated));
      |                            ^
      |                             void
In file included from ../../../Common/c3270/c3270.c:112:
/usr/local/include/readline/readline.h:410:23: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes]
  410 | extern int rl_message ();
      |                       ^
      |                        void
1 warning generated.
../../../Common/c3270/c3270.c:154:35: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes]
  154 | static char **attempted_completion();
      |                                   ^
      |                                    void
cc -Wall -Wsign-compare -std=c99 -pedantic -Wno-variadic-macros -MMD -MP  -I../../../b3270 -I../../../include -I../../../Common/b3270 -DLIBX3270DIR=\"/usr/local/etc/x3270\" -DLIBICONV_PLUG -I/usr/local/include -O2 -pipe  -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing  -DLIBICONV_PLUG -I/usr/local/include  -c -o b3270.o ../../../Common/b3270/b3270.c
../../../Common/c3270/c3270.c:154:15: 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]
  154 | static char **attempted_completion();
      |               ^
../../../Common/c3270/c3270.c:1507:1: note: conflicting prototype is here
 1507 | attempted_completion(const char *text, int start, int end)
      | ^
4 warnings generated.
cc -Wall -Wsign-compare -std=c99 -pedantic -Wno-variadic-macros -MMD -MP  -I../../../s3270 -I../../../include -I../../../Common/s3270 -DLIBX3270DIR=\"/usr/local/etc/x3270\" -DLIBICONV_PLUG -I/usr/local/include -O2 -pipe  -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing  -L/usr/local/lib  -fstack-protector-strong  -o mkfb ../../../Common/mkfb.c
In file included from ../../../Common/b3270/b3270.c:68:
../../../include/idle.h:42:23: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes]
   42 | char *get_idle_command();
      |                       ^
      |                        void
../../../include/idle.h:43:23: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes]
   43 | char *get_idle_timeout();
      |                       ^
      |                        void
In file included from ../../../Common/b3270/b3270.c:71:
../../../include/lazya.h:36:17: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes]
   36 | void lazya_flush();
      |                 ^
      |                  void
In file included from ../../../Common/b3270/b3270.c:80:
../../../include/pr3287_session.h:37:30: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes]
   37 | const char *pr3287_session_lu();
      |                              ^
      |                               void
In file included from ../../../Common/b3270/b3270.c:90:
../../../include/sio.h:59:35: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes]
   59 | unsigned sio_all_options_supported();
      |                                   ^
      |                                    void
In file included from ../../../Common/b3270/b3270.c:97:
../../../include/telnet.h:77:27: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes]
   77 | bool net_secure_connection();
      |                           ^
      |                            void
6 warnings generated.
cc -Wall -Wsign-compare -std=c99 -pedantic -Wno-variadic-macros -MMD -MP  -I../../../b3270 -I../../../include -I../../../Common/b3270 -DLIBX3270DIR=\"/usr/local/etc/x3270\" -DLIBICONV_PLUG -I/usr/local/include -O2 -pipe  -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing  -DLIBICONV_PLUG -I/usr/local/include  -c -o ft.o ../../../Common/b3270/ft.c
In file included from ../../../Common/b3270/ft.c:42:
../../../include/lazya.h:36:17: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes]
   36 | void lazya_flush();
      |                 ^
      |                  void
12 warnings generated.
cc -Wall -Wsign-compare -std=c99 -pedantic -Wno-variadic-macros -MMD -MP  -I. -I../../../c3270 -I../../../Common/c3270 -I../../../Common -I../../../include -DLIBX3270DIR=\"/usr/local/etc/x3270\" -DLIBICONV_PLUG -I/usr/local/include -D_XOPEN_SOURCE_EXTENDED -O2 -pipe  -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing  -DLIBICONV_PLUG -I/usr/local/include  -c -o ft_gui.o ../../../Common/c3270/ft_gui.c
1 warning generated.
cc -Wall -Wsign-compare -std=c99 -pedantic -Wno-variadic-macros -MMD -MP  -I../../../b3270 -I../../../include -I../../../Common/b3270 -DLIBX3270DIR=\"/usr/local/etc/x3270\" -DLIBICONV_PLUG -I/usr/local/include -O2 -pipe  -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing  -DLIBICONV_PLUG -I/usr/local/include  -c -o password.o ../../../Common/b3270/password.c
In file included from ../../../Common/b3270/password.c:39:
../../../include/lazya.h:36:17: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes]
   36 | void lazya_flush();
      |                 ^
      |                  void
In file included from ../../../Common/b3270/password.c:41:
../../../include/telnet.h:77:27: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes]
   77 | bool net_secure_connection();
      |                           ^
      |                            void
cc -Wall -Wsign-compare -std=c99 -pedantic -Wno-variadic-macros -MMD -MP  -I. -I../../../c3270 -I../../../Common/c3270 -I../../../Common -I../../../include -DLIBX3270DIR=\"/usr/local/etc/x3270\" -DLIBICONV_PLUG -I/usr/local/include -D_XOPEN_SOURCE_EXTENDED -O2 -pipe  -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing  -DLIBICONV_PLUG -I/usr/local/include  -c -o help.o ../../../Common/c3270/help.c
2 warnings generated.
cp -p ../x3270if/x3270if x3270if
rm -f fallbacks.c
cc -Wall -Wsign-compare -std=c99 -pedantic -Wno-variadic-macros -MMD -MP  -I../../../b3270 -I../../../include -I../../../Common/b3270 -DLIBX3270DIR=\"/usr/local/etc/x3270\" -DLIBICONV_PLUG -I/usr/local/include -O2 -pipe  -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing  -DLIBICONV_PLUG -I/usr/local/include  -c -o popups.o ../../../Common/b3270/popups.c
./mkfb -c -o fallbacks.c ../../../Common/fb-common ../../../Common/fb-printSession
cc -Wall -Wsign-compare -std=c99 -pedantic -Wno-variadic-macros -MMD -MP  -I../../../s3270 -I../../../include -I../../../Common/s3270 -DLIBX3270DIR=\"/usr/local/etc/x3270\" -DLIBICONV_PLUG -I/usr/local/include -O2 -pipe  -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing  -DLIBICONV_PLUG -I/usr/local/include  -c -o fallbacks.o fallbacks.c
In file included from ../../../Common/b3270/popups.c:41:
../../../include/lazya.h:36:17: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes]
   36 | void lazya_flush();
      |                 ^
      |                  void
rm -f xversion.c
sh ../../../Common/mkversion.sh s3270 ../../../Common/version.txt >xversion.c
cc -Wall -Wsign-compare -std=c99 -pedantic -Wno-variadic-macros -MMD -MP  -I../../../s3270 -I../../../include -I../../../Common/s3270 -DLIBX3270DIR=\"/usr/local/etc/x3270\" -DLIBICONV_PLUG -I/usr/local/include -O2 -pipe  -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing  -c -o version.o xversion.c
1 warning generated.
rm -f xversion.c
cc -Wall -Wsign-compare -std=c99 -pedantic -Wno-variadic-macros -MMD -MP  -I../../../b3270 -I../../../include -I../../../Common/b3270 -DLIBX3270DIR=\"/usr/local/etc/x3270\" -DLIBICONV_PLUG -I/usr/local/include -O2 -pipe  -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing  -DLIBICONV_PLUG -I/usr/local/include  -c -o screen.o ../../../Common/b3270/screen.c
cc -o s3270 s3270.o fallbacks.o version.o -L/usr/local/lib  -fstack-protector-strong  -L../../../obj/aarch64-portbld-freebsd15.0/lib3270 -l3270 -L../../../obj/aarch64-portbld-freebsd15.0/lib32xx -l32xx -lssl -lcrypto   -L../../../obj/aarch64-portbld-freebsd15.0/lib3270stubs -l3270stubs -lutil 
cc -Wall -Wsign-compare -std=c99 -pedantic -Wno-variadic-macros -MMD -MP  -I. -I../../../c3270 -I../../../Common/c3270 -I../../../Common -I../../../include -DLIBX3270DIR=\"/usr/local/etc/x3270\" -DLIBICONV_PLUG -I/usr/local/include -D_XOPEN_SOURCE_EXTENDED -O2 -pipe  -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing  -DLIBICONV_PLUG -I/usr/local/include  -c -o keymap.o ../../../Common/c3270/keymap.c
In file included from ../../../Common/b3270/screen.c:42:
../../../include/lazya.h:36:17: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes]
   36 | void lazya_flush();
      |                 ^
      |                  void
In file included from ../../../Common/c3270/keymap.c:43:
../../../include/lazya.h:36:17: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes]
   36 | void lazya_flush();
      |                 ^
      |                  void
../../../Common/c3270/keymap.c:114:1: error: static declaration of 'kcmp' follows non-static declaration
  114 | kcmp(k_t *a, k_t *b)
      | ^
/usr/include/unistd.h:522:6: note: previous declaration is here
  522 | int      kcmp(pid_t pid1, pid_t pid2, int type, uintptr_t idx1, uintptr_t idx2);
      |          ^
../../../Common/c3270/keymap.c:142:28: error: too few arguments to function call, expected 5, have 2
  142 |                 if (kcmp(&a[i], &b[i]))
      |                     ~~~~             ^
/usr/include/unistd.h:522:6: note: 'kcmp' declared here
  522 | int      kcmp(pid_t pid1, pid_t pid2, int type, uintptr_t idx1, uintptr_t idx2);
      |          ^    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../../Common/c3270/keymap.c:676:35: error: too few arguments to function call, expected 5, have 2
  676 |             if (!kcmp(&code, &k->codes[0])) {
      |                  ~~~~                    ^
/usr/include/unistd.h:522:6: note: 'kcmp' declared here
  522 | int      kcmp(pid_t pid1, pid_t pid2, int type, uintptr_t idx1, uintptr_t idx2);
      |          ^    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../../Common/c3270/keymap.c:696:53: error: too few arguments to function call, expected 5, have 2
  696 |     if (!kcmp(&code, &current_match->codes[consumed])) {
      |          ~~~~                                       ^
/usr/include/unistd.h:522:6: note: 'kcmp' declared here
  522 | int      kcmp(pid_t pid1, pid_t pid2, int type, uintptr_t idx1, uintptr_t idx2);
      |          ^    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../../../Common/c3270/keymap.c:724:35: error: too few arguments to function call, expected 5, have 2
  724 |                 !kcmp(&k->codes[consumed], &code)) {
      |                  ~~~~                           ^
/usr/include/unistd.h:522:6: note: 'kcmp' declared here
  522 | int      kcmp(pid_t pid1, pid_t pid2, int type, uintptr_t idx1, uintptr_t idx2);
      |          ^    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gmake[3]: Leaving directory '/wrkdirs/usr/ports/net/c3270/work/suite3270-4.2/obj/aarch64-portbld-freebsd15.0/s3270'
gmake[2]: Leaving directory '/wrkdirs/usr/ports/net/c3270/work/suite3270-4.2/s3270'
cc -Wall -Wsign-compare -std=c99 -pedantic -Wno-variadic-macros -MMD -MP  -I../../../b3270 -I../../../include -I../../../Common/b3270 -DLIBX3270DIR=\"/usr/local/etc/x3270\" -DLIBICONV_PLUG -I/usr/local/include -O2 -pipe  -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing  -DLIBICONV_PLUG -I/usr/local/include  -c -o status.o ../../../Common/b3270/status.c
1 warning and 5 errors generated.
gmake[3]: *** [<builtin>: keymap.o] Error 1
gmake[3]: Leaving directory '/wrkdirs/usr/ports/net/c3270/work/suite3270-4.2/obj/aarch64-portbld-freebsd15.0/c3270'
gmake[2]: *** [Makefile:39: all] Error 2
gmake[2]: Leaving directory '/wrkdirs/usr/ports/net/c3270/work/suite3270-4.2/c3270'
gmake[1]: *** [Makefile:148: c3270] Error 2
cc -Wall -Wsign-compare -std=c99 -pedantic -Wno-variadic-macros -MMD -MP  -I../../../b3270 -I../../../include -I../../../Common/b3270 -DLIBX3270DIR=\"/usr/local/etc/x3270\" -DLIBICONV_PLUG -I/usr/local/include -O2 -pipe  -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing  -DLIBICONV_PLUG -I/usr/local/include  -c -o ui_stream.o ../../../Common/b3270/ui_stream.c
gmake[1]: *** Waiting for unfinished jobs....
In file included from ../../../Common/b3270/status.c:39:
../../../include/lazya.h:36:17: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes]
   36 | void lazya_flush();
      |                 ^
      |                  void
1 warning generated.
cc -Wall -Wsign-compare -std=c99 -pedantic -Wno-variadic-macros -MMD -MP  -I../../../b3270 -I../../../include -I../../../Common/b3270 -DLIBX3270DIR=\"/usr/local/etc/x3270\" -DLIBICONV_PLUG -I/usr/local/include -O2 -pipe  -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing  -L/usr/local/lib  -fstack-protector-strong  -o mkfb ../../../Common/mkfb.c
In file included from ../../../Common/b3270/ui_stream.c:56:
../../../include/lazya.h:36:17: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes]
   36 | void lazya_flush();
      |                 ^
      |                  void
../../../Common/b3270/ui_stream.c:1705:11: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes]
 1705 | ui_io_init()
      |           ^
      |            void
1 warning generated.
cp -p ../x3270if/x3270if x3270if
rm -f fallbacks.c
./mkfb -c -o fallbacks.c ../../../Common/fb-common ../../../Common/fb-printSession
cc -Wall -Wsign-compare -std=c99 -pedantic -Wno-variadic-macros -MMD -MP  -I../../../b3270 -I../../../include -I../../../Common/b3270 -DLIBX3270DIR=\"/usr/local/etc/x3270\" -DLIBICONV_PLUG -I/usr/local/include -O2 -pipe  -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing  -DLIBICONV_PLUG -I/usr/local/include  -c -o fallbacks.o fallbacks.c
2 warnings generated.
rm -f xversion.c
sh ../../../Common/mkversion.sh b3270 ../../../Common/version.txt >xversion.c
cc -Wall -Wsign-compare -std=c99 -pedantic -Wno-variadic-macros -MMD -MP  -I../../../b3270 -I../../../include -I../../../Common/b3270 -DLIBX3270DIR=\"/usr/local/etc/x3270\" -DLIBICONV_PLUG -I/usr/local/include -O2 -pipe  -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing  -c -o version.o xversion.c
rm -f xversion.c
cc -o b3270 async.o b3270.o ft.o password.o popups.o screen.o status.o ui_stream.o fallbacks.o  version.o -L/usr/local/lib  -fstack-protector-strong  -L../../../obj/aarch64-portbld-freebsd15.0/lib3270 -l3270 -L../../../obj/aarch64-portbld-freebsd15.0/lib3270i -l3270i -L../../../obj/aarch64-portbld-freebsd15.0/lib32xx -l32xx -lssl -lcrypto   -L../../../obj/aarch64-portbld-freebsd15.0/lib3270stubs -l3270stubs -lexpat -lutil 
gmake[3]: Leaving directory '/wrkdirs/usr/ports/net/c3270/work/suite3270-4.2/obj/aarch64-portbld-freebsd15.0/b3270'
gmake[2]: Leaving directory '/wrkdirs/usr/ports/net/c3270/work/suite3270-4.2/b3270'
gmake[1]: Leaving directory '/wrkdirs/usr/ports/net/c3270/work/suite3270-4.2'
===> 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/net/c3270