Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 37176 - libpcap 0.8.1 emerge fails due to failing patch (tar ball probably broken?)
Summary: libpcap 0.8.1 emerge fails due to failing patch (tar ball probably broken?)
Status: RESOLVED DUPLICATE of bug 37132
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-01-04 04:14 UTC by jochen
Modified: 2005-07-17 13:06 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 jochen 2004-01-04 04:14:17 UTC
>>> 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-4731.out


!!! ERROR: net-libs/libpcap-0.8.1 failed.
!!! Function epatch, Line 354, Exitcode 0
!!! Failed Patch: libpcap-0.8.1-fPIC.patch!

the contents of above file is:
-4731.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
====================================
etc ...

I guess that's caused because tar stripped of the leading directory name

Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 Remy Nicolas 2004-01-04 04:38:43 UTC
I've got the same :(
Comment 2 Remy Nicolas 2004-01-04 04:46:48 UTC
look at http://bugs.gentoo.org/show_bug.cgi?id=37132 this corrected the problem for me
Comment 3 jochen 2004-01-04 04:55:38 UTC

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