[package - main-i386-default][shells/bash-static] Failed for bash-static-5.1.8 in build

From: <pkg-fallout_at_FreeBSD.org>
Date: Wed, 06 Oct 2021 19:03:07 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:     ehaupt@FreeBSD.org
Log URL:        http://beefy17.nyi.freebsd.org/data/main-i386-default/p3446f8e94650_sf0a08fa9f5/logs/bash-static-5.1.8.log
Build URL:      http://beefy17.nyi.freebsd.org/build.html?mastername=main-i386-default&build=p3446f8e94650_sf0a08fa9f5
Log:

=>> Building shells/bash-static
build started at Wed Oct  6 19:01:57 UTC 2021
port directory: /usr/ports/shells/bash-static
package name: bash-static-5.1.8
building for: FreeBSD main-i386-default-job-02 14.0-CURRENT FreeBSD 14.0-CURRENT 1400035 i386
maintained by: ehaupt@FreeBSD.org
Makefile ident: 
Poudriere version: 3.2.8-21-g883afb07
Host OSVERSION: 1400008
Jail OSVERSION: 1400035
Job Id: 02




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



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

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

---Begin OPTIONS List---
===> The following configuration options are available for bash-static-5.1.8:
     DOCS=on: Build and/or install documentation
     FDESCFS=off: Enable use of /dev/fd
     HELP=on: Enable builtin help
     NLS=on: Native Language Support
     PORTS_READLINE=on: libreadline from ports instead of bundled one
     SYSBASHRC=off: Enable system-wide rc files
     SYSLOG=off: Syslog logging support
===> Use 'make config' to modify these settings
---End OPTIONS List---

--MAINTAINER--
ehaupt@FreeBSD.org
--End MAINTAINER--

--CONFIGURE_ARGS--
--without-bash-malloc  --disable-rpath  --enable-disabled-builtins  --with-libiconv-prefix=/usr --enable-help-builtin --enable-nls --with-installed-readline --enable-static-link --prefix=/usr/local ${_LATE_CONFIGURE_ARGS}
--End CONFIGURE_ARGS--

--CONFIGURE_ENV--
bash_cv_dev_fd=absent XDG_DATA_HOME=/wrkdirs/usr/ports/shells/bash-static/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/shells/bash-static/work  HOME=/wrkdirs/usr/ports/shells/bash-static/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/shells/bash-static/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin SHELL=/bin/sh CONFIG_SHELL=/bin/sh ADDR2LINE="/usr/local/bin/addr2line" AR="/usr/local/bin/ar" AS="/usr/local/bin/as" CPPFILT="/usr/local/bin/c++filt" GPROF="/usr/local/bin/gprof" LD="/usr/local/bin/ld" NM="/usr/local/bin/nm" OBJCOPY="/usr/local/bin/objcopy" OBJDUMP="/usr/local/bin/objdump" RANLIB="/usr/local/bin/ranlib" READELF="/usr/local/bin/readelf" SIZE="/usr/local/bin/size" STRINGS="/usr/local/bin/strings" CMAKE_PREFIX_PATH="/usr/local" CONFIG_SITE=/usr/ports/Templates/config.site lt_cv_sys_max_cmd_len=524288
--End CONFIGURE_ENV--

--MAKE_ENV--
XDG_DATA_HOME=/wrkdirs/usr/ports/shells/bash-static/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/shells/bash-static/work  HOME=/wrkdirs/usr/ports/shells/bash-static/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/shells/bash-static/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin NO_PIE=yes MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES ADDR2LINE="/usr/local/bin/addr2line" AR="/usr/local/bin/ar" AS="/usr/local/bin/as" CPPFILT="/usr/local/bin/c++filt" GPROF="/usr/local/bin/gprof" LD="/usr/local/bin/ld" NM="/usr/local/bin/nm" OBJCOPY="/usr/local/bin/objcopy" OBJDUMP="/usr/local/bin/objdump" RANLIB="/usr/local/bin/ranlib" READELF="/usr/local/bin/readelf" SIZE="/usr/local/bin/size" STRINGS="/usr/local/bin/strings" PREFIX=/usr/local  LOCALBASE=/usr/local  CC="cc" CFLAGS="-O2 -pipe  -DLIBICONV_PLUG -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing "  CPP="cpp" CPPFLAGS="-DDEFAULT_PATH_VALUE='\"/sbin:/bin:/usr/sbin:/usr/bin:/u
 sr/local/sbin:/usr/local/bin\"'  -DSTANDARD_UTILS_PATH='\"/sbin:/bin:/usr/sbin:/usr/bin\"' -DLIBICONV_PLUG -I/usr/local/include -isystem /usr/local/include"  LDFLAGS=" -L/usr/local/lib -fstack-protector-strong -fuse-ld=bfd " LIBS="-L/usr/local/lib"  CXX="c++" CXXFLAGS="-O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing  -DLIBICONV_PLUG -isystem /usr/local/include "  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--
