[package - main-armv6-default][net/tn5250] Failed for tn5250-0.17.4_1 in build

From: <pkg-fallout_at_FreeBSD.org>
Date: Tue, 21 Mar 2023 06:13:16 UTC
You are receiving this mail as a port that you maintain
is failing to build on the FreeBSD package build server.
Please investigate the failure and submit a PR to fix
build.

Maintainer:     ports@FreeBSD.org
Log URL:        https://pkg-status.freebsd.org/beefy8/data/main-armv6-default/p0762117e7f99_s9432e798fc/logs/tn5250-0.17.4_1.log
Build URL:      https://pkg-status.freebsd.org/beefy8/build.html?mastername=main-armv6-default&build=p0762117e7f99_s9432e798fc
Log:

=>> Building net/tn5250
build started at Tue Mar 21 06:12:42 UTC 2023
port directory: /usr/ports/net/tn5250
package name: tn5250-0.17.4_1
building for: FreeBSD main-armv6-default-job-11 14.0-CURRENT FreeBSD 14.0-CURRENT 1400083 arm
maintained by: ports@FreeBSD.org
Makefile ident: 
Poudriere version: 3.2.8-23-ga7f8d188
Host OSVERSION: 1400078
Jail OSVERSION: 1400083
Job Id: 11




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



---Begin Environment---
SHELL=/bin/sh
UNAME_p=armv6
UNAME_m=arm
ABI_FILE=/usr/lib/crt1.o
OSVERSION=1400083
UNAME_v=FreeBSD 14.0-CURRENT 1400083
UNAME_r=14.0-CURRENT
BLOCKSIZE=K
MAIL=/var/mail/root
MM_CHARSET=UTF-8
LANG=C.UTF-8
STATUS=1
HOME=/root
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin
LOCALBASE=/usr/local
QEMU_EMULATING=1
USER=root
LIBEXECPREFIX=/usr/local/libexec/poudriere
POUDRIERE_VERSION=3.2.8-23-ga7f8d188
MASTERMNT=/usr/local/poudriere/data/.m/main-armv6-default/ref
POUDRIERE_BUILD_TYPE=bulk
PACKAGE_BUILDING=yes
SAVED_TERM=
PWD=/usr/local/poudriere/data/.m/main-armv6-default/ref/.p/pool
P_PORTS_FEATURES=FLAVORS SELECTED_OPTIONS
MASTERNAME=main-armv6-default
SCRIPTPREFIX=/usr/local/share/poudriere
OLDPWD=/usr/local/poudriere/data/.m/main-armv6-default/ref/.p
SCRIPTPATH=/usr/local/share/poudriere/bulk.sh
POUDRIEREPATH=/usr/local/bin/poudriere
---End Environment---

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

---Begin OPTIONS List---
---End OPTIONS List---

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

--CONFIGURE_ARGS--
--enable-os-dir=no --with-ssl=/usr --prefix=/usr/local ${_LATE_CONFIGURE_ARGS}
--End CONFIGURE_ARGS--

--CONFIGURE_ENV--
XDG_DATA_HOME=/wrkdirs/usr/ports/net/tn5250/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/net/tn5250/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/net/tn5250/work/.cache  HOME=/wrkdirs/usr/ports/net/tn5250/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/net/tn5250/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/net/tn5250/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/tn5250/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/net/tn5250/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/net/tn5250/work/.cache  HOME=/wrkdirs/usr/ports/net/tn5250/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/net/tn5250/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/net/tn5250/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES PREFIX=/usr/local  LOCALBASE=/usr/local  CC="/nxb-bin/usr/bin/cc" CFLAGS="-O2 -pipe  -fstack-protector-strong -fno-strict-aliasing "  CPP="/nxb-bin/usr/bin/cpp" CPPFLAGS=""  LDFLAGS="  -fstack-protector-strong " LIBS=""  CXX="/nxb-bin/usr/bin/c++" CXXFLAGS="-O2 -pipe -fstack-protector-strong -fno-strict-aliasing  "  MANPREFIX="/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--
OSREL=14.0 PREFIX=%D LOCALBASE=/usr/local  RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/tn5250"  EXAMPLESDIR="share/examples/tn5250"  DATADIR="share/tn5250"  WWWDIR="www/tn5250"  ETCDIR="etc/tn5250"
--End PLIST_SUB--

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

