When trying to emerge libpcap, it breaks due to * Failed Patch: libpcap-0.8.1-fPIC.patch! Reproducible: Always Steps to Reproduce: 1.emerge libpcap 2.it breaks 3. Actual Results: davinci mailman # emerge -uv libpcap -p These are the packages that I would merge, in order: Calculating dependencies ...done! [ebuild U ] net-libs/libpcap-0.8.1 [0.7.2] davinci mailman # emerge -uv 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-22016.out !!! ERROR: net-libs/libpcap-0.8.1 failed. !!! Function epatch, Line 354, Exitcode 0 !!! Failed Patch: libpcap-0.8.1-fPIC.patch! davinci mailman # cat /var/tmp/portage/libpcap-0.8.1/temp/libpcap-0.8.1- fPIC.patch-22016.out ***** libpcap-0.8.1-fPIC.patch ***** ==================================== PATCH COMMAND: patch -p0 < /usr/portage/net-libs/libpcap/files/libpcap-0.8.1- fPIC.patch ==================================== can't find file to patch at input line 3 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |--- Makefile.in 2004-01-03 12:51:50.914715352 +0000 |+++ Makefile.in 2004-01-03 13:04:17.524952464 +0000 -------------------------- No file to patch. Skipping patch. 1 out of 1 hunk ignored ==================================== PATCH COMMAND: patch -p1 < /usr/portage/net-libs/libpcap/files/libpcap-0.8.1- fPIC.patch ==================================== missing header for unified diff at line 3 of patch can't find file to patch at input line 3 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |--- Makefile.in 2004-01-03 12:51:50.914715352 +0000 |+++ Makefile.in 2004-01-03 13:04:17.524952464 +0000 -------------------------- No file to patch. Skipping patch. 1 out of 1 hunk ignored ==================================== PATCH COMMAND: patch -p2 < /usr/portage/net-libs/libpcap/files/libpcap-0.8.1- fPIC.patch ==================================== missing header for unified diff at line 3 of patch can't find file to patch at input line 3 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |--- Makefile.in 2004-01-03 12:51:50.914715352 +0000 |+++ Makefile.in 2004-01-03 13:04:17.524952464 +0000 -------------------------- No file to patch. Skipping patch. 1 out of 1 hunk ignored ==================================== PATCH COMMAND: patch -p3 < /usr/portage/net-libs/libpcap/files/libpcap-0.8.1- fPIC.patch ==================================== missing header for unified diff at line 3 of patch can't find file to patch at input line 3 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |--- Makefile.in 2004-01-03 12:51:50.914715352 +0000 |+++ Makefile.in 2004-01-03 13:04:17.524952464 +0000 -------------------------- No file to patch. Skipping patch. 1 out of 1 hunk ignored ==================================== PATCH COMMAND: patch -p4 < /usr/portage/net-libs/libpcap/files/libpcap-0.8.1- fPIC.patch ==================================== missing header for unified diff at line 3 of patch can't find file to patch at input line 3 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |--- Makefile.in 2004-01-03 12:51:50.914715352 +0000 |+++ Makefile.in 2004-01-03 13:04:17.524952464 +0000 -------------------------- No file to patch. Skipping patch. 1 out of 1 hunk ignored davinci mailman # emerge info Portage 2.0.49-r20 (default-x86-1.4, gcc-3.3.2, glibc-2.3.3_pre20031222-r0, 2.4.22-gentoo-r1) ================================================================= System uname: 2.4.22-gentoo-r1 i686 Intel(R) Xeon(TM) CPU 2.40GHz Gentoo Base System version 1.4.3.12 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-march=pentium4 -O3 -pipe -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3/ share/config /usr/share/config /var/bind /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" CXXFLAGS="-march=pentium4 -O3 -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache fixpackages sandbox" GENTOO_MIRRORS="http://gentoo.oregonstate.edu http://distro.ibiblio.org/pub/Linux/distributions/gentoo" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X apm berkdb crypt gd gdbm gif imap imlib java jpeg libg++ libwww mysql ncurses nls pam pdflib perl png postgres python qt readline slang spell ssl svga tcpd x86 xml2 zlib"
Looks like you have Bug 37132. Try to emerge sync && emerge -u app-arch/tar
*** This bug has been marked as a duplicate of 37132 ***