I tried to emerge PHP, one of the libs needed is libmcal, when it tries to emerge the follwoing occurs: >>> emerge (1 of 10) dev-libs/libmcal-0.7-r1 to / >>> md5 src_uri ;-) libmcal-0.7.tar.gz >>> Unpacking source... >>> Unpacking libmcal-0.7.tar.gz to /var/tmp/portage/libmcal-0.7-r1/work * Applying libmcal-0.7-fpic.patch... * Failed Patch: libmcal-0.7-fpic.patch! * * Include in your bugreport the contents of: * * /var/tmp/portage/libmcal-0.7-r1/temp/libmcal-0.7-fpic.patch-24881.out !!! ERROR: dev-libs/libmcal-0.7-r1 failed. !!! Function epatch, Line 341, Exitcode 0 !!! Failed Patch: libmcal-0.7-fpic.patch! Also occurs when I try and emerge libmcal solely. Reproducible: Always Steps to Reproduce: 1. emerge libmcal 2. 3. Expected Results: emerged libmcal and then gone on to emerge everything else. Contents of /var/tmp/portage/libmcal-0.7-r1/temp/libmcal-0.7-fpic.patch-24881.out ***** libmcal-0.7-fpic.patch ***** ================================== PATCH COMMAND: patch -p0 -g0 < /usr/portage/dev-libs/libmcal/files/libmcal-0.7-fpic.patch ================================== patching file Makefile.in can't find file to patch at input line 33 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |--- mstore/Makefile.old 2004-08-08 16:37:13.641537544 +0100 |+++ mstore/Makefile 2004-08-08 16:37:35.473218624 +0100 -------------------------- No file to patch. Skipping patch. 1 out of 1 hunk ignored can't find file to patch at input line 46 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |--- icap/Makefile.old 2004-08-08 16:38:58.353618888 +0100 |+++ icap/Makefile 2004-08-08 16:39:18.841504256 +0100 -------------------------- No file to patch. Skipping patch. 1 out of 1 hunk ignored ================================== PATCH COMMAND: patch -p1 -g0 < /usr/portage/dev-libs/libmcal/files/libmcal-0.7-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 2003-11-27 15:46:46.887752568 +0000 |+++ Makefile.in 2003-11-27 16:14:17.325847840 +0000 -------------------------- No file to patch. Skipping patch. 3 out of 3 hunks ignored can't find file to patch at input line 33 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |--- mstore/Makefile.old 2004-08-08 16:37:13.641537544 +0100 |+++ mstore/Makefile 2004-08-08 16:37:35.473218624 +0100 -------------------------- No file to patch. Skipping patch. 1 out of 1 hunk ignored can't find file to patch at input line 46 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |--- icap/Makefile.old 2004-08-08 16:38:58.353618888 +0100 |+++ icap/Makefile 2004-08-08 16:39:18.841504256 +0100 -------------------------- No file to patch. Skipping patch. 1 out of 1 hunk ignored ================================== PATCH COMMAND: patch -p2 -g0 < /usr/portage/dev-libs/libmcal/files/libmcal-0.7-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 2003-11-27 15:46:46.887752568 +0000 |+++ Makefile.in 2003-11-27 16:14:17.325847840 +0000 -------------------------- No file to patch. Skipping patch. 3 out of 3 hunks ignored missing header for unified diff at line 33 of patch can't find file to patch at input line 33 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |--- mstore/Makefile.old 2004-08-08 16:37:13.641537544 +0100 |+++ mstore/Makefile 2004-08-08 16:37:35.473218624 +0100 -------------------------- No file to patch. Skipping patch. 1 out of 1 hunk ignored missing header for unified diff at line 46 of patch can't find file to patch at input line 46 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |--- icap/Makefile.old 2004-08-08 16:38:58.353618888 +0100 |+++ icap/Makefile 2004-08-08 16:39:18.841504256 +0100 -------------------------- No file to patch. Skipping patch. 1 out of 1 hunk ignored ================================== PATCH COMMAND: patch -p3 -g0 < /usr/portage/dev-libs/libmcal/files/libmcal-0.7-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 2003-11-27 15:46:46.887752568 +0000 |+++ Makefile.in 2003-11-27 16:14:17.325847840 +0000 -------------------------- No file to patch. Skipping patch. 3 out of 3 hunks ignored missing header for unified diff at line 33 of patch can't find file to patch at input line 33 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |--- mstore/Makefile.old 2004-08-08 16:37:13.641537544 +0100 |+++ mstore/Makefile 2004-08-08 16:37:35.473218624 +0100 -------------------------- No file to patch. Skipping patch. 1 out of 1 hunk ignored missing header for unified diff at line 46 of patch can't find file to patch at input line 46 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |--- icap/Makefile.old 2004-08-08 16:38:58.353618888 +0100 |+++ icap/Makefile 2004-08-08 16:39:18.841504256 +0100 -------------------------- No file to patch. Skipping patch. 1 out of 1 hunk ignored ================================== PATCH COMMAND: patch -p4 -g0 < /usr/portage/dev-libs/libmcal/files/libmcal-0.7-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 2003-11-27 15:46:46.887752568 +0000 |+++ Makefile.in 2003-11-27 16:14:17.325847840 +0000 -------------------------- No file to patch. Skipping patch. 3 out of 3 hunks ignored missing header for unified diff at line 33 of patch can't find file to patch at input line 33 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |--- mstore/Makefile.old 2004-08-08 16:37:13.641537544 +0100 |+++ mstore/Makefile 2004-08-08 16:37:35.473218624 +0100 -------------------------- No file to patch. Skipping patch. 1 out of 1 hunk ignored missing header for unified diff at line 46 of patch can't find file to patch at input line 46 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |--- icap/Makefile.old 2004-08-08 16:38:58.353618888 +0100 |+++ icap/Makefile 2004-08-08 16:39:18.841504256 +0100 -------------------------- No file to patch. Skipping patch. 1 out of 1 hunk ignored
libmcal-0.7-r2 already fixes this.