[package - main-i386-default][editors/hexcurse] Failed for hexcurse-1.60.0_1 in build

From: <pkg-fallout_at_FreeBSD.org>
Date: Fri, 03 May 2024 14:16:29 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:     bofh@FreeBSD.org
Log URL:        https://pkg-status.freebsd.org/beefy17/data/main-i386-default/p3d9e1b959610_sb07689d1f2a/logs/hexcurse-1.60.0_1.log
Build URL:      https://pkg-status.freebsd.org/beefy17/build.html?mastername=main-i386-default&build=p3d9e1b959610_sb07689d1f2a
Log:

=>> Building editors/hexcurse
build started at Fri May  3 14:16:25 UTC 2024
port directory: /usr/ports/editors/hexcurse
package name: hexcurse-1.60.0_1
building for: FreeBSD main-i386-default-job-10 15.0-CURRENT FreeBSD 15.0-CURRENT 1500018 i386
maintained by: bofh@FreeBSD.org
Makefile datestamp: -rw-r--r--  1 root wheel 664 Feb  3 01:01 /usr/ports/editors/hexcurse/Makefile
Ports top last git commit: 3d9e1b95961
Ports top unclean checkout: no
Port dir last git commit: cb6b292935c
Port dir unclean checkout: no
Poudriere version: poudriere-git-3.4.1-30-g79e3edcd
Host OSVERSION: 1500018
Jail OSVERSION: 1500018
Job Id: 10

---Begin Environment---
SHELL=/bin/sh
BLOCKSIZE=K
MAIL=/var/mail/root
MM_CHARSET=UTF-8
LANG=C.UTF-8
OSVERSION=1500018
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=15.0-CURRENT
LOCALBASE=/usr/local
UNAME_v=FreeBSD 15.0-CURRENT 1500018
USER=root
POUDRIERE_NAME=poudriere-git
LIBEXECPREFIX=/usr/local/libexec/poudriere
POUDRIERE_VERSION=3.4.1-30-g79e3edcd
MASTERMNT=/usr/local/poudriere/data/.m/main-i386-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/main-i386-default/10/.p
OUTPUT_REDIRECTED_STDOUT=3
P_PORTS_FEATURES=FLAVORS SUBPACKAGES SELECTED_OPTIONS
MASTERNAME=main-i386-default
SCRIPTPREFIX=/usr/local/share/poudriere
SCRIPTNAME=bulk.sh
OLDPWD=/usr/local/poudriere/data/.m/main-i386-default/ref/.p/pool
POUDRIERE_PKGNAME=poudriere-git-3.4.1-30-g79e3edcd
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--
bofh@FreeBSD.org
--End MAINTAINER--

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

--CONFIGURE_ENV--
XDG_DATA_HOME=/wrkdirs/usr/ports/editors/hexcurse/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/editors/hexcurse/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/editors/hexcurse/work/.cache  HOME=/wrkdirs/usr/ports/editors/hexcurse/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/editors/hexcurse/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/editors/hexcurse/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig SHELL=/bin/sh CONFIG_SHELL=/bin/sh 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/editors/hexcurse/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/editors/hexcurse/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/editors/hexcurse/work/.cache  HOME=/wrkdirs/usr/ports/editors/hexcurse/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/editors/hexcurse/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/editors/hexcurse/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  -Wno-error=deprecated-non-prototype -fstack-protector-strong -fno-strict-aliasing "  CPP="cpp" CPPFLAGS=""  LDFLAGS=" -fstack-protector-strong " LIBS=""  CXX="c++" CXXFLAGS="-O2 -pipe -Wno-error=deprecated-non-prototype -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 555"  BSD_INSTALL_DATA="install  -m 0644"  BSD_INSTALL_MAN="install  -m 444"
--End MAKE_ENV--

--PLIST_SUB--
OSREL=15.0 PREFIX=%D LOCALBASE=/usr/local  RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/hexcurse"  EXAMPLESDIR="share/examples/hexcurse"  DATADIR="share/hexcurse"  WWWDIR="www/hexcurse"  ETCDIR="etc/hexcurse"
--End PLIST_SUB--

--SUB_LIST--
PREFIX=/usr/local LOCALBASE=/usr/local  DATADIR=/usr/local/share/hexcurse DOCSDIR=/usr/local/share/doc/hexcurse EXAMPLESDIR=/usr/local/share/examples/hexcurse  WWWDIR=/usr/local/www/hexcurse ETCDIR=/usr/local/etc/hexcurse
--End SUB_LIST--

