[package - head-armv7-default][archivers/xpk] Failed for xpk-0.1.4_3 in build

pkg-fallout at FreeBSD.org pkg-fallout at FreeBSD.org
Thu Jun 11 02:52:42 UTC 2020


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 at FreeBSD.org
Last committer: amdmi3 at FreeBSD.org
Ident:          $FreeBSD: head/archivers/xpk/Makefile 405891 2016-01-12 16:20:31Z amdmi3 $
Log URL:        http://beefy12.nyi.freebsd.org/data/head-armv7-default/p538447_s362038/logs/xpk-0.1.4_3.log
Build URL:      http://beefy12.nyi.freebsd.org/build.html?mastername=head-armv7-default&build=p538447_s362038
Log:

=>> Building archivers/xpk
build started at Thu Jun 11 02:52:28 UTC 2020
port directory: /usr/ports/archivers/xpk
package name: xpk-0.1.4_3
building for: FreeBSD head-armv7-default-job-14 13.0-CURRENT FreeBSD 13.0-CURRENT 1300097 arm
maintained by: ports at FreeBSD.org
Makefile ident:      $FreeBSD: head/archivers/xpk/Makefile 405891 2016-01-12 16:20:31Z amdmi3 $
Poudriere version: 3.2.8-5-gc81843e5
Host OSVERSION: 1300089
Jail OSVERSION: 1300097
Job Id: 14




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



---Begin Environment---
SHELL=/bin/csh
UNAME_p=armv7
UNAME_m=arm
ABI_FILE=/usr/lib/crt1.o
OSVERSION=1300097
UNAME_v=FreeBSD 13.0-CURRENT 1300097
UNAME_r=13.0-CURRENT
BLOCKSIZE=K
MAIL=/var/mail/root
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-5-gc81843e5
MASTERMNT=/usr/local/poudriere/data/.m/head-armv7-default/ref
POUDRIERE_BUILD_TYPE=bulk
PACKAGE_BUILDING=yes
SAVED_TERM=
PWD=/usr/local/poudriere/data/.m/head-armv7-default/ref/.p/pool
P_PORTS_FEATURES=FLAVORS SELECTED_OPTIONS
MASTERNAME=head-armv7-default
SCRIPTPREFIX=/usr/local/share/poudriere
OLDPWD=/usr/local/poudriere/data/.m/head-armv7-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 at 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  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 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  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 NO_PIE=yes 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=13.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=armv7
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 10.0.1 (git at github.com:llvm/llvm-project.git llvmorg-10.0.1-rc1-0-gf79cd71e145) Target: armv7-unknown-freebsd13.0-gnueabihf Thread model: posix InstalledDir: /nxb-bin/usr/bin
_ALTCCVERSION_9d218390=none
_CXXINTERNAL_9c45a5b1=FreeBSD clang version 10.0.1 (git at github.com:llvm/llvm-project.git llvmorg-10.0.1-rc1-0-gf79cd71e145) Target: armv7-unknown-freebsd13.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_b2657cc3=yes
CC_OUTPUT_9d218390_380987f7=yes
CC_OUTPUT_9d218390_160933ec=yes
CC_OUTPUT_9d218390_fb62803b=yes
_OBJC_CCVERSION_9d218390=FreeBSD clang version 10.0.1 (git at github.com:llvm/llvm-project.git llvmorg-10.0.1-rc1-0-gf79cd71e145) Target: armv7-unknown-freebsd13.0-gnueabihf Thread model: posix InstalledDir: /nxb-bin/usr/bin
_OBJC_ALTCCVERSION_9d218390=none
ARCH=armv7
OPSYS=FreeBSD
_OSRELEASE=13.0-CURRENT
OSREL=13.0
OSVERSION=1300097
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++
AS=/nxb-bin/usr/bin/as
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://www.freebsd.org/doc/en/articles/contributing/ports-contributing.html#maintain-port

