[package - 133amd64-default][devel/rlwrap] Failed for rlwrap-0.45.2_1 in build

From: <pkg-fallout_at_FreeBSD.org>
Date: Tue, 01 Oct 2024 13:30:56 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:     gamato@users.sf.net
Log URL:        https://pkg-status.freebsd.org/beefy16/data/133amd64-default/1f84c1fae602/logs/rlwrap-0.45.2_1.log
Build URL:      https://pkg-status.freebsd.org/beefy16/build.html?mastername=133amd64-default&build=1f84c1fae602
Log:

=>> Building devel/rlwrap
build started at Tue Oct  1 13:30:22 UTC 2024
port directory: /usr/ports/devel/rlwrap
package name: rlwrap-0.45.2_1
building for: FreeBSD 133amd64-default-job-04 13.3-RELEASE-p7 FreeBSD 13.3-RELEASE-p7 amd64
maintained by: gamato@users.sf.net
Makefile datestamp: -rw-r--r--  1 root  wheel  802 Feb 24  2024 /usr/ports/devel/rlwrap/Makefile
Ports top last git commit: 1f84c1fae60
Ports top unclean checkout: no
Port dir last git commit: cfe42148b4c
Port dir unclean checkout: no
Poudriere version: poudriere-git-3.4.2
Host OSVERSION: 1500023
Jail OSVERSION: 1303001
Job Id: 04

---Begin Environment---
SHELL=/bin/csh
OSVERSION=1303001
UNAME_v=FreeBSD 13.3-RELEASE-p7
UNAME_r=13.3-RELEASE-p7
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/133amd64-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/133amd64-default/04/.p
OUTPUT_REDIRECTED_STDOUT=3
P_PORTS_FEATURES=FLAVORS SUBPACKAGES SELECTED_OPTIONS
MASTERNAME=133amd64-default
SCRIPTPREFIX=/usr/local/share/poudriere
SCRIPTNAME=bulk.sh
OLDPWD=/usr/local/poudriere/data/.m/133amd64-default/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 rlwrap-0.45.2_1:
     DOCS=on: Build and/or install documentation
===> Use 'make config' to modify these settings
---End OPTIONS List---

--MAINTAINER--
gamato@users.sf.net
--End MAINTAINER--

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

--CONFIGURE_ENV--
PYTHON="/usr/local/bin/python3.11" XDG_DATA_HOME=/wrkdirs/usr/ports/devel/rlwrap/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/devel/rlwrap/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/devel/rlwrap/work/.cache  HOME=/wrkdirs/usr/ports/devel/rlwrap/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/devel/rlwrap/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/devel/rlwrap/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/devel/rlwrap/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/devel/rlwrap/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/devel/rlwrap/work/.cache  HOME=/wrkdirs/usr/ports/devel/rlwrap/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/devel/rlwrap/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/devel/rlwrap/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  -fstack-protector-strong -fno-strict-aliasing "  CPP="cpp" CPPFLAGS="-I/usr/local/include"  LDFLAGS=" -L/usr/local/lib -fstack-protector-strong " LIBS=""  CXX="c++" CXXFLAGS="-O2 -pipe -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 55
5"  BSD_INSTALL_DATA="install  -m 0644"  BSD_INSTALL_MAN="install  -m 444"
--End MAKE_ENV--

--PLIST_SUB--
PORTDOCS="" PYTHON_INCLUDEDIR=include/python3.11  PYTHON_LIBDIR=lib/python3.11  PYTHON_PLATFORM=freebsd13  PYTHON_SITELIBDIR=lib/python3.11/site-packages  PYTHON_SUFFIX=311  PYTHON_EXT_SUFFIX=.cpython-311  PYTHON_VER=3.11  PYTHON_VERSION=python3.11 PYTHON2="@comment " PYTHON3="" OSREL=13.3 PREFIX=%D LOCALBASE=/usr/local  RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/rlwrap"  EXAMPLESDIR="share/examples/rlwrap"  DATADIR="share/rlwrap"  WWWDIR="www/rlwrap"  ETCDIR="etc/rlwrap"
--End PLIST_SUB--