---Begin make.conf---
# 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
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 GPLv2 accepted by the user
===========================================================================
=======================<phase: pkg-depends    >============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===>   hexcurse-1.60.0_1 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-1.21.2.pkg
[main-i386-default-job-10] Installing pkg-1.21.2...
[main-i386-default-job-10] Extracting pkg-1.21.2: .......... done
===>   hexcurse-1.60.0_1 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of hexcurse-1.60.0_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 hexcurse-1.60.0_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 hexcurse-1.60.0_1 for building
=> SHA256 Checksum OK for LonnyGomes-hexcurse-v1.60.0_GH0.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 hexcurse-1.60.0_1 for building
===>  Extracting for hexcurse-1.60.0_1
=> SHA256 Checksum OK for LonnyGomes-hexcurse-v1.60.0_GH0.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 hexcurse-1.60.0_1
===>  Applying FreeBSD patches for hexcurse-1.60.0_1 from /usr/ports/editors/hexcurse/files
===========================================================================
=======================<phase: build-depends  >============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===========================================================================
=======================<phase: lib-depends    >============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===========================================================================
=======================<phase: configure      >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>  Configuring for hexcurse-1.60.0_1
configure: loading site script /usr/ports/Templates/config.site
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe 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 build system type... i386-portbld-freebsd15.0
checking host system type... i386-portbld-freebsd15.0
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 we are using the GNU C compiler... yes
checking whether cc accepts -g... yes
checking for cc option to accept ISO C89... none needed
checking whether cc understands -c and -o together... yes
checking for style of include used by make... GNU
checking dependency style of cc... gcc3
checking for cc option to accept ISO C99... none needed
checking for initscr in -lncurses... yes
checking how to run the C preprocessor... cpp
checking for grep that handles long lines and -e... (cached) /usr/bin/grep
checking for egrep... (cached) /usr/bin/egrep
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 unistd.h... (cached) yes
checking for string.h... (cached) yes
checking for strings.h... (cached) yes
checking for unsigned long long int... (cached) yes
checking for long long int... (cached) yes
checking for intmax_t... (cached) yes
checking for off_t... (cached) yes
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking for _LARGEFILE_SOURCE value needed for large files... no
checking return type of signal handlers... void
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating man/Makefile
config.status: creating config.h
config.status: executing depfiles commands
===========================================================================
=======================<phase: build          >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>  Building for hexcurse-1.60.0_1
--- all ---
/usr/bin/make  all-recursive
--- all-recursive ---
Making all in src
--- file.o ---
--- llist.o ---
--- screen.o ---
--- file.o ---
cc -DHAVE_CONFIG_H -I. -I..  -I../include -Wall -Werror -Wextra    -O2 -pipe  -Wno-error=deprecated-non-prototype -fstack-protector-strong -fno-strict-aliasing -MT file.o -MD -MP -MF .deps/file.Tpo -c -o file.o file.c
--- llist.o ---
cc -DHAVE_CONFIG_H -I. -I..  -I../include -Wall -Werror -Wextra    -O2 -pipe  -Wno-error=deprecated-non-prototype -fstack-protector-strong -fno-strict-aliasing -MT llist.o -MD -MP -MF .deps/llist.Tpo -c -o llist.o llist.c
--- screen.o ---
cc -DHAVE_CONFIG_H -I. -I..  -I../include -Wall -Werror -Wextra    -O2 -pipe  -Wno-error=deprecated-non-prototype -fstack-protector-strong -fno-strict-aliasing -MT screen.o -MD -MP -MF .deps/screen.Tpo -c -o screen.o screen.c
--- llist.o ---
mv -f .deps/llist.Tpo .deps/llist.Po
--- hexcurse.o ---
cc -DHAVE_CONFIG_H -I. -I..  -I../include -Wall -Werror -Wextra    -O2 -pipe  -Wno-error=deprecated-non-prototype -fstack-protector-strong -fno-strict-aliasing -MT hexcurse.o -MD -MP -MF .deps/hexcurse.Tpo -c -o hexcurse.o hexcurse.c
hexcurse.c:237:30: error: 'snprintf' will always be truncated; specified size is 1, but format string expands to at least 2 [-Werror,-Wformat-truncation]
  237 |         min_address_length = snprintf(buffer, 1, "%jd", (intmax_t)len);
      |                              ^
1 error generated.
*** [hexcurse.o] Error code 1

make[2]: stopped in /wrkdirs/usr/ports/editors/hexcurse/work/hexcurse-1.60.0/src
--- file.o ---
mv -f .deps/file.Tpo .deps/file.Po
--- screen.o ---
mv -f .deps/screen.Tpo .deps/screen.Po
make[2]: 1 error

make[2]: stopped in /wrkdirs/usr/ports/editors/hexcurse/work/hexcurse-1.60.0/src

make[1]: stopped in /wrkdirs/usr/ports/editors/hexcurse/work/hexcurse-1.60.0

make: stopped in /wrkdirs/usr/ports/editors/hexcurse/work/hexcurse-1.60.0
===> 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/editors/hexcurse