libmcal ebuild failed, while trying to patch the source code. Reproducible: Always Steps to Reproduce: 1. emerge libmcal 2. 3. Actual Results: Patches failed to apply. Expected Results: Successful Ebuild. ***** 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 ------------------------------------------------------------ Portage 2.0.50-r10 (default-x86-2004.2, gcc-3.3.3, glibc-2.3.3.20040420-r1, 2.4.25_pre7-gss-r11) ================================================================= System uname: 2.4.25_pre7-gss-r11 i686 Intel(R) Pentium(R) 4 CPU 2.80GHz Gentoo Base System version 1.4.16 Autoconf: sys-devel/autoconf-2.59-r4 Automake: sys-devel/automake-1.8.5-r1 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-O2 -march=pentium4 -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" COMPILER="" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -march=pentium4 -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache sandbox" GENTOO_MIRRORS="http://public.planetmirror.com/pub/gentoo ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ ftp://ftp6.uni-erlangen.de/pub/mirrors/gentooftp://vlaai.snt.ipv6.utwente.nl/pub/os/linux/gentoo/ ftp://mirror.pudas.net/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://172.17.0.10/portage" USE="acpi apm avi berkdb crypt cups curl dvd encode fam foomaticdb gd gdbm gif gpm imap imlib innodb ipv6 jpeg ldap libg++ libwww mad mcal mikmod mmx motifmpeg mysql ncurses nls oggvorbis opengl pam pdflib perl php png python quicktime readline sdl slang snmp spell sse ssl svga tcpd tidy tiff truetype x86 xml2 xmms xv zlib"
seems like most of the files its trying to patch are missing from the source...
in future please include the exact message that shows what exact ebuild revision is being used. -r2 definetly works here.