[package - 141i386-default][devel/elf] Failed for elf-0.5.4p1_6 in build

From: <pkg-fallout_at_FreeBSD.org>
Date: Tue, 08 Oct 2024 15:34:06 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:     ports@FreeBSD.org
Log URL:        https://pkg-status.freebsd.org/beefy21/data/141i386-default/478972069f29/logs/elf-0.5.4p1_6.log
Build URL:      https://pkg-status.freebsd.org/beefy21/build.html?mastername=141i386-default&build=478972069f29
Log:

=>> Building devel/elf
build started at Tue Oct  8 15:34:01 UTC 2024
port directory: /usr/ports/devel/elf
package name: elf-0.5.4p1_6
building for: FreeBSD 141i386-default-job-15 14.1-RELEASE-p5 FreeBSD 14.1-RELEASE-p5 i386
maintained by: ports@FreeBSD.org
Makefile datestamp: -rw-r--r--  1 root wheel 555 May 21 01:01 /usr/ports/devel/elf/Makefile
Ports top last git commit: 478972069f
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: 15

---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/15/.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---
---End OPTIONS List---

--MAINTAINER--
ports@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/devel/elf/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/devel/elf/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/devel/elf/work/.cache  HOME=/wrkdirs/usr/ports/devel/elf/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/devel/elf/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/devel/elf/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig SHELL=/bin/sh CONFIG_SHELL=/bin/sh 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/devel/elf/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/devel/elf/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/devel/elf/work/.cache  HOME=/wrkdirs/usr/ports/devel/elf/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/devel/elf/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/devel/elf/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 PREFIX=/usr/local  LOCALBASE=/usr/local  CC="cc" CFLAGS="-O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing "  CPP="cpp" CPPFLAGS="-I/usr/local/include -isystem /usr/local/include"  LDFLAGS=" -L/usr/local/lib -fstack-protector-strong " LIBS="-L/usr/local/lib"  CXX="c++" CXXFLAGS="-O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing  -isystem /usr/local/include " BSD_INSTALL_PROGRAM="instal
l  -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--
OSREL=14.1 PREFIX=%D LOCALBASE=/usr/local  RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/elf"  EXAMPLESDIR="share/examples/elf"  DATADIR="share/elf"  WWWDIR="www/elf"  ETCDIR="etc/elf"
--End PLIST_SUB--

--SUB_LIST--
PREFIX=/usr/local LOCALBASE=/usr/local  DATADIR=/usr/local/share/elf DOCSDIR=/usr/local/share/doc/elf EXAMPLESDIR=/usr/local/share/examples/elf  WWWDIR=/usr/local/www/elf ETCDIR=/usr/local/etc/elf
--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
===>   NOTICE:

The elf port currently does not have a maintainer. As a result, it is
more likely to have unresolved issues, not be up-to-date, or even be removed in
the future. To volunteer to maintain this port, please create an issue at:

https://bugs.freebsd.org/bugzilla

More information about port maintainership is available at:

https://docs.freebsd.org/en/articles/contributing/#ports-contributing

===>  License GPLv2 accepted by the user
===========================================================================
=======================<phase: pkg-depends    >============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===>   elf-0.5.4p1_6 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-1.21.3.pkg
[141i386-default-job-15] Installing pkg-1.21.3...
[141i386-default-job-15] Extracting pkg-1.21.3: .......... done
===>   elf-0.5.4p1_6 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of elf-0.5.4p1_6
===========================================================================
=======================<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
===>   NOTICE:

The elf port currently does not have a maintainer. As a result, it is
more likely to have unresolved issues, not be up-to-date, or even be removed in
the future. To volunteer to maintain this port, please create an issue at:

https://bugs.freebsd.org/bugzilla

More information about port maintainership is available at:

https://docs.freebsd.org/en/articles/contributing/#ports-contributing

===>  License GPLv2 accepted by the user
===> Fetching all distfiles required by elf-0.5.4p1_6 for building
===========================================================================
=======================<phase: checksum       >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>   NOTICE:

