[package - main-armv6-default][archivers/xpk] Failed for xpk-0.1.4_3 in build

From: <pkg-fallout_at_FreeBSD.org>
Date: Thu, 13 Apr 2023 05:33:02 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/beefy8/data/main-armv6-default/p53f38f41b10f_s2ef2c26f3f/logs/xpk-0.1.4_3.log
Build URL:      https://pkg-status.freebsd.org/beefy8/build.html?mastername=main-armv6-default&build=p53f38f41b10f_s2ef2c26f3f
Log:

=>> Building archivers/xpk
build started at Thu Apr 13 05:32:47 UTC 2023
port directory: /usr/ports/archivers/xpk
package name: xpk-0.1.4_3
building for: FreeBSD main-armv6-default-job-06 14.0-CURRENT FreeBSD 14.0-CURRENT 1400086 arm
maintained by: ports@FreeBSD.org
Makefile ident: 
Poudriere version: 3.2.8-23-ga7f8d188
Host OSVERSION: 1400078
Jail OSVERSION: 1400086
Job Id: 06




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



---Begin Environment---
SHELL=/bin/sh
UNAME_p=armv6
UNAME_m=arm
ABI_FILE=/usr/lib/crt1.o
OSVERSION=1400086
UNAME_v=FreeBSD 14.0-CURRENT 1400086
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
QEMU_EMULATING=1
USER=root
LIBEXECPREFIX=/usr/local/libexec/poudriere
POUDRIERE_VERSION=3.2.8-23-ga7f8d188
MASTERMNT=/usr/local/poudriere/data/.m/main-armv6-default/ref
POUDRIERE_BUILD_TYPE=bulk
PACKAGE_BUILDING=yes
SAVED_TERM=
PWD=/usr/local/poudriere/data/.m/main-armv6-default/ref/.p/pool
P_PORTS_FEATURES=FLAVORS SELECTED_OPTIONS
MASTERNAME=main-armv6-default
SCRIPTPREFIX=/usr/local/share/poudriere
OLDPWD=/usr/local/poudriere/data/.m/main-armv6-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---
---End OPTIONS List---

--MAINTAINER--
ports@FreeBSD.org
--End MAINTAINER--

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

--CONFIGURE_ENV--
XDG_DATA_HOME=/wrkdirs/usr/ports/archivers/xpk/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/archivers/xpk/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/archivers/xpk/work/.cache  HOME=/wrkdirs/usr/ports/archivers/xpk/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/archivers/xpk/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/archivers/xpk/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/archivers/xpk/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/archivers/xpk/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/archivers/xpk/work/.cache  HOME=/wrkdirs/usr/ports/archivers/xpk/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/archivers/xpk/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/archivers/xpk/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="/nxb-bin/usr/bin/cc" CFLAGS="-O2 -pipe  -fstack-protector-strong -fno-strict-aliasing "  CPP="/nxb-bin/usr/bin/cpp" CPPFLAGS=""  LDFLAGS=" -fstack-protector-strong " LIBS=""  CXX="/nxb-bin/usr/bin/c++" CXXFLAGS="-O2 -pipe -fstack-protector-strong -fno-strict-aliasing  "  MANPREFIX="/usr/local" 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=14.0 PREFIX=%D LOCALBASE=/usr/local  RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/xpk"  EXAMPLESDIR="share/examples/xpk"  DATADIR="share/xpk"  WWWDIR="www/xpk"  ETCDIR="etc/xpk"
--End PLIST_SUB--

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

