Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 113907 - Can not compile net-analyzer/dsniff-2.3-r7 (stable)
Summary: Can not compile net-analyzer/dsniff-2.3-r7 (stable)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: Gentoo Netmon project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-11-29 08:07 UTC by Anton Bolshakov
Modified: 2005-11-29 15:58 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Anton Bolshakov 2005-11-29 08:07:47 UTC
emerge dsniff fails with the follow errors: 
 
gcc -Os -pipe -march=pentium4 -fomit-frame-pointer -fforce-addr -D_BSD_SOURCE 
-D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H 
-DLIBNET_LIL_ENDIAN  -I. -I/usr/include -I/usr/include -I/usr/include 
-I/usr/include -I/usr/include  -I./missing -c ./decode_x11.c 
rpcgen -h nfs_prot.x -o nfs_prot.h 
gcc -Os -pipe -march=pentium4 -fomit-frame-pointer -fforce-addr -D_BSD_SOURCE 
-D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H 
-DLIBNET_LIL_ENDIAN  -I. -I/usr/include -I/usr/include -I/usr/include 
-I/usr/include -I/usr/include  -I./missing -c ./filesnarf.c 
In file included from filesnarf.c:28: 
nfs_prot.h:6:1: unterminated #ifndef 
filesnarf.c:38: error: `NFS3_FHSIZE' undeclared here (not in a function) 
filesnarf.c: In function `nfs2_call': 
filesnarf.c:152: error: storage size of `dargs' isn't known 
filesnarf.c:153: error: storage size of `rargs' isn't known 
filesnarf.c:159: error: `NFSPROC_LOOKUP' undeclared (first use in this 
function) 
filesnarf.c:159: error: (Each undeclared identifier is reported only once 
filesnarf.c:159: error: for each function it appears in.) 
filesnarf.c:165: error: `NFS_PROGRAM' undeclared (first use in this function) 
filesnarf.c:165: error: `NFS_VERSION' undeclared (first use in this function) 
filesnarf.c:172: error: `NFSPROC_READ' undeclared (first use in this function) 
filesnarf.c:177: error: `NFS_FHSIZE' undeclared (first use in this function) 
filesnarf.c: In function `nfs2_reply': 
 
 

Reproducible: Always
Steps to Reproduce:
1. emerge dsniff 
2. 
3. 
 
Actual Results:  
fails 

Expected Results:  
compiled 

gcc version 3.3.6 (Gentoo 3.3.6, ssp-3.3.6-1.0, pie-8.7.8)
Comment 1 Marcelo Goes (RETIRED) gentoo-dev 2005-11-29 11:28:15 UTC
Can't reproduce over here. emerge info?

$ equery b /usr/include/rpcsvc/nfs_prot.h
[ Searching for file(s) /usr/include/rpcsvc/nfs_prot.h in *... ]
sys-libs/glibc-2.3.5-r2 (/usr/include/rpcsvc/nfs_prot.h)
Comment 2 Anton Bolshakov 2005-11-29 13:38:46 UTC
here we go:  
  
Portage 2.0.51.22-r3 (default-linux/x86/2005.1, gcc-3.3.6, glibc-2.3.5-r2,  
2.6.14-gentoo-r2 i686)  
=================================================================  
System uname: 2.6.14-gentoo-r2 i686 Intel(R) Pentium(R) M processor 1.70GHz  
Gentoo Base System version 1.6.13  
dev-lang/python:     2.3.5-r2, 2.4.2  
sys-apps/sandbox:    1.2.12  
sys-devel/autoconf:  2.13, 2.59-r6  
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1  
sys-devel/binutils:  2.16.1  
sys-devel/libtool:   1.5.20  
virtual/os-headers:  2.6.11-r2  
ACCEPT_KEYWORDS="x86"  
AUTOCLEAN="yes"  
CBUILD="i686-pc-linux-gnu"  
CFLAGS="-Os -pipe -march=pentium4 -fomit-frame-pointer -fforce-addr"  
CHOST="i686-pc-linux-gnu"  
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control"  
CONFIG_PROTECT_MASK="/etc/gconf /etc/splash /etc/terminfo /etc/env.d"  
CXXFLAGS="-Os -pipe -march=pentium4 -fomit-frame-pointer -fforce-addr"  
DISTDIR="/usr/portage/distfiles"  
FEATURES="autoconfig distlocks sandbox sfperms strict"  
LINGUAS="en ru"  
MAKEOPTS="-j2"  
PKGDIR="/usr/portage/packages"  
PORTAGE_TMPDIR="/var/tmp"  
PORTDIR="/usr/portage"  
PORTDIR_OVERLAY="/usr/local/portage"  
SYNC="rsync://rsync.gentoo.org/gentoo-portage"  
USE="x86 X alsa apm arts audiofile avi bash-completion berkdb bitmap-fonts  
bzip2 cdr crypt cups curl directfb dts eds emboss encode ethereal exif expat  
fam ffmpeg flac foomaticdb fortran gdbm gif gmp gphoto2 gpm gstreamer gtk2 idn  
imagemagick imlib ipv6 irda java jpeg kde kdeenablefinal lcms libg++ libwww  
lirc mad mikmod mmx mng motif mp3 mpeg ncurses nls nptl nptlonly ogg oggvorbis  
opengl oss pam pcmcia pcre pdflib perl png python qt quicktime readline samba  
sdk sdl slang snmp spell sse sse2 ssl svga tcpd tiff truetype truetype-fonts  
type1-fonts udev usb vorbis wifi xine xml2 xmms xv xvid zlib linguas_en  
linguas_ru userland_GNU kernel_linux elibc_glibc"  
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS  
 
---  
equery b /usr/include/rpcsvc/nfs_prot.h 
[ Searching for file(s) /usr/include/rpcsvc/nfs_prot.h in *... ] 
sys-libs/glibc-2.3.5-r2 (/usr/include/rpcsvc/nfs_prot.h) 
 
--- 
emerge -pv glibc 
 
These are the packages that I would merge, in order: 
 
Calculating dependencies ...done! 
[ebuild   R   ] sys-libs/glibc-2.3.5-r2  -build -erandom -glibc-compat20 
-glibc-omitfp -hardened -linuxthreads-tls (-multilib) +nls +nptl +nptlonly -pic 
-profile (-selinux) +userlocales 0 kB 
 
Comment 3 Anton Bolshakov 2005-11-29 15:58:01 UTC
I just did emerge sync and managed to compile the packages. 
The bug is closed. 
Thanks.