[package - 141i386-default][devel/rlwrap] Failed for rlwrap-0.45.2_1 in build

From: <pkg-fallout_at_FreeBSD.org>
Date: Sat, 05 Oct 2024 01:07:05 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/beefy21/data/141i386-default/e65c3d3818f0/logs/rlwrap-0.45.2_1.log
Build URL:      https://pkg-status.freebsd.org/beefy21/build.html?mastername=141i386-default&build=e65c3d3818f0
Log:

=>> Building devel/rlwrap
build started at Sat Oct  5 01:06:48 UTC 2024
port directory: /usr/ports/devel/rlwrap
package name: rlwrap-0.45.2_1
building for: FreeBSD 141i386-default-job-13 14.1-RELEASE-p5 FreeBSD 14.1-RELEASE-p5 i386
maintained by: gamato@users.sf.net
Makefile datestamp: -rw-r--r--  1 root wheel 802 May 21 01:01 /usr/ports/devel/rlwrap/Makefile
Ports top last git commit: e65c3d3818
Ports top unclean checkout: no
Port dir last git commit: a40e262549
Port dir unclean checkout: no
Poudriere version: poudriere-git-3.4.2
Host OSVERSION: 1500023
Jail OSVERSION: 1401000
Job Id: 13

---Begin Environment---
SHELL=/bin/sh
BLOCKSIZE=K
MAIL=/var/mail/root
MM_CHARSET=UTF-8
LANG=C.UTF-8
OSVERSION=1401000
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=14.1-RELEASE-p5
LOCALBASE=/usr/local
UNAME_v=FreeBSD 14.1-RELEASE-p5
USER=root
POUDRIERE_NAME=poudriere-git
LIBEXECPREFIX=/usr/local/libexec/poudriere
POUDRIERE_VERSION=3.4.2
MASTERMNT=/usr/local/poudriere/data/.m/141i386-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/141i386-default/13/.p
OUTPUT_REDIRECTED_STDOUT=3
P_PORTS_FEATURES=FLAVORS SUBPACKAGES SELECTED_OPTIONS
MASTERNAME=141i386-default
SCRIPTPREFIX=/usr/local/share/poudriere
SCRIPTNAME=bulk.sh
OLDPWD=/usr/local/poudriere/data/.m/141i386-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=freebsd14  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=14.1 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=freebsd14  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
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
DISABLE_MAKE_JOBS=poudriere
---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 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
[141i386-default-job-13] Installing pkg-1.21.3...
[141i386-default-job-13] 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
[141i386-default-job-13] Installing autoconf-2.72...
[141i386-default-job-13] `-- Installing autoconf-switch-20220527...
[141i386-default-job-13] `-- Extracting autoconf-switch-20220527: .......... done
[141i386-default-job-13] `-- Installing indexinfo-0.3.1...
[141i386-default-job-13] `-- Extracting indexinfo-0.3.1: .... done
[141i386-default-job-13] `-- Installing m4-1.4.19_1,1...
[141i386-default-job-13] |   `-- Installing gettext-runtime-0.22.5...
[141i386-default-job-13] |   `-- Extracting gettext-runtime-0.22.5: .......... done
[141i386-default-job-13] `-- Extracting m4-1.4.19_1,1: .......... done
[141i386-default-job-13] `-- Installing perl5-5.36.3_2...
[141i386-default-job-13] `-- Extracting perl5-5.36.3_2: .......... done
[141i386-default-job-13] 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
<snip>
configure.ac:338: AC_EGREP_RL_HEADER_AND_CHECK_FUNC is expanded from...
configure.ac:380: the top level
configure.ac:382: warning: The macro 'AC_TRY_LINK' is obsolete.
configure.ac:382: You should run autoupdate.
./lib/autoconf/general.m4:2918: AC_TRY_LINK is expanded from...
configure.ac:338: AC_EGREP_RL_HEADER_AND_CHECK_FUNC is expanded from...
configure.ac:382: the top level
configure.ac:388: warning: The macro 'AC_TRY_LINK' is obsolete.
configure.ac:388: You should run autoupdate.
./lib/autoconf/general.m4:2918: AC_TRY_LINK is expanded from...
configure.ac:388: the top level
configure.ac:453: warning: $as_echo is obsolete; use AS_ECHO(["message"]) instead
configure: loading site script /usr/ports/Templates/config.site
checking build system type... i386-portbld-freebsd14.1
checking host system type... i386-portbld-freebsd14.1
checking for a BSD-compatible install... /usr/bin/install -c
checking whether sleep supports fractional seconds... yes
checking filesystem timestamp resolution... 2
checking whether build environment is sane... yes
checking for a race-free mkdir -p... (cached) /bin/mkdir -p
checking for gawk... (cached) /usr/bin/awk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking xargs -n works... yes
checking whether make sets $(MAKE)... (cached) yes
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/23572/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
/usr/bin/make  all-recursive
Making all in doc
sed -e 's#@DATADIR@#/usr/local/share#'  rlwrap.man > rlwrap.1
Making all in src
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
mv -f .deps/main.Tpo .deps/main.Po
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
mv -f .deps/signals.Tpo .deps/signals.Po
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
readline.c:195:16: error: too many arguments to function call, expected 0, have 1
  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');
      |              ^~~
1 warning and 1 error generated.
*** Error code 1

Stop.
make[2]: stopped in /wrkdirs/usr/ports/devel/rlwrap/work/rlwrap-0.45.2/src
*** Error code 1

Stop.
make[1]: stopped in /wrkdirs/usr/ports/devel/rlwrap/work/rlwrap-0.45.2
*** Error code 1

Stop.
make: stopped in /wrkdirs/usr/ports/devel/rlwrap/work/rlwrap-0.45.2
*** Error code 1

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