PORTDOCS="" DOCS="" NO_DOCS="@comment " FDESCFS="@comment " NO_FDESCFS="" HELP="" NO_HELP="@comment " NLS="" NO_NLS="@comment " PORTS_READLINE="" NO_PORTS_READLINE="@comment " STATIC="" NO_STATIC="@comment " SYSBASHRC="@comment " NO_SYSBASHRC="" SYSLOG="@comment " NO_SYSLOG="" OSREL=14.0 PREFIX=%D LOCALBASE=/usr/local  RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/bash"  EXAMPLESDIR="share/examples/bash"  DATADIR="share/bash"  WWWDIR="www/bash"  ETCDIR="etc/bash"
--End PLIST_SUB--

--SUB_LIST--
DOCS="" NO_DOCS="@comment " FDESCFS="@comment " NO_FDESCFS="" HELP="" NO_HELP="@comment " NLS="" NO_NLS="@comment " PORTS_READLINE="" NO_PORTS_READLINE="@comment " STATIC="" NO_STATIC="@comment " SYSBASHRC="@comment " NO_SYSBASHRC="" SYSLOG="@comment " NO_SYSLOG="" PREFIX=/usr/local LOCALBASE=/usr/local  DATADIR=/usr/local/share/bash DOCSDIR=/usr/local/share/doc/bash EXAMPLESDIR=/usr/local/share/examples/bash  WWWDIR=/usr/local/www/bash ETCDIR=/usr/local/etc/bash
--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
MACHINE=i386
MACHINE_ARCH=i386
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_921dbbb2=FreeBSD clang version 12.0.1 (git@github.com:llvm/llvm-project.git llvmorg-12.0.1-0-gfed41342a82f) Target: i386-unknown-freebsd14.0 Thread model: posix InstalledDir: /usr/bin
_ALTCCVERSION_921dbbb2=none
_CXXINTERNAL_acaad9ca=FreeBSD clang version 12.0.1 (git@github.com:llvm/llvm-project.git llvmorg-12.0.1-0-gfed41342a82f) Target: i386-unknown-freebsd14.0 Thread model: posix InstalledDir: /usr/bin "/usr/bin/ld" "--eh-frame-hdr" "-dynamic-linker" "/libexec/ld-elf.so.1" "--hash-style=both" "--enable-new-dtags" "-m" "elf_i386_fbsd" "-o" "a.out" "/usr/lib/crt1.o" "/usr/lib/crti.o" "/usr/lib/crtbegin.o" "-L/usr/lib" "/dev/null" "-lc++" "-lm" "-lgcc" "--as-needed" "-lgcc_s" "--no-as-needed" "-lc" "-lgcc" "--as-needed" "-lgcc_s" "--no-as-needed" "/usr/lib/crtend.o" "/usr/lib/crtn.o"
CC_OUTPUT_921dbbb2_58173849=yes
CC_OUTPUT_921dbbb2_9bdba57c=yes
CC_OUTPUT_921dbbb2_6a4fe7f5=yes
CC_OUTPUT_921dbbb2_6bcac02b=yes
CC_OUTPUT_921dbbb2_67d20829=yes
CC_OUTPUT_921dbbb2_bfa62e83=yes
CC_OUTPUT_921dbbb2_f0b4d593=yes
CC_OUTPUT_921dbbb2_308abb44=yes
CC_OUTPUT_921dbbb2_f00456e5=yes
CC_OUTPUT_921dbbb2_65ad290d=yes
CC_OUTPUT_921dbbb2_f2776b26=yes
CC_OUTPUT_921dbbb2_b2657cc3=yes
CC_OUTPUT_921dbbb2_380987f7=yes
CC_OUTPUT_921dbbb2_160933ec=yes
CC_OUTPUT_921dbbb2_fb62803b=yes
_OBJC_CCVERSION_921dbbb2=FreeBSD clang version 12.0.1 (git@github.com:llvm/llvm-project.git llvmorg-12.0.1-0-gfed41342a82f) Target: i386-unknown-freebsd14.0 Thread model: posix InstalledDir: /usr/bin
_OBJC_ALTCCVERSION_921dbbb2=none
ARCH=i386
OPSYS=FreeBSD
_OSRELEASE=14.0-CURRENT
OSREL=14.0
OSVERSION=1400035
PYTHONBASE=/usr/local
CONFIGURE_MAX_CMD_LEN=524288
HAVE_PORTS_ENV=1
#### Misc Poudriere ####
GID=0
UID=0
---End make.conf---
--Resource limits--
cpu time               (seconds, -t)  unlimited
file size           (512-blocks, -f)  unlimited
data seg size           (kbytes, -d)  524288
stack size              (kbytes, -s)  65536
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   >============================
===>  License GPLv3+ accepted by the user
===========================================================================
=======================<phase: pkg-depends    >============================
===>   bash-static-5.1.8 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-1.17.2.pkg
[main-i386-default-job-02] Installing pkg-1.17.2...
[main-i386-default-job-02] Extracting pkg-1.17.2: .......... done
===>   bash-static-5.1.8 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of bash-static-5.1.8
===========================================================================
=======================<phase: fetch-depends  >============================
===========================================================================
=======================<phase: fetch          >============================
===>  License GPLv3+ accepted by the user
===> Fetching all distfiles required by bash-static-5.1.8 for building
===========================================================================
=======================<phase: checksum       >============================
===>  License GPLv3+ accepted by the user
===> Fetching all distfiles required by bash-static-5.1.8 for building
=> SHA256 Checksum OK for bash/bash-5.1.tar.gz.
=> SHA256 Checksum OK for bash/bash51-001.
=> SHA256 Checksum OK for bash/bash51-002.
=> SHA256 Checksum OK for bash/bash51-003.
=> SHA256 Checksum OK for bash/bash51-004.
=> SHA256 Checksum OK for bash/bash51-005.
=> SHA256 Checksum OK for bash/bash51-006.
=> SHA256 Checksum OK for bash/bash51-007.
=> SHA256 Checksum OK for bash/bash51-008.
===========================================================================
=======================<phase: extract-depends>============================
===========================================================================
<snip>
./parse.y:4787:28: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
            parser_error (lineno, _("expected `)'"));
                                  ^~~~~~~~~~~~~~~~~