--SUB_LIST--
 PYTHON_INCLUDEDIR=/usr/local/include/python3.11  PYTHON_LIBDIR=/usr/local/lib/python3.11  PYTHON_PLATFORM=freebsd13  PYTHON_SITELIBDIR=/usr/local/lib/python3.11/site-packages  PYTHON_SUFFIX=311  PYTHON_EXT_SUFFIX=.cpython-311  PYTHON_VER=3.11  PYTHON_VERSION=python3.11 PYTHON2="@comment " PYTHON3="" PREFIX=/usr/local LOCALBASE=/usr/local  DATADIR=/usr/local/share/rlwrap DOCSDIR=/usr/local/share/doc/rlwrap EXAMPLESDIR=/usr/local/share/examples/rlwrap  WWWDIR=/usr/local/www/rlwrap ETCDIR=/usr/local/etc/rlwrap
--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 GPLv2 accepted by the user
===========================================================================
=======================<phase: pkg-depends    >============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===>   rlwrap-0.45.2_1 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-1.21.3.pkg
[133amd64-default-job-04] Installing pkg-1.21.3...
[133amd64-default-job-04] Extracting pkg-1.21.3: .......... done
===>   rlwrap-0.45.2_1 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of rlwrap-0.45.2_1
===========================================================================
=======================<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 GPLv2 accepted by the user
===> Fetching all distfiles required by rlwrap-0.45.2_1 for building
===========================================================================
=======================<phase: checksum       >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>  License GPLv2 accepted by the user
===> Fetching all distfiles required by rlwrap-0.45.2_1 for building
=> SHA256 Checksum OK for rlwrap-0.45.2.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 GPLv2 accepted by the user
===> Fetching all distfiles required by rlwrap-0.45.2_1 for building
===>  Extracting for rlwrap-0.45.2_1
=> SHA256 Checksum OK for rlwrap-0.45.2.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 rlwrap-0.45.2_1
===========================================================================
=======================<phase: build-depends  >============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===>   rlwrap-0.45.2_1 depends on package: autoconf>=2.72 - not found
===>   Installing existing package /packages/All/autoconf-2.72.pkg
[133amd64-default-job-04] Installing autoconf-2.72...
[133amd64-default-job-04] `-- Installing autoconf-switch-20220527...
[133amd64-default-job-04] `-- Extracting autoconf-switch-20220527: .......... done
[133amd64-default-job-04] `-- Installing indexinfo-0.3.1...
[133amd64-default-job-04] `-- Extracting indexinfo-0.3.1: .... done
[133amd64-default-job-04] `-- Installing m4-1.4.19_1,1...
[133amd64-default-job-04] |   `-- Installing gettext-runtime-0.22.5...
[133amd64-default-job-04] |   `-- Extracting gettext-runtime-0.22.5: .......... done
[133amd64-default-job-04] `-- Extracting m4-1.4.19_1,1: .......... done
[133amd64-default-job-04] `-- Installing perl5-5.36.3_2...
[133amd64-default-job-04] `-- Extracting perl5-5.36.3_2: .......... done
[133amd64-default-job-04] Extracting autoconf-2.72: .......... done
===>   rlwrap-0.45.2_1 depends on package: autoconf>=2.72 - found
===>   Returning to build of rlwrap-0.45.2_1
===>   rlwrap-0.45.2_1 depends on package: automake>=1.17 - not found
===>   Installing existing package /packages/All/automake-1.17.pkg
[133amd64-default-job-04] Installing automake-1.17...
[133amd64-default-job-04] Extracting automake-1.17: .......... done
===>   rlwrap-0.45.2_1 depends on package: automake>=1.17 - found
===>   Returning to build of rlwrap-0.45.2_1
===========================================================================
=======================<phase: lib-depends    >============================
<snip>
checking whether build environment is sane... yes
checking whether make supports the include directive... yes (GNU style)
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 whether cc understands -c and -o together... yes
checking dependency style of cc... gcc3
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 for sys/time.h... (cached) yes
checking whether it is safe to define __EXTENSIONS__... yes
checking whether _XOPEN_SOURCE should be defined... no
checking for gcc... (cached) cc
checking whether the compiler supports GNU C... (cached) yes
checking whether cc accepts -g... (cached) yes
checking for cc option to enable C11 features... (cached) none needed
checking whether cc understands -c and -o together... (cached) yes
checking dependency style of cc... (cached) gcc3
checking how to run the C preprocessor... cpp
checking for perl... /usr/local/bin/perl
checking for strip... strip
checking for grep that handles long lines and -e... (cached) /usr/bin/grep
checking for egrep... (cached) /usr/bin/egrep
checking for sys/wait.h that is POSIX.1 compatible... (cached) yes
checking for errno.h... (cached) yes
checking for fcntl.h... (cached) yes
checking for libgen.h... (cached) yes
checking for libutil.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for sched.h... (cached) yes
checking for sys/file.h... (cached) yes
checking for sys/ioctl.h... (cached) yes
checking for sys/wait.h... (cached) yes
checking for sys/resource.h... (cached) yes
checking for stddef.h... (cached) yes
checking for termios.h... yes
checking for unistd.h... (cached) yes
checking for stdint.h... (cached) yes
checking for time.h... (cached) yes
checking for getopt.h... (cached) yes
checking for regex.h... yes
checking for curses.h... yes
checking for stropts.h... no
checking for termcap.h... yes
checking for util.h... no
checking for term.h... yes
checking for ncurses/term.h... no
checking for cc options needed to detect all undeclared functions... -fno-builtin
checking whether PROC_PIDVNODEPATHINFO is declared... no
checking whether procstat_open_sysctl is declared... yes
checking whether procstat_getprocs is declared... yes
checking whether procstat_getfiles is declared... yes
checking whether STAILQ_FOREACH is declared... yes
checking argument type of tputs putc function... int
checking for an ANSI C-conforming const... yes
checking for pid_t... (cached) yes
checking return type of signal handlers... void
checking for getopt_long... yes
checking for basename... (cached) yes
checking for dirname... (cached) yes
checking for flock... yes
checking for getopt_long... (cached) yes
checking for isastream... no
checking for mkstemps... (cached) yes
checking for pselect... yes
checking for putenv... (cached) yes
checking for readlink... (cached) yes
checking for sched_yield... (cached) yes
checking for setenv... (cached) yes
checking for setitimer... yes
checking for setsid... (cached) yes
checking for setrlimit... (cached) yes
checking for sigaction... (cached) yes
checking for snprintf... (cached) yes
checking for strlcpy... (cached) yes
checking for strlcat... (cached) yes
checking for strnlen... (cached) yes
checking for system... yes
checking for openpty in -lutil... yes
checking for openpty... yes
checking for getpty... no
checking for grantpt... yes
checking for unlockpt... yes
checking for getpt... no
checking for pty/tty type... checking for pty.h... no
OPENPTY
configure: checking for pty ranges...
checking for tgetent... no
checking for tgetent in -ltinfo... yes
checking for readline in -lreadline... yes
checking for tigetnum... yes
checking for readline/readline.h... yes
checking for egrep -e... (cached) /usr/bin/egrep
checking whether your readline headers and library know about rl_set_screen_size... yes
checking whether your readline headers and library know about rl_basic_quote_characters... yes
checking whether your readline headers and library know about rl_variable_value... yes
checking whether your readline headers and library know about rl_readline_version... yes
checking whether your readline headers and library know about rl_executing_keyseq... yes
checking whether the private symbol _rl_horizontal_scroll_mode is visble in your readline libs... yes
Will rlwrap find command's working directory under /proc/<commands pid>/cwd? let's see...
checking for /proc/12985/cwd/configure.ac... no
checking whether we can find command line under <opt_proc_mountpoint>/<pid>/cmdline and mirror it by overwriting our own *argv (this may take a few secs)... no


