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"
upgrade to 1.4-r2
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.
`emerge =libnet-1.0* -u` ..fixed this. someone should get this mess fixed up though. broken packages, bad bad.
actually, it's not a bug in the packages, it's a bug in portage http://bugs.gentoo.org/show_bug.cgi?id=27218