[package - main-powerpc64-default][japanese/kinput2] Failed for ja-kinput2-3.1_13 in build

From: <pkg-fallout_at_FreeBSD.org>
Date: Sun, 12 Mar 2023 08:03:05 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/foul1/data/main-powerpc64-default/pc3dd65404e10_s429ba161fb/logs/ja-kinput2-3.1_13.log
Build URL:      https://pkg-status.freebsd.org/foul1/build.html?mastername=main-powerpc64-default&build=pc3dd65404e10_s429ba161fb
Log:

=>> Building japanese/kinput2
build started at Sun Mar 12 07:58:28 UTC 2023
port directory: /usr/ports/japanese/kinput2
package name: ja-kinput2-3.1_13
building for: FreeBSD main-powerpc64-default-job-06 14.0-CURRENT FreeBSD 14.0-CURRENT 1400081 powerpc
maintained by: hrs@FreeBSD.org
Makefile ident: 
Poudriere version: 3.2.8-23-ga7f8d188
Host OSVERSION: 1400073
Jail OSVERSION: 1400081
Job Id: 06




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



---Begin Environment---
SHELL=/bin/sh
OSVERSION=1400081
UNAME_v=FreeBSD 14.0-CURRENT 1400081
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-powerpc64-default/ref
POUDRIERE_BUILD_TYPE=bulk
PACKAGE_BUILDING=yes
SAVED_TERM=
PWD=/usr/local/poudriere/data/.m/main-powerpc64-default/ref/.p/pool
P_PORTS_FEATURES=FLAVORS SELECTED_OPTIONS
MASTERNAME=main-powerpc64-default
SCRIPTPREFIX=/usr/local/share/poudriere
OLDPWD=/usr/local/poudriere/data/.m/main-powerpc64-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-kinput2-3.1_13:
     CANNA=on: Canna support
     FREEWNN=on: FreeWnn support
     SJ3=on: SJ3 support
     TCP=off: TCP transport support (not needed for most cases)
     WNN6=off: Wnn6 support
     WNN7=off: Wnn7 support
===> 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/kinput2/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/japanese/kinput2/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/japanese/kinput2/work/.cache  HOME=/wrkdirs/usr/ports/japanese/kinput2/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/japanese/kinput2/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/japanese/kinput2/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/kinput2/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/japanese/kinput2/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/japanese/kinput2/work/.cache  HOME=/wrkdirs/usr/ports/japanese/kinput2/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/japanese/kinput2/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/japanese/kinput2/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_INSTALL_L
 IB="install  -s -m 0644"  BSD_INSTALL_SCRIPT="install  -m 555"  BSD_INSTALL_DATA="install  -m 0644"  BSD_INSTALL_MAN="install  -m 444"
--End MAKE_ENV--

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

--SUB_LIST--
PREFIX=/usr/local LOCALBASE=/usr/local  DATADIR=/usr/local/share/kinput2 DOCSDIR=/usr/local/share/doc/kinput2 EXAMPLESDIR=/usr/local/share/examples/kinput2  WWWDIR=/usr/local/www/kinput2 ETCDIR=/usr/local/etc/kinput2
--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
#### /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: powerpc64-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: powerpc64-unknown-freebsd14.0 Thread model: posix InstalledDir: /usr/bin "/usr/bin/ld" "--eh-frame-hdr" "-dynamic-linker" "/libexec/ld-elf.so.1" "--enable-new-dtags" "-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: powerpc64-unknown-freebsd14.0 Thread model: posix InstalledDir: /usr/bin
_OBJC_ALTCCVERSION_921dbbb2=none
ARCH=powerpc64
PPC_ABI=ELFv2
OPSYS=FreeBSD
_OSRELEASE=14.0-CURRENT
OSREL=14.0
OSVERSION=1400081
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)  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)  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-kinput2-3.1_13 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-1.19.1_1.pkg
[main-powerpc64-default-job-06] Installing pkg-1.19.1_1...
[main-powerpc64-default-job-06] Extracting pkg-1.19.1_1: .......... done
===>   ja-kinput2-3.1_13 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of ja-kinput2-3.1_13
===========================================================================
=======================<phase: fetch-depends  >============================
===========================================================================
=======================<phase: fetch          >============================
===> Fetching all distfiles required by ja-kinput2-3.1_13 for building
===========================================================================
=======================<phase: checksum       >============================
===> Fetching all distfiles required by ja-kinput2-3.1_13 for building
=> SHA256 Checksum OK for kinput2-v3.1.tar.gz.
===========================================================================
=======================<phase: extract-depends>============================
===========================================================================
=======================<phase: extract        >============================
===> Fetching all distfiles required by ja-kinput2-3.1_13 for building
===>  Extracting for ja-kinput2-3.1_13
===> Fetching all distfiles required by ja-kinput2-3.1_13 for building
=> SHA256 Checksum OK for kinput2-v3.1.tar.gz.
===========================================================================
=======================<phase: patch-depends  >============================
===========================================================================
=======================<phase: patch          >============================
===>  Patching for ja-kinput2-3.1_13
===>  Applying FreeBSD patches for ja-kinput2-3.1_13 from /usr/ports/japanese/kinput2/files
===========================================================================
<snip>
    "sjrc",     NoSymbol,   NULL,           _Xsj3cSjrc,         NONE,NULL,NULL,
                            ^~~~