---Begin make.conf---
.sinclude "/etc/make.nxb.conf"
USE_PACKAGE_DEPENDS=yes
BATCH=yes
WRKDIRPREFIX=/wrkdirs
PORTSDIR=/usr/ports
PACKAGES=/packages
DISTDIR=/distfiles
PACKAGE_BUILDING=yes
PACKAGE_BUILDING_FLAVORS=yes
MACHINE=arm
MACHINE_ARCH=armv6
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_9d218390=FreeBSD clang version 15.0.7 (https://github.com/llvm/llvm-project.git llvmorg-15.0.7-0-g8dfdcc7b7bf6) Target: armv6-unknown-freebsd14.0-gnueabihf Thread model: posix InstalledDir: /nxb-bin/usr/bin
_ALTCCVERSION_9d218390=none
_CXXINTERNAL_9c45a5b1=FreeBSD clang version 15.0.7 (https://github.com/llvm/llvm-project.git llvmorg-15.0.7-0-g8dfdcc7b7bf6) Target: armv6-unknown-freebsd14.0-gnueabihf Thread model: posix InstalledDir: /nxb-bin/usr/bin "/nxb-bin/usr/bin/ld" "--eh-frame-hdr" "-dynamic-linker" "/libexec/ld-elf.so.1" "--hash-style=both" "--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_9d218390_58173849=yes
CC_OUTPUT_9d218390_9bdba57c=yes
CC_OUTPUT_9d218390_6a4fe7f5=yes
CC_OUTPUT_9d218390_6bcac02b=yes
CC_OUTPUT_9d218390_67d20829=yes
CC_OUTPUT_9d218390_bfa62e83=yes
CC_OUTPUT_9d218390_f0b4d593=yes
CC_OUTPUT_9d218390_308abb44=yes
CC_OUTPUT_9d218390_f00456e5=yes
CC_OUTPUT_9d218390_65ad290d=yes
CC_OUTPUT_9d218390_f2776b26=yes
CC_OUTPUT_9d218390_53255a77=yes
CC_OUTPUT_9d218390_911cfe02=yes
CC_OUTPUT_9d218390_b2657cc3=yes
CC_OUTPUT_9d218390_380987f7=yes
CC_OUTPUT_9d218390_160933ec=yes
CC_OUTPUT_9d218390_fb62803b=yes
CC_OUTPUT_9d218390_af59ad06=yes
CC_OUTPUT_9d218390_a15f3fcf=yes
_OBJC_CCVERSION_9d218390=FreeBSD clang version 15.0.7 (https://github.com/llvm/llvm-project.git llvmorg-15.0.7-0-g8dfdcc7b7bf6) Target: armv6-unknown-freebsd14.0-gnueabihf Thread model: posix InstalledDir: /nxb-bin/usr/bin
_OBJC_ALTCCVERSION_9d218390=none
ARCH=armv6
OPSYS=FreeBSD
_OSRELEASE=14.0-CURRENT
OSREL=14.0
OSVERSION=1400086
PYTHONBASE=/usr/local
CONFIGURE_MAX_CMD_LEN=524288
HAVE_PORTS_ENV=1
#### Misc Poudriere ####
GID=0
UID=0
DISABLE_MAKE_JOBS=poudriere
---End make.conf---
---Begin make.nxb.conf---
CC=/nxb-bin/usr/bin/cc
CPP=/nxb-bin/usr/bin/cpp
CXX=/nxb-bin/usr/bin/c++
NM=/nxb-bin/usr/bin/nm
LD=/nxb-bin/usr/bin/ld
OBJCOPY=/nxb-bin/usr/bin/objcopy
SIZE=/nxb-bin/usr/bin/size
STRIPBIN=/nxb-bin/usr/bin/strip
SED=/nxb-bin/usr/bin/sed
RANLIB=/nxb-bin/usr/bin/ranlib
YACC=/nxb-bin/usr/bin/yacc
MAKE=/nxb-bin/usr/bin/make
STRINGS=/nxb-bin/usr/bin/strings
AWK=/nxb-bin/usr/bin/awk
FLEX=/nxb-bin/usr/bin/flex
---End make.nxb.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   >============================
===>   NOTICE:

The xpk port currently does not have a maintainer. As a result, it is
more likely to have unresolved issues, not be up-to-date, or even be removed in
the future. To volunteer to maintain this port, please create an issue at:

https://bugs.freebsd.org/bugzilla

More information about port maintainership is available at:

https://docs.freebsd.org/en/articles/contributing/#ports-contributing

===>  License GPLv2+ accepted by the user
===========================================================================
=======================<phase: pkg-depends    >============================
<snip>
      ^
xPK.c:219:7: note: include the header <string.h> or explicitly provide a declaration for 'strcpy'
xPK.c:224:8: warning: call to undeclared function 'XpkUnpack'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
    if(XpkUnpackTags(
       ^
../include/xpk/xpk.h:519:65: note: expanded from macro 'XpkUnpackTags'
#define XpkUnpackTags(tags...) ({unsigned int _tags[] = {tags}; XpkUnpack((struct TagItem *)_tags);})
                                                                ^
xPK.c:247:1: warning: non-void function does not return a value in all control paths [-Wreturn-type]
}
^
xPK.c:257:13: warning: passing 'unsigned char[180]' 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]
    sprintf(buf,
            ^~~
/usr/include/stdio.h:286:31: note: passing argument to parameter here
int      sprintf(char * __restrict, const char * __restrict, ...);
                                  ^
xPK.c:259:47: warning: format specifies type 'long' but the argument has type 'unsigned int' [-Wformat]
             prog->xp_PackerName, prog->xp_Activity, prog->xp_Done,
                                                     ^~~~~~~~~~~~~
xPK.c:260:7: warning: format specifies type 'long' but the argument has type 'int' [-Wformat]
             prog->xp_CF, prog->xp_Speed, prog->xp_FileName);
             ^~~~~~~~~~~
xPK.c:260:20: warning: format specifies type 'long' but the argument has type 'unsigned int' [-Wformat]
             prog->xp_CF, prog->xp_Speed, prog->xp_FileName);
                          ^~~~~~~~~~~~~~
xPK.c:262:13: warning: passing 'unsigned char[180]' 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]
    sprintf(buf,
            ^~~
/usr/include/stdio.h:286:31: note: passing argument to parameter here
int      sprintf(char * __restrict, const char * __restrict, ...);
                                  ^
xPK.c:264:47: warning: format specifies type 'long' but the argument has type 'unsigned int' [-Wformat]
             prog->xp_PackerName, prog->xp_Activity, prog->xp_ULen / 1024,
                                                     ^~~~~~~~~~~~~~~~~~~~
xPK.c:265:7: warning: format specifies type 'long' but the argument has type 'int' [-Wformat]
             prog->xp_CF, prog->xp_Speed, prog->xp_FileName);
             ^~~~~~~~~~~
xPK.c:265:20: warning: format specifies type 'long' but the argument has type 'unsigned int' [-Wformat]
             prog->xp_CF, prog->xp_Speed, prog->xp_FileName);
                          ^~~~~~~~~~~~~~
