[package - 132i386-default][sysutils/screen] Failed for screen-4.9.1_2 in build

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

Maintainer:     cy@FreeBSD.org
Log URL:        https://pkg-status.freebsd.org/beefy15/data/132i386-default/edc1fa32671f/logs/screen-4.9.1_2.log
Build URL:      https://pkg-status.freebsd.org/beefy15/build.html?mastername=132i386-default&build=edc1fa32671f
Log:

=>> Building sysutils/screen
build started at Sat Mar  2 06:39:41 UTC 2024
port directory: /usr/ports/sysutils/screen
package name: screen-4.9.1_2
building for: FreeBSD 132i386-default-job-04 13.2-RELEASE-p10 FreeBSD 13.2-RELEASE-p10 i386
maintained by: cy@FreeBSD.org
Makefile datestamp: -rw-r--r--  1 root  wheel  3500 Mar  2 01:01 /usr/ports/sysutils/screen/Makefile
Ports top last git commit: edc1fa32671
Ports top unclean checkout: no
Port dir last git commit: 23c55b77de4
Port dir unclean checkout: no
Poudriere version: poudriere-git-3.4.1-1-g1e9f97d6
Host OSVERSION: 1500006
Jail OSVERSION: 1302001
Job Id: 04

---Begin Environment---
SHELL=/bin/csh
BLOCKSIZE=K
MAIL=/var/mail/root
MM_CHARSET=UTF-8
LANG=C.UTF-8
OSVERSION=1302001
STATUS=1
HOME=/root
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin
MAKE_OBJDIR_CHECK_WRITABLE=0
UNAME_m=i386
UNAME_p=i386
UNAME_r=13.2-RELEASE-p10
LOCALBASE=/usr/local
UNAME_v=FreeBSD 13.2-RELEASE-p10
USER=root
POUDRIERE_NAME=poudriere-git
LIBEXECPREFIX=/usr/local/libexec/poudriere
POUDRIERE_VERSION=3.4.1-1-g1e9f97d6
MASTERMNT=/usr/local/poudriere/data/.m/132i386-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/132i386-default/04/.p
OUTPUT_REDIRECTED_STDOUT=3
P_PORTS_FEATURES=FLAVORS SUBPACKAGES SELECTED_OPTIONS
MASTERNAME=132i386-default
SCRIPTPREFIX=/usr/local/share/poudriere
SCRIPTNAME=bulk.sh
OLDPWD=/usr/local/poudriere/data/.m/132i386-default/ref/.p/pool
POUDRIERE_PKGNAME=poudriere-git-3.4.1-1-g1e9f97d6
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_2:
     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=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.71 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.71 PREFIX=/usr/local  LOCALBASE=/usr/local  CC="cc" CFLAGS="-O2 -pipe  -I/usr/include -DCOLORS256 -fno-stack-protector -fno-strict-aliasing "  CPP="cpp" CPPFLAGS=""  LDFLAGS=" -L/usr/lib -fno-stack-protector " LIBS=""  CXX="c++" CXXFLAGS="-O2 -pipe -I/usr/include -DCOLORS256 -fno-stack-protector -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.2 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
MACHINE=i386
MACHINE_ARCH=i386
ARCH=${MACHINE_ARCH}
####  ####
# 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)  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)  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_2 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-1.20.9_1.pkg
[132i386-default-job-04] Installing pkg-1.20.9_1...
[132i386-default-job-04] Extracting pkg-1.20.9_1: .......... done
===>   screen-4.9.1_2 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of screen-4.9.1_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 GPLv3 accepted by the user
===> Fetching all distfiles required by screen-4.9.1_2 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_2 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_2 for building
===>  Extracting for screen-4.9.1_2
=> 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_2
===>  Applying FreeBSD patches for screen-4.9.1_2 from /usr/ports/sysutils/screen/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_2 depends on package: gmake>=4.3 - not found
===>   Installing existing package /packages/All/gmake-4.3_3.pkg
[132i386-default-job-04] Installing gmake-4.3_3...
[132i386-default-job-04] `-- Installing gettext-runtime-0.22.3_1...
[132i386-default-job-04] |   `-- Installing indexinfo-0.3.1...
<snip>
configure: checking for Ultrix...
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_2
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 -fno-stack-protector -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 -fno-stack-protector -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 -fno-stack-protector -fno-strict-aliasing  list_generic.c
In file included from list_generic.c:24:
In file included from ./screen.h:50:
/usr/include/term.h:819:31: error: conflicting types for 'tgetstr'
extern NCURSES_EXPORT(char *) tgetstr (const char *, char **);
                              ^