./bashintl.h:36:18: note: expanded from macro '_'
#define _(msgid)        gettext(msgid)
                        ^~~~~~~~~~~~~~
./parse.y:4787:28: note: treat the string as an argument to avoid this
            parser_error (lineno, _("expected `)'"));
                                  ^
                                  "%s", 
./bashintl.h:36:18: note: expanded from macro '_'
#define _(msgid)        gettext(msgid)
                        ^
./parse.y:4813:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
          if (etext = error_token_from_token (tok))
              ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./parse.y:4813:14: note: place parentheses around the assignment to silence this warning
          if (etext = error_token_from_token (tok))
                    ^
              (                                   )
./parse.y:4813:14: note: use '==' to turn this assignment into an equality comparison
          if (etext = error_token_from_token (tok))
                    ^
                    ==
./parse.y:4819:33: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
            parser_error (line_number, _("unexpected argument to conditional unary operator"));
                                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./bashintl.h:36:18: note: expanded from macro '_'
#define _(msgid)        gettext(msgid)
                        ^~~~~~~~~~~~~~
./parse.y:4819:33: note: treat the string as an argument to avoid this
            parser_error (line_number, _("unexpected argument to conditional unary operator"));
                                       ^
                                       "%s", 
./bashintl.h:36:18: note: expanded from macro '_'
#define _(msgid)        gettext(msgid)
                        ^
./parse.y:4863:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
          if (etext = error_token_from_token (tok))
              ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./parse.y:4863:14: note: place parentheses around the assignment to silence this warning
          if (etext = error_token_from_token (tok))
                    ^
              (                                   )
./parse.y:4863:14: note: use '==' to turn this assignment into an equality comparison
          if (etext = error_token_from_token (tok))
                    ^
                    ==
./parse.y:4869:33: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
            parser_error (line_number, _("conditional binary operator expected"));
                                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./bashintl.h:36:18: note: expanded from macro '_'
#define _(msgid)        gettext(msgid)
                        ^~~~~~~~~~~~~~
