Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 25 Apr 2014 16:29:44 GMT
From:      pkg-fallout-builder@FreeBSD.org
To:        sbz@FreeBSD.org
Cc:        pkg-fallout@FreeBSD.org
Subject:   [REL - head-i386-default][security/dsniff] Failed for dsniff-2.3_4 in build
Message-ID:  <201404251629.s3PGTioA020059@beefy1.isc.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:     sbz@FreeBSD.org
Last committer: antoine@FreeBSD.org
Ident:          $FreeBSD: head/security/dsniff/Makefile 343308 2014-02-08 07:07:19Z antoine $
Log URL:        http://beefy1.isc.freebsd.org/bulk/head-i386-default/2014-04-25_02h24m14s/logs/dsniff-2.3_4.log
Build URL:      http://beefy1.isc.freebsd.org/bulk/head-i386-default/2014-04-25_02h24m14s
Log:

====>> Building security/dsniff
build started at Fri Apr 25 16:29:22 UTC 2014
port directory: /usr/ports/security/dsniff
building for: FreeBSD head-i386-default-job-03 11.0-CURRENT FreeBSD 11.0-CURRENT r264257 i386
maintained by: sbz@FreeBSD.org
Makefile ident:      $FreeBSD: head/security/dsniff/Makefile 343308 2014-02-08 07:07:19Z antoine $
Poudriere version: 3.1-pre
Host OSVERSION: 1100013
Jail OSVERSION: 1100018




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



---Begin Environment---
UNAME_m=i386
UNAME_p=i386
OSVERSION=1100018
UNAME_v=FreeBSD 11.0-CURRENT r264257
UNAME_r=11.0-CURRENT
BLOCKSIZE=K
MAIL=/var/mail/root
STATUS=1
SAVED_TERM=
MASTERMNT=/usr/local/poudriere/data/build/head-i386-default/ref
PKG_EXT=txz
tpid=93534
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/root/bin
POUDRIERE_BUILD_TYPE=bulk
PKGNG=1
PKGNAME=dsniff-2.3_4
PKG_DELETE=/usr/local/sbin/pkg-static delete -y -f
PKG_ADD=/usr/local/sbin/pkg-static add
OLDPWD=/usr/local/poudriere/data/build/head-i386-default/ref/poudriere/rdeps
PWD=/usr/local/poudriere/data/build/head-i386-default/ref/poudriere/pool
MASTERNAME=head-i386-default
USER=root
HOME=/root
POUDRIERE_VERSION=3.1-pre
LOCALBASE=/usr/local
PACKAGE_BUILDING=yes
PKG_VERSION=/poudriere/pkg-static version
PKG_BIN=/usr/local/sbin/pkg-static
---End Environment---

---Begin OPTIONS List---
===> The following configuration options are available for dsniff-2.3_4:
     X11=on: X11 (graphics) support
===> Use 'make config' to modify these settings
---End OPTIONS List---

--CONFIGURE_ARGS--
--with-x --x-libraries=/usr/local/lib --x-includes=/usr/local/include --prefix=/usr/local ${_LATE_CONFIGURE_ARGS}
--End CONFIGURE_ARGS--

--CONFIGURE_ENV--
TMPDIR="/tmp" PKG_CONFIG=pkgconf TMPDIR="/tmp" SHELL=/bin/sh CONFIG_SHELL=/bin/sh CONFIG_SITE=/usr/ports/Templates/config.site lt_cv_sys_max_cmd_len=262144
--End CONFIGURE_ENV--