The elf port currently does not have a maintainer. As a result, it is
more likely to have unresolved issues, not be up-to-date, or even be removed in
the future. To volunteer to maintain this port, please create an issue at:

https://bugs.freebsd.org/bugzilla

More information about port maintainership is available at:

https://docs.freebsd.org/en/articles/contributing/#ports-contributing

===>  License GPLv2 accepted by the user
===> Fetching all distfiles required by elf-0.5.4p1_6 for building
=> SHA256 Checksum OK for elf-0.5.4p1.tar.gz.
===========================================================================
=======================<phase: extract-depends>============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===========================================================================
=======================<phase: extract        >============================
<snip>
===========================================================================
=======================<phase: configure      >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>  Configuring for elf-0.5.4p1_6
configure: loading site script /usr/ports/Templates/config.site
checking for gcc... cc
checking for C compiler default output... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... 
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether cc accepts -g... yes
checking for a BSD-compatible install... /usr/bin/install -c
checking whether gmake sets ${MAKE}... yes
checking for main in -lcurses... yes
checking for main in -ledit... yes
checking for main in -lncurses... yes
checking for main in -lreadline... yes
checking how to run the C preprocessor... cpp
checking for ANSI C header files... (cached) yes
checking for sys/types.h... (cached) yes
checking for sys/stat.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for memory.h... (cached) yes
checking for strings.h... (cached) yes
checking for inttypes.h... (cached) yes
checking for stdint.h... (cached) yes
checking for unistd.h... (cached) yes
checking for errno.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for unistd.h... (cached) yes
checking readline/history.h usability... yes
checking readline/history.h presence... yes
checking for readline/history.h... yes
checking for cc option to accept ANSI C... none needed
checking for an ANSI C-conforming const... yes
checking for stdlib.h... (cached) yes
checking for working malloc... yes
checking return type of signal handlers... void
checking for bzero... (cached) yes
checking for strcasecmp... (cached) yes
checking for strdup... (cached) yes
checking for strerror... (cached) yes
checking for strncasecmp... (cached) yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating doc/Makefile
config.status: creating config.h
===========================================================================
=======================<phase: build          >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>  Building for elf-0.5.4p1_6
/usr/bin/env -i HOME=/wrkdirs/usr/ports/devel/elf/work  PWD="${PWD}"  __MAKE_CONF=/nonexistent OSVERSION=1401000 PATH=/wrkdirs/usr/ports/devel/elf/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin TMPDIR=/tmp UNAME_m=i386 UNAME_p=i386 UNAME_r=14.1-RELEASE-p5 UNAME_v=FreeBSD\ 14.1-RELEASE-p5 XDG_DATA_HOME=/wrkdirs/usr/ports/devel/elf/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/devel/elf/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/devel/elf/work/.cache  HOME=/wrkdirs/usr/ports/devel/elf/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/devel/elf/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/devel/elf/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 PREFIX=/usr/local  LOCALBASE=/usr/local  CC="cc" CFLAGS="-O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-a
liasing "  CPP="cpp" CPPFLAGS="-I/usr/local/include -isystem /usr/local/include"  LDFLAGS=" -L/usr/local/lib -fstack-protector-strong " LIBS="-L/usr/local/lib"  CXX="c++" CXXFLAGS="-O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing  -isystem /usr/local/include " 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" gmake -f  Makefile   -C /wrkdirs/usr/ports/devel/elf/work/elf-0.5.4p1/src
gmake: Entering directory '/wrkdirs/usr/ports/devel/elf/work/elf-0.5.4p1/src'
cc -O2 -pipe  -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing  -I../include -I/usr/local/include -isystem /usr/local/include -c main.c
In file included from main.c:26:
../include/define.h:13:13: warning: 'const' attribute on function returning 'void'; attribute ignored [-Wignored-attributes]
   13 | static void usage(void) __attribute__((const));
      |             ^
main.c:208:20: warning: format specifies type 'unsigned int' but the argument has type 'unsigned long' [-Wformat]
  208 |                         printf("%#x\n", ehdr->e_entry);
      |                                 ~~~     ^~~~~~~~~~~~~
      |                                 %#lx