/usr/include/sys/_null.h:34:14: note: expanded from macro 'NULL'
#define NULL    ((void *)0)
                ^~~~~~~~~~~
buffer.c:219:29: error: incompatible pointer to integer conversion initializing 'Xsj3ccMode' (aka 'unsigned long') with an expression of type 'void *' [-Wint-conversion]
    "kill",     NoSymbol,   NULL,           _Xsj3cKill,         NONE,NULL,NULL,
                            ^~~~
/usr/include/sys/_null.h:34:14: note: expanded from macro 'NULL'
#define NULL    ((void *)0)
                ^~~~~~~~~~~
buffer.c:220:29: error: incompatible pointer to integer conversion initializing 'Xsj3ccMode' (aka 'unsigned long') with an expression of type 'void *' [-Wint-conversion]
    "kana",     NoSymbol,   NULL,           _Xsj3cKana,         NONE,NULL,NULL,
                            ^~~~
/usr/include/sys/_null.h:34:14: note: expanded from macro 'NULL'
#define NULL    ((void *)0)
                ^~~~~~~~~~~
buffer.c:221:29: error: incompatible pointer to integer conversion initializing 'Xsj3ccMode' (aka 'unsigned long') with an expression of type 'void *' [-Wint-conversion]
    "null",     NoSymbol,   NULL,           _Xsj3cNull,         NONE,NULL,NULL,
                            ^~~~
/usr/include/sys/_null.h:34:14: note: expanded from macro 'NULL'
#define NULL    ((void *)0)
                ^~~~~~~~~~~
buffer.c:222:29: error: incompatible pointer to integer conversion initializing 'Xsj3ccMode' (aka 'unsigned long') with an expression of type 'void *' [-Wint-conversion]
    "ignore",   NoSymbol,   NULL,           _Xsj3cIgnore,       NONE,NULL,NULL,
                            ^~~~
/usr/include/sys/_null.h:34:14: note: expanded from macro 'NULL'
#define NULL    ((void *)0)
                ^~~~~~~~~~~
buffer.c:223:17: error: incompatible pointer to integer conversion initializing 'KeySym' (aka 'unsigned long') with an expression of type 'void *' [-Wint-conversion]
    NULL,       NULL,       NULL,           NULL,               NONE,NULL,NULL
                ^~~~
/usr/include/sys/_null.h:34:14: note: expanded from macro 'NULL'
#define NULL    ((void *)0)
                ^~~~~~~~~~~
buffer.c:223:29: error: incompatible pointer to integer conversion initializing 'Xsj3ccMode' (aka 'unsigned long') with an expression of type 'void *' [-Wint-conversion]
    NULL,       NULL,       NULL,           NULL,               NONE,NULL,NULL
                            ^~~~
/usr/include/sys/_null.h:34:14: note: expanded from macro 'NULL'
#define NULL    ((void *)0)
                ^~~~~~~~~~~
buffer.c:238:34: warning: call to undeclared library function 'malloc' with type 'void *(unsigned long)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
        keytp = (Xsj3cKeyTable *)malloc(BUFSIZ);
                                 ^
buffer.c:238:34: note: include the header <stdlib.h> or explicitly provide a declaration for 'malloc'
buffer.c:266:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
_Xsj3cAddFreeKeyTable(keytp)
^
buffer.c:292:15: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
    if (keytp = freekeytp)
        ~~~~~~^~~~~~~~~~~
buffer.c:292:15: note: place parentheses around the assignment to silence this warning
    if (keytp = freekeytp)
              ^
        (                )
buffer.c:292:15: note: use '==' to turn this assignment into an equality comparison
    if (keytp = freekeytp)
              ^
              ==
buffer.c:306:19: warning: if statement has empty body [-Wempty-body]
        if (keytq);
                  ^
buffer.c:306:19: note: put the semicolon on a separate line to silence this warning
buffer.c:308:9: 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(keytp);
        ^
buffer.c:308:9: note: include the header <stdlib.h> or explicitly provide a declaration for 'free'
buffer.c:329:25: warning: passing arguments to '_Xsj3cSetKeySym' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    if (!_Xsj3cSetKeySym(table->value, &ksym, &modmask, &inputsame)) 
                        ^
buffer.c:356:43: warning: passing arguments to '_Xsj3cCmp' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
    else if (ksym == NoSymbol || _Xsj3cCmp(table->key[1], "ignore"))
                                          ^