--MAKE_ENV--
TMPDIR="/tmp" TMPDIR="/tmp" SHELL=/bin/sh NO_LINT=YES PREFIX=/usr/local  LOCALBASE=/usr/local  LIBDIR="/usr/lib"  CC="cc" CFLAGS="-O2 -pipe  -fno-strict-aliasing"  CPP="cpp" CPPFLAGS=""  LDFLAGS=""  CXX="c++" CXXFLAGS="-O2 -pipe -fno-strict-aliasing"  MANPREFIX="/usr/local" BSD_INSTALL_PROGRAM="install  -s -o root -g wheel -m 555"  BSD_INSTALL_LIB="install  -s -o root -g wheel -m 444"  BSD_INSTALL_SCRIPT="install  -o root -g wheel -m 555"  BSD_INSTALL_DATA="install  -o root -g wheel -m 444"  BSD_INSTALL_MAN="install  -o root -g wheel -m 444"
--End MAKE_ENV--

--PLIST_SUB--
X11=""
NO_X11="@comment
"
OSREL=11.0
PREFIX=%D
LOCALBASE=/usr/local
PORTDOCS=""
PORTEXAMPLES=""
PORTDATA=""
LIB32DIR=lib
GNOME:="@comment
"
NOGNOME:=""
DOCSDIR="share/doc/dsniff"
EXAMPLESDIR="share/examples/dsniff"
DATADIR="share/dsniff"
WWWDIR="www/dsniff"
ETCDIR="etc/dsniff"
--End PLIST_SUB--

--SUB_LIST--
X11=""
NO_X11="@comment
"
PREFIX=/usr/local
LOCALBASE=/usr/local
DATADIR=/usr/local/share/dsniff
DOCSDIR=/usr/local/share/doc/dsniff
EXAMPLESDIR=/usr/local/share/examples/dsniff
WWWDIR=/usr/local/www/dsniff
ETCDIR=/usr/local/etc/dsniff
--End SUB_LIST--

---Begin make.conf---
ARCH=i386
MACHINE=i386
MACHINE_ARCH=i386
USE_PACKAGE_DEPENDS=yes
BATCH=yes
WRKDIRPREFIX=/wrkdirs
PORTSDIR=/usr/ports
PACKAGES=/packages
DISTDIR=/distfiles
#### /usr/local/etc/poudriere.d/make.conf ####
WITH_PKGNG=yes
NO_RESTRICTED=yes
DISABLE_MAKE_JOBS=poudriere
---End make.conf---
===>  Cleaning for dsniff-2.3_4
=======================<phase: check-sanity   >============================
===>  License BSD3CLAUSE accepted by the user
===========================================================================
=======================<phase: pkg-depends    >============================
===>   dsniff-2.3_4 depends on file: /usr/local/sbin/pkg - not found
===>    Verifying install for /usr/local/sbin/pkg in /usr/ports/ports-mgmt/pkg
===>   Installing existing package /packages/All/pkg-1.2.7_2.txz
Installing pkg-1.2.7_2... done
If you are upgrading from the old package format, first run:

  # pkg2ng
===>   Returning to build of dsniff-2.3_4
===========================================================================
=======================<phase: fetch-depends  >============================
===========================================================================
=======================<phase: fetch          >============================
===>  License BSD3CLAUSE accepted by the user
===> Fetching all distfiles required by dsniff-2.3_4 for building
===========================================================================
=======================<phase: checksum       >============================
===>  License BSD3CLAUSE accepted by the user
===> Fetching all distfiles required by dsniff-2.3_4 for building
=> SHA256 Checksum OK for dsniff-2.3.tar.gz.
===========================================================================
=======================<phase: extract-depends>============================
===========================================================================
=======================<phase: extract        >============================
===>  License BSD3CLAUSE accepted by the user
===> Fetching all distfiles required by dsniff-2.3_4 for building
===>  Extracting for dsniff-2.3_4
=> SHA256 Checksum OK for dsniff-2.3.tar.gz.
===========================================================================
=======================<phase: patch-depends  >============================
===========================================================================
=======================<phase: patch          >============================
===>  Patching for dsniff-2.3_4
===>  Applying FreeBSD patches for dsniff-2.3_4
===========================================================================
=======================<phase: build-depends  >============================
===>   dsniff-2.3_4 depends on file: /usr/local/lib/libnet10/libnet.a - not found
===>    Verifying install for /usr/local/lib/libnet10/libnet.a in /usr/ports/net/libnet10
===>   Installing existing package /packages/All/libnet10-1.0.2a_5,1.txz
Installing libnet10-1.0.2a_5,1... done
===>   Returning to build of dsniff-2.3_4
===>   dsniff-2.3_4 depends on file: /usr/local/lib/libnids.a - not found
===>    Verifying install for /usr/local/lib/libnids.a in /usr/ports/net/libnids
===>   Installing existing package /packages/All/libnids-1.24_1.txz
Installing libnids-1.24_1...Installing glib-2.36.3_2...Installing gettext-0.18.3.1... done
Installing libffi-3.0.13_1... done
Installing libiconv-1.14_3... done
Installing pcre-8.34... done
Installing perl5-5.16.3_9... done
Installing python27-2.7.6_4... done
No schema files found: doing nothing.
 done
 done
====
Note that some of the standard modules are provided as separate
ports since they require extra dependencies:

bsddb           databases/py-bsddb
gdbm            databases/py-gdbm
sqlite3         databases/py-sqlite3
tkinter         x11-toolkits/py-tkinter

Install them as needed.
====
===>   Returning to build of dsniff-2.3_4
===>   dsniff-2.3_4 depends on executable: pkgconf - not found
===>    Verifying install for pkgconf in /usr/ports/devel/pkgconf
===>   Installing existing package /packages/All/pkgconf-0.9.5.txz
Installing pkgconf-0.9.5... done
===>   Returning to build of dsniff-2.3_4
===>   dsniff-2.3_4 depends on file: /usr/local/libdata/pkgconfig/x11.pc - not found
===>    Verifying install for /usr/local/libdata/pkgconfig/x11.pc in /usr/ports/x11/libX11
===>   Installing existing package /packages/All/libX11-1.6.2_1,1.txz
Installing libX11-1.6.2_1,1...Installing kbproto-1.0.6... done
Installing libXau-1.0.8_1...Installing xproto-7.0.25... done
 done
Installing libXdmcp-1.1.1_1... done
<snip>
./filesnarf.c:296:6: warning: passing 'char *' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
                                 lres.LOOKUP3res_u.resok.object.data.data_val,
                                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./filesnarf.c:89:36: note: passing argument to parameter 'fh' here
fh_map_add(char *filename, u_char *fh, int len)
                                   ^
./filesnarf.c:304:24: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
                xdrmem_create(&xdrs, buf, len, XDR_DECODE);
                                     ^~~
/usr/include/rpc/xdr.h:345:42: note: passing argument to parameter here
extern void   xdrmem_create(XDR *, char *, u_int, enum xdr_op);
                                         ^
./filesnarf.c:310:7: warning: passing 'char *' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
                                         rres.READ3res_u.resok.data.data_val,
                                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./filesnarf.c:132:62: note: passing argument to parameter 'buf' here
nfs_save(struct tuple4 *addr, struct myreadargs *ma, u_char *buf, int len)
                                                             ^
./filesnarf.c:395:6: warning: assigning to 'u_char *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        buf = hs->data;
            ^ ~~~~~~~~
15 warnings generated.
cc  -o filesnarf filesnarf.o nfs_prot.o pcaputil.o rpc.o -lrpcsvc  -L. -lmd -L/usr/local/lib -lnids `pkg-config --libs gthread-2.0` -lpcap -L/usr/local/include/libnet10  /usr/local/lib/libnet10/libnet.a
cc -O2 -pipe  -fno-strict-aliasing -D_BSD_SOURCE -DLIBNET_BSDISH_OS -DLIBNET_BSD_BYTE_SWAP -DHAVE_SOCKADDR_SA_LEN -DLIBNET_LIL_ENDIAN -DDSNIFF_LIBDIR=\"/usr/local/lib/\" -I. -I/usr/local/include -I/usr/include/pcap -DLIBNET_BSDISH_OS -DLIBNET_BSD_BYTE_SWAP -DHAVE_SOCKADDR_SA_LEN -DLIBNET_LIL_ENDIAN -I/usr/local/include/libnet10   -I/usr/local/include -c ./macof.c
./macof.c:70:30: warning: passing 'char *' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
                        Src = libnet_name_resolve(optarg, 0);
                                                  ^~~~~~