checking that generated files are newer than configure... done
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating filters/Makefile
config.status: creating doc/Makefile
config.status: creating src/Makefile
config.status: creating doc/rlwrap.man
config.status: creating config.h
config.status: executing depfiles commands

Now do:
    make (or gmake)  to build rlwrap
    make check       for instructions how to test it
    make install     to install it

===========================================================================
=======================<phase: build          >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>  Building for rlwrap-0.45.2_1
--- all ---
/usr/bin/make  all-recursive
--- all-recursive ---
Making all in doc
--- rlwrap.1 ---
sed -e 's#@DATADIR@#/usr/local/share#'  rlwrap.man > rlwrap.1
Making all in src
--- main.o ---
--- signals.o ---
--- readline.o ---
--- main.o ---
cc -DHAVE_CONFIG_H -I. -I..    -I/usr/local/include -DDATADIR=\"/usr/local/share\" -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing -MT main.o -MD -MP -MF .deps/main.Tpo -c -o main.o main.c
--- signals.o ---
cc -DHAVE_CONFIG_H -I. -I..    -I/usr/local/include -DDATADIR=\"/usr/local/share\" -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing -MT signals.o -MD -MP -MF .deps/signals.Tpo -c -o signals.o signals.c
--- readline.o ---
cc -DHAVE_CONFIG_H -I. -I..    -I/usr/local/include -DDATADIR=\"/usr/local/share\" -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing -MT readline.o -MD -MP -MF .deps/readline.Tpo -c -o readline.o readline.c
--- signals.o ---
mv -f .deps/signals.Tpo .deps/signals.Po
--- readline.o ---
readline.c:195:16: error: too many arguments to function call, expected 0, have 1
--- main.o ---
mv -f .deps/main.Tpo .deps/main.Po
--- readline.o ---
  195 |     rl_message(message);
      |     ~~~~~~~~~~ ^~~~~~~