./osdef.h:72:14: note: previous declaration is here
extern char *tgetstr __P((char *, char **));
             ^
In file included from list_generic.c:24:
In file included from ./screen.h:50:
/usr/include/term.h:820:31: error: conflicting types for 'tgoto'
extern NCURSES_EXPORT(char *) tgoto (const char *, int, int);
                              ^
./osdef.h:76:14: note: previous declaration is here
extern char *tgoto __P((char *, int, int));
             ^
In file included from list_generic.c:24:
In file included from ./screen.h:50:
/usr/include/term.h:821:28: error: conflicting types for 'tgetent'
extern NCURSES_EXPORT(int) tgetent (char *, const char *);
                           ^
./osdef.h:71:14: note: previous declaration is here
extern int   tgetent __P((char *, char *));
             ^
In file included from list_generic.c:24:
In file included from ./screen.h:50:
/usr/include/term.h:822:28: error: conflicting types for 'tgetflag'
extern NCURSES_EXPORT(int) tgetflag (const char *);
                           ^
./osdef.h:74:14: note: previous declaration is here
extern int   tgetflag __P((char *));
             ^
In file included from list_generic.c:24:
In file included from ./screen.h:50:
/usr/include/term.h:823:28: error: conflicting types for 'tgetnum'
extern NCURSES_EXPORT(int) tgetnum (const char *);
                           ^
./osdef.h:73:14: note: previous declaration is here
extern int   tgetnum __P((char *));
             ^
In file included from list_generic.c:24:
In file included from ./screen.h:50:
/usr/include/term.h:824:28: error: conflicting types for 'tputs'
extern NCURSES_EXPORT(int) tputs (const char *, int, int (*)(int));
                           ^
./osdef.h:75:14: note: previous declaration is here
extern void  tputs __P((char *, int, int (*)(int)));
             ^
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'
  union tcu d_tcs[T_N];         /* terminal capabilities */
                  ^
./display.h:163:13: error: field has incomplete type 'union tcu'
  union tcu d_tcs[T_N];         /* terminal capabilities */
            ^
./display.h:163:9: note: forward declaration of 'union tcu'
  union tcu d_tcs[T_N];         /* terminal capabilities */
        ^
In file included from list_generic.c:24:
./screen.h:216:8: error: expected ')'
          int lines, columns;   /* display size */
              ^
/usr/include/term.h:172:40: note: expanded from macro 'lines'
#define lines                          CUR Numbers[2]
                                       ^
/usr/include/term.h:131:24: note: expanded from macro 'CUR'
#define CUR ((TERMTYPE *)(cur_term))->
                       ^
./screen.h:216:8: note: to match this '('
/usr/include/term.h:172:40: note: expanded from macro 'lines'
#define lines                          CUR Numbers[2]
                                       ^
/usr/include/term.h:131:14: note: expanded from macro 'CUR'
#define CUR ((TERMTYPE *)(cur_term))->
             ^
In file included from list_generic.c:24:
./screen.h:216:8: error: a parameter list without types is only allowed in a function definition
          int lines, columns;   /* display size */
              ^
/usr/include/term.h:172:40: note: expanded from macro 'lines'
#define lines                          CUR Numbers[2]
                                       ^
/usr/include/term.h:131:27: note: expanded from macro 'CUR'
#define CUR ((TERMTYPE *)(cur_term))->
                          ^
In file included from list_generic.c:24:
./screen.h:216:8: error: expected ';' at end of declaration list
/usr/include/term.h:172:40: note: expanded from macro 'lines'
#define lines                          CUR Numbers[2]
                                       ^
/usr/include/term.h:131:37: note: expanded from macro 'CUR'
#define CUR ((TERMTYPE *)(cur_term))->
                                    ^
11 errors generated.
gmake: *** [Makefile:82: list_generic.o] Error 1
gmake: *** Waiting for unfinished jobs....
===> 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