/usr/local/include/libnet10/./libnet/libnet-functions.h:147:13: note: passing argument to parameter here
    u_char *,           /* Pointer the hostname or dotted decimal IP address */
            ^
./macof.c:73:30: warning: passing 'char *' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
                        Dst = libnet_name_resolve(optarg, 0);
                                                  ^~~~~~
/usr/local/include/libnet10/./libnet/libnet-functions.h:147:13: note: passing argument to parameter here
    u_char *,           /* Pointer the hostname or dotted decimal IP address */
            ^
2 warnings generated.
cc  -o macof macof.o -lrpcsvc  -L. -lmd -lpcap -L/usr/local/include/libnet10  /usr/local/lib/libnet10/libnet.a
cc -O2 -pipe  -fno-strict-aliasing -D_BSD_SOURCE -DLIBNET_BSDISH_OS -DLIBNET_BSD_BYTE_SWAP -DHAVE_SOCKADDR_SA_LEN -DLIBNET_LIL_ENDIAN -DDSNIFF_LIBDIR=\"/usr/local/lib/\" -I. -I/usr/local/include -I/usr/include/pcap -DLIBNET_BSDISH_OS -DLIBNET_BSD_BYTE_SWAP -DHAVE_SOCKADDR_SA_LEN -DLIBNET_LIL_ENDIAN -I/usr/local/include/libnet10   -I/usr/local/include -c ./mailsnarf.c
./mailsnarf.c:116:17: warning: passing 'char *' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
        buf_init(&buf, data, len);
                       ^~~~
./buf.h:22:34: note: passing argument to parameter 'data' here
void    buf_init(buf_t buf, u_char *data, int len);
                                    ^
