Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 37202

Summary: libpcap-0.8.1 fails to emerge (broken patch libpcap-0.8.1-fPIC.patch)
Product: Gentoo Linux Reporter: gentoo-bugs
Component: New packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: patchfile output

Description gentoo-bugs 2004-01-04 09:14:42 UTC
I'm runnning an unstable x86 Gentoo Linux. The new libpcap fails to emerge because of a broekn patch (logfile attached)

Reproducible: Always
Steps to Reproduce:
1. emerge sync
2. ACCEPT_KEYWORDS="~x86" emerge libpcap

(skip the keywords if you're runnning an unstable system)
Actual Results:  
triphoenix@triphoenix root $ emerge libpcap
Calculating dependencies ...done!
>>> emerge (1 of 1) net-libs/libpcap-0.8.1 to /
>>> md5 src_uri ;-) libpcap-0.8.1.tar.gz
>>> Unpacking source...
>>> Unpacking libpcap-0.8.1.tar.gz to /var/tmp/portage/libpcap-0.8.1/work
tar: Removing leading `libpcap-0.8.1/./' from member names
 * Applying libpcap-0.8.1-fPIC.patch...
 
 * Failed Patch: libpcap-0.8.1-fPIC.patch!
 *
 * Include in your bugreport the contents of:
 *
 *   /var/tmp/portage/libpcap-0.8.1/temp/libpcap-0.8.1-fPIC.patch-31331.out
 
 
!!! ERROR: net-libs/libpcap-0.8.1 failed.
!!! Function epatch, Line 354, Exitcode 0
!!! Failed Patch: libpcap-0.8.1-fPIC.patch!


Expected Results:  
Compile libpcap :)

triphoenix@triphoenix root $ emerge info
Portage 2.0.49-r20 (default-x86-1.4, gcc-3.3.2, glibc-2.3.3_pre20031222-r0,
2.6.0-udev)
=================================================================
System uname: 2.6.0-udev i686 AMD Athlon(tm) XP 2100+
Gentoo Base System version 1.4.3.12
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-march=athlon-xp -O3 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /opt/tomcat/conf /usr/X11R6/lib/X11/xkb
/usr/kde/2/share/config /usr/kde/3.1/share/config /usr/kde/3/share/config
/usr/share/config /usr/share/texmf/dvipdfm/config/
/usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/
/usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-march=athlon-xp -O3 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="ftp://gentoo.inode.at/source/ http://gentoo.inode.at/
http://www.mirror.ac.uk/sites/www.ibiblio.org/gentoo/
ftp://mirror.pudas.net/gentoo http://gentoo.linux.no/
ftp://gentoo.linux.no/pub/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="3dnow X aalib alsa apache2 apm arts avi berkdb bonobo cdr crypt cups dvd
encode esd fbcon foomaticdb gd gdbm gif gnome gpm gtk gtk2 guile imlib java jpeg
kde libg++ libwww mad mikmod mmx motif mozilla mpeg mysql nas ncurses nls
oggvorbis opengl oss pam pdflib perl png python qt quicktime readline samba sdl
slang spell sse ssl svga tcltk tcpd tetex truetype x86 xml2 xmms xv zlib"

triphoenix@triphoenix root $ emerge libpcap
Calculating dependencies ...done!
>>> emerge (1 of 1) net-libs/libpcap-0.8.1 to /
>>> md5 src_uri ;-) libpcap-0.8.1.tar.gz
>>> Unpacking source...
>>> Unpacking libpcap-0.8.1.tar.gz to /var/tmp/portage/libpcap-0.8.1/work
tar: Removing leading `libpcap-0.8.1/./' from member names
 * Applying libpcap-0.8.1-fPIC.patch...
 
 * Failed Patch: libpcap-0.8.1-fPIC.patch!
 *
 * Include in your bugreport the contents of:
 *
 *   /var/tmp/portage/libpcap-0.8.1/temp/libpcap-0.8.1-fPIC.patch-31331.out
 
 
!!! ERROR: net-libs/libpcap-0.8.1 failed.
!!! Function epatch, Line 354, Exitcode 0
!!! Failed Patch: libpcap-0.8.1-fPIC.patch!
Comment 1 gentoo-bugs 2004-01-04 09:15:42 UTC
Created attachment 23145 [details]
patchfile output
Comment 2 Seemant Kulleen (RETIRED) gentoo-dev 2004-01-04 09:16:32 UTC

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