[package - 134amd64-quarterly][sysutils/screen] Failed for screen-4.9.1_5 in build

From: <pkg-fallout_at_FreeBSD.org>
Date: Fri, 31 Jan 2025 13:16:48 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:     cy@FreeBSD.org
Log URL:        https://pkg-status.freebsd.org/beefy14/data/134amd64-quarterly/2e0e0c62cbef/logs/screen-4.9.1_5.log
Build URL:      https://pkg-status.freebsd.org/beefy14/build.html?mastername=134amd64-quarterly&build=2e0e0c62cbef
Log:

=>> Building sysutils/screen
build started at Fri Jan 31 13:16:07 UTC 2025
port directory: /usr/ports/sysutils/screen
package name: screen-4.9.1_5
building for: FreeBSD 134amd64-quarterly-job-02 13.4-RELEASE-p3 FreeBSD 13.4-RELEASE-p3 amd64
maintained by: cy@FreeBSD.org
Makefile datestamp: -rw-r--r--  1 root  wheel  119 Jan  7 01:01 /usr/ports/sysutils/screen/Makefile
Ports top last git commit: 2e0e0c62c
Ports top unclean checkout: no
Port dir last git commit: dddb9bab3
Port dir unclean checkout: no
Poudriere version: poudriere-git-3.4.2
Host OSVERSION: 1500028
Jail OSVERSION: 1304000
Job Id: 02

---Begin Environment---
SHELL=/bin/csh
OSVERSION=1304000
UNAME_v=FreeBSD 13.4-RELEASE-p3
UNAME_r=13.4-RELEASE-p3
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.2
MASTERMNT=/usr/local/poudriere/data/.m/134amd64-quarterly/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/134amd64-quarterly/02/.p
OUTPUT_REDIRECTED_STDOUT=3
P_PORTS_FEATURES=FLAVORS SUBPACKAGES SELECTED_OPTIONS
MASTERNAME=134amd64-quarterly
SCRIPTPREFIX=/usr/local/share/poudriere
SCRIPTNAME=bulk.sh
OLDPWD=/usr/local/poudriere/data/.m/134amd64-quarterly/ref/.p/pool
POUDRIERE_PKGNAME=poudriere-git-3.4.2
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 screen-4.9.1_5:
     INFO=on: Build and/or install GNU info pages
     MULTIUSER=on: Install setuid-root screen to support multiuser
     NETHACK=on: Enable nethack-style messages
     NOSOCKETDIR=off: Use ~/.screen instead of socketdir
     SYSTEM_SCREENRC=on: Install system screenrc with helpful status line
     XTERM_256=on: Enable support for 256 colour xterm
====> Options available for the single IPC: you have to select exactly one of them
     SOCKETS=on: Use new (4.2.1+) sockets for IPC (default)
     NAMED_PIPES=off: Use legacy (4.0.3) named pipes for IPC (override)
====> Console (text) interface support: you have to select exactly one of them
     NCURSES_DEFAULT=on: Depend on ncurses (ports if installed, otherwise base)
     NCURSES_BASE=off: Depend on ncurses in base
     NCURSES_PORT=off: Depend on devel/ncurses in ports
===> Use 'make config' to modify these settings
---End OPTIONS List---

--MAINTAINER--
cy@FreeBSD.org
--End MAINTAINER--

--CONFIGURE_ARGS--
--prefix=/usr/local ${_LATE_CONFIGURE_ARGS}
--End CONFIGURE_ARGS--

--CONFIGURE_ENV--
MAKE=/usr/local/bin/gmake XDG_DATA_HOME=/wrkdirs/usr/ports/sysutils/screen/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/sysutils/screen/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/sysutils/screen/work/.cache  HOME=/wrkdirs/usr/ports/sysutils/screen/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/sysutils/screen/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/sysutils/screen/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig SHELL=/bin/sh CONFIG_SHELL=/bin/sh DEFAULT_AUTOCONF=2.72 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/sysutils/screen/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/sysutils/screen/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/sysutils/screen/work/.cache  HOME=/wrkdirs/usr/ports/sysutils/screen/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/sysutils/screen/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/sysutils/screen/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 DEFAULT_AUTOCONF=2.72 PREFIX=/usr/local  LOCALBASE=/usr/local  CC="cc" CFLAGS="-O2 -pipe  -I/usr/include -DCOLORS256 -fstack-protector-strong -fno-strict-aliasing "  CPP="cpp" CPPFLAGS=""  LDFLAGS=" -L/usr/lib -fstack-protector-strong " LIBS=""  CXX="c++" CXXFLAGS="-O2 -pipe -I/usr/include -DCOLORS256 -fstack-protector-strong -fno-strict-aliasing  " BSD_INSTALL_PROGRAM="install  -s -m 555"  BSD_INSTALL_LIB="install  -
s -m 0644"  BSD_INSTALL_SCRIPT="install  -m 555"  BSD_INSTALL_DATA="install  -m 0644"  BSD_INSTALL_MAN="install  -m 444"
--End MAKE_ENV--