./mailsnarf.c:122:19: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
                if (strncasecmp(buf_ptr(line), "RETR ", 5) == 0) {
                                ^~~~~~~~~~~~~
./buf.h:31:20: note: expanded from macro 'buf_ptr'
#define buf_ptr(b)      ((b)->base + (b)->offset)
                        ^~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/strings.h:61:30: note: passing argument to parameter here
int      strncasecmp(const char *, const char *, size_t) __pure;
                                 ^
./mailsnarf.c:136:17: warning: passing 'char *' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
        buf_init(&buf, data, len);
                       ^~~~
./buf.h:22:34: note: passing argument to parameter 'data' here
void    buf_init(buf_t buf, u_char *data, int len);
                                    ^
./mailsnarf.c:158:20: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
                        if (regex_match(buf_ptr(body)))
                                        ^~~~~~~~~~~~~
./buf.h:31:20: note: expanded from macro 'buf_ptr'
#define buf_ptr(b)      ((b)->base + (b)->offset)
                        ^~~~~~~~~~~~~~~~~~~~~~~~~
./mailsnarf.c:65:19: note: passing argument to parameter 'string' here
regex_match(char *string)
                  ^
./mailsnarf.c:159:26: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
                                print_mbox_msg(NULL, buf_ptr(body));
                                                     ^~~~~~~~~~~~~
./buf.h:31:20: note: expanded from macro 'buf_ptr'
#define buf_ptr(b)      ((b)->base + (b)->offset)
                        ^~~~~~~~~~~~~~~~~~~~~~~~~
./mailsnarf.c:87:34: note: passing argument to parameter 'msg' here
print_mbox_msg(char *from, char *msg)
                                 ^
./mailsnarf.c:174:17: warning: passing 'char *' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
        buf_init(&buf, data, len);
                       ^~~~
./buf.h:22:34: note: passing argument to parameter 'data' here
void    buf_init(buf_t buf, u_char *data, int len);
                                    ^
./mailsnarf.c:180:6: warning: assigning to 'char *' from 'u_char *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
                        p = buf_ptr(line);
                          ^ ~~~~~~~~~~~~~
./mailsnarf.c:214:20: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
                        if (regex_match(buf_ptr(body)))
                                        ^~~~~~~~~~~~~
./buf.h:31:20: note: expanded from macro 'buf_ptr'
#define buf_ptr(b)      ((b)->base + (b)->offset)
                        ^~~~~~~~~~~~~~~~~~~~~~~~~
./mailsnarf.c:65:19: note: passing argument to parameter 'string' here
regex_match(char *string)
                  ^
./mailsnarf.c:215:32: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
                                print_mbox_msg(smtp->from, buf_ptr(body));
                                                           ^~~~~~~~~~~~~
./buf.h:31:20: note: expanded from macro 'buf_ptr'
#define buf_ptr(b)      ((b)->base + (b)->offset)
                        ^~~~~~~~~~~~~~~~~~~~~~~~~
./mailsnarf.c:87:34: note: passing argument to parameter 'msg' here
print_mbox_msg(char *from, char *msg)
                                 ^
9 warnings generated.
cc  -o mailsnarf mailsnarf.o buf.o pcaputil.o -lrpcsvc  -L. -lmd -L/usr/local/lib -lnids `pkg-config --libs gthread-2.0` -lpcap -L/usr/local/include/libnet10  /usr/local/lib/libnet10/libnet.a
cc -O2 -pipe  -fno-strict-aliasing -D_BSD_SOURCE -DLIBNET_BSDISH_OS -DLIBNET_BSD_BYTE_SWAP -DHAVE_SOCKADDR_SA_LEN -DLIBNET_LIL_ENDIAN -DDSNIFF_LIBDIR=\"/usr/local/lib/\" -I. -I/usr/local/include -I/usr/include/pcap -DLIBNET_BSDISH_OS -DLIBNET_BSD_BYTE_SWAP -DHAVE_SOCKADDR_SA_LEN -DLIBNET_LIL_ENDIAN -I/usr/local/include/libnet10   -I/usr/local/include -c ./msgsnarf.c
./msgsnarf.c:142:7: warning: assigning to 'u_char *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
                                p = buf_strdup(msg);
                                  ^ ~~~~~~~~~~~~~~~
./msgsnarf.c:144:21: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
                                if (regex_match(p))
                                                ^
./msgsnarf.c:63:19: note: passing argument to parameter 'string' here
regex_match(char *string)
                  ^
./msgsnarf.c:158:7: warning: assigning to 'u_char *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
                                p = buf_strdup(msg);
                                  ^ ~~~~~~~~~~~~~~~
./msgsnarf.c:160:21: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
                                if (regex_match(p))
                                                ^
./msgsnarf.c:63:19: note: passing argument to parameter 'string' here
regex_match(char *string)
                  ^
./msgsnarf.c:194:7: warning: assigning to 'u_char *' (aka 'unsigned char *') from 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
                                p = buf_strdup(msg);
                                  ^ ~~~~~~~~~~~~~~~
./msgsnarf.c:196:21: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'const char *' converts between pointers to integer types with different sign [-Wpointer-sign]
                                if (p && strlen(p) && regex_match(p)) {
                                                ^
/usr/include/string.h:95:28: note: passing argument to parameter here
size_t   strlen(const char *) __pure;
                            ^
./msgsnarf.c:196:39: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
                                if (p && strlen(p) && regex_match(p)) {
                                                                  ^
./msgsnarf.c:63:19: note: passing argument to parameter 'string' here
regex_match(char *string)
                  ^
./msgsnarf.c:594:24: warning: passing 'char *' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
                        i = process_msgs(c, ts->server.data,
                                            ^~~~~~~~~~~~~~~
./msgsnarf.c:599:24: warning: passing 'char *' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
                        i = process_msgs(c, ts->client.data,
                                            ^~~~~~~~~~~~~~~
./msgsnarf.c:610:20: warning: passing 'char *' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
                        process_msgs(c, ts->server.data,
                                        ^~~~~~~~~~~~~~~
./msgsnarf.c:613:20: warning: passing 'char *' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
                        process_msgs(c, ts->client.data,
                                        ^~~~~~~~~~~~~~~
11 warnings generated.
cc  -o msgsnarf msgsnarf.o buf.o pcaputil.o -lrpcsvc  -L. -lmd -L/usr/local/lib -lnids `pkg-config --libs gthread-2.0` -lpcap -L/usr/local/include/libnet10  /usr/local/lib/libnet10/libnet.a
cc -O2 -pipe  -fno-strict-aliasing -D_BSD_SOURCE -DLIBNET_BSDISH_OS -DLIBNET_BSD_BYTE_SWAP -DHAVE_SOCKADDR_SA_LEN -DLIBNET_LIL_ENDIAN -DDSNIFF_LIBDIR=\"/usr/local/lib/\" -I. -I/usr/local/include -I/usr/include/pcap -DLIBNET_BSDISH_OS -DLIBNET_BSD_BYTE_SWAP -DHAVE_SOCKADDR_SA_LEN -DLIBNET_LIL_ENDIAN -I/usr/local/include/libnet10   -I/usr/local/include -c ./sshmitm.c
./sshmitm.c:44:21: error: redefinition of 'csin' as different kind of symbol
struct   sockaddr_in csin, ssin;
                     ^
./sshmitm.c:44:21: note: previous definition is here
./sshmitm.c:151:23: error: member reference base type '_Complex double (_Complex double)' is not a structure or union
                      inet_ntoa(csin.sin_addr), ntohs(csin.sin_port));
                                ~~~~^~~~~~~~~
./sshmitm.c:201:42: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
        ssh_strlcat(userpass, sizeof(userpass), buf + 1, i - 1);
                                                ^~~~~~~
./sshmitm.c:56:40: note: passing argument to parameter 'src' here
ssh_strlcat(char *dst, int size, char *src, int len)
                                       ^
./sshmitm.c:234:11: warning: passing 'u_char *' (aka 'unsigned char *') to parameter of type 'char *' converts between pointers to integer types with different sign [-Wpointer-sign]
                                                    buf + 1, i - 1);
                                                    ^~~~~~~
./sshmitm.c:56:40: note: passing argument to parameter 'src' here
ssh_strlcat(char *dst, int size, char *src, int len)
                                       ^
./sshmitm.c:240:17: error: member reference base type '_Complex double (_Complex double)' is not a structure or union
                                        record(csin.sin_addr.s_addr,
                                               ~~~~^~~~~~~~~
./sshmitm.c:339:35: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign]
                                           (struct sockaddr *)&csin, &i);
                                                                     ^~
/usr/include/sys/socket.h:619:69: note: passing argument to parameter here
int     accept(int, struct sockaddr * __restrict, socklen_t * __restrict);
                                                                        ^
./sshmitm.c:390:32: warning: passing 'char *' to parameter of type 'u_char *' (aka 'unsigned char *') converts between pointers to integer types with different sign [-Wpointer-sign]
        if ((ip = libnet_name_resolve(argv[0], 1)) == -1)
                                      ^~~~~~~
/usr/local/include/libnet10/./libnet/libnet-functions.h:147:13: note: passing argument to parameter here
    u_char *,           /* Pointer the hostname or dotted decimal IP address */
            ^
4 warnings and 3 errors generated.
*** Error code 1

Stop.
make[1]: stopped in /wrkdirs/usr/ports/security/dsniff/work/dsniff-2.3
*** Error code 1

Stop.
make: stopped in /usr/ports/security/dsniff
===>  Cleaning for dsniff-2.3_4



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