[package - head-armv7-default][net/thcrut] Failed for thcrut-1.2.5 in build
pkg-fallout at FreeBSD.org
pkg-fallout at FreeBSD.org
Sat Sep 5 03:06:41 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: lx at FreeBSD.org
Last committer: mat at FreeBSD.org
Ident: $FreeBSD: head/net/thcrut/Makefile 412342 2016-04-01 13:18:17Z mat $
Log URL: http://beefy12.nyi.freebsd.org/data/head-armv7-default/p547580_s365355/logs/thcrut-1.2.5.log
Build URL: http://beefy12.nyi.freebsd.org/build.html?mastername=head-armv7-default&build=p547580_s365355
Log:
=>> Building net/thcrut
build started at Sat Sep 5 03:06:17 UTC 2020
port directory: /usr/ports/net/thcrut
package name: thcrut-1.2.5
building for: FreeBSD head-armv7-default-job-08 13.0-CURRENT FreeBSD 13.0-CURRENT 1300113 arm
maintained by: lx at FreeBSD.org
Makefile ident: $FreeBSD: head/net/thcrut/Makefile 412342 2016-04-01 13:18:17Z mat $
Poudriere version: 3.2.8-5-gc81843e5
Host OSVERSION: 1300094
Jail OSVERSION: 1300113
Job Id: 08
!!! Jail is newer than host. (Jail: 1300113, Host: 1300094) !!!
!!! 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=1300113
UNAME_v=FreeBSD 13.0-CURRENT 1300113
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--
lx at FreeBSD.org
--End MAINTAINER--
--CONFIGURE_ARGS--
--with-libnet=/usr/local --sysconfdir=/usr/local/share/thcrut --prefix=/usr/local ${_LATE_CONFIGURE_ARGS}
--End CONFIGURE_ARGS--
--CONFIGURE_ENV--
XDG_DATA_HOME=/wrkdirs/usr/ports/net/thcrut/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/net/thcrut/work HOME=/wrkdirs/usr/ports/net/thcrut/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/net/thcrut/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/net/thcrut/work XDG_CONFIG_HOME=/wrkdirs/usr/ports/net/thcrut/work HOME=/wrkdirs/usr/ports/net/thcrut/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/net/thcrut/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/thcrut" EXAMPLESDIR="share/examples/thcrut" DATADIR="share/thcrut" WWWDIR="www/thcrut" ETCDIR="etc/thcrut"
--End PLIST_SUB--
--SUB_LIST--
PREFIX=/usr/local LOCALBASE=/usr/local DATADIR=/usr/local/share/thcrut DOCSDIR=/usr/local/share/doc/thcrut EXAMPLESDIR=/usr/local/share/examples/thcrut WWWDIR=/usr/local/www/thcrut ETCDIR=/usr/local/etc/thcrut
--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 11.0.0 (git at github.com:llvm/llvm-project.git llvmorg-11.0.0-rc2-0-g414f32a9e86) Target: armv7-unknown-freebsd13.0-gnueabihf Thread model: posix InstalledDir: /nxb-bin/usr/bin
_ALTCCVERSION_9d218390=none
_CXXINTERNAL_9c45a5b1=FreeBSD clang version 11.0.0 (git at github.com:llvm/llvm-project.git llvmorg-11.0.0-rc2-0-g414f32a9e86) 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 11.0.0 (git at github.com:llvm/llvm-project.git llvmorg-11.0.0-rc2-0-g414f32a9e86) 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=1300113
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 >============================
===========================================================================
=======================<phase: pkg-depends >============================
===> thcrut-1.2.5 depends on file: /usr/local/sbin/pkg - not found
===> Installing existing package /packages/All/pkg-1.14.7.txz
[head-armv7-default-job-08] Installing pkg-1.14.7...
[head-armv7-default-job-08] Extracting pkg-1.14.7: .......... done
===> thcrut-1.2.5 depends on file: /usr/local/sbin/pkg - found
===> Returning to build of thcrut-1.2.5
===========================================================================
=======================<phase: fetch-depends >============================
===========================================================================
=======================<phase: fetch >============================
===> Fetching all distfiles required by thcrut-1.2.5 for building
===========================================================================
=======================<phase: checksum >============================
===> Fetching all distfiles required by thcrut-1.2.5 for building
=> SHA256 Checksum OK for thcrut-1.2.5.tar.gz.
===========================================================================
=======================<phase: extract-depends>============================
===========================================================================
<snip>
dhcp.c:83:35: warning: initializing 'unsigned char *' with an expression of type 'char [8]' converts between pointers to integer types with different sign [-Wpointer-sign]
{DHCP_MSG , DHCP_ASCII, "Message"},
^~~~~~~~~
dhcp.c:84:34: warning: initializing 'unsigned char *' with an expression of type 'char [26]' converts between pointers to integer types with different sign [-Wpointer-sign]
{DHCP_MAXMAGSZ , DHCP_16UI, "Maximum DHCP Message Size"},
^~~~~~~~~~~~~~~~~~~~~~~~~~~
dhcp.c:85:36: warning: initializing 'unsigned char *' with an expression of type 'char [24]' converts between pointers to integer types with different sign [-Wpointer-sign]
{DHCP_RENTIME , DHCP_32TIME, "Renewal (T1) Time Value"},
^~~~~~~~~~~~~~~~~~~~~~~~~
dhcp.c:86:36: warning: initializing 'unsigned char *' with an expression of type 'char [26]' converts between pointers to integer types with different sign [-Wpointer-sign]
{DHCP_REBTIME , DHCP_32TIME, "Rebinding (T2) Time Value"},
^~~~~~~~~~~~~~~~~~~~~~~~~~~
dhcp.c:87:33: warning: initializing 'unsigned char *' with an expression of type 'char [17]' converts between pointers to integer types with different sign [-Wpointer-sign]
{DHCP_CLASSID , DHCP_HEX, "Class-identifier"},
^~~~~~~~~~~~~~~~~~
dhcp.c:88:33: warning: initializing 'unsigned char *' with an expression of type 'char [18]' converts between pointers to integer types with different sign [-Wpointer-sign]
{DHCP_CLIENTID , DHCP_HEX, "Client-identifier"},
^~~~~~~~~~~~~~~~~~~
dhcp.c:92:34: warning: initializing 'unsigned char *' with an expression of type 'char [14]' converts between pointers to integer types with different sign [-Wpointer-sign]
{DHCP_END , DHCP_NONE, "DHCP END MARK"},
^~~~~~~~~~~~~~~
dhcp.c:115:16: warning: returning 'unsigned char *' from a function with result type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
return dhcpnfo[tag].name;
^~~~~~~~~~~~~~~~~
dhcp.c:221:42: warning: passing 'char [2]' to parameter of type 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
dhcp_add_option(ds, DHCP_MSGTYPE, 1, "\x01");
^~~~~~
dhcp.c:131:91: note: passing argument to parameter 'value' here
dhcp_add_option(struct _dhcpset *ds, unsigned char tag, unsigned char len, unsigned char *value)
^
dhcp.c:416:33: warning: passing 'unsigned char *' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
func(buf+slen, bs-slen, abuf+aoff, usz);
^~~~~~~~~
dhcp.c:474:20: warning: passing 'unsigned char [1024]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
strcpy(dbuf, "");
^~~~
/usr/include/string.h:84:31: note: passing argument to parameter here
char *strcpy(char * __restrict, const char * __restrict);
^
dhcp.c:477:23: warning: passing 'unsigned char [1024]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
dec_dpval(dbuf, DBSZ, dptype, dplen, abuf, dp_decIPV4, 4);
^~~~
dhcp.c:402:17: note: passing argument to parameter 'buf' here
dec_dpval(char *buf, int bs, unsigned char dptype, unsigned char dplen, unsigned char *abuf,
^
dhcp.c:480:23: warning: passing 'unsigned char [1024]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
dec_dpval(dbuf, DBSZ, dptype, dplen, abuf, dp_decASCII, dplen);
^~~~
dhcp.c:402:17: note: passing argument to parameter 'buf' here
dec_dpval(char *buf, int bs, unsigned char dptype, unsigned char dplen, unsigned char *abuf,
^
dhcp.c:483:23: warning: passing 'unsigned char [1024]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
dec_dpval(dbuf, DBSZ, dptype, dplen, abuf, dp_dec8I, 1);
^~~~
dhcp.c:402:17: note: passing argument to parameter 'buf' here
dec_dpval(char *buf, int bs, unsigned char dptype, unsigned char dplen, unsigned char *abuf,
^
dhcp.c:486:23: warning: passing 'unsigned char [1024]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
dec_dpval(dbuf, DBSZ, dptype, dplen, abuf, dp_dec8UI, 1);
^~~~
dhcp.c:402:17: note: passing argument to parameter 'buf' here
dec_dpval(char *buf, int bs, unsigned char dptype, unsigned char dplen, unsigned char *abuf,
^
dhcp.c:489:23: warning: passing 'unsigned char [1024]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
dec_dpval(dbuf, DBSZ, dptype, dplen, abuf, dp_dec16I, 2);
^~~~
dhcp.c:402:17: note: passing argument to parameter 'buf' here
dec_dpval(char *buf, int bs, unsigned char dptype, unsigned char dplen, unsigned char *abuf,
^
dhcp.c:492:23: warning: passing 'unsigned char [1024]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
dec_dpval(dbuf, DBSZ, dptype, dplen, abuf, dp_dec16UI, 2);
^~~~
dhcp.c:402:17: note: passing argument to parameter 'buf' here
dec_dpval(char *buf, int bs, unsigned char dptype, unsigned char dplen, unsigned char *abuf,
^
dhcp.c:495:23: warning: passing 'unsigned char [1024]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
dec_dpval(dbuf, DBSZ, dptype, dplen, abuf, dp_dec32I, 4);
^~~~
dhcp.c:402:17: note: passing argument to parameter 'buf' here
dec_dpval(char *buf, int bs, unsigned char dptype, unsigned char dplen, unsigned char *abuf,
^
dhcp.c:498:23: warning: passing 'unsigned char [1024]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
dec_dpval(dbuf, DBSZ, dptype, dplen, abuf, dp_dec32UI, 4);
^~~~
dhcp.c:402:17: note: passing argument to parameter 'buf' here
dec_dpval(char *buf, int bs, unsigned char dptype, unsigned char dplen, unsigned char *abuf,
^
dhcp.c:501:23: warning: passing 'unsigned char [1024]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
dec_dpval(dbuf, DBSZ, dptype, dplen, abuf, dp_dec32TIME, 4);
^~~~
dhcp.c:402:17: note: passing argument to parameter 'buf' here
dec_dpval(char *buf, int bs, unsigned char dptype, unsigned char dplen, unsigned char *abuf,
^
dhcp.c:505:23: warning: passing 'unsigned char [1024]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
dec_dpval(dbuf, DBSZ, dptype, dplen, abuf, dp_decHEX, dplen);
^~~~
dhcp.c:402:17: note: passing argument to parameter 'buf' here
dec_dpval(char *buf, int bs, unsigned char dptype, unsigned char dplen, unsigned char *abuf,
^
dhcp.c:508:23: warning: passing 'unsigned char [1024]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
dec_dpval(dbuf, DBSZ, dptype, dplen, abuf, dp_decMAC, dplen);
^~~~
dhcp.c:402:17: note: passing argument to parameter 'buf' here
dec_dpval(char *buf, int bs, unsigned char dptype, unsigned char dplen, unsigned char *abuf,
^
dhcp.c:511:23: warning: passing 'unsigned char [1024]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
dec_dpval(dbuf, DBSZ, dptype, dplen, abuf, dp_decBOOL, 1);
^~~~
dhcp.c:402:17: note: passing argument to parameter 'buf' here
dec_dpval(char *buf, int bs, unsigned char dptype, unsigned char dplen, unsigned char *abuf,
^
dhcp.c:514:22: warning: passing 'unsigned char [1024]' to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
snprintf(dbuf, DBSZ, " UNKNOWN encoding type %d", c);
^~~~
/usr/include/stdio.h:298:32: note: passing argument to parameter here
int snprintf(char * __restrict, size_t, const char * __restrict,
^
dhcp.c:517:23: warning: passing 'unsigned char [1024]' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
strncpy(buf+slen, dbuf, bsize - slen);
^~~~
/usr/include/string.h:103:57: note: passing argument to parameter here
char *strncpy(char * __restrict, const char * __restrict, size_t);
^
81 warnings generated.
/nxb-bin/usr/bin/cc -DHAVE_CONFIG_H -I. -I. -I.. -I../pcre-3.9 -I../Libnet-1.0.2a/include -I/usr/local/include -I/usr/include/pcap `../Libnet-1.0.2a/libnet-config --cflags --defines | tr '\n' ' '` `../pcre-3.9/pcre-config --cflags` -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c network_raw.c
network_raw.c:207:27: warning: passing 'char *' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
if (libnet_write_ip(sox, data, len) != len)
^~~~
./Libnet-1.0.2a/include/./libnet/libnet-functions.h:521:13: note: passing argument to parameter here
u_char *, /* Pointer a complete IP datagram */
^
1 warning generated.
/nxb-bin/usr/bin/cc -DHAVE_CONFIG_H -I. -I. -I.. -I../pcre-3.9 -I../Libnet-1.0.2a/include -I/usr/local/include -I/usr/include/pcap `../Libnet-1.0.2a/libnet-config --cflags --defines | tr '\n' ' '` `../pcre-3.9/pcre-config --cflags` -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c schedule.c
/nxb-bin/usr/bin/cc -DHAVE_CONFIG_H -I. -I. -I.. -I../pcre-3.9 -I../Libnet-1.0.2a/include -I/usr/local/include -I/usr/include/pcap `../Libnet-1.0.2a/libnet-config --cflags --defines | tr '\n' ' '` `../pcre-3.9/pcre-config --cflags` -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c dcd_icmp.c
/nxb-bin/usr/bin/cc -DHAVE_CONFIG_H -I. -I. -I.. -I../pcre-3.9 -I../Libnet-1.0.2a/include -I/usr/local/include -I/usr/include/pcap `../Libnet-1.0.2a/libnet-config --cflags --defines | tr '\n' ' '` `../pcre-3.9/pcre-config --cflags` -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c macvendor.c
macvendor.c:97:13: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
if ( (ptr = buf2macvendor(buf, tag)) == NULL)
^ ~~~~~~~~~~~~~~~~~~~~~~~
macvendor.c:100:43: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
if ((vendorptrlen - vendorlen) < strlen(ptr)+1)
^~~
/usr/include/string.h:97:28: note: passing argument to parameter here
size_t strlen(const char *) __pure;
^
macvendor.c:113:45: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
memcpy(vendorptr + vendorlen, ptr, strlen(ptr)+1);
^~~
/usr/include/string.h:97:28: note: passing argument to parameter here
size_t strlen(const char *) __pure;
^
macvendor.c:114:23: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
vendorlen += strlen(ptr)+1;
^~~
/usr/include/string.h:97:28: note: passing argument to parameter here
size_t strlen(const char *) __pure;
^
macvendor.c:127:13: warning: assigning to 'unsigned char *' from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
if ( (ptr = buf2macvendor(buf, tag)) == NULL)
^ ~~~~~~~~~~~~~~~~~~~~~~~
macvendor.c:133:23: warning: passing 'unsigned char *' to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
vendorlen += strlen(ptr)+1;
^~~
/usr/include/string.h:97:28: note: passing argument to parameter here
size_t strlen(const char *) __pure;
^
6 warnings generated.
/nxb-bin/usr/bin/cc -DHAVE_CONFIG_H -I. -I. -I.. -I../pcre-3.9 -I../Libnet-1.0.2a/include -I/usr/local/include -I/usr/include/pcap `../Libnet-1.0.2a/libnet-config --cflags --defines | tr '\n' ' '` `../pcre-3.9/pcre-config --cflags` -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c range.c
/nxb-bin/usr/bin/cc -DHAVE_CONFIG_H -I. -I. -I.. -I../pcre-3.9 -I../Libnet-1.0.2a/include -I/usr/local/include -I/usr/include/pcap `../Libnet-1.0.2a/libnet-config --cflags --defines | tr '\n' ' '` `../pcre-3.9/pcre-config --cflags` -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c thcrut.c
/nxb-bin/usr/bin/cc -DHAVE_CONFIG_H -I. -I. -I.. -I../pcre-3.9 -I../Libnet-1.0.2a/include -I/usr/local/include -I/usr/include/pcap `../Libnet-1.0.2a/libnet-config --cflags --defines | tr '\n' ' '` `../pcre-3.9/pcre-config --cflags` -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c asn.c
asn.c:23:17: warning: initializing 'unsigned char *' with an expression of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
unsigned char *src = *data;
^ ~~~~~
asn.c:56:8: warning: assigning to 'char *' from 'unsigned char *' converts between pointers to integer types with different sign [-Wpointer-sign]
*data = src;
^ ~~~
2 warnings generated.
/nxb-bin/usr/bin/cc -DHAVE_CONFIG_H -I. -I. -I.. -I../pcre-3.9 -I../Libnet-1.0.2a/include -I/usr/local/include -I/usr/include/pcap `../Libnet-1.0.2a/libnet-config --cflags --defines | tr '\n' ' '` `../pcre-3.9/pcre-config --cflags` -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -c tty.c
/nxb-bin/usr/bin/cc `../Libnet-1.0.2a/libnet-config --cflags --defines | tr '\n' ' '` `../pcre-3.9/pcre-config --cflags` -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -L../pcre-3.9 -L../Libnet-1.0.2a/src -L/usr/local/lib -fstack-protector-strong -o thcrut nvt.o icmp_main.o arp_main.o thcrut_libnet.o dhcp_main.o system.o fp.o discover_dispatch.o packets.o nmap_compat.o thcrut_pcap.o network.o discover_main.o thcrut_sig.o state.o arpg.o dhcp.o network_raw.o schedule.o dcd_icmp.o macvendor.o range.o thcrut.o asn.o tty.o -lpcap `../Libnet-1.0.2a/libnet-config --libs` `../pcre-3.9/pcre-config --libs`
ld: error: duplicate symbol: ip_tcp_sync_addr
>>> defined at discover_dispatch.c
>>> discover_dispatch.o:(ip_tcp_sync_addr)
>>> defined at discover_main.c
>>> discover_main.o:(.bss+0x4)
cc: error: linker command failed with exit code 1 (use -v to see invocation)
*** Error code 1
Stop.
make[3]: stopped in /wrkdirs/usr/ports/net/thcrut/work/thcrut-1.2.5/src
*** Error code 1
Stop.
make[2]: stopped in /wrkdirs/usr/ports/net/thcrut/work/thcrut-1.2.5
*** Error code 1
Stop.
make[1]: stopped in /wrkdirs/usr/ports/net/thcrut/work/thcrut-1.2.5
*** Error code 1
Stop.
make: stopped in /usr/ports/net/thcrut
More information about the freebsd-pkg-fallout
mailing list