[package - main-i386-default][japanese/kdrill] Failed for ja-kdrill-6.5_1 in build

From: <pkg-fallout_at_FreeBSD.org>
Date: Wed, 04 Sep 2024 00:34:34 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/beefy17/data/main-i386-default/p94b089c7ad30_sb162fc3f309/logs/ja-kdrill-6.5_1.log
Build URL:      https://pkg-status.freebsd.org/beefy17/build.html?mastername=main-i386-default&build=p94b089c7ad30_sb162fc3f309
Log:

=>> Building japanese/kdrill
build started at Wed Sep  4 00:34:27 UTC 2024
port directory: /usr/ports/japanese/kdrill
package name: ja-kdrill-6.5_1
building for: FreeBSD main-i386-default-job-10 15.0-CURRENT FreeBSD 15.0-CURRENT 1500023 i386
maintained by: ports@FreeBSD.org
Makefile datestamp: -rw-r--r--  1 root wheel 1166 Jan 11  2024 /usr/ports/japanese/kdrill/Makefile
Ports top last git commit: 94b089c7ad3
Ports top unclean checkout: no
Port dir last git commit: c75c9446864
Port dir unclean checkout: no
Poudriere version: poudriere-git-3.4.2
Host OSVERSION: 1500023
Jail OSVERSION: 1500023
Job Id: 10

---Begin Environment---
SHELL=/bin/sh
BLOCKSIZE=K
MAIL=/var/mail/root
MM_CHARSET=UTF-8
LANG=C.UTF-8
OSVERSION=1500023
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 1500023
USER=root
POUDRIERE_NAME=poudriere-git
LIBEXECPREFIX=/usr/local/libexec/poudriere
POUDRIERE_VERSION=3.4.2
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.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--

--End CONFIGURE_ARGS--

--CONFIGURE_ENV--
IMAKECPP=tradcpp IMAKECPPFLAGS="-DCppCmd=tradcpp -DCcCmd=cc -DCplusplusCmd=c++" XDG_DATA_HOME=/wrkdirs/usr/ports/japanese/kdrill/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/japanese/kdrill/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/japanese/kdrill/work/.cache  HOME=/wrkdirs/usr/ports/japanese/kdrill/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/japanese/kdrill/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/japanese/kdrill/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/local/share/pkgconfig:/usr/libdata/pkgconfig SHELL=/bin/sh CONFIG_SHELL=/bin/sh
--End CONFIGURE_ENV--

--MAKE_ENV--
IMAKECPP=tradcpp IMAKECPPFLAGS="-DCppCmd=tradcpp -DCcCmd=cc -DCplusplusCmd=c++" XDG_DATA_HOME=/wrkdirs/usr/ports/japanese/kdrill/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/japanese/kdrill/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/japanese/kdrill/work/.cache  HOME=/wrkdirs/usr/ports/japanese/kdrill/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/japanese/kdrill/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/japanese/kdrill/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=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing "  CPP="cpp" CPPFLAGS=""  LDFLAGS=" -fstack-protector-strong " LIBS=""  CXX="c++" CXXFLAGS="-O2 -pipe -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-s
trict-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/kdrill"  EXAMPLESDIR="share/examples/kdrill"  DATADIR="share/dict/kdrill"  WWWDIR="www/kdrill"  ETCDIR="etc/kdrill"
--End PLIST_SUB--

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

The kdrill 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

===========================================================================
=======================<phase: pkg-depends    >============================
===== env: USE_PACKAGE_DEPENDS_ONLY=1 USER=root UID=0 GID=0
===>   ja-kdrill-6.5_1 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-1.21.3.pkg
[main-i386-default-job-10] Installing pkg-1.21.3...
[main-i386-default-job-10] Extracting pkg-1.21.3: .......... done
===>   ja-kdrill-6.5_1 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of ja-kdrill-6.5_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
===>   NOTICE:

The kdrill 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

===> Fetching all distfiles required by ja-kdrill-6.5_1 for building
===========================================================================
=======================<phase: checksum       >============================
===== env: NO_DEPENDS=yes USER=root UID=0 GID=0
===>   NOTICE:

The kdrill 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

