Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 33137 - tcptraceroute will still not emerge
Summary: tcptraceroute will still not emerge
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal
Assignee: SpanKY
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-11-10 04:38 UTC by John Taylor
Modified: 2003-12-15 23:22 UTC (History)
1 user (show)

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 John Taylor 2003-11-10 04:38:40 UTC
emerge tcptraceroute

Calculating dependencies ...done!
>>> emerge (1 of 1) net-analyzer/tcptraceroute-1.4-r1 to /
>>> md5 src_uri ;-) tcptraceroute-1.4.tar.gz
>>> Unpacking source...
>>> Unpacking tcptraceroute-1.4.tar.gz to /var/tmp/portage/tcptraceroute-1.4-
r1/
work
 * Applying tcptraceroute-1.4-gentoo.patch...                             [ 
ok ]
>>> Source unpacked.
gcc -O3 -march=pentium3 -fprefetch-loop-arrays -funroll-loops -pipe `libnet-
conf
ig --defines` \
        -o tcptraceroute tcptraceroute.c \
        `libnet-config --libs` -lpcap
tcptraceroute.c:201:20: libnet.h: No such file or directory
tcptraceroute.c: In function `iptohost':
tcptraceroute.c:596: warning: return makes pointer from integer without a cast
tcptraceroute.c: In function `allocateid':
tcptraceroute.c:885: `PRu16' undeclared (first use in this function)
tcptraceroute.c:885: (Each undeclared identifier is reported only once
tcptraceroute.c:885: for each function it appears in.)
tcptraceroute.c: In function `debugoptions':
tcptraceroute.c:1007: `LIBNET_IP_H' undeclared (first use in this function)
tcptraceroute.c:1007: `LIBNET_TCP_H' undeclared (first use in this function)
tcptraceroute.c:1007: `LIBNET_ICMP_H' undeclared (first use in this function)
tcptraceroute.c: In function `defaults':
tcptraceroute.c:1136: `LIBNET_TCP_H' undeclared (first use in this function)
tcptraceroute.c:1136: `LIBNET_IP_H' undeclared (first use in this function)
tcptraceroute.c: In function `initcapture':
tcptraceroute.c:1182: `LIBNET_IP_H' undeclared (first use in this function)
tcptraceroute.c:1182: `LIBNET_TCP_H' undeclared (first use in this function)
tcptraceroute.c:1182: `LIBNET_ICMP_H' undeclared (first use in this function)
tcptraceroute.c: In function `probe':
tcptraceroute.c:1225: `LIBNET_IP_H' undeclared (first use in this function)
tcptraceroute.c:1225: `LIBNET_TCP_H' undeclared (first use in this function)
tcptraceroute.c:1275: `IP_DF' undeclared (first use in this function)
tcptraceroute.c:1290: `TH_SYN' undeclared (first use in this function)
tcptraceroute.c:1291: `TH_ACK' undeclared (first use in this function)
tcptraceroute.c: In function `capture':
tcptraceroute.c:1412: `LIBNET_IP_H' undeclared (first use in this function)
tcptraceroute.c:1418: `LIBNET_TCP_H' undeclared (first use in this function)
tcptraceroute.c:1418: `LIBNET_ICMP_H' undeclared (first use in this function)
tcptraceroute.c:1426: dereferencing pointer to incomplete type
tcptraceroute.c:1432: dereferencing pointer to incomplete type
tcptraceroute.c:1438: dereferencing pointer to incomplete type
tcptraceroute.c:1441: dereferencing pointer to incomplete type
tcptraceroute.c:1451: dereferencing pointer to incomplete type
tcptraceroute.c:1489: dereferencing pointer to incomplete type
tcptraceroute.c:1495: dereferencing pointer to incomplete type
tcptraceroute.c:1501: dereferencing pointer to incomplete type
tcptraceroute.c:1504: dereferencing pointer to incomplete type
tcptraceroute.c:1508: dereferencing pointer to incomplete type
tcptraceroute.c:1511: dereferencing pointer to incomplete type
tcptraceroute.c:1516: dereferencing pointer to incomplete type
tcptraceroute.c:1523: dereferencing pointer to incomplete type
tcptraceroute.c:1530: dereferencing pointer to incomplete type
tcptraceroute.c:1531: dereferencing pointer to incomplete type
tcptraceroute.c:1537: dereferencing pointer to incomplete type
tcptraceroute.c:1537: `ICMP_UNREACH' undeclared (first use in this function)
tcptraceroute.c:1541: dereferencing pointer to incomplete type
tcptraceroute.c:1543: `ICMP_UNREACH_NET' undeclared (first use in this 
function)
tcptraceroute.c:1546: `ICMP_UNREACH_HOST' undeclared (first use in this 
function
)
tcptraceroute.c:1549: `ICMP_UNREACH_PROTOCOL' undeclared (first use in this 
func
tion)