--PLIST_SUB--
 INFO="" NO_INFO="@comment " MULTIUSER="" NO_MULTIUSER="@comment " MULTISUID="@(,,4555) " NAMED_PIPES="@comment " NO_NAMED_PIPES="" NCURSES_BASE="@comment " NO_NCURSES_BASE="" NCURSES_DEFAULT="" NO_NCURSES_DEFAULT="@comment " NCURSES_PORT="@comment " NO_NCURSES_PORT="" NETHACK="" NO_NETHACK="@comment " NOSOCKETDIR="@comment " NO_NOSOCKETDIR="" SOCKETS="" NO_SOCKETS="@comment " SYSTEM_SCREENRC="" NO_SYSTEM_SCREENRC="@comment " XTERM_256="" NO_XTERM_256="@comment " OSREL=13.4 PREFIX=%D LOCALBASE=/usr/local  RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/screen"  EXAMPLESDIR="share/examples/screen"  DATADIR="share/screen"  WWWDIR="www/screen"  ETCDIR="etc"
--End PLIST_SUB--

--SUB_LIST--
 INFO="" NO_INFO="@comment " MULTIUSER="" NO_MULTIUSER="@comment " NAMED_PIPES="@comment " NO_NAMED_PIPES="" NCURSES_BASE="@comment " NO_NCURSES_BASE="" NCURSES_DEFAULT="" NO_NCURSES_DEFAULT="@comment " NCURSES_PORT="@comment " NO_NCURSES_PORT="" NETHACK="" NO_NETHACK="@comment " NOSOCKETDIR="@comment " NO_NOSOCKETDIR="" SOCKETS="" NO_SOCKETS="@comment " SYSTEM_SCREENRC="" NO_SYSTEM_SCREENRC="@comment " XTERM_256="" NO_XTERM_256="@comment " PREFIX=/usr/local LOCALBASE=/usr/local  DATADIR=/usr/local/share/screen DOCSDIR=/usr/local/share/doc/screen EXAMPLESDIR=/usr/local/share/examples/screen  WWWDIR=/usr/local/www/screen ETCDIR=/usr/local/etc