main.c:210:20: warning: format specifies type 'unsigned int' but the argument has type 'unsigned long' [-Wformat]
  210 |                         printf("%#x\n", ehdr->e_entry);
      |                                 ~~~     ^~~~~~~~~~~~~
      |                                 %#lx
main.c:212:19: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat]
  212 |                         printf("%d\n", ehdr->e_entry);
      |                                 ~~     ^~~~~~~~~~~~~
      |                                 %lu
main.c:218:20: warning: format specifies type 'unsigned int' but the argument has type 'unsigned long' [-Wformat]
  218 |                         printf("%#x\n", ehdr->e_flags);
      |                                 ~~~     ^~~~~~~~~~~~~
      |                                 %#lx
main.c:220:20: warning: format specifies type 'unsigned int' but the argument has type 'unsigned long' [-Wformat]
  220 |                         printf("%#x\n", ehdr->e_flags);
      |                                 ~~~     ^~~~~~~~~~~~~
      |                                 %#lx
main.c:222:19: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat]
  222 |                         printf("%d\n", ehdr->e_flags);
      |                                 ~~     ^~~~~~~~~~~~~
      |                                 %lu
main.c:275:19: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat]
  275 |                         printf("%d\n", ehdr->e_phoff);
      |                                 ~~     ^~~~~~~~~~~~~
      |                                 %lu
main.c:277:20: warning: format specifies type 'unsigned int' but the argument has type 'unsigned long' [-Wformat]
  277 |                         printf("%#x\n", ehdr->e_phoff);
      |                                 ~~~     ^~~~~~~~~~~~~
      |                                 %#lx
main.c:279:19: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat]
  279 |                         printf("%d\n", ehdr->e_phoff);
      |                                 ~~     ^~~~~~~~~~~~~
      |                                 %lu
main.c:295:19: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat]
  295 |                         printf("%d\n", ehdr->e_shoff);
      |                                 ~~     ^~~~~~~~~~~~~
      |                                 %lu
main.c:297:20: warning: format specifies type 'unsigned int' but the argument has type 'unsigned long' [-Wformat]
  297 |                         printf("%#x\n", ehdr->e_shoff);
      |                                 ~~~     ^~~~~~~~~~~~~
      |                                 %#lx
main.c:299:19: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat]
  299 |                         printf("%d\n", ehdr->e_shoff);
      |                                 ~~     ^~~~~~~~~~~~~
      |                                 %lu
main.c:327:20: warning: format specifies type 'unsigned int' but the argument has type 'unsigned long' [-Wformat]
  327 |                         printf("%#x\n", ehdr->e_version);
      |                                 ~~~     ^~~~~~~~~~~~~~~
      |                                 %#lx
main.c:329:19: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat]
  329 |                         printf("%d\n", ehdr->e_version);
      |                                 ~~     ^~~~~~~~~~~~~~~
      |                                 %lu
main.c:481:51: warning: format specifies type 'unsigned int' but the argument has type 'unsigned long' [-Wformat]
  481 |                                 printf("Virtual entry point --------| %#x\n", ehdr->e_entry);
      |                                                                       ~~~     ^~~~~~~~~~~~~
      |                                                                       %#lx
main.c:482:68: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat]
  482 |                                 printf("Program header offset ------| %d (bytes into file)\n", ehdr->e_phoff);
      |                                                                       ~~                       ^~~~~~~~~~~~~
      |                                                                       %lu
main.c:483:68: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat]
  483 |                                 printf("Section header offset ------| %d (bytes into file)\n", ehdr->e_shoff);
      |                                                                       ~~                       ^~~~~~~~~~~~~
      |                                                                       %lu
main.c:484:51: warning: format specifies type 'unsigned int' but the argument has type 'unsigned long' [-Wformat]
  484 |                                 printf("Processor-specific flags ---| %#x\n", ehdr->e_flags);
      |                                                                       ~~~     ^~~~~~~~~~~~~
      |                                                                       %#lx