---Begin make.conf---
.sinclude "/etc/make.nxb.conf"
USE_PACKAGE_DEPENDS=yes
BATCH=yes
WRKDIRPREFIX=/wrkdirs
PORTSDIR=/usr/ports
PACKAGES=/packages
DISTDIR=/distfiles
PACKAGE_BUILDING=yes
PACKAGE_BUILDING_FLAVORS=yes
MACHINE=arm
MACHINE_ARCH=armv6
ARCH=${MACHINE_ARCH}
#### /usr/local/etc/poudriere.d/make.conf ####
# XXX: We really need this but cannot use it while 'make checksum' does not
# try the next mirror on checksum failure.  It currently retries the same
# failed mirror and then fails rather then trying another.  It *does*
# try the next if the size is mismatched though.
#MASTER_SITE_FREEBSD=yes
# Build ALLOW_MAKE_JOBS_PACKAGES with 2 jobs
MAKE_JOBS_NUMBER=2
#### /usr/ports/Mk/Scripts/ports_env.sh ####
_CCVERSION_9d218390=FreeBSD clang version 15.0.7 (https://github.com/llvm/llvm-project.git llvmorg-15.0.7-0-g8dfdcc7b7bf6) Target: armv6-unknown-freebsd14.0-gnueabihf Thread model: posix InstalledDir: /nxb-bin/usr/bin
_ALTCCVERSION_9d218390=none
_CXXINTERNAL_9c45a5b1=FreeBSD clang version 15.0.7 (https://github.com/llvm/llvm-project.git llvmorg-15.0.7-0-g8dfdcc7b7bf6) Target: armv6-unknown-freebsd14.0-gnueabihf Thread model: posix InstalledDir: /nxb-bin/usr/bin "/nxb-bin/usr/bin/ld" "--eh-frame-hdr" "-dynamic-linker" "/libexec/ld-elf.so.1" "--hash-style=both" "--enable-new-dtags" "-o" "a.out" "/usr/lib/crt1.o" "/usr/lib/crti.o" "/usr/lib/crtbegin.o" "-L/usr/lib" "/dev/null" "-lc++" "-lm" "-lgcc" "--as-needed" "-lgcc_s" "--no-as-needed" "-lc" "-lgcc" "--as-needed" "-lgcc_s" "--no-as-needed" "/usr/lib/crtend.o" "/usr/lib/crtn.o"
CC_OUTPUT_9d218390_58173849=yes
CC_OUTPUT_9d218390_9bdba57c=yes
CC_OUTPUT_9d218390_6a4fe7f5=yes
CC_OUTPUT_9d218390_6bcac02b=yes
CC_OUTPUT_9d218390_67d20829=yes
CC_OUTPUT_9d218390_bfa62e83=yes
CC_OUTPUT_9d218390_f0b4d593=yes
CC_OUTPUT_9d218390_308abb44=yes
CC_OUTPUT_9d218390_f00456e5=yes
CC_OUTPUT_9d218390_65ad290d=yes
CC_OUTPUT_9d218390_f2776b26=yes
CC_OUTPUT_9d218390_53255a77=yes
CC_OUTPUT_9d218390_911cfe02=yes
CC_OUTPUT_9d218390_b2657cc3=yes
CC_OUTPUT_9d218390_380987f7=yes
CC_OUTPUT_9d218390_160933ec=yes
CC_OUTPUT_9d218390_fb62803b=yes
CC_OUTPUT_9d218390_af59ad06=yes
CC_OUTPUT_9d218390_a15f3fcf=yes
_OBJC_CCVERSION_9d218390=FreeBSD clang version 15.0.7 (https://github.com/llvm/llvm-project.git llvmorg-15.0.7-0-g8dfdcc7b7bf6) Target: armv6-unknown-freebsd14.0-gnueabihf Thread model: posix InstalledDir: /nxb-bin/usr/bin
_OBJC_ALTCCVERSION_9d218390=none
ARCH=armv6
OPSYS=FreeBSD
_OSRELEASE=14.0-CURRENT
OSREL=14.0
OSVERSION=1400083
PYTHONBASE=/usr/local
CONFIGURE_MAX_CMD_LEN=524288
HAVE_PORTS_ENV=1
#### Misc Poudriere ####
GID=0
UID=0
DISABLE_MAKE_JOBS=poudriere
---End make.conf---
---Begin make.nxb.conf---
CC=/nxb-bin/usr/bin/cc
CPP=/nxb-bin/usr/bin/cpp
CXX=/nxb-bin/usr/bin/c++
NM=/nxb-bin/usr/bin/nm
LD=/nxb-bin/usr/bin/ld
OBJCOPY=/nxb-bin/usr/bin/objcopy
SIZE=/nxb-bin/usr/bin/size
STRIPBIN=/nxb-bin/usr/bin/strip
SED=/nxb-bin/usr/bin/sed
RANLIB=/nxb-bin/usr/bin/ranlib
YACC=/nxb-bin/usr/bin/yacc
MAKE=/nxb-bin/usr/bin/make
STRINGS=/nxb-bin/usr/bin/strings
AWK=/nxb-bin/usr/bin/awk
FLEX=/nxb-bin/usr/bin/flex
---End make.nxb.conf---
--Resource limits--
cpu time               (seconds, -t)  unlimited
file size           (512-blocks, -f)  unlimited
data seg size           (kbytes, -d)  33554432
stack size              (kbytes, -s)  524288
core file size      (512-blocks, -c)  unlimited
max memory size         (kbytes, -m)  unlimited
locked memory           (kbytes, -l)  unlimited
max user processes              (-u)  89999
open files                      (-n)  1024
virtual mem size        (kbytes, -v)  unlimited
swap limit              (kbytes, -w)  unlimited
socket buffer size       (bytes, -b)  unlimited
pseudo-terminals                (-p)  unlimited
kqueues                         (-k)  unlimited
umtx shared locks               (-o)  unlimited
--End resource limits--
=======================<phase: check-sanity   >============================
===>   NOTICE:

The tn5250 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

===========================================================================
=======================<phase: pkg-depends    >============================
===>   tn5250-0.17.4_1 depends on file: /usr/local/sbin/pkg - not found
<snip>
utility.c:61:14: note: use '==' to turn this assignment into an equality comparison
  while( pid = waitpid(-1, &status, WNOHANG) > 0);
             ^
             ==
utility.c:114:5: warning: call to undeclared function 'umask'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
    umask(0);
    ^
utility.c:270:33: warning: assigning to 'const unsigned char *' from 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
               t->to_remote_map = (const char *)mapfix;
                                ^ ~~~~~~~~~~~~~~~~~~~~
utility.c:271:32: warning: assigning to 'const unsigned char *' from 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
               t->to_local_map = (const char *)mapfix2;
                               ^ ~~~~~~~~~~~~~~~~~~~~~
utility.c:275:33: warning: assigning to 'const unsigned char *' from 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
               t->to_remote_map = (const char *)mapfix3;
                                ^ ~~~~~~~~~~~~~~~~~~~~~
utility.c:276:32: warning: assigning to 'const unsigned char *' from 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
               t->to_local_map = (const char *)mapfix4;
                               ^ ~~~~~~~~~~~~~~~~~~~~~
utility.c:391:4: warning: call to undeclared function 'fchmod'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
   fchmod(fileno(tn5250_logfile), 0600);
   ^
7 warnings generated.
 /nxb-bin/usr/bin/cc -DHAVE_CONFIG_H -I. -I. -I.. -DSYSCONFDIR=\"/usr/local/etc\" -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -MT utility.lo -MD -MP -MF .deps/utility.Tpo -c utility.c -o utility.o >/dev/null 2>&1
if /bin/sh ../libtool --tag=CC --mode=compile /nxb-bin/usr/bin/cc -DHAVE_CONFIG_H  -I. -I. -I.. -DSYSCONFDIR=\"/usr/local/etc\"     -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing -MT version.lo -MD -MP -MF ".deps/version.Tpo" -c -o version.lo version.c;  then mv -f ".deps/version.Tpo" ".deps/version.Plo"; else rm -f ".deps/version.Tpo"; exit 1; fi
 /nxb-bin/usr/bin/cc -DHAVE_CONFIG_H -I. -I. -I.. -DSYSCONFDIR=\"/usr/local/etc\" -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -MT version.lo -MD -MP -MF .deps/version.Tpo -c version.c  -fPIC -DPIC -o .libs/version.o
 /nxb-bin/usr/bin/cc -DHAVE_CONFIG_H -I. -I. -I.. -DSYSCONFDIR=\"/usr/local/etc\" -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -MT version.lo -MD -MP -MF .deps/version.Tpo -c version.c -o version.o >/dev/null 2>&1
if /bin/sh ../libtool --tag=CC --mode=compile /nxb-bin/usr/bin/cc -DHAVE_CONFIG_H  -I. -I. -I.. -DSYSCONFDIR=\"/usr/local/etc\"     -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing -MT window.lo -MD -MP -MF ".deps/window.Tpo" -c -o window.lo window.c;  then mv -f ".deps/window.Tpo" ".deps/window.Plo"; else rm -f ".deps/window.Tpo"; exit 1; fi
 /nxb-bin/usr/bin/cc -DHAVE_CONFIG_H -I. -I. -I.. -DSYSCONFDIR=\"/usr/local/etc\" -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -MT window.lo -MD -MP -MF .deps/window.Tpo -c window.c  -fPIC -DPIC -o .libs/window.o
 /nxb-bin/usr/bin/cc -DHAVE_CONFIG_H -I. -I. -I.. -DSYSCONFDIR=\"/usr/local/etc\" -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -MT window.lo -MD -MP -MF .deps/window.Tpo -c window.c -o window.o >/dev/null 2>&1
if /bin/sh ../libtool --tag=CC --mode=compile /nxb-bin/usr/bin/cc -DHAVE_CONFIG_H  -I. -I. -I.. -DSYSCONFDIR=\"/usr/local/etc\"     -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing -MT wtd.lo -MD -MP -MF ".deps/wtd.Tpo" -c -o wtd.lo wtd.c;  then mv -f ".deps/wtd.Tpo" ".deps/wtd.Plo"; else rm -f ".deps/wtd.Tpo"; exit 1; fi
 /nxb-bin/usr/bin/cc -DHAVE_CONFIG_H -I. -I. -I.. -DSYSCONFDIR=\"/usr/local/etc\" -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -MT wtd.lo -MD -MP -MF .deps/wtd.Tpo -c wtd.c  -fPIC -DPIC -o .libs/wtd.o
wtd.c:551:47: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
      minorlength = minorlength + 6 + strlen (iter->text);
                                              ^~~~~~~~~~
/usr/include/string.h:101:28: note: passing argument to parameter here
size_t   strlen(const char *) __pure;
                            ^
wtd.c:613:33: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
      minorlength = 6 + strlen (iter->text);
                                ^~~~~~~~~~
/usr/include/string.h:101:28: note: passing argument to parameter here
size_t   strlen(const char *) __pure;
                            ^
wtd.c:621:31: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
      for (i = 0; i < strlen (iter->text); i++)
                              ^~~~~~~~~~
/usr/include/string.h:101:28: note: passing argument to parameter here
size_t   strlen(const char *) __pure;
                            ^
3 warnings generated.
 /nxb-bin/usr/bin/cc -DHAVE_CONFIG_H -I. -I. -I.. -DSYSCONFDIR=\"/usr/local/etc\" -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -MT wtd.lo -MD -MP -MF .deps/wtd.Tpo -c wtd.c -o wtd.o >/dev/null 2>&1
/bin/sh ../libtool --tag=CC --mode=link /nxb-bin/usr/bin/cc  -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing   -fstack-protector-strong -o lib5250.la -rpath /usr/local/lib  buffer.lo conf.lo dbuffer.lo debug.lo  display.lo field.lo macro.lo menu.lo printsession.lo record.lo  scrollbar.lo scs.lo session.lo sslstream.lo stream.lo  telnetstr.lo terminal.lo utility.lo version.lo window.lo  wtd.lo  
/nxb-bin/usr/bin/cc -shared  .libs/buffer.o .libs/conf.o .libs/dbuffer.o .libs/debug.o .libs/display.o .libs/field.o .libs/macro.o .libs/menu.o .libs/printsession.o .libs/record.o .libs/scrollbar.o .libs/scs.o .libs/session.o .libs/sslstream.o .libs/stream.o .libs/telnetstr.o .libs/terminal.o .libs/utility.o .libs/version.o .libs/window.o .libs/wtd.o   -fstack-protector-strong -fstack-protector-strong -Wl,-soname -Wl,lib5250.so.0 -o .libs/lib5250.so.0.0.0
(cd .libs && rm -f lib5250.so.0 && ln -s lib5250.so.0.0.0 lib5250.so.0)
(cd .libs && rm -f lib5250.so && ln -s lib5250.so.0.0.0 lib5250.so)
ar cru .libs/lib5250.a  buffer.o conf.o dbuffer.o debug.o display.o field.o macro.o menu.o printsession.o record.o scrollbar.o scs.o session.o sslstream.o stream.o telnetstr.o terminal.o utility.o version.o window.o wtd.o
ranlib .libs/lib5250.a
creating lib5250.la
(cd .libs && rm -f lib5250.la && ln -s ../lib5250.la lib5250.la)
Making all in lp5250d
if /nxb-bin/usr/bin/cc -DHAVE_CONFIG_H -I. -I. -I.. -DSYSCONFDIR=\"/usr/local/etc\" -I../lib5250     -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing -MT scs2ascii.o -MD -MP -MF ".deps/scs2ascii.Tpo" -c -o scs2ascii.o scs2ascii.c;  then mv -f ".deps/scs2ascii.Tpo" ".deps/scs2ascii.Po"; else rm -f ".deps/scs2ascii.Tpo"; exit 1; fi
scs2ascii.c:70:3: warning: call to undeclared function 'scs_main'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
  scs_main (scs);
  ^
scs2ascii.c:142:3: warning: call to undeclared function 'scs_ff'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
  scs_ff (This);
  ^
scs2ascii.c:156:3: warning: call to undeclared function 'scs_nl'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
  scs_nl (This);
  ^
3 warnings generated.
/bin/sh ../libtool --tag=CC --mode=link /nxb-bin/usr/bin/cc  -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing   -fstack-protector-strong -o scs2ascii  scs2ascii.o ../lib5250/lib5250.la 
mkdir .libs
/nxb-bin/usr/bin/cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -fstack-protector-strong -o .libs/scs2ascii scs2ascii.o  ../lib5250/.libs/lib5250.so  -Wl,--rpath -Wl,/usr/local/lib
creating scs2ascii
if /nxb-bin/usr/bin/cc -DHAVE_CONFIG_H -I. -I. -I.. -DSYSCONFDIR=\"/usr/local/etc\" -I../lib5250     -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing -MT scs2pdf.o -MD -MP -MF ".deps/scs2pdf.Tpo" -c -o scs2pdf.o scs2pdf.c;  then mv -f ".deps/scs2pdf.Tpo" ".deps/scs2pdf.Po"; else rm -f ".deps/scs2pdf.Tpo"; exit 1; fi
scs2pdf.c:385:3: warning: call to undeclared function 'scs_main'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
  scs_main (scs);
  ^
scs2pdf.c:619:3: warning: call to undeclared function 'scs_process2b'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
  scs_process2b (This);
  ^
scs2pdf.c:658:3: warning: call to undeclared function 'scs_nl'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
  scs_nl (This);
  ^
scs2pdf.c:689:3: warning: call to undeclared function 'scs_ff'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
  scs_ff (This);
  ^
scs2pdf.c:715:2: warning: call to undeclared function 'scs_rdpp'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
        scs_rdpp (This);
        ^
scs2pdf.c:720:2: warning: call to undeclared function 'scs_avpp'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
        scs_avpp (This);
        ^
scs2pdf.c:730:2: warning: call to undeclared function 'scs_rrpp'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
        scs_rrpp (This);
        ^
scs2pdf.c:853:3: warning: call to undeclared function 'scs_cr'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
  scs_cr (This);
  ^
scs2pdf.c:881:3: warning: call to undeclared function 'scs_ssld'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
  scs_ssld (This);
  ^
scs2pdf.c:894:3: warning: call to undeclared function 'scs_sld'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
  scs_sld (This);
  ^
scs2pdf.c:1046:17: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat]
           "stream\n", This->data->objcount, This->data->objcount + 1);
                       ^~~~~~~~~~~~~~~~~~~~
scs2pdf.c:1046:39: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat]
           "stream\n", This->data->objcount, This->data->objcount + 1);
                                             ^~~~~~~~~~~~~~~~~~~~~~~~