--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)  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)  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 GPLv3 accepted by the user
===========================================================================
=======================<phase: pkg-depends    >============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===>   screen-4.9.1_5 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-1.21.3.pkg
[134amd64-quarterly-job-02] Installing pkg-1.21.3...
[134amd64-quarterly-job-02] Extracting pkg-1.21.3: .......... done
===>   screen-4.9.1_5 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of screen-4.9.1_5
===========================================================================
=======================<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 GPLv3 accepted by the user
===> Fetching all distfiles required by screen-4.9.1_5 for building
===========================================================================
=======================<phase: checksum       >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>  License GPLv3 accepted by the user
===> Fetching all distfiles required by screen-4.9.1_5 for building
=> SHA256 Checksum OK for screen-4.9.1.tar.gz.
===========================================================================
=======================<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 GPLv3 accepted by the user
===> Fetching all distfiles required by screen-4.9.1_5 for building
===>  Extracting for screen-4.9.1_5
=> SHA256 Checksum OK for screen-4.9.1.tar.gz.
===========================================================================
=======================<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 screen-4.9.1_5
===>  Applying FreeBSD patches for screen-4.9.1_5 from /usr/ports/sysutils/screen/../screen49/files
No such line 795 in input file, ignoring
===========================================================================
=======================<phase: build-depends  >============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===>   screen-4.9.1_5 depends on package: gmake>=4.4.1 - not found
===>   Installing existing package /packages/All/gmake-4.4.1.pkg
[134amd64-quarterly-job-02] Installing gmake-4.4.1...
[134amd64-quarterly-job-02] `-- Installing gettext-runtime-0.23...
[134amd64-quarterly-job-02] |   `-- Installing indexinfo-0.3.1...
[134amd64-quarterly-job-02] |   `-- Extracting indexinfo-0.3.1: .... done
[134amd64-quarterly-job-02] `-- Extracting gettext-runtime-0.23: .......... done
[134amd64-quarterly-job-02] Extracting gmake-4.4.1: .......... done
===>   screen-4.9.1_5 depends on package: gmake>=4.4.1 - found
===>   Returning to build of screen-4.9.1_5
<snip>
configure.ac:1288: warning: The macro 'AC_TRY_RUN' is obsolete.
configure.ac:1288: You should run autoupdate.
./lib/autoconf/general.m4:2995: AC_TRY_RUN is expanded from...
configure.ac:1288: the top level
configure.ac:1309: warning: The macro 'AC_TRY_RUN' is obsolete.
configure.ac:1309: You should run autoupdate.
./lib/autoconf/general.m4:2995: AC_TRY_RUN is expanded from...
configure.ac:1309: the top level
configure.ac:1332: warning: The macro 'AC_TRY_LINK' is obsolete.
configure.ac:1332: You should run autoupdate.
./lib/autoconf/general.m4:2918: AC_TRY_LINK is expanded from...
configure.ac:1332: the top level
configure.ac:1343: warning: The macro 'AC_TRY_LINK' is obsolete.
configure.ac:1343: You should run autoupdate.
./lib/autoconf/general.m4:2918: AC_TRY_LINK is expanded from...
configure.ac:1343: the top level
configure.ac:1350: warning: The macro 'AC_TRY_LINK' is obsolete.
configure.ac:1350: You should run autoupdate.
./lib/autoconf/general.m4:2918: AC_TRY_LINK is expanded from...
configure.ac:1350: the top level
configure.ac:1366: warning: The macro 'AC_TRY_LINK' is obsolete.
configure.ac:1366: You should run autoupdate.
./lib/autoconf/general.m4:2918: AC_TRY_LINK is expanded from...
configure.ac:1366: the top level
configure.ac:1369: warning: The macro 'AC_TRY_LINK' is obsolete.
configure.ac:1369: You should run autoupdate.
./lib/autoconf/general.m4:2918: AC_TRY_LINK is expanded from...
configure.ac:1369: the top level
configure.ac:1384: warning: The macro 'AC_TRY_LINK' is obsolete.
configure.ac:1384: You should run autoupdate.
./lib/autoconf/general.m4:2918: AC_TRY_LINK is expanded from...
configure.ac:1384: the top level
configure.ac:1431: warning: AC_OUTPUT should be used without arguments.
configure.ac:1431: You should run autoupdate.
autoheader2.72: warning: WARNING: Using auxiliary files such as 'acconfig.h', 'config.h.bot'
autoheader2.72: WARNING: and 'config.h.top', to define templates for 'config.h.in'
autoheader2.72: WARNING: is deprecated and discouraged.
autoheader2.72: 
autoheader2.72: WARNING: Using the third argument of 'AC_DEFINE_UNQUOTED' and
autoheader2.72: WARNING: 'AC_DEFINE' allows one to define a template without
autoheader2.72: WARNING: 'acconfig.h':
autoheader2.72: 
autoheader2.72: WARNING:   AC_DEFINE([NEED_FUNC_MAIN], 1,
autoheader2.72: 		[Define if a function 'main' is needed.])
autoheader2.72: 
autoheader2.72: WARNING: More sophisticated templates can also be produced, see the
autoheader2.72: WARNING: documentation.
configure: loading site script /usr/ports/Templates/config.site
this is screen version 4.9.1
checking for gcc... cc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether the compiler supports GNU C... yes
checking whether cc accepts -g... yes
checking for cc option to enable C11 features... none needed
checking how to run the C preprocessor... cpp
checking for library containing strerror... none required
checking for stdio.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for inttypes.h... (cached) yes
checking for stdint.h... (cached) yes
checking for strings.h... (cached) yes
checking for sys/stat.h... (cached) yes
checking for sys/types.h... (cached) yes
checking for unistd.h... (cached) yes
checking for wchar.h... (cached) yes
checking for minix/config.h... (cached) no
checking whether it is safe to define __EXTENSIONS__... yes
checking whether _XOPEN_SOURCE should be defined... no
checking for gawk... (cached) /usr/bin/awk
checking for a BSD-compatible install... /usr/bin/install -c
configure: checking for buggy tools...
checking if a system-wide socket dir should be used... yes
checking for the socket dir... (eff_uid ? "/tmp/uscreens" : "/tmp/screens")
configure: checking for MIPS...
configure: checking for Ultrix...
checking for egrep -e... /usr/bin/grep -E
configure: checking for butterfly...
configure: checking for POSIX.1...
- you have a POSIX system
configure: checking for System V...
configure: checking for sequent/ptx...
configure: checking SVR4...
checking for stropts.h... no
checking for string.h... (cached) yes
checking for strings.h... (cached) yes
configure: checking for Solaris 2.x...
configure: checking BSD job jontrol...
- you have jobcontrol
configure: checking setresuid...
configure: checking setreuid...
configure: checking seteuid...
configure: checking execvpe...
configure: checking select...
configure: checking fifos...
- your fifos are usable
configure: checking for broken fifo implementation...
- your implementation is ok
configure: checking sockets...
- your sockets are usable
configure: checking socket implementation...
- you are normal
- select is ok
configure: checking for tgetent...
configure: checking libcurses...
- you use the terminfo database
configure: checking ospeed...
configure: checking for /dev/ptc...
checking for getpt... no
checking for openpty... no
checking for openpty in -lutil... yes
configure: checking for ptyranges...
configure: checking default tty permissions/group...
checking for write... /usr/bin/write
checking for xterm... no
- pty mode: 0620, group: 4
configure: checking getutxent...
configure: checking getutxent with -lgen...
configure: checking ut_host...
checking for utempter.h... yes
configure: checking for libutil(s)...
configure: checking getloadavg...
assuming posix signal definition
configure: checking for crypt and sec libraries...
configure: checking crypt...
configure: checking IRIX sun library...
configure: checking syslog...
configure: checking wait union...
configure: checking for termio or termios...
configure: checking getspnam...
configure: checking getttyent...
configure: checking fdwalk...
configure: checking whether memcpy/memmove/bcopy handles overlapping arguments...
checking for long file names... (cached) yes
checking for vsprintf... yes
checking for dirent.h that defines DIR... yes
checking for library containing opendir... none required
checking for setenv... checking for nl_langinfo(CODESET)... yes
checking for library containing gethostname... none required
checking for rename... (cached) yes
checking for fchmod... (cached) yes
checking for fchown... (cached) yes
checking for strerror... (cached) yes
checking for lstat... (cached) yes
checking for _exit... yes
checking for utimes... (cached) yes
checking for vsnprintf... (cached) yes
checking for getcwd... (cached) yes
checking for setlocale... (cached) yes
checking for strftime... (cached) yes
checking for the global screenrc file... configure: creating ./config.status
config.status: creating Makefile
config.status: creating doc/Makefile
config.status: creating config.h
config.status: executing default commands

