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:     po...@freebsd.org
Log URL:        
https://pkg-status.freebsd.org/beefy14/data/133amd64-quarterly/4045cf197ce4/logs/elf-0.5.4p1_6.log
Build URL:      
https://pkg-status.freebsd.org/beefy14/build.html?mastername=133amd64-quarterly&build=4045cf197ce4
Log:

=>> Building devel/elf
build started at Tue Nov 26 03:46:36 UTC 2024
port directory: /usr/ports/devel/elf
package name: elf-0.5.4p1_6
building for: FreeBSD 133amd64-quarterly-job-02 13.3-RELEASE-p8 FreeBSD 
13.3-RELEASE-p8 amd64
maintained by: po...@freebsd.org
Makefile datestamp: -rw-r--r--  1 root  wheel  555 Oct  8 01:02 
/usr/ports/devel/elf/Makefile
Ports top last git commit: 4045cf197
Ports top unclean checkout: no
Port dir last git commit: 19fbadfb9
Port dir unclean checkout: no
Poudriere version: poudriere-git-3.4.2
Host OSVERSION: 1500023
Jail OSVERSION: 1303001
Job Id: 02

---Begin Environment---
SHELL=/bin/csh
OSVERSION=1303001
UNAME_v=FreeBSD 13.3-RELEASE-p8
UNAME_r=13.3-RELEASE-p8
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-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/133amd64-quarterly/02/.p
OUTPUT_REDIRECTED_STDOUT=3
P_PORTS_FEATURES=FLAVORS SUBPACKAGES SELECTED_OPTIONS
MASTERNAME=133amd64-quarterly
SCRIPTPREFIX=/usr/local/share/poudriere
SCRIPTNAME=bulk.sh
OLDPWD=/usr/local/poudriere/data/.m/133amd64-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---
---End OPTIONS List---

--MAINTAINER--
po...@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=13.3 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
####  ####
# 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
===>   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
[133amd64-quarterly-job-02] Installing pkg-1.21.3...
[133amd64-quarterly-job-02] 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        >============================
===== 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:
<snip>
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  MACHINE_ARCH=amd64  
PWD="${PWD}"  __MAKE_CONF=/nonexistent OSVERSION=1303001 
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_r=13.3-RELEASE-p8 UNAME_v=FreeBSD\ 13.3-RELEASE-p8 
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-aliasin
g "  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 -j3  -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
cc -O2 -pipe  -fstack-protector-strong -isystem /usr/local/include 
-fno-strict-aliasing  -I../include -I/usr/local/include -isystem 
/usr/local/include -c elf.c
elf.c:28:55: warning: call to undeclared library function 'strerror' with type 
'char *(int)'; ISO C99 and later do not support implicit function declarations 
[-Wimplicit-function-declaration]
   28 |                 fprintf(stderr, "ERROR: could not open file: %s\n", 
strerror(errno));
      |                                                                     ^
elf.c:28:55: note: include the header <string.h> or explicitly provide a 
declaration for 'strerror'
elf.c:36:2: warning: call to undeclared library function 'memset' with type 
'void *(void *, int, unsigned long)'; ISO C99 and later do not support implicit 
function declarations [-Wimplicit-function-declaration]
   36 |         memset(buffer, 0, SELFMAG + 1);
      |         ^
elf.c:36:2: note: include the header <string.h> or explicitly provide a 
declaration for 'memset'
elf.c:42:6: warning: call to undeclared library function 'strcmp' with type 
'int (const char *, const char *)'; ISO C99 and later do not support implicit 
function declarations [-Wimplicit-function-declaration]
   42 |         if (strcmp(ELFMAG, buffer) == 0) {
      |             ^
elf.c:42:6: note: include the header <string.h> or explicitly provide a 
declaration for 'strcmp'
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
elf.c:462:1: warning: non-void function does not return a value in all control 
paths [-Wreturn-type]
  462 | }
      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:610:13: warning: cast to 'char **' from smaller integer type 'int' 
[-Wint-to-pointer-cast]
  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: *** Waiting for unfinished jobs....
4 warnings generated.
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

Reply via email to