12 warnings generated.
/bin/sh ../libtool --tag=CC --mode=link /nxb-bin/usr/bin/cc  -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing   -fstack-protector-strong -o scs2pdf  scs2pdf.o ../lib5250/lib5250.la 
/nxb-bin/usr/bin/cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -fstack-protector-strong -o .libs/scs2pdf scs2pdf.o  ../lib5250/.libs/lib5250.so  -Wl,--rpath -Wl,/usr/local/lib
creating scs2pdf
if /nxb-bin/usr/bin/cc -DHAVE_CONFIG_H -I. -I. -I.. -DSYSCONFDIR=\"/usr/local/etc\" -I../lib5250     -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing -MT scs2ps.o -MD -MP -MF ".deps/scs2ps.Tpo" -c -o scs2ps.o scs2ps.c;  then mv -f ".deps/scs2ps.Tpo" ".deps/scs2ps.Po"; else rm -f ".deps/scs2ps.Tpo"; exit 1; fi
scs2ps.c:133:3: warning: call to undeclared function 'scs_main'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
  scs_main (scs);
  ^
scs2ps.c:322:2: warning: call to undeclared function 'scs_avpp'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
        scs_avpp (NULL);
        ^
2 warnings generated.
/bin/sh ../libtool --tag=CC --mode=link /nxb-bin/usr/bin/cc  -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing   -fstack-protector-strong -o scs2ps  scs2ps.o ../lib5250/lib5250.la 
/nxb-bin/usr/bin/cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -fstack-protector-strong -o .libs/scs2ps scs2ps.o  ../lib5250/.libs/lib5250.so  -Wl,--rpath -Wl,/usr/local/lib
creating scs2ps
if /nxb-bin/usr/bin/cc -DHAVE_CONFIG_H -I. -I. -I.. -DSYSCONFDIR=\"/usr/local/etc\" -I../lib5250     -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing -MT lp5250d.o -MD -MP -MF ".deps/lp5250d.Tpo" -c -o lp5250d.o lp5250d.c;  then mv -f ".deps/lp5250d.Tpo" ".deps/lp5250d.Po"; else rm -f ".deps/lp5250d.Tpo"; exit 1; fi
/bin/sh ../libtool --tag=CC --mode=link /nxb-bin/usr/bin/cc  -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing   -fstack-protector-strong -o lp5250d  lp5250d.o ../lib5250/lib5250.la 
/nxb-bin/usr/bin/cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -fstack-protector-strong -o .libs/lp5250d lp5250d.o  ../lib5250/.libs/lib5250.so  -Wl,--rpath -Wl,/usr/local/lib
creating lp5250d
Making all in curses
if /nxb-bin/usr/bin/cc -DHAVE_CONFIG_H -I. -I. -I.. -DSYSCONFDIR=\"/usr/local/etc\" -I../lib5250   -DUSE_CURSES  -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing -MT tn5250-cursesterm.o -MD -MP -MF ".deps/tn5250-cursesterm.Tpo" -c -o tn5250-cursesterm.o `test -f 'cursesterm.c' || echo './'`cursesterm.c;  then mv -f ".deps/tn5250-cursesterm.Tpo" ".deps/tn5250-cursesterm.Po"; else rm -f ".deps/tn5250-cursesterm.Tpo"; exit 1; fi
cursesterm.c:328:32: warning: call to undeclared function 'tgetstr'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
   if ((str = (unsigned char *)tgetstr ("ks", NULL)) != NULL)
                               ^