(more of the same errors continued)

tcptraceroute.c:1693: `LIBNET_TCP_H' undeclared (first use in this function)
tcptraceroute.c:1693: `LIBNET_IP_H' undeclared (first use in this function)
make: *** [tcptraceroute] Error 1

!!! ERROR: net-analyzer/tcptraceroute-1.4-r1 failed.
!!! Function src_compile, Line 26, Exitcode 2
!!! (no error message)


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

Actual Results:  
compilation failure


Gentoo Base System version 1.4.3.10
Portage 2.0.49-r15 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r1, 2.4.20-gentoo-
r8
)
=================================================================
System uname: 2.4.20-gentoo-r8 i686 Pentium III (Coppermine)
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O3 -march=pentium3 -fprefetch-loop-arrays -funroll-loops -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /var/qmail/control /usr/share/config /usr/kde/2/share/conf
i
g /usr/kde/3/share/config"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-O3 -march=pentium3 -fprefetch-loop-arrays -funroll-loops -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="sandbox ccache autoaddcvs"
GENTOO_MIRRORS="http://www.gtlib.cc.gatech.edu/pub/gentoo 
ftp://ftp.gtlib.cc.gat
ech.edu/pub/gentoo http://csociety-ftp.ecn.purdue.edu/pub/gentoo/ 
rsync://csocie
ty-ftp.ecn.purdue.edu/pub/gentoo/ http://gentoo.mirrors.pair.com/ 
ftp://gentoo.m
irrors.pair.com/ http://oss.redundant.com/pub/gentoo"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 oss apm cups encode foomaticdb imlib libg++ libwww mad mikmod motif 
ncu
rses nls pdflib qt quicktime slang spell truetype gdbm berkdb readline java 
perl
 X gtk -gnome -kde alsa -arts mysql innodb php sse apache2 cdr crypt curl dga 
di
rectfb dvd dvb gpm ldap mpeg avi mmx oggvorbis opengl sdl png gif jpeg tiff 
pyth
on sasl ssl pam tcpd -svga xml xml2 xmms xv zlib"
Comment 1 SpanKY gentoo-dev 2003-11-10 06:44:00 UTC
upgrade to 1.4-r2
Comment 2 Andre Tomt 2003-12-15 23:14:14 UTC
For me, tcptraceroute-1.4-r1 works, but tcptraceroute-1.4-r3 seems to give the exactly same error as shown in this bug id (the first lines went out of the scroll buffer, I'll get those few lines if requested.)

....

tcptraceroute.c:1675: dereferencing pointer to incomplete type
tcptraceroute.c: In function `trace':
tcptraceroute.c:1693: `LIBNET_TCP_H' undeclared (first use in this function)
tcptraceroute.c:1693: `LIBNET_IP_H' undeclared (first use in this function)
make: *** [tcptraceroute] Error 1

!!! ERROR: net-analyzer/tcptraceroute-1.4-r3 failed.

This is a glibc-2.2.5 gcc-2.95.3 based gentoo system.
Comment 3 Andre Tomt 2003-12-15 23:18:49 UTC
`emerge =libnet-1.0* -u`

..fixed this.

someone should get this mess fixed up though. broken packages, bad bad.
Comment 4 SpanKY gentoo-dev 2003-12-15 23:22:53 UTC
actually, it's not a bug in the packages, it's a bug in portage

http://bugs.gentoo.org/show_bug.cgi?id=27218