When running emerge tcpdump, dependency library libpcap fails during the patching process (results below). Reproducible: Always Steps to Reproduce: 1. ~x86 2. emerge tcpdump Actual Results: >>> 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-5419.out Expected Results: Patch should have applied and libpcap should have compiled as part of dependency tree for tcpdump. cat /var/tmp/portage/libpcap-0.8.1/temp/libpcap-0.8.1-fPIC.patch-5419.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
I am also receiving the same error and output, with ~x86. It appears that it can't find the files it needs to patch. Perhaps wrong path?
*** This bug has been marked as a duplicate of 37132 ***