===> Fetching all distfiles required by ja-kdrill-6.5_1 for building
=> SHA256 Checksum OK for kdrill6.5.tar.gz.
===========================================================================
=======================<phase: extract-depends>============================
<snip>
/usr/local/lib/X11/config/X11.tmpl:4159:12: Warning: value of undefined symbol UseInstalledOnCrossCompile is 0
In file included from Imakefile.c:15:2:
In file included from /usr/local/lib/X11/config/Imake.tmpl:2157:2:
/usr/local/lib/X11/config/X11.tmpl:4211:12: Warning: value of undefined symbol UseInstalledOnCrossCompile is 0
In file included from Imakefile.c:15:2:
In file included from /usr/local/lib/X11/config/Imake.tmpl:2157:2:
/usr/local/lib/X11/config/X11.tmpl:4230:12: Warning: value of undefined symbol UseInstalledOnCrossCompile is 0
In file included from Imakefile.c:15:2:
In file included from /usr/local/lib/X11/config/Imake.tmpl:2157:2:
/usr/local/lib/X11/config/X11.tmpl:4302:12: Warning: value of undefined symbol UseInstalledOnCrossCompile is 0
In file included from Imakefile.c:15:2:
In file included from /usr/local/lib/X11/config/Imake.tmpl:2157:2:
/usr/local/lib/X11/config/X11.tmpl:4332:12: Warning: value of undefined symbol UseInstalledOnCrossCompile is 0
In file included from Imakefile.c:15:2:
In file included from /usr/local/lib/X11/config/Imake.tmpl:2157:2:
/usr/local/lib/X11/config/X11.tmpl:4348:12: Warning: value of undefined symbol UseInstalledOnCrossCompile is 0
In file included from Imakefile.c:15:2:
In file included from /usr/local/lib/X11/config/Imake.tmpl:2157:2:
/usr/local/lib/X11/config/X11.tmpl:4419:12: Warning: value of undefined symbol UseInstalledOnCrossCompile is 0
--- game.o ---
cc  -O2 -pipe  -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing      -I/usr/local/include/X11  -I/usr/local/include    -DCSRG_BASED  -DFUNCPROTO=15 -DNARROWPROTO     -c game.c -o game.o
--- readfile.o ---
readfile.c:58:12: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
   58 |         val=fgets(s,MAXLINELEN,fp);
      |                   ^
/usr/include/stdio.h:270:32: note: passing argument to parameter here
  270 | char    *(fgets)(char * __restrict, int, FILE * __restrict);
      |                                   ^
readfile.c:63:22: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
   63 |         endparse=& s[strlen(s)-1];
      |                             ^
/usr/include/string.h:102:28: note: passing argument to parameter here
  102 | size_t   strlen(const char *) __pure;
      |                             ^
readfile.c:63:10: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
   63 |         endparse=& s[strlen(s)-1];
      |                 ^~~~~~~~~~~~~~~~~
readfile.c:133:13: warning: expression which evaluates to zero treated as a null pointer constant of type 'char *' [-Wnon-literal-null-conversion]
  133 |                 topdest = '\0';
      |                           ^~~~
readfile.c:136:16: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
  136 |         parse=strrchr(source, '/');
      |                       ^~~~~~
/usr/include/string.h:123:27: note: passing argument to parameter here
  123 | char    *strrchr(const char *, int) __pure;
      |                              ^
readfile.c:136:7: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
  136 |         parse=strrchr(source, '/');
      |              ^~~~~~~~~~~~~~~~~~~~~
readfile.c:143:19: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
  143 |         strncpy(topdest, &source[1], parse- source - 1);
      |                          ^~~~~~~~~~
/usr/include/string.h:114:59: note: passing argument to parameter here
  114 | char    *(strncpy)(char * __restrict, const char * __restrict, size_t);
      |                                                              ^
--- options.o ---
In file included from options.c:21:
./grades.h:1:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C23, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
    1 | extern void MakeGradeSelect(),CountKanji();
      |             ^