/usr/local/include/readline/readline.h:410:12: note: 'rl_message' declared here
  410 | extern int rl_message (void);
      |            ^
readline.c:318:14: warning: expression result unused [-Wunused-value]
  318 |   SHOWCURSOR('0');
      |              ^~~
--- pty.o ---
--- term.o ---
--- pty.o ---
cc -DHAVE_CONFIG_H -I. -I..    -I/usr/local/include -DDATADIR=\"/usr/local/share\" -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing -MT pty.o -MD -MP -MF .deps/pty.Tpo -c -o pty.o pty.c
--- term.o ---
cc -DHAVE_CONFIG_H -I. -I..    -I/usr/local/include -DDATADIR=\"/usr/local/share\" -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing -MT term.o -MD -MP -MF .deps/term.Tpo -c -o term.o term.c
--- readline.o ---
1 warning and 1 error generated.
*** [readline.o] Error code 1

make[2]: stopped in /wrkdirs/usr/ports/devel/rlwrap/work/rlwrap-0.45.2/src
--- pty.o ---
mv -f .deps/pty.Tpo .deps/pty.Po
--- term.o ---
mv -f .deps/term.Tpo .deps/term.Po
1 error

make[2]: stopped in /wrkdirs/usr/ports/devel/rlwrap/work/rlwrap-0.45.2/src

make[1]: stopped in /wrkdirs/usr/ports/devel/rlwrap/work/rlwrap-0.45.2

make: stopped in /wrkdirs/usr/ports/devel/rlwrap/work/rlwrap-0.45.2
===> Compilation failed unexpectedly.
Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to
the maintainer.
*** Error code 1

Stop.
make: stopped in /usr/ports/devel/rlwrap