./parse.y:4869:33: note: treat the string as an argument to avoid this
            parser_error (line_number, _("conditional binary operator expected"));
                                       ^
                                       "%s", 
./bashintl.h:36:18: note: expanded from macro '_'
#define _(msgid)        gettext(msgid)
                        ^
./parse.y:4889:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
          if (etext = error_token_from_token (tok))
              ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./parse.y:4889:14: note: place parentheses around the assignment to silence this warning
          if (etext = error_token_from_token (tok))
                    ^
              (                                   )
./parse.y:4889:14: note: use '==' to turn this assignment into an equality comparison
          if (etext = error_token_from_token (tok))
                    ^
                    ==
./parse.y:4895:33: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
            parser_error (line_number, _("unexpected argument to conditional binary operator"));
                                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./bashintl.h:36:18: note: expanded from macro '_'
#define _(msgid)        gettext(msgid)
                        ^~~~~~~~~~~~~~
./parse.y:4895:33: note: treat the string as an argument to avoid this
            parser_error (line_number, _("unexpected argument to conditional binary operator"));
                                       ^
                                       "%s", 
./bashintl.h:36:18: note: expanded from macro '_'
#define _(msgid)        gettext(msgid)
                        ^
./parse.y:4907:22: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
      else if (etext = error_token_from_token (tok))
               ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./parse.y:4907:22: note: place parentheses around the assignment to silence this warning
      else if (etext = error_token_from_token (tok))
                     ^
               (                                   )
./parse.y:4907:22: note: use '==' to turn this assignment into an equality comparison
      else if (etext = error_token_from_token (tok))
                     ^
                     ==
./parse.y:5809:12: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
  while (c = *string++)
         ~~^~~~~~~~~~~
./parse.y:5809:12: note: place parentheses around the assignment to silence this warning
  while (c = *string++)
           ^
         (            )
./parse.y:5809:12: note: use '==' to turn this assignment into an equality comparison
  while (c = *string++)
           ^
           ==
./parse.y:6214:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
  if (t = find_token_in_alist (tok, word_token_alist, 0))
      ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./parse.y:6214:9: note: place parentheses around the assignment to silence this warning
  if (t = find_token_in_alist (tok, word_token_alist, 0))
        ^
      (                                                 )
./parse.y:6214:9: note: use '==' to turn this assignment into an equality comparison
  if (t = find_token_in_alist (tok, word_token_alist, 0))
        ^
        ==
./parse.y:6217:9: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
  if (t = find_token_in_alist (tok, other_token_alist, 0))
      ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./parse.y:6217:9: note: place parentheses around the assignment to silence this warning
  if (t = find_token_in_alist (tok, other_token_alist, 0))
        ^
      (                                                  )
./parse.y:6217:9: note: use '==' to turn this assignment into an equality comparison
  if (t = find_token_in_alist (tok, other_token_alist, 0))
        ^
        ==
./parse.y:6602:38: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
            parser_error (orig_line_number, _("unexpected EOF while looking for matching `)'"));
                                            ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./bashintl.h:36:18: note: expanded from macro '_'
#define _(msgid)        gettext(msgid)
                        ^~~~~~~~~~~~~~
./parse.y:6602:38: note: treat the string as an argument to avoid this
            parser_error (orig_line_number, _("unexpected EOF while looking for matching `)'"));
                                            ^
                                            "%s", 
./bashintl.h:36:18: note: expanded from macro '_'
#define _(msgid)        gettext(msgid)
                        ^
