Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 94695 - tcpdump-3.8.3-r2 fails to emerge
Summary: tcpdump-3.8.3-r2 fails to emerge
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High major
Assignee: Gentoo Netmon project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-05-31 20:12 UTC by simprix
Modified: 2005-06-07 11:44 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 simprix 2005-05-31 20:12:16 UTC
tcpdump-3.8.3-r2 fails to emerge with this error

i686-pc-linux-gnu-gcc -O2 -mcpu=i686 -funroll-loops -pipe -fomit-frame-pointer
-DHAVE_CONFIG_H  -D_U_="__attribute__((unused))" -I.  -I./missing -c ./tcpdump.c
tcpdump.c: In function `show_dlts_and_exit':
tcpdump.c:260: warning: assignment makes pointer from integer without a cast
tcpdump.c: In function `main':
tcpdump.c:321: error: `pcap_if_t' undeclared (first use in this function)
tcpdump.c:321: error: (Each undeclared identifier is reported only once
tcpdump.c:321: error: for each function it appears in.)
tcpdump.c:321: error: `devpointer' undeclared (first use in this function)
tcpdump.c:641: warning: assignment makes pointer from integer without a cast
tcpdump.c:771: warning: assignment makes pointer from integer without a cast
tcpdump.c:795: warning: assignment makes pointer from integer without a cast
make: *** [tcpdump.o] Error 1

!!! ERROR: net-analyzer/tcpdump-3.8.3-r2 failed.
!!! Function src_compile, Line 39, Exitcode 2
!!! (no error message)
!!! If you need support, post the topmost build error, NOT this status message.




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

Actual Results:  
fails


Portage 2.0.51.19 (default-linux/x86/2005.0, gcc-3.3.5-20050130,
glibc-2.3.4.20041102-r1, 2.4.25-gentoo-r15 i686)
=================================================================
System uname: 2.4.25-gentoo-r15 i686 Celeron (Mendocino)
Gentoo Base System version 1.4.16
Python:              dev-lang/python-2.2.3-r1,dev-lang/python-2.3.5 [2.3.5 (#1,
May 27 2005, 16:47:39)]
distcc 2.16 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
dev-lang/python:     2.2.3-r1, 2.3.5
sys-apps/sandbox:    [Not Present]
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.5
sys-devel/binutils:  2.15.92.0.2-r7
sys-devel/libtool:   1.5.16
virtual/os-headers:  2.6.8.1-r2, 2.4.19-r1
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O3 -mcpu=i686 -funroll-loops -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config
/usr/lib/fax /usr/share/config /var/bind /var/qmail/control /var/spool/fax/etc"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O3 -mcpu=i686 -funroll-loops -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org
http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 apache apm avi bitmap-fonts crypt cups curl emboss encode foomaticdb
fortran gd gdbm gif gpm imagemagick imap imlib innodb ipv6 java jpeg kerberos
ldap libg++ libwww mad maildir mbox mcal mikmod mmx motif mp3 mpeg mysql ncurses
nls odbc oggvorbis oss pam pdflib perl php png python quicktime readline samba
sasl sdl slang snmp spell sse ssl tcpd tiff truetype truetype-fonts type1-fonts
winbind xml xml2 xmms zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS
Comment 1 Benjamin Smee (strerror) (RETIRED) gentoo-dev 2005-06-01 03:12:40 UTC
I can't replicate this at all. Try two things, drop the -funroll-loops and the
use of distcc and let me know if that helps.
Comment 2 Aaron Walker (RETIRED) gentoo-dev 2005-06-01 04:52:16 UTC
strerror, doesn't look like his distcc is enabled (note the [disabled]).

I'm not able to reproduce here either, regardless of gcc version, and regardless
of whether -funroll-loops is specified.

What version of libpcap are you using?  Can you see if re-merging libpcap solves
the issue?
Comment 3 simprix 2005-06-01 07:07:45 UTC
(In reply to comment #2)
> strerror, doesn't look like his distcc is enabled (note the [disabled]).
> 
> I'm not able to reproduce here either, regardless of gcc version, and regardless
> of whether -funroll-loops is specified.
> 
> What version of libpcap are you using?  Can you see if re-merging libpcap solves
> the issue?

libpcap-0.8.3-r1
Comment 4 simprix 2005-06-01 07:18:03 UTC
Same error even if i remerge libpcap 
Comment 5 simprix 2005-06-07 11:44:07 UTC
FIXED found some libpcap stuff in /usr/local removed and worked