[package - main-i386-default][japanese/Wnn7-lib] Failed for ja-Wnn7-lib-2001.10.17_3 in build

From: <pkg-fallout_at_FreeBSD.org>
Date: Fri, 10 Feb 2023 05:06:22 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:     hrs@FreeBSD.org
Log URL:        https://pkg-status.freebsd.org/beefy17/data/main-i386-default/p58633340e9ed_s5636590214/logs/ja-Wnn7-lib-2001.10.17_3.log
Build URL:      https://pkg-status.freebsd.org/beefy17/build.html?mastername=main-i386-default&build=p58633340e9ed_s5636590214
Log:

=>> Building japanese/Wnn7-lib
build started at Fri Feb 10 05:04:48 UTC 2023
port directory: /usr/ports/japanese/Wnn7-lib
package name: ja-Wnn7-lib-2001.10.17_3
building for: FreeBSD main-i386-default-job-01 14.0-CURRENT FreeBSD 14.0-CURRENT 1400079 i386
maintained by: hrs@FreeBSD.org
Makefile ident: 
Poudriere version: 3.2.8-23-ga7f8d188
Host OSVERSION: 1400073
Jail OSVERSION: 1400079
Job Id: 01




!!! Jail is newer than host. (Jail: 1400079, Host: 1400073) !!!
!!! This is not supported. !!!
!!! Host kernel must be same or newer than jail. !!!
!!! Expect build failures. !!!



---Begin Environment---
SHELL=/bin/sh
UNAME_p=i386
UNAME_m=i386
OSVERSION=1400079
UNAME_v=FreeBSD 14.0-CURRENT 1400079
UNAME_r=14.0-CURRENT
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
LOCALBASE=/usr/local
USER=root
LIBEXECPREFIX=/usr/local/libexec/poudriere
POUDRIERE_VERSION=3.2.8-23-ga7f8d188
MASTERMNT=/usr/local/poudriere/data/.m/main-i386-default/ref
POUDRIERE_BUILD_TYPE=bulk
PACKAGE_BUILDING=yes
SAVED_TERM=
PWD=/usr/local/poudriere/data/.m/main-i386-default/ref/.p/pool
P_PORTS_FEATURES=FLAVORS SELECTED_OPTIONS
MASTERNAME=main-i386-default
SCRIPTPREFIX=/usr/local/share/poudriere
OLDPWD=/usr/local/poudriere/data/.m/main-i386-default/ref/.p
SCRIPTPATH=/usr/local/share/poudriere/bulk.sh
POUDRIEREPATH=/usr/local/bin/poudriere
---End Environment---

---Begin Poudriere Port Flags/Env---
PORT_FLAGS=
PKGENV=
FLAVOR=
DEPENDS_ARGS=
MAKE_ARGS=
---End Poudriere Port Flags/Env---

---Begin OPTIONS List---
===> The following configuration options are available for ja-Wnn7-lib-2001.10.17_3:
     DOCS=on: Build and/or install documentation
===> Use 'make config' to modify these settings
---End OPTIONS List---

--MAINTAINER--
hrs@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/Wnn7-lib/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/japanese/Wnn7-lib/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/japanese/Wnn7-lib/work/.cache  HOME=/wrkdirs/usr/ports/japanese/Wnn7-lib/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/japanese/Wnn7-lib/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/japanese/Wnn7-lib/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/Wnn7-lib/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/japanese/Wnn7-lib/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/japanese/Wnn7-lib/work/.cache  HOME=/wrkdirs/usr/ports/japanese/Wnn7-lib/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/japanese/Wnn7-lib/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/japanese/Wnn7-lib/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 -fno-strict-aliasing "  CPP="cpp" CPPFLAGS=""  LDFLAGS=" -fstack-protector-strong " LIBS=""  CXX="c++" CXXFLAGS="-O2 -pipe -fstack-protector-strong -fno-strict-aliasing  "  MANPREFIX="/usr/local" BSD_INSTALL_PROGRAM="install  -s -m 555"  BSD_INS
 TALL_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--
PORTDOCS="" OSREL=14.0 PREFIX=%D LOCALBASE=/usr/local  RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/Wnn7"  EXAMPLESDIR="share/examples/Wnn7"  DATADIR="share/Wnn7"  WWWDIR="www/Wnn7"  ETCDIR="etc/Wnn7"
--End PLIST_SUB--