===>  License GPLv2+ accepted by the user
===========================================================================
=======================<phase: pkg-depends    >============================
===>   xpk-0.1.4_3 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-1.14.4.txz
[head-armv7-default-job-14] Installing pkg-1.14.4...
[head-armv7-default-job-14] Extracting pkg-1.14.4: .......... done
===>   xpk-0.1.4_3 depends on file: /usr/local/sbin/pkg - found
<snip>
2 warnings generated.
echo timestamp > xpkmaster.lo
/bin/sh ../libtool --mode=compile /nxb-bin/usr/bin/cc -DHAVE_CONFIG_H -I. -I. -I.. -I. -I../include    -Wall -pedantic -DNO_INLINE_STDARG -c xbuf.c
/nxb-bin/usr/bin/cc -DHAVE_CONFIG_H -I. -I. -I.. -I. -I../include -Wall -pedantic -DNO_INLINE_STDARG -c xbuf.c -o xbuf.o
echo timestamp > xbuf.lo
/bin/sh ../libtool --mode=compile /nxb-bin/usr/bin/cc -DHAVE_CONFIG_H -I. -I. -I.. -I. -I../include    -Wall -pedantic -DNO_INLINE_STDARG -c texts.c
/nxb-bin/usr/bin/cc -DHAVE_CONFIG_H -I. -I. -I.. -I. -I../include -Wall -pedantic -DNO_INLINE_STDARG -c texts.c -o texts.o
echo timestamp > texts.lo
/bin/sh ../libtool --mode=compile /nxb-bin/usr/bin/cc -DHAVE_CONFIG_H -I. -I. -I.. -I. -I../include    -Wall -pedantic -DNO_INLINE_STDARG -c tags.c
/nxb-bin/usr/bin/cc -DHAVE_CONFIG_H -I. -I. -I.. -I. -I../include -Wall -pedantic -DNO_INLINE_STDARG -c tags.c -o tags.o
echo timestamp > tags.lo
/bin/sh ../libtool --mode=compile /nxb-bin/usr/bin/cc -DHAVE_CONFIG_H -I. -I. -I.. -I. -I../include    -Wall -pedantic -DNO_INLINE_STDARG -c sublibs.c
/nxb-bin/usr/bin/cc -DHAVE_CONFIG_H -I. -I. -I.. -I. -I../include -Wall -pedantic -DNO_INLINE_STDARG -c sublibs.c -o sublibs.o
echo timestamp > sublibs.lo
/bin/sh ../libtool --mode=compile /nxb-bin/usr/bin/cc -DHAVE_CONFIG_H -I. -I. -I.. -I. -I../include    -Wall -pedantic -DNO_INLINE_STDARG -c seek.c
/nxb-bin/usr/bin/cc -DHAVE_CONFIG_H -I. -I. -I.. -I. -I../include -Wall -pedantic -DNO_INLINE_STDARG -c seek.c -o seek.o
echo timestamp > seek.lo
/bin/sh ../libtool --mode=compile /nxb-bin/usr/bin/cc -DHAVE_CONFIG_H -I. -I. -I.. -I. -I../include    -Wall -pedantic -DNO_INLINE_STDARG -c query.c
/nxb-bin/usr/bin/cc -DHAVE_CONFIG_H -I. -I. -I.. -I. -I../include -Wall -pedantic -DNO_INLINE_STDARG -c query.c -o query.o
query.c:47:16: warning: initializing 'struct XpkMode *' with an expression of type 'const struct XpkMode *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers]
                                 0,0,100,0,&USERMode,{0,0,0,0,0,0}};
                                           ^~~~~~~~~
query.c:94:5: warning: implicitly declaring library function 'memset' with type 'void *(void *, int, unsigned int)' [-Wimplicit-function-declaration]
    memset(plist, 0, sizeof(struct XpkPackerList));
    ^