main.c:532:20: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat]
  532 |                                 printf("%d\n", ehdr->e_version);
      |                                         ~~     ^~~~~~~~~~~~~~~
      |                                         %lu
main.c:534:21: warning: format specifies type 'unsigned int' but the argument has type 'unsigned long' [-Wformat]
  534 |                                 printf("%#x\n", ehdr->e_version);
      |                                         ~~~     ^~~~~~~~~~~~~~~
      |                                         %#lx
main.c:536:21: warning: format specifies type 'unsigned int' but the argument has type 'unsigned long' [-Wformat]
  536 |                                 printf("%#x\n", ehdr->e_entry);
      |                                         ~~~     ^~~~~~~~~~~~~
      |                                         %#lx
main.c:538:20: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat]
  538 |                                 printf("%d\n", ehdr->e_entry);
      |                                         ~~     ^~~~~~~~~~~~~
      |                                         %lu
main.c:540:20: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat]
  540 |                                 printf("%d\n", ehdr->e_phoff);
      |                                         ~~     ^~~~~~~~~~~~~
      |                                         %lu
main.c:542:21: warning: format specifies type 'unsigned int' but the argument has type 'unsigned long' [-Wformat]
  542 |                                 printf("%#x\n", ehdr->e_phoff);
      |                                         ~~~     ^~~~~~~~~~~~~
      |                                         %#lx
main.c:544:20: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat]
  544 |                                 printf("%d\n", ehdr->e_shoff);
      |                                         ~~     ^~~~~~~~~~~~~
      |                                         %lu
main.c:546:21: warning: format specifies type 'unsigned int' but the argument has type 'unsigned long' [-Wformat]
  546 |                                 printf("%#x\n", ehdr->e_shoff);
      |                                         ~~~     ^~~~~~~~~~~~~
      |                                         %#lx
main.c:548:21: warning: format specifies type 'unsigned int' but the argument has type 'unsigned long' [-Wformat]
  548 |                                 printf("%#x\n", ehdr->e_flags);
      |                                         ~~~     ^~~~~~~~~~~~~
      |                                         %#lx
main.c:550:20: warning: format specifies type 'int' but the argument has type 'unsigned long' [-Wformat]
  550 |                                 printf("%d\n", ehdr->e_flags);
      |                                         ~~     ^~~~~~~~~~~~~
      |                                         %lu
main.c:600:38: warning: 'CPPFunction' is deprecated [-Wdeprecated-declarations]
  600 |         rl_attempted_completion_function = (CPPFunction *) completion;
      |                                             ^
/usr/local/include/readline/rltypedefs.h:38:50: note: 'CPPFunction' has been explicitly marked deprecated here
   38 | typedef char **CPPFunction (void) __attribute__((deprecated));
      |                                                  ^
main.c:600:35: error: incompatible function pointer types assigning to 'rl_completion_func_t *' (aka 'char **(*)(const char *, int, int)') from 'CPPFunction *' (aka 'char **(*)(void)') [-Wincompatible-function-pointer-types]
  600 |         rl_attempted_completion_function = (CPPFunction *) completion;
      |                                          ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~
main.c:610:22: warning: call to undeclared function 'completion_matches'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
  610 |                 matches = (char **)completion_matches(text, match);
      |                                    ^
main.c:640:30: warning: inequality comparison result unused [-Wunused-comparison]
  640 |         for (x = 0, y = 0; input[x] != 0, y < sizeof(command); x++, y++) {
      |                            ~~~~~~~~~^~~~
main.c:640:30: note: use '|=' to turn this inequality comparison into an or-assignment
  640 |         for (x = 0, y = 0; input[x] != 0, y < sizeof(command); x++, y++) {
      |                                     ^~
      |                                     |=
32 warnings and 1 error generated.
gmake: *** [Makefile:16: main.o] Error 1
gmake: Leaving directory '/wrkdirs/usr/ports/devel/elf/work/elf-0.5.4p1/src'
*** Error code 2

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