xPK.c:267:10: warning: passing 'unsigned char[180]' 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]
  iprint(buf);
         ^~~
xPK.c:105:20: note: passing argument to parameter 's' here
void iprint(char * s)
                   ^
xPK.c:297:11: warning: call to undeclared library function 'free' with type 'void (void *)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
  if(fib) free(fib);
          ^
xPK.c:297:11: note: include the header <stdlib.h> or explicitly provide a declaration for 'free'
xPK.c:299:3: 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]
  exit(text ? 10 : 0);
  ^
xPK.c:299:3: note: include the header <stdlib.h> or explicitly provide a declaration for 'exit'
xPK.c:307:24: warning: call to undeclared library function 'strpbrk' with type 'char *(const char *, const char *)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
    while((ptr=(char *)strpbrk(path, "/")))
                       ^
xPK.c:307:24: note: include the header <string.h> or explicitly provide a declaration for 'strpbrk'
27 warnings generated.
/bin/sh ../libtool --mode=link /nxb-bin/usr/bin/cc  -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing -fstack-protector-strong -o xPK  xPK.o ../xpkmaster/libxpkmaster.la -lz -ldl
/nxb-bin/usr/bin/cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -fstack-protector-strong -o .libs/xPK xPK.o ../xpkmaster/.libs/libxpkmaster.so -lz -ldl -lz -ldl -Wl,--rpath -Wl,/usr/local/lib
creating xPK
/nxb-bin/usr/bin/cc -DHAVE_CONFIG_H -I. -I. -I.. -I. -I. -I../include    -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing -c xQuery.c
xQuery.c:39:12: warning: format string is not a string literal (potentially insecure) [-Wformat-security]
    printf(text);
           ^~~~
xQuery.c:39:12: note: treat the string as an argument to avoid this
    printf(text);
           ^
           "%s", 
xQuery.c:41:3: 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]
  exit(text ? 10 : 0);
  ^
xQuery.c:41:3: note: include the header <stdlib.h> or explicitly provide a declaration for 'exit'
xQuery.c:52:27: warning: format specifies type 'char *' but the argument has type 'unsigned int *' [-Wformat]
  printf("Packer : %s\n", packer);
                   ~~     ^~~~~~