Now please check the pathnames in the Makefile and in the user
configuration section in config.h.
Then type 'make' to make screen. Good luck.

===========================================================================
=======================<phase: build          >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>  Building for screen-4.9.1_5
CPP="cpp -DETCSCREENRC='"/usr/local/etc/screenrc"' -DSCREENENCODINGS='"/usr/local/share/screen/utf8encodings"'" srcdir=. sh ./osdef.sh
AWK=/usr/bin/awk CC="cc -I/usr/local/include -O2 -pipe  -I/usr/include -DCOLORS256 -fstack-protector-strong -fno-strict-aliasing " srcdir=. sh ./comm.sh
AWK=/usr/bin/awk srcdir=. sh ./term.sh
sh ./tty.sh tty.c
cc -I/usr/local/include -c -I. -I.  -DETCSCREENRC='"/usr/local/etc/screenrc"' -DSCREENENCODINGS='"/usr/local/share/screen/utf8encodings"' -DHAVE_CONFIG_H -DGIT_REV=\"\" \
     -O2 -pipe  -I/usr/include -DCOLORS256 -fstack-protector-strong -fno-strict-aliasing  putenv.c
cc -I/usr/local/include -c -I. -I.  -DETCSCREENRC='"/usr/local/etc/screenrc"' -DSCREENENCODINGS='"/usr/local/share/screen/utf8encodings"' -DHAVE_CONFIG_H -DGIT_REV=\"\" \
     -O2 -pipe  -I/usr/include -DCOLORS256 -fstack-protector-strong -fno-strict-aliasing  list_generic.c
cc -I/usr/local/include -c -I. -I.  -DETCSCREENRC='"/usr/local/etc/screenrc"' -DSCREENENCODINGS='"/usr/local/share/screen/utf8encodings"' -DHAVE_CONFIG_H -DGIT_REV=\"\" \
     -O2 -pipe  -I/usr/include -DCOLORS256 -fstack-protector-strong -fno-strict-aliasing  list_display.c
In file included from list_generic.c:24:
In file included from ./screen.h:150:
./display.h:163:19: error: use of undeclared identifier 'T_N'
  163 |   union tcu d_tcs[T_N];         /* terminal capabilities */
      |                   ^
1 error generated.
In file included from list_display.c:36:
In file included from ./screen.h:150:
./display.h:163:19: error: use of undeclared identifier 'T_N'
  163 |   union tcu d_tcs[T_N];         /* terminal capabilities */
      |                   ^
gmake: *** [Makefile:82: list_generic.o] Error 1
gmake: *** Waiting for unfinished jobs....
1 error generated.
gmake: *** [Makefile:82: list_display.o] Error 1
===> Compilation failed unexpectedly.
Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to
the maintainer.
*** Error code 1

Stop.
make: stopped in /usr/ports/sysutils/screen