Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 79385 - Emerging of etherape-0.9.1 failed due missing resolver library
Summary: Emerging of etherape-0.9.1 failed due missing resolver library
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo Netmon project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-01-24 14:28 UTC by Stefan Kleyer
Modified: 2005-03-14 16:56 UTC (History)
3 users (show)

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


Attachments
config.log (config.log,41.81 KB, text/plain)
2005-01-25 05:44 UTC, Stefan Kleyer
Details
attachment for my comment #10 (Makefile) (Makefile,25.62 KB, text/plain)
2005-02-16 11:44 UTC, Stefan Kleyer
Details
attachment for my comment #10 (config.log) (config.log,71.95 KB, text/x-log)
2005-02-16 11:47 UTC, Stefan Kleyer
Details
attachment for my comment #10 (etherape-0.9.1.log) (5044-etherape-0.9.1.log,40.52 KB, text/plain)
2005-02-16 11:50 UTC, Stefan Kleyer
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Stefan Kleyer 2005-01-24 14:28:08 UTC
When I try to emerge etherape-0.9.1 on my 64bit-box it fails with the follwing error:

configure: error: No resolver library found



Reproducible: Always
Steps to Reproduce:
1. emerge etherape
2.
3.

Actual Results:  
...
checking for u_long... yes
checking for u_char... yes
checking for res_init... no
checking for res_init in -lbind... no
checking for res_init in -lresolv... no
checking for __res_init in -lc... yes
checking for res_mkquery... no
checking for res_mkquery in -lbind... no
checking for res_mkquery in -lresolv... no
configure: error: No resolver library found