options.c:200:6: note: conflicting prototype is here
  200 | void MakeGradeSelect(Widget parent){
      |      ^
1 warning generated.
make: in target "init.o": while evaluating variable "RADDEFS" with value "-DRADLOCATION='"KDrill*radkfile:	 $(RADLOCATION)"'": while evaluating variable "RADLOCATION" with value "$(LOCALBASE/share/dict/edict/radkfile": Unclosed variable "LOCALBASE/share/dict/edict/radkfile"
--- init.o ---
rm -f init.o
cc -c -O2 -pipe  -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing      -I/usr/local/include/X11  -I/usr/local/include    -DCSRG_BASED  -DFUNCPROTO=15 -DNARROWPROTO      -DDICTLOCATION='"KDrill*kdictfile:	 /usr/local/share/dict/edict/kanjidic"' -DEDICTLOCATION='"KDrill*edictfile:	 /usr/local/share/dict/edict/edict"' -DRADLOCATION='"KDrill*radkfile:	 "'  init.c
--- readfile.o ---
7 warnings generated.
--- widgets.o ---
cc  -O2 -pipe  -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing      -I/usr/local/include/X11  -I/usr/local/include    -DCSRG_BASED  -DFUNCPROTO=15 -DNARROWPROTO     -c widgets.c -o widgets.o
--- init.o ---
init.c:171:5: warning: call to undeclared function 'isMapped'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
  171 |         if(isMapped(w)){
      |            ^
--- grades.o ---
cc  -O2 -pipe  -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing      -I/usr/local/include/X11  -I/usr/local/include    -DCSRG_BASED  -DFUNCPROTO=15 -DNARROWPROTO     -c grades.c -o grades.o
--- init.o ---
1 warning generated.
--- frequency.o ---
cc  -O2 -pipe  -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing      -I/usr/local/include/X11  -I/usr/local/include    -DCSRG_BASED  -DFUNCPROTO=15 -DNARROWPROTO     -c frequency.c -o frequency.o
--- widgets.o ---
widgets.c:860:21: warning: incompatible function pointer types initializing 'XtActionProc' (aka 'void (*)(struct _WidgetRec *, union _XEvent *, char **, unsigned int *)') with an expression of type 'void (Widget, XtPointer, XtPointer)' (aka 'void (struct _WidgetRec *, void *, void *)') [-Wincompatible-function-pointer-types]
  860 |         { "stroke-search",      DoStrokeSearch}, /* ignore warning*/
      |                                 ^~~~~~~~~~~~~~
--- mainwindow.o ---
cc  -O2 -pipe  -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing      -I/usr/local/include/X11  -I/usr/local/include    -DCSRG_BASED  -DFUNCPROTO=15 -DNARROWPROTO     -c mainwindow.c -o mainwindow.o
--- search.o ---
cc  -O2 -pipe  -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing      -I/usr/local/include/X11  -I/usr/local/include    -DCSRG_BASED  -DFUNCPROTO=15 -DNARROWPROTO     -c search.c -o search.o
--- widgets.o ---
1 warning generated.
--- log.o ---
cc  -O2 -pipe  -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing      -I/usr/local/include/X11  -I/usr/local/include    -DCSRG_BASED  -DFUNCPROTO=15 -DNARROWPROTO     -c log.c -o log.o
--- utils.o ---
rm -f utils.o
cc -c -O2 -pipe  -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing      -I/usr/local/include/X11  -I/usr/local/include    -DCSRG_BASED  -DFUNCPROTO=15 -DNARROWPROTO      -DUNCOMPRESS='"gzip -d -c"' 		-DUNCOMPRESSEXT='".gz"'  utils.c
utils.c:100:17: warning: comparing a pointer to a null character constant; did you mean to compare to NULL? [-Wpointer-compare]
  100 |                 if(stringp == '\0')
      |                               ^~~~
      |                               (void *)0
utils.c:106:17: warning: comparing a pointer to a null character constant; did you mean to compare to NULL? [-Wpointer-compare]
  106 |                 if(stringp == '\0')
      |                               ^~~~
      |                               (void *)0
--- kanasearch.o ---
cc  -O2 -pipe  -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing      -I/usr/local/include/X11  -I/usr/local/include    -DCSRG_BASED  -DFUNCPROTO=15 -DNARROWPROTO     -c kanasearch.c -o kanasearch.o
--- utils.o ---
2 warnings generated.
--- convert.o ---
cc  -O2 -pipe  -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing      -I/usr/local/include/X11  -I/usr/local/include    -DCSRG_BASED  -DFUNCPROTO=15 -DNARROWPROTO     -c convert.c -o convert.o
--- multikanji.o ---
cc  -O2 -pipe  -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing      -I/usr/local/include/X11  -I/usr/local/include    -DCSRG_BASED  -DFUNCPROTO=15 -DNARROWPROTO     -c multikanji.c -o multikanji.o
--- kanjisearch.o ---
cc  -O2 -pipe  -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing      -I/usr/local/include/X11  -I/usr/local/include    -DCSRG_BASED  -DFUNCPROTO=15 -DNARROWPROTO     -c kanjisearch.c -o kanjisearch.o
--- strokesearch.o ---
make: in target "radsearch.o": while evaluating variable "RADDEFS" with value "-DRADLOCATION='"KDrill*radkfile:	 $(RADLOCATION)"'": while evaluating variable "RADLOCATION" with value "$(LOCALBASE/share/dict/edict/radkfile": Unclosed variable "LOCALBASE/share/dict/edict/radkfile"
--- radsearch.o ---
--- strokesearch.o ---
cc  -O2 -pipe  -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing      -I/usr/local/include/X11  -I/usr/local/include    -DCSRG_BASED  -DFUNCPROTO=15 -DNARROWPROTO     -c strokesearch.c -o strokesearch.o
--- radsearch.o ---
rm -f radsearch.o
cc -c -O2 -pipe  -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing      -I/usr/local/include/X11  -I/usr/local/include    -DCSRG_BASED  -DFUNCPROTO=15 -DNARROWPROTO      -DRADLOCATION='"KDrill*radkfile:	 "'  radsearch.c
--- kanjisearch.o ---
kanjisearch.c:110:4: warning: call to undeclared library function 'exit' with type 'void (int) __attribute__((noreturn))'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
  110 |                         exit(1);
      |                         ^
kanjisearch.c:110:4: note: include the header <stdlib.h> or explicitly provide a declaration for 'exit'
--- searchwidgets.o ---
--- radsearch.o ---
radsearch.c:525:4: warning: call to undeclared library function 'exit' with type 'void (int) __attribute__((noreturn))'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
  525 |                         exit(1);
      |                         ^
radsearch.c:525:4: note: include the header <stdlib.h> or explicitly provide a declaration for 'exit'
--- searchwidgets.o ---
cc  -O2 -pipe  -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing      -I/usr/local/include/X11  -I/usr/local/include    -DCSRG_BASED  -DFUNCPROTO=15 -DNARROWPROTO     -c searchwidgets.c -o searchwidgets.o
--- kanjisearch.o ---
1 warning generated.
--- prefs.o ---
cc  -O2 -pipe  -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing      -I/usr/local/include/X11  -I/usr/local/include    -DCSRG_BASED  -DFUNCPROTO=15 -DNARROWPROTO     -c prefs.c -o prefs.o
--- searchwidgets.o ---
searchwidgets.c:309:6: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C23 [-Wdeprecated-non-prototype]
  309 | long TextLength (w)
      |      ^
--- prefs.o ---
prefs.c:206:21: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
  206 |                 sprintf(classbuff,*rname);
      |                                   ^~~~~~
prefs.c:206:21: note: treat the string as an argument to avoid this
  206 |                 sprintf(classbuff,*rname);
      |                                   ^
      |                                   "%s", 
1 warning generated.
--- radsearch.o ---
1 warning generated.
--- badguess.o ---
cc  -O2 -pipe  -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing      -I/usr/local/include/X11  -I/usr/local/include    -DCSRG_BASED  -DFUNCPROTO=15 -DNARROWPROTO     -c badguess.c -o badguess.o
--- skipsearch.o ---
cc  -O2 -pipe  -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing      -I/usr/local/include/X11  -I/usr/local/include    -DCSRG_BASED  -DFUNCPROTO=15 -DNARROWPROTO     -c skipsearch.c -o skipsearch.o
--- searchwidgets.o ---
1 warning generated.
--- learn.o ---
cc  -O2 -pipe  -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing      -I/usr/local/include/X11  -I/usr/local/include    -DCSRG_BASED  -DFUNCPROTO=15 -DNARROWPROTO     -c learn.c -o learn.o
--- skipsearch.o ---
skipsearch.c:131:9: warning: equality comparison with extraneous parentheses [-Wparentheses-equality]
  131 |                 if((s1==0)) {
      |                     ~~^~~
skipsearch.c:131:9: note: remove extraneous parentheses around the comparison to silence this warning
  131 |                 if((s1==0)) {
      |                    ~  ^  ~
skipsearch.c:131:9: note: use '=' to turn this equality comparison into an assignment
  131 |                 if((s1==0)) {
      |                       ^~
      |                       =
--- timeout.o ---
cc  -O2 -pipe  -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing      -I/usr/local/include/X11  -I/usr/local/include    -DCSRG_BASED  -DFUNCPROTO=15 -DNARROWPROTO     -c timeout.c -o timeout.o
--- kdrill._man ---
rm -f kdrill._man
if test -z "" ; then  cd `dirname kdrill` &&  ln -s `basename kdrill.man` `basename kdrill._man`;  else  tradcpp -undef -traditional  -D__apploaddir__=/usr/local/lib/X11/app-defaults -D__appmansuffix__=1 -D__filemansuffix__=5 -D__libmansuffix__=3 -D__miscmansuffix__=7 -D__drivermansuffix__=4 -D__adminmansuffix__=8 -D__projectroot__=/usr/local -D__xconfigfile__=xorg.conf -D__xconfigdir__=/usr/local/lib/X11 -D__xlogfile__=Xorg -D__xservername__=Xorg -D__xorgversion__="\"`echo 7 7 0 | sed -e 's/ /./g' -e 's/^/Version\\\ /'`\" \"X Version 11\"" -D__vendorversion__="`echo 7 7 0 | sed -e 's/ /./g' -e 's/^/Version\\\ /'` X.Org"    < kdrill.man | sed -e '/^#  *[0-9][0-9]*  *.*$/d' 			-e '/^#line  *[0-9][0-9]*  *.*$/d' 			-e '/^[ 	]*XCOMM$/s/XCOMM/#/' 			-e '/^[ 	]*XCOMM[^a-zA-Z0-9_]/s/XCOMM/#/' 			-e '/^[ 	]*XHASH/s/XHASH/#/' 			-e '/\@\@$/s/\@\@$/\\/' >kdrill._man;  fi
--- main.o ---
cc  -O2 -pipe  -Wno-error=incompatible-function-pointer-types -fstack-protector-strong -fno-strict-aliasing      -I/usr/local/include/X11  -I/usr/local/include    -DCSRG_BASED  -DFUNCPROTO=15 -DNARROWPROTO     -c main.c -o main.o
--- skipsearch.o ---
1 warning generated.
make: in target "KDrill.ad": while evaluating variable "RADLOCATION" with value "$(LOCALBASE/share/dict/edict/radkfile": Unclosed variable "LOCALBASE/share/dict/edict/radkfile"
--- KDrill.ad ---
sed -e "s:EDICTLOCATION:/usr/local/share/dict/edict/edict:" 	     -e "s:KDICTLOCATION:/usr/local/share/dict/edict/kanjidic:" 	     -e "s:RADLOCATION::" 	< KDrill.ad-dist > KDrill.ad
--- kdrill ---
rm -f kdrill
cc -o kdrill       -L/usr/local/lib   main.o options.o readfile.o game.o init.o widgets.o grades.o 	frequency.o mainwindow.o search.o log.o utils.o kanasearch.o 	convert.o multikanji.o kanjisearch.o strokesearch.o radsearch.o 	searchwidgets.o prefs.o badguess.o skipsearch.o learn.o timeout.o -lXaw -lXmu -lXt -lSM -lICE -lXpm  -lXext -lX11      -Wl,-rpath,/usr/local/lib
===> Compilation failed unexpectedly.
Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to
the maintainer.
*** Error code 1

Stop.
make[1]: stopped making "build-message do-build post-build" in /usr/ports/japanese/kdrill
*** Error code 1

Stop.
make: stopped making "build" in /usr/ports/japanese/kdrill