Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 15 Mar 2021 05:46:47 GMT
From:      pkg-fallout@FreeBSD.org
To:        lx@FreeBSD.org
Cc:        pkg-fallout@FreeBSD.org
Subject:   [package - 130releng-amd64-quarterly][net/thcrut] Failed for thcrut-1.2.5 in build
Message-ID:  <202103150546.12F5klCV094129@beefy14.nyi.freebsd.org>

next in thread | raw e-mail | index | archive | help
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@FreeBSD.org
Last committer: mat@FreeBSD.org
Ident:          $FreeBSD: branches/2021Q1/net/thcrut/Makefile 412342 2016-04-01 13:18:17Z mat $
Log URL:        http://beefy14.nyi.freebsd.org/data/130releng-amd64-quarterly/568223/logs/thcrut-1.2.5.log
Build URL:      http://beefy14.nyi.freebsd.org/build.html?mastername=130releng-amd64-quarterly&build=568223
Log:

=>> Building net/thcrut
build started at Mon Mar 15 05:46:34 UTC 2021
port directory: /usr/ports/net/thcrut
package name: thcrut-1.2.5
building for: FreeBSD 130releng-amd64-quarterly-job-11 13.0-RC2 FreeBSD 13.0-RC2 1300139 amd64
maintained by: lx@FreeBSD.org
Makefile ident:      $FreeBSD: branches/2021Q1/net/thcrut/Makefile 412342 2016-04-01 13:18:17Z mat $
Poudriere version: 3.2.8-8-gaf08dbda
Host OSVERSION: 1400000
Jail OSVERSION: 1300139
Job Id: 11

---Begin Environment---
SHELL=/bin/csh
OSVERSION=1300139
UNAME_v=FreeBSD 13.0-RC2 1300139
UNAME_r=13.0-RC2
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-8-gaf08dbda
MASTERMNT=/usr/local/poudriere/data/.m/130releng-amd64-quarterly/ref
POUDRIERE_BUILD_TYPE=bulk
PACKAGE_BUILDING=yes
SAVED_TERM=
PWD=/usr/local/poudriere/data/.m/130releng-amd64-quarterly/ref/.p/pool
P_PORTS_FEATURES=FLAVORS SELECTED_OPTIONS
MASTERNAME=130releng-amd64-quarterly
SCRIPTPREFIX=/usr/local/share/poudriere
OLDPWD=/usr/local/poudriere/data/.m/130releng-amd64-quarterly/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@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="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_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---
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 11.0.1 (git@github.com:llvm/llvm-project.git llvmorg-11.0.1-0-g43ff75f2c3fe) Target: x86_64-unknown-freebsd13.0 Thread model: posix InstalledDir: /usr/bin
_ALTCCVERSION_921dbbb2=none
_CXXINTERNAL_acaad9ca=FreeBSD clang version 11.0.1 (git@github.com:llvm/llvm-project.git llvmorg-11.0.1-0-g43ff75f2c3fe) Target: x86_64-unknown-freebsd13.0 Thread model: posix InstalledDir: /usr/bin "/usr/bin/ld" "--eh-frame-hdr" "-dynamic-linker" "/libexec/ld-elf.so.1" "--hash-style=both" "--enable-new-dtags" "-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_b2657cc3=yes
CC_OUTPUT_921dbbb2_380987f7=yes
CC_OUTPUT_921dbbb2_160933ec=yes
CC_OUTPUT_921dbbb2_fb62803b=yes
_OBJC_CCVERSION_921dbbb2=FreeBSD clang version 11.0.1 (git@github.com:llvm/llvm-project.git llvmorg-11.0.1-0-g43ff75f2c3fe) Target: x86_64-unknown-freebsd13.0 Thread model: posix InstalledDir: /usr/bin
_OBJC_ALTCCVERSION_921dbbb2=none
ARCH=amd64
OPSYS=FreeBSD
_OSRELEASE=13.0-RC2
OSREL=13.0
OSVERSION=1300139
PYTHONBASE=/usr/local
HAVE_COMPAT_IA32_KERN=YES
CONFIGURE_MAX_CMD_LEN=524288
HAVE_PORTS_ENV=1
#### Misc Poudriere ####
GID=0
UID=0
DISABLE_MAKE_JOBS=poudriere
---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    >============================
===>   thcrut-1.2.5 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-1.16.3.txz
[130releng-amd64-quarterly-job-11] Installing pkg-1.16.3...
[130releng-amd64-quarterly-job-11] Extracting pkg-1.16.3: .......... 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>============================
===========================================================================
=======================<phase: extract        >============================
===> Fetching all distfiles required by thcrut-1.2.5 for building
===>  Extracting for thcrut-1.2.5
=> SHA256 Checksum OK for thcrut-1.2.5.tar.gz.
===========================================================================
=======================<phase: patch-depends  >============================
===========================================================================
=======================<phase: patch          >============================
===>  Patching for thcrut-1.2.5
===>  Applying FreeBSD patches for thcrut-1.2.5 from /usr/ports/net/thcrut/files
===========================================================================
=======================<phase: build-depends  >============================
===========================================================================
=======================<phase: lib-depends    >============================
===========================================================================
=======================<phase: configure      >============================
===>  Configuring for thcrut-1.2.5
===>   FreeBSD 10 autotools fix applied to /wrkdirs/usr/ports/net/thcrut/work/thcrut-1.2.5/Libnet-1.0.2a/aclocal.m4
===>   FreeBSD 10 autotools fix applied to /wrkdirs/usr/ports/net/thcrut/work/thcrut-1.2.5/Libnet-1.0.2a/configure
===>   FreeBSD 10 autotools fix applied to /wrkdirs/usr/ports/net/thcrut/work/thcrut-1.2.5/pcre-3.9/aclocal.m4
===>   FreeBSD 10 autotools fix applied to /wrkdirs/usr/ports/net/thcrut/work/thcrut-1.2.5/pcre-3.9/configure
loading site script /usr/ports/Templates/config.site
creating cache ./config.cache
Begining autoconfiguration process for thcrut-1.2.5...
checking host system type... amd64-portbld-freebsd13.0
checking target system type... amd64-portbld-freebsd13.0
checking build system type... amd64-portbld-freebsd13.0
checking for a BSD compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... yes
checking for working aclocal... missing
checking for working autoconf... missing
checking for working automake... missing
<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.
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.
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
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
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.
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
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
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.
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
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202103150546.12F5klCV094129>