Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 34632 - arping 1.06-r1 fails ebuild - libnet version problem
Summary: arping 1.06-r1 fails ebuild - libnet version problem
Status: RESOLVED DUPLICATE of bug 27218
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: SpanKY
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-11-28 08:40 UTC by Martin
Modified: 2005-07-17 13:06 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 Martin 2003-11-28 08:40:43 UTC
Emerging arping 1.06-r1 fails as it still depends on libnet 1.0 and not 1.1 
During the compilation, the Makefile specifies libnet-config-1.0 which is unavailable as 1.1 is 
installed. According to the arping Makefile, arping 1.x will only work with libnet 1.0.x not 1.1.x 
 
I have both  
net-libs/libnet-1.0.2a-r2 
net-libs/libnet-1.1.0-r3 
installed but it looks like libnet 1.1 overwrote 1.0.2 and also not arping specifies 
libnet-config-1.0 
 
See related bug #17772 
 
 

Reproducible: Always
Steps to Reproduce:
1.emerge net-analyzer/arping 
2. 
3. 
Actual Results:  
ebuild failed 
apollo arping-1.06 # emerge arping 
Calculating dependencies ...done! 
>>> emerge (1 of 1) net-analyzer/arping-1.06-r1 to / 
>>> md5 src_uri ;-) arping-1.06.tar.gz 
>>> Unpacking source... 
>>> Unpacking arping-1.06.tar.gz to /var/tmp/portage/arping-1.06-r1/work 
 * Applying 1.06-libnet-1.0.patch...                                                [ ok ] 
>>> Source unpacked. 
make USE_NETIF=1 LINUX=1 all 
make[1]: Entering directory `/var/tmp/portage/arping-1.06-r1/work/arping-1.06' 
gcc -Wall -g -march=athlon-xp -O3 -pipe -fomit-frame-pointer -I/usr/local/include 
-L/usr/local/lib -DUSE_NETIF=1 -DOPENBSD=0 -DLINUX=1 -DSOLARIS=0 -DFREEBSD=0 
-DMACOSX=0 -I/usr/include/pcap -c `libnet-1.0-config --defines` `libnet-1.0-config --cflags` 
arping.c 
/bin/sh: line 1: libnet-1.0-config: command not found 
/bin/sh: line 1: libnet-1.0-config: command not found 
arping.c:63:24: libnet-1.0.h: No such file or directory 
arping.c: In function `sigint': 
arping.c:131: warning: implicit declaration of function `libnet_host_lookup' 
arping.c:131: warning: format argument is not a pointer (arg 2) 
arping.c: In function `alasend': 
arping.c:160: warning: implicit declaration of function `libnet_build_icmp_echo' 
arping.c:160: `ICMP_ECHO' undeclared (first use in this function) 
arping.c:160: (Each undeclared identifier is reported only once 
arping.c:160: for each function it appears in.) 
 
<snip> 
 
arping.c:364: warning: unused variable `ebuf' 
make[1]: *** [arping.o] Error 1 
make[1]: Leaving directory `/var/tmp/portage/arping-1.06-r1/work/arping-1.06' 
make: *** [linux] Error 2 
 
!!! ERROR: net-analyzer/arping-1.06-r1 failed. 
!!! Function src_compile, Line 27, Exitcode 2 
!!! (no error message) 

Expected Results:  
arping 1.0.6-r1 installed 

Portage 2.0.49-r15 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r3, 2.4.20-gentoo-r5) 
================================================================= 
System uname: 2.4.20-gentoo-r5 i686 AMD Athlon(TM) XP 1800+ 
Gentoo Base System version 1.4.3.10p1 
ACCEPT_KEYWORDS="x86" 
AUTOCLEAN="yes" 
CFLAGS="-march=athlon-xp -O3 -pipe -fomit-frame-pointer" 
CHOST="i686-pc-linux-gnu" 
COMPILER="gcc3" 
CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config /usr/kde/3/share/config 
/usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config /usr/share/config" 
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" 
CXXFLAGS="-march=athlon-xp -O3 -pipe -fomit-frame-pointer" 
DISTDIR="/usr/portage/distfiles" 
FEATURES="sandbox ccache autoaddcvs" 
GENTOO_MIRRORS="http://gentoo.chem.wisc.edu/gentoo/ http://adelie.polymtl.ca/ 
http://gentoo.noved.org/" 
MAKEOPTS="-j2" 
PKGDIR="/usr/portage/packages" 
PORTAGE_TMPDIR="/var/tmp" 
PORTDIR="/usr/portage" 
PORTDIR_OVERLAY="" 
SYNC="rsync://rsync.gentoo.org/gentoo-portage" 
USE="x86 encode foomaticdb gnome libg++ mad mikmod nls slang guile esd motif acpi 
acpi4linux alsa apm arts avi berkdb bonobo cdr crypt cups dga directfb dvd etherel evo fbcon 
gd gdbm gif gphoto2 gpm gtk gtkhtml imap imlib java jpeg kde lcms ldap libwww maildir mbox 
mmx mozilla mpeg mysql ncurses oav odbc oggvorbis opengl pam pda pdflib perl pic plotutils 
png python qt qtmt quicktime readline samba sasl scanner sdl slp spell sse2 ssl svga tcltk tcpd 
tiff truetype usb wmf X xfs xml xml2 xmms xv zlib -oss -gnome-libs artswrappersuid"
Comment 1 SpanKY gentoo-dev 2003-11-28 18:53:02 UTC
emerge =libnet-1.0.2a-r3 arping

*** This bug has been marked as a duplicate of 27218 ***