xQuery.c:54:42: error: incompatible pointer to integer conversion initializing 'unsigned int' with an expression of type 'struct XpkPackerInfo *' [-Wint-conversion]
  if(res = XpkQueryTags(XPK_PackerQuery, &xpinfo, XPK_PackMethod, packer,
                                         ^~~~~~~
../include/xpk/xpk.h:521:57: note: expanded from macro 'XpkQueryTags'
#define XpkQueryTags(tags...) ({unsigned int _tags[] = {tags}; XpkQuery((struct TagItem *)_tags);})
                                                        ^~~~
xQuery.c:54:67: error: incompatible pointer to integer conversion initializing 'unsigned int' with an expression of type 'unsigned int[2]' [-Wint-conversion]
  if(res = XpkQueryTags(XPK_PackerQuery, &xpinfo, XPK_PackMethod, packer,
                                                                  ^~~~~~
../include/xpk/xpk.h:521:57: note: expanded from macro 'XpkQueryTags'
#define XpkQueryTags(tags...) ({unsigned int _tags[] = {tags}; XpkQuery((struct TagItem *)_tags);})
                                                        ^~~~
xQuery.c:54:12: warning: call to undeclared function 'XpkQuery'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
  if(res = XpkQueryTags(XPK_PackerQuery, &xpinfo, XPK_PackMethod, packer,
           ^
../include/xpk/xpk.h:521:64: note: expanded from macro 'XpkQueryTags'
#define XpkQueryTags(tags...) ({unsigned int _tags[] = {tags}; XpkQuery((struct TagItem *)_tags);})
                                                               ^
xQuery.c:54:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
  if(res = XpkQueryTags(XPK_PackerQuery, &xpinfo, XPK_PackMethod, packer,
     ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
xQuery.c:54:10: note: place parentheses around the assignment to silence this warning
  if(res = XpkQueryTags(XPK_PackerQuery, &xpinfo, XPK_PackMethod, packer,
         ^
     (
xQuery.c:54:10: note: use '==' to turn this assignment into an equality comparison
  if(res = XpkQueryTags(XPK_PackerQuery, &xpinfo, XPK_PackMethod, packer,
         ^
         ==
xQuery.c:60:28: warning: format specifies type 'long' but the argument has type 'unsigned short' [-Wformat]
  printf("DefMode: %ld\t", xpinfo.xpi_DefMode);
                   ~~~     ^~~~~~~~~~~~~~~~~~
                   %hu
xQuery.c:61:32: warning: format specifies type 'long' but the argument has type 'unsigned int' [-Wformat]
  printf("DefChunk: %ld Kb\t", xpinfo.xpi_DefChunk >> 10);
                    ~~~        ^~~~~~~~~~~~~~~~~~~~~~~~~
                    %u
xQuery.c:62:32: warning: format specifies type 'long' but the argument has type 'unsigned int' [-Wformat]
  printf("MaxChunk: %ld Kb\n", xpinfo.xpi_MaxChunk >> 10);
                    ~~~        ^~~~~~~~~~~~~~~~~~~~~~~~~
                    %u
xQuery.c:68:3: warning: call to undeclared library function 'memcpy' with type 'void *(void *, const void *, unsigned int)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
  memcpy(name, packer, 4); name[4] = 0;
  ^
xQuery.c:68:3: note: include the header <string.h> or explicitly provide a declaration for 'memcpy'
xQuery.c:72:36: error: incompatible pointer to integer conversion initializing 'unsigned int' with an expression of type 'struct XpkMode *' [-Wint-conversion]
    if(XpkQueryTags(XPK_ModeQuery, &xminfo,
                                   ^~~~~~~
../include/xpk/xpk.h:521:57: note: expanded from macro 'XpkQueryTags'
#define XpkQueryTags(tags...) ({unsigned int _tags[] = {tags}; XpkQuery((struct TagItem *)_tags);})
                                                        ^~~~
xQuery.c:73:23: error: incompatible pointer to integer conversion initializing 'unsigned int' with an expression of type 'unsigned int[2]' [-Wint-conversion]
                    XPK_PackMethod, packer,
                                    ^~~~~~
../include/xpk/xpk.h:521:57: note: expanded from macro 'XpkQueryTags'
#define XpkQueryTags(tags...) ({unsigned int _tags[] = {tags}; XpkQuery((struct TagItem *)_tags);})
                                                        ^~~~
xQuery.c:72:8: warning: call to undeclared function 'XpkQuery'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
    if(XpkQueryTags(XPK_ModeQuery, &xminfo,
       ^
../include/xpk/xpk.h:521:64: note: expanded from macro 'XpkQueryTags'
#define XpkQueryTags(tags...) ({unsigned int _tags[] = {tags}; XpkQuery((struct TagItem *)_tags);})
                                                               ^
xQuery.c:78:13: warning: format specifies type 'long' but the argument has type 'int' [-Wformat]
      name, mode, xminfo.xm_Upto, xminfo.xm_Ratio / 10, xminfo.xm_Ratio % 10,
            ^~~~
xQuery.c:78:19: warning: format specifies type 'long' but the argument has type 'unsigned int' [-Wformat]
      name, mode, xminfo.xm_Upto, xminfo.xm_Ratio / 10, xminfo.xm_Ratio % 10,
                  ^~~~~~~~~~~~~~
xQuery.c:78:35: warning: format specifies type 'long' but the argument has type 'int' [-Wformat]
      name, mode, xminfo.xm_Upto, xminfo.xm_Ratio / 10, xminfo.xm_Ratio % 10,
                                  ^~~~~~~~~~~~~~~~~~~~
xQuery.c:78:57: warning: format specifies type 'long' but the argument has type 'int' [-Wformat]
      name, mode, xminfo.xm_Upto, xminfo.xm_Ratio / 10, xminfo.xm_Ratio % 10,
                                                        ^~~~~~~~~~~~~~~~~~~~
xQuery.c:79:6: warning: format specifies type 'long' but the argument has type 'unsigned int' [-Wformat]
            xminfo.xm_PackSpeed, xminfo.xm_UnpackSpeed,
            ^~~~~~~~~~~~~~~~~~~
xQuery.c:79:27: warning: format specifies type 'long' but the argument has type 'unsigned int' [-Wformat]
            xminfo.xm_PackSpeed, xminfo.xm_UnpackSpeed,
                                 ^~~~~~~~~~~~~~~~~~~~~
xQuery.c:80:6: warning: format specifies type 'long' but the argument has type 'unsigned int' [-Wformat]
            xminfo.xm_PackMemory >> 10, xminfo.xm_UnpackMemory >> 10,
            ^~~~~~~~~~~~~~~~~~~~~~~~~~
xQuery.c:80:34: warning: format specifies type 'long' but the argument has type 'unsigned int' [-Wformat]
            xminfo.xm_PackMemory >> 10, xminfo.xm_UnpackMemory >> 10,
                                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
xQuery.c:91:37: error: incompatible pointer to integer conversion initializing 'unsigned int' with an expression of type 'struct XpkPackerList *' [-Wint-conversion]
  if(XpkQueryTags(XPK_PackersQuery, &list, TAG_DONE))
                                    ^~~~~
../include/xpk/xpk.h:521:57: note: expanded from macro 'XpkQueryTags'
#define XpkQueryTags(tags...) ({unsigned int _tags[] = {tags}; XpkQuery((struct TagItem *)_tags);})
                                                        ^~~~
xQuery.c:91:6: warning: call to undeclared function 'XpkQuery'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
  if(XpkQueryTags(XPK_PackersQuery, &list, TAG_DONE))
     ^
../include/xpk/xpk.h:521:64: note: expanded from macro 'XpkQueryTags'
#define XpkQueryTags(tags...) ({unsigned int _tags[] = {tags}; XpkQuery((struct TagItem *)_tags);})
                                                               ^
xQuery.c:99:19: error: incompatible pointer to integer conversion passing 'char *' to parameter of type 'unsigned int' [-Wint-conversion]
      packerquery(argv[i]);
                  ^~~~~~~
xQuery.c:44:31: note: passing argument to parameter 'packerid' here
void packerquery(unsigned int packerid)
                              ^
19 warnings and 6 errors generated.
*** Error code 1

Stop.
make[3]: stopped in /wrkdirs/usr/ports/archivers/xpk/work/xpk-0.1.4/shell
*** Error code 1

Stop.
make[2]: stopped in /wrkdirs/usr/ports/archivers/xpk/work/xpk-0.1.4
*** Error code 1

Stop.
make[1]: stopped in /wrkdirs/usr/ports/archivers/xpk/work/xpk-0.1.4
*** Error code 1

Stop.
make: stopped in /usr/ports/archivers/xpk