--- subst.o ---
16 warnings generated.
--- y.tab.o ---
16 warnings generated.
--- bash ---
rm -f bash
cc -L./builtins -L/usr/local/lib -L/usr/local/lib -L./lib/glob  -L./lib/tilde  -L./lib/sh  -L/usr/local/lib -fstack-protector-strong -fuse-ld=bfd  -static  -O2 -pipe  -DLIBICONV_PLUG -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing  -static -o bash shell.o eval.o y.tab.o general.o make_cmd.o print_cmd.o   dispose_cmd.o execute_cmd.o variables.o copy_cmd.o error.o  expr.o flags.o jobs.o subst.o hashcmd.o hashlib.o mailcheck.o  trap.o input.o unwind_prot.o pathexp.o sig.o test.o version.o  alias.o array.o arrayfunc.o assoc.o braces.o bracecomp.o bashhist.o  bashline.o  list.o stringlib.o locale.o findcmd.o redir.o  pcomplete.o pcomplib.o syntax.o xmalloc.o  -lbuiltins -lglob -lsh -lreadline -lhistory -lncursesw  -ltilde  lib/intl/libintl.a   -L/usr/local/lib
/usr/local/bin/ld.bfd: ./lib/sh/libsh.a(tmpfile.o): in function `sh_mktmpname':
tmpfile.c:(.text+0x75): warning: warning: mktemp() possibly used unsafely; consider using mkstemp()
/usr/local/bin/ld.bfd: /usr/local/lib/libreadline.a(display.o): in function `update_line':
display.c:(.text+0x423e): undefined reference to `tgoto'
/usr/local/bin/ld.bfd: display.c:(.text+0x424d): undefined reference to `tputs'
/usr/local/bin/ld.bfd: display.c:(.text+0x4318): undefined reference to `tgoto'
/usr/local/bin/ld.bfd: display.c:(.text+0x4328): undefined reference to `tputs'
/usr/local/bin/ld.bfd: display.c:(.text+0x44da): undefined reference to `tputs'
/usr/local/bin/ld.bfd: display.c:(.text+0x44f7): undefined reference to `tputs'
/usr/local/bin/ld.bfd: display.c:(.text+0x465d): undefined reference to `tputs'
/usr/local/bin/ld.bfd: display.c:(.text+0x468a): undefined reference to `tputs'
/usr/local/bin/ld.bfd: /usr/local/lib/libreadline.a(display.o):display.c:(.text+0x46c3): more undefined references to `tputs' follow
/usr/local/bin/ld.bfd: /usr/local/lib/libreadline.a(terminal.o): in function `_rl_get_screen_size':
terminal.c:(.text+0xc9): undefined reference to `tgetnum'
/usr/local/bin/ld.bfd: terminal.c:(.text+0xfd): undefined reference to `tgetnum'
/usr/local/bin/ld.bfd: /usr/local/lib/libreadline.a(terminal.o): in function `_rl_init_terminal_io':
terminal.c:(.text+0x333): undefined reference to `tgetent'
/usr/local/bin/ld.bfd: terminal.c:(.text+0x358): undefined reference to `tgetstr'
/usr/local/bin/ld.bfd: terminal.c:(.text+0x556): undefined reference to `PC'
/usr/local/bin/ld.bfd: terminal.c:(.text+0x567): undefined reference to `BC'
/usr/local/bin/ld.bfd: terminal.c:(.text+0x571): undefined reference to `UP'
/usr/local/bin/ld.bfd: terminal.c:(.text+0x594): undefined reference to `PC'
/usr/local/bin/ld.bfd: terminal.c:(.text+0x59e): undefined reference to `BC'
/usr/local/bin/ld.bfd: terminal.c:(.text+0x5a8): undefined reference to `UP'
/usr/local/bin/ld.bfd: terminal.c:(.text+0x5c5): undefined reference to `tgetflag'
/usr/local/bin/ld.bfd: terminal.c:(.text+0x5d9): undefined reference to `tgetflag'
/usr/local/bin/ld.bfd: terminal.c:(.text+0x62d): undefined reference to `tgetflag'
/usr/local/bin/ld.bfd: /usr/local/lib/libreadline.a(terminal.o): in function `_rl_backspace':
terminal.c:(.text+0x9f1): undefined reference to `tputs'
/usr/local/bin/ld.bfd: terminal.c:(.text+0xa1e): undefined reference to `tputs'
/usr/local/bin/ld.bfd: /usr/local/lib/libreadline.a(terminal.o): in function `_rl_cr':
terminal.c:(.text+0xb01): undefined reference to `tputs'
/usr/local/bin/ld.bfd: /usr/local/lib/libreadline.a(terminal.o): in function `rl_ding':
terminal.c:(.text+0xb40): undefined reference to `tputs'
/usr/local/bin/ld.bfd: /usr/local/lib/libreadline.a(terminal.o): in function `_rl_standout_on':
terminal.c:(.text+0xb9e): undefined reference to `tputs'
/usr/local/bin/ld.bfd: /usr/local/lib/libreadline.a(terminal.o):terminal.c:(.text+0xbce): more undefined references to `tputs' follow
cc: error: linker command failed with exit code 1 (use -v to see invocation)
*** [bash] Error code 1

make[1]: stopped in /wrkdirs/usr/ports/shells/bash-static/work/bash-5.1
1 error

make[1]: stopped in /wrkdirs/usr/ports/shells/bash-static/work/bash-5.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/shells/bash-static