I use gcc-3.4.3-r1, 
libglade 2.4.0
libgnomeui 2.8.0
libpcap 0.8.3-r1
autoconf 2.59-r6
gettext 0.14.1
ACCEPT_KEYWORDS="~amd64"
Comment 1 Aaron Walker (RETIRED) gentoo-dev 2005-01-24 16:39:10 UTC
emerge info please.
Comment 2 Stefan Kleyer 2005-01-24 22:20:47 UTC
Portage 2.0.51-r15 (default-linux/amd64/2004.3, gcc-3.4.3, glibc-2.3.4.20041102-r0, 2.6.10-gentoo-r5 x86_64)
=================================================================
System uname: 2.6.10-gentoo-r5 x86_64 AMD Athlon(tm) 64 Processor 3200+
Gentoo Base System version 1.6.8
Python:              dev-lang/python-2.3.4 [2.3.4 (#1, Dec 12 2004, 02:54:59)]
distcc 2.18.3 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
dev-lang/python:     2.3.4
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.5, 1.9.4, 1.8.5-r2, 1.6.3, 1.7.9, 1.4_p6
sys-devel/binutils:  2.15.92.0.2-r2
sys-devel/libtool:   1.5.10-r3
virtual/os-headers:  2.6.8.1-r3
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CFLAGS="-O4 -march=athlon64 -fomit-frame-pointer -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O4 -march=athlon64 -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox"
GENTOO_MIRRORS="http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/ http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/ http://ftp.snt.utwente.nl/pub/os/linux/gentoo http://gentoo.inode.at/"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.de.gentoo.org/gentoo-portage"
USE="amd64 X Xaw3d aac aalib acpi alsa arts avi berkdb bitmap-fonts cdr crypt cups dga directfb divx4linux dvd dvdr dxr3 eds encode esd f77 fam fbcon flac font-server fortran gdbm ggi gif gnome gpm gstreamer gtk2 i8x0 imagemagick imlib ipv6 irda java jikes jp2 jpeg kde lesstif lib lzw lzw-tiff mad mikmod motif mozilla mpeg multilib ncurses nls nptl oggvorbis opengl oss pam pdflib perl plotutils png python qt quicktime readline scanner sdk sdl slang speex ssl tcltk tcpd theora tiff truetype truetype-fonts type1-fonts usb userlocales v4l v4l2 videos vidix wmf wxwindows xface xine xinerama xml xml2 xmms xpm xrandr xv xvid xvmc zlib linguas_de linguas_en"
Unset:  ASFLAGS, CBUILD, CTARGET, LDFLAGS, PORTDIR_OVERLAY
Comment 3 Daniel Black (RETIRED) gentoo-dev 2005-01-25 04:54:25 UTC
couldn't repoduce however I don't have a amd64. Please attach the config.log from the /var/tmp/portage/etherape/work/etherape-0.9.1 directory.
Comment 4 Stefan Kleyer 2005-01-25 05:44:26 UTC
Created attachment 49472 [details]
config.log

Added the requested config.log from
/var/tmp/portage/etherape-0.9.1/work/etherape-0.9.1/

Hope that helps.
Comment 5 Jan Boysen 2005-01-26 04:08:37 UTC
well... maybe a AMD64 only bug..

Same problem on AMD64  over here....
---------------------------------------------------------
                  -------- ERROR  --------
---------------------------------------------------------
checking for __res_init in -lc... yes
checking for res_mkquery... no
checking for res_mkquery in -lbind... no
checking for res_mkquery in -lresolv... no
configure: error: No resolver library found

----------------------------------------------------------
              ------- emerge info ---------
----------------------------------------------------------
Portage 2.0.51-r3 (default-linux/amd64/2004.3, gcc-3.4.3, glibc-2.3.4.20040808-r1, 2.6.9-gentoo-r1 x86_64)
=================================================================
System uname: 2.6.9-gentoo-r1 x86_64 AMD Athlon(tm) 64 Processor 3200+
Gentoo Base System version 1.4.16
Autoconf: sys-devel/autoconf-2.59-r5
Automake: sys-devel/automake-1.8.5-r1
Binutils: sys-devel/binutils-2.15.90.0.1.1-r3
Headers:  sys-kernel/linux26-headers-2.6.8.1-r2
Libtools: sys-devel/libtool-1.5.2-r7
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CFLAGS="-O4 -march=athlon64 -fomit-frame-pointer -pipe"
CHOST="x86_64-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O4 -march=athlon64 -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks prelink sandbox"
GENTOO_MIRRORS="http://gentoo.mm.loc/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="amd64 X acpi alsa arts avi berkdb bitmap-fonts cdr crypt cups divx4linux dvd emul-linux-x86 esd f77 fam flac font-server fortran gdbm gif gpm gtk gtk2 imagemagick imlib ipv6 jabber jp2 jpeg junit kde lzw lzw-tiff mad mikmod mng moneyplex motif mpeg multilib ncurses nls oggvorbis opengl pam perl png python qt quicktime readline sdl slang ssl svg tcpd tiff truetype truetype-fonts type1-fonts usb userlocales xinerama xml xml2 xmms xpm xrandr xv xvid zlib linguas_de"


Jan
Comment 6 Daniel Black (RETIRED) gentoo-dev 2005-01-26 23:16:47 UTC
configure:4850: result: no
configure:4861: checking for res_init in -lresolv
configure:4891: x86_64-pc-linux-gnu-gcc -o conftest -O4 -march=athlon64 -fomit-frame-pointer -pipe   conftest.c -lresolv   >&5
conftest.c:39:1: warning: "HAVE_U_INT" redefined
conftest.c:16:1: warning: this is the location of the previous definition
/var/tmp/portage/etherape-0.9.1/temp/ccaY06bx.o(.text+0x7): In function `main':
: undefined reference to `res_init'
collect2: ld returned 1 exit status
configure:4897: $? = 1
configure: failed program was:

AMD64 people - is res_init part of libc or libresolv? I found it in libc x86.
readelf -a /usr/lib/libc.so.5 | fgrep res_init
00088a48  00008407 R_386_JUMP_SLOT   0001de60   res_init
   132: 0001de60  1820 FUNC    GLOBAL DEFAULT   10 res_init

res_init is used by the program in etherape-0.9.1/src/dns.c

To find the right library

fgrep -r res_init /usr/lib*

and readelf -s [library] | fgrep res_init
should find:
   132: 0001de60  1820 FUNC    GLOBAL DEFAULT   10 res_init
Comment 7 Eldad Zack (RETIRED) gentoo-dev 2005-02-06 01:48:58 UTC
Daniel, the problem was solved by the res_mkquery (got lost in the version bump)
If you want, I'll fix it, otherwise, feel free to re-apply...
(I can't test this because I seem to have lost access to the dev-rel amd64... probably due to inactivity)
Comment 8 Daniel Black (RETIRED) gentoo-dev 2005-02-06 06:03:19 UTC
Eldad can you fix it please. Welcome back :-)
Comment 9 Eldad Zack (RETIRED) gentoo-dev 2005-02-07 02:55:01 UTC
Fixed in portage.

Stefan, Please confirm.
Comment 10 Stefan Kleyer 2005-02-16 11:40:48 UTC
Hi,

etherape compiled fine now, but there is a new error at the instalation of the files:
Making install in po
make[1]: Entering directory `/var/tmp/portage/etherape-0.9.1/work/etherape-0.9.1/po'
/bin/sh `case ".././mkinstalldirs" in /*) echo ".././mkinstalldirs" ;; *) echo "../.././mkinstalldirs" ;; esac` /var/tmp/portage/etherape-0.9.1/image//usr/share
/bin/sh: ../.././mkinstalldirs: No such file or directory
make[1]: *** [install-data-yes] Error 127
make[1]: Leaving directory `/var/tmp/portage/etherape-0.9.1/work/etherape-0.9.1/po'
make: *** [install-recursive] Error 1

I'll post the config.log, Makefile and the emergelog as attachment
Comment 11 Stefan Kleyer 2005-02-16 11:44:51 UTC
Created attachment 51368 [details]
attachment for my comment #10 (Makefile)
Comment 12 Stefan Kleyer 2005-02-16 11:47:26 UTC
Created attachment 51369 [details]
attachment for my comment #10 (config.log)
Comment 13 Stefan Kleyer 2005-02-16 11:50:49 UTC
Created attachment 51370 [details]
attachment for my comment #10 (etherape-0.9.1.log)
Comment 14 Charlie Gehlin 2005-02-22 08:38:58 UTC
I can also verify that etherape fails @ 'Function src_install, Line 38, Exitcode 2' even though I believe that's another bug than topic states.

# emerge info
Portage 2.0.51-r15 (default-linux/x86/2004.3, gcc-3.4.3-20050110, glibc-2.3.4.20050125-r0, 2.6.10-gentoo-r7 i686)
=================================================================
System uname: 2.6.10-gentoo-r7 i686 AMD Athlon(tm) XP 2600+
Gentoo Base System version 1.6.9
Python:              dev-lang/python-2.3.5 [2.3.5 (#1, Feb 20 2005, 20:10:31)]
dev-lang/python:     2.3.5
sys-devel/autoconf:  2.59-r6, 2.13
sys-devel/automake:  1.7.9-r1, 1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 1.9.4
sys-devel/binutils:  2.15.92.0.2-r2
sys-devel/libtool:   1.5.10-r4
virtual/os-headers:  2.6.8.1-r2
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-O3 -march=athlon-xp -mfpmath=sse -mmmx -msse -mno-sse2 -mno-sse3 -m3dnow -funroll-loops -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O3 -march=athlon-xp -mfpmath=sse -mmmx -msse -mno-sse2 -mno-sse3 -m3dnow -funroll-loops -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig buildpkg ccache distlocks sandbox sfperms usepkg"
GENTOO_MIRRORS="http://mirror.pudas.net/gentoo ftp://mirror.pudas.net/gentoo ftp://ftp.sunet.se/pub/Linux/distributions/gentoo http://gentoo.oregonstate.edu"
MAKEOPTS="-j1"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="3dnow 3dnowex X X509 aac aalib acl acpi alsa apache2 apm arts audiofile authdaemond avi bash-completion bcmath berkdb bitmap-fonts bmp bzip2 bzlib cdparanoia cdr chroot commercial cross crypt cups curl dba dedicated dga dio directfb divx4linux dmx dts dv dvb dvd dvdr dvdread dxr3 emboss encode escreen esd exif extensions f77 faac faad fam fb fbcon flac font-server foomaticdb fortran fpx ftp gcj gd gd-external gdbm ggi gif gmp gnome gnustep gnutls gphoto2 gpm graphviz gsnd gstreamer gtk gtk2 hal howl icq idea ieee1394 imagemagick imap imlib insecure-drivers ipv6 jack java javascript jbig jce joystick jpeg jpeg2k kde kerberos krb4 lcmsdv ldap libcaca libclamav libg++ libwww lirc live lm_sensors lzo mad mailwrapper md5sum mikmod mime mmap mmx mmx2 mng motif mozilla mp3 mpeg msn mysql mythtv nas ncurses network nfsv4 nls nntp nocardbus nvidia objc offensive oggvorbis opengl openntpd oss pam pcre pdflib perl php plotutils png pnp portaudio ppds python qt quicktime quotas readline real remote rpm rrdtool rtc samba sasl sdl session sftplogging shared sharedmem slp sndfile snmp speex spl sse ssl stats svga sysvipc tcltk tcpd tga theora tiff truetype truetype-fonts type1-fonts unicode usb v4l v4l2 vdesktop vhosts vidix vim-with-x virus-scan wmf x86 xanim xfs xine xinerama xml2 xmms xosd xpm xprint xrandrrecode xscreensaver xv xvid xvmc zlib zvbi video_cards_nvidia"
Unset:  ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS

Cheers!
/Charlie
Comment 15 Aaron Walker (RETIRED) gentoo-dev 2005-03-14 16:56:12 UTC
This was never closed when fixed by Eldad.  The other problem in comment #10 has been fixed (another bug).