From owner-freebsd-ports-bugs@FreeBSD.ORG Sun Feb 6 18:20:19 2005 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0E71116A4CE for ; Sun, 6 Feb 2005 18:20:19 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7920743D45 for ; Sun, 6 Feb 2005 18:20:18 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.1/8.13.1) with ESMTP id j16IKICh014250 for ; Sun, 6 Feb 2005 18:20:18 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.1/8.13.1/Submit) id j16IKImR014249; Sun, 6 Feb 2005 18:20:18 GMT (envelope-from gnats) Resent-Date: Sun, 6 Feb 2005 18:20:18 GMT Resent-Message-Id: <200502061820.j16IKImR014249@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, piotr Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DFAC716A4CE for ; Sun, 6 Feb 2005 18:12:49 +0000 (GMT) Received: from www.freebsd.org (www.freebsd.org [216.136.204.117]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6987943D5E for ; Sun, 6 Feb 2005 18:12:49 +0000 (GMT) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.13.1/8.13.1) with ESMTP id j16ICn5T041653 for ; Sun, 6 Feb 2005 18:12:49 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.13.1/8.13.1/Submit) id j16ICnVd041652; Sun, 6 Feb 2005 18:12:49 GMT (envelope-from nobody) Message-Id: <200502061812.j16ICnVd041652@www.freebsd.org> Date: Sun, 6 Feb 2005 18:12:49 GMT From: piotr To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-2.3 Subject: ports/77173: dsniff installation doesn't work under freeBSD 5.3 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 06 Feb 2005 18:20:19 -0000 >Number: 77173 >Category: ports >Synopsis: dsniff installation doesn't work under freeBSD 5.3 >Confidential: no >Severity: critical >Priority: high >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sun Feb 06 18:20:18 GMT 2005 >Closed-Date: >Last-Modified: >Originator: piotr >Release: freeBSD 5.3 >Organization: >Environment: # uname -a FreeBSD bsd.dom 5.3-RELEASE FreeBSD 5.3-RELEASE #0: Fri Nov 5 04:19:18 UTC 2004 root@harlow.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386 >Description: # cd /usr/ports/security/dsniff # make install clean ===> Building for dsniff-2.3 cc -O -pipe -D_BSD_SOURCE -DLIBNET_BSDISH_OS -DLIBNET_BSD_BYTE_SWAP -DHAVE_SOCKADDR_SA_LEN -DDSNIFF_LIBDIR= \"/usr/local/lib/\" -I. -I/usr/include -I/usr/local/include -I/usr/local/include -I/usr/X11R6/include -I./missing -c ./arpspoof.c ./arpspoof.c:25: warning: "struct ether_addr" declared inside parameter list ./arpspoof.c:25: warning: its scope is only this definition or declaration, which is probably not what you want ./arpspoof.c:26: warning: "struct ether_addr" declared inside parameter list ./arpspoof.c: In function `arp_send': ./arpspoof.c:49: warning: passing arg 1 of `libnet_get_hwaddr' from incompatible pointer type ./arpspoof.c:49: error: too many arguments to function `libnet_get_hwaddr' ./arpspoof.c:60: warning: passing arg 6 of `libnet_build_ethernet' from incompatible pointer type ./arpspoof.c:60: error: too few arguments to function `libnet_build_ethernet' ./arpspoof.c:64: error: `ETH_H' undeclared (first use in this function) ./arpspoof.c:64: error: (Each undeclared identifier is reported only once ./arpspoof.c:64: error: for each function it appears in.) ./arpspoof.c:64: error: too few arguments to function `libnet_build_arp' ./arpspoof.c: In function `main': ./arpspoof.c:181: warning: assignment makes pointer from integer without a cast ./arpspoof.c: At top level: ./arpspoof.c:29: error: storage size of `spoof_mac' isn't known ./arpspoof.c:29: error: storage size of `target_mac' isn't known *** Error code 1 Stop in /usr/ports/security/dsniff/work/dsniff-2.3. *** Error code 1 Stop in /usr/ports/security/dsniff. -------------------------------------------------------------------------------------------------------- or # portinstall -f dsniff [Updating the pkgdb in /var/db/pkg ... - 198 packages found (-1 +35) (...)................................... done] ---> Installing 'dsniff-2.3' from a port (security/dsniff) ---> Building '/usr/ports/security/dsniff' ===> Cleaning for libiconv-1.9.2_1 ===> Cleaning for autoconf-2.13.000227_5 ===> Cleaning for gettext-0.14.1 ===> Cleaning for gmake-3.80_2 ===> Cleaning for imake-6.8.1 ===> Cleaning for libtool-1.3.5_2 ===> Cleaning for libtool-1.5.10 ===> Cleaning for m4-1.4.1 ===> Cleaning for pkgconfig-0.15.0_1 ===> Cleaning for perl-5.8.5 ===> Cleaning for libnet-1.0.2a,1 ===> Cleaning for libnids-1.19 ===> Cleaning for freetype2-2.1.7_4 ===> Cleaning for expat-1.95.8 ===> Cleaning for fontconfig-2.2.3,1 ===> Cleaning for xorg-libraries-6.8.1_1 ===> Cleaning for dsniff-2.3 ===> Vulnerability check disabled, database not found ===> Extracting for dsniff-2.3 => Checksum OK for dsniff-2.3.tar.gz. ===> Patching for dsniff-2.3 ===> Applying FreeBSD patches for dsniff-2.3 ===> dsniff-2.3 depends on file: /usr/local/lib/libnet.a - found ===> dsniff-2.3 depends on file: /usr/local/lib/libnids.a - found ===> dsniff-2.3 depends on shared library: X11.6 - found ===> Configuring for dsniff-2.3 creating cache ./config.cache checking for gcc... cc checking whether the C compiler (cc -O -pipe ) works... yes checking whether the C compiler (cc -O -pipe ) is a cross-compiler... no checking whether we are using GNU C... yes checking whether cc accepts -g... yes checking for a BSD compatible install... /usr/bin/install -c -o root -g wheel checking for ranlib... ranlib checking how to run the C preprocessor... cc -E checking for X... libraries /usr/X11R6/lib, headers /usr/X11R6/include checking for dnet_ntoa in -ldnet... no checking for dnet_ntoa in -ldnet_stub... no checking for gethostbyname... yes checking for connect... yes checking for remove... yes checking for shmat... yes checking for IceConnectionNumber in -lICE... yes checking for ANSI C header files... yes checking for err.h... yes checking for fcntl.h... yes checking for sys/ioctl.h... yes checking for sys/queue.h... yes checking for unistd.h... yes checking for libgen.h... yes checking for net/if_tun.h... yes checking for MIN and MAX in sys/param.h... yes checking for working const... yes checking for size_t... yes checking whether struct tm is in sys/time.h or time.h... time.h checking for u_int32_t... yes checking for u_int64_t... yes checking for in_addr_t... yes checking whether cc needs -traditional... no checking for 8-bit clean memcmp... yes checking return type of signal handlers... void checking for strftime... yes checking for gethostname... yes checking for socket... yes checking for strdup... yes checking for strstr... yes checking for xdr_fhstatus in -lrpcsvc... yes checking for socket in -lsocket... no checking for gethostbyname in -lnsl... no checking for dn_expand in -lresolv... no checking for dirname... yes checking for strlcpy... yes checking for strlcat... yes checking for strsep... yes checking for MD5Update... no checking for warnx... yes checking for ether_ntoa... yes checking for Berkeley DB with 1.85 compatibility... yes checking for libpcap... yes checking for libnet... yes checking for libnids... yes checking whether libnids version is good... yes checking for OpenSSL... yes updating cache ./config.cache creating ./config.status creating Makefile creating config.h ===> Building for dsniff-2.3 cc -O -pipe -D_BSD_SOURCE -DLIBNET_BSDISH_OS -DLIBNET_BSD_BYTE_SWAP -DHAVE_SOCKADDR_SA_LEN -DDSNIFF_LIBDIR= \"/usr/local/lib/\" -I. -I/usr/include -I/usr/local/include -I/usr/local/include -I/usr/X11R6/include -I./missing -c ./missing/dummy.c cc -O -pipe -D_BSD_SOURCE -DLIBNET_BSDISH_OS -DLIBNET_BSD_BYTE_SWAP -DHAVE_SOCKADDR_SA_LEN -DDSNIFF_LIBDIR= \"/usr/local/lib/\" -I. -I/usr/include -I/usr/local/include -I/usr/local/include -I/usr/X11R6/include -I./missing -c ./missing/md5.c ar -cr libmissing.a dummy.o md5.o ranlib libmissing.a cc -O -pipe -D_BSD_SOURCE -DLIBNET_BSDISH_OS -DLIBNET_BSD_BYTE_SWAP -DHAVE_SOCKADDR_SA_LEN -DDSNIFF_LIBDIR= \"/usr/local/lib/\" -I. -I/usr/include -I/usr/local/include -I/usr/local/include -I/usr/X11R6/include -I./missing -c ./arpspoof.c ./arpspoof.c:25: warning: "struct ether_addr" declared inside parameter list ./arpspoof.c:25: warning: its scope is only this definition or declaration, which is probably not what you want ./arpspoof.c:26: warning: "struct ether_addr" declared inside parameter list ./arpspoof.c: In function `arp_send': ./arpspoof.c:49: warning: passing arg 1 of `libnet_get_hwaddr' from incompatible pointer type ./arpspoof.c:49: error: too many arguments to function `libnet_get_hwaddr' ./arpspoof.c:60: warning: passing arg 6 of `libnet_build_ethernet' from incompatible pointer type ./arpspoof.c:60: error: too few arguments to function `libnet_build_ethernet' ./arpspoof.c:64: error: `ETH_H' undeclared (first use in this function) ./arpspoof.c:64: error: (Each undeclared identifier is reported only once ./arpspoof.c:64: error: for each function it appears in.) ./arpspoof.c:64: error: too few arguments to function `libnet_build_arp' ./arpspoof.c: In function `main': ./arpspoof.c:181: warning: assignment makes pointer from integer without a cast ./arpspoof.c: At top level: ./arpspoof.c:29: error: storage size of `spoof_mac' isn't known ./arpspoof.c:29: error: storage size of `target_mac' isn't known *** Error code 1 Stop in /usr/ports/security/dsniff/work/dsniff-2.3. *** Error code 1 Stop in /usr/ports/security/dsniff. ** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portinstall18067.0 make ** Fix the problem and try again. ** Listing the failed packages (*:skipped / !:failed) ! security/dsniff (compiler error) ---> Packages processed: 0 done, 0 ignored, 0 skipped and 1 failed >How-To-Repeat: to try to install dsniff under freeBSD 5.3 >Fix: >Release-Note: >Audit-Trail: >Unformatted: