Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 130038 - net-analyzer/dsniff-2.4_beta1-r1 needs libXmu
Summary: net-analyzer/dsniff-2.4_beta1-r1 needs libXmu
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Other
: High normal (vote)
Assignee: Gentoo Netmon project
URL:
Whiteboard:
Keywords: InVCS
Depends on:
Blocks:
 
Reported: 2006-04-15 02:23 UTC by Andrei Ivanov
Modified: 2006-04-21 08:27 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 Andrei Ivanov 2006-04-15 02:23:38 UTC
gcc -march=athlon-xp -O3 -pipe -fomit-frame-pointer -fprefetch-loop-arrays -ffast-math -fforce-addr -falign-functions=4 -mfpmath=sse -ftracer -DCLK_TCK=CLOCKS_PER_SEC -D_BSD_SOURCE -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H  -I.  -I./missing  -c ./webspy.c
gcc -march=athlon-xp -O3 -pipe -fomit-frame-pointer -fprefetch-loop-arrays -ffast-math -fforce-addr -falign-functions=4 -mfpmath=sse -ftracer -DCLK_TCK=CLOCKS_PER_SEC -D_BSD_SOURCE -D_BSD_SOURCE -D__BSD_SOURCE -D__FAVOR_BSD -DHAVE_NET_ETHERNET_H  -I.  -I./missing  -c ./remote.c
./remote.c:38:57: X11/Xmu/WinUtil.h: No such file or directory
make: *** [remote.o] Error 1

!!! ERROR: net-analyzer/dsniff-2.4_beta1-r1 failed.

After upgrading to modular X, revdep-rebuild noticed that webspy is missing the library and recompiling dsniff without it doesn't exclude webspy.

ldd `which webspy`
        linux-gate.so.1 =>  (0xffffe000)
        libresolv.so.2 => /lib/libresolv.so.2 (0xa7f57000)
        libnsl.so.1 => /lib/libnsl.so.1 (0xa7f42000)
        libnids.so.1.20 => /usr/lib/libnids.so.1.20 (0xa7f32000)
        libpcap.so.0 => /usr/lib/libpcap.so.0 (0xa7f04000)
        libnet.so.1 => /usr/lib/libnet.so.1 (0xa7eee000)
        libSM.so.6 => /usr/lib/libSM.so.6 (0xa7ee5000)
        libICE.so.6 => /usr/lib/libICE.so.6 (0xa7ecc000)
        libXmu.so.6 => not found
        libX11.so.6 => /usr/lib/libX11.so.6 (0xa7dc1000)
        libc.so.6 => /lib/libc.so.6 (0xa7ca5000)
        libXau.so.6 => /usr/lib/libXau.so.6 (0xa7ca2000)
        libXdmcp.so.6 => /usr/lib/libXdmcp.so.6 (0xa7c9c000)
        libdl.so.2 => /lib/libdl.so.2 (0xa7c98000)
        /lib/ld-linux.so.2 (0xa7f73000)


Portage 2.1_pre7-r5 (default-linux/x86/2006.0, gcc-3.4.6, glibc-2.4-r1, 2.6.16-gentoo-r2 i686)
=================================================================
System uname: 2.6.16-gentoo-r2 i686 AMD Athlon(tm) XP 2600+
Gentoo Base System version 1.12.0_pre17
dev-lang/python:     2.3.5, 2.4.2-r1
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.16.1-r2
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r3
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=athlon-xp -O3 -pipe -fomit-frame-pointer -fprefetch-loop-arrays -ffast-math -fforce-addr -falign-functions=4 -mfpmath=sse -ftracer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /opt/openjms/config /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/alias /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/eselect/compiler /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/env.d"
CXXFLAGS="-march=athlon-xp -O3 -pipe -fomit-frame-pointer -fprefetch-loop-arrays -ffast-math -fforce-addr -falign-functions=4 -mfpmath=sse -ftracer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig candy distlocks fixpackages metadata-transfer sandbox sfperms strict userpriv usersandbox"
GENTOO_MIRRORS="http://ftp.lug.ro/gentoo"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="x86 3dnow aalib acl acpi adns alsa apache2 avi bitmap-fonts bzip2 cairo caps cli crypt ctype cups curl curlwrappers dba dio eds emboss encode esd exif expat fastbuild flac foomaticdb force-cgi-redirect fortran ftp gd gif gmp gpm gstreamer idn imagemagick imap imlib isdnlog java javamail jpeg junit ldap libg++ libwww mad maildir mailwrapper memlimit mhash mikmod mmap mmx mono mp3 mpeg ncurses nls nptl offensive ogg oggvorbis pam pcntl pcre pdflib png posix pppd quicktime readline samba session shared sharedmem simplexml slp soap sockets socks5 speex spell spl sse ssl svg sysvipc tcpd theora tiff tokenizer truetype truetype-fonts type1-fonts udev unicode urandom usb vhosts vorbis wmf xml xmlrpc xsl zlib elibc_glibc input_devices_keyboard input_devices_mouse kernel_linux userland_GNU video_cards_nvidia"
Unset:  ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS, PORTDIR_OVERLAY
Comment 1 Markus Ullmann (RETIRED) gentoo-dev 2006-04-15 16:24:31 UTC
Fixed in CVS, thank you for pointing this out :)
Comment 2 Andrei Ivanov 2006-04-17 00:57:23 UTC
There is still something wrong....
On one server I only have some parts of X libraries (the ones that sun-jdk-1.5 depends on) and dsniff detects the X headers and libraries and wants to compile webspy. Here it's fine to require libXmu...
But on another server I don't have any X packages installed and dsniff compiles fine... the problem is that now it wants to install the X required packages and I don't want that... I just want it to install only the things that don't require X.

Maybe a "X" use flag should be added here?
Comment 3 Markus Ullmann (RETIRED) gentoo-dev 2006-04-17 06:55:25 UTC
Hmm should be possible as configure script has an option for it.

Would you mind to try compiling --without-x on that box to see if it works as expected?
Comment 4 Andrei Ivanov 2006-04-17 07:14:40 UTC
./configure --without-x
creating cache ./config.cache
checking for gcc... gcc
checking whether the C compiler (gcc  ) works... yes
checking whether the C compiler (gcc  ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking for a BSD compatible install... /usr/bin/install -c
checking for ranlib... ranlib
checking how to run the C preprocessor... gcc -E
checking for X... disabled

and the compilation is fine, webspy is not built.
Comment 5 Carsten Lohrke (RETIRED) gentoo-dev 2006-04-20 15:20:26 UTC
(In reply to comment #3)
> Hmm should be possible as configure script has an option for it.
> 
> Would you mind to try compiling --without-x on that box to see if it works as
> expected?
> 

It does work without X. Changing it to depend on X (even in stable!) lead to at least one user having the problem not having a clue, why his server suddenly wanted to install Xorg. This sort of problems shouldn't occur with stable ebuilds.

http://forums.gentoo.org/viewtopic-p-3271014.html#3271014
Comment 6 Markus Ullmann (RETIRED) gentoo-dev 2006-04-20 15:45:39 UTC
Well I take the blame for it, after checking my test boxes it seemed they have at least parts of x installed or not completely removed so all of my tests lead to the wrong solution here.

To get this thing in the right order, I change things back as they were before and revbump then to have it applied a clean way.

Sorry for the inconvenience caused.
Comment 7 Markus Ullmann (RETIRED) gentoo-dev 2006-04-20 17:05:24 UTC
okay, having
dsniff-2.3-r10
and
dsniff-2.4_beta1-r3
in cvs now. please test them
Comment 8 Andrei Ivanov 2006-04-21 02:57:51 UTC
It's working... :)
Thank you.
Comment 9 Carsten Lohrke (RETIRED) gentoo-dev 2006-04-21 08:27:35 UTC
Yes, looks good, thanks Markus.