buffer.c:362:22: warning: passing arguments to '_Xsj3cCmp' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        if (_Xsj3cCmp(table->key[1], keytq->keyword)) {
                     ^
buffer.c:365:33: warning: passing arguments to 'Xsj3cWarning' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                    Xsj3cWarning("can't allocate keysym to func table");
                                ^
buffer.c:379:29: warning: passing arguments to 'Xsj3cWarning' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                Xsj3cWarning("keyword %s is not supported",table->key[1]);
                            ^
buffer.c:319:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
_Xsj3cSetKeyTable(buf, table)
^
buffer.c:43:29: 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]
int                         _Xsj3cSetKeyTable();
                            ^
buffer.c:424:33: warning: passing arguments to 'Xsj3cWarning' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                    Xsj3cWarning("wrong keybind in sjrc file");
                                ^
buffer.c:435:29: warning: passing arguments to 'Xsj3cWarning' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                Xsj3cWarning("wrong keybind in sjrc file");
                            ^
buffer.c:443:43: warning: passing arguments to '_Xsj3cGetModMask' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        } else if ((ret = _Xsj3cGetModMask(*string)) >= 0) {
                                          ^
buffer.c:448:29: warning: passing arguments to 'Xsj3cWarning' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                Xsj3cWarning("wrong keybind in sjrc file");
                            ^
buffer.c:450:25: warning: passing arguments to 'Xsj3cWarning' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            Xsj3cWarning("wrong keybind in sjrc file");
                        ^
buffer.c:459:22: warning: passing arguments to '_Xsj3cCmp' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        if (_Xsj3cCmp(p, "off"))
                     ^
buffer.c:461:27: warning: passing arguments to '_Xsj3cCmp' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        else if (_Xsj3cCmp(p, "on"))
                          ^
buffer.c:394:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
_Xsj3cSetKeySym(string, ksym, modmask, inputsame)
^
buffer.c:586:25: warning: passing arguments to 'Xsj3cWarning' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            Xsj3cWarning("Ilegal keybind modmask %s in sjrc file",mode);
                        ^
buffer.c:476:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
_Xsj3cGetModMask(p)
^
buffer.c:619:35: warning: call to undeclared library function 'calloc' with type 'void *(unsigned long, unsigned long)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
    if ((buf->input = (Xsj3cSeg *)calloc(BUNBUFSIZ, sizeof(Xsj3cSeg)))
                                  ^
buffer.c:619:35: note: include the header <stdlib.h> or explicitly provide a declaration for 'calloc'
buffer.c:659:29: warning: passing arguments to 'Xsj3cWarning' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                Xsj3cWarning("can't allocate keysym to func table");
                            ^
buffer.c:697:23: warning: passing arguments to '_Xsj3cSetGuide' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        _Xsj3cSetGuide(buf, &def_guide_table[i]);
                      ^
buffer.c:757:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
_Xsj3cFreeModeStr(buf)
^
buffer.c:784:29: warning: passing arguments to 'Xsj3cFreeSegment' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            Xsj3cFreeSegment(buf->input[i]);
                            ^
buffer.c:792:29: warning: passing arguments to 'Xsj3cFreeSegment' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            Xsj3cFreeSegment(buf->backup[i]);
                            ^
buffer.c:774:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
Xsj3cFreeBuffer(buf)
^
buffer.c:38:29: 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]
void                        Xsj3cFreeBuffer();
                            ^
buffer.c:812:25: warning: passing arguments to 'Xsj3cFreeSegment' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        Xsj3cFreeSegment(buf->input[i]);
                        ^
buffer.c:806:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
Xsj3cClearBuffer(buf)
^
buffer.c:39:29: 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]
void                        Xsj3cClearBuffer();
                            ^
buffer.c:835:29: warning: passing arguments to 'Xsj3cFreeSegment' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            Xsj3cFreeSegment(buf->backup[i]);
                            ^
buffer.c:847:30: warning: passing arguments to '_Xsj3cExtractChar' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            _Xsj3cExtractChar(buf, buf->input[buf->curseg], tmp, 1);
                             ^
buffer.c:848:28: warning: passing arguments to '_Xsj3cStoreYomi' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
            _Xsj3cStoreYomi(buf, buf->input[buf->curseg], j);
                           ^
buffer.c:851:33: warning: passing arguments to 'Xsj3cFreeSegment' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
                Xsj3cFreeSegment(buf->input[buf->curseg]);
                                ^
buffer.c:875:19: warning: passing arguments to 'Xsj3cError' without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
        Xsj3cError("Cannot allocate for input buffers");
                  ^
buffer.c:827:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
Xsj3cFixBuffer(buf)
^
buffer.c:40:29: 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]
void                        Xsj3cFixBuffer();
                            ^
buffer.c:888:1: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
Xsj3cFlushBuffer(buf)
^
buffer.c:41:29: 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]
void                        Xsj3cFlushBuffer();
                            ^
42 warnings and 9 errors generated.
*** Error code 1

Stop.
make[4]: stopped in /wrkdirs/usr/ports/japanese/kinput2/work/kinput2-v3.1/lib/Xsj3clib
*** Error code 1

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

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

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

Stop.
make: stopped in /usr/ports/japanese/kinput2