cursesterm.c:328:13: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
   if ((str = (unsigned char *)tgetstr ("ks", NULL)) != NULL)
            ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cursesterm.c:329:7: warning: call to undeclared function 'tputs'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
      tputs (str, 1, putchar);
      ^
cursesterm.c:420:16: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
      if ((str = (unsigned char *)tgetstr (curses_caps[i].k_str, NULL)) != NULL) {
               ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cursesterm.c:445:13: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
   if ((str = (unsigned char *)tgetstr ("kD", NULL)) != NULL) {
            ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cursesterm.c:643:28: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
                    printf(This->data->font_132);
                           ^~~~~~~~~~~~~~~~~~~~
cursesterm.c:643:28: note: treat the string as an argument to avoid this
                    printf(This->data->font_132);
                           ^
                           "%s", 
cursesterm.c:645:28: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
                    printf(This->data->font_80);
                           ^~~~~~~~~~~~~~~~~~~
cursesterm.c:645:28: note: treat the string as an argument to avoid this
                    printf(This->data->font_80);
                           ^
                           "%s", 
7 warnings generated.
if /nxb-bin/usr/bin/cc -DHAVE_CONFIG_H -I. -I. -I.. -DSYSCONFDIR=\"/usr/local/etc\" -I../lib5250   -DUSE_CURSES  -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing -MT tn5250-tn5250.o -MD -MP -MF ".deps/tn5250-tn5250.Tpo" -c -o tn5250-tn5250.o `test -f 'tn5250.c' || echo './'`tn5250.c;  then mv -f ".deps/tn5250-tn5250.Tpo" ".deps/tn5250-tn5250.Po"; else rm -f ".deps/tn5250-tn5250.Tpo"; exit 1; fi
tn5250.c:96:11: warning: call to undeclared function 'tn5250_curses_terminal_new'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
   term = tn5250_curses_terminal_new();
          ^
tn5250.c:96:9: error: incompatible integer to pointer conversion assigning to 'Tn5250Terminal *' (aka 'struct _Tn5250Terminal *') from 'int' [-Wint-conversion]
   term = tn5250_curses_terminal_new();
        ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
tn5250.c:98:7: warning: call to undeclared function 'tn5250_curses_terminal_use_underscores'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
      tn5250_curses_terminal_use_underscores(term,
      ^
tn5250.c:103:7: warning: call to undeclared function 'tn5250_curses_terminal_display_ruler'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
      tn5250_curses_terminal_display_ruler(term,
      ^
tn5250.c:109:7: warning: call to undeclared function 'tn5250_curses_terminal_set_xterm_font'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
      tn5250_curses_terminal_set_xterm_font (term,   
      ^
tn5250.c:114:4: warning: call to undeclared function 'tn5250_curses_terminal_load_colorlist'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
   tn5250_curses_terminal_load_colorlist(config);
   ^
5 warnings and 1 error generated.
*** Error code 1

Stop.
make[3]: stopped in /wrkdirs/usr/ports/net/tn5250/work/tn5250-0.17.4/curses
*** Error code 1

Stop.
make[2]: stopped in /wrkdirs/usr/ports/net/tn5250/work/tn5250-0.17.4
*** Error code 1

Stop.
make[1]: stopped in /wrkdirs/usr/ports/net/tn5250/work/tn5250-0.17.4
*** Error code 1

Stop.
make: stopped in /usr/ports/net/tn5250