query.c:94:5: note: include the header <string.h> or explicitly provide a declaration for 'memset'
query.c:106:9: warning: implicitly declaring library function 'strlen' with type 'unsigned int (const char *)' [-Wimplicit-function-declaration]
            if(strlen(dp->d_name)==13 &&
               ^
query.c:106:9: note: include the header <string.h> or explicitly provide a declaration for 'strlen'
query.c:107:10: warning: implicitly declaring library function 'strncmp' with type 'int (const char *, const char *, unsigned int)' [-Wimplicit-function-declaration]
               !strncmp("libxpk", dp->d_name, 6) &&
                ^
query.c:107:10: note: include the header <string.h> or explicitly provide a declaration for 'strncmp'
query.c:108:10: warning: implicitly declaring library function 'strcmp' with type 'int (const char *, const char *)' [-Wimplicit-function-declaration]
               !strcmp(".so", dp->d_name+10)) {
                ^
query.c:108:10: note: include the header <string.h> or explicitly provide a declaration for 'strcmp'
query.c:144:43: warning: format specifies type 'char *' but the argument has type 'unsigned int *' [-Wformat]
      sprintf(libname, SUBLIBNAME_STRING, &packmethod);
                       ~~~~~~~~~~~~~~~~~  ^~~~~~~~~~~
query.c:148:25: warning: assigning to 'struct XpkInfo *(*)()' from 'void *' converts between void pointer and function pointer [-Wpedantic]
      if((XpksPackerInfo=dlsym(XpkSubBase, "LIBXpksPackerInfo"))) {
                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
query.c:174:11: warning: implicitly declaring library function 'memcpy' with type 'void *(void *, const void *, unsigned int)' [-Wimplicit-function-declaration]
          memcpy(pmode, m, sizeof(struct XpkMode));
          ^
query.c:174:11: note: include the header <string.h> or explicitly provide a declaration for 'memcpy'
8 warnings generated.
echo timestamp > query.lo
/bin/sh ../libtool --mode=compile /nxb-bin/usr/bin/cc -DHAVE_CONFIG_H -I. -I. -I.. -I. -I../include    -Wall -pedantic -DNO_INLINE_STDARG -c progress.c
/nxb-bin/usr/bin/cc -DHAVE_CONFIG_H -I. -I. -I.. -I. -I../include -Wall -pedantic -DNO_INLINE_STDARG -c progress.c -o progress.o
echo timestamp > progress.lo
/bin/sh ../libtool --mode=compile /nxb-bin/usr/bin/cc -DHAVE_CONFIG_H -I. -I. -I.. -I. -I../include    -Wall -pedantic -DNO_INLINE_STDARG -c password.c
/nxb-bin/usr/bin/cc -DHAVE_CONFIG_H -I. -I. -I.. -I. -I../include -Wall -pedantic -DNO_INLINE_STDARG -c password.c -o password.o
password.c:84:10: warning: implicitly declaring library function 'strcmp' with type 'int (const char *, const char *)' [-Wimplicit-function-declaration]
      if(strcmp(pass, rd->rd_PassBuffer))
         ^
password.c:84:10: note: include the header <string.h> or explicitly provide a declaration for 'strcmp'
password.c:93:2: warning: implicitly declaring library function 'strcpy' with type 'char *(char *, const char *)' [-Wimplicit-function-declaration]
        strcpy(rd->rd_PassBuffer, pass);
        ^
password.c:93:2: note: include the header <string.h> or explicitly provide a declaration for 'strcpy'
password.c:49:3: warning: unused variable 'TestField' [-Wunused-const-variable]
} TestField[TESTSIZE] = {
  ^
3 warnings generated.
echo timestamp > password.lo
/bin/sh ../libtool --mode=compile /nxb-bin/usr/bin/cc -DHAVE_CONFIG_H -I. -I. -I.. -I. -I../include    -Wall -pedantic -DNO_INLINE_STDARG -c open.c
/nxb-bin/usr/bin/cc -DHAVE_CONFIG_H -I. -I. -I.. -I. -I../include -Wall -pedantic -DNO_INLINE_STDARG -c open.c -o open.o
open.c:288:3: warning: implicitly declaring library function 'memset' with type 'void *(void *, int, unsigned int)' [-Wimplicit-function-declaration]
  memset(globhdr->xsh_Initial, 0xff, 16);
  ^
open.c:288:3: note: include the header <string.h> or explicitly provide a declaration for 'memset'
open.c:32:29: warning: unused variable 'DONTInfo' [-Wunused-const-variable]
static const struct XpkInfo DONTInfo={ 1,0,0,1,"DONT","Copy", 0, 0x55534552,
                            ^
open.c:393:28: warning: unused function 'BufRecog' [-Wunused-function]
static struct XpkTypeData *BufRecog(unsigned int bufsize, struct XpkBuffer *xbuf)
                           ^
3 warnings generated.
echo timestamp > open.lo
/bin/sh ../libtool --mode=compile /nxb-bin/usr/bin/cc -DHAVE_CONFIG_H -I. -I. -I.. -I. -I../include    -Wall -pedantic -DNO_INLINE_STDARG -c objects.c
/nxb-bin/usr/bin/cc -DHAVE_CONFIG_H -I. -I. -I.. -I. -I../include -Wall -pedantic -DNO_INLINE_STDARG -c objects.c -o objects.o
echo timestamp > objects.lo
/bin/sh ../libtool --mode=compile /nxb-bin/usr/bin/cc -DHAVE_CONFIG_H -I. -I. -I.. -I. -I../include    -Wall -pedantic -DNO_INLINE_STDARG -c hook_mem.c
/nxb-bin/usr/bin/cc -DHAVE_CONFIG_H -I. -I. -I.. -I. -I../include -Wall -pedantic -DNO_INLINE_STDARG -c hook_mem.c -o hook_mem.o
hook_mem.c:45:7: warning: implicitly declaring library function 'memcpy' with type 'void *(void *, const void *, unsigned int)' [-Wimplicit-function-declaration]
      memcpy(msg->xmm_Ptr, bufpos, msg->xmm_Size);
      ^
hook_mem.c:45:7: note: include the header <string.h> or explicitly provide a declaration for 'memcpy'
1 warning generated.
echo timestamp > hook_mem.lo
/bin/sh ../libtool --mode=compile /nxb-bin/usr/bin/cc -DHAVE_CONFIG_H -I. -I. -I.. -I. -I../include    -Wall -pedantic -DNO_INLINE_STDARG -c hook_fh.c
/nxb-bin/usr/bin/cc -DHAVE_CONFIG_H -I. -I. -I.. -I. -I../include -Wall -pedantic -DNO_INLINE_STDARG -c hook_fh.c -o hook_fh.o
echo timestamp > hook_fh.lo
/bin/sh ../libtool --mode=compile /nxb-bin/usr/bin/cc -DHAVE_CONFIG_H -I. -I. -I.. -I. -I../include    -Wall -pedantic -DNO_INLINE_STDARG -c hook.c
/nxb-bin/usr/bin/cc -DHAVE_CONFIG_H -I. -I. -I.. -I. -I../include -Wall -pedantic -DNO_INLINE_STDARG -c hook.c -o hook.o
echo timestamp > hook.lo
/bin/sh ../libtool --mode=compile /nxb-bin/usr/bin/cc -DHAVE_CONFIG_H -I. -I. -I.. -I. -I../include    -Wall -pedantic -DNO_INLINE_STDARG -c fib.c
/nxb-bin/usr/bin/cc -DHAVE_CONFIG_H -I. -I. -I.. -I. -I../include -Wall -pedantic -DNO_INLINE_STDARG -c fib.c -o fib.o
fib.c:58:3: warning: implicitly declaring library function 'memcpy' with type 'void *(void *, const void *, unsigned int)' [-Wimplicit-function-declaration]
  memcpy(fib->xf_Head, globhdr->xsh_Initial, 16);
  ^
fib.c:58:3: note: include the header <string.h> or explicitly provide a declaration for 'memcpy'
1 warning generated.
echo timestamp > fib.lo
/bin/sh ../libtool --mode=compile /nxb-bin/usr/bin/cc -DHAVE_CONFIG_H -I. -I. -I.. -I. -I../include    -Wall -pedantic -DNO_INLINE_STDARG -c fault.c
/nxb-bin/usr/bin/cc -DHAVE_CONFIG_H -I. -I. -I.. -I. -I../include -Wall -pedantic -DNO_INLINE_STDARG -c fault.c -o fault.o
fault.c:62:15: warning: implicitly declaring library function 'strlen' with type 'unsigned int (const char *)' [-Wimplicit-function-declaration]
    if((ssize=strlen(string)) > --size)
              ^
fault.c:62:15: note: include the header <string.h> or explicitly provide a declaration for 'strlen'
fault.c:67:7: warning: implicitly declaring library function 'memcpy' with type 'void *(void *, const void *, unsigned int)' [-Wimplicit-function-declaration]
      memcpy(buffer, header, code);
      ^
fault.c:67:7: note: include the header <string.h> or explicitly provide a declaration for 'memcpy'
2 warnings generated.
echo timestamp > fault.lo
/bin/sh ../libtool --mode=compile /nxb-bin/usr/bin/cc -DHAVE_CONFIG_H -I. -I. -I.. -I. -I../include    -Wall -pedantic -DNO_INLINE_STDARG -c debug.c
/nxb-bin/usr/bin/cc -DHAVE_CONFIG_H -I. -I. -I.. -I. -I../include -Wall -pedantic -DNO_INLINE_STDARG -c debug.c -o debug.o
echo timestamp > debug.lo
/bin/sh ../libtool --mode=compile /nxb-bin/usr/bin/cc -DHAVE_CONFIG_H -I. -I. -I.. -I. -I../include    -Wall -pedantic -DNO_INLINE_STDARG -c checksum.c
/nxb-bin/usr/bin/cc -DHAVE_CONFIG_H -I. -I. -I.. -I. -I../include -Wall -pedantic -DNO_INLINE_STDARG -c checksum.c -o checksum.o
echo timestamp > checksum.lo
/bin/sh ../libtool --mode=compile /nxb-bin/usr/bin/cc -DHAVE_CONFIG_H -I. -I. -I.. -I. -I../include    -Wall -pedantic -DNO_INLINE_STDARG -c byteswap.c
/nxb-bin/usr/bin/cc -DHAVE_CONFIG_H -I. -I. -I.. -I. -I../include -Wall -pedantic -DNO_INLINE_STDARG -c byteswap.c -o byteswap.o
echo timestamp > byteswap.lo
/bin/sh ../libtool --mode=link /nxb-bin/usr/bin/cc  -Wall -pedantic -DNO_INLINE_STDARG -fstack-protector-strong -o libxpkmaster.la -rpath /usr/local/lib -version-info 5:2:5 xpkmaster.lo xbuf.lo texts.lo tags.lo  sublibs.lo seek.lo query.lo progress.lo password.lo open.lo objects.lo  hook_mem.lo hook_fh.lo hook.lo fib.lo fault.lo debug.lo checksum.lo  byteswap.lo  -lz -ldl
mkdir .libs
ar cru .libs/libxpkmaster.a  xpkmaster.o xbuf.o texts.o tags.o sublibs.o seek.o query.o progress.o password.o open.o objects.o hook_mem.o hook_fh.o hook.o fib.o fault.o debug.o checksum.o byteswap.o 
ranlib .libs/libxpkmaster.a
creating libxpkmaster.la
(cd .libs && rm -f libxpkmaster.la && ln -s ../libxpkmaster.la libxpkmaster.la)
Making all in shell
/nxb-bin/usr/bin/cc -DHAVE_CONFIG_H -I. -I. -I.. -I. -I. -I../include    -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing -c xType.c
xType.c:40:3: warning: implicitly declaring library function 'exit' with type 'void (int) __attribute__((noreturn))' [-Wimplicit-function-declaration]
  exit(text ? 10 : 0);
  ^
xType.c:40:3: note: include the header <stdlib.h> or explicitly provide a declaration for 'exit'
xType.c:53:8: warning: implicit declaration of function 'XpkOpen' is invalid in C99 [-Wimplicit-function-declaration]
    if(XpkOpenTags(&xfh, XPK_InName, (unsigned int)argv[i], XPK_PassThru, 1, TAG_DONE))
       ^
./include/xpk/xpk.h:520:69: note: expanded from macro 'XpkOpenTags'
#define XpkOpenTags(xbuf, tags...) ({unsigned int _tags[] = {tags}; XpkOpen((xbuf), (struct TagItem *)_tags);})
                                                                    ^
xType.c:54:11: warning: passing 'unsigned char [81]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      end(errbuf);
          ^~~~~~
xType.c:37:17: note: passing argument to parameter 'text' here
void end(char * text)
                ^
xType.c:55:26: warning: implicitly declaring library function 'malloc' with type 'void *(unsigned int)' [-Wimplicit-function-declaration]
    if(!(outbuf=(char *) malloc(outbuflen=xfh->xf_NLen + XPK_MARGIN)))
                         ^
xType.c:55:26: note: include the header <stdlib.h> or explicitly provide a declaration for 'malloc'
xType.c:55:16: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
    if(!(outbuf=(char *) malloc(outbuflen=xfh->xf_NLen + XPK_MARGIN)))
               ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
xType.c:57:16: warning: implicit declaration of function 'XpkRead' is invalid in C99 [-Wimplicit-function-declaration]
    while((len=XpkRead(xfh, outbuf, XPKLEN_ONECHUNK)) > 0) {
               ^
xType.c:58:10: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      ptr=outbuf;
         ^~~~~~~
xType.c:63:19: warning: implicitly declaring library function 'strchr' with type 'char *(const char *, int)' [-Wimplicit-function-declaration]
        if(!(eol=(char *)strchr(ptr, '\n')))
                         ^
xType.c:63:19: note: include the header <string.h> or explicitly provide a declaration for 'strchr'
xType.c:70:8: warning: implicit declaration of function 'XpkClose' is invalid in C99 [-Wimplicit-function-declaration]
    if(XpkClose(xfh) || len)
       ^
xType.c:71:11: warning: passing 'unsigned char [81]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
      end(errbuf);
          ^~~~~~
xType.c:37:17: note: passing argument to parameter 'text' here
void end(char * text)
                ^
xType.c:73:5: warning: implicit declaration of function 'free' is invalid in C99 [-Wimplicit-function-declaration]
    free(outbuf);
    ^
11 warnings generated.
/bin/sh ../libtool --mode=link /nxb-bin/usr/bin/cc  -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing -fstack-protector-strong -o xType  xType.o ../xpkmaster/libxpkmaster.la -lz -ldl
libtool: link: `../xpkmaster/libxpkmaster.la' is not a valid libtool archive
*** 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


More information about the freebsd-pkg-fallout mailing list