--SUB_LIST--
PREFIX=/usr/local LOCALBASE=/usr/local  DATADIR=/usr/local/share/Wnn7 DOCSDIR=/usr/local/share/doc/Wnn7 EXAMPLESDIR=/usr/local/share/examples/Wnn7  WWWDIR=/usr/local/www/Wnn7 ETCDIR=/usr/local/etc/Wnn7
--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}
#### /usr/local/etc/poudriere.d/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 2 jobs
MAKE_JOBS_NUMBER=2
#### /usr/ports/Mk/Scripts/ports_env.sh ####
_CCVERSION_921dbbb2=FreeBSD clang version 15.0.7 (https://github.com/llvm/llvm-project.git llvmorg-15.0.7-0-g8dfdcc7b7bf6) Target: i386-unknown-freebsd14.0 Thread model: posix InstalledDir: /usr/bin
_ALTCCVERSION_921dbbb2=none
_CXXINTERNAL_acaad9ca=FreeBSD clang version 15.0.7 (https://github.com/llvm/llvm-project.git llvmorg-15.0.7-0-g8dfdcc7b7bf6) Target: i386-unknown-freebsd14.0 Thread model: posix InstalledDir: /usr/bin "/usr/bin/ld" "--eh-frame-hdr" "-dynamic-linker" "/libexec/ld-elf.so.1" "--hash-style=both" "--enable-new-dtags" "-m" "elf_i386_fbsd" "-o" "a.out" "/usr/lib/crt1.o" "/usr/lib/crti.o" "/usr/lib/crtbegin.o" "-L/usr/lib" "/dev/null" "-lc++" "-lm" "-lgcc" "--as-needed" "-lgcc_s" "--no-as-needed" "-lc" "-lgcc" "--as-needed" "-lgcc_s" "--no-as-needed" "/usr/lib/crtend.o" "/usr/lib/crtn.o"
CC_OUTPUT_921dbbb2_58173849=yes
CC_OUTPUT_921dbbb2_9bdba57c=yes
CC_OUTPUT_921dbbb2_6a4fe7f5=yes
CC_OUTPUT_921dbbb2_6bcac02b=yes
CC_OUTPUT_921dbbb2_67d20829=yes
CC_OUTPUT_921dbbb2_bfa62e83=yes
CC_OUTPUT_921dbbb2_f0b4d593=yes
CC_OUTPUT_921dbbb2_308abb44=yes
CC_OUTPUT_921dbbb2_f00456e5=yes
CC_OUTPUT_921dbbb2_65ad290d=yes
CC_OUTPUT_921dbbb2_f2776b26=yes
CC_OUTPUT_921dbbb2_53255a77=yes
CC_OUTPUT_921dbbb2_911cfe02=yes
CC_OUTPUT_921dbbb2_b2657cc3=yes
CC_OUTPUT_921dbbb2_380987f7=yes
CC_OUTPUT_921dbbb2_160933ec=yes
CC_OUTPUT_921dbbb2_fb62803b=yes
CC_OUTPUT_921dbbb2_af59ad06=yes
CC_OUTPUT_921dbbb2_a15f3fcf=yes
_OBJC_CCVERSION_921dbbb2=FreeBSD clang version 15.0.7 (https://github.com/llvm/llvm-project.git llvmorg-15.0.7-0-g8dfdcc7b7bf6) Target: i386-unknown-freebsd14.0 Thread model: posix InstalledDir: /usr/bin
_OBJC_ALTCCVERSION_921dbbb2=none
ARCH=i386
OPSYS=FreeBSD
_OSRELEASE=14.0-CURRENT
OSREL=14.0
OSVERSION=1400079
PYTHONBASE=/usr/local
CONFIGURE_MAX_CMD_LEN=524288
HAVE_PORTS_ENV=1
#### Misc Poudriere ####
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)  1024
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   >============================
===========================================================================
=======================<phase: pkg-depends    >============================
===>   ja-Wnn7-lib-2001.10.17_3 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-1.19.1.pkg
[main-i386-default-job-01] Installing pkg-1.19.1...
[main-i386-default-job-01] Extracting pkg-1.19.1: .......... done
===>   ja-Wnn7-lib-2001.10.17_3 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of ja-Wnn7-lib-2001.10.17_3
===========================================================================
=======================<phase: fetch-depends  >============================
===========================================================================
=======================<phase: fetch          >============================
===> Fetching all distfiles required by ja-Wnn7-lib-2001.10.17_3 for building
===========================================================================
=======================<phase: checksum       >============================
===> Fetching all distfiles required by ja-Wnn7-lib-2001.10.17_3 for building
=> SHA256 Checksum OK for Wnn7SDK.tgz.
===========================================================================
=======================<phase: extract-depends>============================
===========================================================================
=======================<phase: extract        >============================
===> Fetching all distfiles required by ja-Wnn7-lib-2001.10.17_3 for building
===>  Extracting for ja-Wnn7-lib-2001.10.17_3
===> Fetching all distfiles required by ja-Wnn7-lib-2001.10.17_3 for building
=> SHA256 Checksum OK for Wnn7SDK.tgz.
===========================================================================
=======================<phase: patch-depends  >============================
===========================================================================
=======================<phase: patch          >============================
===>  Patching for ja-Wnn7-lib-2001.10.17_3
===>  Applying FreeBSD patches for ja-Wnn7-lib-2001.10.17_3 from /usr/ports/japanese/Wnn7-lib/files
===========================================================================
=======================<phase: build-depends  >============================
<snip>
^
jl.c:8319:7: warning: promoted type 'int' of K&R function parameter is not compatible with the parameter type 'short' declared in a previous prototype [-Wknr-promoted-parameter]
short keylen;
      ^
/wrkdirs/usr/ports/japanese/Wnn7-lib/work/src/Wnn/include/jllib.h:454:72: note: previous declaration is here
extern int jl_yosoku_toroku(struct wnn_buf *buf, w_char *keybuf, short keylen);
                                                                       ^
jl.c:8342:14: warning: passing arguments to 'wnn_Strncpy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                wnn_Strncpy(yomi, keybuf, (int)keylen);
                           ^
jl.c:8343:12: warning: passing 'char[512]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
                _sStrcpy(yk_bunsetsu[0].yomi, yomi);
                         ^~~~~~~~~~~~~~~~~~~
jl.c:8344:12: warning: passing 'char[512]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
                _sStrcpy(yk_bunsetsu[0].kanji, yomi);
                         ^~~~~~~~~~~~~~~~~~~~
jl.c:8365:15: warning: passing 'char[513]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
                                        _sStrcpy(tmpyomikanji, yomi);
                                                 ^~~~~~~~~~~~
jl.c:8368:15: warning: passing 'char[513]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
                                        _sStrcpy(tmpyomikanji, kanji);
                                                 ^~~~~~~~~~~~
jl.c:8378:14: warning: passing 'char[512]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
                                _sStrcpy(yk_bunsetsu[i].yomi, yomi);
                                         ^~~~~~~~~~~~~~~~~~~
jl.c:8380:14: warning: passing 'char[512]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
                                _sStrcpy(yk_bunsetsu[i].kanji, kanji);
                                         ^~~~~~~~~~~~~~~~~~~~
jl.c:8415:15: warning: passing arguments to 'wnn_Strncpy' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                        wnn_Strncpy(yomi, keybuf + bunlen, (int)(keylen - bunlen));
                                   ^
jl.c:8416:13: warning: passing 'char[512]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
                        _sStrcpy(yk_bunsetsu[bun_num].yomi, yomi);
                                 ^~~~~~~~~~~~~~~~~~~~~~~~~
jl.c:8417:13: warning: passing 'char[512]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
                        _sStrcpy(yk_bunsetsu[bun_num].kanji, yomi);
                                 ^~~~~~~~~~~~~~~~~~~~~~~~~~
jl.c:8448:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
jl_yosoku_selected_cand(buf, selectpos)
^
jl.c:8476:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
jl_yosoku_delete_cand(buf, selectpos)
^
jl.c:8503:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
jl_yosoku_cancel_toroku(buf)
^
jl.c:8529:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
jl_yosoku_reset_pre_yosoku(buf)
^
jl.c:8557:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
jl_yosoku_ikkatsu_toroku(buf, str, size)
^
jl.c:8585:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
jl_yosoku_ikkatsu_toroku_init(buf)
^
jl.c:8611:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
jl_yosoku_ikkatsu_toroku_end(buf)
^
jl.c:8637:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
jl_yosoku_save_datalist(buf)
^
jl.c:8665:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
jl_yosoku_set_user_inputinfo(buf, allkey, userkey)
^
jl.c:8697:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
jl_yosoku_set_timeinfo(buf, yosokuselect, throughyosoku, inputtime, keylen)
^
jl.c:8728:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
jl_yosoku_status(buf, ykinfo)
^
jl.c:8817:26: warning: passing arguments to 'js_assoc_with_data' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        cnt = js_assoc_with_data(buf->env,      /* <B4>Ķ<AD>*/
                                ^
jl.c:8831:3: warning: incompatible pointer types passing 'WNN_ENV_INT *' (aka 'struct wnn_env_int *') to parameter of type 'struct wnn_env *' [-Wincompatible-pointer-types]
                if_dead_disconnect_b(buf_m);
                ^~~~~~~~~~~~~~~~~~~~~~~~~~~
jl.c:203:42: note: expanded from macro 'if_dead_disconnect_b'
       jl_disconnect_if_server_dead_body((WNN_ENV_INT *) \
                                         ^~~~~~~~~~~~~~~~~
jl.c:8758:5: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
int jl_zenassoc_dai(buf, bun_no, bun_no2, use_maep, uniq_level)
    ^
In file included from jl.c:162:
/wrkdirs/usr/ports/japanese/Wnn7-lib/work/src/Wnn/include/jllib.h:467:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
extern int jl_zenassoc_dai();
           ^
jl.c:8887:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
jl_set_henkan_hinsi_group(env, hinsi, start, end, use)
^
jl.c:8914:24: warning: passing arguments to 'js_set_henkan_hinsi' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        if(js_set_henkan_hinsi(env, 1, nhinsi, hlist) < 0)
                              ^
jl.c:8943:25: warning: illegal character encoding in string literal [-Winvalid-source-encoding]
    _Sstrcpy(whname, "Ϣ<C1><DB>");
                       ^~~~~~~~
jl.c:8943:22: warning: passing 'char[5]' to parameter of type 'unsigned char *' converts between pointers to integer types where one is of the unique plain 'char' type and the other is not [-Wpointer-sign]
    _Sstrcpy(whname, "Ϣ<C1><DB>");
                     ^~~~~~~~~~~
jl.c:8947:27: warning: passing arguments to 'js_set_henkan_hinsi' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    if(js_set_henkan_hinsi(env, 1, -1, hlist) < 0) {
                          ^
jl.c:8935:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
jl_rensou_unuse_hinsi_set(env)
^
In file included from jl.c:162:
/wrkdirs/usr/ports/japanese/Wnn7-lib/work/src/Wnn/include/jllib.h:468:12: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
extern int jl_rensou_unuse_hinsi_set();
           ^
jl.c:8955:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
rev_setting(dic_name, hindo_name, prio, rdonly, hrdonly, pwd_dic, pwd_hindo, rev)
^
904 warnings generated.
rm -f msg.o unshared/msg.o
cc -c   -I/wrkdirs/usr/ports/japanese/Wnn7-lib/work/src/Wnn/include -I/wrkdirs/usr/ports/japanese/Wnn7-lib/work/src  -I/usr/local/include    -DCSRG_BASED  -DFUNCPROTO=15 -DNARROWPROTO   -DLIBDIR=\"/usr/local/lib/wnn7\" -DETCDIR=\"/etc/wnn7\" -DVARDIR=\"/var/lib/wnn7\" -DSHAREDIR=\"/usr/local/share/wnn7\"  -DWRITE_CHECK       /wrkdirs/usr/ports/japanese/Wnn7-lib/work/src/Wnn/etc/`basename msg.o .o`.c -o unshared/msg.o
/wrkdirs/usr/ports/japanese/Wnn7-lib/work/src/Wnn/etc/msg.c:176:18: warning: passing arguments to a function without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                ret = (*compar)((void *)key, (void *)p);
                               ^
/wrkdirs/usr/ports/japanese/Wnn7-lib/work/src/Wnn/etc/msg.c:159:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
bsearch(ky, bs, nel, width, compar)
^
/wrkdirs/usr/ports/japanese/Wnn7-lib/work/src/Wnn/etc/msg.c:189:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
_search(id, bd)
^
/wrkdirs/usr/ports/japanese/Wnn7-lib/work/src/Wnn/etc/msg.c:197:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
_escape(op, ip)
^
/wrkdirs/usr/ports/japanese/Wnn7-lib/work/src/Wnn/etc/msg.c:247:32: error: incompatible integer to pointer conversion passing 'int' to parameter of type 'char *' [-Wint-conversion]
        bd = (struct msg_bd *)bsearch(id, cd->msg_bd, cd->msg_cnt,
                                      ^~
/wrkdirs/usr/ports/japanese/Wnn7-lib/work/src/Wnn/etc/msg.c:247:36: warning: incompatible pointer types passing 'struct msg_bd *' to parameter of type 'char *' [-Wincompatible-pointer-types]
        bd = (struct msg_bd *)bsearch(id, cd->msg_bd, cd->msg_cnt,
                                          ^~~~~~~~~~
/wrkdirs/usr/ports/japanese/Wnn7-lib/work/src/Wnn/etc/msg.c:237:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
get_msg_bd(cd, id)
^
/wrkdirs/usr/ports/japanese/Wnn7-lib/work/src/Wnn/etc/msg.c:255:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
msg_open(name)
^
/wrkdirs/usr/ports/japanese/Wnn7-lib/work/src/Wnn/etc/msg.c:269:31: warning: call to undeclared library function 'malloc' with type 'void *(unsigned int)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
        if (!(cd = (struct msg_cat *)malloc(sizeof(struct msg_cat))))
                                     ^
/wrkdirs/usr/ports/japanese/Wnn7-lib/work/src/Wnn/etc/msg.c:269:31: note: include the header <stdlib.h> or explicitly provide a declaration for 'malloc'
/wrkdirs/usr/ports/japanese/Wnn7-lib/work/src/Wnn/etc/msg.c:272:2: warning: call to undeclared library function 'memset' with type 'void *(void *, int, unsigned int)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
        memset(fn, 0, sizeof(fn));
        ^
/wrkdirs/usr/ports/japanese/Wnn7-lib/work/src/Wnn/etc/msg.c:272:2: note: include the header <string.h> or explicitly provide a declaration for 'memset'
/wrkdirs/usr/ports/japanese/Wnn7-lib/work/src/Wnn/etc/msg.c:275:4: warning: call to undeclared library function 'strncpy' with type 'char *(char *, const char *, unsigned int)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
                        strncpy(fn, name, sizeof(fn) - 1);
                        ^
/wrkdirs/usr/ports/japanese/Wnn7-lib/work/src/Wnn/etc/msg.c:275:4: note: include the header <string.h> or explicitly provide a declaration for 'strncpy'
/wrkdirs/usr/ports/japanese/Wnn7-lib/work/src/Wnn/etc/msg.c:312:15: warning: call to undeclared library function 'strlen' with type 'unsigned int (const char *)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
                msg_byte += strlen(dp);
                            ^
/wrkdirs/usr/ports/japanese/Wnn7-lib/work/src/Wnn/etc/msg.c:312:15: note: include the header <string.h> or explicitly provide a declaration for 'strlen'
/wrkdirs/usr/ports/japanese/Wnn7-lib/work/src/Wnn/etc/msg.c:321:3: warning: call to undeclared library function 'free' with type 'void (void *)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
                free(cd);
                ^
/wrkdirs/usr/ports/japanese/Wnn7-lib/work/src/Wnn/etc/msg.c:321:3: note: include the header <stdlib.h> or explicitly provide a declaration for 'free'
/wrkdirs/usr/ports/japanese/Wnn7-lib/work/src/Wnn/etc/msg.c:351:16: warning: call to undeclared function 'atoi'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
                bd->msg_id = atoi(data);
                             ^
/wrkdirs/usr/ports/japanese/Wnn7-lib/work/src/Wnn/etc/msg.c:355:3: warning: call to undeclared library function 'strcpy' with type 'char *(char *, const char *)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
                strcpy(msg, save);
                ^
/wrkdirs/usr/ports/japanese/Wnn7-lib/work/src/Wnn/etc/msg.c:355:3: note: include the header <string.h> or explicitly provide a declaration for 'strcpy'
/wrkdirs/usr/ports/japanese/Wnn7-lib/work/src/Wnn/etc/msg.c:365:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
msg_get(catd, id, msg)
^
/wrkdirs/usr/ports/japanese/Wnn7-lib/work/src/Wnn/etc/msg.c:384:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
msg_close(cd)
^
In file included from /wrkdirs/usr/ports/japanese/Wnn7-lib/work/src/Wnn/etc/msg.c:155:
/wrkdirs/usr/ports/japanese/Wnn7-lib/work/src/Wnn/include/msg.h:162:13: warning: a function declaration without a prototype is deprecated in all versions of C and is treated as a zero-parameter prototype in C2x, conflicting with a subsequent definition [-Wdeprecated-non-prototype]
extern void msg_close();
            ^
17 warnings and 1 error generated.
*** Error code 1

Stop.
make[5]: stopped in /wrkdirs/usr/ports/japanese/Wnn7-lib/work/src/Wnn/jlib
*** Error code 1

Stop.
make[4]: stopped in /wrkdirs/usr/ports/japanese/Wnn7-lib/work/src/Wnn
*** Error code 1

Stop.
make[3]: stopped in /wrkdirs/usr/ports/japanese/Wnn7-lib/work/src
*** Error code 1

Stop.
make[2]: stopped in /wrkdirs/usr/ports/japanese/Wnn7-lib/work/src
*** Error code 1

Stop.
make[1]: stopped in /usr/ports/japanese/Wnn7-lib
*** Error code 1

Stop.
make: stopped in /usr/ports/japanese/Wnn7-lib